"Artur Manuel" <amad@atl.tools> writes: > Hello there, hope this mail finds you well. > > I've just setup OpenBSD on my desktop for 2nd time, but it's on a > different machine. However, one thing I didn't see on my first install > was the ability to have nothing happen during `pkg_add chromium`. I > later found out this was because I didn't have the networking setup > properly, or so I thought. I decided to check /etc/hostname.re0 and what > I saw in my config was pretty much what you would expect: > > ``` > inet autoconf > inet6 autoconf > ``` > > I checked hostname.if(5) and the FAQ and found out that made my spine > shiver: I did it correctly the first time. I tried the manual approach > (being `ifconfig re0 inet autoconf`) after and surprisingly, nothing > happened. Exquisite. > > I asked about it on the unofficial Libera.Chat room and I was asked > about the following commands: > > | Command | Output | > | -------------------- | ------------------------------------ | > | dhcpleasectl -l re0 | re0: [Init] | > | dhcpleasectl re0 | re0: [Init] | > | cat /var/logs/daemon | dhcpleased: Removing [address] [...] | > > There was pretty much nothing useful I could gather and wanted to ask > here in case anyone else had an idea. I'll admit, I am quite stumped, > but I am happy to wait as long as needed for a response. Hope this email > wasn't too annoying. :)
The OS doesn't see DHCP server on the network, so no address (and no internet, and no pkg_add chromium, …) Please ensure that a DHCP server could be reached from re0 (right network card plugged if more than one ? cable correctly plugged ? cable functional ? DHCP server present on the network ?) Having the (full) output of the following commands could help to diagnostic: - dmesg - ifconfig -A Regards. -- Sebastien Marie