diff --git a/common-files/etc/network/interfaces b/common-files/etc/network/interfaces index 8a08311..6b4f8c6 100644 --- a/common-files/etc/network/interfaces +++ b/common-files/etc/network/interfaces @@ -8,3 +8,10 @@ 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 + +auto eth1 +iface eth1 inet dhcp + +iface eth1 inet6 manual + up dhcpcd -b -6 eth1 + down kill `cat /var/run/dhcpcd-eth1-6.pid` 2>/dev/null diff --git a/patches/series b/patches/series index 6b1ec2b..4936bf7 100644 --- a/patches/series +++ b/patches/series @@ -3,3 +3,4 @@ samba4-fixes.patch bootloader-alignment-fix.patch dropbear-default-path.patch skeleton-profile-ps1.patch +udhcpc-script-mtu.patch diff --git a/patches/udhcpc-script-mtu.patch b/patches/udhcpc-script-mtu.patch new file mode 100644 index 0000000..1dea1c1 --- /dev/null +++ b/patches/udhcpc-script-mtu.patch @@ -0,0 +1,21 @@ +Index: buildroot/package/busybox/udhcpc.script +=================================================================== +--- buildroot.orig/package/busybox/udhcpc.script 2017-10-14 14:55:16.374784277 -0400 ++++ buildroot/package/busybox/udhcpc.script 2017-10-14 14:55:32.934958126 -0400 +@@ -8,6 +8,7 @@ + [ -e $RESOLV_CONF ] || touch $RESOLV_CONF + [ -n "$broadcast" ] && BROADCAST="broadcast $broadcast" + [ -n "$subnet" ] && NETMASK="netmask $subnet" ++[ -n "$mtu" ] && MTU="mtu $mtu" || MTU="mtu 1500" + + case "$1" in + deconfig) +@@ -36,7 +37,7 @@ + if [ -x /usr/sbin/avahi-autoipd ]; then + /usr/sbin/avahi-autoipd -k $interface + fi +- /sbin/ifconfig $interface $ip $BROADCAST $NETMASK ++ /sbin/ifconfig $interface $ip $BROADCAST $NETMASK $MTU + + if [ -n "$router" ] ; then + echo "deleting routers"