OpenWRT Plugin: Bandwidth Limiting with QoS Mate

OpenWRT Plugin: Bandwidth Limiting with QoS Mate

The main function of the QoS plugin is to manage the network traffic between the local area network and the public network. By using different algorithms, it allocates priorities to different types of traffic, thereby improving overall network performance. In my long-term environment where both upload and download are fully utilized (BT, PCDN, etc.), configuring … Read more

Modifying Default IP Address During OpenWrt Compilation

Modifying Default IP Address During OpenWrt Compilation

Modify the following file openwrt/imx_openwrt/package/base-files/files/bin/config_generate as follows: case "$protocol" in static) local ipad case "$1" in #lan) ipad=${ipaddr:-"192.168.1.1"} ;; #*) ipad=${ipaddr:-"192.168.$((addr_offset++)).1"} ;; lan) ipad=${ipaddr:-"10.168.103.129"} ;; *) ipad=${ipaddr:-"10.168.$((addr_offset++)).1"} ;; esac netm=${netmask:-"255.255.255.0"} uci -q batch <<-EOF set network.$1.proto='static' set network.$1.ipaddr='$ipad' set network.$1.netmask='$netm' EOF [ -e /proc/sys/net/ipv6 ] && uci set network.$1.ip6assign='60' ;; The actual effect is OK: … Read more

Installing Software Packages on OpenWRT

Installing Software Packages on OpenWRT

The native OpenWRT does not come with some additional software packages (i.e., plugins) installed. Below is a record of how to install software packages on the OpenWRT platform for IMX8 and use them in the LuCI interface service options. The native LuCI interface does not have service options. 1. Change the software source in /etc/opkg/distfeeds.conf … Read more

Compiling GStreamer 1 for OpenWRT on RK3568 Platform

Compiling GStreamer 1 for OpenWRT on RK3568 Platform

• To utilize the RKMMP hardware decoding feature on the OpenWRT system for the RK3568 platform, we will use the customized GStreamer 1 source code from the RK3568 Buildroot SDK to cross-compile the relevant components of GStreamer 1, aiming to adapt it for the OpenWRT target board. The compilation process is for reference only. Source … Read more

Introduction to OpenWrt IPv6 Configuration and DHCPv6 Setup

Introduction to OpenWrt IPv6 Configuration and DHCPv6 Setup

The current IPv4 address pool on the internet has been completely allocated, leading to the basic popularization of IPv6 addresses. It is essential for technicians using OpenWrt to understand the relevant basic information about IPv6. This article introduces some of the most commonly used configuration guides related to IPv6 on OpenWrt. IPv6 addresses are represented … Read more

Analysis of the Attack Surface of Ubus Inter-Process Communication Mechanism in OpenWRT

Analysis of the Attack Surface of Ubus Inter-Process Communication Mechanism in OpenWRT

01 Introduction Ubus is the inter-process communication mechanism in OpenWRT, which simplifies the implementation of inter-process communication. The foundation of ubus is the UNIX Socket, which is a local socket that is more efficient and reliable compared to traditional network communication sockets. 1.1 Model Architecture UNIX Socket adopts a C/S model architecture, divided into server … Read more

Porting OpenWrt System to rk3568 with RKMMP Hardware Decoding

Porting OpenWrt System to rk3568 with RKMMP Hardware Decoding

• This article attempts to compile ffmpeg from source on an OpenWrt host, as the OpenWrt version of ffmpeg does not support hardware decoding for rk3568 using RKMMP. After resolving several compilation issues, the process is documented here for reference. Configuration First, refer to the native compilation options in the wrt SDK and add support … Read more

OpenWrt Router System New Version Released, Supporting Wi-Fi 7

OpenWrt Router System New Version Released, Supporting Wi-Fi 7

System News The open-source router system OpenWrt 24.10 has released its first stable version, improving Wi-Fi 6 and providing preliminary support for Wi-Fi 7. Users can now upgrade from version 23.05 to 24.10. This version includes numerous improvements and changes in functionality; however, it is recommended to back up your configuration before upgrading. If issues … Read more

OpenWrt System Network Configuration Tutorial

OpenWrt System Network Configuration Tutorial

Router Mode Router mode is the most common wireless mode, which connects to the external network via a wired connection and broadcasts wireless signals to provide a local area network. Since only the LAN interface is available by default, we need to add a WAN interface. Click on the “Add New Interface” button. To differentiate, … Read more

An Article Explaining: What is OpenWrt?

An Article Explaining: What is OpenWrt?

In simple terms, OpenWrt is a soft router. Strictly speaking, OpenWrt (full name Open Wireless Router) is a Linux distribution developed for embedded devices, especially routers, characterized by its openness and customizability. It provides a complete software development environment, allowing users to freely customize, install, and uninstall software packages to meet various network needs. Due … Read more