Hello all.
I'm a BSD newbie but been using Linux for years (various distributions)
so I know my way around UNIX in a general way.
I've just installed 13.1 via 'FreeBSD-13.1-RELEASE-amd64-memstick.img' and am
eager to test drive it.
Problem: cannot get wifi to work.
Did a full install with all defaults accepted.
USB wifi dongle: TPLink WN821N (RTL8192eu realtek)
CPU: Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
MEM: 4GiB
Followed chapter 33 of handbook and did the following:
% sysctl net.wlan.devices
rtwn0
% vi /etc/wpa_supplicant.conf:
network={
ssid="<real ssid>"
psk="<real psk>"
}
% vi /etc/rc.conf:
wlans_rtwn0="wlan0"
ifconfig_wlan0="WPA DHCP"
create_args_wlan0="country CA regdomain FCC"
% service netif restart
displays data for lo0, em0, and wlan0 correctly but never returns;
ctrl-c doesn't kill it; have to use kill pid from ttyv1
On reboot bootup text shows rtwn0 is detected ok
wifi connection fails with message:
Waiting 30s for the default route interface:...(no carrier)
% ifconfig
displays data for lo0, em0, and wlan0 correctly
% ping 8.8.8.8 returns no route to host.
% ifconfig wlan0 list scan displays data correctly
If I do 'kldstat' only two modules related to wifi are shown:
'if_rtwn_usb.ko' and 'rtwn.ko'
but 'wlan_cpp' and 'wlan_tkip' are not being loaded (should they be?)
Is rtwn the correct module? /boot/kernel contains a rtwn-rtl8192eufw.ko' module.
So I read these posts for rtl8192eu but don't understand them at this point.
https://forums.freebsd.org/threads/...-rtl8192eu-realtek-802-11n.88055/#post-599373
https://forums.freebsd.org/threads/freebsd-13-d-link-dwa-182-tplink-wn821n-work.82664/
The dongle works on Linux which is what I'm using to post this.
Any help/tips to get this solved would be really appreciated.
TIA
I'm a BSD newbie but been using Linux for years (various distributions)
so I know my way around UNIX in a general way.
I've just installed 13.1 via 'FreeBSD-13.1-RELEASE-amd64-memstick.img' and am
eager to test drive it.
Problem: cannot get wifi to work.
Did a full install with all defaults accepted.
USB wifi dongle: TPLink WN821N (RTL8192eu realtek)
CPU: Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
MEM: 4GiB
Followed chapter 33 of handbook and did the following:
% sysctl net.wlan.devices
rtwn0
% vi /etc/wpa_supplicant.conf:
network={
ssid="<real ssid>"
psk="<real psk>"
}
% vi /etc/rc.conf:
wlans_rtwn0="wlan0"
ifconfig_wlan0="WPA DHCP"
create_args_wlan0="country CA regdomain FCC"
% service netif restart
displays data for lo0, em0, and wlan0 correctly but never returns;
ctrl-c doesn't kill it; have to use kill pid from ttyv1
On reboot bootup text shows rtwn0 is detected ok
wifi connection fails with message:
Waiting 30s for the default route interface:...(no carrier)
% ifconfig
displays data for lo0, em0, and wlan0 correctly
% ping 8.8.8.8 returns no route to host.
% ifconfig wlan0 list scan displays data correctly
If I do 'kldstat' only two modules related to wifi are shown:
'if_rtwn_usb.ko' and 'rtwn.ko'
but 'wlan_cpp' and 'wlan_tkip' are not being loaded (should they be?)
Is rtwn the correct module? /boot/kernel contains a rtwn-rtl8192eufw.ko' module.
So I read these posts for rtl8192eu but don't understand them at this point.
https://forums.freebsd.org/threads/...-rtl8192eu-realtek-802-11n.88055/#post-599373
https://forums.freebsd.org/threads/freebsd-13-d-link-dwa-182-tplink-wn821n-work.82664/
The dongle works on Linux which is what I'm using to post this.
Any help/tips to get this solved would be really appreciated.
TIA