To be able to run the IP-logger script at specified intervals we'll need to prepare OpenWRT for it. This part explains how to prepare OpenWRT for it.
All pages in this serie:
Steps on this page:
When you are on SSH execute the following 2 commands:
/etc/init.d/cron start
/etc/init.d/cron enable
We have to refresh the package lists to be able to find and install the packages we'll need.
To refresh the package execute the following command on SSH:
opkg update
While Busybox on OpenWRT provide a simple 1 binairy shell the script needs some better implementation of the shell which bash can provide. Also for proper processing of the data to the Pushbullet servers we will need curl.
To install both bash and curl execute the following command on SSH:
opkg install bash curl