USB WLAN recommendation?

Hi

I went through 10+ different USB WLAN adapters and none of seem them work, for various reasons.

Could someone post an Amazon link of a 1 USB WiFi adapter that will work with FreeBSD 12.x out of the box?

Thank you!
a
 
i have one
rtwn0: MAC/BB RTL8192EU, RF 6052 2T2R
and one
rtwn0: MAC/BB RTL8188EU, RF 6052 1T1R
the 8188eu is tplink TL-WN725N probably v3
the other one is Tenda something (bought at the supermarket)
the 8192EU needed some driver hacking before it worked
if you already have an 8192EU which does not associate to AP try if it works in AP mode
if it does you can patch it


both do about 10-15 Mb/s (bits) but im about 10m from the AP 2,walls
 
in post #2 that link spoke of when the wifi Card in the laptop does not work then get a USB plugin .. why not just get a new card to replace it. the prices are close and you don't have to worry about losing a USB port or the adapter, unless your system is so old it has no means of having a wifi card inside of it.

my different adapter on my laptop which lucily is now supported by FBSD 13.x where 12 it was a nightmare to get the software on the system to get it compiled and installed to have a net work to download software to compile and install to have network to download software to compile and install to have a network to download software .... i hope you see the conundrum that was causing.

Code:
$  lspci -knn | grep Net -A2
01:00.0 Network controller [0280]: Intel Corporation Wireless 8260 [8086:24f3] (rev 3a)
    Subsystem: Intel Corporation Dual Band Wireless-AC 8260 [8086:0010]
    Kernel driver in use: iwlwifi
 
I use this since years:

run0: MAC/BBP RT2860 (rev 0x0101), RF RT2820 (MIMO 2T2R)

It does not associate at once, but after I do repeatedly:

ifconfig wlan0 run0 scan
 

Doesn't work. It associates with network in ifconfig but can't get an IP address via DHCP.

Code:
ieee80211_load_module: load the wlan_amrr module by hand for now.
Created wlan(4) interfaces: wlan0.
Starting wpa_supplicant.
Apr  9 01:11:15 generic wpa_supplicant[1488]: ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Invalid argument
Apr  9 01:11:15 generic syslogd: last message repeated 1 times
Apr  9 01:11:17 generic wpa_supplicant[1489]: Failed to add supported operating classes IE
Apr  9 01:11:17 generic dhclient[1533]: send_packet: No buffer space available
 
I would avoid ralink chips, they are just pain to setup and use. Also avoid atheros because there are not working drivers as far as i know(correct me if i am wrong). Just pick card with intel chip(not some latest stuff) and you wont have problems.
 
Doesn't work. It associates with network in ifconfig but can't get an IP address via DHCP.
Show me out out of these commands.

Just do not paste YOURWIFIPASSWORD here.

Code:
# cp /etc/wpa_supplicant.conf /etc/wpa_supplicant.conf.ORG
# killall -9 wpa_supplicant dhclient
# ifconfig wlan0 destroy
# ifconfig wlan0 create wlandev rtwn0
# ifconfig wlan0 up
# ifconfig wlan0 scan
# wpa_passphrase YOURWIFINETWORK YOURWIFIPASSWORD > /etc/wpa_supplicant.conf
# wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf
 
Strange, I have one associated right now.

Did you try right next to the hub to rule out weak signal? I have your symptoms far away from the hub.
The machine is just a few feet from the AP, direct line of sight. It associates just fine. Can't get DHCP due to errors. The AP sees the request and gives it IP address.
 
Show me out out of these commands.

Just do not paste YOURWIFIPASSWORD here.

Code:
# cp /etc/wpa_supplicant.conf /etc/wpa_supplicant.conf.ORG
# killall -9 wpa_supplicant dhclient
# ifconfig wlan0 destroy
# ifconfig wlan0 create wlandev rtwn0
# ifconfig wlan0 up
# ifconfig wlan0 scan
# wpa_passphrase YOURWIFINETWORK YOURWIFIPASSWORD > /etc/wpa_supplicant.conf
# wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf

Code:
# ifconfig wlan0 create wlandev rtwn0
ieee80211_load_module: load the wlan_amrr module by hand for now.
root@generic:~ # ifconfig wlan0 up
root@generic:~ # ifconfig wlan0 scan
SSID/MESH ID                      BSSID              CHAN RATE    S:N     INT CAPS
myssid                             xx:xx:xx:xx:xx:xx    6   54M  -61:-95   100 EPS  RSN HTCAP WME
# wpa_passphrase myssid mypsk > /etc/wpa_supplicant.conf
# wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf
Successfully initialized wpa_supplicant
Apr  9 03:08:31 generic dhclient[1037]: My address (10.10.123.4) was deleted, dhclient exiting
ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Invalid argument
ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Invalid argument
Apr  9 03:08:31 generic dhclient[1037]: connection closed
Apr  9 03:08:31 generic dhclient[1037]: exiting.
wlan0: Trying to associate with xx:xx:xx:xx:xx:xx (SSID='myssid' freq=2437 MHz)
Failed to add supported operating classes IE
wlan0: Associated with xx:xx:xx:xx:xx:xx
Apr  9 03:08:33 generic dhclient[1168]: send_packet: No buffer space available
wlan0: WPA: Key negotiation completed with xx:xx:xx:xx:xx:xx [PTK=CCMP GTK=CCMP]
wlan0: CTRL-EVENT-CONNECTED - Connection to xx:xx:xx:xx:xx:xx completed [id=0 id_str=]
hanging forever
 
Code:
# ifconfig wlan0 create wlandev rtwn0
ieee80211_load_module: load the wlan_amrr module by hand for now.
root@generic:~ # ifconfig wlan0 up
root@generic:~ # ifconfig wlan0 scan
SSID/MESH ID                      BSSID              CHAN RATE    S:N     INT CAPS
myssid                             xx:xx:xx:xx:xx:xx    6   54M  -61:-95   100 EPS  RSN HTCAP WME
# wpa_passphrase myssid mypsk > /etc/wpa_supplicant.conf
# wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf
Successfully initialized wpa_supplicant
Apr  9 03:08:31 generic dhclient[1037]: My address (10.10.123.4) was deleted, dhclient exiting
ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Invalid argument
ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Invalid argument
Apr  9 03:08:31 generic dhclient[1037]: connection closed
Apr  9 03:08:31 generic dhclient[1037]: exiting.
wlan0: Trying to associate with xx:xx:xx:xx:xx:xx (SSID='myssid' freq=2437 MHz)
Failed to add supported operating classes IE
wlan0: Associated with xx:xx:xx:xx:xx:xx
Apr  9 03:08:33 generic dhclient[1168]: send_packet: No buffer space available
wlan0: WPA: Key negotiation completed with xx:xx:xx:xx:xx:xx [PTK=CCMP GTK=CCMP]
wlan0: CTRL-EVENT-CONNECTED - Connection to xx:xx:xx:xx:xx:xx completed [id=0 id_str=]
hanging forever
Very good. We wanted that CTRL-EVENT-CONNECTED message - you have connected to your myssid network over WiFi - that is layer 2 of the OSI/ISO model. We will now focus on layer 3.

Now as its connected - and as you said its 'hanging forever' do these:

1. Press [CTRL]+[Z] keys - you will get info on the screen that wpa_supplicant(8) process is 'suspended'.
2. Type bg and press [ENTER] - you will get info 'continued' info.
3. Type dhclient wlan0 - you should get IP address.
4. type netstat -rn - to see if you have default gateway.
5. type ping -c 3 1.1.1.1 to see if you have network connectivity.

Let me know how it went.
 
Signal strength at -61 looks a bit like what I have with this USB stick when too far away from the hub, except I have -69 right now in the non-working position. The working one has -36 very close to the hub.

Maybe you have a clash on the wifi channels and use the same channel as your neighbor?
 
Very good. We wanted that CTRL-EVENT-CONNECTED message - you have connected to your myssid network over WiFi - that is layer 2 of the OSI/ISO model. We will now focus on layer 3.

Now as its connected - and as you said its 'hanging forever' do these:

1. Press [CTRL]+[Z] keys - you will get info on the screen that wpa_supplicant(8) process is 'suspended'.
2. Type bg and press [ENTER] - you will get info 'continued' info.
3. Type dhclient wlan0 - you should get IP address.
4. type netstat -rn - to see if you have default gateway.
5. type ping -c 3 1.1.1.1 to see if you have network connectivity.

Let me know how it went.
You didn't see the errors?

Also DHCP is Layer 2 not 3.
 
Anyhow dhcp client never gets an offer

Code:
# dhclient wlan0
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 16
No DHCPOFFERS received.
No working leases in persistent database - sleeping.


while getting this:

Code:
ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Invalid argument
ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Invalid argument

I moved the SSID to a different channel that's less occupied and moved the machine right next to AP. No difference.
 
Back
Top