Tuesday, March 07, 2023

Re: dhclient/autoconf in singleuser vs. ramdisk kernel

Erling Westenvik <erling.westenvik@gmail.com> wrote:

> Hi,
>
> When booting bsd.rd I can do:
>
> # ifconfig <if> inet autoconf
>
> and it will negotiate a working IP and gateway setup from my DHCP
> server.
>
> However, when booting 'boot -s' (singleuser) the only way to have a
> working IP and gateway setup is to specify it manually by entering the
> specific relevant values, like:
>
> # ifconfig <if> 12.34.56.78 0xffffff00
> # route add default 12.34.56.1
>
> Neither 'dhclient <if>' or 'ifconfig <if> inet autoconf' works.
>
> What am I missing?

dhcpleased is not running.

No comments:

Post a Comment