Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| docs:guide-user:network:wifi:bridgedap [2018/03/04 13:14] – ↷ Links adapted because of a move operation | docs:guide-user:network:wifi:bridgedap [2021/04/26 01:54] – [Step 2: Configure and enable the wireless network] 6ang | ||
|---|---|---|---|
| Line 22: | Line 22: | ||
| ==== Step 1: Change the LAN interface ==== | ==== Step 1: Change the LAN interface ==== | ||
| - | Edit ''/ | + | Edit ''/ |
| - | + | <code bash> | |
| - | | '' | + | config interface lan |
| option ifname eth0 | option ifname eth0 | ||
| option type bridge | option type bridge | ||
| option proto static | option proto static | ||
| - | option ipaddr | + | option ipaddr 192.168.1.2 |
| option netmask 255.255.255.0 | option netmask 255.255.255.0 | ||
| option gateway 192.168.1.1 | option gateway 192.168.1.1 | ||
| - | option dns 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 '' | 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 ==== | ==== Step 2: Configure and enable the wireless network ==== | ||
| - | In ''/ | + | In ''/ |
| - | | '' | + | <code bash> |
| - | option device wifi0 | + | config wifi-iface |
| - | **option network lan** | + | option device wifi0 |
| - | option mode ap | + | option network lan |
| - | option ssid OpenWrt | + | option mode ap |
| - | option encryption none'' | + | option ssid OpenWrt |
| + | option encryption none | ||
| + | </ | ||
| Naturally, you should consider [[docs: | Naturally, you should consider [[docs: | ||