Hello,
I set up a few rpis in our production hall to scan barcode. Unfortunately wifi isn’t very stable. When a raspberry loses the wlan connection it doesn’t reconnect automatically.
We also have a few android smartphone which do the job pretty well. Seems they are able to reconnect automatically.
Any idea how to handle this?
Tryed to set a static ip and ‘wlan0’ in /etc/network/interfaces to ifup over a cron job like mentioned here. Couldn’t get the wlan connection work via ifup.
auto wlan0
iface wlan0 inet static
address 192.1.2.11
netmask 255.255.255.0
network 192.1.2.0
broadcast 192.1.2.255
gateway 192.1.2.1
dns-nameservers 10.10.10.1
wpa-ssid ‘mywlanssid’
wpa-psk ‘thepassword’
(Ubuntu Mate 16.04.2)