On Sat, 29 Apr 2000,  Ditesh wrote about,  Re: Assigning ip address for dynamic 
interface to shell variable:
> > If the dynamic IP address and gateway are being reassigned in a DHCP lease,
> > the standard Linux DHCP client (dhcpcd) has the provision to execute a
> > script or program every time it gets a new lease for an interface. It also
> > stores the information it gets in the lease in a fairly readable format. The
> > releavnt filenames (on my Debian system, anyway) are:
> > 
> >         /etc/dhcpc/dhcpcd-eth0.exe      will execute this one
> >         /etc/dhcpc/dhcpcd-eth0.info     holds the lease info
> 
> Hmmm ... funny .... I use DHCP but haev no files that you have mentioned.  But
> everything works. Using RH 6.2.

You seem to be right in saying this, i normally run slackware (which is the
same as Ray mentions), Redhat does have a /etc/dhcpc directory but it
remains empty even when there is an established ethX interface established.

I used 'find' to search for dhcp files but did not find any, this seems
funny also, there must be a cache file somewhere or other.

I looked no futher so if anyone else has Redhat-6.2 running with dhcpd and
has an explanation i would be interested to hear where and how redhat
stores its dhcp information.

We both seem to be missing something.

> -- 
> Best regards,
> ditesh
> http://ditesh.cjb.net
> "Hands that help are holier than lips that pray." - Anonymous
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to [EMAIL PROTECTED]
> Please read the FAQ at http://www.linux-learn.org/faqs
-- 
Regards Richard
[EMAIL PROTECTED]
http://people.zeelandnet.nl/pa3gcu/


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to