vwillcox / papirus-netapp

A Network appliance for the PaPiRus from PiSupply

Home Page:https://www.talktech.info

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

paypal

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)

  1. Added code to generate One Time Passwords.
  2. 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 alt tag

You will get a code in a box, you do not need to worry about the spaces:

alt tag

Happy new year! See you in 2018


Previous Changes (7th October 2017)

  1. Added code to fetch the runtime path, now you can run this from a directory of your choosing.
  2. Fixed some of the display code so it looks a little better when running
  3. Added install.sh - So you can now clone the repo and run sudo ./install.sh to get all the python libraries installed
  4. Headless mode added - See Menu Structure below

Using this App

  1. Clone the repository
  2. Install the pre-requisits 2.1) You can now sudo ./install.sh to install everything you need on the Raspberry Pi.
  3. 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

    1. Go to Advanced Menu
    1. Scan for Raspberry Pi's
    1. Show Speed Graph
    1. Run a speed test

Advanced Menu

    1. Back to Main Menu
    1. Power off the Appliance
    1. 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

About

A Network appliance for the PaPiRus from PiSupply

https://www.talktech.info

License:MIT License


Languages

Language:Python 87.7%Language:Shell 12.3%