AlertMe Hub - Yes, it's Linux

Extending the system, interesting uses and API twiddling.
wpiman
Posts: 9
Joined: Mon Sep 10, 2012 5:59 pm

Re: AlertMe Hub - Yes, it's Linux

Post by wpiman » Thu Oct 11, 2012 2:52 am

You never know. I imagine they figured if you had access to the hardware, you'd have control of the system anyway.

I got a Lowe's Iris Smarthub made by alert me and I see a 4 pin header on there. Can I just hook the wires directly up from the COM port on a PC? No level translation needed?

I see another header which looks like it goes to the Zigbee Pro chips. I was hoping that maybe there would be a jtag or ice header on there. No such luck.

User avatar
roobarb!
Site Admin
Posts: 193
Joined: Mon Nov 21, 2011 4:56 pm
Location: Manchester, UK
Contact:

Re: AlertMe Hub - Yes, it's Linux

Post by roobarb! » Thu Oct 11, 2012 12:58 pm

wpiman wrote:You never know. I imagine they figured if you had access to the hardware, you'd have control of the system anyway.

I got a Lowe's Iris Smarthub made by alert me and I see a 4 pin header on there. Can I just hook the wires directly up from the COM port on a PC? No level translation needed?

I see another header which looks like it goes to the Zigbee Pro chips. I was hoping that maybe there would be a jtag or ice header on there. No such luck.
Ooh, how'd you get an Iris system? Not sure with regard to that serial port - you might just get away with it. I use a TTL3v3 cable.

Yeah, it's a shame about the root password (in a way). There's a bunch of stuff that's only accessible by root, so I'm guessing that's where the goodies are. There's not much on the base file system.
Alerty - control your AlertMe system with my third-party app for iPhone and iPod Touch. Available on iTunes!

wpiman
Posts: 9
Joined: Mon Sep 10, 2012 5:59 pm

Re: AlertMe Hub - Yes, it's Linux

Post by wpiman » Thu Oct 11, 2012 7:58 pm

There are $99 at Lowes. I live in the United States. The internal circuit board says it is a Alertme.com mini hub v2. 2011.

User avatar
roobarb!
Site Admin
Posts: 193
Joined: Mon Nov 21, 2011 4:56 pm
Location: Manchester, UK
Contact:

Re: AlertMe Hub - Yes, it's Linux

Post by roobarb! » Fri Oct 12, 2012 12:17 am

wpiman wrote:There are $99 at Lowes. I live in the United States. The internal circuit board says it is a Alertme.com mini hub v2. 2011.
Really, $99? Do you get any sensors with that, or is it just the hub unit?
Alerty - control your AlertMe system with my third-party app for iPhone and iPod Touch. Available on iTunes!

wpiman
Posts: 9
Joined: Mon Sep 10, 2012 5:59 pm

Re: AlertMe Hub - Yes, it's Linux

Post by wpiman » Fri Oct 12, 2012 4:31 pm

Just the hub. The sensors are around $20 it appears.

Goto Lowes.com to look.

The hub also has two USB ports on in. Looks like they are USB masters (same interface that is on your PC).

wpiman
Posts: 9
Joined: Mon Sep 10, 2012 5:59 pm

Re: AlertMe Hub - Yes, it's Linux

Post by wpiman » Fri Oct 26, 2012 4:06 am

Ok, so I did this for my Iris hub and got the following.... (same TTL pin order)

At the end, I don't get a login screen. It says ok, and then the terminal appears to put out garbage. I don't know if they change the terminal speed or what--- maybe it goes encrypted or something???!? Any ideas?

