Pies are defined by their crust.
—Wikipedia
The easiest way to connect to a headless Raspberry Pi is with SSH. However, if one does not have access to the network to view the IP address of the Pi, it is quite challenging to find its IP address.
To solve this problem, this script will post a message in a Slack channel with the Pi's public and private IP address. It will post the message whenever the it makes a network connection.
Run install.sh
:
git clone https://github.com/MSOE-Supermileage/crust.git
cd crust
./install.sh <slack webhook URL>
Next, go to the "Configure Integrations" page for the Slack team. Switch to the "Configured Integrations" tab. Select "Incoming Hooks" and the one that says "Posts to #pie-crust as crust". Copy the Webhook URL, under Integration Settings, and give it to the install script when it asks for it.