How to change the default IP in openwrt

藏色散人
Release: 2020-04-16 09:27:09
Original
29358 people have browsed it

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
Copy after login

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
Copy after login

or

/package/base-files/files/bin/config_generate
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template