我用的是NanoPi M1(Allwinner H3板)运行基于Yocto的操作系统。在我第一次接触ZeroConf python时
>>> from zeroconf import Zeroconf, ServiceBrowser
>>> zero = Zeroconf()
我得到了一个错误:
^{pr2}$
当我用Raspbian(在RPI上)运行它时,不会出现这个错误。
我曾试图在homeassistant中寻找解决此类错误的方法,但没有一个能够很好地概述实际问题的方法,而不必考虑解决方案。在
Tags:
将
sysctl
的net/ipv4/igmp_max_memberships
值更新为大于零。 在终端上执行以下命令:$ systctl -w net.ipv4.igmp_max_memberships=20
(或任何大于零的值) &安培;$ sysctl -w net.ipv4.igmp_max_msf=10
然后,重新启动avahi守护进程
systemctl restart avahi-daemon
可以使用验证以上键的现有值 '系统控制网络ipv4.igmp_max_成员资格'。在
相关问题 更多 >
编程相关推荐