flancast90/wifi-bf

script not working

Closed this issue · 4 comments

Снимок экрана от 2021-11-24 20-21-54
password is not correct.

Hi @andreykanava ,

Sorry that you seem to be having this issue. I'll do my best to figure out what's going on with your system, as well as recommend a few fixes right now.

On Linux systems, occasionally a bug will occur where the terminal hangs-up on the wifi connection. Already in place is a time.sleep call on Line 147, which seems to fix it on most systems, but may not work on yours.

If you change the time.sleep(3) (Line 147) to another number (say, time.sleep(5)), you may have better results.

Let me know how it goes! If this doesn't seem to work, please comment with some more info, such as your OS, its version, etc.

I'm getting the same error, Increasing the time prevents it in some cases but still fails sometimes, It would be better to handle the situation with a couple of lines of code when trying to connect and check if the connection is reached, I made a PR with that.

fixed. Let me know how it works now.