8/5/2023 0 Comments Dnsexit ip locator![]() If all goes well, you should now get email updates when the IP address of your machine changes. crontab -eĪdd the following line to the bottom of the file: */2 * * * * bash ~/Scripts/ip-notify.sh Once that's done, save and close the file. Sendemail -u "IP Address" -m "IP address has changed!" -f "$SENDERNAME " -t "$RECIPIENTNAME " -s $SMTPSERVER -xu $GMAILUSER -xp $GMAILPASS -a $DIR$CURIP $IPLOG If ] Įcho "$CURIP has been modified in the last two minutes." GMAILPASS="password" # This is your Gmail password. A set of ddns client support scripts for using a dynamic IP (via DHCP) to run a. GMAILUSER="someemail" # This is your Gmail username, without the part. Dynamic DNS updater client for ddns service from dnsexit (and others). Also purely # This is your Gmail address. Dnsdynamic Alternativen Industrie Geschft Rang 10M+ Besucher 7.5K is ranked number 10M in the world and links to network IP address 138.197.72.136. RECIPIENTNAME="Your Name" # This is the name that will show in the 'To' field. is ranked number 10M in the world and links to network IP address 75.102.59.35. script and the log location will be defaulted to /var/log/ddns. SENDERNAME="Computer" # This is the name that will show in the 'From' field. Simply put, using this service gives a name to your IP. Insert the following text in the file: #!/bin/bash mkdir -p ~/Scripts & touch ~/Scripts/ip-notify.sh & chmod a+x ~/Scripts/ip-notify.sh & gedit ~/Scripts/ip-notify.sh sudo apt-get install sendemail libio-socket-ssl-perl libnet-ssleay-perlĬreate a file named " ip-notify.sh" somewhere, for example in a " Scripts" directory in your home folder make it executable, and open it up for editing. ![]() service dns update > commit Delphi圎ngineName service dns> exit. ![]() We'll use it to send emails from a script, using a Gmail account. If the IP address, net mask, or any other properties of the network interface itself. It's a lightweight, command line SMTP email client.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |