lede icon indicating copy to clipboard operation
lede copied to clipboard

请教下更新luci后如何更改默认ip

Open Yicons opened this issue 2 years ago • 7 comments

详细叙述

请教下更新luci2之后编译之前如何更改默认ip啊,下面两个路径都更改过了,但是编译完后还是192.168.1.1,imm的改这两个是有效的 /package/base-files/files/bin/config_generate /feeds/luci/modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js

重复 issue

  • [X] 没有类似的 issue

具体型号

x86

详细日志

none

Yicons avatar Oct 21 '24 02:10 Yicons

sed -i 's/192.168.1.1/192.168.100.1/g' package/base-files/luci2/bin/config_generate

TonyT-T-T avatar Oct 21 '24 07:10 TonyT-T-T

同问 /package/base-files/files/bin/config_generate 改这个貌似没有效果了

BenjaminX avatar Oct 21 '24 08:10 BenjaminX

同问 /package/base-files/files/bin/config_generate 改这个貌似没有效果了

确实没有效果了

schen39 avatar Oct 21 '24 08:10 schen39

在quick statrt里的Len settings=>IPv4 Address更改

dongfangy2011 avatar Oct 21 '24 10:10 dongfangy2011

在quick statrt里的Len settings=>IPv4 Address更改

没听懂呢,具体那里修改? 一般这类不会去 make menuconfig 中修改,会在编译前用脚本去修改。

BenjaminX avatar Oct 21 '24 10:10 BenjaminX

sed -i 's/192.168.1.1/192.168.100.1/g' package/base-files/luci2/bin/config_generate

实测可以,非常感谢

Yicons avatar Oct 21 '24 11:10 Yicons

package/base-files/luci2/bin/config_generate

lpflhh avatar Jun 10 '25 14:06 lpflhh