Home / Smart Electronics

OpenWrt changes the default IP address

time:2024-09-27 15:02:19 Smart Electronics

 OpenWrt modifies the default IP address method

 To change the default IP address in OpenWrt, perform the following steps:

1. Log in to OpenWrt as root, then enter the following command: 'vi /etc/config/network', press enter to enter the network interface setting interface.

2. In the settings screen, find the 'config interface 'lan'' section, and change the IP address in 'option ipaddr '192.168.X.X'' to the LAN address you need.

3. After the modification is completed, press the "ESC" exit button, and then enter ':wq' to save the exit.

4. Enter the 'reboot' command to restart the router, after rebooting, you can enter the web management settings interface of the OpenWrt router through the LAN IP you just set.

It should be noted that there may be differences in the source code of different versions of OpenWrt, but the basic steps are similar.

《OpenWrt changes the default IP address》 This does not represent the views of this website. If there is any infringement, please contact us to delete it.

Recommend

Ranking

Tech Beyond