User Tools

Site Tools


toh:hame:spr-s2

HAME SPR-S2 (Platform Version S2_v2.0)

Small device with a 5200mAh Li-polymer rechargeable battery. Product page: http://hame.hamedata.com/html/product/view1-24-66.html Size: 93.8(L) x 43.1(W) x 26(H) mm. Weight: 130 gram

Generic Router

FIXME

Getting started with a new Device Page

  1. This is an empty template that suggests the information that should be present on a well-constructed Device Page.
  2. There are several "fixme" tags throughout this template. As you fill in the page, remove those tags so that people can judge its completeness.
  3. When there's no more "fixme" left other than this one, delete it too.

Keep the articles modular

Please include only model specific information, omit bla,bla and put everything generic into separate articles
If you have no time to write certain stuff, link to generic.overview
basic.config should lead the way, do not explain this again
DO NOT provide a complete howto here! Instead groom the general HowTos.

FIXME

Supported Versions

Experimental Versions

None at this time.

Hardware Highlights

Installation

Flash Layout

Please check out the article Flash.Layout. It contains an example and a couple of explanations.

OEM easy installation

FIXME The instructions below are for Broadcom devices and only serve as an example. Don't leave them in place if they do not apply to a particular device!

This section deals with how you install OpenWrt from a device freshly opened. Plus the steps required such as reset to factory defaults if the device has already been configured

Note: Reset router to factory defaults if it has been previously configured.

OEM installation using the TFTP method

Specific values you need

Bootloader tftp server IPv4 address FILL-IN
Bootloader MAC address (special) FILL-IN
Firmware tftp image Latest OpenWrt release (NOTE: Name must contain "tftp")
TFTP Transfer Window FILL-IN seconds
TFTP Window Start approximately FILL-IN seconds after power on
TFTP Client Required IP Address FILL-IN

Upgrading OpenWrt

generic.sysupgrade

If you have already installed OpenWrt and like to reflash for e.g. upgrading to a new OpenWrt version you can upgrade using the mtd command line tool. It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing.

LuCI Web Upgrade Process

Terminal Upgrade Process

  • Login as root via SSH on 192.168.1.1
  • Use the following commands to upgrade.

cd /tmp/
wget http://http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc
sysupgrade /tmp/xxx.abc

  • If sysupgrade does not support this router, use the following commands.

cd /tmp/
wget http://http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc
mtd write /tmp/xxx.abc linux && reboot

Basic configuration

Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.

Specific Configuration

Interfaces

The default network configuration is:

Interface Name Description Default configuration
br-lan LAN & WiFi 192.168.1.1/24
vlan0 (eth0.0) LAN ports (1 to 4) None
vlan1 (eth0.1) WAN port DHCP
wl0 WiFi Disabled

Switch Ports (for VLANs)

Numbers 0-3 are Ports 1-4 as labeled on the unit, number 4 is the Internet (WAN) on the unit, 5 is the internal connection to the router itself. Don't be fooled: Port 1 on the unit is number 3 when configuring VLANs. vlan0 = eth0.0, vlan1 = eth0.1 and so on.

Port Switch port
Internet (WAN) 4
LAN 1 3
LAN 2 2
LAN 3 1
LAN 4 0

Failsafe mode

Buttons

hardware.button on howto use and configure the hardware button(s).

The Linksys WRT54GL has two buttons. They are Reset and Secure Easy Setup. Here, we merely name the buttons, so we can use them in the above Howto:

BUTTON Event
Reset reset
Secure Easy Setup ses

Hardware

Info

General
Brand HAME
Model SPR-S2
Versions S2_v2.0
Device Type Travel Router - Battery powered
Availability Available
Comments - general
OpenWrt Support
Supported Since Revision
Supported Since Release
Supported Current Release
Unsupported
Hardware
Instruction set MIPS32
Sub Instruction Set MIPS32 24K/E series
Bootloader ¿
Target ramips
System-On-Chip Ralink RT5350F
CPU MHz 360
Flash MB ¿
RAM MB 32
Network
Ethernet 100M ports 1
Ethernet Gbit ports -
Switch
Modem No
VLAN ¿
Comments - network ports
Wireless
WLAN 2.4GHz b/g/n
WLAN 5.0GHz -
WLAN Hardware
Detachable Antennas -
Comments - WLAN
Interfaces
USB ports 1x 2.0
SATA ports -
Serial ¿
JTAG ¿
Comments - USB & SATA ports
Misc
LED count ¿
Button count ¿
Power supply 5 VDC, 5200 mAh battery
Links
Forum Topic URL
WikiDevi URL
OEM device homepage URL http://hame.hamedata.com/html/product/view1-24-66.html
Firmware OEM Stock URL
Firmware OpenWrt Install URL
Firmware OpenWrt Upgrade URL
Edit the underlying data View/Edit data

Photos

Model Number

Front:

Photo of front of the casing

Back:

Photo of back of the casing

Opening the case

Note: This will void your warranty!

Carefully remove the top cover labeled "HAME" starting at the USB port. After removing the top cover remove 3 black colored screws PH00 and lift the enclosure.

Main PCB

Battery

Serial

The serial port pads are located under the internal battery and are clearly labeled. See the PCB image above: RX, TX, 3.3V

JTAG

port.jtag general information about the JTAG port, JTAG cable, etc.

How to connect to the JTAG Port of this specific device:

Photo of PCB with markings

Debricking

Bootloader Mods

  1. you could read about bootloader in general

Hardware mods

Currently none.

Bootlogs

OEM bootlog

U-Boot 1.1.8 (Feb 6 2012 - 16:07:57) Board: Ralink APSoC DRAM: 32 MB relocate_code Pointer at: 81fb0000 spi_wait_nsec: 42 spi device id: c8 40 17 c8 40 (4017c840) find flash: G 1408 raspi_read: from:30000 len:1000 .*** Warning - bad CRC, using default environment ============================================ Ralink UBoot Version: 3.6.0.0 -------------------------------------------- ASIC 5350_MP (Port5<->None) DRAM_CONF_FROM: Boot-Strapping DRAM_TYPE: SDRAM DRAM_SIZE: 256 Mbits DRAM_WIDTH: 16 bits DRAM_TOTAL_WIDTH: 16 bits TOTAL_MEMORY_SIZE: 32 MBytes Flash component: SPI Flash Date:Feb 6 2012 Time:16:07:57 ============================================ icache: sets:256, ways:4, linesz:32 ,total:32768 dcache: sets:128, ways:4, linesz:32 ,total:16384 ##### The CPU freq = 360 MHZ #### estimate memory size =32 Mbytes raspi_read: from:40028 len:6 . raspi_read: from:0 len:30004 ....[ff ff] Init Plat A1 *************Is_update = 0 plat = 1************** No lcd plat Disable usb Usb ok Please choose the operation: 1: Load system code to SDRAM via TFTP. 2: Load system code then write to Flash via TFTP. 3: Boot system code via Flash (default). 4: Entr boot command line interface. 7: Load Boot Loader code then write to Flash via Serial. 9: Load Boot Loader code then write to Flash via TFTP.  1  0 3: System Boot system code via Flash. ## Booting image at bc050000 ... raspi_read: from:50000 len:40 . Image Name: Linux Kernel Image Created: 2015-03-06 2:27:53 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 5762739 Bytes = 5.5 MB Load Address: 80000000 Entry Point: 803a4000 raspi_read: from:50040 len:57eeb3 ........................................................................................ Verifying Checksum ... OK Uncompressing Kernel Image ... OK No initrd ## Transferring control to Linux (at address 803a4000) ... ## Giving linux memsize in MB, 32 Starting kernel ... LINUX started... THIS IS ASIC Linux version 2.6.21 (root@localhost.localdomain) (gcc version 3.4.2) #210 Fri Sep 27 10:08:05 CST 2013 The CPU frequency set to 360 MHz CPU revision is: 0001964c Determined physical RAM map: memory: 02000000 @ 00000000 (usable) Built 1 zonelists. Total pages: 8128 Kernel command line: console=ttyS1,57600n8 root=/dev/mtdblock5 Primary instruction cache 32kB, physically tagged, 4-way, linesize 32 bytes. Primary data cache 16kB, 4-way, linesize 32 bytes. Synthesized TLB refill handler (20 instructions). Synthesized TLB load handler fastpath (32 instructions). Synthesized TLB store handler fastpath (32 instructions). Synthesized TLB modify handler fastpath (31 instructions). Cache parity protection disabled cause = 50808020, status = 11000000 PID hash table entries: 128 (order: 7, 512 bytes) calculating r4koff... 0015f900(1440000) CPU frequency 360.00 MHz Using 180.000 MHz high precision timer. Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) Memory: 28544k/32768k available (3062k kernel code, 4224k reserved, 661k data, 116k init, 0k highmem) Mount-cache hash table entries: 512 NET: Registered protocol family 16 usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb NET: Registered protocol family 2 Time: MIPS clocksource has been installed. IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 1024 (order: 1, 8192 bytes) TCP bind hash table entries: 1024 (order: 0, 4096 bytes) TCP: Hash tables configured (established 1024 bind 1024) TCP reno registered deice id : c8 40 17 c8 40 (4017c840) HAME_1(c8 4017c840) (8192 Kbytes) mtd .name = raspi, .size = 0x00800000 (8M) .erasesize = 0x00010000 (64K) .numeraseregions = 0 Creating 7 MTD partitions on "raspi": 0x00000000-0x00800000 : "ALL" 0x00000000-0x00030000 : "Bootloader" 0x00030000-0x00040000 : "Config" 0x00040000-0x00050000 : "Factory" 0x00050000-0x00182ef3 : "Kernel" mtd: partition "Kernel" doesn't end on an erase block -- force read-only 0x00182ef3-0x01000000 : "RootFS" mtd: partition "RootFS" extends beyond the end of device "raspi" -- size truncated to 0x67d10d mtd: partition "RootFS" doesn't start on an erase block boundary -- force read-only 0x00050000-0x01000000 : "Kernel_RootFS" mtd: partition "Kernel_RootFS" extends beyond the end of device "raspi" -- size truncated to 0x7b0000 RT3xxx EHCI/OHCI init. squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher squashfs: LZMA suppport for slax.org by jro fuse init (API version 7.8) io scheduler noop registered (default) Hame plat 1 Ralink gpio driver initialized [003c7f01] HDLC line discipline: version $Revision: 1.1.1.1 $, maxframe=4096 N_HDLC line discipline registered. Serial: 8250/16550 driver $Revision: 1.8 $ 2 ports, IRQ sharing disabled serial8250: ttyS0 at I/O 0xb0000500 (irq = 37) is a 16550A serial8250: ttyS1 at I/O 0xb0000c00 (irq = 12) is a 16550A loop: loaded (max 8 devices) rdm_major = 253 eth2 mii.o query= phy_id:0, address:1 retval:7849 Ralink APSoC Ethernet Driver Initilization. v2.1 256 rx/tx descriptors allocated, mtu = 1500! MAC_ADRH -- : 0x00009c41 MAC_ADRL -- : 0x7c841130 PROC INIT OK! PPP generic driver version 2.4.2 PPP BSD Compression module registered NET: Registered protocol family 24 PPPoL2TP kernel driver, V0.17 PPTP driver version 0.8.1 === pAd = c0019000, size = 628392 === <-- RTMPAllocAdapterBlock, Status=0 block2mtd: version $Revision: 1.1.1.1 $ usbcore: registered new interface driver cdc_acm drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters nf_conntrack version 0.5.0 (256 buckets, 2048 max) ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Restricted Cone arp_tables: (C) 2002 David S. Miller TCP cubic registered NET: Registered protocol family 1 NET: Registered protocol family 10 NET: Registered protocol family 17 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com> All bugs added by David S. Miller <davem@redhat.com> VFS: Mounted root (squashfs filesystem) readonly. Freeing unused kernel memory: 116k freed init started: BusyBox v1.12.1 (2012-12-14 06:52:31 EST) starting pid 14, tty '': '/etc_ro/rcS' Algorithmics/MIPS FPU Emulator v1.5 devpts: called with bogus options ------------------------------------------- Welcome to __ __ __ __ __ ______ | | | | / \ | \ / | | ____| | |_| | / /\ \ | |\\//| | | |___ | _ | |_/__\ \ | | \/ | | | |___| | | | | | | | | | | | | | |___ |_| |_| |_| |_| |_| |_| |_____| HameData Technology Co., Ltd ------------------------------------------- killall: goahead: no process killed rt3xxx-ohci rt3xxx-ohci: RT3xxx OHCI Controller rt3xxx-ohci rt3xxx-ohci: new USB bus registered, assigned bus number 1 rt3xxx-ohci rt3xxx-ohci: irq 18, io mem 0x101c1000 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected rt3xxx-ehci rt3xxx-ehci: Ralink EHCI Host Controller rt3xxx-ehci rt3xxx-ehci: new USB bus registered, assigned bus number 2 rt3xxx-ehci rt3xxx-ehci: irq 18, io mem 0x101c0000 rt3xxx-ehci rt3xxx-ehci: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004 usb usb2: configuration #1 chosen from 1 choice hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected usbcore: registered new interface driver ipheth ******g_iplat = 1******* Start gpio 0 monitor starting pid 52, tty '/dev/ttyS1': '/bin/sh' BusyBox v1.12.1 (2012-12-14 06:52:31 EST) built-in shell (ash) Enter 'help' for a list of built-in commands. # killall: udhcpc: no process killed RX DESC a1f38000 size = 2048 <-- RTMPAllocTxRxRingMemory, Status=0 RTMP_TimerListAdd: add timer obj c00838b0! RTMP_TimerListAdd: add timer obj c0021014! RTMP_TimerListAdd: add timer obj c0020be4! RTMP_TimerListAdd: add timer obj c0020fc0! RTMP_TimerListAdd: add timer obj c0020fe8! RTMP_TimerListAdd: add timer obj c00210cc! RTMP_TimerListAdd: add timer obj c00210f8! RTMP_TimerListAdd: add timer obj c00212a4! RTMP_TimerListAdd: add timer obj c00519bc! RTMP_TimerListAdd: add timer obj c005158c! RTMP_TimerListAdd: add timer obj c0051968! RTMP_TimerListAdd: add timer obj c0051990! RTMP_TimerListAdd: add timer obj c0051a74! RTMP_TimerListAdd: add timer obj c0051aa0! RTMP_TimerListAdd: add timer obj c00519e8! RTMP_TimerListAdd: add timer obj c0051a14! RTMP_TimerListAdd: add timer obj c0051a40! RTMP_TimerListAdd: add timer obj c0083dd0! RTMP_TimerListAdd: add timer obj c0083da8! RTMP_TimerListAdd: add timer obj c0083d80! RTMP_TimerListAdd: add timer obj c005a66c! RTMP_TimerListAdd: add timer obj c005a770! RTMP_TimerListAdd: add timer obj c005a694! RTMP_TimerListAdd: add timer obj c0051f84! RTMP_TimerListAdd: add timer obj c001e4d8! RTMP_TimerListAdd: add timer obj c0051ca4! RtmpOSFileOpen(): Error 2 opening /etc/Wireless/RT2860/RT2860.dat Open file "/etc/Wireless/RT2860/RT2860.dat" failed! 1. Phy Mode = 0 ERROR!!! RTMPReadParametersHook failed, Status[=0x00000001] !!! rt28xx Initialized fail !!! ifconfig: ioctl 0x8914 failed: Operation not permitted internet.sh Password for 'hame' changed /sbin/internet.sh: line 282: can't create /proc/sys/kernel/hotplug: nonexistent directory rmmod: ralink_wdt: No such file or directory rmmod: cls: No such file or directory rmmod: hw_nat: No such file or directory rmmod: raeth: No such file or directory insmod: bridge.ko: module not found insmod: mii.ko: module not found insmod: raeth.ko: module not found phy_tx_ring = 0x0184a000, tx_ring = 0xa184a000 phy_rx_ring0 = 0x0184b000, rx_ring0 = 0xa184b000 MAC_ADRH -- : 0x00009c41 MAC_ADRL -- : 0x7c841130 RT305x_ESW: Link Status Changed ##### disable 1st wireless interface ##### rmmod: rt2860v2_ap_net: No such file or directory rmmod: rt2860v2_ap: No such file or directory rmmod: rt2860v2_ap_util: No such file or directory rmmod: rt2860v2_sta_net: No such file or directory rmmod: rt2860v2_sta: No such file or directory rmmod: rt2860v2_sta_util: No such file or directory insmod: rt2860v2_ap_util.ko: module not found insmod: rt2860v2_ap.ko: module not found insmod: rt2860v2_ap_net.ko: module not found rmmod: nf_nat_pptp: No such file or directory rmmod: nf_conntrack_pptp: No such file or directory rmmod: nf_nat_proto_gre: No such file or directory rmmod: nf_conntrack_proto_gre: No such file or directory RX DESC a1851000 size = 2048 <-- RTMPAllocTxRxRingMemory, Status=0 Key1Str is Invalid key length(0) or Type(0) Key2Str is Invalid key length(0) or Type(0) Key3Str is Invalid key length(0) or Type(0) Key4Str is Invalid key length(0) or Type(0) 1. Phy Mode = 9 2. Phy Mode = 9 3. Phy Mode = 9 RTMP_TimerListAdd: add timer obj c001e0e0! RTMPSetPhyMode: channel is out of range, use first channel=0 MCS Set = ff 00 00 00 01 SYNC - BBP R4 to 20MHz.l Main bssid = 9c:41:7c:84:11:38 <==== rt28xx_init, Status=0 0x1300 = 00064380 vconfig: ioctl error for rem: Invalid argument vconfig: ioctl error for rem: Invalid argument rmmod: 8021q: No such file or directory insmod: 8021q.ko: module not found eth2.2: Setting MAC address to 9c 41 7c 84 11 37. device eth2 entered promiscuous mode VLAN (eth2.2): Setting underlying device (eth2) to promiscious mode. ifconfig: ioctl 0x8913 failed: No such device brctl: bridge br0: No such device or address iptables v1.4.0rc1: can't initialize iptables table `mangle': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. ##### config Ralink ESW vlan partition (LLLLW) ##### switch reg write offset=14, value=405555 switch reg write offset=50, value=2001 switch reg write offset=98, value=7f3f switch reg write offset=e4, value=3f switch reg write offset=40, value=1001 switch reg write offset=44, value=1001 switch reg write offset=48, value=1002 switch reg write offset=70, value=ffff506f done. device ra0 entered promiscuous mode eth2 mii.o query= phy_id:1, address:4 retval:5e1 eth2 mii.o query= phy_id:1, address:0 retval:3100 eth2 mii.o query= phy_id:1, address:5 retval:20 eth2.1: dev_set_promiscuity(master, 1) device eth2.1 entered promiscuous mode ##### start wan ##### wan.sh: unknown wan connection type: WIFI ##### start lan ##### br0: port 2(eth2.1) entering learning state br0: port 1(ra0) entering learning state ifconfig: ioctl 0x8914 failed: Cannot assign requested address ifconfig: ioctl 0x8914 failed: Cannot assign requested address br0: topology change detected, propagating br0: port 2(eth2.1) entering forwarding state br0: topology change detected, propagating br0: port 1(ra0) entering forwarding state killall: udhcpd: no process killed Set: phy[0].reg[0] = 3900 Set: phy[1].reg[0] = 3900 Set: phy[2].reg[0] = 3900 Set: phy[3].reg[0] = 3900 Set: phy[4].reg[0] = 3900 Set: phy[0].reg[0] = 3100 ifconfig: ioctl 0x8913 failed: No such device ##### start nat ##### ##### finish nat ##### killall rt2860apd 1>/dev/null 2>&1 iptables -F -t filter 1>/dev/null 2>&1 iptables -D FORWARD -j macipport_filter 1>/dev/null 2>&1 iptables -F macipport_filter 1>/dev/null 2>&1 iptables -D FORWARD -j web_filter 1>/dev/null 2>&1 iptables -F web_filter 1>/dev/null 2>&1 iptables -D FORWARD -j malicious_filter 1>/dev/null 2>&1 iptables -F malicious_filter 1>/dev/null 2>&1 iptables -D INPUT -j malicious_input_filter 1>/dev/null 2>&1 iptables -F malicious_input_filter 1>/dev/null 2>&1 iptables -P INPUT ACCEPT iptables -P OUTPUT ACCEPT iptables -P FORWARD ACCEPT iptables -t filter -N web_filter 1>/dev/null 2>&1 iptables -t filter -N macipport_filter 1>/dev/null 2>&1 iptables -t filter -N malicious_filter 1>/dev/null 2>&1 iptables -t filter -N synflood_filter 1>/dev/null 2>&1 iptables -t filter -N malicious_input_filter 1>/dev/null 2>&1 iptables -t filter -N synflood_input_filter 1>/dev/null 2>&1 iptables -t filter -A FORWARD -j web_filter 1>/dev/null 2>&1 iptables -t filter -A FORWARD -j macipport_filter 1>/dev/null 2>&1 iptables -t filter -A FORWARD -j malicious_filter 1>/dev/null 2>&1 iptables -t filter -A malicious_filter -p tcp --syn -j synflood_filter 1>/dev/null 2>&1 iptables -t filter -A INPUT -j malicious_input_filter 1>/dev/null 2>&1 iptables -t filter -A malicious_input_filter -p tcp --syn -j synflood_input_filter 1>/dev/null 2>&1 iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 1>/dev/null 2>&1 /bin/super_dmz -f sh: /bin/super_dmz: not found iptables -t nat -F PREROUTING iptables -t nat -D PREROUTING -j port_forward 1>/dev/null 2>&1 iptables -t nat -F port_forward 1>/dev/null 2>&1; iptables -t nat -X port_forward 1>/dev/null 2>&1 iptables -t nat -D PREROUTING -j DMZ 1>/dev/null 2>&1 iptables -t nat -F DMZ 1>/dev/null 2>&1; iptables -t nat -X DMZ 1>/dev/null 2>&1 iptables -t nat -F POSTROUTING 1>/dev/null 2>&1 iptables -t nat -N port_forward 1>/dev/null 2>&1; iptables -t nat -I PREROUTING 1 -j port_forward 1>/dev/null 2>&1 iptables -t nat -N DMZ 1>/dev/null 2>&1; iptables -t nat -I PREROUTING 2 -j DMZ 1>/dev/null 2>&1 iptables -t nat -A POSTROUTING -o apcli0 -s 192.168.169.1/255.255.255.0 -j MASQUERADE 1>/dev/null 2>&1 ntp.sh ddns.sh pool.ntp.org: Unknown host kill -9 `cat /var/run/wscd.pid.ra0` cat: can't open '/var/run/wscd.pid.ra0': No such file or directory kill: you need to specify whom to kill iwpriv ra0 set WscConfMode=0 1>/dev/null 2>&1 route delete 239.255.255.250 1>/dev/null 2>&1 killall -q klogd killall -q syslogd syslogd -C8 1>/dev/null 2>&1 klogd 1>/dev/null 2>&1 killall -q zebra killall -q ripd webs: Listening for HTTP requests at address 192.168.169.1 Current Plat 1 tmk 7 set askdial=1 It is udisk start udisk SCSI subsystem initialized Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. udisk over killall: minidlna: no process killed killall: smbd: no process killed sh: smbd: not found [2000/01/01 01:01:01] minidlna.c:1335: debug: Using locale dir /opt/RT288x_SDK/source/lib/gettext/share/locale [2000/01/01 01:01:01] minidlna.c:388: My name is(HameCloud) [2000/01/01 01:01:01] getifaddr.c:70: error: ioctl(s, SIOCGIFADDR, ...)[ra0]: Cannot assign requested address Interface ra0 not found, ignoring. [2000/01/01 01:01:01] minidlna.c:471: My name is(HameCloud) root folder = cloud folder = /var/minidlna mem = 9200 #cat /proc/meminfo MemTotal: 28660 kB MemFree: 15012 kB Buffers: 1576 kB Cached: 5036 kB SwapCached: 0 kB Active: 3324 kB Inactive: 4492 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 0 kB Writeback: 0 kB AnonPages: 1236 kB Mapped: 1408 kB Slab: 4352 kB SReclaimable: 636 kB SUnreclaim: 3716 kB PageTables: 208 kB NFS_Unstable: 0 kB Bounce: 0 kB CommitLimit: 14328 kB Committed_AS: 3140 kB VmallocTotal: 1048404 kB VmallocUsed: 1132 kB VmallocChunk: 1047136 kB # mount rootfs on / type rootfs (rw) /dev/root on / type squashfs (ro) proc on /proc type proc (rw) none on /var type ramfs (rw) none on /etc type ramfs (rw) none on /tmp type ramfs (rw) none on /media type ramfs (rw) none on /sys type sysfs (rw) none on /dev/pts type devpts (rw) none on /proc/bus/usb type usbfs (rw) # ifconfig br0 Link encap:Ethernet HWaddr 9C:41:7C:84:11:30 inet addr:192.168.169.1 Bcast:192.168.169.255 Mask:255.255.255.0 inet6 addr: fe80::9e41:7cff:fe84:1130/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:27 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:6549 (6.3 KiB) eth2 Link encap:Ethernet HWaddr 9C:41:7C:84:11:30 inet6 addr: fe80::9e41:7cff:fe84:1130/64 Scope:Link UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:41 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:7785 (7.6 KiB) Interrupt:3 eth2.1 Link encap:Ethernet HWaddr 9C:41:7C:84:11:30 inet6 addr: fe80::9e41:7cff:fe84:1130/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:30 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:6891 (6.7 KiB) eth2.2 Link encap:Ethernet HWaddr 9C:41:7C:84:11:37 inet6 addr: fe80::9e41:7cff:fe84:1137/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:492 (492.0 B) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) ra0 Link encap:Ethernet HWaddr 9C:41:7C:84:11:38 inet6 addr: fe80::9e41:7cff:fe84:1138/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:18159 errors:0 dropped:0 overruns:0 frame:0 TX packets:33 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:4620123 (4.4 MiB) TX bytes:0 (0.0 B) Interrupt:4 # busybox BusyBox v1.12.1 (2012-12-14 06:52:31 EST) 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, basename, brctl, cat, chmod, chpasswd, cp, date, echo, .eject, expr, fdisk, free, grep, halt, hostname, ifconfig, init, init, .insmod, kill, killall, klogd, ln, logger, login, logread, ls, lsmod, .mdev, mkdir, mknod, mount, ping, ping6, poweroff, printf, ps, pwd, .reboot, rm, rmmod, route, sed, sh, sleep, syslogd, telnetd, test, .top, touch, udhcpc, udhcpd, umount, uptime, vconfig, wc, wget, xargs


