Buying advice #358
-
I need to buy a (possibly inexpensive, but known to work well) USB WiFi adapter to be used to add Access Point / Captive portal capabilities to my Firewall. I would like to have Dual Band capability 2.4G+5G (I suppose this will raise cost, but that's OK... to a point). It should also have decent power since I need to use it in-house, possibly with concrete walls to traverse. Size doesn't matter and neither the number of antennas. I have choice to connect it to OPNsense firewall (based on FreeBSD) or on some Debian Linux (bookworm) box. I tried perusing Amazon but there are simply too many possibilities and I have difficulty pinpointing the TiA! |
Beta Was this translation helpful? Give feedback.
Replies: 15 comments 8 replies
-
Hi @mcondarelli
That is the main reason I started this site a few years ago.
There are low cost adapters that work well with Linux that are single band, dual band and tri band. You are also asking for good range and that where the cost increases come in. Range is provided by high quality antennas and amps which can driver the price up. It would help if we had a rough idea of the price range that would be acceptable to you. Is $40 USD in budget?
Captive portal capabilities sounds like monitor mode and packet capture?
I use Debian 12 along with other distros here. This latest version of Debian includes good support for WiFi out of the box. We may need to do some digging regarding FreeBSD but that can happen as we narrow down the options. Based on what I see in your message, I think the following chipsets are your best options: mt7610u (dual band, AC 600) With some answers to my questions, I can provide recommendations for specific adapters and links to known good sellers... including sellers on Amazon. Cheers, |
Beta Was this translation helpful? Give feedback.
-
No problem. I've lived and worked in several places in the world. I can do currencies. Here is a started recommendation: Alfa ACHM: Why would I recommend this adapter? Based on my testing and experience with it, this adapter has the best range of any WiFi 5 dual band adapter on the market. I have a document showing test results but the test is from 2021 so is a little dated so I do not show this test on the Main Menu: https://github.com/morrownr/USB-WiFi/blob/main/home/Performance_Comparison.md You can see from this limited test data that there is a lot of variation in range between various adapters. I have an ACHM. It is not the latest technology but is a 24/7/365 stable adapter that works with the mt7610u in-kernel driver so it is plug and play on distros such as Debian 12. The driver is maintained by Mediatek devs.
The ACHM is an AC600 adapter. This is not the latest technology but is capable of link speeds of 400 Mbps on 5 GHz so it is capable of pumping packets at speeds that will handle many use cases for probably several years. It is a USB2 adapter. Some might prefer a USB3 adapter for higher speeds but USB3 is not mankind's greatest invention. USB2 is more stable and problem free. I have some other ideas but it might be better if you look to see what is available and send the links. Alfa has a good reputation of quality adapters that have good range. They are not cheap. Panda also has some good products so searching to see what Alfa and Panda adapters are available might help. All Panda adapters are plug and play on Linux. Not all Alfa adapters are plug and play on Linux but many are. To get the more future proof adapters, you might lean toward the adapters with the mt7921au chipset. I don't see any adapters with that chipset that have long range at this point but some may appear as that is still a fairly new chipset. Speaking of new chipsets, the driver for the new mt7925 chipset just went into kernel 6.7 and firmware was added to the repo so we should see new adapters based on the mt7925 at some point this year. That is a WiFi 7 tri band chipset. Support is already in the kernel and we are sitting on our hands waiting for products to hit the market. Things have changed a lot in the USB WiFi adapter market for Linux in the last few years, |
Beta Was this translation helpful? Give feedback.
-
Thanks @morrownr, I see several mt7921au adapters (like this, this or this) on AliExpress; they are inexpensive but I'm unsure about power (at this low price I could even decide to "just try" something). Please advise. |
Beta Was this translation helpful? Give feedback.
-
The link I thought I was sending was to the:
Not sure what happened with the link. Maybe this will be better: Regarding the links you sent:
Here is a link to another adapter similar in capability and price to the Fenvi adapter: https://www.aliexpress.us/item/3256804283254522.html?gatewayAdapt=glo2usa This Comfast adapter was the first mt7921au based adapter on the market last year. It is called the CF-953AX. I've seen a lot of discussions about it and it seems to get good reviews. It is a very low price adapter so average range is about the best you should expect. It will be plug and play with Debian 12 but unknown currently on FreeBSD. That is a very modern tri band chipset so driver support on FreeBSD might not be in place but I don't really know. At that price, you could always just give it a try. It can be handy to have an extra plug and play adapter available for other projects. You might want to get one of the L shaped usb adapters or a short extension cable depending on where you intend to use it. |
Beta Was this translation helpful? Give feedback.
-
Please do come back and give us a report. Let's leave the thread open if that is okay with you. This site gets about 22,500 hits per week and many that stop by like to read this part of the site and the Issues part of the site to see what is being talked about or to see the latest news. I think this issue has information that might be of interest to others. Glad you stopped by. |
Beta Was this translation helpful? Give feedback.
-
I tried to reply earlier but somehow it got lost. Thanks for all advice. FYI:
MANY Thanks until then ;) |
Beta Was this translation helpful? Give feedback.
-
See you when have had a chance to try the adapters. Remember that both adapters will be plug and play on Debian 12. I see folks that have something in their setup that may cause the adapter to not work and then they mess things up trying to fix many things that are not broken. If either adapter does not immediately come to life, come back here and let us know. |
Beta Was this translation helpful? Give feedback.
-
Please note I am not using a full Debian 12 (i.e.: |
Beta Was this translation helpful? Give feedback.
-
I cannot as I am running only the full Debian 12 here. What you can do is check to see if the firmware files and driver are where they should be. If they are, you should be good to go. Do you know where to check and what to check for? |
Beta Was this translation helpful? Give feedback.
-
I run my RasPi4B headless.
I have an AP guide on the Main Menu. It is not designed to do exactly what you are doing as far as I can tell but many parts could be useful to you.: https://github.com/morrownr/USB-WiFi/blob/main/home/AP_Mode/Bridged_Wireless_Access_Point.md You can see that I only use systemd-networkd, systemd-resolved and hostapd. Take a look and ask questions. |
Beta Was this translation helpful? Give feedback.
-
You are trying to use the AHHM as a 5GHz band AP, right? [Match] Change it to: [Match] This is just based on a very quick read. |
Beta Was this translation helpful? Give feedback.
-
Your lan/internet connectivity is coming in via your ethernet port, correct? What does the following show? $ iw dev |
Beta Was this translation helpful? Give feedback.
-
That indicates that you likely have a good 5GHz band AP setup. It is using channel 36 with a 80 MHz channel width. Interface type is showing as AP. I would not touch the hostapd.conf or anything else to do with hostapd as it looks correct. I think you said you are able to connect to AlfaNet with a client? So, if you do not have internet connectivity, the problem is with the networking. My guide is setup for a somewhat more simple setup so I think we just need to figure out what is the problem with the network. I have other work to do for now but will try to find time this evening to look over the details you have posted. |
Beta Was this translation helpful? Give feedback.
-
I just checked my guide and my memory was bad. You indeed should use the ethernet interface: sudo nano /etc/systemd/network/20-bind-ethernet-with-bridge-br0.network
For eth0, use the ethernet interface that has the lan/internet connectivity. My bad. |
Beta Was this translation helpful? Give feedback.
-
You might think about looking at some systemd-networkd docs: https://manpages.debian.org/bookworm/systemd/systemd-networkd.8.en.html https://manpages.debian.org/bookworm/systemd-resolved/systemd-resolved.service.8.en.html The setup I have in my guide is just a very simple setup that works if someone is looking for something simple that is very stable. There are a lot of additional configuration options. Some might be needed to do what you want to do. |
Beta Was this translation helpful? Give feedback.
@mcondarelli
The link I thought I was sending was to the:
Not sure what happened with the link. Maybe this will be better:
https://www.amazon.it/ALFA-Network-AWUS036ACHM-802-111AC-Adattatore/dp/B08SJBV1N3/ref=sr_1_1?__mk_it_IT=%C3%85M%C3%85%C5%BD%C3%95%C3%91&crid=2SW5LWIICS48G&keywords=Alfa+ACHM&qid=1704386022&sprefix=alfa+achm%2Caps%2C191&sr=8-1
Regarding the links you sent:
Here is a link to another adapter similar in capability and price to the Fenvi adapter:
https://www.aliexpress.us/it…