Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I already add this service to startup with systemctl enable netcfg,

here's contents of /etc/conf.d/network,

NETWORKS=(eth0 eth1)
AUTO_PROFILES=(eth0 eth1)

And contents of netcfg.service:

[root@localhost ~]# cat /etc/systemd/system/multi-user.target.wants/netcfg.service 
Description=Netcfg multi-profile daemon

ExecStart=/usr/bin/netcfg-daemon start
ExecStop=/usr/bin/netcfg-daemon stop


journalctl logs of netcfg:

Oct 29 XXXXXX localhost netcfg-daemon[182]: No recorded netcfg state to restore
Oct 29 XXXXXX localhost systemd[1]: netcfg.service: main process exited, code=exited, status=1/FAILURE
Oct 29 XXXXXX localhost systemd[1]: Failed to start Netcfg multi-profile daemon.
Oct 29 XXXXXX localhost systemd[1]: Unit netcfg.service entered failed state

It doesn't work (works randomly?), the output says netcfg failed, but invoke it manually works, why?

enter image description here

share|improve this question
what is the content of your /etc/conf.d/netcfg, and what does the multi-profile looks like ? – slubman Oct 30 '12 at 12:03
@slubman updated – warl0ck Oct 30 '12 at 15:04
What does journalctl show for netcfg and could you paste what netcfg.service contents are? – Salil Oct 31 '12 at 5:42
@Salil all pasted – warl0ck Oct 31 '12 at 6:24
Sorry, did not find anything revealing. If you just want to use ethernet interface, I am wondering why don't you just use dhcpd instead. I have stopped using netcfg even for wireless; wpa_supplicant and dhcpd works fine for me. – Salil Nov 1 '12 at 11:06

netcfg is deprecated. Upgrade to netctl and try again.

share|improve this answer
This question was asked in 2012, when netcfg was not deprecated. – Evan Teitelman Jul 24 '13 at 1:21
@EvanTeitelman yes, but it's worth noting for e.g. people coming from Google. Plus, it gets it off the unanswered list. – strugee Jul 24 '13 at 6:55
ensuing Meta discussion: meta.unix.stackexchange.com/questions/1340/… – strugee Jan 20 '14 at 17:49

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.