Kobo Touch を探検する

Kobotelnet できるようになったので、中を探検してみましょう。

telnet したら、まず、無線の電源を切られないように nickel を停止しておきます。

# killall nickel

これでのんびりと探検できます。USB を繋いでおけば電源の心配もいりません。

~ # free
              total         used         free       shared      buffers
  Mem:       254388       132336       122052            0         2208
 Swap:            0            0            0
Total:       254388       132336       122052
~ # df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root               253871    219040     34831  86% /
none                     16384         8     16376   0% /tmp
none                    127192         4    127188   0% /dev
none                        16         0        16   0% /var/log
none                       128         4       124   3% /var/run
/dev/mmcblk0p3         1394520      5988   1388532   0% /mnt/onboard
~ # mount
rootfs on / type rootfs (rw)
/dev/root on / type ext4 (rw,noatime,nodiratime,barrier=1,data=ordered)
none on /proc type proc (rw,relatime)
none on /tmp type tmpfs (rw,relatime,size=16384k)
none on /dev type tmpfs (rw,relatime)
none on /var/log type tmpfs (rw,relatime,size=16k)
none on /var/run type tmpfs (rw,relatime,size=128k)
none on /sys type sysfs (rw,relatime)
/dev/mmcblk0p3 on /mnt/onboard type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=utf8,shortname=mixed,errors=remount-ro)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
~ # uname -a
Linux (none) 2.6.35.3-850-gbc67621+ #325 PREEMPT Wed May 23 09:35:44 CST 2012 armv7l GNU/Linux
~ # cat /proc/version
Linux version 2.6.35.3-850-gbc67621+ (gallen@gallen-desktop) (gcc version 4.4.4 (4.4.4_09.06.2010) ) #325 PREEMPT Wed May 23 09:35:44 CST 2012
~ # cat /proc/cpuinfo
Processor       : ARMv7 Processor rev 5 (v7l)
BogoMIPS        : 159.90
Features        : swp half thumb fastmult vfp edsp neon vfpv3 
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x2
CPU part        : 0xc08
CPU revision    : 5

Hardware        : Freescale MX50 Reference Design Platform
Revision        : 50011
Serial          : 0000000000000000
~ # cat /etc/passwd
root::0:0:root:/:/bin/sh
ftp::14:50:FTP User:/var/ftp:
bin:*:1:1:bin:/bin:
daemon:*:2:2:daemon:/sbin:
messagebus:*:30:30:messagebus::/bin/false
nobody:*:99:99:Nobody:/:
admin:$1$$CoERg7ynjYLsj2j4glJ34.:0:0:Linux User,,,:/home/admin:/bin/sh
~ # cd /usr/bin
/usr/bin # ls
[            dos2unix     last         rtcwake      top
[[           du           length       runsv        tr
ar           eject        less         runsvdir     tty
arping       env          logger       rx           ttysize
awk          envdir       logname      script       unexpand
basename     envuidgid    lzmacat      seq          uniq
bunzip2      ether-wake   md5sum       setkeycodes  unix2dos
bzcat        expand       mesg         setsid       unlzma
bzip2        expr         microcom     setuidgid    unzip
c_rehash     fdformat     mkfifo       sha1sum      uptime
cal          find         nmeter       sha256sum    uudecode
chat         fold         nohup        sha512sum    uuencode
chpst        free         od           showkey      wc
chrt         fuser        openssl      softlimit    wget
chvt         hd           openvt       sort         which
cksum        head         patch        split        who
clear        hexdump      pgrep        strings      whoami
cmp          hostid       pkill        sum          xargs
comm         id           printf       sv           xml2-config
crontab      install      readahead    tac          xmlcatalog
cut          ipcrm        readlink     tail         xmllint
dc           ipcs         realpath     tee          yes
deallocvt    kbd_mode     renice       test         zipcmp
diff         killall      reset        time         zipmerge
dirname      killall5     resize       timeout      ziptorrent
/usr/bin # cd /bin
/bin # ls
antiword              gunzip                qqwing
ash                   gzip                  rdjpgcom
attr                  hostname              recode-sr-latin
autopoint             hush                  rm
busybox               i2cget                rmdir
cat                   i2cset                rtctest.out
catv                  iconv                 run-parts
chacl                 ip                    rz
chattr                ipaddr                sed
chgrp                 ipcalc                setarch
chmod                 iplink                setfacl
chown                 iproute               setfattr
cjpeg                 iprule                sh
cp                    iptunnel              sleep
cpio                  jpegtran              stat
cttyhack              kill                  stty
date                  linux32               sync
dbus-cleanup-sockets  linux64               sz
dbus-daemon           ln                    tar
dbus-launch           login                 touch
dbus-monitor          ls                    touch_simulate
dbus-send             lsattr                true
dbus-uuidgen          md5sum                ts_calibrate
dd                    memtool               ts_harvest
df                    mkdir                 ts_print
djpeg                 mkdosfs               ts_print_raw
dmesg                 mknod                 ts_test
dosfsck               mktemp                umount
dumpkmap              more                  uname
echo                  mount                 uncompress
ed                    mountpoint            unrtf
egrep                 msh                   usleep
envsubst              mt                    vcom_store
epdc_test             mv                    vi
evtest                ngettext              watch
false                 nice                  wlarm_le
fdflush               ntpd                  wpa_cli
fgrep                 ocotp_test            wpa_passphrase
get_input_key         pidof                 wpa_supplicant
getfacl               ping                  wrjpgcom
getfattr              pipe_progress         xmlwf
getopt                printenv              zcat
gobject-query         ps
grep                  pwd
/bin # cd /usr/sbin
/usr/sbin # ls
bin2nand      loadfont      rdate         ubicrc32.pl   ubirename
brctl         mkbootenv     rdev          ubidetach     ubirmvol
chroot        mkpfi         readprofile   ubiformat     ubirsvol
crond         mtdinfo       setfont       ubigen        ubiupdatevol
dnsd          nand2bin      setlogcons    ubimirror     unubi
fakeidentd    pddcustomize  svlogd        ubimkvol
fbset         pfi2bin       ubiattach     ubinfo
inetd         pfiflash      ubicrc32      ubinize
/usr/sbin # cd /sbin
/sbin # ls
adjtimex           ifenslave          makedevs           setconsole
arp                ifrename           man                slattach
blkid              ifup               mdev               start-stop-daemon
devmem             init               mkdosfs            sulogin
fbsplash           insmod             mkfs.minix         swapoff
fdisk              iwconfig           mkfs.vfat          swapon
findfs             iwevent            mkswap             switch_root
freeramdisk        iwgetid            modprobe           sysctl
fsck               iwlist             nameif             syslogd
fsck.minix         iwpriv             pivot_root         udevadm
getty              iwspy              poweroff           udevd
halt               klogd              raidautorun        udhcpc
hdparm             loadkmap           reboot             vconfig
hwclock            logread            rmmod              watchdog
ifconfig           losetup            route
ifdown             lsmod              runlevel

作業が終わったら、再起動しましょう。

# /sbin/reboot

なお、この記事はファームウェア 2.0.2 の情報です。