Home>Article>Operation and Maintenance> How to change the default IP in openwrt
How to modify the default IP of openwrt
1. Modify it through the command
vi etc/config/network
Recommendation: "linux tutorial"
: Exit wq, and then restart it to change it to the desired 192.168.x.xxx
After updating the firmware To be revised again.
2. Modify the source code directly, once and for all
The modification location is at a certain location below. Different versions have different locations
/package/base-files/files/lib/functions/uci-defaults.sh
or
/package/base-files/files/bin/config_generate
Completed modification Then save and compile.
The above is the detailed content of How to change the default IP in openwrt. For more information, please follow other related articles on the PHP Chinese website!