View source for RAVpower BusyBox
Jump to:
navigation
,
search
This page refers to the RAVpower BusyBox - based device that provides an external battery for charging cellular phones or whatever whilst simultaneously providing file sharing services and more. But -- the unadvertised feature is that it contains an accessible BusyBox implementation with both root and user level accounts and much more. To be described here! The RAVpower "FileHub" as it's called has an Android app in Google's appstore. The app is credited to HooToo - which makes similar products. However, the hardware and software in the RAVpower unit appears to be quite different from the HooToo OpenWRT based implementation. I'll be writing separately about the HooToo hardware and software separately. I purchased the RAV Power FileHub for the basic services it provides out-of-the-box. The device can repeat a WiFi signal, and extend coverage into a shadowed area. It can be used for basic file sharing. It's easy to connect to from many platforms without any additional client-side software. It's battery operated so it's infrastructure independent, and solid even if the primary power source is solar. However, the ability to "get inside" the device and leverage full Unix access is a strong plus, and a hacker's delight. == Device Description == http://www.amazon.com/gp/product/B00ICEWB58/ref=as_li_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=B00ICEWB58&linkCode=as2&tag=infoweb02-20&linkId=EGAGLCVIQB3FDB6Y" == Documentation and Link == Instruction for RP-WD02 Filehub For All versions.pdf http://www.ravpower.com/media/downloads/Instruction%20for%20%20RP-WD02%20Filehub%20For%20All%20versions.pdf Very weirdly Chinesey (need more detail here) 10MB PDF == Chat Log and System Output == Instruction for RP-WD02 Filehub For All versions.pdf http://www.ravpower.com/media/downloads/Instruction%20for%20%20RP-WD02%20Filehub%20For%20All%20versions.pdf Very weirdly Chinesey (need more detail here) 10MB PDF <pre> BusyBox v1.12.1 (2012-04-26 15:28:18 PHT) built-in shell (ash) Enter 'help' for a list of built-in commands. $ help Built-in commands: ------------------- . : [ [[ alias bg break cd chdir command continue echo eval exec exit export false fg getopts hash help jobs kill let local printf pwd read readonly return set shift source test times trap true type ulimit umask unalias unset wait </pre> BusyBox oddities, but lots of RAM disks. See the manual and correlate... <pre> $ df Filesystem 1k-blocks Used Available Use% Mounted on rootfs 5056 5056 0 100% / /dev/root 5056 5056 0 100% / $ mount rootfs on / type rootfs (rw) /dev/root on / type squashfs (ro) ramfs on /var type ramfs (rw) ramfs on /www/firmware type ramfs (rw) ramfs on /boot/tmp type ramfs (rw) ramfs on /usr/local/samba/var type ramfs (rw) ramfs on /data type ramfs (rw) ramfs on /opt type ramfs (rw) ramfs on /dev type ramfs (rw) ramfs on /tmp type ramfs (rw) /proc on /proc type proc (rw) /sys on /sys type sysfs (rw) none on /proc/bus/usb type usbfs (rw) ramfs on /dev type ramfs (rw) devpts on /dev/pts type devpts (rw) ramfs on /dev/shm type ramfs (rw) ramfs on /dev/mapper type ramfs (rw) ramfs on /etc type ramfs (rw) [extracts from 'top'] Mem: 21956K used, 6044K free, 0K shrd, 1560K buff, 8168K cached CPU: 0% usr 0% sys 0% nice 99% idle 0% io 0% irq 0% softirq Load average: 0.00 0.00 0.02 2552 ? SN 0:00 /usr/sbin/fileserv -f /etc/fileserv/lighttpd.conf -m /usr/lib/fileserv 2609 ? Ss 0:00 telnetd 4059 ? S< 0:00 /usr/sbin/upnpd $ busybox --help BusyBox v1.12.1 (2012-04-26 15:28:18 PHT) multi-call binary Copyright (C) 1998-2008 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: [, [[, ash, awk, basename, brctl, cat, chgrp, chmod, chown, chroot, cksum, clear, cmp, comm, cp, cut, date, dd, df, dhcprelay, dirname, dmesg, du, dumpleases, echo, ed, egrep, env, expr, fgrep, find, free, getty, grep, gunzip, gzip, halt, head, hostid, hostname, hwclock, id, ifconfig, insmod, ip, kill, killall, klogd, ln, logger, login, logread, ls, lsmod, md5sum, mkdir, mkfifo, mknod, mkswap, more, mount, mv, netstat, nice, passwd, pgrep, pidof, ping, ping6, poweroff, printenv, printf, ps, pwd, readlink, realpath, reboot, renice, reset, rm, rmdir, rmmod, route, sed, sh, sleep, stat, stty, sum, swapoff, swapon, sync, sysctl, syslogd, tail, tar, telnetd, test, time, top, touch, udhcpc, udhcpd, umount, uname, uniq, uptime, usleep, vconfig, vi, wc, wget, who, xargs, zcat $ ls /bin ash echo ipaddr mii_mgr pidof sh ated ed iplink mkdir ping sleep busybox egrep iproute mknod ping6 stat cat fgrep iprule more pppd stty chat gpio iptables mount pppoecd switch chgrp grep iptunnel mtd_write printenv sync chmod gunzip iwconfig mv ps tar chown gzip iwpriv netstat pwd touch cp hostname kill nice ralink_init umount date igmpproxy lld2d ntpclient reg uname dd igmpproxy.sh ln nvram_daemon rm usleep df inadyn login nvram_get rmdir vi dmesg ip ls nvram_set sed zcat $ ls /usr/bin [ cmp env id passwd reset uniq [[ comm expr killall pgrep sum uptime awk cut find killall5 printf tail wc basename dirname free logger readlink test wget cksum du head md5sum realpath time who clear dumpleases hostid mkfifo renice top xargs $ ls /usr/sbin au get_wlan_mac owndns stopcp brctl inadyn ownhttp telnetd chroot iodate partprobe tst_nameserver default_ssid_set ioos passwdzw udevadm dhcprelay led_control pioctl udevd disk_clear_gpt_info locknet portmap udevtrigger diskck minidlna pppoe_client udhcpd etc_tools mkntfs rtconfig.bin umount2 ez-ipupdate mkusbevent sendfile update_smb filecp nasclient set_kernel_zone updatedd fileserv newdd set_remote_ap upnpd get_broadcast_addr nmbd sg_ioctl_disk usbdongle get_mtd_param ntp smbd vstddns get_mtd_sn opmode_set smbpasswd $ ls / bin data etc home media opt sbin tmp var boot dev etc_ro lib mnt proc sys usr www </pre> It appears as though the device is made by the same people that make the "HooToo" products (the app for the RAV is made by HooToo)... Therefore, if you don't want the built-in battery, the following is available for $18 and might be the same or similar: http://www.amazon.com/gp/product/B00HZWOQZ6/ref=as_li_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=B00HZWOQZ6&linkCode=as2&tag=infoweb02-20&linkId=AF6IH4KL6SR3BKEN Amazon.com: HooToo TripMate Nano Wireless N Pocket Travel Router: Computers & Accessories If you want to hack, here is a [support] reason to get the device above instead: https://forum.openwrt.org/viewtopic.php?id=53014 ... I've now determined that these products are different, run different software. The HooToo runs OpenWRT as root. The RAV does not. It runs as admin (uid=15, gid=0), not as root. Files and install instructions for HooToo HT-TM02 (RT5350) (Page 1) — General Discussion — OpenWrt — Wireless Freedom As for the RAV device, for documentation purposes until I get all this into OneNote, the root password is: 20080826 -- so it's awesome that the RAV has support for the two accounts. I was able to change both admin and root passwords!!! Unlike OpenWRT, this puppy has a 'passwd' command. But no su ... you have to log out from admin and log back in as root to change. Interestingly, the RAV also has the 'chroot' command as well as other interesting *nix oddities. This applies, to at least some extent: http://hckohwnotes.blogspot.com/2014/05/debian-on-intenso-memory-2-move-intenso.html More to come as I play with this useful little device.
Return to
RAVpower BusyBox
.
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
Actions
Search
Navigation
Main page
Community portal
Current events
Recent changes
Random page
Help
Toolbox
What links here
Related changes
Special pages
Page information