Questions tagged [busybox]
110 questions
64
votes
9 answers
How to display current path in command prompt in linux's sh (not bash)?
I would like to display current path in sh prompt (not bash shell), which currently just shows "#",
I tried with introducing this
env PS1="$(whoami)@$(hostname):$(pwd)"
and
set PS1="$(whoami)@$(hostname):$(pwd)"
in /etc/profile.
But as obvious…
Bleamer
- 779
9
votes
7 answers
moving files and folders to a subfolder
I would like to move all files and folder from one directory to one of its subfolders. How do I do that?
I am using BusyBox and linux.
ex:
move all files and folder in /my/path/ to /my/path/subfolder/.
Copy, and then delete solutions are not…
feeling_lonely
- 299
6
votes
3 answers
Run ifconfig without sudo
I have an embedded Linux running on a imx6 platform. This is a freescale embedded linux. The problem is that there is no sudo available for this linux, but I need to activate and deactivate the wlan0 device by a user. I tried to add the user to the…
Irgendw Pointer
- 279
6
votes
2 answers
How to wait for a response on the inbound side of the socket using NC command under BusyBox?
I am having problems using the Netcat that comes with BusyBox 1.1.3 to make an HTTP request and then receive the response. The NC command seems to quit out as soon as it reaches the end of the request file I am sending. The -w option seems to be…
bigjosh
- 645
6
votes
2 answers
sed Command on BusyBox expects different syntax?
I hope I phrased the question correct.
I have a script that makes use of 'sed' a lot. It works great on my ubuntu with the GNU 'sed'.
But when I try to run it on BusyBox it fails.
Is there a way to get the GNU sed on busybox? I am not a Linux pro.
tzippy
- 454
5
votes
4 answers
Unmounting Detachable devices (eSATA,USB storage) in Linux
A detachable device like eSATA, USB drive can be abruptly removed (by simply pulling the plug).
If there are open file handles on a partition, then this partitions won't unmount, i.e. the Linux umount command will fail, even AFTER the drive is…
solidstate
- 51
- 1
- 2
4
votes
4 answers
mount on busybox: invalid argument when trying to mount smb share
I am trying to mount a smb share on my embedded Linux running on ARM (3.6.9) with busybox 1.21
mount -t cifs //192.168.0.12/mydata /mnt/myData
results in an invalid argument error:
mount: mounting /192.168.0.12/mydata/ on /mnt/myData failed:…
tzippy
- 454
4
votes
2 answers
Attempting to test an embedded nand flash chip by filling up a file to drive capacity
I'm trying to test an embedded nand flash chip using the dd command (write random data to a file):
dd if=/dev/urandom of=/nand/storage/testnand/test.raw bs=100000 count=50 2> /dev/null
However, the unit I'm testing is running busybox v1, and it has…
suffa
- 905
4
votes
1 answer
Ubuntu system drops to BusyBox prompt while booting, followed by "udevd [94]: timeout: killing '/ sbin / blkid-o udev-p / dev / sda' " error
I have installed Ubuntu 11.10 on a netbook (Intel 1.6 GHz and RAM 1 GB) with Windows XP. One week ago, Ubuntu stopped. That day had not installed any upgrade or any software.
When I try to start Ubuntu, I get is this message:
BusyBox v1.18.4 (Ubuntu…
peixe80
- 41
4
votes
3 answers
Are there non-GPL alternatives to Busybox?
Busybox seems to be sort stumbling block for vendors that want little embedded linux. There are even lawsuits regarding Busybox.
Are there more liberally licensed (BSD, MIT or at least LGPL) analogue of Busybox for developers of closed systems?
Vi.
- 17,755
4
votes
2 answers
Ubuntu fails to start after system update (displays BusyBox notice on command line)
I am running Ubuntu 10.x on one of my boxes. Yesterday the SPM popped up during a session, with the choice to install the latest updates. I agreed (like I have done many times before). This time, during the installation, the system crashed, the SPM…
Takashi
- 135
4
votes
0 answers
BusyBox Tar shows different ownership than GNU Tar
UPDATE: I discovered that I could view/extract with the original permissions using the "--numeric-owner" flag on GNU Tar. However, I'd still like to understand exactly what tar is doing here, as it's not clear to me, especially since the "33" user…
Tronman
- 201
3
votes
3 answers
How to check if busybox has a command?
In my case, I want to see if busybox has "md5sum" builtin.
I am currently doing this:
$ echo | busybox md5sum &>/dev/null && echo yes || echo no
I have not been able to find any information as to whether there is anything built into busybox to…
Zhro
- 957
3
votes
2 answers
Adding a C compiler to BusyBox
I recently started using BusyBox to do simple tasks, but now I need gcc, tcc or any C compiler on it.
I heard about adding an applet, but I don't know how to do it. I have gcc source, BusyBox source, openSUSE and GNU make.
user274486
- 53
3
votes
2 answers
Ubuntu install boots into BusyBox
I'm trying to install Ubuntu on a wiped drive and for some reason when i choose the install option, it goes to the BusyBox built in shell. Can anyone tell me why it would do that and how to get to the regular install?
The.Anti.9
- 463