You are not logged in.

#1 2013-08-22 17:07:01

chj
Member
Registered: 2013-08-22
Posts: 1

netctl fails to start profile

I have issues with netctl to start up a static ethernet connection on multiple computers. All I get is:

[root@lnx01 cjurk]# netctl start ham.de
Job for netctl@ham.de.service failed. See 'systemctl status netctl@ham.de.service' and 'journalctl -xn' for details.

My /etc/netctl/ham.de looks like:

Description='A basic static ethernet connection'
Interface=enp4s0
Connection=ethernet
IP=static
Address=('192.168.3.4/24')
Gateway='192.168.3.1'
DNS=('192.168.3.1')

## For IPv6 autoconfiguration
IP6=stateless

journalctl reveals some output, but I don't know whats wrong.

Aug 22 20:53:25 lnx01 systemd[1]: Starting A basic static ethernet connection...
-- Subject: Unit netctl@ham.de.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit netctl@ham.de.service has begun starting up.
Aug 22 20:53:25 lnx01 network[1593]: Starting network profile 'ham.de'...
Aug 22 20:53:25 lnx01 avahi-daemon[267]: Joining mDNS multicast group on interface enp4s0.IPv4 with address 192.168.3.4.
Aug 22 20:53:25 lnx01 avahi-daemon[267]: New relevant interface enp4s0.IPv4 for mDNS.
Aug 22 20:53:25 lnx01 avahi-daemon[267]: Registering new address record for 192.168.3.4 on enp4s0.IPv4.
Aug 22 20:53:25 lnx01 kernel: r8169 0000:04:00.0 enp4s0: link down
Aug 22 20:53:25 lnx01 kernel: r8169 0000:04:00.0 enp4s0: link down
Aug 22 20:53:25 lnx01 kernel: IPv6: ADDRCONF(NETDEV_UP): enp4s0: link is not ready
Aug 22 20:53:27 lnx01 kernel: r8169 0000:04:00.0 enp4s0: link up
Aug 22 20:53:27 lnx01 kernel: IPv6: ADDRCONF(NETDEV_CHANGE): enp4s0: link becomes ready
Aug 22 20:53:27 lnx01 gnome-session[528]: [861:923:0822/205327:ERROR:download_updates_command.cc(131)] PostClientToServerMessage() failed during GetUpdates
Aug 22 20:53:27 lnx01 network[1593]: RTNETLINK answers: File exists
Aug 22 20:53:27 lnx01 network[1593]: Could not add address '192.168.3.4/24' to interface 'enp4s0'
Aug 22 20:53:27 lnx01 avahi-daemon[267]: Interface enp4s0.IPv4 no longer relevant for mDNS.
Aug 22 20:53:27 lnx01 avahi-daemon[267]: Leaving mDNS multicast group on interface enp4s0.IPv4 with address 192.168.3.4.
Aug 22 20:53:27 lnx01 avahi-daemon[267]: Withdrawing address record for 192.168.3.4 on enp4s0.
Aug 22 20:53:27 lnx01 gnome-session[528]: [861:923:0822/205327:ERROR:download_updates_command.cc(131)] PostClientToServerMessage() failed during GetUpdates
Aug 22 20:53:27 lnx01 network[1593]: Failed to bring the network up for profile 'ham.de'
Aug 22 20:53:27 lnx01 systemd[1]: netctl@ham.de.service: main process exited, code=exited, status=1/FAILURE
Aug 22 20:53:27 lnx01 systemd[1]: Failed to start A basic static ethernet connection.
-- Subject: Unit netctl@ham.de.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@ham.de.service has failed.
-- 
-- The result is failed.
Aug 22 20:53:27 lnx01 systemd[1]: Unit netctl@ham.de.service entered failed state.
Aug 22 20:53:29 lnx01 ntpd[416]: Deleting interface #8 enp4s0, 192.168.3.4#123, interface stats: received=0, sent=0, dropped=0, active_time=13 secs
Aug 22 20:53:29 lnx01 ntpd[416]: peers refreshed

What's the issue here?

Offline

Board footer

Powered by FluxBB