Integrating the pstree Tool into OpenWrt

Integrating the pstree Tool into OpenWrt

Recently, while debugging a user-space program, I suddenly wanted to understand the relationship between a certain process and several child processes, similar to the output below: ruok@ruok-vm:~$ ps aux | grep smbdroot 1359 0.0 0.2 356712 20596 ? Ss 16:48 0:00 /usr/sbin/smbd –foreground –no-process-grouproot 1361 0.0 0.0 344968 6036 ? S 16:48 0:00 /usr/sbin/smbd –foreground … Read more

Boot Black Screen Prompt: BusyBox

Boot Black Screen Prompt: BusyBox

System Date UnionTech UOS v20 (1050) 2022-5-7 Issue Description The system cannot boot normally and displays a black screen. Cause of the Issue The disk root partition is damaged due to an abnormal power outage or improper shutdown. Resolution Steps 1. Enter <span>exit</span> at the black screen and press Enter; this will display the specific … Read more

Understanding the Differences Between BusyBox, Buildroot, and Yocto

Understanding the Differences Between BusyBox, Buildroot, and Yocto

Click on the above “Linux Notes” and select “Pin/Star the Official Account” Get valuable content delivered to you first Introduction BusyBox Buildroot Yocto Project Summary Conclusion Introduction <span>BusyBox</span>, <span>Buildroot</span>, and <span>Yocto</span> are tools used to build embedded Linux systems, but they differ in design goals, complexity, and applicable scenarios. Below, I will introduce the differences … Read more

Vulnerability Investigation Method of BusyBox in Emergency Situations

Vulnerability Investigation Method of BusyBox in Emergency Situations

1. Basic Support Features of BusyBox1.Advantages of Static Compilation Does not rely on system dynamic link libraries (such as glibc), avoiding the risk of malicious dynamic library hijacking through LD_PRELOAD Provides a trusted command execution environment, preventing attackers from tampering with system commands like ls, ps, netstat, leading to erroneous information 2.Lightweight Tool Integration Packs … Read more

Essential for Test Engineers: Creating an Efficient Linux Command Environment with BusyBox on Windows

Essential for Test Engineers: Creating an Efficient Linux Command Environment with BusyBox on Windows

Introduction 1. Why Do Test Engineers Need BusyBox? In testing work, we often need to: • Network Debugging: Use <span>telnet/nc</span> to check ports, and <span>wget/curl</span> to verify interfaces. • Log Analysis: Use <span>grep/sed/awk</span> to process massive logs. • File Operations: Use <span>ls/cp/mv/rm</span> to quickly manage test files. • Script Adaptation: Run Linux-style automation scripts on … Read more

Essential Tool for Kubernetes Operations: A Comprehensive Guide to Creating BusyBox Containers

Essential Tool for Kubernetes Operations: A Comprehensive Guide to Creating BusyBox Containers

Essential Tool for Kubernetes Operations: A Comprehensive Guide to Creating BusyBox Containers In daily operations and development work, we often need lightweight tools to quickly execute diagnostic commands, test network connections, or verify service statuses. <span>BusyBox</span> is such a powerful toolset with extremely low resource consumption, integrating various commonly used Unix tools like <span>sh</span>, <span>ls</span>, … Read more

Building an ISO Image Based on BusyBox

Building an ISO Image Based on BusyBox

Building an ISO Image Based on BusyBox 1. Preparation • CentOS 7.9 3.10.0-957.el7.x86_64 • VMware Workstation Recommendation: Use BusyBox version <= 1.33.2 for kernel <= 3.10.0 2. Installing BusyBox # Install dependencies yum install syslinux xorriso kernel-devel kernel-headers glibc-static ncurses-devel -y # Download wget https://busybox.net/downloads/busybox-1.33.2.tar.bz2 # Compile and install tar -xvf busybox-1.33.2.tar.bz2 cd busybox-1.33.2 make … Read more

Solution for Entering BusyBox on UOS System Due to Abnormal Shutdown

Solution for Entering BusyBox on UOS System Due to Abnormal Shutdown

The UOS system enters the BusyBox interface due to an abnormal shutdown. When starting the computer, the screen goes black and displays “usbhid 3-4:1.0: couldn’t find an input interrupt endpoint.” It’s quite frustrating…After consulting with official customer service, a solution was provided. I recorded it and am sharing it here for those who encounter the … Read more

The Ubiquitous BusyBox: How to Create a Minimal Linux Environment with It

The Ubiquitous BusyBox: How to Create a Minimal Linux Environment with It

Follow the public account below for more hot news The Ubiquitous BusyBox: How to Create a Minimal Linux Environment with It What is BusyBox BusyBox combines commonly used UNIX utility programs into a single executable file, providing an efficient and space-saving solution. Common tools such as ls, cp, cat, echo, mount, ps, etc., can all … Read more

Introduction to BusyBox: A Lightweight Command System for Embedded Devices

Introduction to BusyBox: A Lightweight Command System for Embedded Devices

As we all know, embedded devices typically have limited storage and resources. This is where BusyBox, a command system for embedded devices, comes into play. BusyBox is characterized by its powerful functionality while occupying a small storage capacity. Today, I will introduce how to download and compile BusyBox for your embedded device. Introduction to BusyBox … Read more