Comments (3)
Next one will probably be an Alfa AWUS036ACM. By the way, do you know whether it is capable of providing better performance in terms of mbits?
The Alfa ACM is my favorite for 5 GHz AP mode on a RasPi4B. I have used iperf3 many times to test the throughput. On an clear channel, I see 380-400 Mb/s which is about what we should expect from an AC1200 adapter.
from 88x2bu-20210702.
Hi Nick & Team,
Hi @dypsilon
first of all, thank you for all the hard work maintaining those drivers and guides! They are very well written!
Thanks. There is always room for improvement so if you see something that could be better, send us the fix.
I had a "TP-Link Archer T4U ver.3" lying around and wanted to try using it on my RPi 4 as an access point. First of all: it worked! (maybe you want to add it to the list of supported devices)
I don't want you to take this personally and I hope your TP-Link adapter does not take it personally because it is not intended that way. I do not list products by TP-Link or D-Link. Some folks will use the lists as a shopping list and that is not the intention. The primary reason for not listing products by TP-Link and D-Link is that their Linux support is terrible and both companies use Linux in their products to make profit but yet they do not return the support to Linux. That is all I will say on the issue and I hope you understand. There are many products by companies that do a better job of supporting Linux:
https://github.com/morrownr/USB-WiFi
It is delivering very decent speeds:
[ ID] Interval Transfer Bitrate Retr [ 5] 0.00-90.00 sec 2.89 GBytes 276 Mbits/sec 0 sender [ 5] 0.00-90.01 sec 2.89 GBytes 276 Mbits/sec receiver
This is good. I see you left the adapter in USB2 mode which is recommended for this driver if using a RasPi4B.
The only issue is, that it works only on channel 36 for me. If I set
channel=0
to initiate ACS, unfortunately hostapd exits with the following log:
This is a long standing issue and it isn't just an issue with this driver. I'm not aware of this working with any usb adapters. I researched the issue a long time ago but don't remember why is does not work. You may want to use other methods to check the best channel and just set it manually. That is what I do.
options 88x2bu rtw_drv_log_level=0 rtw_led_ctrl=1 rtw_vht_enable=2 rtw_power_mgnt=1 rtw_beamform_cap=10 rtw_dfs_region_domain=3 rtw_sel_p2p_iface=1 rtw_switch_usb_mode=0
I see you are ready to use a DFS channel.
ssid=[REDACTED] wpa_passphrase=[REDACTED] country_code=DE interface=wlan1 driver=nl80211 wpa=2 wpa_key_mgmt=WPA-PSK rsn_pairwise=CCMP macaddr_acl=0 logger_syslog=0 logger_syslog_level=4 logger_stdout=-1 logger_stdout_level=0 hw_mode=a wmm_enabled=1 # N ieee80211n=1 require_ht=1 ht_capab=[LDPC][HT40+][HT40-][SHORT-GI-20][SHORT-GI-40][MAX-AMSDU-7935] # AC ieee80211ac=1 require_vht=1 ieee80211d=1 ieee80211h=1 vht_capab=[MAX-MPDU-11454][SHORT-GI-80][TX-STBC-2BY1][RX-STBC-1][HTC-VHT][MAX-A-MPDU-LEN-EXP7] vht_oper_chwidth=1 channel=36 vht_oper_centr_freq_seg0_idx=42
Be careful with require_ht=1
and require_vht=1
. I do not use them and I have seen people report issues that were corrected by removing these lines. Make sure you understand what they do.
By the way, thank you for providing the
ht_capab
andvht_capab
lines. They gave me additional 50 mbits.
You are welcome. There is not that much documentation on this topic so I thought I would help a little.
Here is the output of
sudo uname -a; mokutil --sb-state; lsusb; rfkill list all; dkms status; iw dev
I don't see any problems. Set your channel manually, stay in USB2 mode with that RasPi4B and you should have a solid AP.
Next you'll be loading OpenWRT on that RasPi4B and your won't need a router anymore.
Regards
from 88x2bu-20210702.
I don't want you to take this personally and I hope your TP-Link adapter does not take it personally because it is not intended that way. I do not list products by TP-Link or D-Link...
Very good point. Unfortunately, I bought the adapter long before I discovered your guide. Next one will probably be an Alfa AWUS036ACM. By the way, do you know whether it is capable of providing better performance in terms of mbits?
This is a long standing issue and it isn't just an issue with this driver. I'm not aware of this working with any usb adapters.
Thank you! This is already some very important information. In this case there is no point in looking for a replacement adapter to fix this particular issue.
I researched the issue a long time ago but don't remember why is does not work.
The only potential reason I was able to find is that ACS is only supported for some Atheros devices. I am not sure though, whether this information is still relevant. I was hoping that it is not and I was just holding it wrong.
I don't see any problems. Set your channel manually, stay in USB2 mode with that RasPi4B and you should have a solid AP. Next you'll be loading OpenWRT on that RasPi4B and your won't need a router anymore.
Thank you for all your advice. RP4 really seems to be a very capable router. I am already thinking about pairing it with a managed switch to have a complete router replacement.
I will close this issue as "won't fix"...
Kind Regards
from 88x2bu-20210702.
Related Issues (20)
- Unable to connect to access point HOT 12
- Driver install not working on TrueNAS Cobia 22.22 HOT 5
- Hostapd: works fine but disappear fast. HOT 18
- Missing Multicast Packets HOT 1
- (info) Working with T3U V1
- binary package for rtl88x2bu: 5.13.1 not found (Segmentation fault) HOT 10
- dbm cannot be changed
- Not working under secure boot with dkms installed HOT 3
- HOW TO CROSS COMPILE
- Why the upload speed is so slow? HOT 5
- (solved) 88x2bu and RHEL 9.3 HOT 6
- (solved) 88x2bu and Rocky 9.3 HOT 7
- Support for bridging? HOT 2
- MU-MIMO support HOT 1
- Ubuntu 23.10 Secure Boot? HOT 4
- Please document difference to mainline driver HOT 13
- modpost/insmod issue
- Does not compile on 6.2.0-37-generic on Ubuntu 22.04 - running OK on 6.2.0-34-generic HOT 21
- (requires fix in Linux kernel) Not working with Slackware-current and kernel 6.1.66 HOT 8
- Does not compile on 6.6.6-2-MANJARO
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 88x2bu-20210702.