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 ...

learn more… | top users | synonyms

17
votes
4answers
2k views

What is NTP dispersion and how do I control it?

We roll out Ubuntu 14.04 servers on isolated networks, running ntpd 4.2.6p5, configured to use multiple NTP servers as provided by customers (no access to pool.ntp.org). Our dumb terminal client ...
6
votes
2answers
3k views

What's the Busybox default shell?

My guess is this defaults to Bash, but would like to know for sure. Thanks.
6
votes
2answers
5k views

Busybox, netstat, no -p

I have an ultra old (don't ask why) BusyBox (BusyBox v1.01 (2008.12.19-21:31+0000) Built-in shell (ash)) on my DreamBox. I would like to find out which process opened which connection using netstat. ...
4
votes
1answer
8k views

busybox - how to list process priority?

How to list process priority on an embedded linux with busybox?
3
votes
3answers
4k views

Is there a way to get ls to print in colour in busybox?

I'm on a nokia n810 device, which uses busybox instead of the usual gnu coreutils. Is there a way to get busybox's ls to print in colour?
3
votes
2answers
327 views

Disallow an user to go up in the tree with pure-ftpd

I added an user to pure-ftpd with adduser -h /blah user, using busybox. Unfortunately, he is able to go up in the tree and see the root folder. How can I disallow this ?
3
votes
2answers
1k views

Why use nash instead of busybox in initrd and initramfs?

Why use nash instead of busybox in initrd and initramfs? I'm just looking for pros and cons of both really (and any other applications with similar functionality). I'm currently leaning towards ...
3
votes
1answer
650 views

Ubuntu Server - Power failure leads to boot failure

I have installed Ubuntu Server 10.04.1 LTS on an ext4 partition. Whenever my system looses power suddenly, It doesn't boot into the normal procedure to fix the problems automatically, but switches to ...
2
votes
1answer
58 views

What do angle brackets (“less than”) mean in busybox 'top' command process STAT column?

I am looking at Busybox top command: Mem: 39444K used, 4404K free, 0K shrd, 0K buff, 24704K cached CPU: 4% usr 7% sys 0% nic 87% idle 0% io 0% irq 0% sirq Load average: 0.02 0.12 0.10 1/...
2
votes
1answer
824 views

Does exist a curl equivalent command in routeros?

Just starting with routeros and after searching the official docs just fetch appears I need to do a POST request to REST API but I cannot find any curl like command. Is it possible to install curl ...
2
votes
1answer
4k views

How to monitor CPU usage on a device running embedded Linux and BusyBox?

I recently began working with a device that uses embedded Linux and BusyBox. It is very stripped down, and does not have iostat or sar. It also doesn't have dpkg or apt for package management. The ...
2
votes
4answers
898 views

Low Overhead Linux Server Install for MySQL

My question is this: Can anyone suggest a linux server that runs mysql really well with really low overhead (other than Ubuntu)? And here's why I have this question: I have a PE1950 III that ...
2
votes
4answers
2k views

What is responsible of setting up the default broadcast address?

The broadcast address is apparently misconfigured on some (old) Linux embedded device that I setup (but that I don't own anymore) because it doesn't match the expected value given the IP address and ...
2
votes
2answers
2k views

How to use dpkg of busybox

I'm trying to install pkg in a limited space embedded system. I use busybox's dpkg. To let dpkg work, I just touch a file touch /var/lib/dpkg/status ...
1
vote
1answer
2k views

ESXI ftpput fails Syntax problem

I'm trying to ftpput my virtual machines dirs to our NAS. Which doesn't support NFS. Only FTP and samba. So I'm in the ESXi console and enter the followin command ftpput ipaddress /vmfs/volumes/...
1
vote
2answers
2k views

Busybox on VMware ESXi: how to change syslogd options

What I have: VMware ESXi 4.0 with busybox installed. Among busybox applets, I'm interested in syslogd. By default, it's running as busybox syslogd. I can see it via ps ax: ps ax | grep syslog 4316 ...
1
vote
1answer
416 views

How to shutdown ESXi 5 in N minutes

On the VmWare commandline, I can shutdown the box using the halt command ~ # halt --help BusyBox v1.9.1-VMware-visor-6030 (2011-02-15 14:57:41 PST) multi-call binary Usage: halt [-d delay] [-n] [-f] ...
1
vote
1answer
2k views

how to sync/flush after fdisk in linux (busybox)

when I change the partition table in Linux (busybox) and exit fdisk I'm still able to mount the old partitions, until I perform a reboot for example a) system is setup and has a /dev/sda1 and /...
1
vote
1answer
6k views

New install Ubuntu 10.10 Server, won't boot. “ls /dev/disk/by-uuid” generates Bus Error

I installed Ubuntu 10.10 Server on a very old computer (bought it in 2002), but it won't boot. It tells me it can't find the root mount volume by it's UUID and also gives me the follwing type of ...
1
vote
1answer
3k views

Copying directories with subdirectories from QNAP NAS to Synology NAS

I have a QNAP TS-239 Pro NAS server, from which I need to copy a large number of files (>2 TB) to a Synology 409 NAS. I could do it with a Windows computer, but would prefer to do it directly from ...
1
vote
1answer
225 views

How do I use busybox and ftpd to get access to my embedded system

I have an embedded system which has busybox support. I am trying to run an FTP server so I can edit the files and upload data to my embedded system. However when I run busybox ftpd -w / It tells ...
1
vote
0answers
75 views

How to get the serial console logs via ethernet port? [closed]

I have a board running Busybox linux and for my debugging activities I always have to connect physically to the serial port to get the serial console prints and logs.I believe using netcat tool we ...
0
votes
2answers
241 views

Changed /bin/sh to /bin/busybox for root, broke SSH access. How to fix it?

I made a silly mistake... I was playing around with busybox and used chsh to switch the root shell from /bin/sh to /bin/busybox which seems to have broken the SSH access. When I do: root@dev:~$ ssh ...
0
votes
1answer
50 views

Installing sshd on an existing Busybox? [closed]

Is it possible to install sshd on a running Busybox based router? Thanks.
0
votes
1answer
4k views

Busybox-like binaries which ext3 and ext4 support?

We're building a tool right now which includes booting a tiny Linux environment via PXE, and having it perform a number of system configuration operations without loading a larger system. (Formatting ...
0
votes
1answer
23 views

Network interface fails to come up under heavy traffic

We're investigating an issue with our kit, which is an IP camera running Busybox Linux on a Ti-Davinci SoC. On one particular site there is a lot of network traffic (over which we do not have control)...
0
votes
1answer
169 views

How to set locale for schedule task in Synology BusyBox?

I am trying to set up a schedule task to download some files from YouTube. The download script works well when I am ssh'ing as a user. However, the download filenames are wrong when started by the ...
0
votes
1answer
5k views

How to install apt-get on a busybox embedded system?

My embedded system is for sh4 CPU. The debian distribution may get on http://www.si-linux.co.jp/pub/debian-sh/lenny-sh4/ I get the apt*.deb and extract the data.tar.gz. After setup the /etc/apt/...
0
votes
1answer
1k views

Time problems on my Synology NAS 1511 running Busybox linux

I'm running a MS windows, using Netbeans 7. I occasionally get a problem when I hit save, "This file was modified externally, are you sure you want to overwrite" Further investigation has led me to ...
0
votes
2answers
380 views

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: (...
0
votes
1answer
3k views

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 ...
0
votes
0answers
82 views

Unicast to multicast IPTV playlist via router bash

I've a TP-LINK TD-W8968 v3 with Busybox access. These are the command: help : ? help logout exit quit reboot adsl xdslctl xtm brctl cat loglevel logdest ...
0
votes
0answers
50 views

How to easily find disk usage culprits in busybox or any other limited linux distro?

That is, if it's even possible. Is it? This is following from a very similar du question, I figured trying to sort it somehow could be a way, but maybe there are other ideas out there! I'm actually ...
0
votes
1answer
93 views

How to lock file from system changes using BusyBox (on a Synology NAS)

I have a specific file that an app is randomly changing and that I need to be immutable. I.e. stop the system from rewriting the file. Considering that the NAS has BusyBox for ssh access, how can I ...
0
votes
0answers
70 views

EC2 Booting an EBS-backed AMI instance gives a kernel panic

TLDR: I'm trying to create an EBS-backed AMI instance and then pivot to it using Busybox but I get a kernel panic: VFS: Mounted root (ext3 filesystem) readonly. Freeing unused kernel memory: ...
0
votes
0answers
73 views

switch_root not included in initramfs image

After upgrading the kernel via yum to the latest version the initramfs image file is missing the switch_root binary from the /sbin/ folder. This causes the machine to not boot, from this kernel. ...
0
votes
0answers
2k views

transparent proxy with squid3 dansguardian iptables and one nic

I am attempting to filter my home internet connection through transparent proxy (squid3) and dansguardian . I have the following setup: http://i.stack.imgur.com/5Z3DP.png My Ubuntu Server is ...
0
votes
2answers
3k views

Wget on busybox v1.9.1

I have busybox 1.9.1 runing in huawei router. There is few commands, one of them wget and I want to use it, but there is some strange syntax. When I type wget www.google.com like I do normaly on my ...
0
votes
2answers
1k views

Chroot on startup

I have a script that runs on startup, but it wont launch a application in chroot. #!/bin/sh /usr/sbin/chroot /root/chrootdir/ /bin/sh -c "lighttpd -f /etc/lighttpd.conf -m /lib" echo "script ...
0
votes
1answer
2k views

Telnet does not give a response

Some wireless access points are acting a little weird, so I want to reboot them every couple of hours. Luckily there exists a security flaw which lets me login as root through telnet when using port ...
0
votes
1answer
2k views

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/...
0
votes
3answers
2k views

stat command filesize reporting on busybox

I'm trying to write a shell script in busybox to check the filesize of a file. Having read that stat is more reliable then ls, I decided to use that, but somehow when using the following command: ...
-1
votes
1answer
40 views

Expand linux memory to disk [closed]

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 ...
-3
votes
1answer
62 views

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 ...