Skip to content
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

5Ghz Issues #38

Open
bits3rpent opened this issue Apr 21, 2015 · 27 comments
Open

5Ghz Issues #38

bits3rpent opened this issue Apr 21, 2015 · 27 comments

Comments

@bits3rpent
Copy link
Contributor

Hey guys, it seems that 5Ghz does not work. I am using an Alfa's AWUS036AC adapter and an ASUS AC56 to test this driver. In clarification, I can see my 5Ghz network, but cannot seem to connect to it about 80% of the time. When I do, the connection is not that stable.

For example, my ASUS RT-AC66U Router has two networks
NetworkTheta - 2.4Ghz (this works all the time)
NetworkTheta5Ghz- 5Ghz (can always view as stated above, rarely connect)

I am actually using gnab's repo right now, and the issue I posted is right here
gnab/rtl8812au#2

I am using Fedora 21 Workstation x86_64 with the latest kernel (at the time of this post 3.19.3-200.fc21.x86_64)

the dmesg of a successful 5Ghz connection: https://mega.co.nz/#!rVUiAYiJ!6vpJra9s8LnexQ92i5NF0YsgCKPM4C4-Z195f46btMk

the dmesg of a failed 5Ghz connection: https://mega.co.nz/#!PM9y2AxI!8oxhR19pmJvk2TAjyunmcT6Npi1NoMiTwRU8AgtWXEk

Thanks in advance!

@simonsmiley
Copy link

since it's a 5GHz issue I might even discuss it here, so other people can participate.
I'm using an archer T4U with pull request #40. It compiles fine, and I can connect to the 5Ghz network but only using 802.11a which makes it quite useless. I bought the adapter to use 802.11ac. I'm running archlinux with a 3.19.3 kernel

@bits3rpent
Copy link
Contributor Author

How did you find that it supports 802.11a, does your router support only using a?

@simonsmiley
Copy link

I have a Netgear R7500 which supports ac. I'm connected to the 5GHz network but with a maximum bandwidth of 54 Mbits/s which makes it 802.11a It should be at at least 10 times that value with 802.11ac

@bits3rpent
Copy link
Contributor Author

I seem to be having trouble connecting to my 5Ghz network as mentioned above. /var/log/wpa_supplicant.log shows that I somehow do connect to it. What do your logs show?
wlp0s20u1: Trying to associate with 54:a0:50:58:7f:bc (SSID='NetworkTheta5Ghz' freq=5180 MHz)
wlp0s20u1: Associated with 54:a0:50:58:7f:bc
wlp0s20u1: WPA: Key negotiation completed with 54:a0:50:58:7f:bc [PTK=CCMP GTK=CCMP]
wlp0s20u1: CTRL-EVENT-CONNECTED - Connection to 54:a0:50:58:7f:bc completed [id=0 id_str=]
wlp0s20u1: CTRL-EVENT-DISCONNECTED bssid=54:a0:50:58:7f:bc reason=3 locally_generated=1

@bits3rpent
Copy link
Contributor Author

My Alfa card still cannot connect to my 5Ghz network, but my latest pull request seems to have gotten 5Ghz to work on AC56 with no issues.

@simonsmiley
Copy link

I do get these errors sometimes with another card. didn't get them with this one though. it's not showing anything interesting. Just that the connection is made and what frequency...

@bits3rpent
Copy link
Contributor Author

Have you connected to your router on other devices?

@Umookaep
Copy link

Same problem here, i can create 5GHz access point with hostapd. I can see the SSID but cannot connect to it. Creating a 2,4GHz access point is working fine. Maybe its a Problem of my Nexus4... i will check it with some other devices.
Used adaptor: Netis WF2190 AC 1200 / Debian Wheezy 3.16 kernel

@harshavardhana
Copy link
Collaborator

I have been able to use this module with a 5ghz expander network without issues on Ubuntu 15.04 .

@simonsmiley
Copy link

@harshavardhana and is it ac? or just a?

@joseph-jja
Copy link
Contributor

I have ubuntu 14.04 and kernel 3.13.0-55 and it seems to be working fine now. I did split my 2.4 and 5 into different SSID's happ_2.4 and happy_5 ( not the real names before the _ but after it is ). I used to have them both with the same name, but split them yesterday. I have not had a disconnect today, nor an oops. I also changed my 2.4 to only use the 20Mhz channel for less interference. The driver seems to work fine with my edimax 7822UAC. Have you tried the latest?

@crholm
Copy link

crholm commented Sep 29, 2015

I did some testing of different settings in regards to this since i was experiencing some of the problems above.

I am running kernel 3.13.0-57, with a ASUS USB-AC56 and a ASUS Rt-AC66u router running 5Ghz at 802.11AC. The symptoms are problem getting it to work with dhcp, once connected (with static config) http traffic works sporadically. Some pages works fine and others did not, both using domain names or straight up ip addresses. Switching from AC to N made all problems go away so to me it seems more an issue of AC rather than 5Ghz.

There were no problems with 2.4Ghz regardless of setting

@harshavardhana
Copy link
Collaborator

@harshavardhana and is it ac? or just a?

I created a split network as suggested by @joseph-jja where both networks take different SSID's - it just seems cleaner and works without issues.

@Polioman
Copy link

Polioman commented Jan 6, 2016

Hello,

@harshavardhana
I use an Edimax 7811UAC dongle on a Raspberry Pi, It uses same driver, I've got 2 questions :

  1. How did you split you networks? I was not able to do it.
  2. Did you manage to make it work in full AC mode? I can only make it work in A mode. Even if it is only in AC mode, I have to make it work like that.

Any help would be really appreciated.

@Polioman
Copy link

Hi,

I'm having an issue with 5Ghz using this driver in AP mode. It says :
Could not set channel for kernel driver
Interface initialization failed

I've attached usefull files : hostapd.conf, iw list and error displayed.

I don't really know if it is a driver issue or hostapd issue.

hostapd_conf.txt
hostapd_error.txt
iw_list.txt

@francoisbeaulieu
Copy link

I can't even get manage to change the channel to the 5GHz range using iwconfig. I'm on Bananian Linux. Anyone managed to get it to use a 5GHz range channel on any flavour? iwlist scan also only lists 2GHz SSIDs. The driver does report that it supports 5GHz channels.

@harshavardhana
Copy link
Collaborator

@harshavardhana
I use an Edimax 7811UAC dongle on a Raspberry Pi, It uses same driver, I've got 2 questions :

  1. How did you split you networks? I was not able to do it.
  2. Did you manage to make it work in full AC mode? I can only make it work in A mode. Even if it is only in AC mode, I have to make it work like that.

We have never really tried these configurations - full AC mode works fine with EDIMAX-AC1200. Not sure about Raspberry Pi.

@joseph-jja
Copy link
Contributor

Ok, so with hostapd, the hostapd program and this driver do not work for 11ac. That's an issue with the hostapd drivers.

@Polioman
Copy link

@joseph-jja
I use this file with hostapd to have an access point in 5GHz band.
hostapd_edimax-5GHz.txt

@francoisbeaulieu :
You can display what are capabilities of your dongle with iw list command. My dongle can work in 5GHz band but only with 20MHz or 40MHz channels (not 80 or 160).

@harshavardhana :
How did you split your network?

@joseph-jja
Copy link
Contributor

@Polioman
So you don't specify a driver? And that works?

So the splitting of the network is when you have a router like the asus ac 68u and you can setup an B/G/N and AC access points, you setup one SSID for the B/G/N and another for the AC. I don't know if hostapd allows you to setup a single NIC as 2 different SSIDs on different frequencies. All depends on if the wifi dongle is being used as a client connecting to an access point or a server (hostapd).

@Polioman
Copy link

You can specify nl80211 for driver, or not. I removed this line since I've got issues with it.

I was not able to broadcast 2 SSID with my dongles. It works on 2,4GHz or 5GHz not both, I read here that you have to change mac address to do that and I can't with this driver (or I don't know how).

@joseph-jja
Copy link
Contributor

@Polioman using that config I get 11a speeds of 54Mb/s not 11ac. This is on raspian jessie

@Polioman
Copy link

I've got quite the same problem but I could go up to 72Mb/s if I remind correctly. It is due to a limitation from my hardware. Mine is limited to HT20/HT40. Perhaps it is a driver limitation, can't tell.

@joseph-jja
Copy link
Contributor

Well you have ieee80211n commented out, probably because on the 5g channel it was not starting up. So that means you were running 11a not 11ac or 11n on the 5g band.

@Polioman
Copy link

Maybe, I wasn't able to have better bandwidth :(

@paneq paneq mentioned this issue Oct 16, 2016
nbartos pushed a commit to nbartos/rtl8812AU_8821AU_linux that referenced this issue Mar 6, 2017
Thanks to MrEngman for noticing it. This fixes issue abperiasamy#38.
@tszymczak
Copy link

I am having similar issues with a Linksys WUSB6300 dongle. When I connect to the 2.4 GHz network on my router, it works fine. When I to connect to the 5 GHz network it's very unstable. The dongle connects to the network and then works normally for 10 seconds to a minute and then stops passing any network traffic. In case it matters, I have two different SSIDs for the different bands.

@inconceeeivable
Copy link

Did you ever figure this out? I have the same Linksys card and am getting the same behavior on 5Ghz.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants