better wlan checking and auto reconnection

This commit is contained in:
2014-02-17 10:15:41 +01:00
parent 967e607b51
commit 9e3cd76264
4 changed files with 165 additions and 15 deletions

View File

@@ -0,0 +1,31 @@
auto lo
iface lo inet loopback
#iface eth0 inet dhcp
iface eth0 inet static
address 192.168.1.30
netmask 255.255.255.0
broadcast 192.168.1.255
gateway 192.168.1.1
auto wlan0
allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
auto wlan0:1
iface wlan0:1 inet manual
iface default inet static
address 192.168.1.33
netmask 255.255.255.0
broadcast 192.168.1.255
gateway 192.168.1.1
auto wlan0:2
iface wlan0:2 inet manual
iface default inet static
address 192.168.0.33
netmask 255.255.255.0
broadcast 192.168.0.255
gateway 192.168.0.1