[GH-ISSUE #62] APs scan issue #41

Closed
opened 2026-02-27 23:22:40 +03:00 by kerem · 28 comments
Owner

Originally created by @ForeheadFox on GitHub (Mar 3, 2017).
Original GitHub issue: https://github.com/SpacehuhnTech/esp8266_deauther/issues/62

I had a working board that worked flawlessly with the "master" version.. but after giving the "esp8266_deauther-testing" version a try the only message I get now when trying to scan for APs is
image
(even after switching back to master version)

I do not understand what has happened?

Originally created by @ForeheadFox on GitHub (Mar 3, 2017). Original GitHub issue: https://github.com/SpacehuhnTech/esp8266_deauther/issues/62 I had a working board that worked flawlessly with the "master" version.. but after giving the "esp8266_deauther-testing" version a try the only message I get now when trying to scan for APs is ![image](https://cloud.githubusercontent.com/assets/5722293/23534185/72500274-ffb6-11e6-8e7e-0121d28d79b2.png) (even after switching back to master version) I do not understand what has happened?
kerem 2026-02-27 23:22:40 +03:00
Author
Owner

@poslogic commented on GitHub (Mar 3, 2017):

Disable/forget your home network so that the phone/PC (device you are using) can only automatically connect to the board.

<!-- gh-comment-id:283836203 --> @poslogic commented on GitHub (Mar 3, 2017): Disable/forget your home network so that the phone/PC (device you are using) can only automatically connect to the board.
Author
Owner

@ForeheadFox commented on GitHub (Mar 3, 2017):

The device I am using to connect to the board has none remembered so that is not the problem.. It is connected but after failing a couple of times my device becomes disconnected.

<!-- gh-comment-id:283836502 --> @ForeheadFox commented on GitHub (Mar 3, 2017): The device I am using to connect to the board has none remembered so that is not the problem.. It is connected but after failing a couple of times my device becomes disconnected.
Author
Owner

@poslogic commented on GitHub (Mar 3, 2017):

Flash a simple blink sketch to your board, then try removing and rebooting your PC.

Then try re- flashing the master branch that works well for you.

Hope this helps.

<!-- gh-comment-id:283837171 --> @poslogic commented on GitHub (Mar 3, 2017): Flash a simple blink sketch to your board, then try removing and rebooting your PC. Then try re- flashing the master branch that works well for you. Hope this helps.
Author
Owner

@ForeheadFox commented on GitHub (Mar 3, 2017):

I uploaded
image
This script works BUT... The other one seems to be running as well in the background? The old ssid I chose and password pops up in my wifi list.

<!-- gh-comment-id:283837911 --> @ForeheadFox commented on GitHub (Mar 3, 2017): I uploaded ![image](https://cloud.githubusercontent.com/assets/5722293/23534566/14994804-ffb9-11e6-9768-298c5731c4bb.png) This script works BUT... The other one seems to be running as well in the background? The old ssid I chose and password pops up in my wifi list.
Author
Owner

@ForeheadFox commented on GitHub (Mar 3, 2017):

I tried to upload the master branch again but problem still coexists :(

<!-- gh-comment-id:283839286 --> @ForeheadFox commented on GitHub (Mar 3, 2017): I tried to upload the master branch again but problem still coexists :(
Author
Owner

@tpmodding commented on GitHub (Mar 3, 2017):

no infos...which phone? which browser?

I connect to my NodeMCU with my iPhone 6, if I scan AP's it does not disconnect, but if i scan for clients, my iphone disconnects, cause the esp scans, in this time my phone connects to my local router -> so i have to reconnect to my nodemcu, than it shows me the clients

<!-- gh-comment-id:283840132 --> @tpmodding commented on GitHub (Mar 3, 2017): no infos...which phone? which browser? I connect to my NodeMCU with my iPhone 6, if I scan AP's it does not disconnect, but if i scan for clients, my iphone disconnects, cause the esp scans, in this time my phone connects to my local router -> so i have to reconnect to my nodemcu, than it shows me the clients
Author
Owner

@ForeheadFox commented on GitHub (Mar 3, 2017):

@tpmodding you must have misunderstood... I am not using any phone and it would be irrelevant when I have already tested on sevral browsers and devices. Nothing says the iphone is better at connecting to the internet compared to any android that may even be more intelligent. and if you are wondering.. No, I am not using internet explorer....

<!-- gh-comment-id:283840837 --> @ForeheadFox commented on GitHub (Mar 3, 2017): @tpmodding you must have misunderstood... I am not using any phone and it would be irrelevant when I have already tested on sevral browsers and devices. Nothing says the iphone is better at connecting to the internet compared to any android that may even be more intelligent. and if you are wondering.. No, I am not using internet explorer....
Author
Owner

@poslogic commented on GitHub (Mar 3, 2017):

Try clearing browser cache and cookies.

<!-- gh-comment-id:283842063 --> @poslogic commented on GitHub (Mar 3, 2017): Try clearing browser cache and cookies.
Author
Owner

@ForeheadFox commented on GitHub (Mar 3, 2017):

no progress.. same issue.

After refreshing the webpage it turns white.
Tried to redownload files and upload as well, but no progress.

<!-- gh-comment-id:283842789 --> @ForeheadFox commented on GitHub (Mar 3, 2017): no progress.. same issue. After refreshing the webpage it turns white. Tried to redownload files and upload as well, but no progress.
Author
Owner

@tpmodding commented on GitHub (Mar 3, 2017):

just wanted to help and you give me a thumbs down? you say you are not using IE but dont say which one you use... no info, no support

<!-- gh-comment-id:283844139 --> @tpmodding commented on GitHub (Mar 3, 2017): just wanted to help and you give me a thumbs down? you say you are not using IE but dont say which one you use... no info, no support
Author
Owner

@ForeheadFox commented on GitHub (Mar 3, 2017):

@tpmodding Just told you I try what I can.. Chrome, Opera, firefox, safari, chromium and edge. happy?

<!-- gh-comment-id:283844573 --> @ForeheadFox commented on GitHub (Mar 3, 2017): @tpmodding Just told you I try what I can.. Chrome, Opera, firefox, safari, chromium and edge. happy?
Author
Owner

@ForeheadFox commented on GitHub (Mar 3, 2017):

Update: If it has something to do with it, the webserver crashes and turns everything white when I click the clients tab

<!-- gh-comment-id:283845419 --> @ForeheadFox commented on GitHub (Mar 3, 2017): Update: If it has something to do with it, the webserver crashes and turns everything white when I click the clients tab
Author
Owner

@joneroy commented on GitHub (Mar 3, 2017):

@TwinkleFredrik i think it's a bug on ap.html #51 press hastag check the prob and say it's same prob or not

<!-- gh-comment-id:283884450 --> @joneroy commented on GitHub (Mar 3, 2017): @TwinkleFredrik i think it's a bug on ap.html #51 press hastag check the prob and say it's same prob or not
Author
Owner

@ForeheadFox commented on GitHub (Mar 4, 2017):

@joneroy No my problem does not seem to be related to #51 The only error message I get is the one you see on the first post. The page loads just fine and everything seems to work but when I press scan on the APs tab the esp8266 crashes and gives me that until I unplug it from power.

<!-- gh-comment-id:284112618 --> @ForeheadFox commented on GitHub (Mar 4, 2017): @joneroy No my problem does not seem to be related to #51 The only error message I get is the one you see on the first post. The page loads just fine and everything seems to work but when I press scan on the APs tab the esp8266 crashes and gives me that until I unplug it from power.
Author
Owner

@ForeheadFox commented on GitHub (Mar 4, 2017):

@spacehuhn what is this duplicate to?

<!-- gh-comment-id:284112680 --> @ForeheadFox commented on GitHub (Mar 4, 2017): @spacehuhn what is this duplicate to?
Author
Owner

@spacehuhn commented on GitHub (Mar 4, 2017):

#5

<!-- gh-comment-id:284139202 --> @spacehuhn commented on GitHub (Mar 4, 2017): #5
Author
Owner

@joneroy commented on GitHub (Mar 4, 2017):

@TwinkleFredrik you are using testing branch or not so if you are not using testing branch use it no bug found everything solved by @spacehuhn

<!-- gh-comment-id:284159722 --> @joneroy commented on GitHub (Mar 4, 2017): @TwinkleFredrik you are using testing branch or not so if you are not using testing branch use it no bug found everything solved by @spacehuhn
Author
Owner

@ForeheadFox commented on GitHub (Mar 4, 2017):

But its not solved when my board isnt working propperly and I dont know what to do other than searching around to finally find the solution somewhere on this page :/

<!-- gh-comment-id:284167392 --> @ForeheadFox commented on GitHub (Mar 4, 2017): But its not solved when my board isnt working propperly and I dont know what to do other than searching around to finally find the solution somewhere on this page :/
Author
Owner

@ForeheadFox commented on GitHub (Mar 4, 2017):

Or has it recently been updated and I need to download both of the versions and try again?

<!-- gh-comment-id:284167513 --> @ForeheadFox commented on GitHub (Mar 4, 2017): Or has it recently been updated and I need to download both of the versions and try again?
Author
Owner

@joneroy commented on GitHub (Mar 4, 2017):

@TwinkleFredrik Download both of the versions and try again.

<!-- gh-comment-id:284167748 --> @joneroy commented on GitHub (Mar 4, 2017): @TwinkleFredrik Download both of the versions and try again.
Author
Owner

@tobozo commented on GitHub (Mar 4, 2017):

@TwinkleFredrik also check the recent changes in the ReadMe

<!-- gh-comment-id:284167886 --> @tobozo commented on GitHub (Mar 4, 2017): @TwinkleFredrik also check the recent changes in the ReadMe
Author
Owner

@ForeheadFox commented on GitHub (Mar 4, 2017):

I tried the updated master build.. got this: Arduino: 1.8.1 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Serial, 115200, 4M (3M SPIFFS)"

sketch\APScan.cpp: In member function 'bool APScan::start()':

APScan.cpp:14: error: no matching function for call to 'ESP8266WiFiClass::scanNetworks(bool, bool&)'

 results = WiFi.scanNetworks(false, settings.apScanHidden); // lets scanNetworks return hidden APs. (async = false & show_hidden = true)

                                                         ^

sketch\APScan.cpp:14:61: note: candidate is:

In file included from sketch\APScan.h:6:0,

             from sketch\APScan.cpp:1:

C:\Users\Twinkle-Fredrik\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\libraries\ESP8266WiFi\src/ESP8266WiFi.h:243:12: note: int8_t ESP8266WiFiClass::scanNetworks(bool)

 int8_t scanNetworks(bool async = false);

        ^

C:\Users\Twinkle-Fredrik\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\libraries\ESP8266WiFi\src/ESP8266WiFi.h:243:12: note: candidate expects 1 argument, 2 provided

exit status 1
no matching function for call to 'ESP8266WiFiClass::scanNetworks(bool, bool&)'


Same problem occurs with the testing branch as-well

<!-- gh-comment-id:284189684 --> @ForeheadFox commented on GitHub (Mar 4, 2017): I tried the updated master build.. got this: Arduino: 1.8.1 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Serial, 115200, 4M (3M SPIFFS)" sketch\APScan.cpp: In member function 'bool APScan::start()': APScan.cpp:14: error: no matching function for call to 'ESP8266WiFiClass::scanNetworks(bool, bool&)' results = WiFi.scanNetworks(false, settings.apScanHidden); // lets scanNetworks return hidden APs. (async = false & show_hidden = true) ^ sketch\APScan.cpp:14:61: note: candidate is: In file included from sketch\APScan.h:6:0, from sketch\APScan.cpp:1: C:\Users\Twinkle-Fredrik\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\libraries\ESP8266WiFi\src/ESP8266WiFi.h:243:12: note: int8_t ESP8266WiFiClass::scanNetworks(bool) int8_t scanNetworks(bool async = false); ^ C:\Users\Twinkle-Fredrik\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\libraries\ESP8266WiFi\src/ESP8266WiFi.h:243:12: note: candidate expects 1 argument, 2 provided exit status 1 no matching function for call to 'ESP8266WiFiClass::scanNetworks(bool, bool&)' ---- Same problem occurs with the testing branch as-well
Author
Owner

@ForeheadFox commented on GitHub (Mar 5, 2017):

Should I just open a new issue post with the comment above? This is during compilation..

<!-- gh-comment-id:284194990 --> @ForeheadFox commented on GitHub (Mar 5, 2017): Should I just open a new issue post with the comment above? This is during compilation..
Author
Owner

@spacehuhn commented on GitHub (Mar 5, 2017):

People are trying to help you, just listen to them and your problem will be solved:

@TwinkleFredrik also check the recent changes in the ReadMe

<!-- gh-comment-id:284212145 --> @spacehuhn commented on GitHub (Mar 5, 2017): People are trying to help you, just listen to them and your problem will be solved: > @TwinkleFredrik also check the recent changes in the ReadMe
Author
Owner

@ForeheadFox commented on GitHub (Mar 5, 2017):

But how do I find the recent changes? I search for recent changes but cant find out what is different with the readme file.
image

<!-- gh-comment-id:284222772 --> @ForeheadFox commented on GitHub (Mar 5, 2017): But how do I find the recent changes? I search for recent changes but cant find out what is different with the readme file. ![image](https://cloud.githubusercontent.com/assets/5722293/23587030/129b71bc-01a3-11e7-925a-bf5aa7ed11c2.png)
Author
Owner

@spacehuhn commented on GitHub (Mar 5, 2017):

dude... read the readme!

<!-- gh-comment-id:284223601 --> @spacehuhn commented on GitHub (Mar 5, 2017): dude... read the readme!
Author
Owner

@joneroy commented on GitHub (Mar 5, 2017):

@TwinkleFredrik

https://github.com/spacehuhn/esp8266_deauther/blob/master/README.md

Master Branch Downlaod link

https://github.com/spacehuhn/esp8266_deauther.git

<!-- gh-comment-id:284239274 --> @joneroy commented on GitHub (Mar 5, 2017): @TwinkleFredrik https://github.com/spacehuhn/esp8266_deauther/blob/master/README.md Master Branch Downlaod link https://github.com/spacehuhn/esp8266_deauther.git
Author
Owner

@ForeheadFox commented on GitHub (Mar 5, 2017):

Thank you @joneroy finally works again! :)
You really are good at helping.

<!-- gh-comment-id:284274303 --> @ForeheadFox commented on GitHub (Mar 5, 2017): Thank you @joneroy finally works again! :) You really are good at helping.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/esp8266_deauther#41
No description provided.