Jump to content


Wifi Tethering on rooted desire


47 replies to this topic

#1
geek78

geek78

    Enthusiast

  • MoDaCo Ad Free
  • PipPipPip
  • 155 posts
hi

i have tried those apps without success (tethering with an ipad)

- Barnacle Wifi Tether
- tether wifi (from moussa)
- wireless tether 2.0 pre 10

I can see the network from my ipad but I can't use it (no wep answer on the ipad, no access control on the desire, ...)

If someone can help me with a link to an app that runs well on the desire ... (and only wifi tethering, no BT :huh: )

thanks

Mac Book / Ipad 3G 16 go / HTC Desire

#2
magicpie1980

magicpie1980

    Regular

  • MoDaCo Plus
  • PipPip
  • 57 posts

 geek78, on Apr 29 2010, 08:45, said:

hi

i have tried those apps without success (tethering with an ipad)

- Barnacle Wifi Tether
- tether wifi (from moussa)
- wireless tether 2.0 pre 10

I can see the network from my ipad but I can't use it (no wep answer on the ipad, no access control on the desire, ...)

If someone can help me with a link to an app that runs well on the desire ... (and only wifi tethering, no BT :P )

thanks

If you wait a few hours, Paul is on the verge of releasing a Cyanogen Mod ROM for the desire;) That will have all the apps you require for tethering built in. As well as a few nice extras such as overclocking and apps2sd built in;))) For me i cant stand Sense anyway, so im looking forward to this release;)

CYANOGEN 5.06 RELEASE

I've spent a bit of time working with the latest AOSP code, and figured out all of the necessary components to build a working system for the Nexus One from source. I put together a vendor overlay that can be used by any developer to build a working system for this device!

This build is currently based on AOSP 2.1_r2. I've also added most of the same things that you can find in the previous CyanogenMod versions.

Now available view CM Updater!

#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/



This is a pure, working AOSP build which you can use without any type of Google applications. I found a link from some other project that can be used to restore the Google parts, which can be found below or elsewhere in the thread. I've still included the various hardware-specific code, which seems to be slowly being open-sourced anyway.

* Can be used with or without Google applications
* Kernel 2.6.33.1 which supports highmem (thanks to Arve Hjønnevåg and the rest @ Google for this work), tethering (thanks to Zinx and Ben Buxton for the original RNDIS backport, and Google for merging the goodies into the gadget subsystem), VPN/tun, and other modules (cifs, nfs, aufs, fuse)
* Clean shutdown/startup system
* New Apps2SD method implemented mostly by Chris Soyars. Create an ext4 partition and enable it in settings->applications (wiki page coming soon)
* Built in USB tether
* Graphical enhancements, trippy bootanimation, #boobs, and excellent wallpapers by Prash
* ARM NEON optimizations from 0xdroid and Qualcomm
* Includes BusyBox, htop, nano, powertop, openvpn, bash, and all engineering commandline utilities
* FLAC audio support from Kenny Root
* Phone enhancements from Cytown
* Contacts enhancements from Wysie
* MMS enhancements from, well, everyone (see changelog)
* Perform zipalign-on-install of applications
* DeskClock tweaks- longer autosilence and "require unlock" option :huh:
* Massive APN list
* Huge collection of ringtones and audio
* Customizable Nexus live wallpaper by Chris Soyars and me
* All available locales are included thanks to PsychoBoy
* 360-degree auto-orientation by Optedoblivion and Elanthis (enable in settings)
* Full color trackball notifications (from Google)
* OpenVPN integration thanks to James Bottomley
* Music app can respond to double-click on the trackball and long-press on the volume buttons (from Metalhead)
* Launcher2 tweaks from ruqq
* Many other bugfixes and tweaks from AOSP contributors
* Tons of work on the build system by Koush and Chris Soyars

Edited by magicpie1980, 29 April 2010 - 08:22 AM.


#3
Kopfgeldjaeger

Kopfgeldjaeger

    Newbie

  • Members
  • Pip
  • 10 posts
  • Devices:HTC Desire
