# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
auto eth0
iface eth0 inet dhcp
iface eth1 inet dhcp
wireless-essid linksys
auto eth1
iface wlan0 inet dhcp
wireless-essid linksys
auto wlan0
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network/internet interface
auto eth0
iface eth0 inet static
address 0.0.0.0
netmask 0.0.0.0
# The Virtual Bridging Interface linking usb0 to eth0
auto br0
iface br0 inet dhcp
pre-up brctl addbr br0
pre-up brctl addif br0 eth0
post-down brctl delbr br0
# The Zaurus's Connnection
allow-hotplug usb0
mapping hotplug
script grep
map usb0
iface usb0 inet static
# The following is a dummy address/netmask,
# and is only used initially to create the usb0 interface,
# so it can then be set to 0.0.0.0 just like eth0 :)
address 192.168.X.X
netmask 255.255.255.X
post-up ifconfig usb0 0.0.0.0 up
post-up brctl addif br0 usb0
post-down brctl delif br0 usb0