Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ahmetozer/esp8266-router
Router system for esp8266
https://github.com/ahmetozer/esp8266-router
esp8266 esp8266-arduino hotspot linux-network wifi wifi-extender wifi-hotspot wifi-network
Last synced: 3 months ago
JSON representation
Router system for esp8266
- Host: GitHub
- URL: https://github.com/ahmetozer/esp8266-router
- Owner: ahmetozer
- License: mit
- Created: 2020-04-21T19:01:03.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-07T12:35:37.000Z (about 4 years ago)
- Last Synced: 2023-03-10T18:38:47.008Z (almost 2 years ago)
- Topics: esp8266, esp8266-arduino, hotspot, linux-network, wifi, wifi-extender, wifi-hotspot, wifi-network
- Language: C++
- Homepage: https://esp8266-router.ahmetozer.org
- Size: 28.3 KB
- Stars: 14
- Watchers: 4
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Extend Wifi Range With ESP8266 (NodeMCU)
This project goal is extending WiFi range with ESP8266.
Currently It is only supports IPv4 .## Configuration
This system is requires Two way Configuration.
One of them is your router other one is ESP8266 (NodeMCU).### ESP8266 Side
- Set your Home router WiFi SSID and password
```c++
const char* SSID = "ahmetozer.org";
const char* PASSWORD = "MyhomeNetworkPass";
```- Set your ESP Wifi name, password and channel
```c++
const char* SOFT_AP_SSID = "ahmet.engineer";
const char* SOFT_AP_PASSWORD = password;
int Wifi_SoftAP_Channel = 11;
```- Set your sub local network on ESP8266
.**Note:** Each ESP use /29 block but requires /24 block.```c++
IPAddress SOFT_AP_Local_IP(10,0,1,1);
IPAddress SOFT_AP_Gateway(10,0,1,1);
IPAddress SOFT_AP_Subnet(255,255,255,0);
```### Home Side
1. Firstly compile and flash firmware to your NodeMCU.
2. Bootup your ESP8266.
3. Find ESP8266 IPAddress on your router.
4. Go to Advanced Routing settings.
5. Add esp network to router.## Performance Tunings
- Change channel 9,10 or 11 on your Router.
- Select Same Wifi channel on your ESP8266.
it is delegated with `Wifi_SoftAP_Channel` variable.
- Change lwIP library version to "V2 IPv6 High Bandwidth" or "V2 High Bandwidth".## Without Configuring Home Side - Update
Nat is Disabled by default for better performance but if you don't have chance to edit route table on router or having issue, you can enable NAT on ESP8266.
```c++
#define NAT_Enabled true
```**NOTE**: You have to select lwIP library version to "V2 High Bandwidth" for enabling nat. Other wise nat will not work.
**Serial output is disabled by default. To enable set to true `SERIAL_Enabled true`**
## [Source Code - Github](https://github.com/ahmetozer/esp8266-router) | [BLOG](https://ahmetozer.org/ESP8266-Wifi-Range-Extender.html)