RouterBOARD 133: Difference between revisions

From Noisebridge
Jump to navigation Jump to search
No edit summary
(#0F0 we can haz root)
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
See also: [Sparky]
See also: [[Sparky]]
 
Manual: http://www.routerboard.sk/files/pdf/rb133&133c_manual.pdf
 
<span style="color:#00FF00">Note: The following references boards that have a meraki flashed NAND.</span>
 
 
==<span style="color:#00FF00; background:#000000">power</span>==
The board has a non-standard PoE option, there is also a barrel connector that supports 9-28V DC tip positive supply
 
 
==<span style="color:#00FF00; background:#000000">www</span>==
Connecting the first ethernet port (has PoE sticker) to a DHCP enabled network will allow access to some meraki web pages. Browse to the IP to see these pages.
 
*index.cgi
*advanced.html
*configure/index.cgi
 
Some pages are password protected. The username is 'admin' and the password is the serial number. The serial number can be obtained via the serial terminal using 'cat /MERAKI_SERIAL'


Serial Console...
<pre>


== serial boot output ==


CuteCom was used to get the following via Serial Console http://cutecom.sourceforge.net/


<pre>
BusyBox v1.1.0 (2007.09.21-01:28+0000) Built-in shell (ash)
BusyBox v1.1.0 (2007.09.21-01:28+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
Enter 'help' for a list of built-in commands.
Line 72: Line 91:




== more console out ==
==<span style="color:#00FF00; background:#000000">more console out</span>==
 
Routerboard 133 - we have several... here is some console out for you...
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
watchdog hb: 90  WDOG0: 0xa32806dd  WDOG1: 0x7fff06dd
adm5120_wdt_init using heartbeat 90 s cycles 9000
watchdog hb: 90  WDOG0: 0xa3280001  WDOG1: 0x7fff0001
ttyS0 at I/O 0x12600000 (irq = 9) is a ADM5120
ttyS1 at I/O 0x12800000 (irq = 10) is a ADM5120
eth0: ADM5120 switch port0
eth1: ADM5120 switch port1
eth2: ADM5120 switch port2
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
RB1xx nand
NAND device: Manufacturer ID: 0xad, Chip ID: 0x76 (Hynix NAND 64MiB 3,3V 8-bit)
Scanning device for bad blocks
Creating 4 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00000000-0x00400000 : "/bootpart"
0x00400000-0x00800000 : "/storage"
0x00800000-0x00810000 : "paniclog"
0x00810000-0x04000000 : "extra"
usbmon: debugfs is not available
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
IP route cache hash table entries: 512 (order: -1, 2048 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
ip_conntrack version 2.4 (256 buckets, 2048 max) - 232 bytes per conntrack
ip_conntrack_pptp version 3.1 loaded
ip_nat_pptp version 3.0 loaded
ip_tables: (C) 2000-2006 Netfilter Core Team
ClusterIP Version 0.8 loaded successfully
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Bridge firewalling registered
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
Freeing unused kernel memory: 9544k freed
 
init started:  BusyBox v1.1.0 (2007.09.21-01:28+0000) multi-call binary
 
Please press Enter to activate this console. yaffs: dev is 32505856 name is "mtdblock0"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.0, "mtdblock0"
yaffs: auto selecting yaffs1
yaffs: dev is 32505857 name is "mtdblock1"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.1, "mtdblock1"
yaffs: auto selecting yaffs1
 
 
 
BusyBox v1.1.0 (2007.09.21-01:28+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
 
http://meraki.com/
 
Welcome to your Meraki device.  Please look for developer information at
http://meraki.com.  We would like to encourage you to play with this
platform and add your own features to it.  However, our lawyers
require us to tell you that much of the software on this device is
protected by copyrights, and may not be redistributed or sold.
 
Like hacking on wireless stuff?  Come work with us!  jobs@meraki.com
 
Happy Hacking!
00:18:0A:00:F1:20:/# adm5120_wdt: starting watchdog w/timeout 90 seconds
watchdog hb: 90  WDOG0: 0xa3280291  WDOG1: 0x7fff0291
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413, REGOPS_FUNC)
wlan: 0.8.4.2 (svn 10828)
ath_rate_sample: 1.2 (svn 10828)
ath_pci: 0.9.4.5 (svn 10828)
PCI: Enabling device 0000:00:02.0 (0000 -> 0002)
wifi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
wifi0: mac 10.4 phy 6.1 radio 6.3
wifi0: Use hw queue 1 for WME_AC_BE traffic
wifi0: Use hw queue 0 for WME_AC_BK traffic
wifi0: Use hw queue 2 for WME_AC_VI traffic
wifi0: Use hw queue 3 for WME_AC_VO traffic
wifi0: Use hw queue 8 for CAB traffic
wifi0: Use hw queue 9 for beacons
couldn't load module 'wlan_scan_sta' (-89)
unable to load wlan_scan_sta
wifi0: Atheros 5212: mem=0x11400000, irq=15
 
00:18:0A:00:F1:20:/#
00:18:0A:00:F1:20:/# click: starting router thread pid 479 (812cb480)
wlan: mac acl policy registered
 
!!!!! reading /tmp/mtunnel_state failed: No such file or directory
 
00:18:0A:00:F1:20:/# couldn't load module 'wlan_scan_monitor' (-89)
unable to load wlan_scan_monitor
 
00:18:0A:00:F1:20:/# reboot
00:18:0A:00:F1:20:/# adm5120_wdt_release: release
 
The system is going down NOW !!
 
Sending SIGTERM to all processes.
 
Sending SIGKILL to all processes.
 
Please stand by while rebooting the system.
Restar
 
RouterBOOT booter 2.7
 
RouterBoard 133
 
CPU frequency: 175 MHz
  Memory size:  32 MB
 
Press any key within 2 seconds to enter setup.
 
RouterBOOT-2.7
What do you want to configure?
  d - boot delay
  k - boot key
  s - serial console
  o - boot device
  u - cpu mode
  r - reset configuration
  e - format nand
  g - upgrade firmware
  i - board info
  p - boot protocol
  t - do memory testing
  x - exit setup
your choice: r - reset configuration
 
 
writing settings to flash... OK
 
 


<pre>
RouterBOOT booter 2.7
RouterBOOT booter 2.7


Line 232: Line 107:
mem_detect: disable buffers for both banks
mem_detect: disable buffers for both banks
mem_detect: checking for 64MB chip in 1st bank
mem_detect: checking for 64MB chip in 1st bank
mem_detect: write 0x55555555 to 0xA0000000
mem_detect: write 0xAAAAAAAA to 0xA0000000
mem_detect: delay 10000 ns
mem_detect: pattern at 0xA1000000 is 0x55555555
mem_detect: write 0xAAAAAAAA to 0xA0000000
mem_detect: delay 10000 ns
mem_detect: delay 10000 ns
mem_detect: pattern at 0xA2000000 is 0x55555555
mem_detect: pattern at 0xA2000000 is 0x55555555
mem_detect: mirrored data found at offset 0x2000000
mem_detect: chip size in 1st bank is 64MB
mem_detect: chip size in 1st bank is 32MB
mem_detect: enable buffers for both banks
mem_detect: enable buffers for both banks
mem_detect: 1x32MB memory found
mem_detect: 1x64MB memory found
<6>ADM5120 revision 8, running at 175MHz
<6>ADM5120 revision 8, running at 175MHz
<6>Boot loader is: RouterBOOT
<6>Boot loader is: RouterBOOT
Line 279: Line 156:
io scheduler deadline registered
io scheduler deadline registered
io scheduler cfq registered
io scheduler cfq registered
watchdog hb: 90  WDOG0: 0xa32806dc WDOG1: 0x7fff06dc
watchdog hb: 90  WDOG0: 0xa32806dd WDOG1: 0x7fff06de
adm5120_wdt_init using heartbeat 90 s cycles 9000
adm5120_wdt_init using heartbeat 90 s cycles 9000
watchdog hb: 90  WDOG0: 0xa3280000  WDOG1: 0x7fff0001
watchdog hb: 90  WDOG0: 0xa3280000  WDOG1: 0x7fff0000
ttyS0 at I/O 0x12600000 (irq = 9) is a ADM5120
ttyS0 at I/O 0x12600000 (irq = 9) is a ADM5120
ttyS1 at I/O 0x12800000 (irq = 10) is a ADM5120
ttyS1 at I/O 0x12800000 (irq = 10) is a ADM5120
Line 317: Line 194:
All bugs added by David S. Miller <davem@redhat.com>
All bugs added by David S. Miller <davem@redhat.com>
Freeing unused kernel memory: 9544k freed
Freeing unused kernel memory: 9544k freed
init started:  BusyBox v1.1.0 (2007.09.21-01:28+0000) multi-call binary
init started:  BusyBox v1.1.0 (2007.09.21-01:28+0000) multi-call binary


Line 329: Line 204:
yaffs: Attempting MTD mount on 31.1, "mtdblock1"
yaffs: Attempting MTD mount on 31.1, "mtdblock1"
yaffs: auto selecting yaffs1
yaffs: auto selecting yaffs1
 
adm5120_wdt: starting watchdog w/timeout 90 seconds
 
watchdog hb: 90  WDOG0: 0xa328028c WDOG1: 0x7fff028c
 
BusyBox v1.1.0 (2007.09.21-01:28+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
 
http://meraki.com/
 
Welcome to your Meraki device.  Please look for developer information at
http://meraki.com.  We would like to encourage you to play with this
platform and add your own features to it.  However, our lawyers
require us to tell you that much of the software on this device is
protected by copyrights, and may not be redistributed or sold.
 
Like hacking on wireless stuff?  Come work with us!  jobs@meraki.com
 
Happy Hacking!
00:18:0A:00:F1:20:/# adm5120_wdt: starting watchdog w/timeout 90 seconds
watchdog hb: 90  WDOG0: 0xa3280297 WDOG1: 0x7fff0296
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413, REGOPS_FUNC)
ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413, REGOPS_FUNC)
Line 368: Line 226:
unable to load wlan_scan_sta
unable to load wlan_scan_sta
wifi0: Atheros 5212: mem=0x11400000, irq=15
wifi0: Atheros 5212: mem=0x11400000, irq=15
click: starting router thread pid 479 (802fd480)
click: starting router thread pid 478 (818d3480)
wlan: mac acl policy registered
wlan: mac acl policy registered
ifconfig
lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.255.255.255
          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)


wired0    Link encap:Ethernet  HWaddr 00:18:0A:00:F1:20 
          UP BROADCAST MULTICAST  MTU:1500  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:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:17
00:18:0A:00:F1:20:/#
!!!!! reading /tmp/mtunnel_state failed: No such file or directory
!!!!! reading /tmp/mtunnel_state failed: No such file or directory
couldn't load module 'wlan_scan_monitor' (-89)
couldn't load module 'wlan_scan_monitor' (-89)
unable to load wlan_scan_monitor
unable to load wlan_scan_monitor
ifconfig
clients  Link encap:Ethernet  HWaddr 00:01:02:03:04:05 
          inet addr:10.128.128.128  Bcast:10.255.255.255  Mask:255.0.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  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:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.255.255.255
          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)


