If I reboot and "service netif restart", my RTL8192CU will connect to a random available network, but will not get an IP address. It seems to not be looking at wpa_supplicant.conf.
If I reboot and do "wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf", I will connect to the network specified in wpa_supplicant and get an IP address. However, even though things work, the terminal is not returned to me, and there's a line that reads, "Failed..." as seen here.
If I reboot and do "wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf", I will connect to the network specified in wpa_supplicant and get an IP address. However, even though things work, the terminal is not returned to me, and there's a line that reads, "Failed..." as seen here.
Code:
# wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf
Successfully initialized wpa_supplicant
wlan0: Trying to associate with 00:71:c2:92:34:b0 (SSID='WORK-2.4' freq=2437 MHz)
Failed to add supported operating classes IE
wlan0: Associated with 00:71:c2:92:34:b0
wlan0: WPA: Key negotiation completed with 00:71:c2:92:34:b0 [PTK=CCMP GTK=TKIP]
wlan0: CTRL-EVENT-CONNECTED - Connection to 00:71:c2:92:34:b0 completed [id=0 id_str=]
Code:
---/etc/rc.conf---
wlans_rtwn0="wlan0"
ifconfig_wlan0="DHCP"
Code:
---/etc/wpa_supplicant.conf---
network={
ssid="WORK-2.4"
key_mgmt=WPA-PSK
psk="...password..."
}
Code:
---/boot/loader.conf---
urtwn-rtl8192cfwT_load="YES"
urtwn-rtl8192cfwU_load="YES"
if_rtwn_pci_load="YES"
if_rtwn_usb_load="YES"
#if_rtwn_load="YES"
legal.realtek.license_ack=1
wlan_ccmp_load="YES"
wlan_tkip_load="YES"
Code:
$ ifconfig wlan0
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 74:da:38:ef:f0:14
inet 10.1.10.102 netmask 0xffffff00 broadcast 10.1.10.255
groups: wlan
ssid WORK-2.4 channel 6 (2437 MHz 11g ht/20) bssid 00:71:c2:92:34:b0
regdomain FCC country US authmode WPA2/802.11i privacy ON
deftxkey UNDEF TKIP 2:128-bit TKIP 3:128-bit txpower 30 bmiss 7
scanvalid 60 protmode CTS ht20 ampdulimit 64k ampdudensity 8 shortgi
-stbc -ldpc wme roaming MANUAL
media: IEEE 802.11 Wireless Ethernet MCS mode 11ng
status: associated
nd6 options=2b<PERFORMNUD,ACCEPT_RTADV,IFDISABLED,AUTO_LINKLOCAL>
Code:
FreeBSD myFreeBSD.mydomain 12.0-RELEASE-p7 FreeBSD 12.0-RELEASE-p7 GENERIC amd64