Replies: 21 comments 26 replies
-
Hi @farrisce This sounds like fun. Let's see what we can do. Post the output of: $ iw dev |
Beta Was this translation helpful? Give feedback.
-
Okay. The first thing I am going to recommend is the following from the guide:
You have a setup that can and will switch which adapter is band 1 and which one is band 2. We can't have that so we need to lock the interface names. Once that is complete you need to make appropriate changes in both of your hostapd.conf files. Now post the contents of both hostapd.conf files and the options line from the active 88x2bu.conf file ( ./edit-options.sh ). |
Beta Was this translation helpful? Give feedback.
-
I'm going to recommend that you switch this setup and have the ALFA do 5 GHz and the 8812bu do 2.4 GHz. The reason is that during testing of the 88x2bu driver before we released it, we found a problem in AP mode that was specific to RasPi4B's. The problem only showed up in 5 GHz. I would like to know how many and what type of usb devices are plugged into your usb ports. The RasPi usb subsystem can only supply a total of 1200 mA or power. The Alfa will use about 380 mA during heavy use and the 8812bu will use around 500 mA during heavy use. If you have other usb devices plugged in, you could be pushing the amount of power available. |
Beta Was this translation helpful? Give feedback.
-
Good.
Go to: https://github.com/morrownr/7612u Go down to where it says |
Beta Was this translation helpful? Give feedback.
-
Okay, I have created confusion. Sorry. There is no need to do anything with the Alfa driver as far as installation is concerned. It is an in-kernel driver and the version you have should work fine. My installation instructions are not for installing a driver, it is simply to install a script that makes adding the |
Beta Was this translation helpful? Give feedback.
-
Just to clarify: The |
Beta Was this translation helpful? Give feedback.
-
He he. Confusion can happen when setting up a dual band AP. You are getting good speed, we think, but this is something that can depend on many things. How many 5 Ghz AP's are on the same channel in close proximity? WiFi is designed to share so if there are many AP's in the same channel, things could slow down at times. There is also the issue of distance and obstructions. It can take a while to get these dual band setups fully optimized but it is good for learning. If you are interested in having me take a look at the hostapd.conf files, please post them. Also, have you tested 2.4 GHz yet? |
Beta Was this translation helpful? Give feedback.
-
Glad it is working well. The setup you have can be turned into a full up wifi router should you need that capability. The cool things is that the RasPi4B has enough horsepower to handle a 1Gb network so it can outrun most of the consumer wifi routers on the market. You know where to get me if anything comes up. Regards |
Beta Was this translation helpful? Give feedback.
-
On a separate note, you should upgrade your rpi kernel to 5.15, as the 5.10 version does not handle usb wifi adapters well on rpi. To update, run |
Beta Was this translation helpful? Give feedback.
-
Hi @farrisce It took me a while to reread the thread and get back up to speed. I don't think the 5.10 kernel has anything to do with this. My Pi4B that is running as an AP is rock solid with 5.10. It has the 7612u based adapter doing 5 GHz and another adapter doing 2.4. In the last 6 months, the only time I was able to find a problem was when getting the latest 88x2bu driver ready for public release. It would cause exactly what you are talking about... the network would simply drop offline and either restarting hostapd or a reboot and it would come back. We were able to mediate the problem by limiting adapters based on the 8812bu chipset to certain things. What I really need is to see both of your hostapd.conf files and the 88x2bu.conf options line (./edit-options.sh). I think you said you did not have a gui running. That is fine. nano can do mark and copy... just look at the little menu at the bottom of the screen when running nano. If you are accessing the Pi via VNC, copied stuff is available all you need to do is paste it here. It would be best if you use ``` above and below what you paste so as to keep it organized. Regards |
Beta Was this translation helpful? Give feedback.
-
Hmmm... sudo nano /etc/modprobe.d/88x2bu.conf Changes the options line to: options 88x2bu rtw_switch_usb_mode=0 and plug the 8812bu based adapter into a USB2 port, not USB3. |
Beta Was this translation helpful? Give feedback.
-
Sigh... What could be the difference? My little Pi4B with a 7612u based adapter pulling duty as a 5 GHz AP (and another adapter working as a 2.4 AP) has been going for a week. I never see a drop. The only reason for only a week is that I took it down to change out some hardware. I'm beginning to wonder if it is something besides our configuration. Do you have an extra sd card that you could burn a current copy of RasPiOS so we can start fresh? |
Beta Was this translation helpful? Give feedback.
-
Still up? |
Beta Was this translation helpful? Give feedback.
-
No. See below:
Yes
Not really. |
Beta Was this translation helpful? Give feedback.
-
Darned sd cards. Sure, I have a lot of ideas but it would take several pages to write them all. Let me suggest that you use my guide to work your way through the settings: https://github.com/morrownr/7612u/blob/main/AP_Mode-Bridged_Wireless_Access_Point.md |
Beta Was this translation helpful? Give feedback.
-
Thanks so much for your help. The setup is working perfectly. I had to make two changes:1. Switch to two Alfa WiFi adapters 2. Increase the power to 6.6vCan you recommend a powered usb hub so that I can reduce the power back to 5v?On boot I have to start a 5v and slowly increase the power to 6.6v or it won’t boot. One other question, I’m adding an usb Ethernet to br0 and it doesn’t survive a reboot. I’m loading via systemctl but I don’t thing I have it loading in the right order. Thanks!On Feb 16, 2022, at 8:45 PM, Nick ***@***.***> wrote:
Darned sd cards.
Sure, I have a lot of ideas but it would take several pages to write them all. Let me suggest that you use my guide to work your way through the settings:
https://github.com/morrownr/7612u/blob/main/AP_Mode-Bridged_Wireless_Access_Point.md
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi @farrisce
It is probably best if your search and maybe ask this question over in the RasPberry Pi Forums. The one I have is the: Transcend USB 3.0 4-Port Hub TS-HUB3K ...but researching the issue in the Pi forums is a really good idea.
If I am understand you correctly, you may want to turn on
Cheers |
Beta Was this translation helpful? Give feedback.
-
Hi there,My setup has been working great, I appreciate all of your help. I’m setting up another rig to route Dante traffic (audio over IP)They specify the following QOS:PriorityUsageDSCP LabelHexDecimalBinaryHighTime critical PTP eventsCS70x3856111000MediumAudio, PTPEF0x2E46101110Low(reserved)CS10x088001000NoneOther trafficBestEffort0x000Is there any way to do this in raspbian? I have a tp link usb Ethernet adapter for lan traffic which is bridged to the WiFi adapters. I can forego WiFi if needed if I can do the above on the usb Ethernet. Thanks so much!!On Jul 30, 2022, at 5:26 PM, Nick ***@***.***> wrote:
Hi @farrisce
Can you recommend a powered usb hub so that I can reduce the power back to 5v?
It is probably best if your search and maybe ask this question over in the RasPberry Pi Forums. The one I have is the:
Transcend USB 3.0 4-Port Hub TS-HUB3K
...but researching the issue in the Pi forums is a really good idea.
I’m adding an usb Ethernet to br0 and it doesn’t survive a reboot. I’m loading via systemctl but I don’t thing I have it loading in the right order.
If I am understand you correctly, you may want to turn on predictable network interface names:
Enable predictable network interface names (from my Access Point guide)
Note: While this step is optional, problems can arise without it on dual band setups. Some Linux distros have this capability enabled by default but not the Raspberry Pi OS.
sudo raspi-config
Select: Advanced options > A4 Network Interface Names > Yes
Cheers
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I have this hub:
https://www.amazon.ca/gp/aw/d/B0885XXTWD
It may have changed since I bought it or maybe the one I bought was a fluke to work with my stuff.
The Transcend is 2a/port but I think the one I have is 3a/port.
I think whatever hub you try is very hit and miss.
|
Beta Was this translation helpful? Give feedback.
-
I got this one |
Beta Was this translation helpful? Give feedback.
-
Thanks so much for your work and contributions to the community regarding using Pi as access points. I'm using 5.10.63-v7l+ and two USB adapters, one Alfa 7612u usb Id 0e8d:7612 and a TeckKey 88x2bu usb id 0bda:b812. I'm trying to use hostapd to create a 5 ghz network and a 2.4 ghz network. I've experienced a range of issues, most commonly networks run for a while and disappear, static ips disappear etc. I have about 220 mbs coming in but struggle to get 100 mbs via WiFi. I'm using two copies of the hostapd.conf that is on the bridged network how-to. I've also received the error that the 7612 does not support GF. I've also upgraded to 5.10.88 and was unable to install the 88x2bu driver as dkms could not find the kernel source. If you would happen to have a working disk image of raspian or openwrt that maximizes the throughput of one of the usb dongles to in order to get close to 220 mb, and the access points are stable I would really appreciate it.
Beta Was this translation helpful? Give feedback.
All reactions