----------------------------------------------------------------------------------
ffffffffffCold reset
HubOS v1.20 Copyright (C) AlertMe.com 2012
>
Loading linux...
MD5 checksum & Operator key passed
Loading ramdisk...
MD5 checksum & Operator key passed
Starting linux...
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Linux version 2.6.32.27-svn5552 (ahughes@bobbed2) (gcc version 4.3.5 (Buildroot 2010.11) ) #1 Thu Sep 20 12:46:39 BST 2012
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
CPU: VIVT data cache, VIVT instruction cache
Machine: AlertMe.com Hub CPU Board
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8016
Kernel command line: console=ttyAM0,115200 root=/dev/mtdblock3 rootfstype=yaffs2,ext2
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 8MB 8MB 8MB 8MB = 32MB total
Memory: 26692KB available (3052K code, 360K data, 100K init, 0K highmem)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:120
VIC @fefb0000: id 0x00041190, vendor 0x41
VIC @fefc0000: id 0x00041190, vendor 0x41
allocated 327680 bytes of page_cgroup
please try 'cgroup_disable=memory' option if you don't want memory cgroups
Calibrating delay loop... 99.73 BogoMIPS (lpj=498688)
Mount-cache hash table entries: 512
Initializing cgroup subsys ns
Initializing cgroup subsys cpuacct
Initializing cgroup subsys memory
Initializing cgroup subsys devices
Initializing cgroup subsys freezer
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
AlertMe hub PCB revision 6
AMEHUB: disabling spiflash enable
******** GPIO11 enabledSetting modem fudge...
ep93xx: PLL1 running at 400 MHz, PLL2 at 192 MHz
ep93xx: FCLK 200 MHz, HCLK 100 MHz, PCLK 50 MHz
M2P DMA subsystem initialized
Serial: AMBA PL011 UART driver
bio: create slab <bio-0> at 0
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
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
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (no cpio magic); looks like an initrd
Freeing initrd memory: 2048K
Hub Upgrade driver version 1.0
Generic SSP Support version 0.1
EP93xx M2M driver version 0.01
EP93xx CPU frequency driver version 0.01
EP93xx DMA-SSP driver version 0,01 loading
EP93xx DMA-SSP driver version 0,01 running
Alertme Hub spiflash driver registering
SPI Flash driver: Registered ssp slave interface
SST25VF010A id: BF 49
Alertme Hub spiflash driver version 0,01 running
Alertme Hub EM260 driver registering
Ember EM260 Driver, Copyright (C) 2007 AlertMe.com
Implementation by Mynah-Software Ltd.
EM260 driver startup ... em260 driver installed successfully.
amehub-swpwm registering
ep93xx software pwm driver starting
ep93xx-adc version 0.1 loading
ADC driver version 0.2
audit: initializing netlink socket (disabled)
type=2000 audit(0.629:1): initialized
msgmni has been set to 56
alg: No test for cipher_null (cipher_null-generic)
alg: No test for ecb(cipher_null) (ecb-cipher_null)
alg: No test for digest_null (digest_null-generic)
alg: No test for compress_null (compress_null-generic)
alg: No test for stdrng (krng)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: AMBA driver
apb:uart1: ttyAM0 at MMIO 0x808c0000 (irq = 52) is a AMBA
console [ttyAM0] enabled
apb:uart2: ttyAM1 at MMIO 0x808d0000 (irq = 54) is a AMBA
apb:uart3: ttyAM2 at MMIO 0x808e0000 (irq = 55) is a AMBA
brd: module loaded
NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 70 at 0x0000008c0000
Bad eraseblock 179 at 0x000001660000
Bad eraseblock 457 at 0x000003920000
Bad eraseblock 665 at 0x000005320000
6 amenandfs partitions found on MTD device NAND 128MiB 3,3V 8-bit
Creating 6 MTD partitions on "NAND 128MiB 3,3V 8-bit":
0x000000000000-0x000008000000 : "whole-flash"
0x000000020000-0x000000220000 : "zImage"
0x000000220000-0x000000420000 : "ramdisk"
0x000000420000-0x000002420000 : "root"
0x000002420000-0x000007e00000 : "download"
0x000007e00000-0x000008000000 : "persistent"
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
PPP MPPE Compression module registered
ep93xx-eth version 0.1 loading
eth0: ep93xx on-chip ethernet, IRQ 39, 00:1c:2b:02:90:4c.
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ep93xx-ohci ep93xx-ohci: EP93xx OHCI
ep93xx-ohci ep93xx-ohci: new USB bus registered, assigned bus number 1
ep93xx-ohci ep93xx-ohci: irq 56, io mem 0x80020000
usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EP93xx OHCI
usb usb1: Manufacturer: Linux 2.6.32.27-svn5552 ohci_hcd
usb usb1: SerialNumber: ep93xx
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
usbcore: registered new interface driver usbserial
usbserial: USB Serial Driver core
USB Serial support registered for cp210x
usbcore: registered new interface driver cp210x
cp210x: v0.09:Silicon Labs CP210x RS232 serial adaptor driver
Advanced Linux Sound Architecture Driver Version 1.0.21.
No device for DAI WM8510 HiFi
No device for DAI ep93xx-i2s
WM8510 Audio Codec 0.6
asoc: WM8510 HiFi <-> ep93xx-i2s mapping ok
ALSA device list:
#0: amehub-wm8510 (WM8510)
TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
RAMDISK: gzip image found at block 0
yaffs: dev is 1048576 name is "ram0" rw
yaffs: passed flags ""
VFS: Mounted root (ext2 filesystem) on device 1:0.

Simple initrd is active

Attempting to mount /dev/mtdblock3
yaffs: dev is 32505859 name is "mtdblock3" rw
yaffs: passed flags ""
Filesystem found on /dev/mtdblock3 - passing control...
yaffs: dev is 32505859 name is "mtdblock3" rw
yaffs: passed flags ""
VFS: Mounted root (yaffs2 filesystem) on device 31:3.
Trying to move old root to /initrd ... okay
Freeing init memory: 100K
yaffs: dev is 32505860 name is "mtdblock4" rw
yaffs: passed flags ""
Creating dynamic devices
HW: Jupiter Hub
Initializing random number generator... done.
Starting portmap: done
Setting up persistent filesystem
Attempting to mount /persistent
yaffs: dev is 32505861 name is "mtdblock5" rw
yaffs: passed flags ""
Starting network...
Start connectd...
OK
fþ`àfxf~`fø~æ~~`æ~xþxføfxæø`æø?`æøffffxff~ffæøfføfxx???xþ~?ffffxøàfàfx?øþ`fxføþæøþfxæàæøæøf~ø~~þàf~à`føø~f~~ffææøfxf`æ~øfxæþfx?øàøf`øfx~þø?`fxxffxfxøfxàfxøþfàæf`æø~àffffxøøfx`f~ø~þfxæf~æàfxæøf?

wpiman
Posts: 9
Joined: Mon Sep 10, 2012 5:59 pm

Re: AlertMe Hub - Yes, it's Linux

Post by wpiman » Fri Oct 26, 2012 4:26 am

Ok- I think I managed to get to some screen.. No password prompt. I connected to the serial port after all the crap on the screen.

I can't see what I am typing, but here is me typing help... and some of the commands I see... I try a few. Most say

----------------------------------------

Fault Bad args
>
Fault Bad args
>
Fault Bad cmd
>
Fault Bad cmd
>
Fault Bad args
>
Fault Bad cmd
>
configure
debug
dump
verifyApp
trashApp
fixFlash
gcw
halt
help
hubInfo
info
bootApp
linux
reset
show
upgrade
newupgrade
endupgrade
wait
write
visonic
zwavetest
delay
dhcp
ping
test
soak
visonicId
rgb
ledpulse
tcpget
tcpstop
zToken
zPing
stream
tone
channel
usbRegDump
usbEnable
usbDisable
> (I type command here)
hubOsCmd : linux
linuxCmd : console=ttyAM0,115200 root=/dev/mtdblock3 rootfstype=yaffs2,ext2
appSvr1 : hubserver.irissmarthome.com:443
authSvr : auth.irissmarthome.com:443
imgSvr1 : imgserver.irissmarthome.com:443
imgSvr2 :
tstSvr1 : imgserver.irissmarthome.com:443
tstSvr2 :
deployId : 2
built :
ssh : off
macAddr : 00:1C:2B:02:90:4C
ipAddr : 0.0.0.0 (auto)
spiKeys : good keys
> (I type ping)
Pong from 00:1C:2B:02:90:4C
>
Pong from 00:1C:2B:02:90:4C
>
Fault Bad args
>
Fault Bad args

