Re: USB RNDIS Tethering

"Healy, Patrick William" <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
I can now confirm that with the patch John supplied USB tethering with Windows Mobile 6 style "Internet Sharing" (NOT wireless modem, which does show as a modem and requires PPP) works perfectly under linux. I simply put the phone in USB tethering mode, plug it in, and network manager picks it up and grabs its IP. Thanks for all your help, everyone.

Patrick Healy

-----Original Message-----
From: [email protected] on behalf of Healy, Patrick William
Sent: Thu 8/16/2007 4:16 PM
To: John Carr; [email protected]; [email protected]
Cc: [email protected]
Subject: Re: [linux-usb-devel] USB RNDIS Tethering
 
John, Bizu, and Oliver -

I've just tried this patch, and it appears to work. The phone shows up as an interface, I get the proper IP, and I can ping the phone just fine. I say appears to work because I can't hit the internet. But then again, I can't hit the internet from my browser on my phone, either, so it seems to be a problem past the USB link. I'll reply more when I get things working.

Patrick Healy

-----Original Message-----
From: John Carr [mailto:[email protected]]
Sent: Thu 8/16/2007 2:37 PM
To: [email protected]
Cc: [email protected]; Healy, Patrick William
Subject: USB RNDIS Tethering
 
Bizu and Pwhealy, you will remember me from #synce. Oliver, sorry for
dragging you in - i'm not sure whether you are interested or not...

I've just completed a rough patch to allow "tethering"..


You will need the latest usb-rndis-lite sources from SynCE:

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 talk to the other SynCE guys about
upstreaming it.

John


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.