LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 01-28-2005, 04:36 PM   #1
alephnull
LQ Newbie
 
Registered: Jan 2005
Location: Washington, DC, on the edge of the stinking pit of decay (Capitol Hill)
Distribution: Slackware 10.2
Posts: 11

Rep: Reputation: 0
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.

Thanks,
~ben
 
Old 01-28-2005, 04:38 PM   #2
jrtayloriv
Member
 
Registered: Jun 2004
Location: Inland NW, US
Distribution: Ubuntu
Posts: 365
Blog Entries: 1

Rep: Reputation: 44
man dhcpcd

enjoy,
jrtayloriv
 
Old 01-28-2005, 06:03 PM   #3
WMD
Member
 
Registered: Jul 2004
Location: Florida
Distribution: Slackware, Debian
Posts: 484

Rep: Reputation: 30
Quote:
Currently, I must actually reboot to make a new network connection...
No, you don't. /etc/rc.d/rc.inet1 restart should work well enough.
 
Old 01-28-2005, 11:56 PM   #4
alephnull
LQ Newbie
 
Registered: Jan 2005
Location: Washington, DC, on the edge of the stinking pit of decay (Capitol Hill)
Distribution: Slackware 10.2
Posts: 11

Original Poster
Rep: Reputation: 0
Talking 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/ .

Happy Computing and Many Thanks,
~ben
 
  


Reply


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
Sorry, there is already an instance of ifplugd for eth0 running. Maxplayer14 Mandriva 1 03-30-2005 11:21 AM
Help with libdaemon and ifplugd Random`Zero Slackware 4 02-18-2005 10:16 PM
Problem installing ifplugd/libdaemon from source kk5000 Linux - Software 2 05-19-2004 06:34 AM
Slackware equivalent of Debian's modconf & rcconf? johnMG Slackware 4 09-26-2003 11:37 PM
Hard Drake Equivalent in Slackware bongski55 Slackware 3 06-29-2003 05:48 AM


All times are GMT -5. The time now is 05:33 PM.

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