auto lo eth0 allow-hoplug eth1 iface lo inet loopback # Allow hotplug to bring up interfaces mapping hotplug script echo # Determine whether interface is wired or Wi-Fi mapping eth? script /usr/local/sbin/get-mac-address.sh map 00:40:D0:65:FE:86 wired map 00:0E:35:E6:69:95 wifi # Detect which wired network is available mapping wired script guessnet-ifupdown map wired-dhcp map wired-h323-static map wired-home-static # Detect which Wi-Fi network is available mapping wifi script guessnet-ifupdown map wifi-h323-static map wifi-home-dhcp map wifi-home-static # map wifi-home-dhcp-wpa map wifi-fri-dhcp iface wired-e203-static inet static address 158.193.82.230 netmask 255.255.255.0 network 158.193.82.0 broadcast 158.193.82.255 gateway 158.193.82.254 dns-nameservers 158.193.82.1 158.193.82.6 158.193.48.33 217.67.16.49 iface wired-dhcp inet dhcp iface wired-h323-static inet static address 158.193.85.158 netmask 255.255.255.0 network 158.193.85.0 broadcast 158.193.85.255 gateway 158.193.85.254 dns-nameservers 158.193.82.1 158.193.82.6 158.193.48.33 217.67.16.49 iface wired-home-static inet static address 192.168.0.17 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 gateway 192.168.0.1 dns-nameservers 192.168.0.1 iface wifi-h323-static inet static wireless-essid lucox wireless-channel 11 wireless-mode Ad-Hoc address 192.168.0.2 netmask 255.255.255.0 gateway 192.168.0.1 # wireless-ap 02:0E:35:51:2C:74 wireless-rate 11M dns-nameservers 192.168.0.1 iface wifi-home-dhcp inet dhcp wireless-essid doma wireless-channel 1 wireless-mode Managed wireless-ap 00:14:85:CE:7B:E8 wireless-rate 54M iface wifi-h323-bridge inet static wireless-essid lucox wireless-channel 11 wireless-mode Ad-hoc address 158.193.85.158 netmask 255.255.255.0 network 158.193.85.0 broadcast 158.193.85.255 gateway 158.193.85.254 dns-nameservers 158.193.82.1 158.193.82.6 158.193.48.33 217.67.16.49 iface wifi-tar-dhcp inet dhcp wireless-essid default wireless-channel 6 wireless-mode Managed wireless-ap 00:14:85:CE:83:27 wireless-rate 54M iface wifi-home-static inet static wireless-essid doma wireless-channel 1 wireless-mode Managed wireless-ap 00:14:85:CE:7B:E8 wireless-rate 54M address 192.168.0.16 netmask 255.255.255.0 gateway 192.168.0.1 dns-nameservers 192.168.0.1 iface wifi-e-dhcp inet dhcp wireless-channel 11 wireless-mode Managed wireless-ap 00:11:09:0D:01:FB wireless-rate 54M #iface wifi-home-dhcp-wpa inet dhcp #pre-up /sbin/wpa_supplicant -w -Dwext -ieth1 -c/etc/wpa_supplicant.conf -dd #post-down killall -q wpa_supplicant iface wifi-fri-dhcp inet dhcp wireless_mode Managed wireless_channel 1 wireless_essid wifri