I want the external ip-address sent to me when it changes. I followed the tweaking faq but i receive the LOCAL ipaddress of SME instead of the EXTERNAL ipaddress. My SME 7 is configured as a server/gateway with 2 network interfaces. Does someone know what to change so that it works?
Below is the faq posted on this site.
* How to get SME's IP adress emailed, if it is not static?
Problem: The provider disconnects after 24 hours. You don't have a static IP, you won't or don't use dyndns and you want to recieve the actual IP of your server as soon as it's changed. All you need is an email-account somewhere. Works on all SME since 4.12.
Solution:
Edit
/etc/ppp/ip-up
and enter at before the exit 0
echo $4 | mail -s "New IP Myserver" your_desired@address.org
where "New IP Myserver" is a text at your choice and "your_desired@address.org" is your email adress.