Order it now! Amazon prioritizes orders on a first come, first served basis.


View Full Version : Updating Busybox


Adam B.
07-26-2007, 01:39 PM
11/30 Edit: You can find an installer for busybox 1.7.2 in this post (http://www.mobileread.com/forums/showpost.php?p=113952&postcount=5)

I've been working to update busybox to include more features. I've compiled it with all the defaults, and it's only slightly bigger than the original. Maybe it'll open a few more doors.

Although, I haven't tested installing it without reflashing the iLiad. Also the ash shell seems to not be working correctly, I've compiled bash, and linked sh to that though.

Original iLiad Busybox Featuers
BusyBox v1.01 (2007.04.10-13:14+0000) multi-call binary

Usage: busybox [function] [arguments]...
or: [function] [arguments]...

BusyBox is a multi-call binary that combines many common Unix
utilities into a single executable. Most people will create a
link to busybox for each function they wish to use and BusyBox
will act like whatever it was invoked as!

Currently defined functions:
[, ash, awk, basename, bunzip2, busybox, bzcat, cat, chgrp, chmod, chown, chroot, clear, cp, cut, date, dc, dd, df, dirname, dmesg, du, echo, egrep, env, expr, false, fbset, fdisk, fgrep, find, free, grep, gunzip, gzip, head, hexdump, hostname, hwclock, id, ifconfig, ifdown, ifup, insmod, ip, kill, killall, klogd, ln, logger, logname, losetup, ls, lsmod, md5sum, mkdir, mkfifo, mknod, mktemp, modprobe, more, mount, mv, nc, netstat, od, ping, pivot_root, printf, ps, pwd, readlink, renice, reset, rm, rmdir, rmmod, route, run-parts, sed, seq, sh, sleep, sort, start-stop-daemon, strings, stty, sync, syslogd, tail, tar, tee, telnet, test, time, top, touch, tr, traceroute, true, tty, udhcpc, umount, uname, uniq, unzip, uptime, vi, watch, wc, wget, which, who, whoami, xargs, yes, zcat

Updated Busybox :D
BusyBox v1.6.1 (2007-07-26 11:14:38 EDT) multi-call binary
Copyright (C) 1998-2006 Erik Andersen, Rob Landley, and others.
Licensed under GPLv2. See source distribution for full notice.

Usage: busybox [function] [arguments]...
or: [function] [arguments]...

BusyBox is a multi-call binary that combines many common Unix
utilities into a single executable. Most people will create a
link to busybox for each function they wish to use and BusyBox
will act like whatever it was invoked as!

Currently defined functions:
[, [[, addgroup, adduser, adjtimex, ar, arp, arping, ash, awk, basename, bunzip2, bzcat, cal, cat, catv, chattr, chgrp, chmod, chown, chpst, chroot, chrt, chvt, cksum, clear, cmp, comm, cp, cpio, crond, crontab, cut, date, dc, dd, deallocvt, delgroup, deluser, df, dhcprelay, diff, dirname, dmesg, dnsd, dos2unix, du, dumpkmap, dumpleases, echo, ed, egrep, eject, env, envdir, envuidgid, ether-wake, expr, fakeidentd, false, fbset, fdflush, fdformat, fdisk, fgrep, find, fold, free, freeramdisk, fsck, fsck.minix, ftpget, ftpput, fuser, getopt, getty, grep, gunzip, gzip, halt, hdparm, head, hexdump, hostid, hostname, httpd, hwclock, id, ifconfig, ifdown, ifup, inetd, init, insmod, install, ip, ipaddr, ipcalc, ipcrm, ipcs, iplink, iproute, iprule, iptunnel, kill, killall, killall5, klogd, last, length, less, linux32, linux64, linuxrc, ln, loadfont, loadkmap, logger, login, logname, logread, losetup, ls, lsattr, lsmod, lzmacat, makedevs, md5sum, mdev, mesg, mkdir, mkfifo, mkfs.minix, mknod, mkswap, mktemp, modprobe, more, mount, mountpoint, mt, mv, nameif, nc, netstat, nice, nmeter, nohup, nslookup, od, openvt, passwd, patch, pidof, ping, ping6, pipe_progress, pivot_root, poweroff, printenv, printf, ps, pwd, raidautorun, rdate, readahead, readlink, readprofile, realpath, reboot, renice, reset, resize, rm, rmdir, rmmod, route, rpm, rpm2cpio, run-parts, runlevel, runsv, runsvdir, rx, sed, seq, setarch, setconsole, setkeycodes, setlogcons, setsid, setuidgid, sh, sha1sum, sleep, softlimit, sort, split, start-stop-daemon, stat, strings, stty, su, sulogin, sum, sv, svlogd, swapoff, swapon, switch_root, sync, sysctl, syslogd, tail, tar, tee, telnet, telnetd, test, tftp, time, top, touch, tr, traceroute, true, tty, udhcpc, udhcpd, umount, uname, uncompress, uniq, unix2dos, unlzma, unzip, uptime, usleep, uudecode, uuencode, vconfig, vi, vlock, watch, watchdog, wc, wget, which, who, whoami, xargs, yes, zcat, zcip

tribble
07-26-2007, 04:52 PM
nice. I cant wait to have some time on my hands. I want to have my own contentLister ;)

Adam B.
10-30-2007, 02:42 PM
I've updated busybox to 1.7.2 and fixed the ash issue I noted earlier in this thread.

root@ereader:/media/cf# ./busybox --help
BusyBox v1.7.2 (2007-10-30 12:45:14 EDT) multi-call binary
Copyright (C) 1998-2006 Erik Andersen, Rob Landley, and others.
Licensed under GPLv2. See source distribution for full notice.

Usage: busybox [function] [arguments]...
or: [function] [arguments]...

BusyBox is a multi-call binary that combines many common Unix
utilities into a single executable. Most people will create a
link to busybox for each function they wish to use and BusyBox
will act like whatever it was invoked as!

Currently defined functions:
[, [[, addgroup, adduser, adjtimex, ar, arp, arping, ash, awk, basename, bunzip2, bzcat, cal, cat, catv, chattr, chgrp, chmod, chown, chpasswd, chpst, chroot, chrt, chvt, cksum, clear, cmp, comm, cp, crond, crontab, cryptpw, cut, date, dc, dd, deallocvt, delgroup, deluser, df, dhcprelay, diff, dirname, dmesg, dnsd, dos2unix, dpkg, du, dumpkmap, dumpleases, echo, ed, egrep, eject, env, envdir, envuidgid, ether-wake, expand, expr, fakeidentd, false, fbset, fdflush, fdformat, fdisk, fgrep, find, fold, free, freeramdisk, fsck, fsck.minix, ftpget, ftpput, fuser, getopt, getty, grep, gunzip, gzip, halt, hdparm, head, hexdump, hostid, hostname, httpd, hwclock, id, ifconfig, ifdown, ifup, inetd, init, insmod, install, ip, ipaddr, ipcalc, ipcrm, ipcs, iplink, iproute, iprule, iptunnel, kill, killall, killall5, klogd, last, length, less, linux32, linux64, linuxrc, ln, loadfont, loadkmap, logger, login, logname, logread, losetup, ls, lsattr, lsmod, lzmacat, makedevs, md5sum, mdev, mesg, mkdir, mkfifo, mkfs.minix, mknod, mkswap, mktemp, modprobe, more, mount, mountpoint, mt, mv, nameif, nc, netstat, nice, nmeter, nohup, nslookup, od, openvt, passwd, patch, pidof, ping, ping6, pipe_progress, pivot_root, poweroff, printenv, printf, ps, pscan, pwd, raidautorun, rdate, readlink, readprofile, realpath, reboot, renice, reset, resize, rm, rmdir, rmmod, route, run-parts, runlevel, runsv, runsvdir, rx, sed, seq, setarch, setconsole, setkeycodes, setlogcons, setsid, setuidgid, sh, sha1sum, slattach, sleep, softlimit, sort, split, start-stop-daemon, stat, strings, stty, su, sulogin, sum, sv, svlogd, swapoff, swapon, switch_root, sync, sysctl, syslogd, tail, tar, tcpsvd, tee, telnet, telnetd, test, tftp, time, top, touch, tr, traceroute, true, tty, ttysize, udhcpc, udhcpd, udpsvd, umount, uname, uncompress, unexpand, uniq, unix2dos, unlzma, unzip, uptime, usleep, uudecode, uuencode, vconfig, vi, vlock, watch, watchdog, wc, wget, which, who, whoami, xargs, yes, zcat, zcip


You can download the binary here: http://adamrb.googlepages.com/busybox

I think the only way to install it and overwrite the existing is with an ipkg. I'll build one and do some testing later.

yokos
10-31-2007, 02:27 PM
nice. I cant wait to have some time on my hands. I want to have my own contentLister ;)
Mmh, busybox isn't a new contentlister: busybox bundles some standard shell commands. The latest version of busybox has got more more built in commands than installed version on iLiad. :D

Adam B.
11-09-2007, 12:52 PM
Here's the ipkg installer.

It will setup all the links and udhpc scripts necessary. An "ipkg install" is all you need.

nkelle
11-09-2007, 05:56 PM
Quick verify new busybox works nice, tested with building swapfile with your assist at appropriate thread.. THX

thetechnobear
11-29-2007, 05:33 AM
not sure what went wrong, but i installed these and then my networking was not working.
it appeared that it deleted /usr/share/udhcpc/default.script
(or is this only required in new version of udhcpc?)

anyways, i found a simple script which fixed it for me...

create /usr/share/udhcpc/default.script with:
http://busybox.net/cgi-bin/viewcvs.cgi/trunk/udhcp/samples/simple.script?rev=5558


did i do something wrong?


anyways, thxs for updated busybox :)

Adam B.
11-29-2007, 07:10 AM
This was a problem with my installer. You didn't do anything wrong. Sorry about that.

Adam B.
11-30-2007, 12:45 PM
I've fixed the package in this post (http://www.mobileread.com/forums/showpost.php?p=113952&postcount=5).

After installing, everything should work automagically.

cen
04-02-2008, 07:56 PM
Will this work on any version of the iLiad or does it require a specific (now older) firmware?

Adam B.
04-02-2008, 08:13 PM
This should work for any iLiad version.

M@rcel
09-01-2008, 04:50 PM
Here's the ipkg installer.

It will setup all the links and udhpc scripts necessary. An "ipkg install" is all you need.

See attachment to make this nice package even nicer :)

Dabon
09-14-2008, 01:29 PM
Dear M@rcel,

Thank you very much for the busybox software (zip file) that you made available for us.
I was just wondering about this file and would like to ask you a few questions if you don’t mind.
1. Is this zip file different from the ipkg file submitted by Adam?
2. What will be the best way to uninstall this application, should it be (God forbid...) a problem?, I understand from Adam application, a simple uninstall ipkg command should take care of the uninstallation. Will this be the case with the zip file that you made available as well??

Thank you for your consideration


On another note, I am thinking to use a permanent MMC card as you did to install a swap on my iliad, that will help with some of my huge pdf files and I have a couple of question regarding this swapping file. I thought that instead of writing another note to you, it would be convenient to both of us that I write my questions here…My apologies if you think otherwise…here we go:

1. I am interested in installing the swap on startup, and was wondering where should I install the” activateSwap.sh” on my iliad? MMC card or internal memory (book, news or another folder…)?
2. I am not very familiar with Linux language and was wondering if the script that you wrote is also taking care of the issue when somehow the MMC card would not work or simply be out of the slot? Will the iliad still go ahead and boot successfully, or will this lock up the iliad??
3. Do you think that the swap on iliad will take care of the issue that we have with big size chm and déjà vu files as well??

Again, thanks a million for your help,

Dabon.

Fermthe
10-03-2008, 02:17 PM
Hello. I installed marcel's busybox_1.7.2.zip (extracted) of course but i cannot make a swap file. Is there a way for me to know witch ver of busybox i have on my iliad ?

ericshliao
10-23-2008, 11:18 AM
There seems to be some problemwith the command "passwd". I can't change root password with busybox 1.7.2. Original version 1.0 works of course.