Skip to content
Permalink
Browse files

Merge pull request #115 from furybsd/dhcpcd

Integrate dhcpcd for better ipv4/ipv6 event detection
  • Loading branch information
pkgdemon committed Mar 25, 2020
2 parents 9cb9c08 + 723ff2b commit 3e627351aad1298f1f56b60097f3e36aa7af094b
Showing with 47 additions and 1 deletion.
  1. +2 −0 build.sh
  2. +42 −0 dhcpcd.conf
  3. +2 −0 settings/packages.common
  4. +1 −1 settings/rc.conf.common
@@ -201,6 +201,8 @@ live-settings()
cp ${cwd}/nginx.conf ${uzip}/usr/local/etc/nginx/nginx.conf
cp ${uzip}/usr/local/www/phpsysinfo/phpsysinfo.ini.new ${uzip}/usr/local/www/phpsysinfo/phpsysinfo.ini
cp ${uzip}/usr/local/etc/php.ini-production ${uzip}/usr/local/etc/php.ini
cp ${cwd}/dhcpcd.conf ${uzip}/usr/local/etc/dhcpcd.conf
chmod 774 ${uzip}/usr/local/etc/dhcpcd.conf
}

repos()
@@ -0,0 +1,42 @@
# A sample configuration for dhcpcd.
# See dhcpcd.conf(5) for details.

# Allow users of this group to interact with dhcpcd via the control socket.
controlgroup wheel

# Inform the DHCP server of our hostname for DDNS.
hostname

# Use the hardware address of the interface for the Client ID.
#clientid
# or
# Use the same DUID + IAID as set in DHCPv6 for DHCPv4 ClientID as per RFC4361.
# Some non-RFC compliant DHCP servers do not reply with this set.
# In this case, comment out duid and enable clientid above.
duid

# Persist interface configuration when dhcpcd exits.
persistent

# Rapid commit support.
# Safe to enable by default because it requires the equivalent option set
# on the server to actually work.
option rapid_commit

# A list of options to request from the DHCP server.
option domain_name_servers, domain_name, domain_search, host_name
option classless_static_routes
# Respect the network MTU. This is applied to DHCP routes.
option interface_mtu

# Most distributions have NTP support.
#option ntp_servers

# A ServerID is required by RFC2131.
require dhcp_server_identifier

# Generate SLAAC address using the Hardware Address of the interface
#slaac hwaddr
# OR generate Stable Private IPv6 Addresses based from the DUID
slaac private

@@ -30,6 +30,8 @@ bash
usbids
cpdup
dsbdriverd
dhcpcd
dhcpcd-ui
wpa_supplicant_gui
webcamd
webcamoid
@@ -5,5 +5,5 @@ dsbdriverd_enable="YES"
nginx_enable="YES"
php_fpm_enable="YES"
allscreens_kbdflags="-b quiet.off"
ifconfig_DEFAULT="DHCP"
dhcpcd_enable="YES"
webcamd_enable="YES"

0 comments on commit 3e62735

Please sign in to comment.
You can’t perform that action at this time.