Support DHCPv6

Add dhcp6c client to aquire IPv6 addresses and routes automatically
and modify ifupdown config to use it for eth0.

Change-Id: I6cdaf4cfaeef6b101659a9abf98b1dd2e0fc2b77
This commit is contained in:
Ben Swartzlander 2017-01-27 14:09:49 -05:00
parent aea5928b1c
commit b355c01d5c
4 changed files with 10 additions and 0 deletions

View File

@ -4,3 +4,7 @@ iface lo inet loopback
auto eth0
iface eth0 inet dhcp
iface eth0 inet6 manual
up dhcpcd -b -6 eth0
down kill `cat /var/run/dhcpcd-eth0-6.pid` 2>/dev/null

View File

@ -19,7 +19,9 @@ BR2_PACKAGE_NFS_UTILS_RPC_LOCKD=y
BR2_PACKAGE_NFS_UTILS_RPC_RQUOTAD=y
BR2_PACKAGE_NFS_UTILS_NFS4=y
BR2_PACKAGE_LIBICONV=y
BR2_PACKAGE_DHCPCD=y
BR2_PACKAGE_DROPBEAR=y
BR2_PACKAGE_DROPBEAR_DISABLE_REVERSEDNS=y
BR2_PACKAGE_IPROUTE2=y
BR2_TARGET_SYSLINUX=y
BR2_TARGET_SYSLINUX_MBR=y

View File

@ -28,7 +28,9 @@ BR2_PACKAGE_NFS_UTILS_NFS4=y
BR2_PACKAGE_GNUTLS=y
BR2_PACKAGE_OPENLDAP=y
BR2_PACKAGE_LIBICONV=y
BR2_PACKAGE_DHCPCD=y
BR2_PACKAGE_DROPBEAR=y
BR2_PACKAGE_DROPBEAR_DISABLE_REVERSEDNS=y
BR2_PACKAGE_IPROUTE2=y
BR2_PACKAGE_SAMBA4=y
BR2_TARGET_SYSLINUX=y

View File

@ -24,7 +24,9 @@ BR2_PACKAGE_NFS_UTILS_NFS4=y
BR2_PACKAGE_GNUTLS=y
BR2_PACKAGE_OPENLDAP=y
BR2_PACKAGE_LIBICONV=y
BR2_PACKAGE_DHCPCD=y
BR2_PACKAGE_DROPBEAR=y
BR2_PACKAGE_DROPBEAR_DISABLE_REVERSEDNS=y
BR2_PACKAGE_IPROUTE2=y
BR2_PACKAGE_SAMBA4=y
BR2_TARGET_SYSLINUX=y