Created
May 5, 2020 04:39
-
-
Save rezonn/fde62cf944f70c7c9e30fc0075e3c1ee to your computer and use it in GitHub Desktop.
Connect Raspberry/OperWRT to router via LAN. Terminal/UCI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#setup router as '192.168.1.200' in router settings | |
uci set network.lan.ipaddr='192.168.1.1' | |
uci set network.lan.gateway='192.168.1.200' | |
uci set network.lan.dns='8.8.8.8' | |
uci commit && service network restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment