Skip to content

Example of complete installation

Olivier SCHMITT edited this page Oct 29, 2021 · 1 revision

1.Preparing the SD card

a.Put your SD card in your reader and plug this into a usb port 0

b.Download and install raspberry pi card management software

Go to https://www.raspberrypi.org/software/ Download and install Raspberry Pi Imager.

c.## Install the base lite image Follow the illustrations to install the base lite image:

1 2 3 4 5 6 7 8 9 9b 10

d.1.ssh activation

Disconnect and reconnect your usb sd card reader Go to windows explorer Click on the drive named "boot" In the list of files on the right, right click somewhere in the white. Click on "new" then "text document". Rename it to "ssh" and be sure to remove the ".txt" extensions.

11

d.2.Optional wifi configuration

Disconnect and reconnect your usb sd card reader Go to windows explorer Click on the drive named "boot" In the list of files on the right, right click somewhere in the white. Click on "new" then "text document". Rename it to "wpa_supplicant.conf" and be sure to remove the ".txt" extensions.

edit the file and add your wpa configuration like:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=FR
network={
    ssid="your_wifi_ssid"
    psk="your_wpa_key"
}

e.Connect the hardware and SD card.

Insert the sd card into your raspberry pi. Connect your CAT interface, your sound card. (Optional) Eventually connect your rtl sdr dongle to have the IF. Connect your network interface.(The wifi is not recommended because it introduces problems related to itself. If you are good, you can use it anyway)

f.Connect in ssh

Wait a minute or two for the raspberry pi to boot up and perform these power-on routines. Si vous êtes sous windows, utiliser le logiciel putty:

12

If you have a "Putty Security Alert" window click "yes".

A black window will open. On the line "login as:" put "pi" On the line "pi@raspberrypi.local's password:" put "raspberry" (Warning, it is normal that nothing is displayed on the password line, in fact your password is hidden for discretion)

You should then see this: 13

2.Software installation

a.Software prérequises installation

Put the following command lines:(you can copy paste but don't forget to press the enter key at the end to validate the command)

sudo apt-get update && sudo apt-get upgrade -y && sudo reboot

This first command line will update your installation and restart. As soon as this is finished, you need to reconnect. After logging in, then continue with:

sudo apt-get install -y git python3 python3-pip python3-numpy python3-tornado python3-serial python3-pyaudio rtl-sdr
sudo pip3 install pyalsaaudio pam pyrtlsdr
sudo apt-get autoremove -y --purge python3-libhamlib2
sudo apt-get install -y autoconf automake libtool swig
cd ~/
git clone https://github.com/Hamlib/Hamlib.git
cd Hamlib/
./bootstrap
./configure --with-python-binding PYTHON=$(which python3)
make all && sudo make install && cd bindings && make && sudo make install && sudo ldconfig
sudo reboot

You have to reconnect for the next stage.

b.Clone the UHRR repo

cd ~/
git clone https://github.com/F4HTB/Universal_HamRadio_Remote_HTML5.git

c.Run the code

cd ~/Universal_HamRadio_Remote_HTML5
PYTHONPATH=/usr/local/lib/python3.7/site-packages:$PYTHONPATH ./UHRR