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

  

相关文章:

  • 2021-11-13
  • 2021-07-10
  • 2021-12-04
  • 2021-08-02
  • 2021-08-29
  • 2021-11-22
  • 2021-08-08
猜你喜欢
  • 2022-12-23
  • 2021-05-17
  • 2022-12-23
  • 2022-01-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-21
相关资源
相似解决方案