>
Pong from 00:1C:2B:02:90:4C
>
Pong from 00:1C:2B:02:90:4C
>
Fault Bad args
>
Fault Bad args
>
>
[ZigBee] Channel 18
>
[TEST] 1 Inf(RemoteRSSI N/A)
[TEST] 2 Inf(LocalRSSI N/A)
>
Fault Bad cmd
>
Fault Bad args
>
>
>
>
>
>
HubInfo:Type 0,Mk 6,Name JupiterHub,HubOS v1.20,HubOSCrc 8DE650CHubApp v3.2r36,MAC 00:1C:2B:02:90:4C,CPUID 924DD47E,HubServer hubserver.irissmarthome.com:443,AuthServer auth.irissmarthome.com:443,ImgServer1 imgserver.irissmarthome.com:443,ImgServer2 ,IP 0.0.0.0 (auto),EUI64 000D6F0001A015AA
>
Fault Bad cmd
>
Fault Bad cmd
>
Fault Bad cmd
>
Fault Bad cmd
>
Fault Bad cmd
>
Fault Bad cmd
>
Fault Bad args
>
Fault Bad args
>
Fault Bad args
>
>
[TEST] 3 Inf(NewChan 1)
Fault [EZSP] Failed to set channel
>
>
Fault Bad args

I then did help command for all the commands


dump <start>[ <end>] - Displays memory between <start> and <end>
>
verifyApp
>
Fault Bad args
>
trashApp
>
gcw [1:0] - Alter or show bit. 1 will turn the board off if running from battery
>
halt Deprecated - please use 'wait'
>
Fault Bad args
>
hubInfo No args. Just displays info for hub
>
info <immutable>|all - Displays <immutable> or all immutables
>
BootROM : HubOS v1.20
procId : 924DD47E
pcbRev : 6
mains : 5500mV
nandId : ECF1
devcaps.modem : absent
devcaps.battery : unknown
ethPHY : SMSC LAN8700 rev 4
ethLink : down
IP addr : 0.0.0.0 (auto)
RAM : 32MB
EM260Id : 000D6F0001A015AA
EZSPstack : v3.4.22
ZigBeeDev : EM260
USB : Removed
>
bootApp Loads (and runs) app from flash
>
linux Deprecated - please use 'bootApp'
>
reset [em260] Resets EP9302 by default, or EM260 if specified
>
upgrade Upgrade SPI flash
>
newupgrade experimental Upgrade SPI flash
>
endupgrade end ethernet upgrade download
>
wait Stop booting application
>
write <addr> <val>|<string> - Writes <val> or <string> to <addr>, in hex
>
visonic <enable>
>
zwavetest test zwave board
>
delay <ms>
>
dhcp Request an IP address via DHCP
>
ping (Remote command for testing)
>
test board|cased|modem
>
soak radio|ping
>
visonicId <sirenId>
>
rgb <r> <g> <b> All values 0-255
>
Fault Bad cmd
>
ledpulse <r1> <g1> <b1> <r2> <g2> <b2> <period (ms)>
>
tcpget tcpget [<url>] [<filename>] - Fetches an upgrade image via TCP
>
tcpstop tcpstop - Stops the current TCP transfer
>
zToken <MfgTokenId> - Display value of token from EM260
>
zPing [<dbm>] - Ping Comms Node
>
stream <channel> <dBm> - Turns streaming on, using channel and power (in dBm)
>
channel [<channel>]
>
usbRegDump
>
usbEnable Initialises the USB hardware
>
usbDisable Shuts down the USB hardware

sorphin
Posts: 7
Joined: Sun Nov 11, 2012 6:29 am

Re: AlertMe Hub - Yes, it's Linux

Post by sorphin » Sun Nov 11, 2012 6:31 am

I just started messing with the Iris Hub, and have some progress to report. I'm on the console as wpiman was. I've found the configure command in 'hubos', which is -before- linux boots, allows you to change things, so i've suspended boot with 'wait', then used 'configure' to turn on SSH (and confirmed it is turned on after boot), and i've changed the linuxCMD line to break me into a busybox shell (which it did). I'm going to do some poking around now to see what I can find. I will report anything I find here.

Update #1:

