Enabling Anonymous Users to Write to SMB Network Shared Files in OpenWRT

Introduction There are many methods available online, most of which involve editing the template by commenting out the line before invalid users = root. This allows the root user to manage the SMB user group. However, since the official default does not allow the use of root, there must be other ways. Today, I will … Read more

Installing ddns-go on OpenWrt

Download DDNS-go Based on CPU Architecture I am using the Thunderbolt Treasure 1, which has an arm7 CPU, so I need to download the corresponding arm7 version. https://github.com/jeessy2/ddns-go/releases Extract the Files and Copy Them to OpenWrt Use WinSCP to connect to OpenWRT and copy ddns-go into it. Download WinSCP If you are unsure where to … Read more

Configuring IPv6 DDNS for Local Network Devices on OpenWRT

Dynamic DNS (DDNS) is a service that allows users to automatically update DNS records when their IP address changes. Typically, Internet Service Providers assign dynamic IP addresses to home or small office networks, meaning the IP address changes periodically. If you run a service that needs to be accessed externally (such as a home server … Read more

Some Minor Issues with OpenWRT

OpenWrt Status Monitoring with netdata http://IP:19999/ Access port 19999OpenWrt web terminal, luci-i18n-ttyd-zh-cn To enter configuration, change the original command from /bin/login to /bin/login -f root for automatic login If /bin/login -f root does not work, you can try this methodModify the option command line in /etc/config/ttydDefault is: option command ‘/bin/login’Change to: option command ‘/usr/libexec/login.sh’After saving, … Read more

OpenWrt Firmware Signing and Verification

When upgrading OpenWrt using sysupgrade, only the header image of the firmware is checked for validity, and the integrity of the firmware is not verified. Therefore, if the firmware has a valid header but other parts are corrupted or modified, it poses a risk, and upgrading could lead to bricking the device. To verify the … Read more

OpenWrt Disk Expansion Tutorial Supporting Two Modes

This tutorial has been tested on the OpenWrt soft router system compiled by the author, as well as on the OpenWrt soft router system compiled using Lean’s source code. Other non-Lean source code compiled OpenWrt soft router systems have not been tested, hence this note. 1. Open the disk management of the OpenWrt soft router … Read more

Understanding How to Flash OpenWrt Firmware

This morning, a user privately messaged me asking how to flash OpenWrt on a CPE I had never heard of before, which left me momentarily stumped. On one hand, the likelihood is 99% that the person asking this question is a beginner. Many people get into OpenWrt because they hear it can flash various firmware, … Read more

OpenWrt Core Component: ubus (2): Source Code Structure

<span><span>ubus</span></span> is designed with a concept similar to <span><span>d-bus</span></span> in Linux desktop systems, providing system-level bus functionality. However, compared to <span><span>d-bus</span></span>, it reduces memory usage, making it suitable for the extreme operating environments of low-performance CPUs and low memory in embedded systems. The core component is the <span><span>ubusd</span></span> daemon, which provides an interface for other … Read more

Unable to Access Web Page After Flashing OpenWrt Firmware?

Yesterday, a user privately messaged me asking how to resolve the issue of being unable to access the web page after flashing the OpenWrt firmware on their K2P device. During our chat, it was clear that they had little foundational knowledge, so today I am organizing some thoughts, but you will still need to explore … Read more

Installing WeChatPush Plugin on OpenWRT to Automatically Block Illegal IPs

In the past, I had a broadband connection with a public IP, and my router was frequently targeted by IP scanning attempts, with persistent attempts to guess my password. It was quite annoying to see a long list of failed login attempts in the logs. Although there were no important devices connected to the router … Read more