Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Oct 2021 06:38:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 253166] net/dhcpcd: no interfaces have a carrier (during boot)
Message-ID:  <bug-253166-7788-j7fH2xJEJQ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-253166-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-253166-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253166

--- Comment #14 from roy@marples.name ---
(In reply to Dries Michiels from comment #13)

I've been able to replicate this error by using the init script in
https://reviews.freebsd.org/D22012
Jan 31 20:06:31 vados kernel: dhcp6_openudp: Can't assign requested address

I fixed it by adding this in /etc/rc.d/dhcpcd

start_precmd=3D"dhcpcd_prestart"
dhcpcd_prestart() {
        # Hack to get rid of the error Can't assign requested address when
        # dhcpcd tries to open ANYADDR:DHCPPORT
        /etc/rc.d/netif start lo0
}

I did initally just try using `ifconfig lo0 up`, but that wasn't enough.
I'll try and narrow down just what needs to be up later.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253166-7788-j7fH2xJEJQ>