HackerGadgets AIO Board with Parrot OS Setup Tips

Please forgive the formatting errors. I have built this over the last few days and will likely make many edits.

This guide if for those of you using Rex’s images for the uConsole, specifically ParrotOS, with the HackerGadgets AIO SDR/LoRa/BlahBlahBlah board. It also shows a few tweaks to get around localization issues with Parrot. These tips may be relevant on Kali also.

Thanks to @Rex for the help and images!

Change Hostname (Optional)

sudo hostnamectl set-hostname YOURNAME
sudo nano /etc/hosts

New User (Do this before installing AIO Package!)

sudo adduser newuser
sudo usermod -aG sudo newuser

Remove Default User

sudo userdel -r pi

Reboot and login with your new user before installing AIO Package.

Fix Locale

1. Edit /etc/locale.gen:

  • Open the /etc/locale.gen file with a text editor as root:

    sudo nano /etc/locale.gen

  • Uncomment the line corresponding to the desired locale (e.g., en_US.UTF-8 UTF-8 or en_GB.UTF-8 UTF-8) by removing the # symbol at the beginning of the line.

    • PROTIP: A USB keyboard won’t fix the # key you need to edit locale.gen. Use alt keys: Alt+35 :wink:
  • Save the file and exit the editor.

2. Generate the locale:

  • Run the locale-gen command to generate the selected locale:

    sudo locale-gen

3. Set the system locale:
Edit the /etc/default/locale file.

sudo nano /etc/default/locale
  • Ensure the file contains the following lines, replacing en_US.UTF-8 with your chosen locale:

    LANG=en_US.UTF-8

  • Save the file and exit.

4. Reboot the system:

  • Reboot your Raspberry Pi for the changes to take effect:

    sudo reboot

Then reconfigure the keyboard layout.

  1. Open a terminal.

  2. Run the following command with sudo privileges to start the configuration utility:

    sudo dpkg-reconfigure keyboard-configuration

  3. I had to choose OTHER > US > US Default > And no special key assignments.

  4. A dialog-based interface will appear. Follow the on-screen prompts to select your keyboard model, country of origin, and desired layout.

  5. Once you have made your selections, you may need to reboot your system for the changes to take effect.

Install HackerGadgets SDR AIO Board Package by Rex

To install the package in Debian (Parrot in our case!)

sudo apt update && sudo apt --install-recommends install hackergadgets-uconsole-aio-board -y && sudo apt install meshtastic-mui -y

Fix GPS Permissions

Add Your User to the dialout Group
Open a terminal and run the following command. This adds your current user ($USER) to the dialout group.

sudo usermod -a -G dialout $USER

Test GPS with minicom

sudo apt install minicom
sudo minicom -D /dev/ttyAMA0 -b 9600

I highly recommend installing TIMESHIFT and saving a checkpoint at this point!

I will update this thread with any other neat tricks I find. :alien:

Current Issues:

  • SDR unavailable to dump1090
  • Lora unavailable to Meshtastic
  • tar1090 fails to load GUI
4 Likes

thanks for this! good to learn new stuff.

1 Like