OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • no /etc/dhcpd.conf ??
« previous next »
  • Print
Pages: [1]

Author Topic: no /etc/dhcpd.conf ??  (Read 2386 times)

bobbis

  • Full Member
  • ***
  • Posts: 102
  • Karma: 5
    • View Profile
no /etc/dhcpd.conf ??
« 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
« Last Edit: November 10, 2017, 10:39:58 pm by bobbis »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13929
  • Karma: 1208
    • View Profile
Re: no /etc/dhcpd.conf ??
« Reply #1 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
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • no /etc/dhcpd.conf ??
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2