Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jul 2023 10:33:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        wireless@FreeBSD.org
Subject:   [Bug 272732] hostapd error with rtwn0: MAC/BB RTL8192EU, RF 6052 2T2R
Message-ID:  <bug-272732-21060@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 272732
           Summary: hostapd error with rtwn0: MAC/BB RTL8192EU, RF 6052
                    2T2R
           Product: Base System
           Version: 13.2-STABLE
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: wireless
          Assignee: wireless@FreeBSD.org
          Reporter: hlh@restart.be

uname -a
FreeBSD norquay.restart.bel 13.2-STABLE FreeBSD 13.2-STABLE #0
stable/13-n255878-7938d643d227: Tue Jul 25 04:11:57 CEST 2023=20=20=20=20
root@norquay.restart.bel:/usr/obj/usr/src/arm64.aarch64/sys/ROCKPRO64 arm64

ifconfig wlan0
wlan0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 15=
00
        ether 50:3e:aa:7a:f5:19
        inet 192.168.20.1 netmask 0xffffff00 broadcast 192.168.20.255
        groups: wlan
        ssid norquay channel 6 (2437 MHz 11g ht/20) bssid 50:3e:aa:7a:f5:19
        regdomain FCC country US authmode OPEN privacy OFF txpower 30
        scanvalid 60 protmode CTS ht20 ampdulimit 64k ampdudensity 16 short=
gi
        -stbc -ldpc -uapsd wme dtimperiod 1 -dfs
        parent interface: rtwn0
        media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng <hostap>
        status: running
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

Starting hostapd.
ioctl[SIOCS80211, op=3D17, val=3D1, arg_len=3D0]: Network is down
Could not set PrivacyInvoked for interface wlan0
ioctl[SIOCS80211, op=3D21, val=3D0, arg_len=3D42]: Network is down
wlan0: Could not connect to kernel driver
ioctl[SIOCS80211, op=3D21, val=3D0, arg_len=3D42]: Network is down
ioctl[SIOCS80211, op=3D17, val=3D0, arg_len=3D0]: Network is down
ioctl[SIOCS80211, op=3D20, val=3D0, arg_len=3D7]: Network is down
ioctl[SIOCS80211, op=3D20, val=3D0, arg_len=3D7]: Network is down
ioctl[SIOCS80211, op=3D20, val=3D0, arg_len=3D7]: Network is down
ioctl[SIOCS80211, op=3D20, val=3D0, arg_len=3D7]: Network is down
ioctl[SIOCS80211, op=3D17, val=3D0, arg_len=3D0]: Network is down
ioctl[SIOCS80211, op=3D95, val=3D208, arg_len=3D0]: Network is down
ioctl[SIOCS80211, op=3D7, val=3D4, arg_len=3D0]: Network is down
Interface initialization failed
wlan0: interface state UNINITIALIZED->DISABLED
wlan0: AP-DISABLED=20
wlan0: Unable to setup interface.
wlan0: interface state DISABLED->DISABLED
ioctl[SIOCS80211, op=3D21, val=3D0, arg_len=3D42]: Network is down
wlan0: Could not connect to kernel driver
ioctl[SIOCS80211, op=3D21, val=3D0, arg_len=3D42]: Network is down
ioctl[SIOCS80211, op=3D17, val=3D0, arg_len=3D0]: Network is down
ioctl[SIOCS80211, op=3D20, val=3D0, arg_len=3D7]: Network is down
ioctl[SIOCS80211, op=3D20, val=3D0, arg_len=3D7]: Network is down
ioctl[SIOCS80211, op=3D20, val=3D0, arg_len=3D7]: Network is down
ioctl[SIOCS80211, op=3D20, val=3D0, arg_len=3D7]: Network is down
wlan0: AP-DISABLED=20
wlan0: CTRL-EVENT-TERMINATING=20
hostapd_free_hapd_data: Interface wlan0 wasn't started
/etc/rc.d/hostapd: WARNING: failed to start hostapd

copying hostapd from a previous version: stable/13-n254933-298d6896b0ac

solve the problem:

service hostapd restart
hostapd not running? (check /var/run/hostapd.pid).
Starting hostapd.
wlan0: interface state UNINITIALIZED->ENABLED
wlan0: AP-ENABLED=20

I check the git repository and I can't find update to usr.sbin/wpa since
stable/13-n254933-298d6896b0ac

--=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-272732-21060>