From: Darren G. <ts...@ya...> - 2006-02-27 16:07:37
|
Good Morning, I did this network setup on the SUSE side months ago and it still works great (with 2.6.11 based gumstix build I have been using). I have DHCP configured for usb0 on the SUSE side so the gumstix gets an address that way. Something seems to be different on the 2.6.15 build because the gumstix doesn't respond when I plug in USB. With the 2.6.11gum build, the console spits out: "usb0: full speed config #1: 100mA, Ethernet Gadget, using CDC Ethernet Subset" when I plug USB in... with 2.6.15gum, nothing. /etc/network/interfaces looks the same on the gumstix: audo usb0 iface usb0 inet dhcp Then again someone else said that they had been using USBNet with 2.6.15, so maybe something broke between their svn checkout and mine? darren On Feb 26, 2006, at 11:33 PM, Grzegorz Latarowski wrote: > Hi, > > try to create a file 'ifcfg-usb0' in Your's '/etc/sysconfig/ > network/' directory on SUSE side and fill the file with the following: > STARTMODE=hotplug > DEVICE=usb0 > ONBOOT=no > BOOTPROTO=static > IPADDR=10.0.0.1 > NETMASK=255.255.255.0 > > This should bring up hotplug connection when the GumStix is plugged > in. On the GumStix side You can type something like this: > ifconfig usb0 10.0.0.2 netmask 255.255.255.0 up > All of this should set up SUSE2GumStix network with static IP > adresses. If You want permanent usb0 interface on GumStix side just > rewrite '/etc/network/interfaces' file. > > Cheers, > Grzegorz. > >>> |