[GH-ISSUE #133] Disconnects upon deauth #94

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

Originally created by @Clon3d on GitHub (Mar 19, 2017).
Original GitHub issue: https://github.com/SpacehuhnTech/esp8266_deauther/issues/133

Please read issues.md
and the readme
before posting a new issue. Thanks!

Hello, using version 1.1 bin. whenever I try to death it says starting then loses all connection causing me to have to do a full reboot and does not work against the wifi networks. I tried version 2.0 but will not compile correctly following your exact instructions. please reply or PM me for details. thanks

Originally created by @Clon3d on GitHub (Mar 19, 2017). Original GitHub issue: https://github.com/SpacehuhnTech/esp8266_deauther/issues/133 Please read [issues.md](https://github.com/spacehuhn/esp8266_deauther/blob/master/.github/issues.md) and the [readme](https://github.com/spacehuhn/esp8266_deauther/blob/master/README.md) before posting a new issue. Thanks! Hello, using version 1.1 bin. whenever I try to death it says starting then loses all connection causing me to have to do a full reboot and does not work against the wifi networks. I tried version 2.0 but will not compile correctly following your exact instructions. please reply or PM me for details. thanks
kerem 2026-02-27 23:23:00 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@Niklaus1911 commented on GitHub (Mar 21, 2017):

i have the same issue...

<!-- gh-comment-id:288136751 --> @Niklaus1911 commented on GitHub (Mar 21, 2017): i have the same issue...
Author
Owner

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

What does it say in the serial monitor?

I tried version 2.0 but will not compile correctly following your exact instructions.

You need the SDK version 2.0.0. If you get an error than that's an other issue.

<!-- gh-comment-id:288333837 --> @spacehuhn commented on GitHub (Mar 22, 2017): What does it say in the serial monitor? > I tried version 2.0 but will not compile correctly following your exact instructions. You need the SDK version 2.0.0. If you get an error than that's an other issue.
Author
Owner

@RMOA789 commented on GitHub (Mar 23, 2017):

Same issue. For some APs it's working well without disconnecting, but for other APs, I get an unavailable webpage. Already tried with different smartphones.

Flashing with the bin file from the git.

<!-- gh-comment-id:288847885 --> @RMOA789 commented on GitHub (Mar 23, 2017): Same issue. For some APs it's working well without disconnecting, but for other APs, I get an unavailable webpage. Already tried with different smartphones. Flashing with the bin file from the git.
Author
Owner

@elliot12 commented on GitHub (Mar 31, 2017):

Also the same issue. I can deauth an entire network but when scanning for devices on the network to deauth individually the esp8266 restarts. Other than that though, its working 100%. Thanks for the great work @spacehuhn 👍

<!-- gh-comment-id:290636705 --> @elliot12 commented on GitHub (Mar 31, 2017): Also the same issue. I can deauth an entire network but when scanning for devices on the network to deauth individually the esp8266 restarts. Other than that though, its working 100%. Thanks for the great work @spacehuhn 👍
Author
Owner

@jLynx commented on GitHub (Mar 31, 2017):

I also have this issue

Running Android 7.1.1

<!-- gh-comment-id:290652264 --> @jLynx commented on GitHub (Mar 31, 2017): I also have this issue Running Android 7.1.1
Author
Owner

@jLynx commented on GitHub (Mar 31, 2017):

I have noticed, if im connected to the deauther on my computer it works fine, but if I try it on my phone it does exactly what the problem describes. But im not sure, it could just be a coincidence

<!-- gh-comment-id:290652541 --> @jLynx commented on GitHub (Mar 31, 2017): I have noticed, if im connected to the deauther on my computer it works fine, but if I try it on my phone it does exactly what the problem describes. But im not sure, it could just be a coincidence
Author
Owner

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

but when scanning for devices on the network to deauth individually the esp8266 restarts.

Your problem is that it's getting disconnected when scanning for clients?

<!-- gh-comment-id:290663391 --> @spacehuhn commented on GitHub (Mar 31, 2017): > but when scanning for devices on the network to deauth individually the esp8266 restarts. Your problem is that it's getting disconnected when scanning for clients?
Author
Owner

@elliot12 commented on GitHub (Mar 31, 2017):

Correct. It won't let me see individual devices on a given AP. It just
disconnects and comes on again about 10-15 seconds after but still doesn't
show me the clients. I used the bin file btw.

On 31 Mar 2017 10:22, "Stefan Kremser" notifications@github.com wrote:

but when scanning for devices on the network to deauth individually the
esp8266 restarts.

Your problem is that it's getting disconnected when scanning for clients?


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/spacehuhn/esp8266_deauther/issues/133#issuecomment-290663391,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZkccQxkZziZu9SYciZRWy9Yp-gUQILmks5rrMW9gaJpZM4Mh1Y2
.

<!-- gh-comment-id:290704916 --> @elliot12 commented on GitHub (Mar 31, 2017): Correct. It won't let me see individual devices on a given AP. It just disconnects and comes on again about 10-15 seconds after but still doesn't show me the clients. I used the bin file btw. On 31 Mar 2017 10:22, "Stefan Kremser" <notifications@github.com> wrote: > but when scanning for devices on the network to deauth individually the > esp8266 restarts. > > Your problem is that it's getting disconnected when scanning for clients? > > — > You are receiving this because you commented. > Reply to this email directly, view it on GitHub > <https://github.com/spacehuhn/esp8266_deauther/issues/133#issuecomment-290663391>, > or mute the thread > <https://github.com/notifications/unsubscribe-auth/AZkccQxkZziZu9SYciZRWy9Yp-gUQILmks5rrMW9gaJpZM4Mh1Y2> > . >
Author
Owner

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

It's normal that it disconnects, it has to do that in order to scan for devices.
To find devices they have to send packets while you are scanning, so make sure you generate some traffic in this network (by loading a site for example).
Also note that if your network has 2.4 and 5Ghz it will only find the devices which are using the 2.4Ghz connection.

<!-- gh-comment-id:290737521 --> @spacehuhn commented on GitHub (Mar 31, 2017): It's normal that it disconnects, it has to do that in order to scan for devices. To find devices they have to send packets while you are scanning, so make sure you generate some traffic in this network (by loading a site for example). Also note that if your network has 2.4 and 5Ghz it will only find the devices which are using the 2.4Ghz connection.
Author
Owner

@Fireflaker commented on GitHub (Mar 31, 2017):

Would it be possible to develop it based on ESP32? It is just as cheap and
has 2x 160MHz cores with both bluetooth and wifi. The dual core should make
coding a lot easier.
Stefan Kremser notifications@github.com于2017年3月31日 周五上午11:04写道:

It's normal that it disconnects, it has to do that in order to scan for
devices.
To find devices they have to send packets while you are scanning, so make
sure you generate some traffic in this network (by loading a site for
example).
Also note that if your network has 2.4 and 5Ghz it will only find the
devices which are using the 2.4Ghz connection.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/spacehuhn/esp8266_deauther/issues/133#issuecomment-290737521,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVn2Q0osPIL6sPkOhPwHg3LDIZAGwNrNks5rrRYVgaJpZM4Mh1Y2
.

<!-- gh-comment-id:290745260 --> @Fireflaker commented on GitHub (Mar 31, 2017): Would it be possible to develop it based on ESP32? It is just as cheap and has 2x 160MHz cores with both bluetooth and wifi. The dual core should make coding a lot easier. Stefan Kremser <notifications@github.com>于2017年3月31日 周五上午11:04写道: > It's normal that it disconnects, it has to do that in order to scan for > devices. > To find devices they have to send packets while you are scanning, so make > sure you generate some traffic in this network (by loading a site for > example). > Also note that if your network has 2.4 and 5Ghz it will only find the > devices which are using the 2.4Ghz connection. > > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub > <https://github.com/spacehuhn/esp8266_deauther/issues/133#issuecomment-290737521>, > or mute the thread > <https://github.com/notifications/unsubscribe-auth/AVn2Q0osPIL6sPkOhPwHg3LDIZAGwNrNks5rrRYVgaJpZM4Mh1Y2> > . >
Author
Owner

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

The ESP32 isn't able to inject packets, so no :(

<!-- gh-comment-id:290746264 --> @spacehuhn commented on GitHub (Mar 31, 2017): The ESP32 isn't able to inject packets, so no :(
Author
Owner

@jLynx commented on GitHub (Apr 2, 2017):

This is the problem I am having https://imgur.com/iSISaNa

It gets to starting then times out the page when it try to reload. But it does stay connected to the device, as per the WiFi icon in the notification bar. But I cannot access any page from it now until I reset the power

<!-- gh-comment-id:290968212 --> @jLynx commented on GitHub (Apr 2, 2017): This is the problem I am having https://imgur.com/iSISaNa It gets to starting then times out the page when it try to reload. But it does stay connected to the device, as per the WiFi icon in the notification bar. But I cannot access any page from it now until I reset the power
Author
Owner

@spacehuhn commented on GitHub (Apr 2, 2017):

Yeah... I still need the serial log from you guys.

<!-- gh-comment-id:290971151 --> @spacehuhn commented on GitHub (Apr 2, 2017): Yeah... I still need the serial log from you guys.
Author
Owner

@jLynx commented on GitHub (Apr 2, 2017):

@spacehuhn Oops sorry didn't see that message

Ok..typical... it works this time. Anyway here is my log https://pastebin.com/qWd5MFZw

On line 85 it finally shows the page again with 8pkts where normally it wouldn't get that far and timeout like I explained earlier

<!-- gh-comment-id:290971365 --> @jLynx commented on GitHub (Apr 2, 2017): @spacehuhn Oops sorry didn't see that message Ok..typical... it works this time. Anyway here is my log https://pastebin.com/qWd5MFZw On line 85 it finally shows the page again with 8pkts where normally it wouldn't get that far and timeout like I explained earlier
Author
Owner

@spacehuhn commented on GitHub (Apr 2, 2017):

thank you. The device isn't crashing and doesn't throw any other error.

<!-- gh-comment-id:290971741 --> @spacehuhn commented on GitHub (Apr 2, 2017): thank you. The device isn't crashing and doesn't throw any other error.
Author
Owner

@jLynx commented on GitHub (Apr 2, 2017):

I have tested it 2 other times since that post and both have timed out, no error messages or anything out of the ordinary.

<!-- gh-comment-id:290971810 --> @jLynx commented on GitHub (Apr 2, 2017): I have tested it 2 other times since that post and both have timed out, no error messages or anything out of the ordinary.
Author
Owner

@spacehuhn commented on GitHub (Apr 2, 2017):

Sorry I didn't want to close it! (stupid phones..)
Anyway...
can you access the website with another device?

<!-- gh-comment-id:290971833 --> @spacehuhn commented on GitHub (Apr 2, 2017): Sorry I didn't want to close it! (stupid phones..) Anyway... can you access the website with another device?
Author
Owner

@jLynx commented on GitHub (Apr 2, 2017):

Yes on my desktop I have no problems (So same test, phone cant connect once deauthing but desktop can). Just tried again and and it worked perfectly like it should and instantly started deauthing, where before in that log I sent it took at least 30 seconds or more before it started working (Website showing up anyway).

Its as if some thread is blocking the web server from working or something like that

<!-- gh-comment-id:290971900 --> @jLynx commented on GitHub (Apr 2, 2017): Yes on my desktop I have no problems (So same test, phone cant connect once deauthing but desktop can). Just tried again and and it worked perfectly like it should and instantly started deauthing, where before in that log I sent it took at least 30 seconds or more before it started working (Website showing up anyway). Its as if some thread is blocking the web server from working or something like that
Author
Owner

@spacehuhn commented on GitHub (Apr 2, 2017):

OK yes that's really weird. It's not like that the ESP8266 doesn't send the website or something, because then it also wouldn't work with your PC.

<!-- gh-comment-id:290972125 --> @spacehuhn commented on GitHub (Apr 2, 2017): OK yes that's really weird. It's not like that the ESP8266 doesn't send the website or something, because then it also wouldn't work with your PC.
Author
Owner

@jLynx commented on GitHub (Apr 2, 2017):

Could it be a way Android's Chrome handles the requests or something?

<!-- gh-comment-id:290972149 --> @jLynx commented on GitHub (Apr 2, 2017): Could it be a way Android's Chrome handles the requests or something?
Author
Owner

@jLynx commented on GitHub (Apr 2, 2017):

Ok it just happened again while logging, and there is no crashes just the constant running deauth attack message. no matter what I did on my phone I could not access it. I tried disconnecting and reconnecting and that didn't work, but on my desktop I connected to the point and I can see the attack still running and then stop it with no problems.

Now i'm getting timeout (took too long to respond) with a 504 error on my phone trying to load the site, but no errors in the logs in console

<!-- gh-comment-id:290972879 --> @jLynx commented on GitHub (Apr 2, 2017): Ok it just happened again while logging, and there is no crashes just the constant running deauth attack message. no matter what I did on my phone I could not access it. I tried disconnecting and reconnecting and that didn't work, but on my desktop I connected to the point and I can see the attack still running and then stop it with no problems. Now i'm getting timeout (took too long to respond) with a 504 error on my phone trying to load the site, but no errors in the logs in console
Author
Owner

@spacehuhn commented on GitHub (Apr 8, 2017):

I maybe found a solution.
Scan for the network you want to deauth. Look what channel it uses and then go to settings and set the channel to the same value.
Then restart your ESP8266 and try to deauth that network.

I shouldn't loose the connection then.

<!-- gh-comment-id:292705632 --> @spacehuhn commented on GitHub (Apr 8, 2017): I maybe found a solution. Scan for the network you want to deauth. Look what channel it uses and then go to settings and set the channel to the same value. Then restart your ESP8266 and try to deauth that network. I shouldn't loose the connection then.
Author
Owner

@jLynx commented on GitHub (Apr 10, 2017):

That seems to fix the problem! Thanks @spacehuhn

Now do you think it's possible to fix this in software or is it just a problem we will have to live with?

<!-- gh-comment-id:292847871 --> @jLynx commented on GitHub (Apr 10, 2017): That seems to fix the problem! Thanks @spacehuhn Now do you think it's possible to fix this in software or is it just a problem we will have to live with?
Author
Owner

@jLynx commented on GitHub (Apr 17, 2017):

@spacehuhn can this issue be closed now?

<!-- gh-comment-id:294392710 --> @jLynx commented on GitHub (Apr 17, 2017): @spacehuhn can this issue be closed now?
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#94
No description provided.