Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Feb 2023 22:24:39 GMT
From:      Joerg Wunsch <joerg@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 2178d68a54e0 - stable/12 - MFC: ARM release build: enable IPv6 SLAAC by default
Message-ID:  <202302262224.31QMOdhd079580@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by joerg:

URL: https://cgit.FreeBSD.org/src/commit/?id=2178d68a54e0aabedc75373cd7593b1b163261aa

commit 2178d68a54e0aabedc75373cd7593b1b163261aa
Author:     Joerg Wunsch <joerg@FreeBSD.org>
AuthorDate: 2023-02-12 21:26:52 +0000
Commit:     Joerg Wunsch <joerg@FreeBSD.org>
CommitDate: 2023-02-26 22:24:17 +0000

    MFC: ARM release build: enable IPv6 SLAAC by default
    
    When building ARM release images, enable IPv6 SLAAC by default in
    addition to IPv4 DHCP.
    
    Unlike amd64 (and other desktop/server) releases, ARM releases on SoC
    setups are usually deployed by just using the installation image, so
    there is no interactive network configuration. Not having IPv6
    included by default is kind of an anachronism these days, given that
    FreeBSD with the KAME project once pioneered IPv6 technology.
    
    (cherry picked from commit 57228a49333505aebbc992f3799819667630f255)
---
 release/tools/arm.subr | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/release/tools/arm.subr b/release/tools/arm.subr
index ea0d16f5e9de..062fcec0a18d 100644
--- a/release/tools/arm.subr
+++ b/release/tools/arm.subr
@@ -209,7 +209,7 @@ arm_install_base() {
 	local hostname
 	hostname="$(echo ${KERNEL} | tr '[:upper:]' '[:lower:]')"
 	echo "hostname=\"${hostname}\"" > ${CHROOTDIR}/${DESTDIR}/etc/rc.conf
-	echo 'ifconfig_DEFAULT="DHCP"' >> ${CHROOTDIR}/${DESTDIR}/etc/rc.conf
+	echo 'ifconfig_DEFAULT="DHCP inet6 accept_rtadv"' >> ${CHROOTDIR}/${DESTDIR}/etc/rc.conf
 	echo 'sshd_enable="YES"' >> ${CHROOTDIR}/${DESTDIR}/etc/rc.conf
 	echo 'sendmail_enable="NONE"' >> ${CHROOTDIR}/${DESTDIR}/etc/rc.conf
 	echo 'sendmail_submit_enable="NO"' >> ${CHROOTDIR}/${DESTDIR}/etc/rc.conf



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302262224.31QMOdhd079580>