John Carr
2007-08-16 19:50:15 UTC
After talking to bof on #synce today i've concocted a patch to allow all
you lucky WM5/WM6 users out there to browse the internets on your laptop
from your phone.
Please note that i've only tested it on one WM6 device, and I offer no
promises as to whether it will or won't eat your cat and run away with
your lover. It's also possible that I made a patch that will only work for
my phone :-) Time will tell...
You will need the latest usb-rndis-lite sources from SynCE *borrows
liberally from the wiki*. Note that I'm using 2.6.22, but don't see any
problems cropping up in earlier versions...
svn co http://synce.svn.sourceforge.net/svnroot/synce/trunk/usb-rndis-lite
cd usb-rndis-lite/
patch -p0 < tethering.diff
To compile, its the usual:
make
sudo ./clean.sh
sudo make install
To actually try this out..
* I disconnected ethernet
* I toggled the kill switch on my wireless to OFF.
* I enabled connection sharing and plugged in my device.
* dmesg showed that an RNDIS device had been detected (no descriptor errors)
* NetworkManager /might/ kick in and configure it.. otherwise..
* I ran sudo dhclient3 eth2 to assign it an IP address (obviously eth2
depends on what hardware you have)
Then I went to google.com, ipchicken.com and a few others. It worked, and
lagged as expected.
Toggling the sharing off on the phone broke the connection :-)
Have fun, and let me know how it works. If there isn't any breakage i'll
commit this in the next day or so and we'll see what needs to happen to
upstream this.
John
you lucky WM5/WM6 users out there to browse the internets on your laptop
from your phone.
Please note that i've only tested it on one WM6 device, and I offer no
promises as to whether it will or won't eat your cat and run away with
your lover. It's also possible that I made a patch that will only work for
my phone :-) Time will tell...
You will need the latest usb-rndis-lite sources from SynCE *borrows
liberally from the wiki*. Note that I'm using 2.6.22, but don't see any
problems cropping up in earlier versions...
svn co http://synce.svn.sourceforge.net/svnroot/synce/trunk/usb-rndis-lite
cd usb-rndis-lite/
patch -p0 < tethering.diff
To compile, its the usual:
make
sudo ./clean.sh
sudo make install
To actually try this out..
* I disconnected ethernet
* I toggled the kill switch on my wireless to OFF.
* I enabled connection sharing and plugged in my device.
* dmesg showed that an RNDIS device had been detected (no descriptor errors)
* NetworkManager /might/ kick in and configure it.. otherwise..
* I ran sudo dhclient3 eth2 to assign it an IP address (obviously eth2
depends on what hardware you have)
Then I went to google.com, ipchicken.com and a few others. It worked, and
lagged as expected.
Toggling the sharing off on the phone broke the connection :-)
Have fun, and let me know how it works. If there isn't any breakage i'll
commit this in the next day or so and we'll see what needs to happen to
upstream this.
John