The IP-logger informs you when the external (WAN) IP-address of your OpenWRT router changes. It does this by using the Pushbullet API. It wil send you a pushmessage to your mobile device with Pushbullet client or to an e-mail address. You will need at least 1 Pushbullet account to make use of this script.
All pages in this serie:
Steps on this page:
The IP-logger informs you when the external (WAN) IP-address of your OpenWRT router changes. It does this by using the Pushbullet API. It wil send you a pushmessage to your mobile device with Pushbullet client or to an e-mail address. You will need at least 1 Pushbullet account to make use of this script.
Step 1: Create your Pushbullet account (when you didn't already had one)
Go to www.pushbullet.com and create your account. You can sign up with either a Google Account or a Facebook account.
If you want to recieve pushmessages on your smartphone or desktop copmputer you'll need to install a client.
A lot of operating systems are supported. You can find your desired client on this page: https://www.pushbullet.com/apps
To make it possible for the script to send you a pushmessage or e-mail you'll need an Access Token of Pushbullet.
To create an Access Token you have to login on the Pushbullet website, click on your profile-picture (1) in the upper right corner and go to "My account" (2).
Then you have to go to "Access Tokens" (3) and click the "Create Access Token" button (4).
The Access Token will be displayed:
The API key at the screenshot is blurred to prevent abuse of that API key.
Important! Save the token somewhere for later use! The Access Token will be displayed only once! When you return to this page the Access Token won't be displayed anymore!
Proceed to IP-logger - Part 2: Prepare OpenWRT.