DHCP and rc Questions For FreeBSD 4.10???

Hakim Z. Singhji hakim.singhji at earthlink.net
Wed Aug 11 08:24:02 PDT 2004


Hi All,

I have installed FreeBSD 4.10 to serve as a headless gateway/router/firewall/NAT. The first problem that I have run into can probably be resolved easily. I tried to configure my NIC card via sysinstaller.  However, rc.conf does not have a startup variable for "dc0". Therefore dhclient is inoperable.

I built this box to be headless therefore it is low-tech with no floppy or flash drive and is currently a stand-alone machine so I am not able to copy the rc.conf file to this post. "dc0" is working because I can bring its status to active manually: 'root at redgate% ifconfig dc0 ether up'.

I was wondering what what variables should be assigned to rc.conf, the related variables I have thus far are:

##########################
ifconfig_dc0="dhcp"
dhcp_program="/sbin/dhclient"
dhcp_flags=" "
##########################

It would be appreciated if someone could attach or copy an rc.conf file for a similar system configuration. Thanks in advance.

HZS



More information about the freebsd-questions mailing list