SpacehuhnTech / esp8266_deauther

Affordable WiFi hacking platform for testing and learning
http://deauther.com
Other
13.34k stars 2.57k forks source link

Built-in LED #87

Closed joneroy closed 7 years ago

joneroy commented 7 years ago

Built-in LED not working when attack is running i'm using testing branch

N0vaPixel commented 7 years ago

From pull request

Using built-in LED when an attack is running. (+ options)

Did you enabled it using the setting web page ?

ghost commented 7 years ago

Yes of course

N0vaPixel commented 7 years ago

This is not happening to me after a fresh install from the testing branch, so try to reset your settings first

N0vaPixel commented 7 years ago

Which board are you using ? Edit: Make sure that your boad have a built-in LED. Tested on NodeMCU V2

joneroy commented 7 years ago

@N0vaPixel

Did you enabled it using the setting web page ?

Yes

This is not happening to me after a fresh install from the testing branch, so try to reset your settings first

i'm fresh install from the testing branch also use reset settings

Which board are you using ?

Tested on NodeMcu board and wemos D1 mini

N0vaPixel commented 7 years ago

@joneroy @H1ghTech Can you past here the output of your serial monitor when you start an attack ?

joneroy commented 7 years ago

@N0vaPixel

http://pastebin.com/9P2dqwt8

N0vaPixel commented 7 years ago

Past big datas here: http://pastebin.com/

Mmmh, interesting.... The LED function was called. Make a new sketch and update the firmware of your board with this code: http://pastebin.com/Y9cJt1z8

This is a blink test with the built-in LED

joneroy commented 7 years ago

@N0vaPixel

Blink test with the built-in LED

LED Blink Not Working

when i'm uploading the sketch it's built-in LED Blink

N0vaPixel commented 7 years ago

Make sure you have a LED on your board, because she seems to be death 💀

joneroy commented 7 years ago

@N0vaPixel

When i'm uploading the sketch built-in LED Blink

joneroy commented 7 years ago

@N0vaPixel

It's not my prob @H1ghTech

N0vaPixel commented 7 years ago

LED Blink Not Working

When i'm uploading the sketch it's built-in LED Blink

It's difficule for me to understand you

joneroy commented 7 years ago

LED Blink Not Working after done upload sketch

When i'm uploading the sketch built-in LED Blink

joneroy commented 7 years ago

@N0vaPixel

nodemcu_esp8266_001

This is not IN-BUILD LED

N0vaPixel commented 7 years ago

If this LED blink during the upload of a sketch, this is not the built-in LED. Look at the arduino uno, there is 3 LEDs : TX, RX and BUILT-IN LED (connected to i/o 13)

EDIT: This is a lolin board, i use the amica one (builded with a LED)

joneroy commented 7 years ago

@N0vaPixel

Thank You for solve this issue. Yes I'm using lolin board.

N0vaPixel commented 7 years ago

@joneroy Sorry but you cannot use this feature with this board, i think you don't have a built-in LED.

joneroy commented 7 years ago

@N0vaPixel

You right.

This LED Blink feature with RX LED it's possible

N0vaPixel commented 7 years ago

Wow, viewed some documentation, the LED of the esp is connected to GPIO2 I think you don't have a called "built-in led", but you can use the esp one.

I'll commit this change, the program will use the LED of the esp instead of the one on the board to increase compatibility.

nisc3 commented 7 years ago

This led should blink right? http://i.imgur.com/fehC28h.jpg

joneroy commented 7 years ago

@nisc3

This led should blink right?

This is RX LED not on board BUILT-IN LED

With on board BUILT-IN LED

1.nodemcu amica

nodemcu_esp8266_amica_001_lowres

Without on board BUILT-IN LED

2.nodemcu lolin

nodemcu_esp8266_001

3.wemos D1 mini

wemos-d1-mini-dessus

nisc3 commented 7 years ago

But RX LED on my board is not blinking

joneroy commented 7 years ago

@nisc3

Read full conversation i think you found somthing helpful

spacehuhn commented 7 years ago

Works on my new nodeMCU! (it has a LED yey! 🙌 ) But not on the "nodeMCU v3 lolin board", also not on my ESP-01 and the wemos d1 mini pro.

N0vaPixel commented 7 years ago

Since many boards dind't have a built-in LED, i'll update the software to use the ESP one, connected to gpio 2, and removed the incompatible (in most cases) constant BUILTIN_LED. Thank you for your research

94

joneroy commented 7 years ago

@N0vaPixel

Most of the esp8266 board not available "BUILTIN_LED" feature is good but board compatibility main issue Thank you.

joneroy commented 7 years ago

@N0vaPixel

Now LED Working!!

It's not blink but working.

Thank You

N0vaPixel commented 7 years ago

@joneroy I've never designed the program to make the LED blink

joneroy commented 7 years ago

@N0vaPixel

No Problem LED Working is only matter now everyone use this feature!

N0vaPixel commented 7 years ago

Perfect ! Thank you for your help 💪

joneroy commented 7 years ago

@N0vaPixel

Sorry i mistakenly press Reopen issue button.

anudeepND commented 7 years ago

An option to choose the behaviour of LED like blinking or constant would be great.

N0vaPixel commented 7 years ago

@anudeepND Thank you for helping us. But sorry it's useless. Memory is limited and we can't add extra bytes for funny features

anudeepND commented 7 years ago

Ok I understand

anudeepND commented 7 years ago

@N0vaPixel did you tried MAC changer? All my ESPs are busy, so if possible try it out