Browse Source

Support DHCPv6

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

Change-Id: I6cdaf4cfaeef6b101659a9abf98b1dd2e0fc2b77
changes/64/426364/2
Ben Swartzlander 2 years ago
parent
commit
b355c01d5c

+ 4
- 0
common-files/etc/network/interfaces View File

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

+ 2
- 0
conf/buildroot-client.config View File

@@ -19,7 +19,9 @@ BR2_PACKAGE_NFS_UTILS_RPC_LOCKD=y
19 19
 BR2_PACKAGE_NFS_UTILS_RPC_RQUOTAD=y
20 20
 BR2_PACKAGE_NFS_UTILS_NFS4=y
21 21
 BR2_PACKAGE_LIBICONV=y
22
+BR2_PACKAGE_DHCPCD=y
22 23
 BR2_PACKAGE_DROPBEAR=y
24
+BR2_PACKAGE_DROPBEAR_DISABLE_REVERSEDNS=y
23 25
 BR2_PACKAGE_IPROUTE2=y
24 26
 BR2_TARGET_SYSLINUX=y
25 27
 BR2_TARGET_SYSLINUX_MBR=y

+ 2
- 0
conf/buildroot-debug.config View File

@@ -28,7 +28,9 @@ BR2_PACKAGE_NFS_UTILS_NFS4=y
28 28
 BR2_PACKAGE_GNUTLS=y
29 29
 BR2_PACKAGE_OPENLDAP=y
30 30
 BR2_PACKAGE_LIBICONV=y
31
+BR2_PACKAGE_DHCPCD=y
31 32
 BR2_PACKAGE_DROPBEAR=y
33
+BR2_PACKAGE_DROPBEAR_DISABLE_REVERSEDNS=y
32 34
 BR2_PACKAGE_IPROUTE2=y
33 35
 BR2_PACKAGE_SAMBA4=y
34 36
 BR2_TARGET_SYSLINUX=y

+ 2
- 0
conf/buildroot-server.config View File

@@ -24,7 +24,9 @@ BR2_PACKAGE_NFS_UTILS_NFS4=y
24 24
 BR2_PACKAGE_GNUTLS=y
25 25
 BR2_PACKAGE_OPENLDAP=y
26 26
 BR2_PACKAGE_LIBICONV=y
27
+BR2_PACKAGE_DHCPCD=y
27 28
 BR2_PACKAGE_DROPBEAR=y
29
+BR2_PACKAGE_DROPBEAR_DISABLE_REVERSEDNS=y
28 30
 BR2_PACKAGE_IPROUTE2=y
29 31
 BR2_PACKAGE_SAMBA4=y
30 32
 BR2_TARGET_SYSLINUX=y

Loading…
Cancel
Save