I do have a small pc(router_office) that runs
wheezy (7) and it gets internet from wlan0 and acts as router for eth0 (NAT). Everything works fine.
My setup is pretty simple in
auto wlan0 iface wlan0 inet static address 192.168.2.49 netmask 255.255.255.0 broadcast 192.168.2.255 gateway 192.168.2.1 wpa-ssid "ATUX_wifi" wpa-psk "passw0rd4!" dns-nameservers 126.96.36.199 auto eth0 iface eth0 inet static address 192.168.1.10 netmask 255.255.255.0 dns-nameservers 188.8.131.52
I have an second wifi that i could get connected to, which has SSID:be_sec_office with passwd:passwfoo
While in my laptop
debian 7 with lxde in the connection manager if one wifi fails, then it connects automatically to the next one. How can I do that in my small pc(router_office), please?