[NTLUG:Discuss] dhcpcd guestion
Alton R. Pouncey, II
alton at trainers-r-us.com
Tue Aug 13 09:28:46 CDT 2002
You don't want "man ifup" or "man ifdown". Those will give you the man
pages, which don't exist. Some commands you can use:
# ifdown <interface>
# ifup <interface>
# ifconfig <interface> down
# ifconfig <interface> up
# /etc/rc.d/init.d/network stop
# /etc/rc.d/init.d/network start
Sometimes, /etc/rc.d/init.d/network restart works for me and sometimes
it doesn't. That's why I just stop and start it - YMMV.
On Tue, 2002-08-13 at 09:01, Fred James wrote:
> 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 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]
> >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
>
>
--
Alton R. Pouncey, II
SCSA, SCNA, CCNA, CIW Professional
Director of Information Services
http://www.trainers-r-us.com
More information about the Discuss
mailing list