Awesome
papirus-netapp
A Network appliance for the PaPiRus from PiSupply
I have now cleaned up some of the code and added a new menu to run the Appliance headless.
Changes (31st December 2017)
- Added code to generate One Time Passwords.
- Removed GPIPZero based button actions as native GPIO button code is more responsive
If you wish to use this feature you will need to add your codes to the new veriables
google and lastpass
You can change these, remove this us only one code etc.
How to get your Google authenticaor code for Google Accounts: https://support.google.com/accounts/answer/185839?hl=en
On this step - click "CAN'T SCAN IT" to get the code
You will get a code in a box, you do not need to worry about the spaces:
Happy new year! See you in 2018
Previous Changes (7th October 2017)
- Added code to fetch the runtime path, now you can run this from a directory of your choosing.
- Fixed some of the display code so it looks a little better when running
- Added install.sh - So you can now clone the repo and run sudo ./install.sh to get all the python libraries installed
- Headless mode added - See Menu Structure below
Using this App
- Clone the repository
- Install the pre-requisits 2.1) You can now sudo ./install.sh to install everything you need on the Raspberry Pi.
- Run python main.py
Running the Applicance code on Raspberry Pi Reboot
sudo crontab -e
add a line like
@reboot python /home/pi/papirus-netapp/main.py
change the path to match where you cloned the repo too.
This assumes that you have already installed all the PaPiRus bits and have the screen working on your Raspberry Pi.
Menu structure
-
- Go to Advanced Menu
-
- Scan for Raspberry Pi's
-
- Show Speed Graph
-
- Run a speed test
Advanced Menu
-
- Back to Main Menu
-
- Power off the Appliance
-
- Generate OTP's
Required Software
Copy and paste the following two lines to install all dependencies.
sudo apt-get install python-matplotlib python-nmap
sudo pip install -r requirements.txt