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:openwrt_as_clientdevice [2021/08/15 17:47] – unify headers vgaetera | docs:guide-user:network:openwrt_as_clientdevice [2021/10/17 17:38] – [Command-line instructions] vgaetera | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== OpenWrt as client device ====== | ====== OpenWrt as client device ====== | ||
| See also: | See also: | ||
| - | [[docs: | ||
| [[docs: | [[docs: | ||
| + | [[docs: | ||
| [[docs: | [[docs: | ||
| Line 11: | Line 11: | ||
| * The device' | * The device' | ||
| - | ===== Web interface ===== | + | ===== Web interface |
| - Click on **Network** -> **Interfaces**, | - Click on **Network** -> **Interfaces**, | ||
| - In **General Setup** tab, in **Protocol**, | - In **General Setup** tab, in **Protocol**, | ||
| Line 23: | Line 23: | ||
| ===== Command-line instructions ===== | ===== Command-line instructions ===== | ||
| - | To make the same we just did with Luci webinterface above, see above for more detailed explanation of the steps: | + | Configure |
| - | - Type '' | + | |
| - | - Type '' | + | <code bash> |
| - | - Type '' | + | uci set network.lan.proto=" |
| - | - Type '' | + | uci set network.lan.ipaddr="192.168.1.2" |
| - | - The ssh session will not work anymore because | + | uci set network.lan.netmask=" |
| - | | + | uci set network.lan.gateway="192.168.1.1" |
| - | - Connect again to the device at its new address as defined above. | + | uci set network.lan.dns=" |
| + | uci commit network | ||
| + | /etc/init.d/network restart | ||
| + | </ | ||
| + | |||
| + | Note that changing | ||
| + | Now you can connect the network cable from the device' | ||