Wifi Hotspot with OpenWRT: Difference between revisions

From Wiki-Fou
No edit summary
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
== How to create a transparent Wifi Hotspot using OpenWRT ==
== 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]
[[File:Cudy-wr3000s.webp]]
* 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 :'''
* How to brideap ip fix 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
* Reset https://openwrt.org/docs/guide-user/troubleshooting/failsafe_and_factory_reset
 
[[File:AddwantobridgeOpenWRT.png]]
 
== 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
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


Line 16: Line 33:
It worked and again lost many packets, so Switch to trash !
It worked and again lost many packets, so Switch to trash !


The exmple of the [https://openwrt.org/toh/tp-link/tl-wr841nd TL-WR841NDv11]
The exmple of the [https://openwrt.org/toh/tp-link/tl-wr841nd TL-WR841NDv11] and [https://www.tp-link.com/fr/support/download/tl-wr841n/v11/ the official page]


A few ressources :
A few ressources :
Line 25: Line 42:
   Commit changes uci commit
   Commit changes uci commit
   Restart wireless interface wifi
   Restart wireless interface wifi
== How to make a TL-WR841NDv11 work with a light openwrt ==
Flash 4Mo and RAM 32 Mo !
* https://openwrt.org/supported_devices/432_warning
* https://forum.openwrt.org/t/custom-builds-lede-v17-01-7-librecmc-v1-4-5-for-tp-link-wr740n-d-wr741n-d-wr841n-d-wr941n-d-all-versions/41652?u=tmomas
* https://u.pcloud.link/publink/show?code=kZqNwv7ZJXhIsAq7lqbxeOWaz04KYjqpnk9k

Latest revision as of 22:39, 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 :

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 :

 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 !