-
Notifications
You must be signed in to change notification settings - Fork 198
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
Help Needed: Full 2.4 GHz and 5GHz Spectrum (including DFS) #560
Comments
Hi @Sentello Maybe I can help.
That is a good adapter. I still have adapters based on rt2870 and rt3070 chips. They were similar to the rt2770. Those are single band chips. Of the readily available chips, I think the mt7610u, ac600, chip would work well based on your requirements. It is the chip in the Alfa ACHM. The ACHM is a favorite of those doing pen testing/security analysis. It has really good range and is included in The Plug and Play List as well as the Recommended for Kali List here on the Main Menu. I cannot currently recommend the AXML. During 2024 a problem came about for 3 adapters that I had to remove from The Plug and Play List. They are the Alfa AXML, Alfa AXM and Comfast CF-953AX. The problem is strange and has to do with bluetooth. A problem with bluetooth is blocking wifi. Hopefully this problem is fixed soon but until it is resolved I cannot recommend any of those 3 adapters.
I assume you are not talking about AP mode and DFS channels. Chips with mt7610u, mt7612u and mt7921au should support all 5 GHz channels that are allowed in your country, including managed mode DFS channels.
The same 3 chips as shown above should work here as well. The Plug and Play List has details of many good adapters with those 3 chips. See Main Menu item 2. Here is the Main Menu: https://github.com/morrownr/USB-WiFi
The ACHM is a favorite with Kali users. It is not the lastest, fastest adapter available but it certainly does what pen testers want. Other adapters to consider: Alfa ACM All of the above are in The Plug and Play List as well as the Recommended List for Kali. Here is a direct link to the Recommended for Kali List: https://github.com/morrownr/USB-WiFi/blob/main/home/Recommended_Adapters_for_Kali_Linux.md I have several of the adapters that I posted above including the Alfa ACHM, Alfa ACM and Edup EP-AX1672 so if you want me to do some testing, just ask. |
Hi @morrownr, I really appreciate the insight into the different options.
If you have the same or a similar card as mine (RT2770), could you try checking which channels are available on it? Specifically, could you run
This is from my AWUS051NH, 32 available channels, including: 2.4 GHz
5 GHz
I need an adapter that can also work on DFS channels, especially all outdoor frequencies – because those are exactly the channels where internet providers operate (typicaly Ubiquiti AirMax APs in my area), and they are the ones I’m interested in. 😀
Otherwise, I agree with you that the best option for me is probably the AWUS036ACHM |
Sure. I'll use the following adapter. It seems to have the same specs as the rt2770: ID 148f:2870 Ralink Technology, Corp. RT2870 Wireless Adapter Here is what
This makes sense as it is a single band, 2.4 GHz capable adapter. It does not support 5 or 6 GHz. DFS only happens in the 5 GHz band. The AWUS036ACHM adapter is dual band and supports DFS channels in managed mode. I can recheck this is if you want. |
@morrownr Here are my key findings:
Questions: is the current mt7610u driver missing functionality for DFS channel scanning, particularly passive scanning? If so, is there an alternative driver or configuration that could enable full DFS support? Could this issue be tied to the hardware capabilities of the AWUS036ACHM itself, or is it solely a driver issue? could you please test and share results for the following, scanning DFS Channels: I’d like to ask about a specific observation with this adapter. There’s a space in the front of the plastic body that looks like it might be for a status LED. However, when I connect the adapter to my computer, the LED doesn’t light up or flash at all. Despite this, the adapter seems to work: it scans for networks and successfully connects to my home network. Is this behavior normal, or could it indicate an issue with the adapter? Thank you again for the guidance, and I look forward to hearing your thoughts! edit: led is working only when adapter is connected to Windows machine, so this is driver related. |
Hi @Sentello Many questions. Let's unpack this and see what we get.
One of my favorite adapters.
I see.
Instead of that command, which is depreciated, let's try the following command: $ iw list I get this for 5 GHz on a mt7921au based adapter that is connected at the moment:
Notice how channels 52-144 say (radar detection). Those are your DFS channel if in the US. This varies a lot. Radar detection means that before a radio can initiate a radio signal, it must scan for conflicting signals on the DFS channels. This takes about 1 minute. However, if the device is not capable of scanning for conflicting signals, it can't initiate a signal on DFS channels. I'm not aware of any USB WiFi adapters that are capable of doing the scans for conflicts. I have two wifi routers that are capable. That does not mean that you can't use USB WiFi adapter on DFS channels. If fact I do in the normal course of business here. My primary wifi router is set to channel 100, 160 MHz channel width. When I turn the router on, 2.4 GHz comes up really fast but not 5 GHz. Since I am trying to a DFS channel in AP mode, the router has to first scan to see if any conflicting signals are detected. This usually takes around 1 minute. If no conflicts are detected then it starts operating as an AP and I can connect my ACHM to it on channel 100 and use it.
Try it for a non-DFS channel. It should work. You are trying to initiate a signal on a device that is not allowed to do it on DFS channels. Before you say, what is this? Well, I'm not so sure that it matters. DFS channels, in my area, and other areas I have lived, are almost never used. My router using channel 100 is the ONLY AP/router on a DFS channel. Period. If you are passively scanning, there may not be anything to scan. Yes, I regularly see transfer rates of over 1 Gbps.
Then the ACHM should be able to detect it. It will have to get a beacon from the AP. ... I just went and grabbed my ACHM and plugged it into my dev box. Within 20 seconds I was connected to my AP on channel 100. This message is going through my ACHM. Can you set a DFS channel in your AP/router? Not all support DFS.
This is normal behavior as the driver has never supported LED's. That can change but then we would need a way to turn it off. I'm not sure if I helped or caused more confusion. Let me know. |
Hi @morrownr, Thank you for your response, I really appreciate the insights. I’ve dedicated significant time to testing and experimenting to get it working with DFS channels, specifically on 5605 MHz (channel 121). Here’s a summary of what I’ve tried and the results so far:
Notes:
Why do i care about DFS So why do I care so much about DFS? The reason is simple: in the area where I live, most internet service providers (ISPs) operate in the 5 GHz DFS spectrum. There’s likely a good reason for this — perhaps it’s because DFS channels are less congested or because they offer a layer of security that makes networks harder to break into. And that’s exactly what I want: pentesting on the DFS channels used by ISPs. To give you some perspective, when I run a scan with my Ubiquiti outdoor unit, I can detect at least 12 access points operating on DFS channels, all of which are used by local ISPs. Why doesn’t the Alfa adapter support DFS? This is such a critical feature. It makes me question the decisions of the chipset and hardware manufacturers. They create high-performance hardware with great potential, yet fail to provide support for outdoor DFS channels — something that should be standard for a device of this caliber. To me, it just doesn’t make sense. If you have the ability and time to replicate this by configuring a router on DFS channels (like channel 121), it would be great to confirm if you experience the same behavior with the Alfa AWUS036ACHM. Thank you again for your time! |
What country do you live in if you don't mind telling me? I need to know to understand what you should be seeing.
Interesting. I've have never seen an IPS using DFS channels. The big reason is that there are a lot of wireless devices that cannot use DFS channels. An example would be Roku devices for TV's. If ISPs tried to use DFS channels, they will end up with customers complaining.
Yes, it does. I am connected to a DFS channel right now with my ACHM. This message will go through a DFS channel. I think you have a misunderstanding of how DFS channels work.
It does.
My router is almost always on a DFS channel. I cannot set channel 121. I can set channels 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140 and 144. My country code is US. This can and does vary considerably depending on your location. Would you like for me to set one of the channels that I can set? It is on channel 100 currently and it works well.
Here is a link to the Wikipedia page that goes over wifi channels. In my country, there is no differentiation between indoor and outdoor for DFS channels so I really need to know your country. I cannot address some of these issues without knowing country. If you have said what it is then I missed it and would for you to tell me again.
That can be normal. I'm am still confused by channel 121. I have not seen any APs that were capable of DFS channels that could set that channel.Maybe it is possible as there is variability in the coding of equipment.
Like I said earlier, I have never seen this in my country. DFS channels are avoided like the plague by ISPs. What channels are the those ISPs using? Let's review some information about DFS channels: DFS (Dynamic Frequency Selection) channels in WiFi refer to a set of 5GHz channels that are shared with radar systems, allowing Wi-Fi devices to utilize these frequencies while ensuring they don't interfere with active radar signals by constantly monitoring the channel and switching if necessary; essentially providing access to more 5GHz channels by dynamically avoiding radar interference, which is crucial in areas with high radar activity. My comment: Remember that setting a DFS channel is not a guarantee that you will get to use the channel that you set. You might use it for a while and then get booted. The AP/router has to continuously scan for radar's that have priority and if a signal is detected, your AP/router must immediately switch you off of the DFS channel you are using. This is another reason that ISPs don't like DFS channels. Radar priority: The primary function of DFS is to prioritize radar systems, meaning a Wi-Fi device operating on a DFS channel must vacate the channel immediately if it detects a radar signal. My comment: Just because you want to use a DFS channel does not mean that you will be able to do so. I happen to live in an area where there are no conflicting radar signals. Channel availability check: Before using a DFS channel, a Wi-Fi device performs a "channel availability check" to ensure no active radar is present on that frequency. Potential for disruption: While offering more available channels, using DFS channels can lead to occasional brief interruptions in connection if a radar signal is detected and the device needs to switch channels. Regulation-based: The specific DFS channels available vary depending on the region due to different radar regulations in different countries. My comment: I wrote out the DFS channels that are available to me in my country. Your available channels may be different. One last thing:
Depending on the age of your Linux distro, that may not work. Here are some links that may help: https://www.marcusfolkesson.se/blog/linux-wireless-regulatory/ I hope this information was helpful but much more information is available. Regards |
Hi everyone,
I’m in the process of upgrading my Wi-Fi adapter and could use some guidance. I currently have an Alfa AWUS051NH ( RT2770), which has been a solid performer over the years but doesn’t seem to support the complete 5GHz spectrum, particularly DFS channels. Despite setting the regulatory domain to US or 00, I still can't scan or use those channels. I’ve tested this on both modern Linux distros (Kali, Arch) and older ones like BackTrack 5, with no success.
so now I’m considering two Alfa cards:
I am of course attracted to AWUS036AXML, but I couldn't find anything about channel support.
My main requirements are:
Alternatively, if there are other adapters you’d recommend for this use case, I’m open to suggestions.
I’ve read through #370 but didn’t find a conclusive answer regarding these cards and their DFS support
Thanks in advance for your help!
The text was updated successfully, but these errors were encountered: