You are not logged in.
Hi, I'm new to arch and so far I can get most things working after some googling.
But with Networkmanager and netctl I'm hitting a wall.
Right now I am connected to the internet with netctl and it works okayish. But i want to have
a comfortable way to manage vpn connections and stuff like tethering, that's why I want NM.
I am using i3 as my wm.
I installed Networkmanager, its vpn extentions, polkit-gnome and gnome-keyring.
I followed the https://wiki.archlinux.org/index.php/NetworkManager guide to do it, including troubleshooting.
My problem: If I shut down netctl with systemctl and start NM & nm-applet, I see the networks, I can connect,
I get an IP and then the connection closes again.
I also noticed, I can disable netctl but not netctl-auto@ and netctl-ifplugd@. They just refuse to be disabled.
And even if I disable all the netctl things I can, after a reboot im automaticly conected again.
This is really frustrating and confusing, can anyone clear things up please?
Last edited by Neoreon (2013-07-24 17:35:09)
Offline
What commands are you running to disable netctl-auto and netctl-ifplugd?
All the best,
-HG
Offline
What commands are you running to disable netctl-auto and netctl-ifplugd?
I tried alot. Including (in all possible orders):
stopping and disabling each of my netctl profiles with
netctl stop profile
netctl disable profile
then
systemctl stop netctl-auto@wlp3s0.service
systemctl stop netctl-auto@.service
systemctl disable netctl-auto@.service
systemctl disable netctl.service
systemctl list-unit-files shows:
ModemManager.service disabled
netctl-auto@.service enabled
netctl-ifplugd@.service enabled
netctl-sleep.service disabled
netctl.service enabled
netctl@.service staticedit: this is my journal
-- Logs begin at Mon 2013-07-08 18:54:53 CEST, end at Wed 2013-07-24 08:32:36 CEST. --
Jul 24 08:31:25 x61s-arch NetworkManager[1883]: <info> Activation (wlp3s0) starting connection 'Speedport W 501V'
Jul 24 08:31:25 x61s-arch NetworkManager[1883]: <info> (wlp3s0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Jul 24 08:31:25 x61s-arch NetworkManager[1883]: <info> Activation (wlp3s0) Stage 1 of 5 (Device Prepare) scheduled...
Jul 24 08:31:25 x61s-arch NetworkManager[1883]: <info> Activation (wlp3s0) Stage 1 of 5 (Device Prepare) started...
Jul 24 08:31:25 x61s-arch NetworkManager[1883]: <info> Activation (wlp3s0) Stage 2 of 5 (Device Configure) scheduled...
Jul 24 08:31:25 x61s-arch NetworkManager[1883]: <info> Activation (wlp3s0) Stage 1 of 5 (Device Prepare) complete.
Jul 24 08:31:25 x61s-arch NetworkManager[1883]: <info> Activation (wlp3s0) Stage 2 of 5 (Device Configure) starting...
Jul 24 08:31:25 x61s-arch NetworkManager[1883]: <info> (wlp3s0): device state change: prepare -> config (reason 'none') [40 50 0]
Jul 24 08:31:25 x61s-arch NetworkManager[1883]: <info> Activation (wlp3s0/wireless): access point 'Speedport W 501V' has security, but secrets are required.
Jul 24 08:31:25 x61s-arch NetworkManager[1883]: <info> (wlp3s0): device state change: config -> need-auth (reason 'none') [50 60 0]
Jul 24 08:31:25 x61s-arch NetworkManager[1883]: <info> Activation (wlp3s0) Stage 2 of 5 (Device Configure) complete.
Jul 24 08:31:25 x61s-arch NetworkManager[1883]: <info> Activation (wlp3s0) Stage 1 of 5 (Device Prepare) scheduled...
Jul 24 08:31:25 x61s-arch NetworkManager[1883]: <info> Activation (wlp3s0) Stage 1 of 5 (Device Prepare) started...
Jul 24 08:31:25 x61s-arch NetworkManager[1883]: <info> (wlp3s0): device state change: need-auth -> prepare (reason 'none') [60 40 0]
Jul 24 08:31:25 x61s-arch NetworkManager[1883]: <info> Activation (wlp3s0) Stage 2 of 5 (Device Configure) scheduled...
Jul 24 08:31:25 x61s-arch NetworkManager[1883]: <info> Activation (wlp3s0) Stage 1 of 5 (Device Prepare) complete.
Jul 24 08:31:25 x61s-arch NetworkManager[1883]: <info> Activation (wlp3s0) Stage 2 of 5 (Device Configure) starting...
Jul 24 08:31:25 x61s-arch NetworkManager[1883]: <info> (wlp3s0): device state change: prepare -> config (reason 'none') [40 50 0]
Jul 24 08:31:25 x61s-arch NetworkManager[1883]: <info> Activation (wlp3s0/wireless): connection 'Speedport W 501V' has security, and secrets exist. No new secrets needed.
Jul 24 08:31:25 x61s-arch NetworkManager[1883]: <info> Config: added 'ssid' value 'Speedport W 501V'
Jul 24 08:31:25 x61s-arch NetworkManager[1883]: <info> Config: added 'scan_ssid' value '1'
Jul 24 08:31:25 x61s-arch NetworkManager[1883]: <info> Config: added 'bssid' value '00:15:0c:af:cc:77'
Jul 24 08:31:25 x61s-arch NetworkManager[1883]: <info> Config: added 'key_mgmt' value 'WPA-PSK'
Jul 24 08:31:25 x61s-arch NetworkManager[1883]: <info> Config: added 'auth_alg' value 'OPEN'
Jul 24 08:31:25 x61s-arch NetworkManager[1883]: <info> Config: added 'psk' value '<omitted>'
Jul 24 08:31:25 x61s-arch NetworkManager[1883]: <info> Activation (wlp3s0) Stage 2 of 5 (Device Configure) complete.
Jul 24 08:31:25 x61s-arch NetworkManager[1883]: <info> Config: set interface ap_scan to 1
Jul 24 08:31:25 x61s-arch NetworkManager[1883]: <info> (wlp3s0): supplicant interface state: disconnected -> scanning
Jul 24 08:31:27 x61s-arch kernel: wlp3s0: authenticate with 00:15:0c:af:cc:77
Jul 24 08:31:27 x61s-arch kernel: wlp3s0: send auth to 00:15:0c:af:cc:77 (try 1/3)
Jul 24 08:31:27 x61s-arch kernel: wlp3s0: authenticated
Jul 24 08:31:27 x61s-arch kernel: wlp3s0: associate with 00:15:0c:af:cc:77 (try 1/3)
Jul 24 08:31:27 x61s-arch NetworkManager[1883]: <info> (wlp3s0): supplicant interface state: scanning -> authenticating
Jul 24 08:31:27 x61s-arch NetworkManager[1883]: <info> (wlp3s0): supplicant interface state: authenticating -> associating
Jul 24 08:31:27 x61s-arch kernel: wlp3s0: RX AssocResp from 00:15:0c:af:cc:77 (capab=0x411 status=0 aid=2)
Jul 24 08:31:27 x61s-arch kernel: wlp3s0: associated
Jul 24 08:31:27 x61s-arch NetworkManager[1883]: <info> (wlp3s0): supplicant interface state: associating -> 4-way handshake
Jul 24 08:31:27 x61s-arch dhcpcd[384]: wlp3s0: carrier acquired
Jul 24 08:31:27 x61s-arch NetworkManager[1883]: <info> (wlp3s0): supplicant interface state: 4-way handshake -> completed
Jul 24 08:31:27 x61s-arch NetworkManager[1883]: <info> Activation (wlp3s0/wireless) Stage 2 of 5 (Device Configure) successful. Connected to wireless network 'Speedport W 501V'.
Jul 24 08:31:27 x61s-arch NetworkManager[1883]: <info> Activation (wlp3s0) Stage 3 of 5 (IP Configure Start) scheduled.
Jul 24 08:31:27 x61s-arch NetworkManager[1883]: <info> Activation (wlp3s0) Stage 3 of 5 (IP Configure Start) started...
Jul 24 08:31:27 x61s-arch NetworkManager[1883]: <info> (wlp3s0): device state change: config -> ip-config (reason 'none') [50 70 0]
Jul 24 08:31:27 x61s-arch NetworkManager[1883]: <info> Activation (wlp3s0) Beginning DHCPv4 transaction (timeout in 45 seconds)
Jul 24 08:31:27 x61s-arch NetworkManager[1883]: <info> dhcpcd started with pid 2149
Jul 24 08:31:27 x61s-arch NetworkManager[1883]: <info> Activation (wlp3s0) Beginning IP6 addrconf.
Jul 24 08:31:27 x61s-arch NetworkManager[1883]: <info> Activation (wlp3s0) Stage 3 of 5 (IP Configure Start) complete.
Jul 24 08:31:27 x61s-arch dhcpcd[2149]: sending commands to master dhcpcd process
Jul 24 08:31:27 x61s-arch NetworkManager[1883]: <info> (wlp3s0): DHCPv4 client pid 2149 exited with status 0
Jul 24 08:31:27 x61s-arch NetworkManager[1883]: <info> Activation (wlp3s0) Stage 4 of 5 (IPv4 Configure Timeout) scheduled...
Jul 24 08:31:27 x61s-arch NetworkManager[1883]: <info> Activation (wlp3s0) Stage 4 of 5 (IPv4 Configure Timeout) started...
Jul 24 08:31:27 x61s-arch NetworkManager[1883]: <info> Activation (wlp3s0) Stage 4 of 5 (IPv4 Configure Timeout) complete.
Jul 24 08:31:27 x61s-arch dhcpcd[384]: wlp3s0: sending IPv6 Router Solicitation
Jul 24 08:31:27 x61s-arch dhcpcd[384]: wlp3s0: sendmsg: Cannot assign requested address
Jul 24 08:31:27 x61s-arch dhcpcd[384]: wlp3s0: broadcasting for a lease
Jul 24 08:31:27 x61s-arch dhcpcd[384]: control command: /usr/bin/dhcpcd -B -K -L -G -c /usr/lib/networkmanager/nm-dhcp-client.action wlp3s0
Jul 24 08:31:29 x61s-arch dhcpcd[384]: wlp3s0: offered 192.168.2.41 from 192.168.2.1
Jul 24 08:31:29 x61s-arch dhcpcd[384]: wlp3s0: acknowledged 192.168.2.41 from 192.168.2.1
Jul 24 08:31:29 x61s-arch dhcpcd[384]: wlp3s0: checking for 192.168.2.41
Jul 24 08:31:31 x61s-arch dhcpcd[384]: wlp3s0: sending IPv6 Router Solicitation
Jul 24 08:31:34 x61s-arch dhcpcd[384]: wlp3s0: leased 192.168.2.41 for 864000 seconds
Jul 24 08:31:35 x61s-arch dhcpcd[384]: wlp3s0: sending IPv6 Router Solicitation
Jul 24 08:31:39 x61s-arch dhcpcd[384]: wlp3s0: sending IPv6 Router Solicitation
Jul 24 08:31:39 x61s-arch dhcpcd[384]: wlp3s0: no IPv6 Routers available
Jul 24 08:31:47 x61s-arch NetworkManager[1883]: <info> (wlp3s0): IP6 addrconf timed out or failed.
Jul 24 08:31:47 x61s-arch NetworkManager[1883]: <info> Activation (wlp3s0) Stage 4 of 5 (IPv6 Configure Timeout) scheduled...
Jul 24 08:31:47 x61s-arch NetworkManager[1883]: <info> Activation (wlp3s0) Stage 4 of 5 (IPv6 Configure Timeout) started...
Jul 24 08:31:47 x61s-arch NetworkManager[1883]: <info> (wlp3s0): device state change: ip-config -> failed (reason 'ip-config-unavailable') [70 120 5]
Jul 24 08:31:47 x61s-arch NetworkManager[1883]: <warn> Activation (wlp3s0) failed for connection 'Speedport W 501V'
Jul 24 08:31:47 x61s-arch NetworkManager[1883]: <info> Activation (wlp3s0) Stage 4 of 5 (IPv6 Configure Timeout) complete.
Jul 24 08:31:47 x61s-arch NetworkManager[1883]: <info> (wlp3s0): device state change: failed -> disconnected (reason 'none') [120 30 0]
Jul 24 08:31:47 x61s-arch NetworkManager[1883]: <info> (wlp3s0): deactivating device (reason 'none') [0]
Jul 24 08:31:47 x61s-arch slim[381]: ** (nm-applet:756): WARNING **: Failed to show notification: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files
Jul 24 08:31:47 x61s-arch kernel: wlp3s0: deauthenticating from 00:15:0c:af:cc:77 by local choice (reason=3)
Jul 24 08:31:48 x61s-arch dhcpcd[384]: wlp3s0: carrier lost
Jul 24 08:31:48 x61s-arch kernel: cfg80211: Calling CRDA to update world regulatory domain
Jul 24 08:31:48 x61s-arch NetworkManager[1883]: <warn> Connection disconnected (reason -3)
Jul 24 08:31:48 x61s-arch NetworkManager[1883]: <info> (wlp3s0): supplicant interface state: completed -> disconnected
Jul 24 08:31:48 x61s-arch NetworkManager[1883]: <warn> Connection disconnected (reason -3)
Jul 24 08:32:36 x61s-arch dbus-daemon[347]: dbus[347]: [system] Activating via systemd: service name='org.freedesktop.ModemManager1' unit='dbus-org.freedesktop.ModemManager1.service'
Jul 24 08:32:36 x61s-arch dbus[347]: [system] Activating via systemd: service name='org.freedesktop.ModemManager1' unit='dbus-org.freedesktop.ModemManager1.service'
Jul 24 08:32:36 x61s-arch dbus[347]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.ModemManager1.service': Unit dbus-org.freedesktop.ModemManager1.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.freedesktop.ModemManager1.service' for details.
Jul 24 08:32:36 x61s-arch dbus-daemon[347]: dbus[347]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.ModemManager1.service': Unit dbus-org.freedesktop.ModemManager1.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.freedesktop.ModemManager1.service' for details.Last edited by Neoreon (2013-07-24 07:06:27)
Offline
Why not uninstall netctl and just have network manager installed? Seems like that would simplify things a bit.
Offline
Well i uninstalled netctl, problem persists and now I dont have any internet access anymore ![]()
I think the problem might be, that I dont get a ipv6 address. I stumble upon posts suggesting that
isabling the wpa_supplicant solves this, however once again i cant isable that.
I do systemctl stop and system disable but it is still enables in systemctl list-unit-files.
I am totally confused now.
A) How can i tell my laptop to disable ipv6 for now
EDIT: I have internet on my laptop again. Following a advice I disabled ipv6 in the nm-connection editor for the wifi connection and it connected ![]()
Now.. should wpa_supplicant.service be enabled/started or not?
And
B) Why cant I disable the stuff in systemctl when i need to.
This dint work with netctl-auto@.service and this doesnt work for wpa_supplicant-nl80211@.service
Last edited by Neoreon (2013-07-24 10:24:54)
Offline
I believe you need the interface in there. So disabling your netctl-auto unit on interface wlp3s0 would be 'systemctl disable netctl-auto@wlp3s0.service' and would likely be the same with the wpa_supplicant as well because it has to do with networking on a specific interface.
As you see..
$ systemctl status netctl-auto@.service
Failed to issue method call: Unit name netctl-auto@.service is not valid.$ systemctl status netctl-auto@wlp3s0.service
netctl-auto@wlp3s0.service - Automatic wireless network connection using netctl profiles
Loaded: loaded (/usr/lib/systemd/system/netctl-auto@.service; enabled)
Active: active (exited) since Wed 2013-07-17 11:05:09 EDT; 6 days ago
Docs: man:netctl.special(7)Also, you can disable ipv6 from the kernel line with 'ipv6.disable=1'
$ cat /boot/efi/EFI/arch/refind_linux.conf
"Boot with defaults" "root=PARTUUID=82a0169c-04b9-4a29-947c-5a1c57f5e70b rootfstype=ext4 ro irqpoll ipv6.disable=1"Offline
I believe you need the interface in there. So disabling your netctl-auto unit on interface wlp3s0 would be 'systemctl disable netctl-auto@wlp3s0.service' and would likely be the same with the wpa_supplicant as well because it has to do with networking on a specific interface.
one of the first things i did, sadly didnt work
edit: although mystery not fully resolved, I have a working NetworkManager now, so I think ill put this on solved.
My "solution" was to disable IPv6 in the nm-connection editor and removing netctl with pacman.
Last edited by Neoreon (2013-07-24 17:38:13)
Offline