diederikdehaas / rtl8812AU

Realtek 8812AU USB WiFi driver
Other
475 stars 177 forks source link

No networks until connected. #61

Open Aboe646 opened 7 years ago

Aboe646 commented 7 years ago

Hey,

I have an Alfa Network AWUS036ACH and use Fedora 25. It work, it's fast and stable. But unless I'm connected to a Network, I can't see any networks at all in the NetworkManager from Gnome and only a handful when I use iwlist. When I'm connected to a (known) network I can see a lot more networks!

I tested with version 4.3.14 and 4.3.22 of the driver, compiled via dkms. Greeting, Aboe646

ghost commented 7 years ago

same here

pnpavlov commented 7 years ago

Hi @Aboe646 , @Turbito , I had exactly the same problem on Fedora25 - if i use "connect to hidden network" everything is okay and I can see other networks, but on boot I don't get connected right away and see no networks..

Are you sure you used the 22-beta? It worked for me. Could you please cross check your commands with mine:

# removed the old driver
DRV_NAME=rtl8812AU
DRV_VERSION=4.3.14
dkms remove ${DRV_NAME}/${DRV_VERSION} --all

# installed the 22-beta
git clone -b driver-4.3.22-beta https://github.com/diederikdehaas/rtl8812AU.git
cd rtl8812AU/
DRV_VERSION=4.3.22-beta
mkdir /usr/src/${DRV_NAME}-${DRV_VERSION}
git archive driver-${DRV_VERSION} | tar -x -C /usr/src/${DRV_NAME}-${DRV_VERSION}
dkms add -m ${DRV_NAME} -v ${DRV_VERSION}
dkms build -m ${DRV_NAME} -v ${DRV_VERSION}
dkms install -m ${DRV_NAME} -v ${DRV_VERSION}

# reboot and check if wifi works
reboot 

I have kernel 4.10.8-200.fc25.x86_64 and whatever else came with "dnf update" on 14th April.

Regards, Pavel

ghost commented 7 years ago

@pnpavlov I just tried the 22-beta and still the same Arch Linux up to date, kernel 4.10.8

pnpavlov commented 7 years ago

I noticed that after last kernel update it stopped working for me too... will share if i find solution... I noticed there are some repositories claiming there is version 5 of the driver... anyone tried it? Does it solve this problem?

pnpavlov commented 7 years ago

@Turbito , sorry for the delay... I looked further in what's wrong for me and solved it ... again... hope you have same luck! Problem for me was that "DRV_NAME=rtl8812AU ; dkms status ${DRV_NAME}" returned more than one item... I had some left-overs from when I played around... Cleaning up ALL available versions and re-install fixed it. For example

DRV_VERSION=(the old ones) 
dkms remove ${DRV_NAME}/${DRV_VERSION} --all
dkms status ${DRV_NAME}
(should return NO results) 

then followed the same procedure I described above and after reboot the wifi was OK again... the working setup on my notebook now is:

DRV_NAME=rtl8812AU ; dkms status ${DRV_NAME}
rtl8812AU, 4.3.22-beta, 4.10.9-200.fc25.x86_64, x86_64: installed

Regards, Pavel

Aboe646 commented 7 years ago

THX!!!! That solved the problem! You're awesome!

ghost commented 7 years ago

Still didn't worked. I'd notice that all drivers named "8812au" I test fails. The only one that worked for me is https://github.com/abperiasamy/rtl8812AU_8821AU_linux It enable wifi but onyl work with "hidden networks"

ghost commented 7 years ago

Ok... was a problem with my model. my model, archer T4U AC1300 has a bus id diferent from 1200, and that bus id isn't in the file that contain the usb bus id. Then added it and compiled. Now works like a charm.

pnpavlov commented 7 years ago

@Aboe646 @Turbito happy to hear that both of your devices work :)

smitgd commented 7 years ago

dkms status rtl8812AU rtl8812AU, 4.3.22-beta, 4.10.13-200.fc25.x86_64, x86_64: installed Thanks here too. Only this working correctly with fedora 25 after trying several others!