[GH-ISSUE #5] Scan wont pick up APs #5

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

Originally created by @nutterdk on GitHub (Feb 6, 2017).
Original GitHub issue: https://github.com/SpacehuhnTech/esp8266_deauther/issues/5

Im using this board:
NodeMCU with an ESP-12E

It uploaded and works fine. except when scanning for networks it just keeps scanning and doesnt find anything. Even when its right next to the router

Originally created by @nutterdk on GitHub (Feb 6, 2017). Original GitHub issue: https://github.com/SpacehuhnTech/esp8266_deauther/issues/5 Im using this board: [NodeMCU](http://www.ebay.co.uk/itm/NEW-NodeMcu-DevKit-ESP8266-12E-4MB-WIFI-CP2102-USB-Internet-of-Things-IOT-/231983263238?hash=item360347ae06:g:CVkAAOSwnipWU62m&clk_rvr_id=1162855750654&rmvSB=true) with an ESP-12E It uploaded and works fine. except when scanning for networks it just keeps scanning and doesnt find anything. Even when its right next to the router
kerem 2026-02-27 23:22:24 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@spacehuhn commented on GitHub (Feb 6, 2017):

Have you tried to upload one of the examples and are they working? There is one example (for the ESP8266) for scanning APs which prints them out in the serial monitor.
Please try that out and tell me if this works.

<!-- gh-comment-id:277671994 --> @spacehuhn commented on GitHub (Feb 6, 2017): Have you tried to upload one of the examples and are they working? There is one example (for the ESP8266) for scanning APs which prints them out in the serial monitor. Please try that out and tell me if this works.
Author
Owner

@nutterdk commented on GitHub (Feb 6, 2017):

Could you link me to the example?

<!-- gh-comment-id:277675228 --> @nutterdk commented on GitHub (Feb 6, 2017): Could you link me to the example?
Author
Owner

@nutterdk commented on GitHub (Feb 6, 2017):

And by the way its the same card that Seytonic used in his video

<!-- gh-comment-id:277678129 --> @nutterdk commented on GitHub (Feb 6, 2017): And by the way its the same card that Seytonic used in his video
Author
Owner

@spacehuhn commented on GitHub (Feb 6, 2017):

If you followed the steps correctly you should have the SDK installed in Arduino and with that the examples.
So under tools select an ESP8266 and then go to File -> Examples -> ESP8266WiFi -> WiFiScan.

<!-- gh-comment-id:277798872 --> @spacehuhn commented on GitHub (Feb 6, 2017): If you followed the steps correctly you should have the SDK installed in Arduino and with that the examples. So under tools select an ESP8266 and then go to `File `-> `Examples `-> `ESP8266WiFi `-> `WiFiScan`.
Author
Owner

@nutterdk commented on GitHub (Feb 6, 2017):

Sorry I'm new to arduino. I've uploaded the wifiscan to the nodemcu, now what? How do i test this example

<!-- gh-comment-id:277806242 --> @nutterdk commented on GitHub (Feb 6, 2017): Sorry I'm new to arduino. I've uploaded the wifiscan to the nodemcu, now what? How do i test this example
Author
Owner

@nutterdk commented on GitHub (Feb 6, 2017):

I managed to work that out, so after uploading the wifiscanner example it just spits out all this random text "¢ÿÀ)óÿVÿå1üþDà2ÿÿô��ùú¢ÈBÿÿøå%þü*ðÿÿù"

<!-- gh-comment-id:277810092 --> @nutterdk commented on GitHub (Feb 6, 2017): I managed to work that out, so after uploading the wifiscanner example it just spits out all this random text "¢ÿÀ)óÿVÿå1üþDà2ÿÿô��ùú¢ÈBÿÿøå%þü*ðÿÿù"
Author
Owner

@spacehuhn commented on GitHub (Feb 6, 2017):

Go to Tool and open Serial Monitor make sure the baud rate (bottom right in the corner) is set to 115200 and then when running the example you should see the scan results in the monitor.

<!-- gh-comment-id:277810163 --> @spacehuhn commented on GitHub (Feb 6, 2017): Go to `Tool `and open `Serial Monitor` make sure the baud rate (bottom right in the corner) is set to 115200 and then when running the example you should see the scan results in the monitor.
Author
Owner

@nutterdk commented on GitHub (Feb 6, 2017):

Ah yeah, it works! It gives a list of the access points near me.

<!-- gh-comment-id:277812779 --> @nutterdk commented on GitHub (Feb 6, 2017): Ah yeah, it works! It gives a list of the access points near me.
Author
Owner

@spacehuhn commented on GitHub (Feb 6, 2017):

learned something :D

Now when you upload the deauther code does it work? You can let the serial monitor open and see what it does, maybe you find a clue why it's not working.

<!-- gh-comment-id:277815260 --> @spacehuhn commented on GitHub (Feb 6, 2017): learned something :D Now when you upload the deauther code does it work? You can let the serial monitor open and see what it does, maybe you find a clue why it's not working.
Author
Owner

@nutterdk commented on GitHub (Feb 6, 2017):

Should i reset my board first before uploading the deauther?

<!-- gh-comment-id:277816230 --> @nutterdk commented on GitHub (Feb 6, 2017): Should i reset my board first before uploading the deauther?
Author
Owner

@spacehuhn commented on GitHub (Feb 6, 2017):

No just upload.

<!-- gh-comment-id:277816777 --> @spacehuhn commented on GitHub (Feb 6, 2017): No just upload.
Author
Owner

@nutterdk commented on GitHub (Feb 6, 2017):

It won't let me.
The Error message and also the port in tools is now greyed out.
Arduino: 1.8.1 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Serial, 115200, 4M (3M SPIFFS)"

java.io.IOException: jssc.SerialPortException: Port name - COM4; Method name - setEventsMask(); Exception type - Can't set mask.
at processing.app.Serial.dispose(Serial.java:144)
at processing.app.SerialMonitor.close(SerialMonitor.java:108)
at processing.app.AbstractMonitor.suspend(AbstractMonitor.java:96)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2182)
at java.lang.Thread.run(Thread.java:745)
Caused by: jssc.SerialPortException: Port name - COM4; Method name - setEventsMask(); Exception type - Can't set mask.
at jssc.SerialPort.setEventsMask(SerialPort.java:279)
at jssc.SerialPort.removeEventListener(SerialPort.java:1064)
at jssc.SerialPort.closePort(SerialPort.java:1090)
at processing.app.Serial.dispose(Serial.java:141)
... 4 more
Board at COM4 is not available

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

<!-- gh-comment-id:277817259 --> @nutterdk commented on GitHub (Feb 6, 2017): It won't let me. The Error message and also the port in tools is now greyed out. Arduino: 1.8.1 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Serial, 115200, 4M (3M SPIFFS)" java.io.IOException: jssc.SerialPortException: Port name - COM4; Method name - setEventsMask(); Exception type - Can't set mask. at processing.app.Serial.dispose(Serial.java:144) at processing.app.SerialMonitor.close(SerialMonitor.java:108) at processing.app.AbstractMonitor.suspend(AbstractMonitor.java:96) at processing.app.Editor$DefaultExportHandler.run(Editor.java:2182) at java.lang.Thread.run(Thread.java:745) Caused by: jssc.SerialPortException: Port name - COM4; Method name - setEventsMask(); Exception type - Can't set mask. at jssc.SerialPort.setEventsMask(SerialPort.java:279) at jssc.SerialPort.removeEventListener(SerialPort.java:1064) at jssc.SerialPort.closePort(SerialPort.java:1090) at processing.app.Serial.dispose(Serial.java:141) ... 4 more Board at COM4 is not available This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.
Author
Owner

@spacehuhn commented on GitHub (Feb 6, 2017):

Click upload again. If this doesn't work close the serial monitor and open it again after the upload is finished.

<!-- gh-comment-id:277817619 --> @spacehuhn commented on GitHub (Feb 6, 2017): Click upload again. If this doesn't work close the serial monitor and open it again after the upload is finished.
Author
Owner

@nutterdk commented on GitHub (Feb 6, 2017):

Ive clicked upload again, got the same message. So i closed it and uploaded again which i got these error messages
error: Failed to open COM4
error: espcomm_open failed
error: espcomm_open failed

But now when trying to open Serial monitor it tells me "Board at COM4 is not available

<!-- gh-comment-id:277818555 --> @nutterdk commented on GitHub (Feb 6, 2017): Ive clicked upload again, got the same message. So i closed it and uploaded again which i got these error messages error: Failed to open COM4 error: espcomm_open failed error: espcomm_open failed But now when trying to open Serial monitor it tells me "Board at COM4 is not available
Author
Owner

@nutterdk commented on GitHub (Feb 6, 2017):

Dude my bad, I completely forgot I had unplugged the board :D its uploading now with no errors

<!-- gh-comment-id:277819311 --> @nutterdk commented on GitHub (Feb 6, 2017): Dude my bad, I completely forgot I had unplugged the board :D its uploading now with no errors
Author
Owner

@nutterdk commented on GitHub (Feb 6, 2017):

Alright so the deauther is uploaded but when scanning, still no networks are showing :/

<!-- gh-comment-id:277819968 --> @nutterdk commented on GitHub (Feb 6, 2017): Alright so the deauther is uploaded but when scanning, still no networks are showing :/
Author
Owner

@spacehuhn commented on GitHub (Feb 6, 2017):

Ok this is strange! Because both, the example and my code, use to same functions to scan for APs.
Hm.. do you see any activity in the serial monitor while scanning with the deauther?

<!-- gh-comment-id:277821033 --> @spacehuhn commented on GitHub (Feb 6, 2017): Ok this is strange! Because both, the example and my code, use to same functions to scan for APs. Hm.. do you see any activity in the serial monitor while scanning with the deauther?
Author
Owner

@nutterdk commented on GitHub (Feb 6, 2017):

This is all i get the monitor
starting...
SSID: pwned
Password: deauther

<!-- gh-comment-id:277821265 --> @nutterdk commented on GitHub (Feb 6, 2017): This is all i get the monitor starting... SSID: pwned Password: deauther
Author
Owner

@spacehuhn commented on GitHub (Feb 6, 2017):

Ok well then I have no idea... :(
I never had this problem, I can't reproduce it and it really doesn't make sense! If the example code is working, the deauther code should be too - it's the same!

If you get it running somehow, let me know please!

<!-- gh-comment-id:277823796 --> @spacehuhn commented on GitHub (Feb 6, 2017): Ok well then I have no idea... :( I never had this problem, I can't reproduce it and it really doesn't make sense! If the example code is working, the deauther code should be too - it's the same! If you get it running somehow, let me know please!
Author
Owner

@andrewheselton commented on GitHub (Feb 6, 2017):

Hi Spacehuhn
Great video by the the way. I'm getting the same as nutterdk :( open the example one and serial display 16 access point around where I live but when recompile and upload the deauther shows nothing, very strange.

<!-- gh-comment-id:277824903 --> @andrewheselton commented on GitHub (Feb 6, 2017): Hi Spacehuhn Great video by the the way. I'm getting the same as nutterdk :( open the example one and serial display 16 access point around where I live but when recompile and upload the deauther shows nothing, very strange.
Author
Owner

@nutterdk commented on GitHub (Feb 6, 2017):

I'm thinking that I am just going to reset my board by holding down the reset button and reupload/test it and if that doesnt work then I have no idea either

<!-- gh-comment-id:277825763 --> @nutterdk commented on GitHub (Feb 6, 2017): I'm thinking that I am just going to reset my board by holding down the reset button and reupload/test it and if that doesnt work then I have no idea either
Author
Owner

@nutterdk commented on GitHub (Feb 6, 2017):

Yeah still nothing

<!-- gh-comment-id:277827791 --> @nutterdk commented on GitHub (Feb 6, 2017): Yeah still nothing
Author
Owner

@andrewheselton commented on GitHub (Feb 6, 2017):

I'm using one of these, they should be ok right ?

<!-- gh-comment-id:277828327 --> @andrewheselton commented on GitHub (Feb 6, 2017): I'm using one of these, they should be ok right ?
Author
Owner

@andrewheselton commented on GitHub (Feb 6, 2017):

in the readme it says to go here packages > esp8266 > hardware > esp8266 > 2.0.0 > tools > sdk > include
I have version 2.3 in the esp8266 directory.

<!-- gh-comment-id:277828759 --> @andrewheselton commented on GitHub (Feb 6, 2017): in the readme it says to go here packages > esp8266 > hardware > esp8266 > 2.0.0 > tools > sdk > include I have version 2.3 in the esp8266 directory.
Author
Owner

@nutterdk commented on GitHub (Feb 6, 2017):

You need version 2.0

<!-- gh-comment-id:277828838 --> @nutterdk commented on GitHub (Feb 6, 2017): You need version 2.0
Author
Owner

@nutterdk commented on GitHub (Feb 6, 2017):

Yours probably isnt working because you have the wrong sdk version

<!-- gh-comment-id:277828886 --> @nutterdk commented on GitHub (Feb 6, 2017): Yours probably isnt working because you have the wrong sdk version
Author
Owner

@andrewheselton commented on GitHub (Feb 6, 2017):

Hi nutterdk, do you have a link for 2.0.0 ?

<!-- gh-comment-id:277829365 --> @andrewheselton commented on GitHub (Feb 6, 2017): Hi nutterdk, do you have a link for 2.0.0 ?
Author
Owner

@nutterdk commented on GitHub (Feb 6, 2017):

Just delete the one you have now and go follow the tutorial again, it shows you how to do it. It says to select 2.0.0 from the drop down menu after searching for esp8266

<!-- gh-comment-id:277830482 --> @nutterdk commented on GitHub (Feb 6, 2017): Just delete the one you have now and go follow the tutorial again, it shows you how to do it. It says to select 2.0.0 from the drop down menu after searching for esp8266
Author
Owner

@andrewheselton commented on GitHub (Feb 6, 2017):

ah yes of course, thanksz i'll try that now.

<!-- gh-comment-id:277830684 --> @andrewheselton commented on GitHub (Feb 6, 2017): ah yes of course, thanksz i'll try that now.
Author
Owner

@nutterdk commented on GitHub (Feb 6, 2017):

Tell us if you get it working please :D

<!-- gh-comment-id:277830742 --> @nutterdk commented on GitHub (Feb 6, 2017): Tell us if you get it working please :D
Author
Owner

@andrewheselton commented on GitHub (Feb 6, 2017):

will do having trouble making it show now.

<!-- gh-comment-id:277831954 --> @andrewheselton commented on GitHub (Feb 6, 2017): will do having trouble making it show now.
Author
Owner

@andrewheselton commented on GitHub (Feb 6, 2017):

I can't see the library in the library manager :(

<!-- gh-comment-id:277834048 --> @andrewheselton commented on GitHub (Feb 6, 2017): I can't see the library in the library manager :(
Author
Owner

@spacehuhn commented on GitHub (Feb 7, 2017):

Just to make it clear, it works now right?
It was a browser problem with IE (?): https://github.com/spacehuhn/esp8266_deauther/issues/6

<!-- gh-comment-id:277926327 --> @spacehuhn commented on GitHub (Feb 7, 2017): Just to make it clear, it works now right? It was a browser problem with IE (?): https://github.com/spacehuhn/esp8266_deauther/issues/6
Author
Owner

@andrewheselton commented on GitHub (Feb 7, 2017):

Hi StefanThat's correct it was a browser problem probably something to do with the html format.  Many thanks for writing and spending the time with this. ThanksAndy.

<!-- gh-comment-id:277936942 --> @andrewheselton commented on GitHub (Feb 7, 2017): Hi StefanThat's correct it was a browser problem probably something to do with the html format.  Many thanks for writing and spending the time with this. ThanksAndy.
Author
Owner

@masonticehurst commented on GitHub (Feb 16, 2017):

Strangely enough I seem to be facing the same issue.

I've got the 2.0 SDK installed, and all the network scans from the example seem to work fine.

I've tried Google Chrome and Safari browser on my iPhone and so far neither of them find any networks are are stuck at "scanning..."

EDIT: I can confirm this issue seems to only happen on my iPhone (maybe mobile phones in general???)
Any idea what might be causing that? Maybe something to do with flash support?

<!-- gh-comment-id:280183647 --> @masonticehurst commented on GitHub (Feb 16, 2017): Strangely enough I seem to be facing the same issue. I've got the 2.0 SDK installed, and all the network scans from the example seem to work fine. I've tried Google Chrome and Safari browser on my iPhone and so far neither of them find any networks are are stuck at "scanning..." EDIT: I can confirm this issue seems to only happen on my iPhone (maybe mobile phones in general???) Any idea what might be causing that? Maybe something to do with flash support?
Author
Owner

@Staple-nutz commented on GitHub (Feb 16, 2017):

I can confirm that I am having the same issue.

After the first compile and upload my Android phone, Windows laptop with Chrome & Windows tablet with IE have all connected to my ESP-12F with Deauther and have all scanned for AP's sucessfully. That was last night.

Today when I have plugged the ESP-12F back into power, I no longer get any APs when scanning. I had not changed anything on the ESP-12F. no re-upload, the same power supply, everything is the same as it was yesterday. Hence I really don't understand what is happening. I have since tried re-uploading the sketch, but am seeing the same result.

I will be trying another ESP board to see if I can get it working on that. Other then this I have no further ideas.

<!-- gh-comment-id:280200208 --> @Staple-nutz commented on GitHub (Feb 16, 2017): I can confirm that I am having the same issue. After the first compile and upload my Android phone, Windows laptop with Chrome & Windows tablet with IE have all connected to my ESP-12F with Deauther and have all scanned for AP's sucessfully. That was last night. Today when I have plugged the ESP-12F back into power, I no longer get any APs when scanning. I had not changed anything on the ESP-12F. no re-upload, the same power supply, everything is the same as it was yesterday. Hence I really don't understand what is happening. I have since tried re-uploading the sketch, but am seeing the same result. I will be trying another ESP board to see if I can get it working on that. Other then this I have no further ideas.
Author
Owner

@masonticehurst commented on GitHub (Feb 16, 2017):

Today when I have plugged the ESP-12F back into power, I no longer get any APs when scanning.

Have you tried other browsers for your tablet device? If I had to guess it's something with how the POST information is sent when the buttons are pressed.. Really no idea though.

<!-- gh-comment-id:280207425 --> @masonticehurst commented on GitHub (Feb 16, 2017): > Today when I have plugged the ESP-12F back into power, I no longer get any APs when scanning. Have you tried other browsers for your tablet device? If I had to guess it's something with how the POST information is sent when the buttons are pressed.. Really no idea though.
Author
Owner

@Staple-nutz commented on GitHub (Feb 16, 2017):

Have you tried other browsers for your tablet device?

Absolutely
On the Android I have tried the standard browser that comes with the phone as well as Chrome.
On the Laptop I have tried Chrome & MS Edge.
On the Tablet I have tried Chrome & IE 11.

All of which worked yesterday, none do today.

Since my last post I have recompiled and uploaded to another ESP-12F board and I'm still having the same problem on all devices and browsers.

This is making me think that perhaps some temporary files being stored on the devices are creating an issue after the first use. I'm coming to this conclusion through the process of eliminating...

  1. The ESP HW as an issue, as I've used 2 boards.

  2. The issue started on an ESP that had only ever been flashed one time which at first worked but later didn't.

  3. All attempts to recompile and upload have been the original un-touched sketch.

  4. Three client devices have been used with various browser software. All of which worked the first time and have later not worked.

<!-- gh-comment-id:280216360 --> @Staple-nutz commented on GitHub (Feb 16, 2017): > Have you tried other browsers for your tablet device? Absolutely On the Android I have tried the standard browser that comes with the phone as well as Chrome. On the Laptop I have tried Chrome & MS Edge. On the Tablet I have tried Chrome & IE 11. All of which worked yesterday, none do today. Since my last post I have recompiled and uploaded to another ESP-12F board and I'm still having the same problem on all devices and browsers. This is making me think that perhaps some temporary files being stored on the devices are creating an issue after the first use. I'm coming to this conclusion through the process of eliminating... 1. The ESP HW as an issue, as I've used 2 boards. 2. The issue started on an ESP that had only ever been flashed one time which at first worked but later didn't. 3. All attempts to recompile and upload have been the original un-touched sketch. 4. Three client devices have been used with various browser software. All of which worked the first time and have later not worked.
Author
Owner

@andrbmgi commented on GitHub (Feb 18, 2017):

There is a tiny bug in "APScan::getResults()" in APScan.cpp. If you got more than maxResults APs an extra comma gets added to the json which throws off the parser.

Fixed line 73: if ((i!=results-1) && (i!=maxResults-1)) json += ",";

The timeout is also too short and will fire every time for me, with the fix above a manual reload will do.

<!-- gh-comment-id:280818200 --> @andrbmgi commented on GitHub (Feb 18, 2017): There is a tiny bug in "APScan::getResults()" in APScan.cpp. If you got more than maxResults APs an extra comma gets added to the json which throws off the parser. Fixed line 73: `if ((i!=results-1) && (i!=maxResults-1)) json += ",";` The timeout is also too short and will fire every time for me, with the fix above a manual reload will do.
Author
Owner

@spacehuhn commented on GitHub (Feb 19, 2017):

Can you confirm that it works now with the updated files (for all your browsers and devices)?

<!-- gh-comment-id:280950683 --> @spacehuhn commented on GitHub (Feb 19, 2017): Can you confirm that it works now with the updated files (for all your browsers and devices)?
Author
Owner

@masonticehurst commented on GitHub (Feb 19, 2017):

I've redownloaded and re-uploaded the new code to the ESP-12E but I still can't seem to get past the "scanning" in both Google Chrome and Safari in my phone browser :/

<!-- gh-comment-id:280952555 --> @masonticehurst commented on GitHub (Feb 19, 2017): I've redownloaded and re-uploaded the new code to the ESP-12E but I still can't seem to get past the "scanning" in both Google Chrome and Safari in my phone browser :/
Author
Owner

@spacehuhn commented on GitHub (Feb 20, 2017):

I just updated a few things and increased the result list to 80, maybe this will help.

<!-- gh-comment-id:281051648 --> @spacehuhn commented on GitHub (Feb 20, 2017): I just updated a few things and increased the result list to 80, maybe this will help.
Author
Owner

@Staple-nutz commented on GitHub (Feb 20, 2017):

There is a tiny bug in "APScan::getResults()" in APScan.cpp. If you got more than maxResults APs an extra comma gets added to the json which throws off the parser.
Fixed`` line 73: if ((i!=results-1) && (i!=maxResults-1)) json += ",";
The timeout is also too short and will fire every time for me, with the fix above a manual reload will do.

After making this change I'm now getting scan results again. I thought nothing in my environment had changed hence some serious head scratching. But it is entirely possible a few more AP's could have been picked up when running at a different time or the ESP orientated differently. Which triggered this bug.

<!-- gh-comment-id:281172520 --> @Staple-nutz commented on GitHub (Feb 20, 2017): > There is a tiny bug in "APScan::getResults()" in APScan.cpp. If you got more than maxResults APs an extra comma gets added to the json which throws off the parser. >Fixed`` line 73: if ((i!=results-1) && (i!=maxResults-1)) json += ","; >The timeout is also too short and will fire every time for me, with the fix above a manual reload will do. After making this change I'm now getting scan results again. I thought nothing in my environment had changed hence some serious head scratching. But it is entirely possible a few more AP's could have been picked up when running at a different time or the ESP orientated differently. Which triggered this bug.
Author
Owner

@labraloutre commented on GitHub (Feb 20, 2017):

Hi
I'm having quite the same problem :
~3 seconds after running scan, I get a timeout error message (the one contained in functions.js)
I've got this behaviour on every device I own (Android phone / Linux Laptop / Win10 Laptop) and with various browsers FF / Chrome / Edge / Chromium.
I've tried to power the ESP from computer and various USB adapters (including 2Amps).

The Wifi Scanner example works well.

I managed to catch the following trace from the serial interface with CuteCom.

Hope this helps and thanks !

starting...
SSID: pwned
Password: deauther

Exception (28):
epc1=0x4000df60 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000

ctx: cont 
sp: 3fff5330 end: 3fff5690 offset: 01a0

>>>stack>>>
3fff54d0:  4010684c 4010683a 3fff5590 4020e53a  
3fff54e0:  00000af3 00000001 3fff5590 4020e592  
3fff54f0:  00000b03 00000001 3fff5590 4020e95d  
3fff5500:  00000013 3fff08e4 3fff5590 3fff0898  
3fff5510:  00000013 3fff08e4 3fff5590 4020e9bd  
3fff5520:  3ffe8570 3fff08e4 3fff5590 4020e4ec  
3fff5530:  3ffe8a20 00000000 3fff5590 40206e20  
3fff5540:  3fff9000 0000001f 00000011 3fff8ee8  
3fff5550:  0000000f 00000005 3fff5590 4020e5c2  
3fff5560:  3fff0f7b 3fff17b7 3fff1993 00000013  
3fff5570:  3fff2ca8 3fff23e4 3fff5640 00000001  
3fff5580:  00000001 00000001 3fff85a8 402086ae  
3fff5590:  00000000 00000aff 00000af2 4020e5c2  
3fff55a0:  4010684c 3fff85a8 3fff55d0 4020d742  
3fff55b0:  0000000a 401011f3 3fff85a8 4020a8e2  
3fff55c0:  4020a8ec 3fff85a8 3fff55f0 4020a91e  
3fff55d0:  3fff9000 0000001f 00000013 4020e6e8  
3fff55e0:  4020a8ec 3fff85a8 3fff23e4 4020aad9  
3fff55f0:  3fff8fd0 0000001f 00000013 40209b7f  
3fff5600:  3fff2420 401011f3 3fff4670 00000001  
3fff5610:  00000000 0000000a 4020c768 3fff4670  
3fff5620:  402012e6 00000001 00000001 3fff4668  
3fff5630:  3fffdc20 000003e8 3fff23e4 4020abd4  
3fff5640:  3ffe88f0 00000000 000003e8 000092c9  
3fff5650:  3fff2404 3fff90c0 00000016 40101941  
3fff5660:  4020c789 00000000 3fff4661 40208fe1  
3fff5670:  00000000 00000000 3fff4661 4020c7b1  
3fff5680:  00000000 00000000 3fff4670 40100114  
<<<stack<<<

 ets Jan  8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 1264, room 16 
tail 0
chksum 0x42
csum 0x42
~ld
EEPROM cleared

starting...
SSID: pwned
Password: deauther

<!-- gh-comment-id:281198682 --> @labraloutre commented on GitHub (Feb 20, 2017): Hi I'm having quite the same problem : ~3 seconds after running scan, I get a timeout error message (the one contained in functions.js) I've got this behaviour on every device I own (Android phone / Linux Laptop / Win10 Laptop) and with various browsers FF / Chrome / Edge / Chromium. I've tried to power the ESP from computer and various USB adapters (including 2Amps). The Wifi Scanner example works well. I managed to catch the following trace from the serial interface with CuteCom. Hope this helps and thanks ! ``` starting... SSID: pwned Password: deauther Exception (28): epc1=0x4000df60 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000 ctx: cont sp: 3fff5330 end: 3fff5690 offset: 01a0 >>>stack>>> 3fff54d0: 4010684c 4010683a 3fff5590 4020e53a 3fff54e0: 00000af3 00000001 3fff5590 4020e592 3fff54f0: 00000b03 00000001 3fff5590 4020e95d 3fff5500: 00000013 3fff08e4 3fff5590 3fff0898 3fff5510: 00000013 3fff08e4 3fff5590 4020e9bd 3fff5520: 3ffe8570 3fff08e4 3fff5590 4020e4ec 3fff5530: 3ffe8a20 00000000 3fff5590 40206e20 3fff5540: 3fff9000 0000001f 00000011 3fff8ee8 3fff5550: 0000000f 00000005 3fff5590 4020e5c2 3fff5560: 3fff0f7b 3fff17b7 3fff1993 00000013 3fff5570: 3fff2ca8 3fff23e4 3fff5640 00000001 3fff5580: 00000001 00000001 3fff85a8 402086ae 3fff5590: 00000000 00000aff 00000af2 4020e5c2 3fff55a0: 4010684c 3fff85a8 3fff55d0 4020d742 3fff55b0: 0000000a 401011f3 3fff85a8 4020a8e2 3fff55c0: 4020a8ec 3fff85a8 3fff55f0 4020a91e 3fff55d0: 3fff9000 0000001f 00000013 4020e6e8 3fff55e0: 4020a8ec 3fff85a8 3fff23e4 4020aad9 3fff55f0: 3fff8fd0 0000001f 00000013 40209b7f 3fff5600: 3fff2420 401011f3 3fff4670 00000001 3fff5610: 00000000 0000000a 4020c768 3fff4670 3fff5620: 402012e6 00000001 00000001 3fff4668 3fff5630: 3fffdc20 000003e8 3fff23e4 4020abd4 3fff5640: 3ffe88f0 00000000 000003e8 000092c9 3fff5650: 3fff2404 3fff90c0 00000016 40101941 3fff5660: 4020c789 00000000 3fff4661 40208fe1 3fff5670: 00000000 00000000 3fff4661 4020c7b1 3fff5680: 00000000 00000000 3fff4670 40100114 <<<stack<<< ets Jan 8 2013,rst cause:2, boot mode:(3,6) load 0x4010f000, len 1264, room 16 tail 0 chksum 0x42 csum 0x42 ~ld EEPROM cleared starting... SSID: pwned Password: deauther ```
Author
Owner

@spacehuhn commented on GitHub (Feb 21, 2017):

Thanks @labraloutre for the detailed information. Seems like the ESP crashes after scanning for some reason. I will add more debug infos to the serial monitor with the next update! until then could the others please check if they get the same error?

<!-- gh-comment-id:281275971 --> @spacehuhn commented on GitHub (Feb 21, 2017): Thanks @labraloutre for the detailed information. Seems like the ESP crashes after scanning for some reason. I will add more debug infos to the serial monitor with the next update! until then could the others please check if they get the same error?
Author
Owner

@labraloutre commented on GitHub (Feb 21, 2017):

Hi
I've some informations to add.
I just tried again without changing anything except I'm at work, well it had worked for some time quite well.

I'm wondering whether it Could be something related to the networks surrounding an area, perhaps a SSID name with special characters or accents or too long ?...

<!-- gh-comment-id:281329305 --> @labraloutre commented on GitHub (Feb 21, 2017): Hi I've some informations to add. I just tried again without changing anything except I'm at work, well it had worked for some time quite well. I'm wondering whether it Could be something related to the networks surrounding an area, perhaps a SSID name with special characters or accents or too long ?...
Author
Owner

@jobr97 commented on GitHub (Feb 21, 2017):

I had the same issue and the same error at my workplace. However at the trainstation 30 mins later it worked again...

<!-- gh-comment-id:281451665 --> @jobr97 commented on GitHub (Feb 21, 2017): I had the same issue and the same error at my workplace. However at the trainstation 30 mins later it worked again...
Author
Owner

@spacehuhn commented on GitHub (Feb 21, 2017):

I think either there is an error in the code which lets the ESP8266 crash or there is something wrong with the returned JSON string.
hm... :/

<!-- gh-comment-id:281466267 --> @spacehuhn commented on GitHub (Feb 21, 2017): I think either there is an error in the code which lets the ESP8266 crash or there is something wrong with the returned JSON string. hm... :/
Author
Owner

@jobr97 commented on GitHub (Feb 21, 2017):

probably something about the JSON, since it worked at a different place... I can try to scan the APs with the ESP8266WiFi WiFi Scan. Maybe there are some chars in it that make it crash.

EDIT: I added the JSON-String to the debug-console, so I can send you the full string by tomorrow.

EDIT 2: It doesn't even give back a JSON-String.

EDIT 3: Actually it doesn't even get to the APScan::getResults() function.

<!-- gh-comment-id:281475480 --> @jobr97 commented on GitHub (Feb 21, 2017): probably something about the JSON, since it worked at a different place... I can try to scan the APs with the `ESP8266WiFi WiFi Scan`. Maybe there are some chars in it that make it crash. EDIT: I added the JSON-String to the debug-console, so I can send you the full string by tomorrow. EDIT 2: It doesn't even give back a JSON-String. EDIT 3: Actually it doesn't even get to the `APScan::getResults()` function.
Author
Owner

@CyBriDx commented on GitHub (Feb 25, 2017):

what is the solution for scanning in mobile devices?

<!-- gh-comment-id:282478203 --> @CyBriDx commented on GitHub (Feb 25, 2017): what is the solution for scanning in mobile devices?
Author
Owner

@jobr97 commented on GitHub (Feb 26, 2017):

@DushyantPUNK it has nothing to do if you scan it via mobile or pc. There is a bug in the code that probably is caused by an attribute (ssid, mac, etc) of a nearby network.

<!-- gh-comment-id:282547755 --> @jobr97 commented on GitHub (Feb 26, 2017): @DushyantPUNK it has nothing to do if you scan it via mobile or pc. There is a bug in the code that probably is caused by an attribute (ssid, mac, etc) of a nearby network.
Author
Owner

@spacehuhn commented on GitHub (Feb 26, 2017):

I get the same error when an AP has a quotes (") in its SSID because then the generated JSON string is invalid. I'll fix that in the next update!

But I'm sure we are all talking about different errors, just with the same results.

  • Browser incompatibility is one thing, you can debug using the developer options and see if the javascript gives an error or something else.
  • The other thing is when the ESP8266 crashes. @whyisthisusernamealreadytaken you said it doesn't get to the getResults() function, so does it crash before that?

You guys need to debug more! I can't help you without knowing whats wrong. I can't reproduce that error and I've tested it a lot now.

<!-- gh-comment-id:282556180 --> @spacehuhn commented on GitHub (Feb 26, 2017): I get the same error when an AP has a quotes (") in its SSID because then the generated JSON string is invalid. I'll fix that in the next update! But I'm sure we are all talking about different errors, just with the same results. - Browser incompatibility is one thing, you can debug using the developer options and see if the javascript gives an error or something else. - The other thing is when the ESP8266 crashes. @whyisthisusernamealreadytaken you said it doesn't get to the `getResults()` function, so does it crash before that? You guys need to debug more! I can't help you without knowing whats wrong. I can't reproduce that error and I've tested it a lot now.
Author
Owner

@jobr97 commented on GitHub (Feb 26, 2017):

@spacehuhn I tried to add more debug information to your code but because I don't have a lot of knowledge in C I don't really understand the whole program. If you could add more debug options I could give you more information.

<!-- gh-comment-id:282557000 --> @jobr97 commented on GitHub (Feb 26, 2017): @spacehuhn I tried to add more debug information to your code but because I don't have a lot of knowledge in C I don't really understand the whole program. If you could add more debug options I could give you more information.
Author
Owner

@tobozo commented on GitHub (Feb 26, 2017):

This is exactly how I found myself trying to implement a serial substitute to the webserver thing #37

<!-- gh-comment-id:282561668 --> @tobozo commented on GitHub (Feb 26, 2017): This is exactly how I found myself trying to implement a serial substitute to the webserver thing #37
Author
Owner

@spacehuhn commented on GitHub (Feb 26, 2017):

@whyisthisusernamealreadytaken have you tried out the testing branch? https://github.com/spacehuhn/esp8266_deauther/tree/testing I added a lot of debug infos. You just need to set debug = true in the esp8266_deauther.ino file. Maybe this helps a bit.

And thank you for your help so far! I hope we can find the error soon :)

<!-- gh-comment-id:282563763 --> @spacehuhn commented on GitHub (Feb 26, 2017): @whyisthisusernamealreadytaken have you tried out the testing branch? https://github.com/spacehuhn/esp8266_deauther/tree/testing I added a lot of debug infos. You just need to set `debug = true` in the esp8266_deauther.ino file. Maybe this helps a bit. And thank you for your help so far! I hope we can find the error soon :)
Author
Owner

@labraloutre commented on GitHub (Feb 26, 2017):

Hi @spacehuhn
I just tried with the testing branch, and the symtoms are the same (timeout and no data on the client web page)
Strangely, I see a correct log in the serial monitor
Here's a link to my log after a fresh reboot

http://pastebin.com/hpfSQNEE

Thanks for your help

<!-- gh-comment-id:282567309 --> @labraloutre commented on GitHub (Feb 26, 2017): Hi @spacehuhn I just tried with the testing branch, and the symtoms are the same (timeout and no data on the client web page) Strangely, I see a correct log in the serial monitor Here's a link to my log after a fresh reboot http://pastebin.com/hpfSQNEE Thanks for your help
Author
Owner

@spacehuhn commented on GitHub (Feb 26, 2017):

Thanks!
Can you repeat that and paste the log again? I just updated a few things and after the scan it should now print out the json string to the serial monitor.

<!-- gh-comment-id:282571578 --> @spacehuhn commented on GitHub (Feb 26, 2017): Thanks! Can you repeat that and paste the log again? I just updated a few things and after the scan it should now print out the json string to the serial monitor.
Author
Owner

@labraloutre commented on GitHub (Feb 26, 2017):

Here it is
This time, esp crashed.

http://pastebin.com/Xi7t2hrF

Hope this helps

<!-- gh-comment-id:282573568 --> @labraloutre commented on GitHub (Feb 26, 2017): Here it is This time, esp crashed. http://pastebin.com/Xi7t2hrF Hope this helps
Author
Owner

@tobozo commented on GitHub (Feb 26, 2017):

I can reproduce the problem too on the testing branch.

I've added Serial.print statements to the json loop in APScan::getResults() and it seems to crash randomly, sometimes in the middle of serial.print()ing a valid word, does it mean it's a not a problem with the getters?

Speculation: maybe dealing with HTTP requests while the in scan mode is what makes it crash ?

<!-- gh-comment-id:282574579 --> @tobozo commented on GitHub (Feb 26, 2017): I can reproduce the problem too on the testing branch. I've added Serial.print statements to the json loop in APScan::getResults() and it seems to crash randomly, sometimes in the middle of serial.print()ing a valid word, does it mean it's a not a problem with the getters? Speculation: maybe dealing with HTTP requests while the in scan mode is what makes it crash ?
Author
Owner

@spacehuhn commented on GitHub (Feb 26, 2017):

Exception (28) means LoadProhibitedCause:
https://github.com/esp8266/Arduino/blob/master/doc/exception_causes.md

A load referenced a page mapped with an attribute that does not permit loads

I got the same error before when I made a mistake and the generated string was to big and let it crash when printing or sending it.
@labraloutre I see in your log that you have a lot of WiFi networks nearby, maybe you can try to reduce the list size. Go to APScan.h and set maxResults = 10 (3rd line).

<!-- gh-comment-id:282578246 --> @spacehuhn commented on GitHub (Feb 26, 2017): `Exception (28)` means `LoadProhibitedCause`: https://github.com/esp8266/Arduino/blob/master/doc/exception_causes.md > A load referenced a page mapped with an attribute that does not permit loads I got the same error before when I made a mistake and the generated string was to big and let it crash when printing or sending it. @labraloutre I see in your log that you have a lot of WiFi networks nearby, maybe you can try to reduce the list size. Go to APScan.h and set `maxResults = 10` (3rd line).
Author
Owner

@labraloutre commented on GitHub (Feb 26, 2017):

@spacehuhn I guess you found the problem !
I've tried with 10 and worked well, seems ok too with 20, and problems arise if I use 30 as maxResults.

So far so good.

BTW I used the same value for MaxResults in ClientScan.h

<!-- gh-comment-id:282581959 --> @labraloutre commented on GitHub (Feb 26, 2017): @spacehuhn I guess you found the problem ! I've tried with 10 and worked well, seems ok too with 20, and problems arise if I use 30 as maxResults. So far so good. BTW I used the same value for MaxResults in ClientScan.h
Author
Owner

@spacehuhn commented on GitHub (Feb 26, 2017):

Great! Finally some progress on this.
I updated the testing branch and made the json string much smaller and reduced the max results to 40.

<!-- gh-comment-id:282592553 --> @spacehuhn commented on GitHub (Feb 26, 2017): Great! Finally some progress on this. I updated the testing branch and made the json string much smaller and reduced the max results to 40.
Author
Owner

@Ro-M commented on GitHub (Feb 26, 2017):

The json serializer creates a faulty json whenever an ssid contains a double quote ("). This leads to 0 scan results. Note that the creation of the json itself does not fail (-> no obvious crash).

Escaping the double quotes from ssid names should fix the problem. Maybe this is the reason why some of you cannot see any results.

<!-- gh-comment-id:282595308 --> @Ro-M commented on GitHub (Feb 26, 2017): The json serializer creates a faulty json whenever an ssid contains a double quote ("). This leads to 0 scan results. Note that the creation of the json itself does not fail (-> no obvious crash). Escaping the double quotes from ssid names should fix the problem. Maybe this is the reason why some of you cannot see any results.
Author
Owner

@spacehuhn commented on GitHub (Feb 27, 2017):

Thanks. I already fixed that.

I get the same error when an AP has a quotes (") in its SSID because then the generated JSON string is invalid. I'll fix that in the next update!

<!-- gh-comment-id:282662226 --> @spacehuhn commented on GitHub (Feb 27, 2017): Thanks. I already fixed that. > I get the same error when an AP has a quotes (") in its SSID because then the generated JSON string is invalid. I'll fix that in the next update!
Author
Owner

@jobr97 commented on GitHub (Feb 27, 2017):

https://goo.gl/os8Wme
Error Log with yesterday's version on the testing branch

<!-- gh-comment-id:282688387 --> @jobr97 commented on GitHub (Feb 27, 2017): https://goo.gl/os8Wme Error Log with yesterday's version on the testing branch
Author
Owner

@spacehuhn commented on GitHub (Feb 27, 2017):

Yeah looks like that's really the problem, too much SSIDs and the JSON string gets to big.
I updated the testing branch right now. Please test and report if works now :)

<!-- gh-comment-id:282698740 --> @spacehuhn commented on GitHub (Feb 27, 2017): Yeah looks like that's really the problem, too much SSIDs and the JSON string gets to big. I updated the testing branch right now. Please test and report if works now :)
Author
Owner

@roundpizza commented on GitHub (Mar 2, 2017):

Hey spacehuhn,

Loving this tool! Having some trouble getting it to work on mobile. Just tried the testing branch with my iPhone 6S (Safari + Chrome + Firefox), and I'm having the same problem as everyone else. Works perfectly fine on my Mid-2012 MacBook Pro, but connecting with my iPhone causes the AP scan to be stuck on "scanning..". I suspect this still has to do with the interface and not the backend - as the settings page shows up blank on the iPhone as opposed to the MacBook where it has information filled in upon opening. Attached screenshots from my iPhone.

photo 2017-03-01 8 03 01 pm
photo 2017-03-01 8 03 04 pm

UPDATE: Looks like the iPhone doesn't trigger the AP scan, debugged with the serial monitor and I get the following with an iPhone:

starting...
starting WiFi AP
SSID: pwned
Password: deauther
generating Macs...done

As opposed to what I get with the MacBook:

starting...
starting WiFi AP
SSID: pwned
Password: deauther
generating Macs...done
getting AP scan result JSON done
starting AP scan...
MAC - Ch - RSSI - Encrypt. - SSID
:9a::9c:66:** - 6 - -89 - WPA2 - *********
:32::54:c8:** - 6 - -71 - WPA2 - ********
:8d::61:93:** - 11 - -82 - WPA2 - *********
scan done

<!-- gh-comment-id:283550462 --> @roundpizza commented on GitHub (Mar 2, 2017): Hey spacehuhn, Loving this tool! Having some trouble getting it to work on mobile. Just tried the testing branch with my iPhone 6S (Safari + Chrome + Firefox), and I'm having the same problem as everyone else. Works perfectly fine on my Mid-2012 MacBook Pro, but connecting with my iPhone causes the AP scan to be stuck on "scanning..". I suspect this still has to do with the interface and not the backend - as the settings page shows up blank on the iPhone as opposed to the MacBook where it has information filled in upon opening. Attached screenshots from my iPhone. ![photo 2017-03-01 8 03 01 pm](https://cloud.githubusercontent.com/assets/26130563/23492633/6bfbecaa-feba-11e6-9531-accece2c0607.png) ![photo 2017-03-01 8 03 04 pm](https://cloud.githubusercontent.com/assets/26130563/23492634/6bfc6b08-feba-11e6-95c8-32175c733dfc.png) UPDATE: Looks like the iPhone doesn't trigger the AP scan, debugged with the serial monitor and I get the following with an iPhone: starting... starting WiFi AP SSID: pwned Password: deauther generating Macs...done As opposed to what I get with the MacBook: starting... starting WiFi AP SSID: pwned Password: deauther generating Macs...done getting AP scan result JSON done starting AP scan... MAC - Ch - RSSI - Encrypt. - SSID **:9a:**:9c:66:** - 6 - -89 - WPA2 - ********* **:32:**:54:c8:** - 6 - -71 - WPA2 - ******** **:8d:**:61:93:** - 11 - -82 - WPA2 - ********* scan done
Author
Owner

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

I've found a way to get a full APScan list (i.e. setting maxAPScanResults to 120 in a busy area) without having the ESP to crash, but this requires som tuning.

The crash can be avoided by sending the collected information separately for every acces point found in the scan.

If APScan.json returns the ID's of the scan results (instead of just "true"), the client can use theses ID's to start polling APScanResults.json?ID=xx for each access point and the ESP will never encounter the string overflow problem.

<!-- gh-comment-id:284140210 --> @tobozo commented on GitHub (Mar 4, 2017): I've found a way to get a full APScan list (i.e. setting maxAPScanResults to 120 in a busy area) without having the ESP to crash, but this requires som tuning. The crash can be avoided by sending the collected information separately for every acces point found in the scan. If APScan.json returns the ID's of the scan results (instead of just "true"), the client can use theses ID's to start polling APScanResults.json?ID=xx for each access point and the ESP will never encounter the string overflow problem.
Author
Owner

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

ya that's true I thought about the same. Can you make a PR if you have it working?

<!-- gh-comment-id:284140334 --> @spacehuhn commented on GitHub (Mar 4, 2017): ya that's true I thought about the same. Can you make a PR if you have it working?
Author
Owner

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

I can start by making a PR to add the String APScan::getResults(int i) and modify sendAPResults() to implement the server.hasArg("apid") case

<!-- gh-comment-id:284145066 --> @tobozo commented on GitHub (Mar 4, 2017): I can start by making a PR to add the `String APScan::getResults(int i)` and modify `sendAPResults()` to implement the `server.hasArg("apid")` case
Author
Owner

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

#74

<!-- gh-comment-id:284148915 --> @tobozo commented on GitHub (Mar 4, 2017): #74
Author
Owner

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

Hi, I am having the same issue. What is weird, is that if I upload the Arduino sketch I can use my iPhone 7 to hit 192.168.4.1 and it scans fine. However, if I then do something, stop it and try again, I just get stuck in scanning and it wont work again! Ive tried different browsers and I`ve tried rebooting - still is dead after the first initial working run!

<!-- gh-comment-id:284269507 --> @craynerd commented on GitHub (Mar 5, 2017): Hi, I am having the same issue. What is weird, is that if I upload the Arduino sketch I can use my iPhone 7 to hit 192.168.4.1 and it scans fine. However, if I then do something, stop it and try again, I just get stuck in scanning and it won`t work again! I`ve tried different browsers and I`ve tried rebooting - still is dead after the first initial working run!
Author
Owner

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

Does someone still have this porblem with the current version?

<!-- gh-comment-id:285881639 --> @spacehuhn commented on GitHub (Mar 11, 2017): Does someone still have this porblem with the current version?
Author
Owner

@ghost commented on GitHub (Mar 11, 2017):

Nope thanks for fixing :)

<!-- gh-comment-id:285882222 --> @ghost commented on GitHub (Mar 11, 2017): Nope thanks for fixing :)
Author
Owner

@gegtor commented on GitHub (Mar 12, 2017):

Hi!
I have flashed my nodemcu with deauther 1.1 via nodemcu-firmware-flasher

It works fine on my computer (OS X 10.11.6 / Safari 10.0.3)

But on my mobile devices i can't scan, save settings etc

Only top buttons that point to .html file work APs, Clients, Attack, etc

<!-- gh-comment-id:285979554 --> @gegtor commented on GitHub (Mar 12, 2017): Hi! I have flashed my nodemcu with deauther 1.1 via nodemcu-firmware-flasher It works fine on my computer (OS X 10.11.6 / Safari 10.0.3) But on my mobile devices i can't scan, save settings etc Only top buttons that point to .html file work APs, Clients, Attack, etc
Author
Owner

@N0vaPixel commented on GitHub (Mar 12, 2017):

Hi @gegtor !
Sounds like a javascript issue.
Can you specify which phone and browser are you using ?

<!-- gh-comment-id:285982106 --> @N0vaPixel commented on GitHub (Mar 12, 2017): Hi @gegtor ! Sounds like a javascript issue. Can you specify which phone and browser are you using ?
Author
Owner

@gegtor commented on GitHub (Mar 12, 2017):

Mobile devices are both running IOS and Safari
Device#1 - IOS 5
Device#2 - IOS 8

I have tried chrome on device#2 and that had no effect :/

<!-- gh-comment-id:285985992 --> @gegtor commented on GitHub (Mar 12, 2017): Mobile devices are both running IOS and Safari Device#1 - IOS 5 Device#2 - IOS 8 I have tried chrome on device#2 and that had no effect :/
Author
Owner

@N0vaPixel commented on GitHub (Mar 13, 2017):

Try the testing branch, i've made some changes on javascript files.
Can you have any kind of web debugger on ios ?

<!-- gh-comment-id:285990140 --> @N0vaPixel commented on GitHub (Mar 13, 2017): Try the testing branch, i've made some changes on javascript files. Can you have any kind of web debugger on ios ?
Author
Owner

@gegtor commented on GitHub (Mar 13, 2017):

Sure
Here you are:
alt text

<!-- gh-comment-id:285990969 --> @gegtor commented on GitHub (Mar 13, 2017): Sure Here you are: ![alt text](http://i.imgur.com/1Xyr7LV.png "JS debug on IOS")
Author
Owner

@N0vaPixel commented on GitHub (Mar 13, 2017):

Can you view the full source of this page ? It seems to be truncated because your esp is running out of memory.

<!-- gh-comment-id:285992784 --> @N0vaPixel commented on GitHub (Mar 13, 2017): Can you view the full source of this page ? It seems to be truncated because your esp is running out of memory.
Author
Owner

@gegtor commented on GitHub (Mar 13, 2017):

Well i can't open source on ipad because Safari doesn't have that function on IOS

But i can view source fine on my mac
zrzut ekranu 2017-03-13 o 02 01 41
zrzut ekranu 2017-03-13 o 02 02 00

<!-- gh-comment-id:285993349 --> @gegtor commented on GitHub (Mar 13, 2017): Well i can't open source on ipad because Safari doesn't have that function on IOS But i can view source fine on my mac ![zrzut ekranu 2017-03-13 o 02 01 41](https://cloud.githubusercontent.com/assets/10978723/23838019/49b05d68-0791-11e7-8f16-89ca292482ec.png) ![zrzut ekranu 2017-03-13 o 02 02 00](https://cloud.githubusercontent.com/assets/10978723/23838020/4a070334-0791-11e7-8c9b-5a6bfe3e665b.png)
Author
Owner

@N0vaPixel commented on GitHub (Mar 13, 2017):

This is not the current functions.js file, this one is incompatible with ios < 10.
You are using a wrong version of esp8266_deauther or your browser is loading a cached version of functions.js
Try to clear your cache

<!-- gh-comment-id:285999933 --> @N0vaPixel commented on GitHub (Mar 13, 2017): This is not the current functions.js file, this one is incompatible with ios < 10. You are using a wrong version of esp8266_deauther or your browser is loading a cached version of functions.js Try to clear your cache
Author
Owner

@gegtor commented on GitHub (Mar 13, 2017):

Clearing cash had no effect

I will try test branch later today

<!-- gh-comment-id:286147243 --> @gegtor commented on GitHub (Mar 13, 2017): Clearing cash had no effect I will try test branch later today
Author
Owner

@N0vaPixel commented on GitHub (Mar 13, 2017):

The javascript code in your screenshot is a part of an old version of the esp8266_deauther. This bug is fixed since few days.

<!-- gh-comment-id:286150145 --> @N0vaPixel commented on GitHub (Mar 13, 2017): The javascript code in your screenshot is a part of an old version of the esp8266_deauther. This bug is fixed since few days.
Author
Owner

@gegtor commented on GitHub (Mar 13, 2017):

Can i have a link to the latest source code that i can compile in Arduino IDE?

<!-- gh-comment-id:286151031 --> @gegtor commented on GitHub (Mar 13, 2017): Can i have a link to the latest source code that i can compile in Arduino IDE?
Author
Owner

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

Testing Branch

https://github.com/spacehuhn/esp8266_deauther/tree/testing

<!-- gh-comment-id:286155703 --> @poslogic commented on GitHub (Mar 13, 2017): Testing Branch https://github.com/spacehuhn/esp8266_deauther/tree/testing
Author
Owner

@gegtor commented on GitHub (Mar 13, 2017):

It works!!!

Test branch code works really well on all my mobile devices :) Good Job fixing that

<!-- gh-comment-id:286157767 --> @gegtor commented on GitHub (Mar 13, 2017): It works!!! Test branch code works really well on all my mobile devices :) Good Job fixing that
Author
Owner

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

great! :)

<!-- gh-comment-id:286158502 --> @spacehuhn commented on GitHub (Mar 13, 2017): great! :)
Author
Owner

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

oh I didn't want to close it. Anyway I think it's really fixed now for everyone, isn't it?

<!-- gh-comment-id:286158880 --> @spacehuhn commented on GitHub (Mar 13, 2017): oh I didn't want to close it. Anyway I think it's really fixed now for everyone, isn't it?
Author
Owner

@gegtor commented on GitHub (Mar 13, 2017):

90% yes

<!-- gh-comment-id:286159054 --> @gegtor commented on GitHub (Mar 13, 2017): 90% yes
Author
Owner

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

APScan still needs to return the full AP list (currently limited to 30). Also today my own wifi box doesn't even appear in the list even though it's got the biggest RSSI, I can see it on my mobile, tablet, PC, but it has become invisible to the ESP8266.

If it's okay I'll open a new issue asking for a "Full APScan Async List", the getScanResult(id) only needs a webServer callback and JavaScript can take care of the rest.

<!-- gh-comment-id:286197229 --> @tobozo commented on GitHub (Mar 13, 2017): APScan still needs to return the full AP list (currently limited to 30). Also today my own wifi box doesn't even appear in the list even though it's got the biggest RSSI, I can see it on my mobile, tablet, PC, but it has become invisible to the ESP8266. If it's okay I'll open a new issue asking for a "Full APScan Async List", the getScanResult(id) only needs a webServer callback and JavaScript can take care of the rest.
Author
Owner

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

yeah I know, hadn't time to do that yet. You can open up an issue 👍

<!-- gh-comment-id:286203361 --> @spacehuhn commented on GitHub (Mar 13, 2017): yeah I know, hadn't time to do that yet. You can open up an issue 👍
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#5
No description provided.