<grins> This is a newbie question?
Well, I did that and my ISP phoned me to tell me "'Unlimited' doesn't mean
24/7. Get a digital connection at $510/month plus a one time $1200 internet
initiation fee and you have a static IP and a 56K digital connection."
I have a bash script at work that does almost what you ask. I will send it
privately tomorrow. It uses sed and lynx, mostly, and sets up a receiving IP
for MX records with a dyndns service, and also keps the modem up only 10
minutes out of each hour of non-office hours.
The basic detail, and a nice starting script is also available at
http://www.yi.org.
Civileme
Sridhar G wrote:
> Hi,
>
> I've configured my PPP to autodial when connection is lost, using linuxconf
> .
>
> First I'd like to know where the PPP configuration is stored by linuxconf.
>
> Next, whenever ppp autodials and receives my dynamic IP address I want to
> capture the dynamic IP address and use sendmail to send an email with the
> new IP address to my public email account.
>
> How can I achive this. DO I have to write any perl scripts?
>
> Thanks
> Sridhar