Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    usb network can not be enabled in XP

    Reply
    ggbal | # 1 | 2008-03-16, 18:17 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    ggbal | # 2 | 2008-03-17, 22:02 | Report

    Any insight on this topic?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    qwerty12 | # 3 | 2008-03-18, 07:15 | Report

    Sorry, I have no idea. My N800 OS2008 did the same thing with XP MCE SP3.

    In Linux, it works like a charm however.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    ggbal | # 4 | 2008-03-19, 07:08 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    fanoush | # 5 | 2008-03-19, 08:11 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by fanoush; 2008-03-19 at 09:16.

     
    ggbal | # 6 | 2008-03-23, 05:47 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    st5150 | # 7 | 2008-06-12, 07:12 | Report

    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 ?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    anpaza | # 8 | 2008-06-12, 08:16 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by anpaza; 2008-06-12 at 08:29.

     
    st5150 | # 9 | 2008-06-12, 19:54 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    tz1 | # 10 | 2008-06-19, 00:33 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
vBulletin® Version 3.8.8
Normal Logout