答: 使用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刪除。