Its not a bug in the script. Maybe an issue with udev.rayfranco wrote:Yea, I had the same problem as swezzard on the same day with the latest scrip claiming my network was not visible. Also, sometimes had the other same problem as swezzard with script stating my WiFi adapter did not support scanning. Is this a bug in the latest script?
This error is from the command in the script
Code: Select all
iwlist wlan0 scanning
If you get this error abort the script and try the command with a different wifi adapter name just to see what happens, say wlan1 or wlan2.
If you see a list of wifi networks generated using a different wifi name check the file /etc/udev/rules.d/70-persistent-net.rules to see if it has multiple wifi adapters listed. There is some wierd problem that can cause this file to have invalid names assigned to non-existent wifi adapters. Why I don't know.
Either delete the file or remove all the entries referencing wifi adapters.