log0      Link encap:Ethernet  HWaddr 00:01:02:03:04:05 
          inet addr:1.0.0.1  Bcast:1.0.0.3  Mask:255.255.255.252
          UP BROADCAST RUNNING MULTICAST  MTU:1500  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:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


srcr2    Link encap:Ethernet  HWaddr 00:01:02:03:04:05 
BusyBox v1.1.0 (2007.09.21-01:28+0000) Built-in shell (ash)
          inet addr:6.0.241.32  Bcast:6.255.255.255  Mask:255.0.0.0
Enter 'help' for a list of built-in commands.
          UP BROADCAST RUNNING MULTICAST  MTU:1500  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:1000
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)


to_gw    Link encap:Ethernet  HWaddr 00:01:02:03:04:05 
http://meraki.com/
          inet addr:6.0.241.32  Bcast:6.255.255.255  Mask:255.255.255.255
          UP BROADCAST RUNNING MULTICAST  MTU:1500  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:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


tunnel    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
Welcome to your Meraki device. Please look for developer information at
          inet addr:6.0.241.32 P-t-P:6.0.241.32 Mask:255.255.255.255
http://meraki.comWe would like to encourage you to play with this
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1200  Metric:1
platform and add your own features to itHowever, our lawyers
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
require us to tell you that much of the software on this device is
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
protected by copyrights, and may not be redistributed or sold.
          collisions:0 txqueuelen:500
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


