The tag has no wiki summary.

learn more… | top users | synonyms

3
votes
1answer
4k 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: ...
1
vote
1answer
563 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 ...
1
vote
1answer
468 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 ...
1
vote
1answer
706 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
1answer
654 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 ...
0
votes
1answer
608 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
1answer
403 views

How to fork two process in inittab without waiting one to finish?

I know how to fork to process. That is not a problem. But my issue is a little different. Example inittab line: ::respawn:-/usr/bin/python /path/to/script.py && /bin/sh -l -c 'chown ...
1
vote
0answers
421 views

Adding udev for embedded linux

I am using an arm processor and linux busybox as my OS. I want to add udev running in my system. The system has mdev. But doesn't seem to fulfill my need. How can I add udev for my system? thank you. ...
0
votes
0answers
48 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 ...
0
votes
0answers
46 views

busybox cp 'are the same file' when copying directories

I'm porting a bash script that worked on OS X to Windows+BusyBox. The first command is to create a new directory mkdir ../new_directory Then to copy all files from the current directory to a new ...
0
votes
0answers
207 views

tmux and nano in busybox

When I connect to my busybox'ed synology NAS with ssh, I can run "nano" with just nano Some_File-sh from the cli. But if I start tmux, I need to use the absolute path /usr/bin/nano/Some_File.sh, ...
0
votes
0answers
270 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
0answers
297 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 ...
0
votes
0answers
198 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 ...
0
votes
0answers
273 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 ...