Same problem here :-(


#4
SiX-P4cK

SiX-P4cK

    Newbie

  • Members
  • Pip
  • 26 posts
  • Gender:Male
  • Location:Belgium


#5
staba

staba

    Newbie

  • Members
  • Pip
  • 13 posts

 SiX-P4cK, on Apr 29 2010, 13:31, said:


That's one of the apps the OP tested. I tested it as well and sadly not working : (


#6
geek78

geek78

    Enthusiast

  • MoDaCo Ad Free
  • PipPipPip
  • 155 posts
we'll have to wait the coming 5.06 Paul firmware ...

Mac Book / Ipad 3G 16 go / HTC Desire

#7
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 32,872 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:Galaxy Nexus / TF Prime
  • Twitter:@paulobrien
Depends if it's a kernel issue or a ROM issue.

Does 'adb logcat' show anything untoward when you click to tether?

P

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco / Follow MoDaCo Android on Twitter - http://twitter.com/modacoandroid

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#8
seaders

seaders

    Regular

  • Members
  • PipPip
  • 53 posts
  • Devices:HTC Desire, Archos 5IT (500GB)
I think these are the key problems, but it tries to do loadsa stuff when you press it.

04-29 15:35:55.539: ERROR/vold(94): Unable to lookup media '/devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0:0001'
04-29 15:35:55.539: ERROR/vold(94): Error processing uevent msg (No such file or directory)
04-29 15:35:59.369: ERROR/NetworkStateTracker(116): net.tcp.buffersize.hsdpa not found in system properties. Using defaults


#9
geek78

geek78

    Enthusiast

  • MoDaCo Ad Free
  • PipPipPip
  • 155 posts

 Paul, on Apr 29 2010, 14:25, said:

Depends if it's a kernel issue or a ROM issue.

Does 'adb logcat' show anything untoward when you click to tether?

P


http://pastebin.com/T0x0YKwp :huh:

Mac Book / Ipad 3G 16 go / HTC Desire

#10
viskas

viskas

    Regular

  • Members
  • PipPip
  • 114 posts
  • Gender:Male
  • Location:milan
  • Devices:htc-mteor, htc-tytn
  • Twitter:@lucaviscardi
no update regarding wifi tethering?!?

I see that the problem is the same for all users: no dhcp connection with laptops or iPad.

I tried with a couple of different apps, the result is the same.
no way to connect the client.


#11
viskas

viskas

    Regular

  • Members
  • PipPip
  • 114 posts
  • Gender:Male
  • Location:milan
  • Devices:htc-mteor, htc-tytn
  • Twitter:@lucaviscardi
I wrote to harald, the developer of the wifi tether application...
take a look at the answer. any of you can test the workaround?!?

"It's hard to add support for device which we don't have available for testing.

What helped on other HTC-devices were following commands (I think you are familiar with the adb-command?):

adb shell
su
/system/bin/ip route delete table gpr

Try the "ip route delete" command before and after enabling tethering.

Let me know if that helps (so we can add this workaround to the start-procedure)."

Edited by viskas, 29 April 2010 - 09:30 PM.


#12
afiorillo

afiorillo

    Diehard

  • Members
  • PipPipPipPip
  • 449 posts
  • Location:Rome, IT
  • Devices:HTC Desire w/ MCR r9 WIP
  • Twitter:@afiorillo

 viskas, on Apr 29 2010, 23:30, said:

I wrote to harald, the developer of the wifi tether application...
take a look at the answer. any of you can test the workaround?!?

"It's hard to add support for device which we don't have available for testing.

What helped on other HTC-devices were following commands (I think you are familiar with the adb-command?):

adb shell
su
/system/bin/ip route delete table gpr

Try the "ip route delete" command before and after enabling tethering.

Let me know if that helps (so we can add this workaround to the start-procedure)."
Hi, I'm getting errors from that command: seems that "gpr" was to be intended "gprs", but that's the result:
# /system/bin/ip route delete table gprs
/system/bin/ip route delete table gprs
RTNETLINK answers: No such process
I tried other options too, but with no luck (I'm not expert about that).


#13
wantchu

wantchu

    Newbie

  • Members
  • Pip
  • 4 posts
  • Location:Arese (MI) Italy
  • Devices:Desire
i need it too ......  :huh:


#14
Diego Dambra

Diego Dambra

    Newbie

  • Members
  • Pip
  • 2 posts
  • Devices:HTC Desire

 afiorillo, on Apr 30 2010, 00:07, said:

Hi, I'm getting errors from that command: seems that "gpr" was to be intended "gprs", but that's the result:
# /system/bin/ip route delete table gprs
/system/bin/ip route delete table gprs
RTNETLINK answers: No such process
I tried other options too, but with no luck (I'm not expert about that).

Could it be a driver issue?

Starting tether through adb shell (configured to use WEP):
# /data/data/android.tether/bin/tether start 1

I get this error:
about to run: [cd /data/local/tmp; mkdir /data/local/tmp/wpa_supplicant; wpa_supplicant -B -Dwext -ieth0 -c/data/data/android.tether/conf/wpa_supplicant.conf]
ioctl[SIOCSIWMODE]: Invalid argument
Could not configure driver to use managed mode

Starting tether w/o WEP, no visible errors, but iwconfig isn't happy with the eth0 interface and complains when trying to change settings (this could be normal though)


#15
kewell79

kewell79

    Newbie

  • Members
  • Pip
  • 21 posts
http://twitter.com/ahmgsk_mod

Quote

got wifi tether working on HTC DESIRE


#16
gaeguu

gaeguu

    Newbie

  • Members
  • Pip
  • 3 posts
  • Location:Zurich
  • Interests:Android
  • Devices:HTC Hero

Quote

http://twitter.com/ahmgsk_mod

Quote

got wifi tether working on HTC DESIRE

anyone found out on HOW he did that?
I'm really interested in this as I got an iPad WIFI only ..

I'm following the Wifi-Tether Project on Google (http://code.google.c...id-wifi-tether/) but there it's not yet working ..

Edited by gaeguu, 03 May 2010 - 09:48 AM.


#17
magicpie1980

magicpie1980

    Regular

  • MoDaCo Plus
  • PipPip
  • 57 posts

 gaeguu, on May 3 2010, 10:44, said:

anyone found out on HOW he did that?
I'm really interested in this as I got an iPad WIFI only ..

I'm following the Wifi-Tether Project on Google (http://code.google.c...id-wifi-tether/) but there it's not yet working ..

I tried his mod and didnt get wifi tether working;( Did anyone else?


#18
Reefster

Reefster

    Newbie

  • Members
  • Pip
  • 8 posts
  • Devices:HTC Desire
It's working! Well sort of!

It's a bit of a manual work around but see here for further information:

http://code.google.c...h...0&start=100 see comment 23.

Basically there seems to be a problem with the initial stages of communication between the PC and the Desire in wifi tether mode, maybe some kind of firewall.

This is what I did:

Installed wireless_thether_2_0-pre10.apk via SD card.
Installed a terminal emulator via the market.

1. Set WiFi Card static IP on the PC (mine was Windows 7) to 192.168.2.100/24 with a gateway of 192.168.2.254
2. Started WiFi Thether App with defaults only.
3. PC associates with the WiFi Tether access point.
4. Using a terminal emulator on the desire issued command 'ping -c 3 192.168.2.100'
5. No response to the ping command (100% packet loss)
6. A few seconds later the PC says its online.
7. Web page loaded (google.co.uk)

Happy tethering, in a workaround sort of way.  :huh:


#19
wantchu

wantchu

    Newbie

  • Members
  • Pip
  • 4 posts
  • Location:Arese (MI) Italy
  • Devices:Desire
it's working
with my desire and iPad

1) wireless_tether _2_0_1.apk
2) terminal emulator via market

3) started wifi tether on desire
4) connect iPad to desire wifi network
5) set ip static on iPad:  IP address 192.168.2.100 - subnet mask 255.255.255.255 - gateway 192.168.2.254 - dns 192.168.2.254
6) ping with terminal emulator command : ping -t 192.168.2.100 or ping 192.168.2.100
7) killed ping
8) goto safari and surf on web .....

now i'm an happy man  :huh:

Edited by wantchu, 04 May 2010 - 07:24 AM.


#20
nilezon

nilezon

    Regular

  • MoDaCo Ad Free
  • PipPip
  • 61 posts
  • Devices:Desire, Touch Pro 2, Liquid
Still no solution with WEP?





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users