树莓派 问题排查


树莓派开机时无法自动开启网络

因为不知道是哪个相关的服务启动失败了,故执行systemctl list-units 命令查看所有启动过的unit。
发现dhcpcd 启动后报错退出,进而执行systemctl status dhcpcd查看原因。 发现程序报错:”dhcpcd route socket overflowed”
上网查找获得解决方法:原文链接

问题原因如下:

原文:
Veth is a virtual Ethernet adapter, designed to be plugged in host network bridges, in general. 
Bridge members do not need any IP address configuration to work.
When dhcpcd sees a new network device it tries to configure it. 
In the case of bridge members you have to specifically take action,
so that dhcpcd leaves the interface alone.
译文:
Veth 是虚拟网络适配器,用来插入主机网桥。通常,网桥不需要配置IP地址就能工作。
当dhcpcd 看到一个新的网桥的时候,会去配置它(然后配置失败就退出……)。 
如果你是网桥成员的话,你必须采取特别行动,让dhcpcd离网桥远点。

文章作者: Kinson
版权声明: 本博客所有文章除特別声明外,均采用 CC BY 4.0 许可协议。转载请注明来源 Kinson !
评论
  目录