-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(solved-needed proper settings with hostapd) Alfa AWUS036ACM Master Mode #2
Comments
https://github.com/morrownr/7612u/blob/main/Bridged_Wireless_Access_Point-2.md That link shows my setup on a RasPi4b. I use 2 hostapd.conf files so as to support 5g (the ACM) and 2g (the internal RasPi wifi capability). You can grab the ACM ht and vht settings as needed. Let me know. |
For the ACM (mt7612u) ht_capab=[LDPC][HT40+][HT40-][GF][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1] vht_capab=[RXLDPC][SHORT-GI-80][TX-STBC-2BY1][RX-STBC-1][MAX-A-MPDU-LEN-EXP3][RX-ANTENNA-PATTERN][TX-ANTENNA-PATTERN] The mt7612u and rtl8812au require very different settings for the above lines. The above lines are for the mt7612u chipset and driver. |
yes my primary issue was the capability set, and then for unknown reasons problems persisted until I rebooted the device. I commented out 5Ghz functions and simplified the config file to just use 802.11n and seems to work fine, I found your repository regarding configs mt7612u and it was a life saver lol the AC model and ACH seem to be a little bit more versatile and easier to set up for AP mode (they worked with whatever config I threw at them) but again the fact RTL8812AU isn't an in-kernel driver can be a deal breaker. I also noticed the ACM model (400mA max input power) could not have the TX Power adjusted (operation not permitted), it tops at 23dBm digitally (after changing the regulatory CRDA files to 30dBm) or 20dBm with the normal 20dBm limit and won't change. AC and ACH can easily be configured to 30 dBm. I don't know if these digital values are accurate or if they even have any actual significance in real transmission power but maybe for AP mode or Wi-Fi repeater it might be significant. Thanks dude, happy easter mate |
Happy Easter to you too. I think using hostapd with the ACM vs ACH is really a matter of familiarity. My RasPi4b's main job is serving as an access point. I do a lot of testing with the setup and can say without hesitation that the Alfa ACM (mt7612u) and ACH (rtl8812au) are the best adapters that I have as far as serving as access points. I am going to have an Alfa ACHM (mt7610u) soon so I'll do some testing with it to see how it stacks up. I will add, in case others read this post, that users looking to use master (AP) and/or monitor modes should stick with adapters based on the mt7612u/mt7610u and rtl8812au/rtl8811au chipsets if they are looking for dual band adapters. The Realtek drivers for the rtl8812bu, rtl8814au and rtl8811cu chipsets do not do master (AP) and monitor modes well at all. The differences that I see between the ACM and ACH have mostly to do with driver capabilities:
On to other stuff: Quote: "I also noticed the ACM model (400mA max input power) could not have the TX Power adjusted" I have several things to say here. That low input power requirement of the ACM makes it a dream come true for use with the RasPi4b since the RasPi4b only has a total of 1200 mA for the entire USB subsystem. The ACH can and does take around 800 mA when pushed so if you have other things running from USB, you may be looking at brown out time when pushing things with the ACH. I understand what you are saying about "power adjusted" but let me point out that just because the Realtek driver says the power has been adjusted does not mean that it really has been adjusted. I'll be glad to help you get your ACM going full speed with hostapd on your RasPi4b. Regards, Nick |
I've had this feeling for a while now lol :') Regarding WPA3 let's hope someone who done it speaks up regarding WPA3 with RTL8812AU. My AP setup relies in a Raspberry is RPi 3B+ with Raspbian Lite and even though it isn't even USB 3.0 and is significantly less performing than Rpi4, it is still strong enough to provide a solid network with minor lag and performance loss, pretty awesome |
My Alfa AWUS036ACM doesn't support master mode, I thought it worked for AP.. - Raspberry Pi 3B+?
I noticed this because it's the only adapter that would crash hostapd, then I figured it must be something realted to AP/master mode.
How did you get yours in master mode?
Edit:
I can put an RTL8812AU (AWUS036AC) instead and use "sudo service hostapd restart && sudo service dnsmasq restart" and worked just fine. Might be a config issue, driver issue or USB 2.0 port issue. This was tested on RPI 3B+ and I'll test on RPI 4 which has two 2.0 and two 3.0 USB ports.
Edit: wait for further feedback I am going to try it again soon ,it worked on kali all I had to do was to remove one of the ht capabilities. I'm unsure how to edit the hostapd.conf ht capaiblities correctly, i'll need to find the full list of capabilities for Alfa ACM and see if it fixes the problem on RPI 3B+. I will try on RPI 4 soon.
The text was updated successfully, but these errors were encountered: