openwrt_packit icon indicating copy to clipboard operation
openwrt_packit copied to clipboard

兼容ImmortalWrt

Open tporwx opened this issue 2 years ago • 1 comments

能否兼容ImmortalWrt? 现在打包此源码刷N1后,网络不正常。

tporwx avatar Oct 26 '22 10:10 tporwx

应该是网络设置的问题,建议用imagebuilder重新打包固件,调整默认网络配置:


config interface 'loopback'
        option device 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config interface 'lan'
        option device 'eth0'
        option proto 'static'
        option netmask '255.255.255.0'
        option ipaddr '192.168.1.250'
        option gateway '192.168.1.1'
        list dns '192.168.1.1'

默认旁路由设置,地址 192.168.1.250 网关 192.168.1.1 DNS 192.168.1.1

0xffffharry avatar Jan 18 '23 13:01 0xffffharry