in /bin there is a program called 'config', which outputs:

Code: Select all

spiflash.cafile=-----BEGIN CERTIFICATE-----                                                                                                                                             
MIICgTCCAeoCAQAwDQYJKoZIhvcNAQEEBQAwgYgxCzAJBgNVBAYTAlVTMR0wGwYD                                                                                                                        
VQQDExRjYS5pcmlzc21hcnRob21lLmNvbTEUMBIGA1UEBxMLTW9vcmVzdmlsbGUx                                                                                                                        
HjAcBgNVBAoTFUxvd2UncyBDb21wYW5pZXMgSW5jLjEXMBUGA1UECBMOTm9ydGgg                                                                                                                        
Q2Fyb2xpbmExCzAJBgNVBAsTAklUMB4XDTEyMDYxNTE4MTgwMFoXDTMyMDYxMDE4                                                                                                                        
MTgwMFowgYgxCzAJBgNVBAYTAlVTMR0wGwYDVQQDExRjYS5pcmlzc21hcnRob21l                                                                                                                        
LmNvbTEUMBIGA1UEBxMLTW9vcmVzdmlsbGUxHjAcBgNVBAoTFUxvd2UncyBDb21w                                                                                                                        
YW5pZXMgSW5jLjEXMBUGA1UECBMOTm9ydGggQ2Fyb2xpbmExCzAJBgNVBAsTAklU                                                                                                                        
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDrpJDUEh2LzgvRBEZZ53G6J0Oc                                                                                                                        
Kgn7YyhWuU9bKgDwRipWpgiRyjX/2vD90D9LsGjTZU9/vAr5GVw6a9v2S9KyZxd0                                                                                                                        
r6WvUie16aP1qsQKmQiy2PjHOjU5Eo6HbZtCQoQuKtfkY6vvAUm+DpxmLlPim8tb                                                                                                                        
zpcrJoNqyCSd0FJCLQIDAQABMA0GCSqGSIb3DQEBBAUAA4GBAOc6O/ibxOKJ2P7r                                                                                                                        
oEFlh5aWMN68JAZs/+hlK6x2wERqkHn2VNTyOeUrYTcml2sOhvjlX6JvhigaAQgo                                                                                                                        
0AHTyaBAvh5O9qGhlkUWAVtGQFRc+R+3zBR20Z7ZCPywnUuRrXNKNbApJXAxDwHQ                                                                                                                        
rodPClxj0RM11u10dpq16DQjnOP4                                                                                                                                                            
-----END CERTIFICATE-----                                                                                                                                                               
spiflash.master_key=RSAKeyPublic                                                                                                                                                        
spiflash.operator_key=RSAKeyPublic                                                                                                                                                      
spiflash.macaddress=00:1c:2b:02:6f:33                                                                                                                                                   
spiflash.ipaddress=0.0.0.0                                                                                                                                                              
spiflash.phonenum=                                                                                                                                                                      
spiflash.deployment_index=2                                                                                                                                                             
spiflash.appsvr1url=hubserver.irissmarthome.com:443                                                                                                                                     
spiflash.appsvr2url=auth.irissmarthome.com:443                                                                                                                                          
spiflash.imgsvr1url=imgserver.irissmarthome.com:443                                                                                                                                     
spiflash.imgsvr2url=                                                                                                                                                                    
spiflash.tstsvr1url=imgserver.irissmarthome.com:443                                                                                                                                     
spiflash.tstsvr2url=                                                                                                                                                                    
spiflash.ssh=1                                                                                                                                                                          
spiflash.hubsvrurl=hubserver.irissmarthome.com:443                                                                                                                                      
spiflash.authsvrurl=auth.irissmarthome.com:443                                                                                                                                          
spiflash.imgsvrurl=imgserver.irissmarthome.com:443                                                                                                                                      
So it dumps out the same public key you can query from the hub's 'webserver' and allows you to change certain things just like you can in the 'hubos' bootloader. The hub appears to have 'scp' on it, so i'm going to pull off some files for offline analysis.

I've also found 'hubapp' under /usr/bin, which by my guess is the main 'hub' process. I will continue to report any more findings (if anyone's interested).

In reference to the 'garbage' after boot. it appears that 'starting connectd', is referring to a having a modem connected to the serial port or similar.

I have access to the /etc/passwd and /etc/shadow file it would appear. I'll pull the file(s) offline to see if 'john the ripper' can have any fun with it.

I also found, that if it 'bricks' itself, the bootloader will download a new image from the imgserver and flash it and attempt to repair itself.

I edited the boot scripts so that it doesn't load connectd, and there's no garbage, so now i can watch the console..

I've successfully enabled SSH, as well as having a shell loaded and changed the root password, and have the 'alertme' hub process running... here's the output from it's log file:

Code: Select all

/etc/init.d # cat /tmp/logging.0.log                                                                                                                                                    
                                                                                                                                                                                        
PicOS v0.19 Copyright (C) AlertMe.com 2007-11                                                                                                                                           
Reset reason: NONE                                                                                                                                                                      
1970-01-01 00:00:00 :Error [NET] Failed to connect to connectivity server 2                                                                                                             
> 1970-01-01 00:00:00 :[GENERIC] System LED status changed to 2, 2, 1                                                                                                                   
Link up                                                                                                                                                                                 
Hub Application v3.3r8                                                                                                                                                                  
OS Version 0.19 - require 0.19                                                                                                                                                          
1970-01-01 00:00:05 :[NET] Verbose off                                                                                                                                                  
Reading CAFile /persistent/CAfile.pem                                                                                                                                                   
1970-01-01 00:00:05 :Error [GENERIC] Failed to read /persistent/CAfile.pem                                                                                                              
                                                                                                                                                                                        
Reading CAFile from SPI Flash                                                                                                                                                           
p_not_before = 4FDA2AD8                                                                                                                                                                 
p_not_before = 509DF535                                                                                                                                                                 
1970-01-01 00:00:05 :[GENERIC] Authorised                                                                                                                                               
1970-01-01 00:00:05 :[GENERIC] Auth veri                                                                                                                                                
1970-01-01 00:00:05 :[GENERIC] System LED status changed to 3, 2, 3                                                                                                                     
2012-11-10 06:33:26 :[GENERIC] device controller init                                                                                                                                   
2012-11-10 06:33:26 :[ZC] EZSP protocol version 2, stack type 2, stack version 3422.                                                                                                    
2012-11-10 06:33:26 :CRITICAL [ZC] EM260 firmware is out of date.  Aborting Zigbee Controller.                                                                                          
2012-11-10 06:33:26 :[ZC] Endpoint: 0x02, profile: 0xC216                                                                                                                               
2012-11-10 06:33:26 :[GENERIC] [VDEV_DBG] vdev init                                                                                                                                     
2012-11-10 06:33:26 :CRITICAL [ZW] failed to open permanent store                                                                                                                       
2012-11-10 06:33:26 :[GENERIC] BluelinePowerSensorInit                                                                                                                                  
2012-11-10 06:33:26 :[ZC] Network up                                                                                                                                                    
2012-11-10 06:33:26 :[ZC]   Radio channel = 25                                                                                                                                          
2012-11-10 06:33:26 :[ZC]   PAN Id = EABA                                                                                                                                               
2012-11-10 06:33:26 :[ZC]   TX Pow = 0                                                                                                                                                  
2012-11-10 06:33:26 :[ZC] TCL:                                                                                                                                                          
2012-11-10 06:33:26 :[GENERIC] DUMP 16                                                                                                                                                  
5A 69 67 42 65 65 41 6C  6C 69 61 6E 63 65 30 39                                                                                                                                        
2012-11-10 06:33:26 :[ZC] NWK:                                                                                                                                                          
2012-11-10 06:33:26 :[GENERIC] DUMP 16                                                                                                                                                  
BC 78 99 5B D4 C1 89 12  24 43 8D 73 8F 77 87 6C                                                                                                                                        
2012-11-10 06:33:27 :[HUBAPP] Connecting to hub server                                                                                                                                  
2012-11-10 06:33:27 :Error [NET] Failed to connect to connectivity server 2                                                                                                             
2012-11-10 06:33:27 :[GENERIC] CAM: Admin password emw5Y0o3eFNaa0J4bVJjcWRHQmdwSlVxUUJpdG5vMDpjTngzVXVxbEhPbTIxMVNmVllnekJwSnI1TE9veTJjT0RQSFk3eDlFQWw0MWFNV3ZpMWtqZ3NQYTNkQ3BUZjM=     
2012-11-10 06:33:27 :[GENERIC] CAM: Notify password V3M5c3F1cnN1UW5scng2YVd4QjNScklwa2pzTjBMRTpOMUQ1aHlsT2kxeklnbUM3Nng2MEVuNnVMZWFZVWpjZmFlYjZTQUt5MTc0V2o2UmV0TlN3eU9nOXE0VjlidmU=    
p_not_before = 4FDA2AD8                                                                                                                                                                 
2012-11-10 06:33:27 :[GENERIC] CAM: Running                                                                                                                                             
2012-11-10 06:33:27 :[NET] Connected                                                                                                                                                    
p_not_before = 4FDA33E1                                                                                                                                                                 
p_not_before = 4FDA2AD8                                                                                                                                                                 
2012-11-10 06:33:27 :[GENERIC] PUBLIC KEY MEM 0                                                                                                                                         
2012-11-10 06:33:27 :[ZW] SAPI: Power up                                                                                                                                                
2012-11-10 06:33:28 :Error [ZW] SAPI: Received unknown byte in idle state - 3F                                                                                                          
2012-11-10 06:33:28 :[ZW] Get random: Started                                                                                                                                           
2012-11-10 06:33:28 :Error [ZW] SAPI: Received unknown byte in idle state - 6E                                                                                                          
2012-11-10 06:33:28 :[ZW] Get random: Tx complete                                                                                                                                       
2012-11-10 06:33:28 :[ZW] Get random: Response 1 26                                                                                                                                     
2012-11-10 06:33:28 :[ZW] Initialising Security Layer...                                                                                                                                
2012-11-10 06:33:28 :[ZW] Z-Wave network is secure                                                                                                                                      
2012-11-10 06:33:28 :[ZW] Set Node Info: Started                                                                                                                                        
2012-11-10 06:33:28 :[ZW] Set Node Info: Tx complete                                                                                                                                    
2012-11-10 06:33:28 :[ZW] Get network details: Started                                                                                                                                  
2012-11-10 06:33:28 :[ZW] Get network details: Home: F194746D    Controller: 1                                                                                                          
2012-11-10 06:33:28 :[ZW] API: Z-Wave 3.34                                                                                                                                              
2012-11-10 06:33:28 :[GENERIC] PRIV KEY 0                                                                                                                                               
2012-11-10 06:33:28 :[HUBAPP] Hub server connected                                                                                                                                      
2012-11-10 06:33:28 :[GENERIC] System LED status changed to 1, 2, 3                                                                                                                     
2012-11-10 06:33:28 :[HUBAPP] Sending hubserver ping message.                                                                                                                           
2012-11-10 06:33:28 :[HUBAPP]   |- Power on mains.                                                                                                                                      
2012-11-10 06:33:28 :[HUBAPP]   |- Hubversion 3.3r8.                                                                                                                                    
2012-11-10 06:33:28 :[HUBAPP]   |- AMNET Protocol version 4.                                                                                                                            
2012-11-10 06:33:28 :[HUBAPP]   |- PCB Rev: 6.                                                                                                                                          
2012-11-10 06:33:28 :[HUBAPP]   |- Has battery: Unknown                                                                                                                                 
2012-11-10 06:33:28 :[HUBAPP]   |- RAM: 32768K                                                                                                                                          
2012-11-10 06:33:29 :[GENERIC] System LED status changed to 3, 2, 3                                                                                                                     
2012-11-10 06:33:29 :[GENERIC] Disconnected. Reason 0                                                                                                                                   
2012-11-10 06:33:29 :[HUBAPP] Hub server disconnected                                                                                                                                   
2012-11-10 06:33:45 :[HUBAPP] Connecting to hub server                                                                                                                                  
2012-11-10 06:33:45 :Error [NET] Failed to connect to connectivity server 2                                                                                                             
2012-11-10 06:33:45 :[NET] Connected                                                                                                                                                    
2012-11-10 06:33:45 :[GENERIC] Failed to connect to hubserver.                                                                                                                          
2012-11-10 06:34:02 :[HUBAPP] Connecting to hub server                                                                                                                                  
2012-11-10 06:34:02 :Error [NET] Failed to connect to connectivity server 2                                                                                                             
2012-11-10 06:34:02 :[NET] Connected                                                                                                                                                    
p_not_before = 4FDA33E1                                                                                                                                                                 
p_not_before = 4FDA2AD8                                                                                                                                                                 
2012-11-10 06:34:02 :[GENERIC] PUBLIC KEY MEM 0                                                                                                                                         
2012-11-10 06:34:03 :[GENERIC] PRIV KEY 0                                                                                                                                               
2012-11-10 06:34:03 :[HUBAPP] Hub server connected                                                                                                                                      
2012-11-10 06:34:03 :[GENERIC] System LED status changed to 1, 2, 3                                                                                                                     
2012-11-10 06:34:03 :[HUBAPP] Sending hubserver ping message.                                                                                                                           
2012-11-10 06:34:03 :[HUBAPP]   |- Power on mains.                                                                                                                                      
2012-11-10 06:34:03 :[HUBAPP]   |- Hubversion 3.3r8.                                                                                                                                    
2012-11-10 06:34:03 :[HUBAPP]   |- AMNET Protocol version 4.                                                                                                                            
2012-11-10 06:34:03 :[HUBAPP]   |- PCB Rev: 6.                                                                                                                                          
2012-11-10 06:34:03 :[HUBAPP]   |- Has battery: Unknown                                                                                                                                 
2012-11-10 06:34:03 :[HUBAPP]   |- RAM: 32768K                                                                                                                                          
2012-11-10 06:34:03 :[GENERIC] System LED status changed to 3, 2, 3                                                                                                                     
2012-11-10 06:34:03 :[GENERIC] Disconnected. Reason 0                                                                                                                                   
2012-11-10 06:34:03 :[HUBAPP] Hub server disconnected
Once digging a bit more.. i found some files in a directory called /persistent:

