1 (edited by gjason 2024-03-04 18:10:14)

Topic: No network connectivity upon first boot of new installation v0.4.4

I recently successfully installed v0.4.4 and found that upon my first boot, I had no network connection. I discovered that the local dhcp client daemon is not set to start automatically, so I manually started it by issuing the following command:

rc-service dhcpcd start

After that, my network connection came up right away.

I am searching through the OpenRC documentation (https://www.mankier.com/package/openrc) and have not yet been able to figure out how I can set this to start automatically upon boot. Does anyone know how to do this?

2

Re: No network connectivity upon first boot of new installation v0.4.4

Hey, sure thing! smile

Speaking about OpenRC there are runlevels. The most common in usage are boot and default. For dhcpcd it would be most okay using default. So the command is:

doas rc-update add dhcpcd default

Perhaps this guide is helpful? https://wiki.hyperbola.info/doku.php?id … ems:openrc

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

3

Re: No network connectivity upon first boot of new installation v0.4.4

Thank you for the link, and your suggested command completely fixed my issue. This is my first use of OpenRC, so I am very much a beginner in that regard.