Reply
Thread Tools
Posts: 16 | Thanked: 0 times | Joined on Mar 2008
#1
Tried to follow USBnetworkingWinXP to set up usb network between n800 and xp sp2.

First tried Maemo-DM to change the usb port function, see this thread Can't open Maemo-DM.

Then I just followed N770 route and execute following
# insmod /mnt/initfs/lib/modules/2.6.21-omap1/g_ether.ko
# ifup usb0
# ifconfig -a

The usb0 interface is up in IT.

Downloaded linux.inf.

Plugged in usb on both PC and IT. PC successfully detected new interface. Instructed it to use linux.inf. "Linux USB Ethernet/RNDIS Gadget" was showed in the "device manager". A disabled new connection was showed in "network connection".

Tried to enable the new connection, after about several seconds, it told me "Connection failed".

reboot both IT and PC and repeat above steps (without reinstall the inf of course), same thing happened.

Please help.
 
Posts: 16 | Thanked: 0 times | Joined on Mar 2008
#2
Any insight on this topic?
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#3
Sorry, I have no idea. My N800 OS2008 did the same thing with XP MCE SP3.

In Linux, it works like a charm however.
 
Posts: 16 | Thanked: 0 times | Joined on Mar 2008
#4
I pretty much gave up on XP. However I was not much lucky in Linux either. After follow the instruction in the wiki page, I tried to start the usb0 (ifup usb0). The error then occurred

SIOCSIFADDR: no such device

Trying to google it. Can't find answer.

I have to admit that I am using LiveCD. Not sure whether it caused the problem.
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#5
Originally Posted by ggbal View Post
Plugged in usb on both PC and IT. PC successfully detected new interface. Instructed it to use linux.inf. "Linux USB Ethernet/RNDIS Gadget" was showed in the "device manager". A disabled new connection was showed in "network connection".

Tried to enable the new connection, after about several seconds, it told me "Connection failed".
Same here
http://lists.maemo.org/pipermail/mae...ch/015008.html
Looks like it is somehow broken in OS2008. With OS2007 it works fine for me. As for the "linux works, XP not", it is because the usbnet driver is in fact two different drivers in one talking different protocols, CDC Ethernet used for Linux and RNDIS for XP.
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.

Last edited by fanoush; 2008-03-19 at 09:16.
 
Posts: 16 | Thanked: 0 times | Joined on Mar 2008
#6
Now I can connect through Linux LiveCD. The problem I had below was because that I had used a older kernal (2.4). Once I use the 2.6, everything is fine now. XP is still a problem though.

Originally Posted by ggbal View Post
I pretty much gave up on XP. However I was not much lucky in Linux either. After follow the instruction in the wiki page, I tried to start the usb0 (ifup usb0). The error then occurred

SIOCSIFADDR: no such device

Trying to google it. Can't find answer.

I have to admit that I am using LiveCD. Not sure whether it caused the problem.
 
Posts: 384 | Thanked: 90 times | Joined on Mar 2008
#7
Anyone figure out how to get USB networking to work via XP? The .inf file above doesn't work. Anyone have functional XP .sys and .inf files they can upload ?
 
Posts: 47 | Thanked: 78 times | Joined on May 2008
#8
As far as I understand, RNDIS part in g_ether is broken in kernel 2.6.21.

This patch will fix it:

http://git.kernel.org/?p=linux/kerne...e435070ced9bb9

Any brave people to apply & test it?

I guess I'll post it on bugtracker, just in case.

Last edited by anpaza; 2008-06-12 at 08:29.
 
Posts: 384 | Thanked: 90 times | Joined on Mar 2008
#9
Are you sure this is the problem? It seems to me the problem is XP doesn't recognise the usb id that the N810 gives out, thus XP doesn't know what RNDIS drivers to install for it.
 
tz1's Avatar
Posts: 716 | Thanked: 236 times | Joined on Dec 2007
#10
I had to remove the g_file_storage module - otherwise it would override (even if it had nothing to mount).

It has always been unstable with XP, but worked with Linux.

But with the right RNDIS drivers I did get it to work a few times.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 18:52.