On Sat, 26 Mar 2022, Simple wrote:
Write the following section to /etc/rc.conf.
kld_list="if_iwlwifi"
No longer needed on an up-to-date system.
wlans_iwlwifi0="wlan0"
wlandebug_wlan0="+state +crypto +node +auth +assoc +dot1xsm +wpa"
You can probably drop the wlandebug_wlan0 as well, unless you are experiencing
problems. Leave it as #wlandebug_wlan0 maybe.
ifconfig_wlan0="WPA SYNCDHCP"
Create /etc/wpa_supplicant.conf.
network={
ssid="WIFI name (SSID)"
psk="WIFI password"
}
Anything from here onwards should not be needed on an up-to-date
system. If you still do then something is wrong. Also given you
loaded the driver from kld_list before, manual loading should also not
have been needed anymore.
Lload the driver.
# kldload if_iwlwifi
Note: The following section must be executed once per boot to be able to
network.
Create and link.
# ifconfig wlan0 create wlandev iwlwifi0
# /etc/rc.d/netif start wlan0
Lots of health,
Bjoern
--
Bjoern A. Zeeb r15:7