NODA OpenWrt Package Repository

April 25, 2023

Adding the NODA OpenWrt Package Repository

This guide will walk you through adding the NODA OpenWrt Package Repository to your OpenWrt router. The repository is available at opkg.noda.se.

Step 1: SSH into your OpenWrt router

Use a tool like ssh on Linux or macOS or PuTTY on Windows to SSH into your OpenWrt router. The command to SSH into the router is:

ssh root@<router-ip-address>

Replace <router-ip-address> with the actual IP address of your router.

Step 2: Download the public key

Download the public.key file from the repository:

wget -O /tmp/public.key https://opkg.noda.se/public.key

Step 3: Import the public key

Import the public.key file into the opkg keyring:

opkg-key add /tmp/public.key

Step 4: Edit the customfeeds.conf file

Once logged in, create or edit the /etc/opkg/customfeeds.conf file using a text editor like vi or nano. For example, you can use the following command to edit the file using vi:

vi /etc/opkg/customfeeds.conf

Step 5: Add the repository feed

Add a line to the file for each architecture in the repository that you want to support on this router. The line should be in the following format:

src/gz noda-<architecture> https://opkg.noda.se/packages/<version>/<architecture>

Replace <architecture> with the architecture name (e.g., arm_cortex-a7_neon-vfpv4, mips_24kc, or mipsel_24kc) and <version> with the desired version (e.g., stable, testing, or unstable). For example:

src/gz noda-arm_cortex-a7_neon-vfpv4 https://opkg.noda.se/packages/stable/arm_cortex-a7_neon-vfpv4
src/gz noda-mips_24kc https://opkg.noda.se/packages/stable/mips_24kc
src/gz noda-mipsel_24kc https://opkg.noda.se/packages/stable/mipsel_24kc

Save the file and exit the text editor.

Step 6: Update the package list

Update the package list by running:

opkg update

Now, the NODA OpenWrt Package Repository should be available on your OpenWrt router, and you can install packages from it using opkg:

opkg install <package-name>

Replace <package-name> with the name of the package you want to install.