Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

兼容ImmortalWrt #144

Open
tporwx opened this issue Oct 26, 2022 · 2 comments
Open

兼容ImmortalWrt #144

tporwx opened this issue Oct 26, 2022 · 2 comments

Comments

@tporwx
Copy link

tporwx commented Oct 26, 2022

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

@0xffffharry
Copy link

应该是网络设置的问题,建议用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

@RookieZoe
Copy link

使用 losetup 挂载 打包好的 img 文件,然后再挂载分区到目录,直接修改或创建 /etc/config/network 文件即可

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants