[solved]Help needed! to get a better busybox

Here for general support for B series TVs, request and problem solve area.
Post Reply

arris69
Official SamyGO Developer
Posts: 1700
Joined: Fri Oct 02, 2009 8:52 am
Location: Austria/Vienna (no Kangaroos here)
Contact:

Re: Help needed! to get a better busybox

Post by arris69 »

jokerper wrote:Hi,

I need help to install a better busybox with more commands:

Code: Select all

# ls
ash       dd        grep      mkdir     pidof     sh        usleep
busybox   df        hostname  mknod     ping      sleep     vi
cat       dmesg     kill      mount     ps        stty
chmod     echo      ln        mv        pwd       sync
cp        egrep     login     netstat   rm        touch
date      fgrep     ls        nice      sed       umount
How do I get more commands!!!

Code: Select all

/mtd_tlib/GGame/SamyGO/bin/busybox 
BusyBox v1.17.4 (2011-01-02 18:51:31 CET) multi-call binary.
Copyright (C) 1998-2009 Erik Andersen, Rob Landley, Denys Vlasenko
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:
        [, [[, acpid, ar, ash, awk, basename, beep, blkid, bootchartd, bunzip2, bzcat, cat, chattr, chgrp, chmod, chown, chpasswd, chroot,
        chvt, clear, cmp, cp, cpio, cryptpw, cut, date, dc, dd, deallocvt, df, dhcprelay, diff, dirname, dmesg, dnsdomainname, du,
        dumpkmap, dumpleases, echo, egrep, env, expr, false, fbset, fbsplash, fdisk, fgconsole, fgrep, find, flock, free, fsck, fsck.minix,
        fsync, ftpd, fuser, getopt, getty, grep, gunzip, gzip, halt, head, hexdump, hostname, httpd, hwclock, id, ifconfig, ifdown,
        ifplugd, ifup, init, insmod, ionice, ip, kill, killall, klogd, less, linuxrc, ln, loadfont, loadkmap, logger, login, logname,
        logread, losetup, ls, lsmod, lspci, lsusb, lzop, lzopcat, makedevs, md5sum, mdev, mesg, microcom, mkdir, mkdosfs, mke2fs, mkfifo,
        mkfs.ext2, mkfs.minix, mkfs.vfat, mknod, mkpasswd, mkswap, mktemp, modinfo, modprobe, more, mount, mv, nc, netstat, nice, nohup,
        nslookup, ntpd, od, openvt, passwd, patch, pidof, ping, ping6, pivot_root, poweroff, printf, ps, pwd, rdate, rdev, readahead,
        readlink, readprofile, realpath, reboot, renice, reset, rev, rm, rmdir, rmmod, route, rtcwake, run-parts, runlevel, scriptreplay,
        sed, seq, setconsole, setfont, sh, sha256sum, sha512sum, showkey, sleep, smemcap, sort, start-stop-daemon, strings, stty, su,
        sulogin, swapoff, swapon, switch_root, sync, sysctl, syslogd, tail, tar, tee, telnet, telnetd, test, tftp, time, timeout, top,
        touch, tr, traceroute, traceroute6, true, tty, tunctl, udhcpc, udhcpd, umount, uname, uniq, unlzop, unxz, unzip, uptime, usleep,
        vi, volname, wall, watch, wc, wget, which, whoami, xargs, xz, xzcat, yes, zcat
for what you need more commands :?: but i prefer to use the native commands
jokerper wrote: And why wont this give me any results

Code: Select all

# mount
use

Code: Select all

/bin/mount
jokerper wrote:

Code: Select all

# ls
don't know why your ls won't show anything, you are maybe in an empty directory

hth
arris
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: Help needed! to get a better busybox

Post by juusso »

i am here for a year and i do not think i know a lot about hacking our TVs. If you think one and half month is quite enought, you think false.
Off course it depends from IQ an linux knowledge at the beginning :D
I do not think you need better busybox.
Tell me truth, do you have ExLink cable on hand and u-boot access already? Did you set "debug" and "watchdog off" on SM?
If not, forget diving deeper, else we get topic like "help, bricked B655 while playing with patched firmware" soon...
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
arris69
Official SamyGO Developer
Posts: 1700
Joined: Fri Oct 02, 2009 8:52 am
Location: Austria/Vienna (no Kangaroos here)
Contact:

Re: Help needed! to get a better busybox

Post by arris69 »

jokerper wrote:...
But I have made some googd things like.
login as: root
root@192.168.0.150's password:
-sh: id: not found
# mc.sh
Start SamyGO Midnight Commander

fx.
I wait to play with things like this:
Manual FW upgrade via telnet or console (without the need for XOR and CRC32)

About the busybox
I dont understand why fx.
whoami, find and more dont work.
i will tell you the truth:
if you configure samygo ex[tp][ea]nsions pack before you copy it to tv or if you use it every time from your usb you don't have to mess around on the tv.
midnight commander ssh ftp telnet busybox find wget ... not realy required. maybe if a web interface is written you can start stop services and/or install extra apps on the tv (primitive sample is shipped with latest release).
why you like to upgrade the firmware via console? you can upgrade you firmware with tvs menu. but i guess you mean downgrade the firmware.
for whoami command, on tv you are always root.
for find command, what have you lost? you can check on your windows computer what is in a software pack before you install it on your tv.
native versions of the commands wget, unrar, unzip etc. are included also. don't understand why people install software on tv without to check what is included or what the software will do on tv, maybe it will format you mtd_exe partition.
for busybox, why you don't read output of the busybox command

Code: Select all

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

Code: Select all

busybox traceroute www.samsung.com
traceroute to www.samsung.com (62.41.58.56), 30 hops max, 38 byte packets
 1  192.168.1.254 (192.168.1.254)  4.001 ms  6.107 ms  19.282 ms
 2  *  *  *  *  *
 3  wien-s2-rou-1041.at.eurorings.net (193.203.0.97)  26.355 ms  28.319 ms  13.626 ms
 4  wien-s2-rou-1002.AT.eurorings.net (134.222.123.241)  27.592 ms  19.898 ms  60.064 ms
 5  mchn-s1-rou-1022.DE.eurorings.net (134.222.228.45)  56.891 ms  36.217 ms  16.841 ms
 6  static-ip-62-41.eurorings.net (62.41.58.56)  20.071 ms  37.370 ms  79.298 ms

Code: Select all

busybox nslookup 62.41.58.56
Server:    10.0.0.1
Address 1: 10.0.0.1

Name:      62.41.58.56
Address 1: 62.41.58.56 static-ip-62-41.eurorings.net
arris

Post Reply

Return to “[B] Support”