hi, we are using a beaglebone with the debian 8.4 image provided by seeedstudio
it uses a wifi hotspot from wifidog. we need to rewrite the code for wifidog so it is more robust, currently if fails a lot. (not being visible and unable to connect to the hotspot)
source code [url removed, login to view]
[url removed, login to view]
The WiFi dog is the captive portal in the Beaglebone that is used as an interface for the user to give the Beaglebone the WiFi network and password, for it to connect to their home WiFi. This should only be used once initially, unless they change their home network. The main issue with the WiFi Dog we are experiencing is that every now and then, when a user is trying to connect to the Beaglebone’s access point from their phones or computers, an error occurs that says “failed to connect”. It is solved by turning the beaglebone off and then on again, but it can sometimes take up to 10 tries or more for it to work. The second issue we need to resolve is that once the Beaglebone is connected and has an IP address, it can’t be connected to another WiFi network, it shows a message saying “oops already connected”. The only way to connect to a second network, is to turn the first router off. We need to have an option for the Beaglebone to forget the network it’s connected and go back to it’s initial setting where it can connect to any available network. The last issue that needs to be solved, is that when the Beaglebone becomes disconnected from the network, the user needs to turn the Beaglebone off and back on for it to reconnect. We need a script that if there’s no connection, the wifi in the Beaglebone is restarted in order to gain back connectivity.