Added two utility scripts for working with PMAC motors

This commit is contained in:
2025-01-09 13:24:17 +01:00
parent 08d76d7953
commit 83051e10c3
7 changed files with 501 additions and 2 deletions

21
utils/analyzeTcpDump/makevenv Executable file
View File

@ -0,0 +1,21 @@
#!/bin/bash
#-------------------------------------------------------------------------
# Script which installs a virtual environment for PCAP file parsing
#
# Stefan Mathis, September 2024
#-------------------------------------------------------------------------
# Remove any previous testing environment
if [ -d "venv" ]; then
rm -r venv
fi
/usr/bin/python3.11 -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip install "scapy>=2.5,<3.0"
# Exit the virtual environment
exit