Re: How do I make usb net?
Thomas Jensen <[email protected]>
| Newsgroups | gmane.comp.handhelds.linux.familiar |
|---|---|
| Message-ID | <1202137210.5530.33.camel@x21> |
man, 04 02 2008 kl. 14:30 +0100, skrev Dominik: > I can not remember the networking-setup screens of opie. If there is no > interface independend default gateway, you should apply the gateway to > the usb-interface. Maybe the usb interface is called something other > then "usb0", but I am sure, there is an GUI to configure the iPAQ. Yes, there is a GUI. Most interfaces say Disconnected (bnep0, usbd0, usb0, eth1, eth0, atml0, wlan0), some say Unknown (irda0, usbf, sit0) and Loopback is running. If I select an interface in the list, e.g. usb0, and tap the Start/stop button, a new window (Interface Information) popup, showing some grayed-out fields with IP address and subnet mask both set to 0.0.0.0. If I tap the Start button, I get a messagebox saying "Starting interface failed". > Hints: > 1. load the neccesary kernel modules on the pc (modprobe cdc_ether cdc_subset > on Dapper) Done. I also added cdc_ether cdc_subset to the /etc/modules file. > 2. connect cable Done. > 3. setup ip address and netmask of interfaces on iPAQ and PC, > on IPAQ via GUI, on PC via Done. On iPAQ: IP address 192.168.0.202 Subnet Mask 255.255.255.0 Gateway 192.168.0.200 and set to "Automatically bring up" On PC: iface usb0 inet static address 192.168.0.200 netmask 255.255.255.0 broadcast 192.168.0.255 > /etc/network/interfaces and "sudo ifup usb0" Ups! thomas@x21:~$ sudo ifup usb0 usb0: ERROR while getting interface flags: No such device SIOCSIFADDR: No such device usb0: ERROR while getting interface flags: No such device SIOCSIFNETMASK: No such device SIOCSIFBRDADDR: No such device usb0: ERROR while getting interface flags: No such device usb0: ERROR while getting interface flags: No such device Failed to bring up usb0. thomas@x21:~$ lsusb Bus 001 Device 003: ID 05e3:1205 Genesys Logic, Inc. Afilias Optical Mouse H3003 Bus 001 Device 002: ID 0451:2036 Texas Instruments, Inc. TUSB2036 Hub Bus 001 Device 001: ID 0000:0000 > 4. iPAQ and PC can ping each other Well, not quite there yet... :-) > hope this tips are helping Well, not really, but thanks anyway! -- Thomas _______________________________________________ The Familiar Linux Distribution Familiar mailing list [email protected] https://handhelds.org/mailman/listinfo/familiar irc://irc.freenode.net #familiar