Raspberry Pi 4B + 2x MT7612U #213
Replies: 16 comments 11 replies
|
Are you doing dual band? We've been going over that in this ol thread here using Raspberry OS on a pi 4. I haven't experienced any crashing under load issues. Got any /var/log/syslog output around the time of crash? It could be a power issue, though both the ACM's are 400ma a pop. Are you using a USB hub? And did you peruse the guide? There's a section there on the Scatter-Gather parameter you may want to check into, more detail here: |
|
I only used 5ghz for my AP so I wonder if that lessens the problem.
|
|
It can be hard to determine what reduces problems related to RasPi4B's and AP mode. It can be very stable but a lot of trial and error can be required depending on what you are doing but I think you already know this. The things that experience has taught me:
I see you are trying to set up a WiFi client feeding an AP. That can be a challenge because basic networking does not want you to do that (and for good reason). I'd be interested to know what guide you are following so I could experiment with a setup like this and maybe add some info to my guide. |
|
OK. Here is what I've just done:
I will get the original Raspberry Pi PSU Thursday so I'll test it then. |
On 5 GHz, there are regular channels and DFS channels. The channels that fall into each category depend on your country. The mt7612u driver does not support DFS channels for AP mode. It supports DFS channel for managed mode just fine. In my country, 36 is a regular channel but 52, 60 and 100 are DFS channels. We also have 149 as a regular channel.
It very well could be a power issue. I've learned with Pi's that trial and error are the only way to make things stable. USB3 is a little more problematic than USB2 and always has been. You said |
|
I've got the official PSU. Still no joy on USB3. WiFi to WiFi bridge fails a speed test (usually first speed test, sometimes I manage to run the 2nd, but it crashes on the 2nd). On USB2 everything works well, I'm managing to do as many speed tests as I want. It also manages to finish my 20GB local transfer test. Any ideas how to proceed to make it work on UBS3? |
|
I used wired to my home network with a ethernet to USB3 dongle and a AWUS036ACM on 5ghz for my AP.
I guess I lucked out with the powered USB 3 hub hub.
I also compiled my own openwrt since it was before the raspberry pi4 was officially supported.
Did you verify scatter gather stays off after a reboot?
Would you be able to try only one AWUS036ACM?
Or maybe 2 but on different bands.
|
|
Also make sure the firmware is updated too.
You might need to use RaspbianOS.
sudo rpi-update to run the utility,
|
|
New idea: I get a router that can run OpenWRT and has a capable USB 3.0 port that will allow me to plug in one AWUS036ACM. |
|
Good idea.
I would browse the openwrt forums to find a cheap router.
|
|
That is a good idea. I've used the OpenWRT forums for years to figure out what wifi routers to buy and it works well. If you will check your local sources for routers in your price range and post a list here, I'll do some recon at OpenWRT and offer some recommendations. I don't hang around there to see what works. I do it to find out what works really really good. My main router these days is a ZyXEL NBG6817 (Armor Z2). I don't think it is still for sale but wow, it is good and works so well with OpenWRT. It has two USB ports. One is a USB3 port and the other is USB2. My ACM lived in the USB3 port for a long time and wll eventually find its way back there when I am finishing doing some testing. I use the ACM on channel 36 as that is the least congested non-DFS channel in this area and I need something non-DFS as I have a couple of household IoT things that won't do DFS. The internal 5 GHz radio is on channel 116 DFS as that is what I use for my LAN. It is Wave2 and is FAST! This setup with 3 radios works well. Extremely stable. |
|
It's supposed to be a travel router, so I'm not looking to spend tone of money. I'm expecting to get stable 150Mbps wireless and be OK for 6-7 devices. Do you have any experience with any of them? |
|
Do you have links to the Linksys routers you are talking about?
A travel router in this day in time is generally something that is small, hard to damage and can fit in a small pouch. It takes a wifi signal in and provides both a wifi signal out and a ethernet port out. It can also provide additional capabilities like vpn, etc. Generally it needs to provide 100-200 Mbps. There is no need for more in most cases and that is pretty fast. It does not need long range since you will usually be close to the router. Given the above, a RasPi4B in a nice solid case should work well and is flexible. If you have a good power and one wifi adapter that can support the above, it is a matter of setting it up like you want. I would not use an Alfa ACM is it is a big adapter with multiple antennas and has more speed than you really need. A single antenna adapter with a mt7610u chipset to receive should work well and using the Pi internal 5 GHz for transmitting signal should work for this situation. If you want to investigate this, I can find and forward a guide dpending on whether you want to use the RasPiOS or OpenWRT. |
|
I looked at the two routers you mentioned. It might be a good idea to continue the search. I think you can do better. Disclaimer: I am not fan of Linksys. Something like this? https://www.amazon.com/GL-iNet-GL-A1300-Encrypted-Tethering-Pocket-Sized/dp/B0B4ZSR2PX List of OpenWRT supported adapters by the same maker: Recommend you stick to Qualcomm/Atheros or Mediatek chipsets. We can still look at a RasPiOS solution if you are interested. I've been thinking about making a new guide for what is basically a travel router. |
Yes, absolutely. I guess I should have said that.
It is not on the list yet. Will it be at some point? Probably but there is no way to know. It uses the same chips as a couple of routers that are supported so my best guess is that it is a matter of someone taking on the task. That specific model appears to be fairly new to the market. This is just something that you need to research to make sure you know what you are getting. My best guess is that you would be happier with something like this rather than the Linksys models.
Not necessarily. There are two things about the RasPi4B that I really hope that is improved in the next Pi.
Somewhere up there in one of your previous messages you say that with the cards connected to USB2, everything works. Well, that is my experience as well when using multiple usb wifi adapters on a Pi4B. It does not matter if you mix and match adapters, drivers and chipsets. I have many adapters and have tested many combinations. With a Pi4B, you have to fiddle around until you find what is stable. Unless you need more than one usb wifi adapter in USB3 ports, stay away from it (Pi4B only). My opinion is that you can get the capability you want, around 150 Mbps, using only USB2 ports. This is in theory only. Now, I know you said things were slow but you need to understand that the hardware, the adapters along with their supporting drivers can only do so much. Ultimately what throughput you get is also determined by the congestion on the channels in use in the area where you are going to use them. Please understand that WiFi is designed to be a shared technology. Anytime you have your device on a channel where there are other AP's on the same channel, there is sharing on the available bandwidth going on. In looking back at the messages where you posted your throughput, I see the probability in several cases where the low throughput was probably due to congestion. You can't win that battle unless you control all wifi ap's in your area so you have to come up with a plan based on good knowledge of how wifi works. If you look at the wifi speed test I have on the Main Menu, you will see some high numbers. That is due to me using my knowledge to maximize the capability and air that I have available to me. My LAN runs on a DFS channel and it smokes. On the other hand, some devices can't use DFS channels and some devices can't use 5 GHZ so I have 3 radio's going:
My wifi usage in home works very well. Family never complains. Now, for a travel router where you will not control the wifi situation, you should not expect optimal results. You may never get even close to 150 Mbps and it is not the fault of your equipment. I can go through all of the reasons why this is unlikely if you want. If it were me, I would lower my expectations and just concentrate on flexibilty and mobility. Unless you are in a hurry, just keep an eye on the brand of travel routers we discussed and use your time for now to work with me to learn about wifi while we both use a RasPi4B, RasPiOS, one Alfa ACM, and a good power supply to build a guide and solid, yet flexible "travel router." Are you up for it? |
|
It has been a long time since the internal wifi on my RasPi4B has seen the light of day so I thought I would do a little testing. In managed mode, I could get around 60 Mbps on channel 11. That channel is very lightly congested. I could get around 130 Mbps on channel 60 (DFS, no other APs) for 5 GHz. Then I decided to do a comparison first with the Alfa ACM: And then with my CF-951AX with a mt7921au chipset and RasPiOS upgraded to kernel 6.1 with the latest mt7921 firmware. It showed an average of just under 650 Mbps. It is wave 2 capable and so is the router so, of course, it was smoking! So, no need to press on to AP mode with the RasPi internal wifi. Broadcom is near the bottom of my preferred wifi chipset list but I wanted to see for myself. I know, you told me so. It is not clear to me why the problem with 2 ACM's. Do you have any other usb wifi adapters that could be tested?
That is something I may be interested in. I can't do it right now as I am in the process of moving. Maybe in a couple of months we could look at this. All indications are that it would not be that difficult. Many current wifi 6 routers are a challenge to get OpenWRT going as some of the makers are locking them down with secure boot and it can take time to jailbreak. |
Uh oh!
There was an error while loading. Please reload this page.
Hi!
I wanted to create a Wifi to Wifi travel router. The integrated Raspberry Pi 4B wifi is not the greatest, so I got 2 Alfa AWUS036ACM.
And it crashes under load non-stop. Most of the time I can't even finish a speed test.
Is there a solution to this?
I've read this thread and it seems like it's a dead end... openwrt/mt76#405
All reactions