It sounds like you’re encountering a script issue where it continuously loops due to missing dependencies.
Things to try
- Manually Install
wireshark-gtk
:
Since the script fails due to a missing package, try installing wireshark-gtk
manually to see if it resolves the dependency issue.
sudo apt update
sudo apt install wireshark-gtk
If wireshark-gtk
is not available (since it might have been replaced or deprecated), try installing the current version of Wireshark:
sudo apt install wireshark
Note: During the installation, you might be prompted about non-superusers being able to capture packets. Choose “Yes” or “No” based on your preference.
- Check for Updated Script:
Visit the official Alfa Network documentation or support page to see if there is an updated version of the script available
[Alfa Network Support](https://docs.alfa.com.tw/Product/AHPI72 … arted_New/)
- Modify the Script:
If you’re comfortable with editing scripts, you can download the script and manually remove or modify the part where it checks for wireshark-gtk
and causes the reboot loop. Look for any lines in the script related to wireshark-gtk
and replace them with wireshark
.
curl -O [URL to script]
nano [script name]
Search for wireshark-gtk
and replace it with wireshark
, then save the file and run the script again.
- Disable Automatic Reboot:
Temporarily disable the automatic reboot by commenting out or removing those lines in the script. This will allow you to see the full error message and address any other missing dependencies.
Comment out the reboot line
reboot
- Contact Support:
If the above steps do not resolve the issue, consider reaching out to Alfa Network’s support for assistance. Provide them with details of the issue, and they may be able to provide a patched script or additional instructions.
Example of Manual Steps
Here is an example of how you might manually download and edit the script:
Download the script
curl -O https://docs.alfa.com.tw/Product/AHPI72 … /script.sh
Edit the script
nano script.sh
Look for any lines containing wireshark-gtk and modify them
For example:
sudo apt install wireshark-gtk
Change to:
sudo apt install wireshark
Save the script and make it executable
chmod +x script.sh
Run the script
./script.sh
If none of that works…maybe try 64-bit Pi OS or contact ALFA/Pi forums for more support