Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Jul 2021 13:15:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        wireless@FreeBSD.org
Subject:   [Bug 256957] Wi-Fi: rc.conf(5) NOAUTO, ifconfig(8) up and unwanted WLAN connections to open networks
Message-ID:  <bug-256957-21060@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256957

            Bug ID: 256957
           Summary: Wi-Fi: rc.conf(5) NOAUTO, ifconfig(8) up and unwanted
                    WLAN connections to open networks
           Product: Base System
           Version: 13.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: wireless
          Assignee: wireless@FreeBSD.org
          Reporter: grahamperrin@gmail.com

If     ifconfig_wlan0    includes   NOAUTO=20
and if open networks are within range,=20
then   ifconfig wlan0 up
results in association with an open network;=20
one that is not specified in /etc/wpa_supplicant.conf


### Environments

First observed with FreeBSD 14.0-CURRENT.=20

Reproducible at another computer with 13.0-RELEASE-p3, with=20
/etc/wpa_supplicant.conf comprising the lines below (psk not disclosed):=20

----

ctrl_interface=3D/var/run/wpa_supplicant
eapol_version=3D2
ap_scan=3D1
fast_reauth=3D1

network=3D{
    ssid=3D"piano"
    scan_ssid=3D0
    psk=3D"=E2=80=A6"
    priority=3D5
}
# network=3D{
#     priority=3D0
#     key_mgmt=3DNONE
# }

----

/etc/rc.conf comprises:=20

----

hostname=3D"mowa219-gjp4-ev631-freebsd-13"
keymap=3D"uk.kbd"

wlans_iwn0=3D"wlan0"
ifconfig_wlan0=3D"WPA DHCP NOAUTO"
ifconfig_wlan0_ipv6=3D"inet6 accept_rtadv"
create_args_wlan0=3D"country GB regdomain ETSI"

ifconfig_re0=3D"DHCP"

ntpdate_enable=3D"YES"
ntpd_enable=3D"YES"
dumpdev=3D"AUTO"
savecore_enable=3D"YES"
sddm_enable=3D"NO"
dbus_enable=3D"NO"
kld_list=3D"i915kms"

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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