My Projects, Projects

Network Testing

An e-ink screen on a Raspberry Pi showing the text Looking for Raspberry Pi's Please Wait

E-Ink Screen attached to the Raspberry Pi

Do you have many Raspberry Pi’s on your network, with DHCP (dynamic IP addresses)? If so – then I have a script for you!

I have put together a python script that will scan your network for Raspberry Pi’s and then try and connect to them via SSH.

So not only can you find your Raspberry Pi’s, but you can confirm that any connected to the network have changed the default password!

This code uses several python libraries not installed by default, so you will need to get them installed before this will run.

sudo pip install pexpect
sudo pip install python-nmap
sudo pip install 
sudo apt-get install libjpeg-dev
sudo apt-get install python-dev

Special thanks go to Keith Ellis from the Ipswich Makerspace (https://www.facebook.com/groups/ipswichhackspace/) for the code that got me started with this project!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Theme by Anders Norén