Avahi-daemon 不断断开我的网络连接

Avahi-daemon 不断断开我的网络连接

我已经遇到这个问题好几天了,我的 ubuntu 机器经常与网络断开连接,最后我终于找到了原因:

Jun 11 10:40:19 nvidia avahi-daemon[886]: Withdrawing address record for 192.168.1.200 on enp4s0.
Jun 11 10:40:19 nvidia avahi-daemon[886]: Leaving mDNS multicast group on interface enp4s0.IPv4 with address 192.168.1.200.
Jun 11 10:40:19 nvidia avahi-daemon[886]: Interface enp4s0.IPv4 no longer relevant for mDNS.

有人能帮我理解导致这种情况发生的原因以及修复它的最佳方法吗?我以为最简单的方法是禁用 avahi-daemon,但这似乎是非常由于某种原因,弹性服务。

我发现 .local dns 地址有问题,但不确定如何使用我的路由器(AsusWRT)解决这个问题。

sudo cat /var/log/syslog|grep avahi-daemon

Jun 11 13:45:14 nvidia avahi-daemon[881]: Found user 'avahi' (UID 112) and group 'avahi' (GID 121).
Jun 11 13:45:14 nvidia avahi-daemon[881]: Successfully dropped root privileges.
Jun 11 13:45:14 nvidia avahi-daemon[881]: avahi-daemon 0.6.32-rc starting up.
Jun 11 13:45:14 nvidia avahi-daemon[881]: Successfully called chroot().
Jun 11 13:45:14 nvidia avahi-daemon[881]: Successfully dropped remaining capabilities.
Jun 11 13:45:14 nvidia avahi-daemon[881]: No service file found in /etc/avahi/services.
Jun 11 13:45:14 nvidia avahi-daemon[881]: Network interface enumeration completed.
Jun 11 13:45:14 nvidia avahi-daemon[881]: Server startup complete. Host name is nvidia.local. Local service cookie is 1297074648.
Jun 11 13:45:14 nvidia avahi-dnsconfd[855]: Successfully connected to Avahi daemon.
Jun 11 13:45:23 nvidia avahi-daemon[881]: Joining mDNS multicast group on interface enp4s0.IPv4 with address 192.168.1.100.
Jun 11 13:45:23 nvidia avahi-daemon[881]: New relevant interface enp4s0.IPv4 for mDNS.
Jun 11 13:45:23 nvidia avahi-daemon[881]: Registering new address record for 192.168.1.100 on enp4s0.IPv4.
Jun 11 13:45:24 nvidia avahi-daemon[881]: Joining mDNS multicast group on interface enp4s0.IPv6 with address fe80::9828:bc91:f5de:5190.
Jun 11 13:45:24 nvidia avahi-daemon[881]: New relevant interface enp4s0.IPv6 for mDNS.
Jun 11 13:45:24 nvidia avahi-daemon[881]: Registering new address record for fe80::9828:bc91:f5de:5190 on enp4s0.*.

相关内容