You are not logged in.
Hello!
I cannot seem to get automatic connections with netctl to work with either wireless or ethernet. They work fine if I try to start them manually with:
sudo systemctl start netctl@ethernet
sudo systemctl start netctl@Affenbande (Affenbande is the name of my wireless profile)
I have googled for solutions ofcourse and found this thread. However that thread is over two years old and I could't find the udev rule they were talking about. I assume "80-net-slot-names.rules" is now named "80-net-setup-link.rules" and I tried removing it. It is indeed responsible for the renaming of my interfaces. After removing it my interfaces are named wlan0 and eth0. But after adapting the profiles and trying netctl-auto again, it did not solve the problem, so I put it back in place. I also tried doing a symlink from /etc/udev/rules.d/80-net-setup-link.rules to /usr/lib/udev/rules.d/80-net-setup-link.rules, but it also did nothing. ( It shouldn't , but the last post in the thread posted, suggested it.)
Here are my two connection profiles:
Description='Automatically generated profile by wifi-menu'
Interface=wlp3s0
Connection=wireless
Security=wpa
ESSID=Affenbande
IP=dhcp
Key=<removed for forum post>
ExecUpPost="systemctl start openvpn@ipvanish.service"
ExecDownPre="systemctl stop openvpn@ipvanish.service"(I tried removing the last two lines, but my ethernet connection doesn't have them and the error messages for the wireless and ethernet connections are identical, so I assume they are not the source of the problem.)
Interface=enp4s0f2
Connection=ethernet
IP=dhcpObligatory sanity check:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp4s0f2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
link/ether 80:fa:5b:0a:e5:a6 brd ff:ff:ff:ff:ff:ff
3: wlp3s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether f4:06:69:1b:85:a0 brd ff:ff:ff:ff:ff:ffError Messages
/home/neutronst4r neutronst4r@Archy% sudo systemctl start netctl-auto@ethernet.service
A dependency job for netctl-auto@ethernet.service failed. See 'journalctl -xe' for details.Output of: journalctl -xe
Mar 19 20:06:59 Archy systemd[1]: sys-subsystem-net-devices-ethernet.device: Job sys-subsystem-net-devices-ethernet.device/start timed out.
Mar 19 20:06:59 Archy systemd[1]: Timed out waiting for device sys-subsystem-net-devices-ethernet.device.
-- Subject: Unit sys-subsystem-net-devices-ethernet.device has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit sys-subsystem-net-devices-ethernet.device has failed.
--
-- The result is timeout.
Mar 19 20:06:59 Archy systemd[1]: Dependency failed for Automatic wireless network connection using netctl profiles.
-- Subject: Unit netctl-auto@ethernet.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit netctl-auto@ethernet.service has failed.
--
-- The result is dependency.
Mar 19 20:06:59 Archy systemd[1]: netctl-auto@ethernet.service: Job netctl-auto@ethernet.service/start failed with result 'dependency'.
Mar 19 20:06:59 Archy systemd[1]: sys-subsystem-net-devices-ethernet.device: Job sys-subsystem-net-devices-ethernet.device/start failed with result 'timeout'.
Mar 19 20:06:59 Archy polkitd[716]: Unregistered Authentication Agent for unix-process:6026:88757 (system bus name :1.60, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Mar 19 20:06:59 Archy sudo[6025]: pam_unix(sudo:session): session closed for user rootLast edited by neutronst4r (2016-03-20 00:13:32)
makepkg not war
Offline
You wrote
netctl-auto@ethernet.serviceIt should be
netctl-auto@<interface>.servicereplace <interface> with enp4s0f2 and wlp3s0.
Offline
Ah, fuck.
Thanks...
makepkg not war
Offline