turning off IPv6 in my wlan0 interface

From: Matthias Apitz <guru_at_unixarea.de>
Date: Mon, 11 Mar 2024 10:01:14 UTC
Hello,

I tried to turn off IPv6 in my wlan0 interface with setting this in
/etc/rc.conf (following a suggestion I found in Internet):

wlans_ath0="wlan0"
ifconfig_wlan0="WPA SYNCDHCP"
ipv6_network_interfaces="none"

But this does not seem to help:

# ifconfig wlan0

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>

Any ideas? Thanks

	matthias

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