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.
Location: Washington, DC, on the edge of the stinking pit of decay (Capitol Hill)
Distribution: Slackware 10.2
Posts: 11
Rep:
ifupdown/ifplugd equivalent(s) for Slackware?
Hello All,
I've (mostly) successfully installed Slackware 10.0 on an IBM T23 laptop. I am now trying to find some mechanism that will contact the DHCP server when I disconnect the eth0 and reconnect at another location. Looking through the forums, I find that ifplugd is supposed to be good for this, but it relies on ifupdown, which I have only been able to find for Debian.
Does anyone know of a diffeerent tool or set of tools that will let Slack automagically detect when I have disconnected/reconnected my network cable and then contact the DHCP server accordingly? Currently, I must actually reboot to make a new network connection... I assume that there is a clued method of doing this, but I (obviously) don't know what it is.
Any help is greatly appreciated.
Location: Washington, DC, on the edge of the stinking pit of decay (Capitol Hill)
Distribution: Slackware 10.2
Posts: 11
Original Poster
Rep:
You guys rock!
Thanks a bunch jrtayloriv... I had looked at that man page previously but not long enough. WMD, that was definitely part of what I was looking for. Put it all together with ifplugd, and now my network state is auto detected
For anyone else who may be in a similar situation to myself (laptop and changing network states), ifplugd is worth looking into if you want the convenience of automatic connection. For Slackware, edit the /usr/local/etc/ifplugd/ifplugd.action to use "dhcpcd -dn" instead of "ifup" and "dhcpcd -k" instead of "ifdown". ifplugd does not exist in package form; source is available at http://freshmeat.net/projects/ifplugd/ . It requires libdaemon, which must also be compiled from source and is available at http://freshmeat.net/projects/libdaemon/ .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.