Open ghost opened 7 years ago
make sure you reload/reinstall the kmod rtl8812au.ko
maybe it is something wrong with NetworkManager
Taking a hint from https://bugzilla.redhat.com/show_bug.cgi?id=1382741#c10 I added
[device]
wifi.scan-rand-mac-address=no
to /etc/NetworkManager/NetworkManager.conf. Reading the same bug report it appears that this workaround may be done automatically in more recent versions of NetworkManager (see https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=023417292339e34dd07e5b902576c1472ff0c3dd).
Using this trick I did get it to work, but there's still two fully equivalent devices, which are
The devices always have the same set of connections, so you can use either one of the two and I can't figure out a way to get rid of wlan0/wlan1. Also when I boot, if I have my PC join the wireless network automatically, it seems to randomly choose to connect on either one of the two devices. That means that when setting up my firewalling, I have to triplicate my rules. I have to have the same rule for each of wlp0s18f2u4, wlan0 and wlan1. (Routing is ok though, because routing is done per connection in network manager).
I have taken some further measures which remove wlan0/wlan1 from the picture so I don't have to triplicate my firewall rules any more. I have added the following two identical files.
The content of the files is as follows:
NM_CONTROLLED=no
HWADDR=70:4D:7B:12:C9:8C
So now things are basically back to normal but that's after two kludgey workarounds.
I think it is something wrong with your kmod, you are probably using a CONFIG_CONCURRENT_MODE kmod. You should do an clean-up and comment out the CONFIG_CONCURRENT_MODE in Makefile and re-build/re-install the kmod
@ptpt52 I think I already tried that. (I may give it one more shot just do double check I guess). Anyway it turns out that I can't identify interfaces with a MAC address because sometimes **wlan* gets one and sometimes wlp0s18f2u4 gets the other and the actual choice of which gets which seems random. So instead of having the extra ifcfg** files, I have added the following to /etc/NetworkManager/NetworkManager.conf.
[keyfile]
unmanaged-devices=interface-name:wlan*
@ptpt52. I compiled again with CONFIG_CONCURRENT_MODE disabled. What happened is that the apparent race-condition behaviour was not solved, but the creation of the unwanted **wlan*** device did not happen, so it solved one problem and not the other. I probably didn't notice this when I first tried it because I was focused on the race-condition problem, which is clearly the more serious of the two problems.
I'll make two new issues (maybe tomorrow) and close this one since these do appear to be separate.
Hi, I got it to compilie (See issue #222). @ptpt52, I did try making after disabling CONFIG_CONCURRENT_MODE, without any success.
When the NetworkManager service is started it's as though it (something, I don't know what) is trying to create two devices,
I think that only the wlp0s18f2u4 device should be created. Also the system log is spammed furiously. The error messages look like this.
When the NetworkManager service is started the log gets spammed furiously. This is what I get: