
CCpilot XM and CrossCore XM - Software guide
Revision: 1.6
Software Guide
Date: Jun 24, 13
www.maximatecc.com
On connecting host (not the target XM device), execute the command below and enter an empty
passphrase when prompted.
~ $ s sh -k ey ge n -t r sa -f x m1 _r sa
Copy (or append) the created
xm1_rsa.pub
file into target XM device as a
/etc/ssh/authorized_keys
-file. Note, this method needs to be done in recovery mode.
Move the
xm1_rsa
file to a usable location (e.g.
~/.ssh/
)
Either configure the id-file into use in
ssh_config
or assign it when executing
ssh
or
scp
.
~ $ s sh - i ~/ .s sh /x m1 _ rs a cc s@ xm -l in ux
8.6.4.
Remote command execution
After password-free login is enabled, any commands can be started remotely without login.
~ $ s sh c cs @x m - li nu x " ls - al / op t/ "
If starting services or background tasks, append "
&
" to command between quotes.
8.6.5.
VNC
The XM device Linux version also has a VNC server enabled, so that the GUI desktop can be
accessed remotely, for instance when using CrossCore XM headless devices.
To access the device via VNC, you will need to use a VCN viewer application and enter the IP
address of the XM device, along with the password when prompted for.
8.7.
Serial Number Broadcast configuration
The XM device Linux version can identify itself over the IP network by sending out its serial
number as a broadcast IP packet. The Serial Number Broadcast (SNB) service is started by default
at device boot-up and will broadcast a specific identification message to the local network every
fifth second. The message send frequency can be modified and the service can be completely
disabled using the configuration file
/opt/etc/ccsnb.conf
. This file does not exist by default. Default
values are used if any value is unset or the file does not exist.
# Se ri al N um be r Br oa d ca st
–
c on fi gu ra ti o n.
# Li ne s be gi nn in g
wi t h ‘# ’ ar e co mm en ts .
Un ne ce ss ar y op ti o ns
c a n be o mi tt ed .
# Me ss ag e se nd i nt er v al i n se co nd s
I N TE RV AL =1 0
# Se rv ic e di sa bl e sw i tc h (D IS AB LE |O FF |0 )
# A CT IV E= DI SA BL E
# Ad va nc ed f ea tu re s o nl y. U se w it h di sc r et io n.
#
# Fi rm wa re -f ie ld i s a ut o di sc ov er ed , bu t c an b e ov er wr it te n .
S t ri ng v al ue
# F IR MW AR E= 1. 0. 0
#
# Un it Ty pe -f ie ld i s T BD , if u ns et ' 0' i s u se d. S tr in g va lu e
# U NI TT YP E= XA