Skip to content

Instantly share code, notes, and snippets.

@rezonn
Created May 5, 2020 04:39
Show Gist options
  • Save rezonn/fde62cf944f70c7c9e30fc0075e3c1ee to your computer and use it in GitHub Desktop.
Save rezonn/fde62cf944f70c7c9e30fc0075e3c1ee to your computer and use it in GitHub Desktop.
Connect Raspberry/OperWRT to router via LAN. Terminal/UCI
#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