dhcp on usb0
Chia-I Wu
olv at openmoko.org
Fri Dec 7 04:43:56 CET 2007
On Thu, Dec 06, 2007 at 04:35:45PM -0700, Joe Pfeiffer wrote:
> That's the idea -- allow-hotplug is supposed to automatically do an
> ifup when a network interface comes available.
Mine works (debian sid). I have these in my /etc/network/interfaces, no
"auto usb0" line:
allow-hotplug usb0
iface usb0 inet static
address 192.168.0.200
netmask 255.255.255.0
You can even put a script to /etc/network/if-up.d to set up NAT
automagically.
--
Regards,
olv
More information about the device-owners
mailing list