Wifi Hotspot with OpenWRT: Difference between revisions
| Line 1: | Line 1: | ||
== How to create a transparent Wifi Hotspot using OpenWRT with IP FIXED and new routers == | == How to create a transparent Wifi Hotspot using OpenWRT with IP FIXED and new routers == | ||
Example with a [https://openwrt.org/toh/cudy/wr3000s_v1 Cudy WR3000S v1] | Example with a [https://openwrt.org/toh/cudy/wr3000s_v1 Cudy WR3000S v1] | ||
Have to follow : | [[File:Cudy-wr3000s.webp|thumb]] | ||
* Define a fix IP 172.31.17.27 (for example) | |||
* desactivate DHCP on IPV4 and IPV6 | |||
* activate and configure wifi devices for 802.11ax/b/g/n Channel: 10 (2.457 GHz) choose a channel that is +/- free > set SSID typo vivendas11 | |||
* activate and configure wifi devices for 802.11ac/ax/n | |||
Channel: 36 (5.180 GHz) choose a channel that is +/- free > set SSID typo vivendas11_5G | |||
* configure the gateway and the DNS server as 172.31.17.1 | |||
* add wan port to the bridge to use it as a lan port | |||
'''Have to follow :''' | |||
* https://openwrt.org/docs/guide-user/network/wifi/wifiextenders/bridgedap | * https://openwrt.org/docs/guide-user/network/wifi/wifiextenders/bridgedap | ||
* Add the wan port to the bridge https://openwrt.org/docs/guide-user/network/wifi/wifiextenders/bridgedap#optionaladd_wan_port_to_the_lan_bridge | * Add the wan port to the bridge https://openwrt.org/docs/guide-user/network/wifi/wifiextenders/bridgedap#optionaladd_wan_port_to_the_lan_bridge | ||
Revision as of 22:01, 5 December 2026
How to create a transparent Wifi Hotspot using OpenWRT with IP FIXED and new routers
Example with a Cudy WR3000S v1

- Define a fix IP 172.31.17.27 (for example)
- desactivate DHCP on IPV4 and IPV6
- activate and configure wifi devices for 802.11ax/b/g/n Channel: 10 (2.457 GHz) choose a channel that is +/- free > set SSID typo vivendas11
- activate and configure wifi devices for 802.11ac/ax/n
Channel: 36 (5.180 GHz) choose a channel that is +/- free > set SSID typo vivendas11_5G
- configure the gateway and the DNS server as 172.31.17.1
- add wan port to the bridge to use it as a lan port
Have to follow :
- https://openwrt.org/docs/guide-user/network/wifi/wifiextenders/bridgedap
- Add the wan port to the bridge https://openwrt.org/docs/guide-user/network/wifi/wifiextenders/bridgedap#optionaladd_wan_port_to_the_lan_bridge
How to create a transparent Wifi Hotspot using OpenWRT with old routers
Using for example an old TP-Link 781 that doesn't have enough memory to install the web graphic (Luci) interface : that why after a reset (push the reset button for 10 second while the router is on), http://192.168.1.1 give a "connexion refused". It's possible to activate the wifi hotspot "OpenWrt" with the Wifi ON / OFF Button
And later,
opkg install luci
will fail with various problem (out of memory for example)
So we have to configure it threw ssh, to access it :
ssh -o HostKeyAlgorithms=+ssh-rsa root@192.168.1.1
There is no root password after a reset
Then we would like to configure it as a transparent router : it won't give an IP to the LAN, the IPS Box will take care of that, to do it, follow this configuration https://openwrt.org/docs/guide-user/network/wifi/bridgedap
Disabling dnsmasq disable DHCP on the lan ports
It worked and again lost many packets, so Switch to trash !
The exmple of the TL-WR841NDv11 and the official page
A few ressources :
- https://deepwiki.com/openwrt/uci/3.1-command-line-interface
- https://forum.openwrt.org/t/how-to-disable-dhcp-dns-from-cli/223228
Set new SSID uci set wireless.@wifi-iface[0].ssid='new_ssid' Commit changes uci commit Restart wireless interface wifi
How to make a TL-WR841NDv11 work with a light openwrt
Flash 4Mo and RAM 32 Mo !
