Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Feb 2026 13:42:49 -0500
From:      Kurt Hackenberg <kh@panix.com>
To:        questions@freebsd.org
Subject:   Re: disabling inet6 on interface wlan0
Message-ID:  <517eafdb-2b51-4846-825d-a9f4753276ae@panix.com>
In-Reply-To: <aZbOLtMDwmCVfeQw@c720-1400094>

index | next in thread | previous in thread | raw e-mail

On 2026/02/19 03:47, Matthias Apitz wrote:

> I want to have only inet4 on my WLAN interface and have in
> /etc/rc.conf concerning the interface:
> 
> wlans_ath0="wlan0"
> ifconfig_wlan0="WPA SYNCDHCP"
> ip6addrctl_enable="NO"
> ipv6_network_interfaces="none"
> ipv6_activate_all_interfaces="NO"
> ifconfig_wlan0_ipv6="NO"
> 
> but the interface comes up [with IPv6]
...
> How can I disable inet6 completely or at least temporary?

Have you looked at /etc/defaults/rc.conf? Search for "ipv6" and "ip6". 
Also, there's some information in the Handbook, mixed in with other 
networking information -- for example, in section 7.3.



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?517eafdb-2b51-4846-825d-a9f4753276ae>