You are not logged in.

#1 2013-04-25 18:57:46

looren
Member
From: Sweden
Registered: 2009-11-05
Posts: 30

net-auto-wired wont start

Trying to enable and start net-auto-wired but systemctl says:
net-auto-wired.service - Provides automatic netcfg wired connection
          Loaded: loaded (/usr/lib/systemd/system/net-auto-wired.service; enabled)
          Active: failed (Result: exit-code) since Thu, 2013-04-25 18:51:59 UTC; 1s ago
         Process: 21000 ExecStop=/usr/bin/netcfg iface-down $WIRED_INTERFACE (code=exited, status=0/SUCCESS)
         Process: 20998 ExecStart=/usr/bin/ifplugd -i $WIRED_INTERFACE -r /etc/ifplugd/netcfg.action -fIns (code=exited, status=203/EXEC)
          CGroup: name=systemd:/system/net-auto-wired.service

Apr 25 18:51:59 u3640230-01 systemd[1]: Starting Provides automatic netcfg wired connection...
Apr 25 18:51:59 u3640230-01 systemd[1]: Started Provides automatic netcfg wired connection.
Apr 25 18:51:59 u3640230-01 systemd[1]: net-auto-wired.service: main process exited, code=exited, status=203/EXEC
Apr 25 18:51:59 u3640230-01 systemd[1]: Unit net-auto-wired.service entered failed state


What might I be doing wrong?

Offline

#2 2013-04-25 19:54:13

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: net-auto-wired wont start

Try using netctl which replaces netcfg. Maybe that might help.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2013-04-25 20:15:34

looren
Member
From: Sweden
Registered: 2009-11-05
Posts: 30

Re: net-auto-wired wont start

Hm, no, no luck.

I removed netcfg and installed netctl
I copied the ethernet example file to get a fresh conf and edited it with my ip´s

When i run netctl start ethernet-static i get following error:
-- Unit netctl@ethernet\x2dstatic.service has begun starting up.
network[21793]: Starting network profile 'ethernet-static'...
network[21793]: The interface of network profile 'ethernet-static' is already up
systemd[1]: netctl@ethernet\x2dstatic.service: main process exited, code=exited, status=1/FAILURE
systemd[1]: Failed to start Networking for netctl profile ethernet-static.


Where is ther ethernet-static up? How can it be? or is that not what causes the failure?

Offline

#4 2013-04-26 03:50:36

looren
Member
From: Sweden
Registered: 2009-11-05
Posts: 30

Re: net-auto-wired wont start

Hm, not sure what I did last night. Resumed where i stopped but now i get error:
[root@u36402 rules.d]# systemctl status net-auto-wired
net-auto-wired.service
          Loaded: error (Reason: No such file or directory)
          Active: failed (Result: resources) since Thu, 2013-04-25 18:51:59 UTC; 8h ago
        Main PID: 20998 (code=exited, status=203/EXEC)

can not enable or start

tried to removed netctl, and thought i would reinstall it but now get the following error:
pacman -S netctl
error: target not found: netctl


I am clueless
Much appreciated if anyone can help

Offline

#5 2013-04-26 04:44:03

looren
Member
From: Sweden
Registered: 2009-11-05
Posts: 30

Re: net-auto-wired wont start

after updating, and reinstalling pacman i could get netctl again

when i do systemctl start netctl-ifplugd@eth0.service i get locked out from SSH and i have to reboot
after reboot i do systemctl status netctl-ifplugd@eth0.service
it shows:

Apr 26 04:28:31 u364023 ifplugd[443]: client: Starting network profile 'ethernet-static'...
Apr 26 04:28:31 u364023 ifplugd[443]: client: RTNETLINK answers: File exists
Apr 26 04:28:31 u364023 ifplugd[443]: client: Could not add address '............./24' to interface 'eth0'
Apr 26 04:28:31 u364023 ifplugd[443]: client: Failed to bring the network up for profile 'ethernet-static'
Apr 26 04:28:31 u364023 ifplugd[443]: Program execution failed, return value is 1.

i guess this is because ifconfig already has an ip set up?


after that, there is:
Apr 26 04:29:40 u364023 systemd[1]: Stopping Automatic wired network connection using netctl profiles...
Apr 26 04:29:40 u364023 ifplugd[443]: Executing '/etc/ifplugd/netctl.action eth0 down'.
Apr 26 04:29:40 u364023 ifplugd[443]: Program execution failed, return value is 1.
Apr 26 04:29:40 u364023 ifplugd[443]: Exiting.
Apr 26 04:29:40 u364023 systemd[1]: Stopped Automatic wired network connection using netctl profiles.

guessing this is netctl trying to start up the profile after reboot..

in my rc.conf i have my old settings for eth
i tried to disable the old ip link lines, and rebooted with netctl service active but no ip is being set with ifconfig

Offline

Board footer

Powered by FluxBB