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/06/11 14:37] – link fixed tmomas | docs:guide-user:network:wifi:bridgedap [2021/04/26 01:54] – [Step 2: Configure and enable the wireless network] 6ang | ||
|---|---|---|---|
| Line 23: | Line 23: | ||
| 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 '' | ||
| Line 39: | Line 39: | ||
| 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: | ||