-
Notifications
You must be signed in to change notification settings - Fork 179
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]: suggested Wifi6 5Ghz hostapd.conf results in "80/80+80 MHz: no second channel offset" error #520
Comments
My ability to help is limited because of your use of Devuan Daedalus. It would be easier for me to help if you used Debian 12 Bookworm or any of the many distros directly based on it that retain systemd. That they have pulled out systemd makes me wonder about what else they have messed with. The errors you are seeing are not something I have had to deal with so I'm not sure where to start. I have kept a guide to building an ap up on this site for several years and it has evolved over time as I test and improve it as I can. The guide currently makes heavy use of systemd and has proven to be a really solid guide. The guide is on the Main Menu just above the link to the WiFi 6 hostapd.conf example you are using. While the guide uses RaspBerry Pi OS, it works well with Debian 12 as well. The guide currently is tilted toward WiFi 4 and WiFi 5 but it is simple to substitute the WiFi 6 example. If you do try Debian 12, it defaults to kernel 6.1 but it has additional more modern kernels to choose from. You can start synaptic and search for linux-image. I recommend kernel 6.6. You might also want to follow the Firmware guide on the Main Menu so as to make sure the firmware for your adapter is up to date. Once you are set up, you can follow the AP guide and if you have any questions, come back here and ask. I have the same Edup adapter that you have and it is currently pulling duty as an AP following my AP guide and the WiFi 6 guide you are trying so I am well equipped to help if you need it. Regards |
Hi @morrownr, thanks for your prompt response and sorry for the delay in getting back to you.
This is not a problem, it's not much trouble for me to try and reproduce the issue under Debian. That said, I do not understand why or how systemd could be in play here: you see, the problem comes up with me executing
You mean this one, right? https:/morrownr/USB-WiFi/blob/main/home/AP_Mode/Bridged_Wireless_Access_Point.md The reason I have not followed it is because my AP does not operate in "bridge" mode, but rather in "router" mode and with some complexities involved (ipfilter rules, virtual machines running and being routed/filtered, etc). I will try and follow this guide of yours and try to reproduce the issue, as many of the steps involved apply only to a Raspberry Pi setup ("Reduce overall power consumption", etc) I will skip these steps. I will get back to you with the results. Thanks again. |
It may not be in play but it is easier for me to help you if I can play along and test things here. I have various test systems but all are based on distros that use systemd.
Yes
I understand. My guide is not for "router" mode but what I do is offer my opinion as to what might be the best solution for "router" mode in the document. I recommend using OpenWRT if you need "router" mode. OpenWRT has the driver for your adapter. In fact, some of the Mediatek kernel devs hang out at OpenWRT so anything Mediatek is supported better than anything else. The soon to be released OpenWRT One router is based on the Mediatek mt7981 SOC.
If you are looking for "router" mode, my guide will not get you where you want to do as even the networking is handled by systemd. Think about using OpenWRT. I'll be glad to assist if you want as I have time. |
Again, thanks for your kind and prompt response, @morrownr! Much appreciated!!
Thank you for your suggestion, but unfortunately I can't use OpenWRT because being an AP is only one of this machine's functions -- it must also run software that does not run in OpenWRT. Debian is mandatory for my use case.
Thanks for the detailed explanation, and I have good news: I brought up a machine using plain Debian 12 Bookworm and your aforementioned guide -- and
The only things I changed on your Attached please find my Please let me know if you need anything else, and thanks again for all your help and kindness. |
Hmmm... Post the contents of the following file: $ sudo nano /etc/NetworkManager/NetworkManager.conf Post the result of the following command: $ iw dev |
Sorry for the delay, something happened and I didn't get a notification for your comment above, just saw it now when I came back here to check. Here's the info you asked for:
Please let me know if you need anything else, I will be camping on this page so as to be able to respond faster. |
This is a puzzle. What does the following command give you? $ hostapd -v |
And here's the exact installed package:
Anything else I can provide? |
That is the same version I am running. My AP setup: RasPi4b I am not seeing this issue and, infact, I cannot say that I have ever seen that specific set of issues. The only obvious difference in our setups is that you are running a If I come up with something, I'll let you know but I am stumped for now. |
Checklist
uname
Linux REDACTED 6.10.6+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.6-1~bpo12+1 (2024-08-26) x86_64 GNU/Linux
lsusb
Bus 001 Device 077: ID 0e8d:7961 MediaTek Inc. Wireless_Device
rfkill
8: phy6: Wireless LAN Soft blocked: no Hard blocked: no
dkms
iw
What happened?
I just bought this adapter: https://www.amazon.com/EDUP-Wireless-802-11AX-Tri-Band-Compatible/dp/B0CZ82RM5L, as recommended here: https:/morrownr/USB-WiFi/blob/main/home/USB_WiFi_Adapters_that_are_supported_with_Linux_in-kernel_drivers.md
I'm trying to use it with hostapd using this configuration file: https:/morrownr/USB-WiFi/blob/main/home/AP_Mode/hostapd-WiFi6.conf (only lines changed:
ssid=
,wpa_passphrase=
andinterface=
.When I run hostapd with this configuration file, I get a
80/80+80 MHz: no second channel offset
error:Further details:
Thanks in advance for any and all help and tips.
The text was updated successfully, but these errors were encountered: