You are not logged in.
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
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
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
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
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
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
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
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
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
Did not work. Log http://ix.io/3mrk
Be smart and use root responsibly.
Offline
nl80211: kernel reports: Authentication algorithm number required
lsusb
pacman -Qi linux-firmware
Offline
Be smart and use root responsibly.
Offline
Have you tried https://aur.archlinux.org/packages/rtl8821au-dkms-git/ instead of the rtl88xxau module?
Offline
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
Same "nl80211: kernel reports: Authentication algorithm number required" error??
Offline
Yes.
Be smart and use root responsibly.
Offline
can not connect wifi...
" nl80211: kernel reports: Authentication algorithm number required "
kernel : Linux 5.12.2-arch1-1
driver : rtl88xxau-aircrack-dkms-git
Offline
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
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