All pastes #173882 Raw Edit

Anonymous

public text v1 · immutable
·published 2006-09-17 10:15 UTC
rendered paste body
    4         root          0   S   [kswapd]
    5         root          0   S   [bdflush]
    6         root          0   S   [kupdated]
    7         root          0   S   [mtdblockd]
   19         root          0   S   mvapd /tmp/hostapd.conf
   28         root          0   S   [jffs2_gcd_mtd2]
   40         root          0   S   httpd WAN
   45         root          0   S   syslogd -m 0 -t GMT0 -O /tmp/syslog.log
   46         root          0   S   klogd
   47         root          0   S   inetd
   68         root          0   S   udhcpc -i WAN -p /var/run/udhcpc0.pid -s /t
   69         root          0   S   infosvr br0
   70         root          0   S   watchdog
   71         root          0   S   ntp
   74         root          0   S   udhcpd /tmp/udhcpd.conf
   82         root          0   S   dproxy -d -c /tmp/dproxy.conf
   91         root          0   S   upnp -L br0 -W WAN
   94 ttyS0   root          0   S   /bin/sh
   95         root          0   R   /bin/telnetd
   96 ttyp0   root          0   S   -sh
  116 ttyp0   root          0   R   ps
# ls --help
BusyBox v0.60.4 (2006.09.15-20:18+0000) multi-call binary

Usage: ls [-1AacCdeFilnprSsTtuvwxXk] [filenames...]

# uname
Linux
# uname -a
Linux (none) 2.4.22-uc0 #138 Sat Sep 16 20:29:38 EDT 2006 armv4l unknown
# uname -A
BusyBox v0.60.4 (2006.09.15-20:18+0000) multi-call binary

Usage: uname [OPTION]...

# uname --help
BusyBox v0.60.4 (2006.09.15-20:18+0000) multi-call binary

Usage: uname [OPTION]...

# uname
Linux
# ls
www      usr      sbin     mnt      jffs     etc      bin
var      tmp      proc     lib      garbage  dev
# ps
  PID TTY     Uid        Size State Command
    1         root          0   S   init
    2         root          0   S   [keventd]
    3         root          0   S   [ksoftirqd_CPU0]
    4         root          0   S   [kswapd]
    5         root          0   S   [bdflush]
    6         root          0   S   [kupdated]
    7         root          0   S   [mtdblockd]
   19         root          0   S   mvapd /tmp/hostapd.conf
   28         root          0   S   [jffs2_gcd_mtd2]
   40         root          0   S   httpd WAN
   45         root          0   S   syslogd -m 0 -t GMT0 -O /tmp/syslog.log
   46         root          0   S   klogd
   47         root          0   S   inetd
   68         root          0   S   udhcpc -i WAN -p /var/run/udhcpc0.pid -s /t
   69         root          0   S   infosvr br0
   70         root          0   S   watchdog
   71         root          0   S   ntp
   74         root          0   S   udhcpd /tmp/udhcpd.conf
   82         root          0   S   dproxy -d -c /tmp/dproxy.conf
   91         root          0   S   upnp -L br0 -W WAN
   94 ttyS0   root          0   S   /bin/sh
   95         root          0   S   /bin/telnetd
   96 ttyp0   root          0   S   -sh
  124 ttyp0   root          0   R   ps
#
[WL530G] login: root
Password:
*****************************************************************
 Liberated Libertas Firmware for the WL-530g

 Developers:

  Jeremy Collake <jeremy@bitsum.com>
  <YOUR NAME HERE>

*****************************************************************


BusyBox v0.60.4 (2006.09.15-20:18+0000) Built-in shell (msh)
Enter 'help' for a list of built-in commands.

# ls /lib
modules
# ls /lib/modules
unimac.o                      ip_nat_rule.o
smbfs.o                       ip_nat_proto_unknown.o
nvram_mod.o                   ip_nat_proto_udp.o
nvram_linux.o                 ip_nat_proto_tcp.o
netfilter.o                   ip_nat_proto_icmp.o
mvwlan.o                      ip_nat_proto_gre.o
iptable_nat.o                 ip_nat_pptp.o
iptable_mangle.o              ip_nat_helper.o
iptable_filter.o              ip_nat_h323.o
ipt_time.o                    ip_nat_ftp.o
ipt_tcpmss.o                  ip_nat_core.o
ipt_state.o                   ip_conntrack_tftp.o
ipt_mark.o                    ip_conntrack_standalone.o
ipt_mac.o                     ip_conntrack_proto_udp.o
ipt_TCPMSS.o                  ip_conntrack_proto_tcp.o
ipt_REJECT.o                  ip_conntrack_proto_icmp.o
ipt_REDIRECT.o                ip_conntrack_proto_gre.o
ipt_NETMAP.o                  ip_conntrack_proto_generic.o
ipt_MASQUERADE.o              ip_conntrack_pptp.o
ipt_MARK.o                    ip_conntrack_h323.o
ipt_LOG.o                     ip_conntrack_ftp.o
ip_tables.o                   ip_conntrack_core.o
ip_nat_tftp.o                 ip_conntrack.o
ip_nat_starcraft.o            ip_autofw.o
ip_nat_standalone.o           gpio.o
# fre
fre: not found
# free
              total         used         free       shared      buffers
  Mem:        14392        12556         1836            0         1304
# mount
rootfs on / type rootfs (rw)
/dev/mtdblock1 on / type cramfs (ro)
proc on /proc type proc (rw)
ramfs on /tmp type ramfs (rw)
/dev/mtdblock2 on /jffs type jffs2 (rw)
# thepeople
[02:19] * arteqw (n=artur@egq27.internetdsl.tpnet.pl) has joined #x-wrt
[03:58] * arteqw (n=artur@egq27.internetdsl.tpnet.pl) Quit (Read error: 104 (Connection reset by peer))
[04:07] * arteqw (n=artur@egq27.internetdsl.tpnet.pl) has joined #x-wrt
thepeople[05:21] * arteqw (n=artur@egq27.internetdsl.tpnet.pl) has left #x-wrt ("Ex-Chat"): not found
# [02:19] * arteqw (n=artur@egq27.internetdsl.tpnet.pl) has joined #x-wrt
syntax error
# [03:58] * arteqw (n=artur@egq27.internetdsl.tpnet.pl) Quit (Read error: 104 (Connection reset by peer))
syntax error
# [04:07] * arteqw (n=artur@egq27.internetdsl.tpnet.pl) has joined #x-wrt
syntax error
# [05:21] * arteqw (n=artur@egq27.internetdsl.tpnet.pl) has left #x-wrt ("Ex-Chat")thepeople
syntax error
# [02:19] * arteqw (n=artur@egq27.internetdsl.tpnet.pl) has joined #x-wrt
syntax error
# [03:58] * arteqw (n=artur@egq27.internetdsl.tpnet.pl) Quit (Read error: 104 (Connection reset by peer))
syntax error
# [04:07] * arteqw (n=artur@egq27.internetdsl.tpnet.pl) has joined #x-wrt
syntax error
# [05:21] * arteqw (n=artur@egq27.internetdsl.tpnet.pl) has left #x-wrt ("Ex-Chat")
syntax error
# mkdir /mnt/dl
# mount -t nfs 192.168.2.111:/home/downloads /mnt/dl -o nolock
mount: 192.168.2.111:/home/downloads failed, reason given by server: Permission denied
mount: nfsmount failed: Bad file descriptor
mount: Mounting 192.168.2.111:/home/downloads on /mnt/dl failed: Invalid argument
# ping 192.168.2.111
PING 192.168.2.111 (192.168.2.111): 56 data bytes
64 bytes from 192.168.2.111: icmp_seq=0 ttl=64 time=10.0 ms

--- 192.168.2.111 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 10.0/10.0/10.0 ms
# mount -t nfs 192.168.2.111:/home/db90h/downloads /mnt/dl -o nolock
# ls /mnt/dl/*.sh
/mnt/dl/mapshare.sh                /mnt/dl/arm-elf-tools-20030314.sh
# cp /mnt/dl/S20share /jffs/etc/init.d
# cp /mnt/dl/mapshare.sh /jffs/etc/mapshare.sh
# cp /mnt/dl/mapshare.sh /jffs/etc/mapshare.sh
# ls /jffs/etc/init.d
S20share
# cp /mnt/dl/mapshare.sh /jffs/etc/init.d/mapshare.sh
# rm /jffs/etc/mapshare.sh
# ls
www      usr      sbin     mnt      jffs     etc      bin
var      tmp      proc     lib      garbage  dev
# df
Filesystem           1k-blocks      Used Available Use% Mounted on
rootfs                    6000      6000         0 100% /
/dev/mtdblock1            6000      6000         0 100% /
/dev/mtdblock2             576       196       380  34% /jffs
192.168.2.111:/home/db90h/downloads  40219648  29721440   8455136  78% /tmp/dl
# /tmp/dl/busybox
BusyBox v1.2.1 (2006.09.17-08:03+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:
        [, [[, arping, awk, basename, busybox, cat, chmod, chroot, clear,
        cmp, cp, crond, crontab, cut, date, dd, df, diff, dmesg, du, echo,
        env, expr, false, find, free, ftpget, ftpput, grep, halt, head,
        hostid, ifconfig, insmod, kill, killall, klogd, length, ln, logger,
        logname, logread, ls, lsmod, mkdir, mkfifo, mktemp, more, mount,
        msh, mv, nc, netstat, nslookup, pidof, ping, pivot_root, poweroff,
        printf, ps, pwd, rdate, reboot, rm, rmdir, sed, seq, sh, sleep,
        sort, strings, sum, switch_root, sync, sysctl, syslogd, tail,
        tar, tee, test, tftp, time, touch, tr, traceroute, true, umount,
        uname, uniq, uptime, usleep, wc, wget, which, xargs, yes

# /tmp/dl/busybox sh
MSH_MAIN: argc 1, environ 0xd04fff44
PUSHIO: argp 0xd04de8e8, argp->afid 0xffffffff, e.iop 0xd04e0a94
PUSHIO: iostack 0xd04e0aa4,  e.iop 0xd04e0aa4, afbuf 0xd04de4d0
PUSHIO: mbuf 0xd04de4d0, sbuf 0xd04de6dc, bid 0, e.iop 0xd04e0aa4


BusyBox v1.2.1 (2006.09.17-08:03+0000) Built-in shell (msh with debug)
Enter 'help' for a list of built-in commands.

MSH_MAIN: begin FOR loop, interactive 1, e.iop 0xd04e0aa4, iostack 0xd04e0aa4
ONECOMMAND: enter, outtree=(nil)
Illegal instruction
#