Questions tagged [busybox]

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.

69 questions
0
votes
1 answer

forword wan ip:port to external ip2:port2

I have router based on linux (BusyBox). I can login to terminal by telnet. I want to forward wan port to ip_external:port for example: my wan ip (on my router):77.30.109.251 my wan port (on my router):1188 my external remote ip (on my…
0
votes
1 answer

Use deadline I/O Scheduler on BusyBox v1.16.1

Does anyone know how to add / make available the deadline I/O schedulers on BusyBox v1.16.1 ? The only two I see when I run "cat/sys/block/sda/queue/scheduler" is as follows: [noop] cfq My understanding is that there are two more... anticipatory…
stumped221
  • 23
  • 5
0
votes
1 answer

busybox: watchdog - logging

I'm trying to debug a reboot of an embedded device and suspect watchdog might be involved but cannot find any logs. I also cannot find the watchdog.conf anywhere. The device is available at /dev/watchdog Does watchdog log events to anywhere? Can I…
pstanton
  • 553
  • 3
  • 10
  • 22
0
votes
1 answer

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) with one system spamming out broadcast packets…
John U
  • 161
  • 4
0
votes
2 answers

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 root@ip.of.ser.ver I get: root@ip.of.ser.ver's…
0
votes
1 answer

Installing sshd on an existing BusyBox installation?

Is it possible to install sshd on a running BusyBox-based router?
thedp
  • 323
  • 1
  • 6
  • 14
0
votes
1 answer

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 do this? Thank you edit: chmod isn't not working…
acseven
  • 43
  • 7
0
votes
1 answer

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 system task. It seems to be a locale issue, as the…
ohho
  • 975
  • 8
  • 18
  • 34
0
votes
0 answers

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: 156k freed Kernel panic - not syncing: No init found.…
0
votes
0 answers

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. Adding the file back into the initramfs manually using…
andrewdixon
  • 228
  • 2
  • 9
0
votes
0 answers

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 connected to VDSL directly, just like any other computer…
Starcrescent
  • 1
  • 1
  • 1
0
votes
3 answers

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 activated" >> /log/www.log the log file is…
Maidenone
  • 103
  • 1
  • 6
0
votes
4 answers

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: stat -c %s filename I get the following output:…
datadevil
  • 525
  • 1
  • 6
  • 22
0
votes
1 answer

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 believe that the problem is with the times being…
Jason
  • 361
  • 6
  • 19
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…