You are not logged in.
Hi all,
eth1-ethernet:
Description='A basic dhcp ethernet connection'
Interface=eth1
Connection=ethernet
IP=dhcp
netctl start eth1-ethernet:
A depedency job for netctl@eth1\x2dethernet.service failed. See 'journaltcl -xn' for details.
journaltcl -xn gives me a "Dependency failed for a basic dhcp ethernet connection" with not much more info....
I only have dhcpd installed.
Any ideas? Did I miss something?
Last edited by PAdu92 (2013-04-16 19:21:11)
Offline
Does eth1 exist? the current udev configuration names the network cards differently. use "ip link" to list the names.
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Online
Yeah it does! I have lo, eth0, eth1 and virbr0 when I do a ip link
Also tried with static IP same result
Last edited by PAdu92 (2013-04-16 10:31:29)
Offline
here is a full log:
[root@Serveur ~]# journalctl -xn
-- Logs begin at mar. 2012-12-25 16:52:51 CET, end at mar. 2013-04-16 14:18:45 CEST. --
avril 16 14:17:05 Serveur systemd[1]: netctl@ethernet\x2dstatic.service: main process exited, code=exited, status=1/FAILURE
avril 16 14:17:05 Serveur systemd[1]: Failed to start Networking for netctl profile ethernet-static.
-- Subject: Unit netctl@ethernet\x2dstatic.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: http://www.freedesktop.org/wiki/Software/systemd/catalog/be02cf6855d2428ba40df7e9d022f03d
--
-- Unit netctl@ethernet\x2dstatic.service has failed.
--
-- The result is failed.
avril 16 14:17:05 Serveur systemd[1]: Unit netctl@ethernet\x2dstatic.service entered failed state
avril 16 14:17:13 Serveur systemd[1]: Reloading.
avril 16 14:17:15 Serveur systemd[1]: Expecting device sys-subsystem-net-devices-eth1.device...
-- Subject: Unit sys-subsystem-net-devices-eth1.device has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit sys-subsystem-net-devices-eth1.device has begun starting up.
avril 16 14:18:45 Serveur systemd[1]: Job sys-subsystem-net-devices-eth1.device/start timed out.
avril 16 14:18:45 Serveur systemd[1]: Timed out waiting for device sys-subsystem-net-devices-eth1.device.
-- Subject: Unit sys-subsystem-net-devices-eth1.device has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: http://www.freedesktop.org/wiki/Software/systemd/catalog/be02cf6855d2428ba40df7e9d022f03d
--
-- Unit sys-subsystem-net-devices-eth1.device has failed.
--
-- The result is timeout.
avril 16 14:18:45 Serveur systemd[1]: Dependency failed for A basic static ethernet connection.
-- Subject: Unit netctl@ethernet\x2dstatic.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: http://www.freedesktop.org/wiki/Software/systemd/catalog/be02cf6855d2428ba40df7e9d022f03d
--
-- Unit netctl@ethernet\x2dstatic.service has failed.
--
-- The result is dependency.
I do get ethernet connection throught dhcpd thought.....
Offline
Ok, here is something weird:
ifconfig shows me only lo and virbr0 interfaces
ip link shows lo, eth0 eth1 and virbr0. eth0 and eth1 are down.....
please help me guys!
Offline
I deleted /etc/udev/rules.d/80-net-name-slot.rules now eth1 is called enp3s0 but still the same error with netctl.....
Offline
Here is my /etc/netctl/ethernet-dhcp profile.
I had to change 'eth0' to 'enp0s20' as per 'ip link' info;
Description='A basic dhcp ethernet connection'
Interface=enp0s20
Connection=ethernet
IP=dhcp
Offline
Here is my /etc/netctl/ethernet-dhcp profile.
I had to change 'eth0' to 'enp0s20' as per 'ip link' info;Description='A basic dhcp ethernet connection' Interface=enp0s20 Connection=ethernet IP=dhcp
Yeap I did so....
Anyways, somehow I finally got it to work thanks guys!
Offline
Yeap I did so....
Anyways, somehow I finally got it to work thanks guys!
Please share your solution so that others in the same situation may benefit as well.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
@PAdu92
@Inxsible
Yes...it would be interesting...as a lot of us are new to netctl.
Thanks in advance.
Offline
No idea actually..... there was another file in /etc/udev/rules.d/ that forced my interface to be called eth1 deleted it....
Offline
I had a similar problem with both ether and wifi.
You might try adding your interface to the BindsTo array in the interface profile like so:
<code>
Description='Wireless with wpa_supplicant.conf'
Interface=wlp12s0
BindsTo=(wlp12s0)
Connection=wireless
Security=wpa-config
WPAConfigFile='/etc/wpa_supplicant/wpa_supplicant.conf'
IP=dhcp
</code>
The netctl.profile man page says this isn't necessary, but the netctl/systemd unit file that gets generated was bogus without the BindsTo line.
Perhaps more to the point, it works for me if I fill in BindsTo in the profile, but not if I leave it unset.
To see what changes, run:
<code>
du -a /etc/systemd | grep netctl
</code>
then look at the BindsTo and the After parameters in those files when BindsTo in the corresponding netctl profiles is set vs. not set.
I forget what happened to my ether interface, but for wifi the systemd file fingered wlan0.device, not wlp12s0.
Offline
No idea actually..... there was another file in /etc/udev/rules.d/ that forced my interface to be called eth1 deleted it....
Maybe it was https://wiki.archlinux.org/index.php/Ne … vice_names
Offline