NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Problem setting up DHCP with Virtual Box



Hello Daniel,

On Fri, 05 Aug 2011 22:48:28 +0200
Daniel Carrera <dcarrera%gmail.com@localhost> wrote:

> 2) I have configured DHCP:
> 
> # grep dhclient /etc/rc.conf
> dhclient=YES

(The slightly better way to check this is `/etc/rc.d/dhclient rcvar`.)

> But when I try to start dhcp nothing happens... literally nothing. The 
> command just returns without any comment. Like this:
> 
> # sh /etc/rc.d/dhclient start
> #
> 
> No output, no delay, no error message, no DHCPDISCOVER... nothing. The 
> instruction to run the above command comes from here:
> 
> http://www.netbsd.org/docs/network/dhcp.html#configure-dhcp

The easiest way to see what's going on is probably run it as `sh
-x /etc/rc.d/dhclient start`

kind regards
dieter


> Cheers,
> Daniel.
> -- 
> I'm not overweight, I'm undertall.


Home | Main Index | Thread Index | Old Index