答: 使用uci进行配置,示例如下:
uci get network.wan.ifname (笔者得到eth1)
uci set network.wan.ifname=ethx (如: uci set network.wan.ifname=eth1)
uci set network.wan6.ifname=ethx (如: uci set network.wan6.ifname=eth1)
/etc/init.d/network restart
答: 使用uci进行配置,示例如下:
uci get network.wan.ifname (笔者得到eth1)
uci set network.wan.ifname=ethx (如: uci set network.wan.ifname=eth1)
uci set network.wan6.ifname=ethx (如: uci set network.wan6.ifname=eth1)
/etc/init.d/network restart
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。