Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 03-08-2004, 01:48 PM   #1
Registered: Jan 2004
Location: Los Angeles
Distribution: Slack64 14.1
Posts: 568

Rep: Reputation: 38
Getting Multiple Copies of dhcpcd for Same Network Card


I've got a strange problem when I re-boot my machine. The machine has 2 network cards, an old ne2000 that connects to my cable modem and a NatSemi for the internal network. Both cards are 'modprobed' from rc.netdevices, and work perfectly. But, I'm seeing multple copies of dhcpcd being spawned off for the ne2000 card. (The NatSemi has a static IP). It's usually 2 copies that start, but occaisionally, I see 3. Here's what I see today, from a "ps -ef":

root 96 1 0 Mar07 ? 00:00:00 /sbin/dhcpcd -t 10 -d -R eth0
root 98 1 0 Mar07 ? 00:00:00 /sbin/dhcpcd -t 10 -d -R eth0

I've checked the rc.inet1 script, and that has NOT been modified from the initial install. There is only one place that dhcpcd gets called. The rc.inet.conf file looks correct, as it only has dhcp=yes for the ne2000.

If I run rc.inet1 from a command prompt, it ALWAYS only starts a single copy of dhcpcd.

I've tried to debug the scripts at boot time, but am having a couple of problems with that. (See my other post).

Any ideas why dhcpcd wants to start more than once.


Last edited by MQMan; 03-08-2004 at 01:50 PM.
Old 03-09-2004, 12:41 PM   #2
Registered: Jan 2004
Location: Los Angeles
Distribution: Slack64 14.1
Posts: 568

Original Poster
Rep: Reputation: 38
I know I posted this reply in my other question, but I think it's more appropriate here:

Well, after a bunch of searching around on my system, I found a 2nd place where rc.inet1 is called. It's also called from /etc/hotplug/net.agent. And the only change I've made recently was to enable rc.hotplug so my USB ports are available at boot time for a UPS.

And guess what else I found. This in a SuSE sysconfig package changelog:

- is_iface_available(): It will now only modprobe <interface> if called from ifup, because it must not trigger unwanted hotplug events (#13178, dhcpcd was started twice)

Looks like Slack has the same bug. As long as I can work out what that cryptic comment means.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
printing multiple copies with cups (still not working) spotlight Linux - Hardware 0 09-14-2004 05:58 PM
Multiple copies when printer was offline (CUPS) herter Linux - Software 1 08-11-2004 06:36 AM
Multiple copies of Firefox running after upgrade to 10 oneandoneis2 Slackware 7 07-01-2004 05:27 PM
Printing multiple copies wjn Linux - Networking 4 12-16-2003 08:19 PM
network printing multiple copies drwolfson Linux - Hardware 0 12-11-2003 09:27 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:52 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration