El Lunes, 2 de Julio de 2007 04:14, Lux Zhang escribió: > On 01/07/07, Mikkel L. Ellertson <mikkel@xxxxxxxxxxxxxxxx> wrote: > > Lux Zhang wrote: > > > Hi > > > my ISP provides a non-statis IP. I am looking for a linux tool to watch > > > ip address change. that can monitor my public and local IP address. If > > > IP address changes it will send an email, to the address specified, > > > with the new IP address. This email also includes the computer name and > > > time the change occurred. This is useful for computers that have > > > dynamically assigned IP addresses, but need to be accessed remotely. > > > > > > > > > Hope some one can help > > > > > > Yuan > > > > Take a look at ddclient. It does a lot more then what you are after, > > but it does send an email when the IP address changes. It is > > designed for you with the different Dynamic DNS sites to keep your > > IP address up to date. It will also work with most routers to get > > the IP address from them. You can install it with yum, and start it > > as a service after you configure it. > > thanks, i installed ddclient and it is nice. could you offer a bit hint how > to configure ddclient to send out email (eg yuanlux@xxxxxxxxx) after each > update? It seems only sending out email to root at localhost. > > > Mikkel > I've not seen the source code of the ddclient but I suppose you might need to hack the code to do that, or even more simplier, just add something like && mail -s ddclient update name@xxxxxxxxx if you set up ddclient in a crontab task or something... -- Manuel Arostegui Ramirez. Electronic Mail is not secure, may not be read every day, and should not be used for urgent or sensitive issues. -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list