You are not logged in.

#1 2008-09-02 09:40:35

richs-lxh
Member
Registered: 2008-08-23
Posts: 76

[Solved] Boot error: /etc/rc.d/functions /etc/netcfg doesn't exist

Hi everybody,

Well, after a bit of playing around, wiki reading and trouble-shooting, i now have an automatic wireless connection at boot via netcfg2 and my wireless profile. Great stuff.

By the way, whoever wrote this: http://wiki.archlinux.org/index.php/Net … _netcfg_v2, you deserev a medal.

Anyway, to the problem. I get an error message at boot which informs me that there is an error in my /etc/rc.d/functions file at line 155, stating that /etc/rc.d/netcfg doesn't exist (which is correct).

However, when I look at the functions file, I cannot for the life of me see the problem.

Line 155 is: /etc/rc.d/$1 start

154 start_daemon() {
155 /etc/rc.d/$1 start

These are my daemons:

DAEMONS=(syslog-ng cups hal avahi-daemon sshd snmpd xinetd portmap netcfg net-profiles)

The obvious thing would be a problem with the netcfg daemon, but everything works ok, so go figure.

The only real reference i found was this:
http://www.archlinux.org/pipermail/arch … 03699.html

I'm fine with an optional dep - how about we throw a comment above
'NETWORKS' and have rc.sysinit throw a warning it NETWORKS is defined
but /etc/rc.d/netcfg isn't found?

Any help appreciated.

richs-lxh

Last edited by richs-lxh (2008-09-02 12:09:51)

Offline

#2 2008-09-02 10:21:26

Profjim
Member
From: NYC
Registered: 2008-03-24
Posts: 658

Re: [Solved] Boot error: /etc/rc.d/functions /etc/netcfg doesn't exist

X is available to go into your DAEMONS line only when /etc/rc.d/X exists. As you've seen, there is no "netcfg" DAEMON. The netcfg daemons are net-profiles and net-auto (and net-rename).

Offline

#3 2008-09-02 10:58:01

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: [Solved] Boot error: /etc/rc.d/functions /etc/netcfg doesn't exist

Remove netcfg from your DAEMONS=() line, net-profiles is the only one needed.

Last edited by iphitus (2008-09-02 10:58:59)

Offline

#4 2008-09-02 12:09:32

richs-lxh
Member
Registered: 2008-08-23
Posts: 76

Re: [Solved] Boot error: /etc/rc.d/functions /etc/netcfg doesn't exist

Damn! I had a feeling it was going to be an easy one. I am pretty sure I tried that, oh well.

Thanks for the quick replies men. Thread marked as [Solved]

richs-lxh

Last edited by richs-lxh (2008-09-02 12:10:15)

Offline

Board footer

Powered by FluxBB