Re: Not getting IPv6 link local address when link carrier goes up -> down -> up
Floris Bos
Sun Oct 20 14:40:58 2019
On 10/20/19 2:59 PM, Roy Marples wrote:
On 20/10/2019 12:26, Floris Bos wrote:
When running your command:
OK, try the same command but remove the sleep statement.
That should really hammer it.
Even without sleep I do get an IPv6 address when running those commands.
Guess the delay the shell causes between the two commands is still great
enough.
Long list of entries like:
==
Oct 20 15:36:36 raspberrypi dhcpcd[396]: usb0: carrier lost
Oct 20 15:36:36 raspberrypi dhcpcd[396]: usb0: executing
`/libexec/dhcpcd-run-hooks' NOCARRIER
Oct 20 15:36:36 raspberrypi dhcpcd[396]: usb0: deleting IP address
169.254.140.228/16
Oct 20 15:36:36 raspberrypi dhcpcd[396]: usb0: deleting route to
169.254.0.0/16
Oct 20 15:36:36 raspberrypi dhcpcd[396]: usb0: executing
`/libexec/dhcpcd-run-hooks' IPV4LL
Oct 20 15:36:37 raspberrypi dhcpcd[396]: usb0: executing
`/libexec/dhcpcd-run-hooks' EXPIRE
Oct 20 15:36:37 raspberrypi dhcpcd[396]: usb0: carrier acquired
Oct 20 15:36:37 raspberrypi dhcpcd[396]: usb0: executing
`/libexec/dhcpcd-run-hooks' CARRIER
Oct 20 15:36:37 raspberrypi dhcpcd[396]: usb0: IAID 60:99:b3:1e
Oct 20 15:36:37 raspberrypi dhcpcd[396]: usb0: adding address
fe80::62c8:16be:6909:4f84
Oct 20 15:36:37 raspberrypi dhcpcd[396]: usb0: pltime infinity, vltime
infinity
Oct 20 15:36:37 raspberrypi dhcpcd[396]: usb0: delaying IPv6 router
solicitation for 0.9 seconds
Oct 20 15:36:37 raspberrypi dhcpcd[396]: usb0: delaying IPv4 for 0.8 seconds
Oct 20 15:36:37 raspberrypi dhcpcd[396]: usb0: carrier lost
Oct 20 15:36:37 raspberrypi dhcpcd[396]: usb0: executing
`/libexec/dhcpcd-run-hooks' NOCARRIER
Oct 20 15:36:37 raspberrypi dhcpcd[396]: usb0: deleting address
fe80::62c8:16be:6909:4f84
Oct 20 15:36:37 raspberrypi dhcpcd[396]: usb0: carrier acquired
Oct 20 15:36:37 raspberrypi dhcpcd[396]: usb0: executing
`/libexec/dhcpcd-run-hooks' CARRIER
Oct 20 15:36:37 raspberrypi dhcpcd[396]: usb0: IAID 60:99:b3:1e
Oct 20 15:36:37 raspberrypi dhcpcd[396]: usb0: adding address
fe80::62c8:16be:6909:4f84
Oct 20 15:36:37 raspberrypi dhcpcd[396]: usb0: pltime infinity, vltime
infinity
Oct 20 15:36:37 raspberrypi dhcpcd[396]: usb0: delaying IPv6 router
solicitation for 0.6 seconds
Oct 20 15:36:37 raspberrypi dhcpcd[396]: usb0: delaying IPv4 for 0.5 seconds
Oct 20 15:36:37 raspberrypi dhcpcd[396]: usb0: carrier lost
Oct 20 15:36:37 raspberrypi dhcpcd[396]: usb0: executing
`/libexec/dhcpcd-run-hooks' NOCARRIER
Oct 20 15:36:37 raspberrypi dhcpcd[396]: usb0: deleting address
fe80::62c8:16be:6909:4f84
Oct 20 15:36:37 raspberrypi dhcpcd[396]: usb0: carrier acquired
Oct 20 15:36:37 raspberrypi dhcpcd[396]: usb0: executing
`/libexec/dhcpcd-run-hooks' CARRIER
Oct 20 15:36:37 raspberrypi dhcpcd[396]: usb0: IAID 60:99:b3:1e
Oct 20 15:36:37 raspberrypi dhcpcd[396]: usb0: adding address
fe80::62c8:16be:6909:4f84
Oct 20 15:36:37 raspberrypi dhcpcd[396]: usb0: pltime infinity, vltime
infinity
Oct 20 15:36:37 raspberrypi dhcpcd[396]: usb0: delaying IPv6 router
solicitation for 0.5 seconds
Oct 20 15:36:37 raspberrypi dhcpcd[396]: usb0: delaying IPv4 for 0.4 seconds
Oct 20 15:36:37 raspberrypi dhcpcd[396]: usb0: carrier lost
Oct 20 15:36:37 raspberrypi dhcpcd[396]: usb0: executing
`/libexec/dhcpcd-run-hooks' NOCARRIER
Oct 20 15:36:37 raspberrypi dhcpcd[396]: usb0: deleting address
fe80::62c8:16be:6909:4f84
Oct 20 15:36:37 raspberrypi dhcpcd[396]: usb0: carrier acquired
Oct 20 15:36:37 raspberrypi dhcpcd[396]: usb0: executing
`/libexec/dhcpcd-run-hooks' CARRIER
Oct 20 15:36:37 raspberrypi dhcpcd[396]: usb0: IAID 60:99:b3:1e
Oct 20 15:36:37 raspberrypi dhcpcd[396]: usb0: adding address
fe80::62c8:16be:6909:4f84
Oct 20 15:36:37 raspberrypi dhcpcd[396]: usb0: pltime infinity, vltime
infinity
Oct 20 15:36:37 raspberrypi dhcpcd[396]: usb0: delaying IPv6 router
solicitation for 0.4 seconds
Oct 20 15:36:37 raspberrypi dhcpcd[396]: usb0: delaying IPv4 for 0.9 seconds
Oct 20 15:36:37 raspberrypi dhcpcd[396]: usb0: carrier lost
==
And eventually I also get "route socket overflowed - learning interface
state" lines in between once in a while, but the rest of log is the same.
Yours sincerely,
Floris Bos
Archive administrator: postmaster@marples.name