Code: Select all

-rw-r--r--    1 root     root            97 Nov 10 06:33 camera_admin.txt
-rw-r--r--    1 root     root           928 Jun 14 18:18 camera_certificate.pem
-rw-r--r--    1 root     root            97 Nov 10 06:33 camera_notify_credentials.txt
-rw-r--r--    1 root     root           887 Jun 14 18:18 camera_privatekey.pem
-rw-r--r--    1 root     root           973 Jun 14 18:56 clientcert.pem
-rw-r--r--    1 root     root           887 Jun 14 18:56 clientkey.pem
drwx------    1 root     root          2048 Jan  1  1970 lost+found
-rw-r--r--    1 root     root             0 Nov 10 06:33 networkFormed
-rw-r--r--    1 root     root            16 Nov 10 06:33 secureZWaveKey
-rw-r--r--    1 root     root             1 Jan  1  1970 verbose_logging
Which appear to be the magic 'keys'.. so i can finally have access to my RC8221 camera possibly.

User avatar
roobarb!
Site Admin
Posts: 193
Joined: Mon Nov 21, 2011 4:56 pm
Location: Manchester, UK
Contact:

Re: AlertMe Hub - Yes, it's Linux

Post by roobarb! » Sun Nov 11, 2012 9:00 am

Wow - interesting stuff! How did you get access before the OS fires up? On the original hub it very quickly dives into launching Linux, so I've never been able to turn on SSH or get root access.
Alerty - control your AlertMe system with my third-party app for iPhone and iPod Touch. Available on iTunes!

sorphin
Posts: 7
Joined: Sun Nov 11, 2012 6:29 am

Re: AlertMe Hub - Yes, it's Linux

Post by sorphin » Sun Nov 11, 2012 9:43 am

At the:
HubOS v1.20 Copyright (C) AlertMe.com 2012
>

prompt

type 'wait' and hit enter. It'll stop it from autobooting for that session.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest