You are not logged in.
I have successfully installed Arch in my computer. I use NetworkManager to access the wifi-network.
I can connect to my home network but everytime I reboot, it doesn't reconnect to the same SSID automatically and wouldn't reconnect as well even if I do it manually. The only way I can reconnect is by deleting the SSID profile in NetworkManager (via GUI) and rebooting. I reboot, click on the desired network and enter password and I'm back online.
What would be the way to fix this? I don't know much about networking.
Last edited by d_fajardo (2018-01-03 12:20:21)
Offline
Please post the output of find /etc/systemd
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
I'll get to my laptop.
Last edited by d_fajardo (2018-01-01 18:07:58)
Offline
This is the output when I ran find /etc/systemd:
/etc/systemd
/etc/systemd/network
/etc/systemd/user
/etc/systemd/user/sockets.target.wants
/etc/systemd/user/sockets.target.wants/dirmngr.socket
/etc/systemd/user/sockets.target.wants/gpg-agent.socket
/etc/systemd/user/sockets.target.wants/gpg-agent-browser.socket
/etc/systemd/user/sockets.target.wants/gpg-agent-extra.socket
/etc/systemd/user/sockets.target.wants/gpg-agent-ssh.socket
/etc/systemd/user/sockets.target.wants/pulseaudio.socket
/etc/systemd/system
/etc/systemd/system/getty.target.wants
/etc/systemd/system/getty.target.wants/getty@tty1.service
/etc/systemd/system/multi-user.target.wants
/etc/systemd/system/multi-user.target.wants/remote-fs.target
/etc/systemd/system/multi-user.target.wants/NetworkManager.service
/etc/systemd/system/multi-user.target.wants/wpa_supplicant.service
/etc/systemd/system/display-manager.service
/etc/systemd/system/dbus-org.freedesktop.NetworkManager.service
/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service
/etc/systemd/system/dbus-fi.w1.wpa_supplicant1.service
/etc/systemd/timesyncd.conf
/etc/systemd/resolved.conf
/etc/systemd/coredump.conf
/etc/systemd/journal-remote.conf
/etc/systemd/journal-upload.conf
/etc/systemd/user.conf
/etc/systemd/system.conf
/etc/systemd/logind.conf
/etc/systemd/journald.confOffline
If you are going to use NetworkManager, then disable the wpa_supplicant service. NetworkManager will handle starting wpa_supplicant. The wpa_supplicant service starts a separate instance of wpa+supplicant that fights with the one NetworkManager starts.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Thanks ewaller. It works but not quite working yet as I would expect. After reboot, NetworkManager automatically tries to login the SSID but it goes to a short loop 'Waiting for authorization...' after which it dies. But when I click on the connection again, then it starts running properly.
Is there some kind of setting I have to look at?
Last edited by d_fajardo (2018-01-01 22:33:58)
Offline
What is your desktop environment? Do you have the appropriate Polkit authentication agent installed?
Offline
KDE with SDDM. Not sure I have Polkit. This is a totally fresh install.
Offline
This might be of interest to you. (Hint: `pacman -Qs`)
Last edited by robg (2018-01-01 23:07:36)
Offline
Yes I don't have polkit. Just installe. Now I'm not sure what to do.
Offline
I created this file:
/etc/polkit-1/rules.d/50-org.freedesktop.NetworkManager.rules
polkit.addRule(function(action, subject) {
if (action.id.indexOf("org.freedesktop.NetworkManager.") == 0 && subject.isInGroup("network")) {
return polkit.Result.YES;
}
});as suggested in the NetworkManager wiki. Added myself to network group.
Still the same behaviour persist.
dmesg has the following entry:
45.002720] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[ 45.022771] iwlwifi 0000:03:00.0: Radio type=0x1-0x2-0x0
[ 45.312685] iwlwifi 0000:03:00.0: Radio type=0x1-0x2-0x0
[ 45.396215] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[ 51.741655] iwlwifi 0000:03:00.0: Radio type=0x1-0x2-0x0
[ 52.034574] iwlwifi 0000:03:00.0: Radio type=0x1-0x2-0x0
[ 52.120507] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[ 55.486294] wlp3s0: authenticate with b0:89:00:78:67:bc
[ 55.490015] wlp3s0: send auth to b0:89:00:78:67:bc (try 1/3)
[ 55.568764] wlp3s0: authenticated
[ 55.569969] wlp3s0: associate with b0:89:00:78:67:bc (try 1/3)
[ 55.571224] wlp3s0: RX AssocResp from b0:89:00:78:67:bc (capab=0x411 status=0 aid=2)
[ 55.591742] wlp3s0: associated
[ 55.600169] IPv6: ADDRCONF(NETDEV_CHANGE): wlp3s0: link becomes readyCould it be that wlp3s0 is not kicking in early enough?
Offline
Yes I don't have polkit. Just installe. Now I'm not sure what to do.
Just to confirm, you do have polkit and polkit-kde-agent installed, and the behavior persists? (Sometimes without the latter package, the connection is established but the GUI is showing symptoms similarly to what you described in your 4th post.)
Offline
Yes I do have polkit and polkit-kde-agent. The behaviour persist. After reboot, the NetworkManager tries to connect to the SSID with the message 'Waiting for authorisation...' then just dies. But when I click on the SSID icon, I can connect immediately.
Do I need to adjust some settings in polkit? Or is this an issue with the wlp3s0 interface?
Offline
Please post tour new output of find /etc/systemd
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
find /etc/systemd yields
/etc/systemd
/etc/systemd/network
/etc/systemd/user
/etc/systemd/user/sockets.target.wants
/etc/systemd/user/sockets.target.wants/dirmngr.socket
/etc/systemd/user/sockets.target.wants/gpg-agent.socket
/etc/systemd/user/sockets.target.wants/gpg-agent-browser.socket
/etc/systemd/user/sockets.target.wants/gpg-agent-extra.socket
/etc/systemd/user/sockets.target.wants/gpg-agent-ssh.socket
/etc/systemd/user/sockets.target.wants/pulseaudio.socket
/etc/systemd/system
/etc/systemd/system/getty.target.wants
/etc/systemd/system/getty.target.wants/getty@tty1.service
/etc/systemd/system/multi-user.target.wants
/etc/systemd/system/multi-user.target.wants/remote-fs.target
/etc/systemd/system/multi-user.target.wants/NetworkManager.service
/etc/systemd/system/multi-user.target.wants/dictd.service
/etc/systemd/system/dbus-org.freedesktop.NetworkManager.service
/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service
/etc/systemd/system/display-manager.service
/etc/systemd/timesyncd.conf
/etc/systemd/resolved.conf
/etc/systemd/coredump.conf
/etc/systemd/journal-remote.conf
/etc/systemd/journal-upload.conf
/etc/systemd/user.conf
/etc/systemd/system.conf
/etc/systemd/logind.conf
/etc/systemd/journald.confI checked NetworkManager.conf as well and the file is completely empty. Just wondered if this is normal.
Offline
Strange but everything works now without further intervention. Thanks for all the help.
Offline