Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| docs:user-guide:wifi:bridgedap [2018/03/03 16:38] – ↷ Links adapted because of a move operation | docs:guide-user:network:wifi:bridgedap [2024/06/24 11:05] (current) – link update bluewavenet | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| ====== Bridged AP ====== | ====== Bridged AP ====== | ||
| - | Bridged AP is to extend your existing wired host router to have wireless capabilities. Clients connecting to OpenWRT will get an IP address from the wired host router. | + | This document |
| - | + | [[:docs: | |
| - | OpenWrt bridges the LAN network with the WLAN of the device in Access Point mode. The advantage of bridging is that broadcast traffic from Wireless to LAN and vice versa works without further changes. | + | |
| - | + | ||
| - | This document | + | |
| - | + | ||
| - | //Note: This recipe results in a bridged LAN that will work fine for home and small networks. It is similar to the "Dumb AP" recipe at [[docs:user-guide: | + | |
| - | + | ||
| - | ===== Configuration ===== | + | |
| - | + | ||
| - | The changes below assume an OpenWrt default configuration, | + | |
| - | + | ||
| - | * [[docs:user-guide: | + | |
| - | * [[docs:user-guide:wifi: | + | |
| - | + | ||
| - | ==== Step 1: Change the LAN interface ==== | + | |
| - | + | ||
| - | Edit ''/ | + | |
| - | + | ||
| - | | '' | + | |
| - | option ifname eth0 | + | |
| - | option type bridge | + | |
| - | option proto static | + | |
| - | option ipaddr **192.168.1.2** | + | |
| - | option netmask 255.255.255.0 | + | |
| - | option gateway 192.168.1.1 | + | |
| - | option dns 192.168.1.1 '' | + | |
| - | + | ||
| - | This IP address must be an //unused// one within the network subnet of the main router. You could also change '' | + | |
| - | + | ||
| - | ==== Step 2: Configure and enable the wireless network ==== | + | |
| - | + | ||
| - | In ''/ | + | |
| - | + | ||
| - | | '' | + | |
| - | option device wifi0 | + | |
| - | **option network lan** | + | |
| - | option mode ap | + | |
| - | option ssid OpenWrt | + | |
| - | option encryption none'' | + | |
| - | + | ||
| - | Naturally, you should consider [[docs:user-guide:wifi: | + | |
| - | + | ||
| - | ==== Step 3: Disable dnsmasq ==== | + | |
| - | + | ||
| - | | ''/ | + | |
| - | + | ||
| - | ==== Step 4: Connect host router and openwrt router correctly ==== | + | |
| - | + | ||
| - | Ensure the host router is connected with a lan port of the openwrt, not the wan port! | + | |
| - | + | ||
| - | ===== Apply changes ===== | + | |
| - | + | ||
| - | Enable the new wireless network. | + | |
| - | + | ||
| - | | '' | + | |
| - | root@OpenWrt: | + | |
| - | + | ||