Hi all, i never had any wifi issues on my host, but since yesterday i was having trouble in connecting to my AP. First, it was like after every second reboot the wi-fi connection failed, the more i rebooted, the less successful connection i got. Today, it was not possible to connect to the AP at all after dozens of reboots and
Now the strange thing is, after running
Did someone experience the same issue? Could
During the wifi issues on freebsd, i booted into debian several time using a memory stick and wi-fi connection was not an issue there.
rc.conf
wpa_supplicant.conf
Snippet from /etc/messages
service netif restart. I enabled wlandebug -i wlan0 scan+auth+assoc and found in the logs that the wifi only does scanning but not associating with any APs.Now the strange thing is, after running
bsdconfig wireless and manually choosing to connect to an AP, everything works fine now, even after a reboot. I did not change the rc.conf nor wpa_supplicant.conf. Also the tunable for avoiding issues when running on machines with more than 4gb ram was also set correctly all the time.Did someone experience the same issue? Could
bsdconfig have possibly set any flags such that my wi-fi works again? I am using the rtw880 resp. wifi-firmware-rtw88-kmod-rtw8822c.During the wifi issues on freebsd, i booted into debian several time using a memory stick and wi-fi connection was not an issue there.
rc.conf
Code:
wlans_rtw880="wlan0"
ifconfig_wlan0="WPA DHCP"
ifconfig_wlan0_ipv6="inet6 accept_rtadv"
create_args_wlan0="country DE regdomain ETSI"
wpa_supplicant.conf
Code:
ctrl_interface=/var/run/wpa_supplicant
eapol_version=2
ap_scan=1
fast_reauth=1
network={
ssid="hidden"
scan_ssid=0
psk="hidden"
priority=5
}
Snippet from /etc/messages
cat /var/log/messages | grep -E "(assoc|scan)"
Code:
Oct 14 17:03:55 freebsd kernel: wlan0: scan_end: out
Oct 14 17:03:55 freebsd kernel: wlan0: scan_end: done, [ticks 2147742534, dwell min 20 scanend 258885]
Oct 14 17:03:55 freebsd kernel: wlan0: notify scan done
Oct 14 17:04:00 freebsd kernel: wlan0: ieee80211_scanreq: vap 0xfffffe00bd301010 iv_state 0x1 (SCAN) flags 0x20052 duration 0x7fffffff mindwell 0 maxdwell 0 nssid 1
Oct 14 17:04:00 freebsd kernel: wlan0: ieee80211_check_scan: active scan, append, nojoin, once
Oct 14 17:04:00 freebsd kernel: wlan0: cache hot; ic_lastscan=-2147224762, scanvalid=60000, ticks=-2147219756
Oct 14 17:04:00 freebsd kernel: wlan0: sta_pick_bss: no scan candidate, join=1, return 0
Oct 14 17:04:00 freebsd kernel: wlan0: ieee80211_swscan_check_scan: scan_end returned 0
Oct 14 17:04:00 freebsd kernel: wlan0: ieee80211_swscan_start_scan_locked: active scan, duration 2147483647 mindwell 0 maxdwell 0, desired mode auto, append, nojoin, once
Oct 14 17:04:00 freebsd kernel: wlan0: scan set 1g, 6g, 11g, 7g, 13g, 52a, 56a, 60a, 64a, 36a, 40a, 44a, 48a, 2g, 3g, 4g, 5g, 8g, 9g, 10g, 12g, 149a, 153a, 157a, 161a, 165a, 100a, 104a, 108a, 112a, 116a, 120a, 124a, 128a, 132a, 136a, 140awlan0: dwell min 20ms max 200ms
...
Oct 14 17:09:31 freebsd-hp kernel: wlan0: ieee80211_swscan_cancel_scan: cancel active scan
Oct 14 17:09:31 freebsd kernel: wlan0: scan_curchan_task: loop start; scandone=1, scanstop=1, ss_iflags=0xa, ss_next=0, ss_last=37
Oct 14 17:09:31 freebsd kernel: wlan0: scan_end: out
Oct 14 17:09:31 freebsd kernel: wlan0: scan_end: done, [ticks 2148078677, dwell min 20 scanend 595028]
Oct 14 17:09:31 freebsd kernel: wlan0: notify scan done
Oct 14 17:09:36 freebsd kernel: wlan0: ieee80211_scanreq: vap 0xfffffe00bd301010 iv_state 0x1 (SCAN) flags 0x20052 duration 0x7fffffff mindwell 0 maxdwell 0 nssid 1
Oct 14 17:09:36 freebsd kernel: wlan0: ieee80211_check_scan: active scan, append, nojoin, once
Oct 14 17:09:36 freebsd kernel: wlan0: cache hot; ic_lastscan=-2146888619, scanvalid=60000, ticks=-2146883567
Oct 14 17:09:36 freebsd kernel: wlan0: sta_pick_bss: no scan candidate, join=1, return 0
Oct 14 17:09:36 freebsd kernel: wlan0: ieee80211_swscan_check_scan: scan_end returned 0
Oct 14 17:09:36 freebsd kernel: wlan0: ieee80211_swscan_start_scan_locked: active scan, duration 2147483647 mindwell 0 maxdwell 0, desired mode auto, append, nojoin, once
Oct 14 17:09:36 freebsd kernel: wlan0: scan set 1g, 6g, 11g, 7g, 13g, 52a, 56a, 60a, 64a, 36a, 40a, 44a, 48a, 2g, 3g, 4g, 5g, 8g, 9g, 10g, 12g, 149a, 153a, 157a, 161a, 165a, 100a, 104a, 108a, 112a, 116a, 120a, 124a, 128a, 132a, 136a, 140awlan0: dwell min 20ms max 200ms
...
Oct 14 17:10:20 freebsd wpa_supplicant[11452]: wlan0: Trying to associate with <hidden> (SSID='<hidden>' freq=2462 MHz)
Oct 14 17:10:33 freebsd wpa_supplicant[11452]: wlan0: Trying to associate with <hidden> (SSID='<hidden>' freq=2462 MHz)
Oct 14 17:10:46 freebsd wpa_supplicant[11452]: wlan0: Trying to associate with <hidden> (SSID='<hidden>' freq=2462 MHz)
Oct 14 17:10:59 freebsd wpa_supplicant[11452]: wlan0: Trying to associate with <hidden> (SSID='<hidden>' freq=2462 MHz)
Oct 14 17:11:22 freebsd wpa_supplicant[11452]: wlan0: Trying to associate with <hidden> (SSID='<hidden>' freq=2462 MHz)
Oct 14 17:12:00 freebsd wpa_supplicant[11452]: wlan0: Trying to associate with <hidden> (SSID='<hidden>' freq=2462 MHz)
Oct 14 17:12:58 freebsd wpa_supplicant[11452]: wlan0: Trying to associate with <hidden> (SSID='<hidden>' freq=2462 MHz)
Oct 14 17:14:13 freebsd wpa_supplicant[11452]: wlan0: Trying to associate with <hidden> (SSID='<hidden>' freq=2462 MHz)
Oct 14 17:15:49 freebsd wpa_supplicant[11452]: wlan0: Trying to associate with <hidden> (SSID='<hidden>' freq=2462 MHz)