Script for automatic network setup
I was wondering if anyone has a script that could be used for automatic network configuration. Something like, say:
1) tries wireless networks from a preferred networks list
2) tries to connect to open access points
3) tries to connect theu eth0
It would be nice if this script would know that, for some reason, the wireless network or the wired nw is down and then it would relaunch itself.
Does anyone know how to do this? Thanks in advance for any help.