On Mon, Mar 02, 2020 at 04:04:46PM +0100, David Demelier wrote: > >Synopsis: cdce0 unable to acquire a lease if laptop boots docked to > >station > >Category: kernel > >Environment: > System : OpenBSD 6.6 > Details : OpenBSD 6.6 (GENERIC.MP) #5: Sun Feb 16 01:56:11 MST 2020 > > [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > Architecture: OpenBSD.amd64 > Machine : amd64 > >Description: > > Hello, > > I have a onelink+ dock that I connect to my Thinkpad x1 Carbon 4th (2016). It > has a USB ethernet interface detected correctly by cdce(4) driver. > > I realized that dhclient is unable to acquire a lease from it if I boot my > laptop *already* docked. Otherwise, if I boot my laptop with OpenBSD and wait > until it's finished and *then* dock it into the station, the cdce driver > appears > and dhclient will acquire a lease if ran simply with `dhclient cdce0`.
Where is cdce0 plugged? If it is plugged into a USB port on the laptop, have you tried plugging the adapter into a USB port on the dock instead? Just a guess, but sometimes dock plugs will override plugs on the laptop.
