[NTLUG:Discuss] dhcpcd guestion

JM5379@sbcglobal.net JM5379 at sbcglobal.net
Tue Aug 13 10:28:09 CDT 2002


I believe these are simply scripts supplied by RH.

ifdown eth0
ifup eth0

will cycle the eth0 connection.
Depending on your permissions, you may have to be root to run these.


--- Original Message ---
From: jeremyb at univista.com
To: discuss at ntlug.org
Subject: RE: [NTLUG:Discuss] dhcpcd guestion

>/sbin/ifup
>/sbin/ifdown
> 
>there are no man pages for these as far as I know.
> 
> 
>
>-----Original Message-----
>From: Fred James [mailto:fredjame at concentric.net] 
>Sent: Tuesday, August 13, 2002 9:02 AM
>To: discuss at ntlug.org
>Subject: Re: [NTLUG:Discuss] dhcpcd guestion
>
>
>man ifup, man ifdown, on RH 7.2 returned nothing.
>network restart had no effect - don't know why
>I think dhcpcd -k is going to do it - I'll let you know next
time it happens
>
>
>jeremyb at univista.com <mailto:jeremyb at univista.com>  wrote:
>
>
>I think RH 7.2 still has the ifup and ifdown scripts.   Use those.
>
>   #> ifdown eth0 
>   #> ifup eth0
>
>If that doesn't get it then you can always do:
>
>   #> /etc/init.d/network restart
>
>But,  that'll bring all interfaces down for a few seconds.
>
>-----Original Message-----
>From: MadHat [mailto:madhat at unspecific.com
<mailto:madhat at unspecific.com> ] 
>Sent: Monday, August 12, 2002 5:48 PM
>To: NTLUG-Discuss
>Subject: Re: [NTLUG:Discuss] dhcpcd guestion
>
>
>On Tue, 2002-08-13 at 03:37, Fred James wrote:
>
>If dhcpcd doesn't get a new IP on startup, but holds the stuff
it had
>before power down, what is the best way to force it to net a new
lease 
>(is that the right word?)?
>Am I asking a question that makes sense?
>Thanks in advance.
>
>Dell Latitude C800
>RH 7.2
>
>
>delete the /etc/dhcpcd/dhcpcd-<INTERFACE>.* then either HUP the
dhcpcd or
>(in my case) remove and readd the card (used for my wireless) :^)
>
>there are probably command line options, but this is the way I
force it when
>necessary.
>
>
>
>-- 
>
>small is beautiful
>
>






More information about the Discuss mailing list