The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
8 views

udhcpd.conf for windows client

I have a embedded board running busybox that I want to use as a wireless file server. It does not connect to the internet. Using hostapd udhcpd and httpd it worked fine with ubuntu 14.04 and 12.04 ...
3
votes
3answers
8k views

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

Zeroconf on BusyBox v1.16.1

What are the options of adding zeroconf, mdns, bonjour like daemons on busybox, I need other computers on the network to be able access my busybox using hostname. udhcpc.script just updates the local ...
0
votes
1answer
21 views

Fastest way to transfer data to new QNAP disk?

I have (just) added a new disk to my QNAP NAS. What is the fastest way to transfer all data from QNAP disk 2 (2TB, 80% used) to the new QNAP disk (disk 5, 4TB)?
0
votes
0answers
17 views

TFTP error code returned in bash

I have the below code to check on tftp error in my bash script. # fetch images from tftp server tftp_fetch() { echo "Fetching via tftp: $1:$tftp_path/$2" if ! tftp -g $IPADDR -r ...
0
votes
1answer
807 views

run scrpts on routers with BusyBox

I own a router (tp link w8960n) that I can "control" via telnet and busybox. Is it possible to create and run a script on the router like a permanent process(more like a cronojob) if the router has ...
0
votes
3answers
799 views

Can ActionTec routers (e.g. FiOS MI424WR) be tweaked?

Every site that I've looked for info on customizing a LAN connected to FiOS has offered variations of this: configure the ActionTec as a WAN bridge. buy a different router and customize that. ...
0
votes
0answers
94 views

makemkv on synology nas (busybox)

I am trying to get blueray ripping setup to work on my synology NAS (DS215+) which runs busybox. I can get the source but can't compile it on BusyBox (or can't figure out how) since there is no gcc. ...
1
vote
2answers
2k views

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 ...
18
votes
4answers
81k views

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 ...
0
votes
1answer
83 views

Assigning unique IP ranges for multiple USB Ethernet gadgets on a single host

I am currently developing an embedded device running Linux, that allows being connected to a Windows host using USB. To achieve this, I am successfully using the USB Ethernet gadget driver on this ...
4
votes
4answers
3k views

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 ...
0
votes
1answer
112 views

This bash command runs on OSX but not on Busybox ..why?

I've got this bash one-liner , it runs fine on OSX, but doesn't on Linux, I'm suspecting the linux distro (Busybox) on my Qnap has got something to do with this . Here is the command that runs on OSX ...
1
vote
0answers
46 views

Allowing ::1 on busybox httpd

I'm running busybox 1.23.2 (compiled by myself from source) on Linux. I'm trying to prevent other people from accessing the files I put on my server, so I thought I'd configure the server: $ cat ...
-1
votes
2answers
114 views

How to install exe versions of linux utilities on windows? [duplicate]

I am aware that we can get .exe versions of many linux utilities. I happen to have wget.exe, curl.exe and busybox.exe. But how can I install them so that instead of typing C:\Users\Rahul>cd ...
0
votes
0answers
38 views

Copying data using initramfs console

Please assume this situation: - I want to copy some files from my HDD to a USB key - I cannot access anything except the ubuntu initramfs ash console with a busybox - I cannot boot in single user mode ...
0
votes
2answers
828 views

Why does my busybox diff report 'Common subdirectories' for every file pair?

I am using this version of diff on my Synology NAS to verify a backup: xyz> diff BusyBox v1.16.1 (2014-05-29 11:26:15 CST) multi-call binary. Usage: diff [-abBdiNqrTstw] [-L LABEL] [-S FILE] [-U ...
1
vote
1answer
933 views

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

How do I gracefully fall back to AutoIP when there is no DHCP service available?

I am developing an embedded device based on Linux and Busybox, and trying to make it adaptable to different network configurations. I want to: 1- At boot time, if there is no DHCP reply, use an ...
4
votes
2answers
200 views

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, ...
0
votes
2answers
782 views

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 ...
0
votes
4answers
1k views

smallest possible linux distribution

I want to build a really small linux distribution which would be using busybox, possibly uClibc. In the beginning, just a ramfs would do. Plus, I dont mind not having a native toolchain. I went ...
1
vote
2answers
2k views

Generating a timestamp to usec accuracy in shell (Busybox)

I want to generate a textual timestamp in the unix shell with microsecond accuracy, without using the %N date option (I am using busybox, a smaller unix toolset that does not have this option), to ...
1
vote
1answer
2k views

devmem: can't open '/dev/mem': Permission denied

I have 2 phones (Samsung Galaxy S4 LTE I9505, Android 4.4.2 Kitkat) which I already rooted and have root access to the phones. Previously, on my rooted Samsung Galaxy S3 LTE I9505 running Android ...
1
vote
2answers
5k views

How i can install BusyBox on Virtual Machine?

How i can install BusyBox on Virtual Machine? For instance, VMVare or VirtualBox? Where I can see some manuals about this problem?
2
votes
3answers
2k views

Are there non-GPL alternatives to Busybox? [closed]

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 ...
1
vote
1answer
132 views

Is this expected reverse DNS behaviour or something weirder?

Excuse me as I'm a linux noob: I have a system (specifically, a Nexus 7 running CM 10.2.1 with busybox), which, when I run host or traceroute on its nominal private IP (192.168.1.7) gives a hostname ...
0
votes
1answer
33 views

How to find files that contain a string in its content OR the path?

Find and grep does not work afaik because I need to create a list of files that satisfy EITHER requirement, not both. I assume this requires more than a one-liner. Any suggestions?
2
votes
2answers
3k views

How can I make the read only file system writable on BusyBox?

I want to change some files on my router. Firstly I can change everything in /var, but I want to change /etc/fstab. When I try to change it, I get an error message that says the file system is read ...
1
vote
1answer
1k views

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, ...
0
votes
1answer
1k views

Howto Isolate a computer from my network using a billion 7800n and a busybox prompt

My only router is a billion 7800n connected to the internet using the ewan port. I have 4 computers connected to it 2 wired and 2 using wifi. I want to isolate one of the wired ports from seeing the ...
3
votes
2answers
13k views

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

Galaxy Tab 10.1 / Android 4.0.4 wget always returning 404 error

I recently rooted my Android and installed busybox, but wget returns the same error not matter what. I even null routed the IP address. ( This is my personal domain, and I have the blackhole route ...
0
votes
1answer
676 views

How can I find out the vfstype of a hard drive partition?

How do I find out the vfstype of a hard drive partition when it is unmounted in BusyBox? My question is specific for BusyBox since I am trying to do a mount during a Debian install. If I do fdisk -l ...
0
votes
1answer
136 views

How to run a script uninterrupted accross power-cycling

I'm stomped on how to accomplish this task. I need to run this script that fills up the nand flash on an embedded (linux-Busybox v1) device with random data, then continually repeats this process ...
1
vote
1answer
276 views

Stop Linux from allocating more memory to a process

I want to test that a process properly kills itself and restarts when it can't allocate needed memory. One idea I had was to start other memory-consuming processes and hope that OOM killer kills the ...
4
votes
1answer
10k views

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 ...
0
votes
1answer
384 views

RSS Reader/Downloader on a NAS

First, I'm no NAS-pro and I'm no Unix-pro. Second, I read the other RSS-downloader question, but rsstail is a C-source and tvrss is a GUI-program. I also checked out NetVibes, but I can't sort by ...
0
votes
0answers
452 views

udhcpc: How can I get the result of requesting option?

I use commond line like this: udhcpc -O domain But the teminal only shows like this: Sending discover... Sending select for 192.168.X.X... Lease of 192.168.X.X obtained, leasing time ... So ...
1
vote
1answer
1k views

How to force a longer `reboot` in Busybox v1.13.3?

reboot appears to make the root file system read-only almost immediately, causing a race condition with one of my processes which tries to write settings out to a file during its approx 1-2 second ...
0
votes
0answers
381 views

how to set adduser home directory permission on busybox

I'm using busybox's adduser to create home direcory. adduser foo I found the directory which created in a strange permission drwxs-xr-x (with setgid flag) Is there any config file which can let ...
3
votes
2answers
2k views

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 ...
4
votes
2answers
8k views

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, ...
1
vote
1answer
5k views

How to set up git in NAS Server (git, ssh, busybox)

I'm trying to set up git using my Synology DS212J NAS Server. I've been following these instructions: http://www.wonko.de/2010/04/set-up-git-on-synology-nas.html But I am very much a beginner with ...
0
votes
1answer
3k views

How to make BusyBox running where my backend operating system can be xyz?

I am trying to setup BusyBox on top of ArchLinux, Fedora or Ubuntu. So that when i telnet i can get something like this following: But how do i get started? Simply install Busybox on top of my ...
2
votes
2answers
775 views

Search all files containing text

With Busybox, how do you search for an expression within a bunch of files recursively through a bunch of directories, but only look through text files? We don't know what the file's suffix is going ...
0
votes
0answers
442 views

How to start init, but not startup scripts?

I specified rdinit=/bin/sh and manually booted the system (in chroot) from command line, complete with mounted filesystems, network services and X desktop. The init is still busybox's /bin/sh. The ...
1
vote
1answer
393 views

Actiontec Q1000 missing cp and rm from busybox

The new CenturyLink Q1000 busybox seems to be missing some crucial commands - namely rm, cp and ln.. It does have tftp so if I can, somehow find a server with binaries, I might be able to get those ...
0
votes
1answer
219 views

Eject slot-loaded CD in BusyBox 1.18.4

I have a PowerPC Mac Mini that is running Ubuntu and when booted it fails to BusyBox. Problem is I cannot boot to live CD because there's a CD already in the slot and for some reason the eject applet ...
0
votes
2answers
418 views

dual booting(Windows 7/Ubuntu 10.10/11.04) not seeing any of the OSes

I've run into a problem on my HP laptop G32-301TX with i5 Intel processor and ATI Radeon graphics. I have a dual booting with Windows 7 and at first Ubuntu 10.10 every thing runs fine till I ...