Fixed typo

This commit is contained in:
Stefan Kremser
2017-04-03 22:16:11 +02:00
committed by GitHub
parent c5bcc3f67f
commit cff3e13ecc

View File

@@ -72,6 +72,7 @@ You have 2 choices here. Uploading the bin files is easier but not as good for d
### Uploading the bin files
**Note:** the 512kb version won't have the full MAC vendor list.
The NodeMCU and every other board which uses the ESP-12 has 4mb flash on it.
**0** Download the current release from [here](https://github.com/spacehuhn/esp8266_deauther/releases)
@@ -110,22 +111,21 @@ Make sure you select the right com-port, the right upload size of your ESP8266 a
**10** Open `user_interface.h` with a text editor
**11** Scroll down and before `#endif` add following lines:
```c++
typedef void (*freedom_outside_cb_t)(uint8 status);
int wifi_register_send_pkt_freedom_cb(freedom_outside_cb_t cb);
void wifi_unregister_send_pkt_freedom_cb(void);
int wifi_send_pkt_freedom(uint8 *buf, int len, bool sys_seq);
```
`typedef void (*freedom_outside_cb_t)(uint8 status);`
`int wifi_register_send_pkt_freedom_cb(freedom_outside_cb_t cb);`
`void wifi_unregister_send_pkt_freedom_cb(void);`
`int wifi_send_pkt_freedom(uint8 *buf, int len, bool sys_seq);`
![screenshot of notepad, copy paste the right code](https://raw.githubusercontent.com/spacehuhn/esp8266_deauther/master/screenshots/notepad_screenshot_1.JPG)
**don't forget to save!**
**12** Go to the SDK_fix folder of this project
**13** Copy ESP8266WiFi.cpp and ESP8266WiFi.h
**13** Copy ESP8266Wi-Fi.cpp and ESP8266Wi-Fi.h
**14** Past these files here `packages` > `esp8266` > `hardware` > `esp8266` > `2.0.0` > `libraries` > `ESP8266WiFi` > `src`
**14** Past these files here `packages` > `esp8266` > `hardware` > `esp8266` > `2.0.0` > `libraries` > `ESP8266Wi-Fi` > `src`
**15** Open `esp8266_deauther` > `esp8266_deauther.ino` in Arduino
@@ -189,7 +189,6 @@ Try out switching the browser or open the website with another device.
If you see 0 pkts/s on the website you've made a mistake. Check if you have followed the the installation steps correctly and that the right SDK installed, it must be version 2.0.0!
If it can send packets but your target don't loose its connection then the Wi-Fi router uses [802.11w](#how-to-protect-against-it) and it's protected against such attacks or they communicate via 5 GHz Wi-Fi, which the ESP8266 doesn't support.
### If you have other questions or problems with the ESP8266 you can also check out the official [community forum](http://www.esp8266.com/).