09-03-2012, 04:30 PM | #76 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
This finding a way to make a new version of busybox run, even with the old one still installed, is a great find.
Not sure what good having a tftp server on a Kindle is. Well, if anyone ever asks how to network boot their desktop from their e-book, we are ready. |
09-03-2012, 05:05 PM | #77 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
well. I kid you not - it took me 30 mins to boot my windows laptop and install telnet.
I have witnesses - but all that aside : ) it sure is nice to just jump into the device from anywhere now. |
Advert | |
|
09-03-2012, 07:02 PM | #78 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Ah having a further look this appears to be Nilujes doing.
: ) no surprise there. It's referencing a third copy of busybox well back to what I was doing then |
09-03-2012, 07:26 PM | #79 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
From /etc/rc.d/functions
Quote:
|
|
09-03-2012, 08:09 PM | #80 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@twobob: Yes, usbnet launches a telnetd alongside dropbear/openssh on the K2/K3/K4 . (It's actually the telnetd busybox applet (launched standalone, no inetd), with a patched login applet to allow passwordless logins. Hence why it's disabled when the wifi setting is enabled in usbnet, to avoid leaving a huge backdoor open to the four winds ).
|
Advert | |
|
09-03-2012, 08:27 PM | #81 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Yeah I remember reading your notes on that. now. and indeed have just parsed every single line of readable code you left on the machine in /etc /mnt/us/usbnet and otherwise.
call me anal. Don't enjoy mystery's as much as solving them : ) Yeepee!!! |
09-04-2012, 12:39 AM | #82 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
I read that stuff also. And forgot it, also.
Darn, the story I made up sounded so good. Doing development in public means making mistakes in public. Perhaps someone else will be saved the time and trouble of repeating our mistakes. |
09-04-2012, 06:47 AM | #83 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Thats exactly what I thought mate. I genuinely no longer mind making totally blindingly huge gaffs. If SOMEONE had taken the time to do them before me I could read those threads instead.
What actually happens is single posts included one perfectly manicured software offering. Zero clue as to how or why. So yeah, "Go Us" for being the ones who step in the stuff on the sidewalk. In this way, we share what we have learned, better than any single piece of software. : ) |
09-13-2012, 09:02 AM | #84 | |||
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Getting the pimped up busybox working on 3.4
Quote:
Re this: su -c 'su -v' -l will only work if the ENV AND the .basrc are processed... I.E same data twice. So to this end I recommend doing that until a better option comes along. vi !:command also honours this so, yeah. Word to the wise and all that. /etc/profile Quote:
Quote:
Code:
root:x:0:0:root:/home/root:/bin/sh daemon:x:1:1:daemon:/usr/sbin:/bin/sh bin:x:2:2:bin:/bin:/bin/sh sys:x:3:3:sys:/dev:/bin/sh sync:x:4:100:sync:/bin:/bin/sync operator:x:37:37:Operator:/var:/bin/sh sshd:x:103:99:Operator:/var:/bin/sh messagebus:x:92:92:messagebus:/bin/false nobody:x:99:99:nobody:/tmp:/bin/sh default:x:1000:1000:Default non-root user:/dev/null:/bin/sh framework:x:1001:150:Framework User:/tmp/framework:/bin/sh Last edited by twobob; 09-13-2012 at 10:01 AM. |
|||
09-13-2012, 10:42 AM | #85 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
also tried just dumping the new Busybox binary as a straight replacement in /bin
Wifi didn't work so I obviously missed some support somewhere. However the replacement functions via the alias method work so well I don't think I will bother fixing it. |
03-01-2013, 11:30 PM | #86 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
and yes...
an EVEN better busybox is just around the corner. Code:
Currently defined functions:
[, [[, add-shell, addgroup, adduser, ar, arp, arping, ash, awk, base64, basename,
blkid, blockdev, brctl, bunzip2, bzcat, bzip2, cal, cat, catv, chattr, chgrp,
chmod, chown, chroot, chrt, chvt, cksum, clear, cmp, comm, cp, cpio, crond,
crontab, cut, date, dc, dd, deallocvt, delgroup, deluser, depmod, devmem, df,
dhcprelay, diff, dirname, dmesg, dnsd, dnsdomainname, dos2unix, du, dumpkmap,
dumpleases, echo, egrep, eject, env, ether-wake, expand, expr, false, fbset,
fdflush, fdformat, fdisk, fgrep, find, findfs, flock, fold, free, freeramdisk,
fsck, fsync, ftpd, ftpget, ftpput, fuser, getopt, getty, grep, groups, gunzip,
gzip, halt, hdparm, head, hexdump, hostid, hostname, httpd, hwclock, id, ifconfig,
ifdown, ifenslave, ifplugd, ifup, inetd, init, insmod, install, iostat, ip, ipaddr,
ipcalc, ipcrm, ipcs, iplink, iproute, iprule, iptunnel, kbd_mode, kill, killall,
killall5, klogd, last, less, linux32, linux64, linuxrc, ln, loadfont, loadkmap,
logger, login, logname, losetup, ls, lsattr, lsmod, lsof, lspci, lsusb, lzcat,
lzma, lzop, lzopcat, makedevs, man, md5sum, mdev, mesg, microcom, mkdir, mkdosfs,
mke2fs, mkfifo, mkfs.ext2, mkfs.vfat, mknod, mkswap, mktemp, modinfo, modprobe,
more, mount, mountpoint, mt, mv, nameif, nbd-client, nc, netstat, nice, nohup,
ntpd, od, openvt, passwd, patch, pgrep, pidof, ping, ping6, pipe_progress,
pivot_root, pkill, popmaildir, poweroff, printenv, printf, ps, pscan, pstree, pwd,
pwdx, rdate, rdev, readlink, readprofile, realpath, reboot, remove-shell, renice,
reset, resize, rev, rm, rmdir, rmmod, route, rtcwake, run-parts, runlevel, sed,
sendmail, seq, setarch, setconsole, setfont, setkeycodes, setlogcons, setserial,
setsid, sh, sha1sum, sha256sum, sha3sum, sha512sum, showkey, sleep, sort, split,
start-stop-daemon, stat, strings, stty, su, sulogin, sum, swapoff, swapon,
switch_root, sync, sysctl, syslogd, tac, tail, tar, tcpsvd, tee, telnet, telnetd,
test, tftp, tftpd, time, top, touch, tr, traceroute, traceroute6, true, tty,
tunctl, tune2fs, udhcpc, udhcpd, udpsvd, umount, uname, uniq, unix2dos, unlzma,
unlzop, unxz, unzip, uptime, usleep, uudecode, uuencode, vconfig, vi, vlock, watch,
watchdog, wc, wget, which, who, whoami, whois, xargs, xz, xzcat, yes, zcat
size? 1mb HAH!!! |
Tags |
busybox |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kobo runs linux and busybox | billingd | Kobo Reader | 32 | 04-03-2011 10:19 AM |
configuring text to speech | hpratt | Amazon Kindle | 1 | 06-28-2010 01:34 PM |
Configuring? | rachangua | PocketBook | 3 | 05-15-2010 03:33 AM |
Updating Busybox | Adam B. | iRex | 14 | 10-23-2008 10:18 AM |
Cybook source code released (kernel and busybox) | dottedmag | Gen3 Developer's Corner | 14 | 09-12-2008 04:59 AM |