Giter VIP home page Giter VIP logo

check_ip_changes's Introduction

Check IP Changes

These are scripts to check if the IP addresses of a given machine in a dynamic IPs network have changed. It sends e-mails if a change is detected.

Installation

In a linux terminal, execute the following commands:

cd ~
git clone https://github.com/HaraldoFilho/check_ip_changes.git
cd check_ip_changes
mv _config.sh config.sh

Configuration

Open the file config.sh for edit and include the from and to e-mail addresses in its respective variables.

Usage

There are three scripts to run:

  • check_private_ip_change.sh: Used to check, in a private dynamic IPs network, if the IP address assigned to the machine by the router has changed.
  • check-public-ip-change.sh: Used to check if the IP address assigned to the machine or router by the ISP has changed.
  • check-ip-changes.sh: Run the two scripts when both internal and external networks have dynamic IPs.

The scripts don't provide any output in the terminal, if a change has been detected an e-mail will be sent with the new IP.

TIP: To periodically check for changes, include one of the scripts in the user's crontab. Do not include in the root crontab, because the script will not run.

check_ip_changes's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.