1
vote
1answer
20 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
1answer
42 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
22 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?
1
vote
1answer
236 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
0answers
149 views

Flashing bricked Linux/Android 3D Media player with busyBox

I have bricked my home 3D media player based on Realtek RTD1886 chipset (Bluetimes BT 3550B) when I have flash it with a wrong firmware, now, he don't want boot and only loop on logo screen. I have ...
0
votes
1answer
208 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 ...
2
votes
2answers
14k 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
69 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 ...
0
votes
0answers
287 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 ...
0
votes
0answers
235 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
1answer
2k 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
458 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 ...
4
votes
1answer
8k 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
3answers
674 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 ...
0
votes
2answers
1k 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?
0
votes
0answers
219 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 ...
0
votes
1answer
376 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 ...
3
votes
3answers
2k 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 ...
1
vote
0answers
405 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. ...
1
vote
1answer
228 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 ...