Tutorial: Installing OpenWrt on Void Linux

This tutorial will guide you through the process of installing OpenWrt on Void Linux.

Prerequisites

Before you begin, make sure you have the following:

Step 1: Creating a bootable USB drive

  1. Insert your USB drive into the computer.

  2. Open the terminal and run the following command to identify the name of your USB drive:

    lsblk
    

    The output should show all the available storage devices on your computer, including your USB drive. Identify the name of your USB drive (e.g. /dev/sdb) and take note of it.

  3. Download the dd utility if it is not already installed on your system by running the following command:

    sudo xbps-install -Su dd
    
  4. To create a bootable USB drive, run the following command:

    sudo dd if=path/to/openwrt-image.img of=/dev/sdX bs=4M && sync
    

    Replace path/to/openwrt-image.img with the path to the OpenWrt image you downloaded earlier, and replace sdX with the name of your USB drive obtained in step 2.

  5. Wait for the process to complete. Once it is finished, remove the USB drive from the computer.

Step 2: Booting from the USB drive

  1. Insert the USB drive into the computer that you want to install OpenWrt on.

  2. Restart the computer and enter the boot menu. The key combination to enter the boot menu varies depending on the manufacturer of your computer. Typically, it is one of the following keys: F2, F8, F10, F12, or Del.

  3. Select the USB drive as the boot device and press Enter.

  4. The OpenWrt boot menu should appear. Select the option to install OpenWrt.

    Note: Make sure to select the correct option to avoid accidentally overwriting your existing operating system.

  5. Follow the on-screen instructions to complete the installation process.

    Note: You will need to configure your network settings and other system settings during the installation process.

  6. Once the installation is complete, remove the USB drive and restart the computer. OpenWrt should boot up as the default operating system.

Congratulations, you have successfully installed OpenWrt on Void Linux!

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!