SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Recently I upgraded to slackware-current using swaret. Now, whenever I boot up, there are two instances of dhcpcd trying to configure my eth0. If I want to be able to access the internet, I have to killall dhcpcd and re-run rc.inet1. I have looked in the /etc/rc.d directory and I can't find anything that would cause this. Is there something I'm overlooking?
[pete@l0s2 rc.d]$ grep dhcp *
rc.0:# Try to kill dhcpcd so the DHCP leases can be returned:
rc.0:killall -15 dhcpcd 1> /dev/null 2> /dev/null
rc.6:# Try to kill dhcpcd so the DHCP leases can be returned:
rc.6:killall -15 dhcpcd 1> /dev/null 2> /dev/null
rc.firewall:# This may help if you have a dynamic IP address \(e.g. slip, ppp, dhcp\).
rc.inet1: /sbin/dhcpcd -t 10 ${DHCP_HOSTNAME} -d eth0
rc.inet1: /sbin/dhcpcd -t 10 ${DHCP_HOSTNAME2} -d eth1
rc.S: /var/run/ppp* /etc/dhcpc/dhcpcd-eth0.pid /etc/forcefsck /etc/fastboot
[pete@l0s2 rc.d]$
The rc.S line is the continuation of some line deleting temporary files at boot.
in /var/log/messages, but I have never really thought about it as it didn't cause a problem.
I found that there is a file /etc/hotplug/net.agent
to be honest I dont know really what this file is about, but it contains the section
# Slackware Linux:
if [ -x /etc/rc.d/rc.inet1 ]; then
# Interface already up? If so, skip.
if ! /sbin/ifconfig | grep "^${INTERFACE} " 1> /dev/null ; then
debug_mesg run rc.inet1
exec /etc/rc.d/rc.inet1
fi
could this be where it is getting called from?
you could try making net.agent non executable and testing with a reboot
-I haven't researched this very thoroughly, but it wouldn't hurt to try-
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.