Initialise OpenWrt Network Settings

I reckon this might be the very start of all my homelab and sysadmin related stuff.

SSH into OpenWrt first.


1. Edit network configurations

Method 1:

Edit directly.

1
vi /etc/config/network

2nd Method

Use the uci command to edit the network configuration.

1
2
3
4
5
uci show network
# Check the current network configuration.
uci set network.lan.ipaddr='192.168.3.11'
# Set to whatever address you want.
# Change the LAN address.

2. Confirm the network setting changes (IMPORTANT!!!)

1
uci commit

3. Restart the network services

1
service network restart

4. Reconnect the WAN interface if PPPoE is used

After setting up PPPoE, reconnect the WAN interface. Otherwise, network speed could be slower than expected.

Use the arp command to check clients connected to OpenWrt. This will show the MAC address, IP address, and interface (device) for all connected clients.

Licensed under CC BY-NC-SA 4.0
Built with Hugo
Theme Stack designed by Jimmy