Re: dhcpcd-gtk HEAD loops endlessly on start
Roy Marples
Wed Dec 02 13:41:05 2020
Hi Hanno
On 01/12/2020 22:34, Hanno Zysik wrote:
Am Tue, 1 Dec 2020 13:07:37 +0000
schrieb Roy Marples <roy@xxxxxxxxxxxx>:
If you appy the patch to dhcpcd-ui, what do you see?
At every attempt to read an interface it will say something.
There is not much, sadly.
But it does answer why it happens :)
$ dhcpcd-online
dhcpcd-online: opened
libdhcpcd: read interface eth0:NOCARRIER
libdhcpcd: read interface wlan0:CARRIER
libdhcpcd: read interface wlan0:BOUND
libdhcpcd: read interface wlan0:ROUTERADVERT
libdhcpcd: error reading if: Operation not supporteddhcpcd-online: connected
So the error happens right after reading wlan0:ROUTERADVERT
reason=ROUTERADVERT
interface=wlan0
protocol=ra
nd1_from=...
nd1_acquired=4983
nd1_now=5247
nd1_hoplimit=255
nd1_flags=O
nd1_lifetime=1800
nd1_prefix_information1_length=64
nd1_prefix_information1_flags=LA
nd1_prefix_information1_vltime=7200
nd1_prefix_information1_pltime=1800
nd1_prefix_information1_prefix=...
nd1_rdnss1_lifetime=1200
nd1_rdnss1_servers=...
nd1_mtu=1492
nd1_source_address=444e6dc7b900
nd1_addr1=...
reason=INFORM6
interface=wlan0
protocol=dhcp6
dhcp6_client_id=0004655bfa80127300000000000000000000
dhcp6_server_id=00030001444e6dc7b900
dhcp6_sol_max_rt=3600
dhcp6_inf_max_rt=3600
dhcp6_name_servers=...
And libdhcpcd won't create an interface for INFORM6!
Sorry for me being so dense, patch here with supporting commentary:
https://roy.marples.name/cgit/dhcpcd-ui.git/commit/src/libdhcpcd/dhcpcd.c?id=866b0d71a3483c03b30c03d0e3a6aeff44f4ae6a
Roy
Archive administrator: postmaster@marples.name