Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Mar 2024 11:30:20 +0100
From:      Matthias Apitz <guru@unixarea.de>
To:        freebsd.tug890@passmail.net
Cc:        freebsd-questions@freebsd.org
Subject:   Re: turning off IPv6 in my wlan0 interface
Message-ID:  <Ze7dPJ4UcnUe3aeP@c720-1400094>
In-Reply-To: <171015221334.7.15880515234214330674.283929029@passmail.net>
References:  <Ze7WanSF0SzG24BF@c720-1400094> <171015221334.7.15880515234214330674.283929029@passmail.net>

next in thread | previous in thread | raw e-mail | index | archive | help
El día lunes, marzo 11, 2024 a las 10:16:48a. m. +0000, freebsd.tug890@passmail.net escribió:

> Hello,
> 
> Adding this in /etc/rc.conf should work:
> ip6addrctl_enable="NO"
> 
> More information can be found in the man page:
> https://man.freebsd.org/cgi/man.cgi?query=rc.conf&apropos=0&sektion=5&manpath=FreeBSD+14.0-RELEASE+and+Ports&arch=default&format=html
> 

Thanks! I applied the suggested change:

wlans_ath0="wlan0"
ifconfig_wlan0="WPA SYNCDHCP"
ip6addrctl_enable="NO"

But the interface still has IPv6 addrs after reboot:


wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=0
	ether 90:48:9a:92:9e:43
	inet 10.49.211.209 netmask 0xffffff00 broadcast 10.49.211.255
	inet6 fe80::9248:9aff:fe92:9e43%wlan0 prefixlen 64 scopeid 0x2
	groups: wlan
	ssid OCLCvisitor channel 6 (2437 MHz 11g ht/20) bssid a2:46:9d:32:bd:cf
	regdomain 108 indoor ecm authmode WPA2/802.11i privacy ON
	deftxkey UNDEF AES-CCM 2:128-bit txpower 20 bmiss 7 scanvalid 60
	protmode CTS ampdulimit 64k ampdudensity 2 shortgi -uapsd wme burst
	roaming MANUAL
	parent interface: ath0
	media: IEEE 802.11 Wireless Ethernet MCS mode 11ng
	status: associated
	nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>

	matthias


-- 
Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub



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