Re: How do I make usb net?
Thomas Jensen <[email protected]>
| Newsgroups | gmane.comp.handhelds.linux.familiar |
|---|---|
| Message-ID | <1202159431.5781.54.camel@x21> |
man, 04 02 2008 kl. 16:13 +0100, skrev Dominik: > On Mon, Feb 04, 2008 at 04:00:10PM +0100, Thomas Jensen wrote: > > I guess the usb interface on the iPAQ is called usbf. > You may be right. But the wiki document UsbNet say that if I use a newer kernel (2.6.17+), I should follow the instructions in WindowsXpUsbNetworkHowTo, saying I should change usbf to usb0 (among other things). But yes, maybe it is usbf I should use. (???) But let me ask one question: do I need to set up the IP addresses for an interface (usb0 or usbf) on the iPAQ before my Ubuntu will understand there is an iPAQ at the end of the usb cable? That is, before the command lsusb will say there is an iPAQ attached? I know I will not be able to communicate between the units, but at least, shouldn't my pc be able to see there is "something" attached, even without an IP address? I ask because, that was the case when there was Windows on the iPAQ. My point is, does it make sense to give the iPAQ an IP address, if my PC are not aware of anything attached to the usb cable... ? When there were Windows on the iPAQ I didn't had to tell Ubuntu what to look for (or give it an IP address), it just found it. Why does Ubuntu not find the iPAQ with Familiar on? My guess is in the area of something with kernel-module-g-ether and kernel-module-pxa2xx-udc. According to the wiki document WindowsXpUsbNetworkHowTo, it should already be installed in the image (Familiar > 0.8.3). "However, the new module is not the default yet because it is incompatible with older Linux kernels (more on that below). To switch from the old module to the new one, make the following changes to your configuration" and then follows the listing I mentioned earlier: * Delete /etc/modutils/usb-eth so that the old driver doesn't get loaded anymore * Create the file /etc/modutils/g_ether containing the following contents only: g_ether * In /etc/apm/scripts.d/usbnet and /etc/network/interfaces replace: usbf with usb0, usb-eth with g_ether, sa1100usb_core with pxa2xx_udc * Reboot your iPAQ. I have had no luck with this... If I look at the list of loaded modules in System Info > Modules, I see no g_ether. Has things changed since that document was written? -- Thomas _______________________________________________ The Familiar Linux Distribution Familiar mailing list [email protected] https://handhelds.org/mailman/listinfo/familiar irc://irc.freenode.net #familiar