Report comment

Hi roboberry,

I have got a bit further now and have another slight quirk. I am using the autohotspot script to test whether the password is correct for a given wifi hotspot.

In this situation the rPi is in "access-point" mode and I edit "wpa_supplicant.conf" file and enter an existing wifi hotspot with a password(i.e. I add or edit a "network={...}" entry). I then run the hotspot script to determine whether the password is OK. This nicely puts the rPi in "wifi" mode and tests whether it connected ok (i.e. the password was OK). If the password is NOT OK it will put the rPi back to "access-point" mode (which is really useful). In this case if I do the test again (i.e. just run the hotspot script again) it fails to perform the scan and finds no available hotspots. From what I can tell the call to "iw dev wlan0 scan ap-force ..." in FindSSID is returning "command failed: read-only file system (-30)". If I then run the script again its OK. It looks like when testing for a password you need to run the script twice - first to see if its OK and if it failed to run it again before using the script to perform further tests. Hopefully what I have said makes some sense.

Fingers crossed you can re-create what I have found and maybe able to shed some light as to what is going on?

Thanks for your time,

rob.