No description
- Python 83.9%
- Shell 16.1%
| .gitignore | ||
| netgraph_viewer.py | ||
| netgraph_viewer.sh | ||
| README.md | ||
Netgraph Viewer
This script contains password bypass for ngctl
Use with extra precaution
Requirement : Run ngctl as root without password
- doas.conf (modify as neccessary)
permit nopass <username> as root cmd ngctl
How to Run
- Shell Script (less dependencies)
- Requires:
- ngctl command
- dot command
- Image Viewer with Live Update (Ex: Risretto)
- How to Run:
- Chmod +x netgraph-vewer.sh
- Run netgraph-vewer.sh
- Open image.png with Image Viewer
- Enjoy live update
- Python Script (less secure: need external libs)
- Requires:
- subprocess
- tkinter
- ngctl command
- dot command
- How to use:
- Run with python3.11 netgraph-viewer.py
- Wait several seconds for tkinter to show image with update