You are not logged in.

#1 2015-01-18 07:01:14

ninjaaron
Member
Registered: 2010-12-10
Posts: 296

`netctl` "randomly" started failing with ethernet interface.

I use netctl with the netctl-ifpluged service to start put up the ethernet. It stopped working, so I turned off `ifpluged` and tried manually starting the netctl profile. Doesn't work.

I get this output from `s systemctl status netctl@wired.service`

● netctl@wired.service - Networking for netctl profile wired
   Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sun 2015-01-18 00:46:45 CST; 6min ago
     Docs: man:netctl.profile(5)
  Process: 7383 ExecStart=/usr/lib/network/network start %I (code=exited, status=1/FAILURE)
 Main PID: 7383 (code=exited, status=1/FAILURE)

Jan 18 00:46:45 folio network[7383]: Starting network profile 'wired'...
Jan 18 00:46:45 folio network[7383]: The interface of network profile 'wired' is already up
Jan 18 00:46:45 folio systemd[1]: netctl@wired.service: main process exited, code=exited, status=1/FAILURE
Jan 18 00:46:45 folio systemd[1]: Failed to start Networking for netctl profile wired.
Jan 18 00:46:45 folio systemd[1]: Unit netctl@wired.service entered failed state.
Jan 18 00:46:45 folio systemd[1]: netctl@wired.service failed.

I don't have a clue what it means, except that my stuff failed. netctl does work with with my wireless interface, and dhcpcd works on the ethernet interface. It's just the combination of ethernet and netctl

here is a copy of my "wired" profile:

Description='A basic dhcp ethernet connection'
Interface=eno1
Connection=ethernet
IP=dhcp

On a presumably unrelated note, udev "randomly" changed the name of my *wireless* interface on a kernel upgrade a few days before this problem first occurred. The ethernet interface seems to have the same name. Probably not related, but I don't know the deep magic, and I thought that was also weird and network-related, so I figured I'd mention it.

Offline

#2 2015-01-18 09:39:42

jouke
Member
Registered: 2009-10-14
Posts: 72

Re: `netctl` "randomly" started failing with ethernet interface.

Are you using netctl 1.10? The automatic profile selection for wired profiles was updated, so you might have found a bug. Can you post whatever ifplugd puts in the journal when netctl-ifplugd is started?

Offline

#3 2015-01-18 18:34:30

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: `netctl` "randomly" started failing with ethernet interface.

ninjaaron wrote:
Jan 18 00:46:45 folio network[7383]: The interface of network profile 'wired' is already up

Try running this first:

# ip l set <ethernet interface name> down

And then start the profile again.
https://wiki.archlinux.org/index.php/Ne … ice_failed

Have you tried just using dhcpcd.service to bring the ethernet connection up?

This works for me -- genuine "plug & play" smile


Jin, Jîyan, Azadî

Offline

Board footer

Powered by FluxBB