Re: disabling inet6 on interface wlan0

Kurt Hackenberg <[email protected]>
Newsgroups gmane.os.freebsd.questions
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.