wifi0    Link encap:Ethernet HWaddr 00:18:0A:00:F1:20  
Like hacking on wireless stuff? Come work with us! jobs@meraki.com
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:537 errors:0 dropped:0 overruns:0 frame:93
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:59
          RX bytes:105941 (103.4 KiB)  TX bytes:0 (0.0 B)
          Interrupt:15 Memory:b1400000-b1410000


wired0    Link encap:Ethernet  HWaddr 00:18:0A:00:F1:20 
Happy Hacking!
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
00:18:0A:00:F1:7C:/#  
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
</pre>
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:17
 
wired1    Link encap:Ethernet  HWaddr 00:18:0A:00:F1:21 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:242 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:25791 (25.1 KiB)  TX bytes:1812 (1.7 KiB)
          Interrupt:17
 
00:18:0A:00:F1:20:/# ifconfig
ath0      Link encap:Ethernet  HWaddr 00:18:0A:00:F1:20 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  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:100
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
 
ath2      Link encap:UNSPEC  HWaddr 0A-18-0A-00-F1-20-00-00-00-00-00-00-00-00-00-00 
          UP BROADCAST RUNNING MULTICAST  MTU:1900  Metric:1
          RX packets:434 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:5
          RX bytes:90641 (88.5 KiB)  TX bytes:0 (0.0 B)
 
clients  Link encap:Ethernet  HWaddr 00:01:02:03:04:05 
          inet addr:10.128.128.128  Bcast:10.255.255.255  Mask:255.0.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  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:80
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
 
lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.255.255.255
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:11 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:990 (990.0 B)  TX bytes:990 (990.0 B)
 
log0      Link encap:Ethernet  HWaddr 00:01:02:03:04:05 
          inet addr:1.0.0.1  Bcast:1.0.0.3  Mask:255.255.255.252
          UP BROADCAST RUNNING MULTICAST  MTU:1500  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:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
 
srcr2    Link encap:Ethernet  HWaddr 00:01:02:03:04:05 
          inet addr:6.0.241.32  Bcast:6.255.255.255  Mask:255.0.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:80
          RX bytes:0 (0.0 B)  TX bytes:266 (266.0 B)
 
to_gw    Link encap:Ethernet  HWaddr 00:01:02:03:04:05 
          inet addr:6.0.241.32  Bcast:6.255.255.255  Mask:255.255.255.255
          UP BROADCAST RUNNING MULTICAST  MTU:1500  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:80
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
 
tunnel    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 
          inet addr:6.0.241.32  P-t-P:6.0.241.32  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1200  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:80
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
 
wifi0    Link encap:Ethernet  HWaddr 00:18:0A:00:F1:20 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1045 errors:0 dropped:0 overruns:0 frame:121
          TX packets:5 errors:1 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:59
          RX bytes:206128 (201.2 KiB)  TX bytes:534 (534.0 B)
          Interrupt:15 Memory:b1400000-b1410000


wired0    Link encap:Ethernet  HWaddr 00:18:0A:00:F1:20 
          UP BROADCAST MULTICAST  MTU:1500  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:80
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:17


wired1    Link encap:Ethernet  HWaddr 00:18:0A:00:F1:21 
          inet addr:172.30.2.230  Bcast:172.30.3.255  Mask:255.255.252.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:456 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:80
          RX bytes:49138 (47.9 KiB)  TX bytes:2276 (2.2 KiB)
          Interrupt:17


00:18:0A:00:F1:20:/#
!!!!! reading /tmp/upgrade-progress failed: No such file or directory
cd tmp
00:18:0A:00:F1:20:~# ls
brain_state              fcgi_sock                mtunnel_state
config.new                harvest_interval          udhcpc.wired1.configured
current_channel          lighttpd.user            var
00:18:0A:00:F1:20:~# cd var
00:18:0A:00:F1:20:~/var# ls
log  run
00:18:0A:00:F1:20:~/var# cd ..
00:18:0A:00:F1:20:~# ls
brain_state              fcgi_sock                mtunnel_state
config.new                harvest_interval          udhcpc.wired1.configured
current_channel          lighttpd.user            var
00:18:0A:00:F1:20:~# cat current_channel
1
00:18:0A:00:F1:20:~# chatter: expensive Packet::push; have 16 wanted 58
chatter: expensive Packet::push; have 16 wanted 58
chatter: expensive Packet::push; have 32 wanted 58
chatter: expensive Packet::push; have 16 wanted 58
chatter: expensive Packet::push; have 32 wanted 58


