better wlan checking and auto reconnection
This commit is contained in:
31
tpl/etc/network/interfaces
Normal file
31
tpl/etc/network/interfaces
Normal 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
|
||||
Reference in New Issue
Block a user