请教一下如何在编译时指定网关与DNS
#1964
-
|
如我需要在编译时指定网关与DNS为192.168.3.1,请问在哪修改,谢谢。 |
Beta Was this translation helpful? Give feedback.
Answered by
ConstasJ
Sep 13, 2025
Replies: 1 comment
-
|
自编译的话应该就和openwrt官方流程一样了,在构建根目录的files/目录下放置你想要自定义的文件。 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
rianjskis
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
自编译的话应该就和openwrt官方流程一样了,在构建根目录的files/目录下放置你想要自定义的文件。
指定网关这些应该是在/etc/config/network文件中配置的,详情请参考OpenWRT Wiki中相关的页面。