You are not logged in.
I just installed the latest Arch Linux on my Thinkpad X220. After installing the driver / firmware (https://aur.archlinux.org/packages/b43-firmware), I can see my wifi interface as below
nmcli device status
DEVICE TYPE STATE CONNECTION
enp0s25 ethernet connected Wired connection 1
wlp3s0 wifi disconnected --
lo loopback unmanaged --
But when I tried to connect to it, it failed as below,
nmcli device connect wlp3s0
Error: Failed to add/activate new connection: A 'wireless' setting is required if no AP path was given.
Then I tried to connect to my SSID, no double it failed again as below
nmcli device wifi connect SSID password "mypasswd"
Error: Failed to add/activate new connection: Not authorized to control networking.
When I use
sudo iw dev wlp3s0 scan | grep -i ssid
it works and showed me all the available SSID.
Following some guidance in forum, I did something as below but nothing changed
modprobe b43
and
sudo pkill wpa_supplicant && sudo pkill dhcpcd
Here are some debugging messages:
sudo dmesg | grep firmware
platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
journalctl -e | grep -i failed
Mar 18 07:55:23 x2201 dbus-daemon[343]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.resolve1.service': Unit dbus-org.freedesktop.resolve1.service not found.
Mar 18 07:55:24 x2201 pipewire[474]: mod.protocol-pulse: pulse-server 0x5645779e0080: failed to start server on 'unix:/run/user/1000/pulse/native': Address already in use
Mar 18 07:55:24 x2201 pipewire[474]: default: failed to create context: Address already in use
Mar 18 07:55:24 x2201 pipewire[477]: default: failed to create context: Resource temporarily unavailable
Mar 18 07:55:24 x2201 systemd[384]: pipewire.service: Failed with result 'exit-code'.
Mar 18 07:55:24 x2201 pipewire[485]: default: failed to create context: Resource temporarily unavailable
Mar 18 07:55:24 x2201 systemd[384]: pipewire.service: Failed with result 'exit-code'.
Mar 18 07:55:24 x2201 dbus-daemon[343]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service not found.
Mar 18 07:55:25 x2201 pipewire[518]: default: failed to create context: Resource temporarily unavailable
Mar 18 07:55:25 x2201 systemd[384]: pipewire.service: Failed with result 'exit-code'.
Mar 18 07:55:25 x2201 pipewire[576]: default: failed to create context: Resource temporarily unavailable
Mar 18 07:55:25 x2201 systemd[384]: pipewire.service: Failed with result 'exit-code'.
Mar 18 07:55:25 x2201 systemd[384]: pipewire-media-session.service: Failed with result 'start-limit-hit'.
Mar 18 07:55:25 x2201 systemd[384]: Failed to start PipeWire Media Session Manager.
Mar 18 07:55:25 x2201 pipewire[587]: default: failed to create context: Resource temporarily unavailable
Mar 18 07:55:25 x2201 systemd[384]: pipewire.service: Failed with result 'exit-code'.
Mar 18 07:55:25 x2201 systemd[384]: pipewire.service: Failed with result 'exit-code'.
Mar 18 07:55:25 x2201 systemd[384]: Failed to start PipeWire Multimedia Service.
Mar 18 07:55:25 x2201 systemd[384]: Dependency failed for PipeWire Media Session Manager.
Mar 18 07:55:25 x2201 systemd[384]: pipewire-media-session.service: Job pipewire-media-session.service/start failed with result 'dependency'.
Mar 18 07:55:25 x2201 systemd[384]: pipewire.socket: Failed with result 'service-start-limit-hit'.
Mar 18 07:56:01 x2201 audit[345]: USYS_CONFIG pid=345 uid=0 auid=4294967295 ses=4294967295 msg='op=connection-add-activate pid=893 uid=1000 result=fail exe="/usr/bin/NetworkManager" hostname=? addr=? terminal=? res=failed'
Mar 18 07:56:01 x2201 kernel: audit: type=1111 audit(1647604561.545:56): pid=345 uid=0 auid=4294967295 ses=4294967295 msg='op=connection-add-activate pid=893 uid=1000 result=fail exe="/usr/bin/NetworkManager" hostname=? addr=? terminal=? res=failed'
Mar 18 07:56:18 x2201 dbus-daemon[343]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not found.
Mar 18 07:56:24 x2201 audit[345]: USYS_CONFIG pid=345 uid=0 auid=4294967295 ses=4294967295 msg='op=connection-add-activate pid=1068 uid=1000 result=fail exe="/usr/bin/NetworkManager" hostname=? addr=? terminal=? res=failed'
Mar 18 07:56:24 x2201 kernel: audit: type=1111 audit(1647604584.282:63): pid=345 uid=0 auid=4294967295 ses=4294967295 msg='op=connection-add-activate pid=1068 uid=1000 result=fail exe="/usr/bin/NetworkManager" hostname=? addr=? terminal=? res=failed'
Mar 18 07:56:56 x2201 dbus-daemon[343]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not found.
Mar 18 07:58:49 x2201 dbus-daemon[343]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop
What is the problem? Thank you very much.
Last edited by eric7900 (2022-03-18 18:10:00)
Offline
If you want to connect to a WiFi via nmcli, you have to add the name of the WiFi network (SSID) at least:
$ sudo nmcli dev wifi connect network-ssid
See also: https://wiki.archlinux.org/title/Networ … i_examples
Offline
If you want to connect to a WiFi via nmcli, you have to add the name of the WiFi network (SSID) at least:
$ sudo nmcli dev wifi connect network-ssid
See also: https://wiki.archlinux.org/title/Networ … i_examples
I did it but I did not write it clearly in my post. I just updated my post. Please check. Thanks.
Offline
So as the error says, you can't do that as your user. As pacman told you when you installed NetworkManager, you need polkit for that, or you need to do it as root.
Online
So as the error says, you can't do that as your user. As pacman told you when you installed NetworkManager, you need polkit for that, or you need to do it as root.
You solved my problem. Thank you so much.
Offline