You are not logged in.

#1 2021-05-09 22:01:07

monkeyboy537
Member
Registered: 2020-12-19
Posts: 13

[SOLVED] Problem connecting to WiFi with NM and Netgear A6100

I installed arch Linux and installed NetworkManager and compiled the drivers. Connecting to a WiFi network fails with ‘Secrets were required, but not provided.’ I’ve reinstalled the driver and tried another one and failed, I’ve tried to use wpa_Cli and it failed with error 1. Restarting the router did not fix it and adding the WiFi.rand-Mac address line did not fix my problem. Googling the problem and trying the solutions also did not fix my problem.

Last edited by monkeyboy537 (2021-05-12 16:55:50)


Be smart and use root responsibly.

Offline

#2 2021-05-10 06:15:25

seth
Member
Registered: 2012-09-03
Posts: 51,017

Re: [SOLVED] Problem connecting to WiFi with NM and Netgear A6100

Googling the problem and trying the solutions also did not fix my problem.

Aha. The case is clear then: it cannot work!

… *sigh* …

Please post a complete system journal after failing to connect to the AP, but "Secrets were required, but not provided." means you've to enter a password and that likely will require a https://wiki.archlinux.org/title/Polkit … ion_agents

Offline

#3 2021-05-10 17:52:38

monkeyboy537
Member
Registered: 2020-12-19
Posts: 13

Re: [SOLVED] Problem connecting to WiFi with NM and Netgear A6100

This is the journal log: http://ix.io/3mqc

I did attempt to delete the connection and try again but no luck.


Be smart and use root responsibly.

Offline

#4 2021-05-10 18:35:19

monkeyboy537
Member
Registered: 2020-12-19
Posts: 13

Re: [SOLVED] Problem connecting to WiFi with NM and Netgear A6100

I should also note I have no DE installed, it’s like a fresh install and I’m using the root account to do all of this.


Be smart and use root responsibly.

Offline

#5 2021-05-10 20:06:38

seth
Member
Registered: 2012-09-03
Posts: 51,017

Re: [SOLVED] Problem connecting to WiFi with NM and Netgear A6100

First you get rejected couple of seconds after you associate w/ the AP

May 10 13:31:08 superlinux wpa_supplicant[428]: wlp0s19f2u2: CTRL-EVENT-DISCONNECTED bssid=14:35:8b:16:fb:e1 reason=15
May 10 13:31:08 superlinux wpa_supplicant[428]: wlp0s19f2u2: CTRL-EVENT-ASSOC-REJECT status_code=1

If you're sure the profile and psk are ok, try to disable https://wiki.archlinux.org/title/Networ … domization

Then, after deleting the profile, I assume

May 10 13:31:09 superlinux NetworkManager[357]: <warn>  [1620667869.8092] device (wlp0s19f2u2): Activation: (wifi) asking for new secrets
May 10 13:31:09 superlinux NetworkManager[357]: <warn>  [1620667869.8114] device (wlp0s19f2u2): no secrets: No agents were available for this request.
May 10 13:31:09 superlinux NetworkManager[357]: <info>  [1620667869.8115] device (wlp0s19f2u2): state change: need-auth -> failed (reason 'no-secrets', sys-iface-state: 'managed')

Offline

#6 2021-05-10 20:18:00

monkeyboy537
Member
Registered: 2020-12-19
Posts: 13

Re: [SOLVED] Problem connecting to WiFi with NM and Netgear A6100

Still no luck with the thing in the wiki post you sent. This is weird considering it worked all the time and now suddenly it stopped working.


Be smart and use root responsibly.

Offline

#7 2021-05-10 20:27:09

seth
Member
Registered: 2012-09-03
Posts: 51,017

Re: [SOLVED] Problem connecting to WiFi with NM and Netgear A6100

I installed arch Linux and installed NetworkManager and compiled the drivers. Connecting to a WiFi network fails

This is weird considering it worked all the time and now suddenly it stopped working.

What? How does that add up?

Also just noticed that your OP claimed to already have disabled MAC randomization, but the journal says that it's enabled?

And: what is the *current* error message?

Offline

#8 2021-05-10 20:37:21

monkeyboy537
Member
Registered: 2020-12-19
Posts: 13

Re: [SOLVED] Problem connecting to WiFi with NM and Netgear A6100

1. I was stating it because earlier Linux installs had WiFi working just fine but stopped working once I tried a live CD of Linux mint and disabling random MAC addresses fixed it.

2.I put the disable line in both the /etc/NetworkManager/NetworkManager.conf and /etc/NetworkManager/conf.d/wifi_rand_mac.conf

3.Still the secrets required error. Journal Says same thing.


Be smart and use root responsibly.

Offline

#9 2021-05-10 20:51:08

seth
Member
Registered: 2012-09-03
Posts: 51,017

Re: [SOLVED] Problem connecting to WiFi with NM and Netgear A6100

The "secret required" error means the secret (psk) isn't offered by the profile (and NM somehow can't involve the pkttyagent, but I've never even used that - so it could simply be broken)
One location for the wifi.scan-rand-mac-address key is going to suffice, but

May 10 13:30:39 superlinux NetworkManager[357]: <info>  [1620667839.1604] device (wlp0s19f2u2): set-hw-addr: set MAC address to 8A:03:8E:65:42:58 (scanning)
…
May 10 13:30:42 superlinux NetworkManager[357]: <info>  [1620667842.9316] device (wlp0s19f2u2): set-hw-addr: reset MAC address to 2C:30:33:A7:7A:B8 (preserve)
…
May 10 13:30:44 superlinux NetworkManager[357]: <info>  [1620667844.3328] device (wlp0s19f2u2): set-hw-addr: set MAC address to E6:14:E0:03:65:65 (scanning)
…
May 10 13:30:44 superlinux NetworkManager[357]: <info>  [1620667844.3447] device (wlp0s19f2u2): set-hw-addr: reset MAC address to 2C:30:33:A7:7A:B8 (preserve)
…
May 10 13:31:09 superlinux NetworkManager[357]: <info>  [1620667869.9228] device (wlp0s19f2u2): set-hw-addr: set MAC address to 96:4E:FD:0F:3E:86 (scanning)
…

doesn't look like it is.

Stop networkmanager and try to associate only w/ wpa_supplicant. Does it work?

Offline

#10 2021-05-10 21:25:59

monkeyboy537
Member
Registered: 2020-12-19
Posts: 13

Re: [SOLVED] Problem connecting to WiFi with NM and Netgear A6100

Did not work. Log http://ix.io/3mrk


Be smart and use root responsibly.

Offline

#11 2021-05-10 21:59:58

seth
Member
Registered: 2012-09-03
Posts: 51,017

Re: [SOLVED] Problem connecting to WiFi with NM and Netgear A6100

nl80211: kernel reports: Authentication algorithm number required

lsusb
pacman -Qi linux-firmware

Offline

#12 2021-05-10 22:11:25

monkeyboy537
Member
Registered: 2020-12-19
Posts: 13

Re: [SOLVED] Problem connecting to WiFi with NM and Netgear A6100


Be smart and use root responsibly.

Offline

#13 2021-05-10 22:18:59

seth
Member
Registered: 2012-09-03
Posts: 51,017

Re: [SOLVED] Problem connecting to WiFi with NM and Netgear A6100

Have you tried https://aur.archlinux.org/packages/rtl8821au-dkms-git/ instead of the rtl88xxau module?

Offline

#14 2021-05-10 22:22:51

monkeyboy537
Member
Registered: 2020-12-19
Posts: 13

Re: [SOLVED] Problem connecting to WiFi with NM and Netgear A6100

Yes I tried both the 88xxau and 8812au one. (That’s what I meant by tried different drivers)


Be smart and use root responsibly.

Offline

#15 2021-05-11 12:29:24

seth
Member
Registered: 2012-09-03
Posts: 51,017

Re: [SOLVED] Problem connecting to WiFi with NM and Netgear A6100

Same "nl80211: kernel reports: Authentication algorithm number required" error??

Offline

#16 2021-05-12 00:19:45

monkeyboy537
Member
Registered: 2020-12-19
Posts: 13

Re: [SOLVED] Problem connecting to WiFi with NM and Netgear A6100

Yes.


Be smart and use root responsibly.

Offline

#17 2021-05-12 03:30:42

opium
Member
Registered: 2017-07-24
Posts: 1

Re: [SOLVED] Problem connecting to WiFi with NM and Netgear A6100

can not connect wifi...
" nl80211: kernel reports: Authentication algorithm number required "
kernel : Linux 5.12.2-arch1-1
driver : rtl88xxau-aircrack-dkms-git

Offline

#18 2021-05-12 04:06:02

monkeyboy537
Member
Registered: 2020-12-19
Posts: 13

Re: [SOLVED] Problem connecting to WiFi with NM and Netgear A6100

I looked on the driver and issues and I found a bug report that details what is going on here. https://github.com/aircrack-ng/rtl8812au/issues/855


Be smart and use root responsibly.

Offline

#19 2021-05-12 16:55:04

monkeyboy537
Member
Registered: 2020-12-19
Posts: 13

Re: [SOLVED] Problem connecting to WiFi with NM and Netgear A6100

I got Linux-Lts and rebuilt the drivers and it did fix it. The problem appears the driver does not have good compatibility with the 5.12 kernel. I managed to connect to WiFi using LINUX-LTS.


Be smart and use root responsibly.

Offline

Board footer

Powered by FluxBB