How to set up Wi-Fi in Hive OS: all the network setup methods

Setting up a wireless connection in Hive OS — a key step when launching a mining rig, especially if your rigs are located in areas without wireless internet. Unlike traditional operating systems, the interface and commands are unique, which can be confusing even for experienced users. Wi-Fi issues in Hive OS often cause equipment downtime, hashrate loss, and rig instability.

In this article, we'll cover all the current methods for connecting to Wi-Fi: via the web interface, console commands, and manually editing configuration files. We'll pay special attention to common errors (for example, wpa_supplicant won't start or the network keeps dropping out) and how to fix them. If you are using Hive OS on ASUS B250 Mining Expert, Gigabyte H110-D3A or other popular mining motherboards—the instructions will work for all of them.

1. Preparing to set up Wi-Fi in Hive OS

Before you begin connecting, please make sure your equipment meets the minimum requirements. Hive OS supports Wi-Fi adapters on chips Realtek RTL8188EU, RTL8812AU, Intel AX200 and others, but not all models work reliably. For example, adapters based on Broadcom BCM43142 may require additional drivers.

Also check:

  • 🔌 Availability of a free USB port for a Wi-Fi adapter (if using an external module).
  • 📶 Router signal strength at the rig location (recommended not less than -60 dBm).
  • 🔒 Your router's support for standards 802.11n/ac/ax (obsolete 802.11g may not be suitable).
  • 🔄 No MAC address restrictions in router settings (Hive OS can use virtual MAC addresses for network interfaces).
⚠️ Warning: If you use USB Wi-Fi adapterConnect it directly to the motherboard, not through a USB hub. This will reduce the risk of packet loss and disconnections.

To check adapter compatibility, run the command in the Hive OS console:

lsusb

In the output, find the line with the name of your device. If the adapter isn't detected, you'll need to install drivers (we'll cover this in the troubleshooting section).

📊 What type of connection do you use for your mining rig?
Wired Ethernet
Wi-Fi adapter
3G/4G modem
Another option

2. Setting up Wi-Fi via the Hive OS web interface

The easiest way is to use the built-in web interface. This method is suitable for most users and does not require knowledge of Linux commands. The instructions are relevant for Hive OS 0.6-230425 and newer.

Steps to connect:

  1. Log in Hive OS personal account and select your rig.
  2. Go to the section Network (Net).
  3. In the block Wi-Fi click Add Network (Add network).
  4. Fill in the fields:
    • SSID — the name of your Wi-Fi network (case-sensitive!).
    • Password — network password.
    • Security — security type (WPA2-PSK in 90% of cases).
  • Click Save and reboot the rig using the command reboot in the console.
  • After rebooting, check the connection status in the section Network → InterfacesIf next to wlan0 (or another interface name) an IP address appeared - connection successful.

    Make sure the IP address is displayed in the web interface|Ping the gateway with the command ping 192.168.1.1 (replace with your gateway)|Check your connection speed via speedtest-cli|Make sure the hashrate is stable and there are no disconnects

    -->

    ⚠️ Attention: If after saving the settings the rig does not connect to Wi-Fi, check if your router is blocking new devices via the function MAC Filtering or Access Control.

    3. Manually connect to Wi-Fi via the Hive OS console

    If the web interface is unavailable or more flexible configuration is required, use console commands. This method is also useful for debugging connection issues.

    Basic commands for configuration:

    Team Description
    iwconfig Shows a list of wireless interfaces and their status.
    iwlist wlan0 scan Scans for available networks (replace wlan0 to your interface).
    wpa_passphrase "SSID" "password" | sudo tee /etc/wpa_supplicant.conf Generates config for wpa_supplicant with the specified SSID and password.
    sudo wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf Starts the connection in the background.
    sudo dhclient wlan0 Obtains an IP address via DHCP.

    An example of a complete sequence of commands for connecting to a network MiningFarm with a password 12345678:

    # First we check the interface name
    

    iwconfig

    Generate config (replace SSID and password!)

    wpa_passphrase "MiningFarm" "12345678" | sudo tee /etc/wpa_supplicant.conf

    Let's connect

    sudo wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf

    sudo dhclient wlan0

    Checking IP

    ifconfig wlan0

    If the IP address isn't assigned after running the commands, check if your Wi-Fi adapter is conflicting with other USB devices (such as ASIC controllers). Try disconnecting any unnecessary devices and reconnecting.

    4. Setting up a static IP for Wi-Fi in Hive OS

    By default, Hive OS obtains an IP address via DHCP, but for stable farm operation, it is better to assign a static IP. This is especially important if you are using port forwarding for remote control or monitoring.

    Instructions for assigning a static IP:

    1. Open the network configuration file:
      sudo nano /etc/network/interfaces
    2. Find the block for wlan0 (or your interface) and replace it with:
      auto wlan0
      

      iface wlan0 inet static

      address 192.168.1.100

      netmask 255.255.255.0

      gateway 192.168.1.1

      dns-nameservers 8.8.8.8 8.8.4.4

      wpa-ssid MiningFarm

      wpa-psk 12345678

      (replace IP, gateway and network data with your own).

    3. Save the file (Ctrl+O, then Enter) and reboot the rig.
    4. After rebooting, check the IP assignment using the command:

      ip a show wlan0
      ⚠️ Important: If you assign a static IP, make sure it is not in your router's DHCP pool. For example, if your router assigns addresses with 192.168.1.100 to 192.168.1.200, select an IP outside this range (eg. 192.168.1.210).

      5. Solving common Wi-Fi problems in Hive OS

      Even after properly setting up Wi-Fi, issues may still occur. Let's look at common errors and how to fix them.

      5.1. Wi-Fi connects, but there is no internet

      Reasons and solutions:

      • 🔄 Incorrect gateway or DNS: Check the settings in /etc/network/interfacesTry manually entering Google's DNS (8.8.8.8).
      • 🔒 Blocking on the router: Disable the functions on the router AP Isolation or Client Isolation.
      • 📡 Weak signal: Use a Wi-Fi adapter with an external antenna (eg. TP-Link TL-WN722N) or install a repeater.

      5.2. The adapter is not detected (there is no interface) wlan0)

      Possible reasons:

      • 🔌 Lack of food: Connect the adapter via powered USB hub.
      • 🖥️ Lack of drivers: For adapters on Realtek RTL88x2BU Install the driver manually:
        sudo apt update && sudo apt install -y realtek-rtl88xxbu-dkms
      • 🔄 Conflict with other USB devices: Disconnect unnecessary devices and reboot the rig.

      5.3. Constant connection breaks

      What to do:

      • 📶 Change Wi-Fi channel on the router (for example, from automatic to fixed 6 or 11).
      • 🔄 Turn off power saving for Wi-Fi adapter:
        sudo iwconfig wlan0 power off
      • 🔒 Update your router firmware — older versions may not work correctly with a large number of connected devices.
      How to check connection stability?

      To monitor packet loss, use the command:

      ping -c 100 8.8.8.8 | grep "packet loss"

      If losses exceed 5%, the problem requires resolution. It's also helpful to keep a disconnect log:

      journalctl -u wpa_supplicant --no-pager | grep "disconnected"

      6. Optimizing Wi-Fi for Stable Mining

      Connection stability is critical for mining rigs, as even short-term interruptions can lead to a loss of hashrate. Here are some optimization tips:

      1. Router setup:

      • 📶 Set a fixed channel Wi-Fi (avoid automatic selection).
      • 🔒 Turn it off WPS - This function is vulnerable and may cause conflicts.
      • 🔄 Turn on QoS (Quality of Service) and set high priority for your rigs' IP addresses.

      2. Setting up Hive OS:

      • 🔄 Add to crontab automatic connection check:
        /5    * ping -c 1 8.8.8.8 || /sbin/shutdown -r now

        (this will reboot the rig if the internet is lost).

      • 📡 Use mwan3 to reserve channels (if you have multiple network interfaces).

      3. Hardware solutions:

      • 🔌 Connect your Wi-Fi adapter via USB 2.0 (not 3.0) - this will reduce interference.
      • 📶 Use adapters with support MU-MIMO (For example, ASUS USB-AC68) for better performance in interference conditions.

    7. Alternative ways to connect to the Internet

    If your Wi-Fi is unstable, consider these alternatives:

    Way Pros Cons Recommendations
    3G/4G modem Does not depend on the router, mobile Internet. High ping latency, possible traffic restrictions. Use modems Huawei E3372 or ZTE MF823 with support HiLink.
    Powerline adapters More stable than Wi-Fi, uses electrical wiring. Sensitive to wiring quality, more expensive than Wi-Fi. Models TP-Link AV1000 or Devolo Magic 2.
    Ethernet over USB More reliable Wi-Fi, low ping. Requires cable installation. Adapters USB 3.0 to Gigabit Ethernet (For example, Anker A83360A1).

    To connect a 3G/4G modem in Hive OS:

    1. Connect the modem to the rig's USB port.
    2. In the web interface, go to Network → Mobile.
    3. Select your operator and enter the APN (e.g. internet.beeline.ru for Beeline).
    4. Save the settings and reboot the rig.
    ⚠️ Important: When using mobile data, disable automatic Hive OS updates and limit background traffic to avoid exceeding your data plan limits.

    FAQ: Frequently asked questions about setting up Wi-Fi in Hive OS

    Can I use Wi-Fi 6 (802.11ax) adapters in Hive OS?

    Yes, but with reservations. Hive OS supports Wi-Fi 6 chip-based adapters Intel AX200/AX210, but manual installation of drivers may be required. Adapters on Realtek RTL8852AE often work unstable. Before purchasing, check the compatibility on official forum.

    How do I reset network settings in Hive OS if the rig won't connect to any networks?

    If the web interface is unavailable, connect to the rig via SSH or local console and run:

    sudo rm /etc/network/interfaces
    

    sudo rm /etc/wpa_supplicant.conf

    sudo reboot

    After rebooting, the network settings will be reset to factory defaults, and you will be able to set up the connection again.

    Why can't Hive OS see my Wi-Fi network with a hidden SSID?

    To connect to a network with hidden SSID edit the file /etc/wpa_supplicant.conf manually by adding the line:

    scan_ssid=1

    Example config:

    network={
    

    ssid="MyHiddenWiFi"

    scan_ssid=1

    psk="my_password"

    }

    After saving, restart wpa_supplicant:

    sudo wpa_cli -i wlan0 reconfigure
    How to check Wi-Fi connection speed in Hive OS?

    Install the utility speedtest-cli and run the test:

    sudo apt update && sudo apt install -y speedtest-cli
    

    speedtest-cli --simple

    For continuous monitoring, add the command to crontab:

    /30    * speedtest-cli --simple >> /var/log/speedtest.log
    Can I use Hive OS without internet?

    Technically yes, but with serious limitations. Without internet:

    • 🔄 Unable to update firmware and software.
    • 📊 Remote monitoring via the web interface does not work.
    • ⚙️ You cannot change the settings of mining pools and currencies.

    For offline work, set up a local server Hive OS or use Local API for control via local network.