[Bug 1091645] Re: When ISP changes dynamic IP address avahi-daemon changes Zeroconf host name

Carlos Luna 1091645 at bugs.launchpad.net
Fri May 9 23:23:49 UTC 2014


I`m running Ubuntu 12.04 updated till today (09 may 2014 ) and aswell
Debian Testing with KDE updated and I have the same trouble the network
is not working after a 30 o 45 minutes; I can not restart the network so
if I wanna have the network running well I must restart the machine and
the modem.

Syslog:
May 9 16:44:10 pcdebian kernel: [ 2071.820186] via-rhine 0000:00:12.0 eth0: Transmit timed out, status 1003, PHY status 786d, resetting...
May 9 16:44:20 pcdebian kernel: [ 2081.820185] via-rhine 0000:00:12.0 eth0: Transmit timed out, status 1003, PHY status 786d, resetting...
May 9 17:00:16 pcdebian kernel: [ 3037.820197] via-rhine 0000:00:12.0 eth0: Transmit timed out, status 1003, PHY status 786d, resetting...

Kern.log:
May 6 12:35:48 pcdebian kernel: [ 1383.808509] via-rhine 0000:00:12.0 eth0: Transmit timed out, status 1003, PHY status 786d, resetting...
May 6 13:26:54 pcdebian kernel: [ 0.822714] via_rhine: v1.10-LK1.5.1 2010-10-09 Written by Donald Becker
May 6 13:26:54 pcdebian kernel: [ 0.823126] via-rhine 0000:00:12.0 eth0: VIA Rhine II at 0x1f200, 00:19:db:a0:d6:13, IRQ 23
May 6 13:26:54 pcdebian kernel: [ 0.823905] via-rhine 0000:00:12.0 eth0: MII PHY found at address 1, status 0x786d advertising 01e1 Link 45e1
May 6 13:37:07 pcdebian kernel: [ 625.820368] via-rhine 0000:00:12.0 eth0: Transmit timed out, status 1003, PHY status 786d, resetting...
May 6 13:37:17 pcdebian kernel: [ 635.820197] via-rhine 0000:00:12.0 eth0: Transmit timed out, status 1003, PHY status 786d, resetting...

Ubuntu kern.log
May 5 19:28:54 caralu74 kernel: [ 451.136479] device eth0 left promiscuous mode
May 5 19:29:01 caralu74 kernel: [ 458.572040] device eth0 entered promiscuous mode
May 5 19:36:50 caralu74 kernel: [ 926.820645] via-rhine 0000:00:12.0: eth0: Transmit timed out, status 1003, PHY status 786d, resetting...
May 5 19:36:50 caralu74 kernel: [ 926.821393] via-rhine 0000:00:12.0: eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
May 5 19:36:54 caralu74 kernel: [ 930.820180] via-rhine 0000:00:12.0: eth0: Transmit timed out, status 1003, PHY status 786d, resetting...
May 9 16:00:02 caralu74 kernel: [ 5408.820181] via-rhine 0000:00:12.0: eth0: Transmit timed out, status 1003, PHY status 786d, resetting...

##########################
And this could be useful:
May 6 16:13:53 caralu74 dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
May 6 16:13:58 caralu74 NetworkManager[1568]: <warn> (eth0): DHCPv4 request timed out.
May 6 16:13:58 caralu74 NetworkManager[1568]: <info> (eth0): canceled DHCP transaction, DHCP client pid 2876
May 6 16:13:58 caralu74 NetworkManager[1568]: <info> Activation (eth0) Stage 4 of 5 (IPv4 Configure Timeout) scheduled...
May 6 16:13:58 caralu74 NetworkManager[1568]: <info> Activation (eth0) Stage 4 of 5 (IPv4 Configure Timeout) started...
May 6 16:13:58 caralu74 NetworkManager[1568]: <info> (eth0): device state change: ip-config -> failed (reason 'ip-config-unavailable') [70 120 5]
May 6 16:13:58 caralu74 NetworkManager[1568]: <warn> Activation (eth0) failed.
May 6 16:13:58 caralu74 NetworkManager[1568]: <info> Activation (eth0) Stage 4 of 5 (IPv4 Configure Timeout) complete.
May 6 16:13:58 caralu74 NetworkManager[1568]: <info> (eth0): device state change: failed -> disconnected (reason 'none') [120 30 0]
May 6 16:13:58 caralu74 NetworkManager[1568]: <info> (eth0): deactivating device (reason 'none') [0]
May 6 16:13:58 caralu74 avahi-daemon[1468]: Withdrawing address record for fe80::219:dbff:fea0:d613 on eth0.
May 6 16:13:58 caralu74 avahi-daemon[1468]: Leaving mDNS multicast group on interface eth0.IPv6 with address fe80::219:dbff:fea0:d613.
May 6 16:13:58 caralu74 avahi-daemon[1468]: Interface eth0.IPv6 no longer relevant for mDNS.
May 6 16:14:00 caralu74 avahi-daemon[1468]: Joining mDNS multicast group on interface eth0.IPv6 with address fe80::219:dbff:fea0:d613.
May 6 16:14:00 caralu74 avahi-daemon[1468]: New relevant interface eth0.IPv6 for mDNS.
May 6 16:14:00 caralu74 avahi-daemon[1468]: Registering new address record for fe80::219:dbff:fea0:d613 on eth0.*.
May 6 16:14:01 caralu74 NetworkManager[1568]: <info> Auto-activating connection 'Conexión cableada 1'.
May 6 16:14:01 caralu74 NetworkManager[1568]: <info> Activation (eth0) starting connection 'Conexión cableada 1'
May 6 16:14:01 caralu74 NetworkManager[1568]: <info> (eth0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
May 6 16:14:01 caralu74 NetworkManager[1568]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) scheduled...
May 6 16:14:01 caralu74 NetworkManager[1568]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) started...
May 6 16:14:01 caralu74 NetworkManager[1568]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) scheduled...
May 6 16:14:01 caralu74 NetworkManager[1568]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) complete.
May 6 16:14:01 caralu74 NetworkManager[1568]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) starting...
May 6 16:14:01 caralu74 NetworkManager[1568]: <info> (eth0): device state change: prepare -> config (reason 'none') [40 50 0]
May 6 16:14:01 caralu74 NetworkManager[1568]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) successful.
May 6 16:14:01 caralu74 NetworkManager[1568]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) scheduled.
May 6 16:14:01 caralu74 NetworkManager[1568]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) complete.
May 6 16:14:01 caralu74 NetworkManager[1568]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) started...
May 6 16:14:01 caralu74 NetworkManager[1568]: <info> (eth0): device state change: config -> ip-config (reason 'none') [50 70 0]
May 6 16:14:01 caralu74 NetworkManager[1568]: <info> Activation (eth0) Beginning DHCPv4 transaction (timeout in 45 seconds)
May 6 16:14:01 caralu74 NetworkManager[1568]: <info> dhclient started with pid 3078
May 6 16:14:01 caralu74 NetworkManager[1568]: <info> Activation (eth0) Beginning IP6 addrconf.
May 6 16:14:01 caralu74 avahi-daemon[1468]: Withdrawing address record for fe80::219:dbff:fea0:d613 on eth0.
May 6 16:14:01 caralu74 avahi-daemon[1468]: Leaving mDNS multicast group on interface eth0.IPv6 with address fe80::219:dbff:fea0:d613.
May 6 16:14:01 caralu74 avahi-daemon[1468]: Interface eth0.IPv6 no longer relevant for mDNS.
May 6 16:14:01 caralu74 NetworkManager[1568]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) complete.
May 6 16:14:01 caralu74 dhclient: Internet Systems Consortium DHCP Client 4.1-ESV-R4
May 6 16:14:01 caralu74 dhclient: Copyright 2004-2011 Internet Systems Consortium.
May 6 16:14:01 caralu74 dhclient: All rights reserved.
May 6 16:14:01 caralu74 dhclient: For info, please visit https://www.isc.org/software/dhcp/
May 6 16:14:01 caralu74 dhclient:
May 6 16:14:01 caralu74 NetworkManager[1568]: <info> (eth0): DHCPv4 state changed nbi -> preinit
May 6 16:14:01 caralu74 dhclient: Listening on LPF/eth0/00:19:db:a0:d6:13
May 6 16:14:01 caralu74 dhclient: Sending on LPF/eth0/00:19:db:a0:d6:13
May 6 16:14:01 caralu74 dhclient: Sending on Socket/fallback
May 6 16:14:01 caralu74 dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
May 6 16:14:02 caralu74 avahi-daemon[1468]: Joining mDNS multicast group on interface eth0.IPv6 with address fe80::219:dbff:fea0:d613.
May 6 16:14:02 caralu74 avahi-daemon[1468]: New relevant interface eth0.IPv6 for mDNS.
May 6 16:14:02 caralu74 avahi-daemon[1468]: Registering new address record for fe80::219:dbff:fea0:d613 on eth0.*.
May 6 16:14:04 caralu74 dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
May 6 16:14:10 caralu74 dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
May 6 16:14:11 caralu74 kernel: [ 199.096013] eth0: no IPv6 routers present
May 6 16:14:18 caralu74 dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 20
May 6 16:14:21 caralu74 NetworkManager[1568]: <info> (eth0): IP6 addrconf timed out or failed.
May 6 16:14:21 caralu74 NetworkManager[1568]: <info> Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) scheduled...
May 6 16:14:21 caralu74 NetworkManager[1568]: <info> Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) started...
May 6 16:14:21 caralu74 NetworkManager[1568]: <info> Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) complete.
May 6 16:14:38 caralu74 dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
May 6 16:14:45 caralu74 dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15
May 6 16:14:46 caralu74 NetworkManager[1568]: <warn> (eth0): DHCPv4 request timed out.
May 6 16:14:46 caralu74 NetworkManager[1568]: <info> (eth0): canceled DHCP transaction, DHCP client pid 3078
May 6 16:14:46 caralu74 NetworkManager[1568]: <info> Activation (eth0) Stage 4 of 5 (IPv4 Configure Timeout) scheduled...
May 6 16:14:46 caralu74 NetworkManager[1568]: <info> Activation (eth0) Stage 4 of 5 (IPv4 Configure Timeout) started...
May 6 16:14:46 caralu74 NetworkManager[1568]: <info> (eth0): device state change: ip-config -> failed (reason 'ip-config-unavailable') [70 120 5]
May 6 16:14:46 caralu74 NetworkManager[1568]: <info> Marking connection 'Conexión cableada 1' invalid.
May 6 16:14:46 caralu74 NetworkManager[1568]: <warn> Activation (eth0) failed.
May 6 16:14:46 caralu74 NetworkManager[1568]: <info> Activation (eth0) Stage 4 of 5 (IPv4 Configure Timeout) complete.
May 6 16:14:46 caralu74 NetworkManager[1568]: <info> (eth0): device state change: failed -> disconnected (reason 'none') [120 30 0]
May 6 16:14:46 caralu74 NetworkManager[1568]: <info> (eth0): deactivating device (reason 'none') [0]
May 6 16:14:46 caralu74 avahi-daemon[1468]: Withdrawing address record for fe80::219:dbff:fea0:d613 on eth0.
May 6 16:14:46 caralu74 avahi-daemon[1468]: Leaving mDNS multicast group on interface eth0.IPv6 with address fe80::219:dbff:fea0:d613.
May 6 16:14:46 caralu74 avahi-daemon[1468]: Interface eth0.IPv6 no longer relevant for mDNS.
May 6 16:14:48 caralu74 avahi-daemon[1468]: Joining mDNS multicast group on interface eth0.IPv6 with address fe80::219:dbff:fea0:d613.
May 6 16:14:48 caralu74 avahi-daemon[1468]: New relevant interface eth0.IPv6 for mDNS.
May 6 16:14:48 caralu74 avahi-daemon[1468]: Registering new address record for fe80::219:dbff:fea0:d613 on eth0.*.
################################

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to avahi in Ubuntu.
https://bugs.launchpad.net/bugs/1091645

Title:
  When ISP changes dynamic IP address avahi-daemon changes Zeroconf host
  name

Status in “avahi” package in Ubuntu:
  Confirmed

Bug description:
  I have a home network with several Ubuntu and one Mac OS X machine.
  Internet access is via VDSL with dynamic IP addresses, amd the ISP
  changes the IP address every night, around 4am. ISP is Deutsche
  Telekom in Germany. On my Ubuntu (Quantal) machines, connecting to the
  network only via ethernet (wired, W-Fi connection turned off on the
  machines, due to bug 1083565) avahi-daemon sometimes switches the
  Zeroconf hostname from the originally given one (like "till-hp") to a
  name with an added number, (like "till-hp-2"). This happens on the
  nightly IP address change as the attached syslog shows. Problem is
  that on clients I cannot refer to the Zeroconf names as they can
  change on the next day. If I restart avahi-daemon during the day the
  Zeroconf name gets reset to the original.

  It is possible that bug 1083565 is this one in reality, but I am not
  absolutely sure.

  As BonJour replaces the IPP-based CUPS broadcasting for printer
  discovery from CUPS 1.6.x on, avahi must be made more reliable.

  Also Zeroconf as replacement for DNS on the local network, to avoid
  the need that home users have to register host names on the router,
  need a reliable Avahi in term of the Zeroconf host names.

  In the attached syslog, aroung 4:18am the following appears (machine
  set up with "till-hp" as host name):

  ----------
  Dec 17 04:09:41 till-hp avahi-daemon[822]: Registering new address record for 2002:5ddb:9586:0:7c4d:f18c:29e3:8b33 on eth0.*.
  Dec 17 04:09:42 till-hp NetworkManager[853]: <info> Policy set 'Wired connection 1' (eth0) as default for IPv6 routing and DNS.
  Dec 17 04:09:43 till-hp avahi-daemon[822]: Withdrawing address record for 2002:5ddb:9586:0:e0b8:4178:444a:af6c on eth0.
  Dec 17 04:17:01 till-hp CRON[3993]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
  Dec 17 04:18:45 till-hp avahi-daemon[822]: Withdrawing address record for 2002:5ddb:9586:0:7c4d:f18c:29e3:8b33 on eth0.
  Dec 17 04:18:45 till-hp avahi-daemon[822]: Registering new address record for 2002:5ddb:9586:0:7c4d:f18c:29e3:8b33 on eth0.*.
  Dec 17 04:18:45 till-hp avahi-daemon[822]: Registering new address record for 2002:5ddb:9586:0:e0b8:4178:444a:af6c on eth0.*.
  Dec 17 04:18:45 till-hp avahi-daemon[822]: Registering new address record for fe80::20f:b0ff:fe6e:a460 on eth0.*.
  Dec 17 04:18:46 till-hp NetworkManager[853]: <info> Policy set 'Wired connection 1' (eth0) as default for IPv6 routing and DNS.
  Dec 17 04:18:46 till-hp avahi-daemon[822]: Registering new address record for fd00::20f:b0ff:fe6e:a460 on eth0.*.
  Dec 17 04:18:46 till-hp avahi-daemon[822]: Withdrawing address record for 2002:5ddb:9586:0:7c4d:f18c:29e3:8b33 on eth0.
  Dec 17 04:18:46 till-hp avahi-daemon[822]: Withdrawing address record for 2002:5ddb:9586:0:e0b8:4178:444a:af6c on eth0.
  Dec 17 04:18:46 till-hp avahi-daemon[822]: Withdrawing address record for 2002:5ddb:9586:0:20f:b0ff:fe6e:a460 on eth0.
  Dec 17 04:18:46 till-hp avahi-daemon[822]: Withdrawing address record for fe80::20f:b0ff:fe6e:a460 on eth0.
  Dec 17 04:18:46 till-hp avahi-daemon[822]: Withdrawing workstation service for eth1.
  Dec 17 04:18:46 till-hp avahi-daemon[822]: Withdrawing address record for 192.168.178.34 on eth0.
  Dec 17 04:18:46 till-hp avahi-daemon[822]: Withdrawing workstation service for eth0.
  Dec 17 04:18:46 till-hp avahi-daemon[822]: Withdrawing workstation service for lo.
  Dec 17 04:18:46 till-hp avahi-daemon[822]: Host name conflict, retrying with till-hp-2
  Dec 17 04:18:46 till-hp avahi-daemon[822]: Registering new address record for fd00::20f:b0ff:fe6e:a460 on eth0.*.
  Dec 17 04:18:46 till-hp avahi-daemon[822]: Registering new address record for 192.168.178.34 on eth0.IPv4.
  Dec 17 04:18:46 till-hp avahi-daemon[822]: Registering HINFO record with values 'I686'/'LINUX'.
  Dec 17 04:18:47 till-hp avahi-daemon[822]: Registering new address record for fd00::7c4d:f18c:29e3:8b33 on eth0.*.
  Dec 17 04:18:47 till-hp avahi-daemon[822]: Leaving mDNS multicast group on interface eth0.IPv6 with address 2002:5ddb:9586:0:e0b8:4178:444a:af6c.
  Dec 17 04:18:47 till-hp avahi-daemon[822]: Joining mDNS multicast group on interface eth0.IPv6 with address fd00::7c4d:f18c:29e3:8b33.
  Dec 17 04:18:47 till-hp avahi-daemon[822]: Withdrawing address record for fd00::7c4d:f18c:29e3:8b33 on eth0.
  Dec 17 04:18:47 till-hp avahi-daemon[822]: Registering new address record for fd00::7c4d:f18c:29e3:8b33 on eth0.*.
  Dec 17 04:18:47 till-hp avahi-daemon[822]: Registering new address record for 2002:5ddb:9586:0:20f:b0ff:fe6e:a460 on eth0.*.
  Dec 17 04:18:47 till-hp avahi-daemon[822]: Registering new address record for fe80::20f:b0ff:fe6e:a460 on eth0.*.
  Dec 17 04:18:48 till-hp NetworkManager[853]: <info> Policy set 'Wired connection 1' (eth0) as default for IPv6 routing and DNS.
  Dec 17 04:18:49 till-hp avahi-daemon[822]: Registering new address record for 2002:5ddb:91de:0:20f:b0ff:fe6e:a460 on eth0.*.
  Dec 17 04:18:49 till-hp avahi-daemon[822]: Withdrawing address record for fd00::7c4d:f18c:29e3:8b33 on eth0.
  Dec 17 04:18:49 till-hp avahi-daemon[822]: Withdrawing address record for fd00::20f:b0ff:fe6e:a460 on eth0.
  Dec 17 04:18:49 till-hp avahi-daemon[822]: Withdrawing address record for 2002:5ddb:9586:0:20f:b0ff:fe6e:a460 on eth0.
  Dec 17 04:18:49 till-hp avahi-daemon[822]: Withdrawing address record for fe80::20f:b0ff:fe6e:a460 on eth0.
  Dec 17 04:18:49 till-hp avahi-daemon[822]: Registering new address record for 2002:5ddb:91de:0:7c4d:f18c:29e3:8b33 on eth0.*.
  Dec 17 04:18:50 till-hp avahi-daemon[822]: Server startup complete. Host name is till-hp-2.local. Local service cookie is 296843173.
  Dec 17 04:18:51 till-hp avahi-daemon[822]: Service "till-hp-2" (/services/udisks.service) successfully established.
  Dec 17 04:28:26 till-hp avahi-daemon[822]: Leaving mDNS multicast group on interface eth0.IPv6 with address fd00::7c4d:f18c:29e3:8b33.
  Dec 17 04:28:26 till-hp avahi-daemon[822]: Joining mDNS multicast group on interface eth0.IPv6 with address 2002:5ddb:91de:0:7c4d:f18c:29e3:8b33.
  Dec 17 04:28:27 till-hp NetworkManager[853]: <info> Policy set 'Wired connection 1' (eth0) as default for IPv6 routing and DNS.
  ----------

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/avahi/+bug/1091645/+subscriptions



More information about the foundations-bugs mailing list