On a rh6.2 system I use pump-0.7.8-1 with a dsl/dynamic ip connection, and
this sort of thing works for me. You probably need to specify the
interface - 'pump -i eth0 -s'
Mike, Hal is right. If you use the ability to run a script when the
interface goes up or down, or the lease renews you could dump this info to
a file yourself. If it's the format you don't like, send me an example of
the format you would like to see, and I'll make a script to generate that
for you if you'd like. It sounds useful, although I have found that just
the IP is all I need (which is already provided by pump with having to do
any scripting)
charles
On Sat, 14 Oct 2000, Hal Burgiss wrote:
> On Sat, Oct 14, 2000 at 07:03:08PM -0400, Michael H. Warfield wrote:
> >
> > Note... Right now, dhcpcd still seems to have one feature that
> > I seriously need and pump doesn't seem to have. It dumps all its lease
> > information into a known file (/etc/dhcpc/dhcpcd-${IFACE}.info) which
> > can be parsed by other scripts and compared with previous values. It's
> > even in a convention form that can be "sourced" from a script to set
> > environment variables. If the newer versions of pump support something
> > similar, I haven't found it yet.
>
> You could conceivably set a script in pump.conf which does a
> pump -s >> $FILE:
>
> Device eth0
> IP: 216.78.197.8
> Netmask: 255.255.252.0
> Broadcast: 216.78.199.255
> Network: 216.78.196.0
> Boot server 205.152.133.254
> Next server 0.0.0.0
> Gateway: 216.78.196.1
> Boot file: 005004a87713
> Domain: sdf.bellsouth.net
> Nameservers: 205.152.133.254 205.152.0.5
> Renewal time: Sun Oct 15 05:42:22 2000
> Expiration time: Sun Oct 15 07:12:22 2000
>
> Is that close? Just trying this with a forced renewal (pump -R), and
> the script does not get run at all :(
>
> --
> Hal B
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> --
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list