Automatic Wifi reconnect?

BeagleBoard users:

Is there a way to configure Angstrom to automatically reconnect to wifi if the wifi signal falls out of range or becomes unavailable but then returns?

Of course you can do this your-self, manually, with:
“ifdown wlan0”
“ifup wlan0”

But that doesn’t work so well in embedded applications where a user doesn’t have the ability to type something in to a keyboard.

worst case is you can write a script to check the wifi status and reconnect automatically

I actually got a script that does that now. It’s attached if anyone’s interested in using it.

iwreconnect.sh (1.15 KB)

Here is a script that doesn’t need to ping but parses the iwconfig output:

#!/bin/bash