Raspberry Pi5 best practice

Raspberry Pi5 best practice

đź’ˇ

We recently released an AoIP version compatible with Raspberry Pi 5. On this page, you will find important information for achieving the best results with this fantastic little computer.

đź’ˇ

After installing your Pi OS, you will find the complete installation procedure for SOUND4SOFT applications on this page:

About Pi models - Pi5 only!

At SOUND4, we have spent a long time evaluating Raspberry Pi models. For AoIP applications, we recommend using only the Pi5. About memory, a 4Gb configuration is enough!

About distribution - Raspberry Pi OS Lite (64-bits) only!

⚠️

We increasingly recommend using Debian versions without a graphical environment to maximize low-latency performance.

To prepare your SD card and install Raspberry Pi OS, please visit the official Raspberry Pi page: https://www.raspberrypi.com/software/ where everything is detailed.

When using the Raspberry Pi Imager to flash your SD card, select the following under Operating System:

image

Then

image

You can check the official documentation here.

IP address

By default, the Raspberry Pi is set to DHCP mode

đź’ˇ

You can see the current Raspberry Pi address by connecting a screen to the Pi's HDMI port

đź’ˇ

You can reserve the current IP address in your router. This way, the Raspberry Pi will maintain the same IP address.

👉

If needed, a Debian tool is available for configuring Ethernet ports. Run the command line below and you'll get access to a “basic graphical interface”.

WARNING: There is no cancel or undo function, modifications are applied immediately. Double-check all settings before making changes, or you may lose your connection to the Pi!

sudo nmtui

Physical Ethernet Ports

The Raspberry Pi has only one Ethernet port, which by default for AoIP version handles both admin HTML pages and AoIP streams.

If you like to separate admin and AoIP network traffic, you can install a USB Ethernet port or use the Wi-Fi. The Raspberry Pi will detect it automatically. In this case, we recommend using the Pi's Ethernet port for AoIP and the USB Ethernet or Wi-Fi port for administration (HTML).

đź’ˇ

If you separate the networks, the AoIP Ethernet port should not be set as a default route, so it is not used for anything else other than AoIP.

To unselect default route on an interface, you can :

  • Use nmtui : sudo nmtui
  • Choose “Edit a connection” and hit Enter
  • Select the connection and hit Enter
  • Using TAB to navigate, check the following using SPACE :
    • “Never use this network for default route”
    • “Ignore automatically obtained routes”
    • “Ignore automatically obtained DNS parameters”
  • Using TAB, go to OK and hit Enter
  • Hit ESC to exit
  • Reboot to reinitialize the Ethernet

Default opened port for SOUND4 applications

By default, SOUND4 HTML pages are accessible on port 80 for non-secure access and port 443 for HTTPS access.

Ports can be edited directly through HTML pages or by fixing them in the /etc/default/sound4.aoip.cl file.

Update Debian OS and SOUND4 applications

Click this link to open the dedicated page