OPNsense Forum

Archive => 17.7 Legacy Series => Topic started by: bobbis on November 10, 2017, 10:38:12 pm

Title: no /etc/dhcpd.conf ??
Post by: bobbis on November 10, 2017, 10:38:12 pm
hello,

i am just wondering why there is not /etc/dhcpd.conf as given as command line argument

Code: [Select]
root$ps aux | grep dhcpd
dhcpd   87714  0.0  0.4 1082696   7996  -  Is   22:32     0:00.00 /usr/local/sbin/dhcpd -user dhcpd -group dhcpd -chroot /var/dhcpd -cf /etc/dhcpd.conf -pf /var/run/dhcpd.pid run0_wlan1


Code: [Select]
root$ls -hal /etc/dhc*
-rw-r--r--  1 root  wheel   205B Aug 26 10:50 /etc/dhclient.conf

Code: [Select]
root$uname -a
11.0-RELEASE-p12 FreeBSD 11.0-RELEASE-p12 #0 02581be96(stable/17.7): Sat Aug 26 11:00:39 CEST 2017     root@sensey64:/usr/obj/usr/src/sys/SMP  amd64

thanks
Title: Re: no /etc/dhcpd.conf ??
Post by: franco on November 11, 2017, 02:10:15 am
Because the config is read from the chroot directory given on the same command line.


Cheers,
Franco