Wiki page for RB133  
Wiki page for RB133  
http://wiki.openwrt.org/doku.php?id=oldwiki:openwrtdocs:hardware:mikrotik:rb100
http://wiki.openwrt.org/doku.php?id=oldwiki:openwrtdocs:hardware:mikrotik:rb100

Revision as of 21:19, 13 July 2016

See also: Sparky

Manual: http://www.routerboard.sk/files/pdf/rb133&133c_manual.pdf

Note: The following references boards that have a meraki flashed NAND.


power

The board has a non-standard PoE option, there is also a barrel connector that supports 9-28V DC tip positive supply


www

Connecting the first ethernet port (has PoE sticker) to a DHCP enabled network will allow access to some meraki web pages. Browse to the IP to see these pages.

  • index.cgi
  • advanced.html
  • configure/index.cgi

Some pages are password protected. The username is 'admin' and the password is the serial number. The serial number can be obtained via the serial terminal using 'cat /MERAKI_SERIAL'


serial boot output

CuteCom was used to get the following via Serial Console http://cutecom.sourceforge.net/

BusyBox v1.1.0 (2007.09.21-01:28+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

http://meraki.com/

Welcome to your Meraki device.  Please look for developer information at
http://meraki.com.  We would like to encourage you to play with this
platform and add your own features to it.  However, our lawyers
require us to tell you that much of the software on this device is
protected by copyrights, and may not be redistributed or sold.

Like hacking on wireless stuff?  Come work with us!  jobs@meraki.com

Happy Hacking!
00:18:0A:00:F0:DC:/# help

Built-in commands:
-------------------
\0x09. : alias bg break cd chdir command continue eval exec exit export
\0x09false fg getopts hash help jobs kill let local pwd read readonly
\0x09return set shift times trap true type ulimit umask unalias unset
\0x09wait

reboot command, followed by any key to enter setup


00:18:0A:00:F0:DC:/# reboot
00:18:0A:00:F0:DC:/# adm5120_wdt_release: release

The system is going down NOW !!

Sending SIGTERM to all processes.

Sending SIGKILL to all processes.

Please stand by while rebooting the system.
Restarting s\0xf9

RouterBOOT booter 2.7

RouterBoard 133

CPU frequency: 175 MHz
  Memory size:  32 MB

Press any key within 2 seconds to enter setup.

RouterBOOT-2.7
What do you want to configure?
   d - boot delay
   k - boot key
   s - serial console
   o - boot device
   u - cpu mode
   r - reset configuration
   e - format nand
   g - upgrade firmware
   i - board info
   p - boot protocol
   t - do memory testing
   x - exit setup
your choice: 


more console out

RouterBOOT booter 2.7

RouterBoard 133

CPU frequency: 175 MHz
  Memory size:  32 MB

Press any key within 2 seconds to enter setup..
loading kernel from nand... OK
setting up elf image... OK
jumping to kernel code
mem_detect: disable buffers for both banks
mem_detect: checking for 64MB chip in 1st bank
mem_detect: write 0xAAAAAAAA to 0xA0000000
mem_detect: delay 10000 ns
mem_detect: pattern at 0xA1000000 is 0x55555555
mem_detect: write 0xAAAAAAAA to 0xA0000000
mem_detect: delay 10000 ns
mem_detect: pattern at 0xA2000000 is 0x55555555
mem_detect: chip size in 1st bank is 64MB
mem_detect: enable buffers for both banks
mem_detect: 1x64MB memory found
<6>ADM5120 revision 8, running at 175MHz
<6>Boot loader is: RouterBOOT
<6>Booted from   : NAND flash
<6>Board is      : RouterBOARD 133
<6>Memory size   : 32MB
done meminit
Linux version 2.6.16.16 (xyu@xyu-dev) (gcc version 3.4.6 (OpenWrt-2.0)) #14 Wed Sep 26 18:49:21 PDT 2007
ADM5120 board setup
CPU revision is: 0001800b
Determined physical RAM map:
 memory: 013d1000 @ 00c2f000 (usable)
Built 1 zonelists
Kernel command line: console=ttyS0,115200 rootfstype=squashfs,yaffs2,jffs2 init=/etc/preinit
Primary instruction cache 8kB, physically tagged, 2-way, linesize 16 bytes.
Primary data cache 8kB, 2-way, linesize 16 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).
PID hash table entries: 256 (order: 8, 4096 bytes)
Using 87.500 MHz high precision timer.
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 19960k/20292k available (2336k kernel code, 316k reserved, 447k data, 9544k init, 0k highmem)
Mount-cache hash table entries: 512
Checking for 'wait' instruction...  available.
unpacking initramfs....done
NET: Registered protocol family 16
adm5120: system has PCI BIOS
usbcore: registered new driver usbfs
usbcore: registered new driver hub
Algorithmics/MIPS FPU Emulator v1.5
PCI: slot number 0 is not supported
PCI: mapping irq for 0000:00:02.0 pin:1, irq:15
yaffs Sep 20 2007 18:44:25 Installing. 
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
watchdog hb: 90  WDOG0: 0xa32806dd  WDOG1: 0x7fff06de
adm5120_wdt_init using heartbeat 90 s cycles 9000
watchdog hb: 90  WDOG0: 0xa3280000  WDOG1: 0x7fff0000
ttyS0 at I/O 0x12600000 (irq = 9) is a ADM5120
ttyS1 at I/O 0x12800000 (irq = 10) is a ADM5120
eth0: ADM5120 switch port0
eth1: ADM5120 switch port1
eth2: ADM5120 switch port2
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
RB1xx nand
NAND device: Manufacturer ID: 0xad, Chip ID: 0x76 (Hynix NAND 64MiB 3,3V 8-bit)
Scanning device for bad blocks
Creating 4 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00000000-0x00400000 : "/bootpart"
0x00400000-0x00800000 : "/storage"
0x00800000-0x00810000 : "paniclog"
0x00810000-0x04000000 : "extra"
usbmon: debugfs is not available
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
IP route cache hash table entries: 512 (order: -1, 2048 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
ip_conntrack version 2.4 (256 buckets, 2048 max) - 232 bytes per conntrack
ip_conntrack_pptp version 3.1 loaded
ip_nat_pptp version 3.0 loaded
ip_tables: (C) 2000-2006 Netfilter Core Team
ClusterIP Version 0.8 loaded successfully
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Bridge firewalling registered
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
Freeing unused kernel memory: 9544k freed
init started:  BusyBox v1.1.0 (2007.09.21-01:28+0000) multi-call binary

Please press Enter to activate this console. yaffs: dev is 32505856 name is "mtdblock0"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.0, "mtdblock0"
yaffs: auto selecting yaffs1
yaffs: dev is 32505857 name is "mtdblock1"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.1, "mtdblock1"
yaffs: auto selecting yaffs1
adm5120_wdt: starting watchdog w/timeout 90 seconds
watchdog hb: 90  WDOG0: 0xa328028c  WDOG1: 0x7fff028c
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413, REGOPS_FUNC)
wlan: 0.8.4.2 (svn 10828)
ath_rate_sample: 1.2 (svn 10828)
ath_pci: 0.9.4.5 (svn 10828)
PCI: Enabling device 0000:00:02.0 (0000 -> 0002)
wifi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
wifi0: mac 10.4 phy 6.1 radio 6.3
wifi0: Use hw queue 1 for WME_AC_BE traffic
wifi0: Use hw queue 0 for WME_AC_BK traffic
wifi0: Use hw queue 2 for WME_AC_VI traffic
wifi0: Use hw queue 3 for WME_AC_VO traffic
wifi0: Use hw queue 8 for CAB traffic
wifi0: Use hw queue 9 for beacons
couldn't load module 'wlan_scan_sta' (-89)
unable to load wlan_scan_sta
wifi0: Atheros 5212: mem=0x11400000, irq=15
click: starting router thread pid 478 (818d3480)
wlan: mac acl policy registered

!!!!! reading /tmp/mtunnel_state failed: No such file or directory
couldn't load module 'wlan_scan_monitor' (-89)
unable to load wlan_scan_monitor



BusyBox v1.1.0 (2007.09.21-01:28+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

http://meraki.com/

Welcome to your Meraki device.  Please look for developer information at
http://meraki.com.  We would like to encourage you to play with this
platform and add your own features to it.  However, our lawyers
require us to tell you that much of the software on this device is
protected by copyrights, and may not be redistributed or sold.

Like hacking on wireless stuff?  Come work with us!  jobs@meraki.com

Happy Hacking!
00:18:0A:00:F1:7C:/# 



Wiki page for RB133 http://wiki.openwrt.org/doku.php?id=oldwiki:openwrtdocs:hardware:mikrotik:rb100