OpenWrt bootlog

COPY HERE THE BOOTLOG ONCE OPENWRT IS INSTALLED AND RUNNING


Notes

product produced july 2015

IP 192.168.169.1

telnet enabled by default username: hame password: hame

/proc/rt5350

# cat /proc/version Linux version 2.6.21 (root@localhost.localdomain) (gcc version 3.4.2) #210 Fri Sep 27 10:08:05 CST 2013

BusyBox v1.12.1 (2012-12-14 06:52:31 EST) multi-call binary

# cat /proc/cpuinfo system type : Ralink SoC processor : 0 cpu model : MIPS 24K V4.12 BogoMIPS : 239.61 wait instruction : yes microsecond timers : yes tlb_entries : 32 extra interrupt vector : yes hardware watchpoint : yes ASEs implemented : mips16 dsp VCED exceptions : not available VCEI exceptions : not available

# cat /proc/meminfo MemTotal: 28660 kB MemFree: 8500 kB Buffers: 1904 kB Cached: 6852 kB SwapCached: 0 kB Active: 9524 kB Inactive: 4488 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 0 kB Writeback: 0 kB AnonPages: 5288 kB Mapped: 1556 kB Slab: 4616 kB SReclaimable: 720 kB SUnreclaim: 3896 kB PageTables: 240 kB NFS_Unstable: 0 kB Bounce: 0 kB CommitLimit: 14328 kB Committed_AS: 7472 kB VmallocTotal: 1048404 kB VmallocUsed: 1132 kB VmallocChunk: 1047136 kB

# cat /proc/mtd dev: size erasesize name mtd0: 00800000 00010000 "ALL" mtd1: 00030000 00010000 "Bootloader" mtd2: 00010000 00010000 "Config" mtd3: 00010000 00010000 "Factory" mtd4: 00132ef3 00010000 "Kernel" mtd5: 0067d10d 00010000 "RootFS" mtd6: 007b0000 00010000 "Kernel_RootFS"

Tags

toh/hame/spr-s2.txt · Last modified: 2016/02/22 21:40 by tmomas