/*********************************************************************
 *                   allow-hotplug eth0 error
 * 说明:
 *     浏览器访问ARM主板出现白屏,检查了网卡信息,发现IP没有被正确的配置
 * 在检查配置过程中发现allow-hotplug有问题。
 *
 *                                   2017-8-9 深圳 龙华樟坑村 曾剑锋
 ********************************************************************/

一、网卡配置:
    cat /etc/network/interfaces
    ...
    auto eth0
    allow-hotplug eth0
    iface eth0 inet static
    address 192.168.1.202
    netmask 255.255.255.0
    gateway 192.168.1.1
    ...

二、出错现象:
    网卡配置无效,导致网络无法访问;

三、解决办法:
    allow-hotplug eth0这条语句导致了所有的网卡配置无效,可能是因为不支持这个配置吧。

 

相关文章:

  • 2021-07-28
  • 2021-06-01
  • 2022-01-14
  • 2022-12-23
  • 2021-11-21
  • 2022-12-23
  • 2022-12-23
  • 2021-09-05
猜你喜欢
  • 2022-12-23
  • 2021-07-28
  • 2021-12-23
  • 2021-06-06
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案