BusyBox combines common UNIX utilities into a single, small executable, providing a fairly complete environment for any small or embedded operating system. It supports most of the utilities usually found in GNU fileutils, shellutils, etc. BusyBox commands generally have fewer options than their full-featured GNU cousins; however, the options that are included provide the expected functionality and behave very much like their GNU counterparts.
Questions tagged [busybox]
71 questions
0
votes
1 answer
Need to edit boot.lst from busybox
I have just managed to break my Debian install.
I was having problems with a kernel update, and had to edit menu.lst to get it to install. I have managed to typo and set the boot device to /dev/xvda11 instead of /dev/xvda1
Now, every time I boot I…

Matt McDonald
- 133
- 1
- 8
0
votes
2 answers
Named pipe with shell command date
I want to let a standard user change the system date.
So I created a named pipe. The standard user write a date to the named pipe and a root process listens to it and sets the date accordingly:
(user)
echo 122515502010 > /tmp/mypipe
(root)
date -s…

michelemarcon
- 671
- 1
- 7
- 14
0
votes
0 answers
Shebang = how to verify source/target file mounted via --bind
On a router (busybox) I'm limited to shebang. On devices like these relaying on squashfs and flash storage it's common practice to mount --bind files from USB/CIFS/JFFS onto a file provided by the squashfs (and expanded in RAM).
e.g.
mount --bind…

rs232
- 105
- 1
- 10
0
votes
1 answer
nc tool not showing any output on busybox for localhost
Any ideas why nc is not showing anything when ran on a busybox based container image?
The problem appears when trying to connect to port on 127.0.0.1/localhost.
/app # nc -v 127.0.0.1 12345
/app # nc -v localhost 12345
/app # nc
BusyBox v1.35.0…

nosalan
- 131
- 1
- 3
0
votes
1 answer
Why can't I arping the direct broadcast of the LAN to populate the arp table?
I'm trying to write a simple network discovery for my linux 2.6 router.
I'm testing arping which is bult inot busybox. I can't work out why sending a single request to the direct broadcast is not enough.
root@router:# arping -h
BusyBox v1.32.1…

rs232
- 105
- 1
- 10
0
votes
1 answer
fail2ban not working with SSHD using busybox-syslogd
I am running fail2ban (0.9.6-2) on Debian 9 with busybox-syslogd logging to /var/log/auth.log
setup with the following line in /etc/rc.local to get logs written to file.
/sbin/syslogd -O /var/log/auth.log || exit 1
SSHD jail is enabled but does…

Petrushka
- 13
- 4
0
votes
1 answer
ADSL and routing (bridging) problem with DLINK 320B and Fortinet Fortigate 60
Internet <---> 320B (ADSL modem) <---> Fortigate 60 (firewall) <---> lan
The ADSL line is with static IP, with username and password and with pppoa.
The web interface of the DSL 320B allows only 3 configurations:
1. with dynamic IP, username and…

twistedbrain
- 31
- 1
- 8
0
votes
2 answers
K8s no dns resolution on all used test images
Hi community and K8s experts,
I installed a clean K8s cluster based on virtual machines (Debian 10). After the installation and the integration into my landscape, I repaired in the first step the coreDNS resolution. I did further test's and found…

ZPascal
- 143
- 1
- 1
- 7
-1
votes
1 answer
Expand linux memory to disk
I know you can create RAM Disks but is there a way to turn disk space from say a USB drive to RAM?
I have a small router based device with SSH and I would like to install a side app on it. The downside right now looks to be the lack of memory. It's…

Jason
- 3,931
- 19
- 66
- 107
-1
votes
0 answers
Restrict level in busybox's tree command
The latest busybox (1.36.0) includes a tree command. But the command docs don't yet cover it.
How do I restrict it to a certain level, as I could typically do in bash with tree L 2?

lonix
- 896
- 10
- 23
-2
votes
1 answer
Redirect all websites to a single webpage using iptables
I have a router which runs busybox, it has iptables so i wanted to redirect all webpages clients request to a single webpage. I cant use hosts file because the /etc folder is mounted as read-only. Is it possible to do that using iptables? Im new to…