LM-Syracuse

From VentureResearchWiki
Jump to navigation Jump to search

LM-Syracuse In-field Setup[edit | edit source]

For In-field Update Instructions, see LM-Syracuse-infield

LM-Syracuse Setup[edit | edit source]

Programming, Provisioning and Testing[edit | edit source]

Follow these instructions to program the board

AM35 VRReaderImage "danny"

LM-Syracuse specific parameters[edit | edit source]

SET ANTENNA TMMUXABCD-MANUAL
SET POWERBASE 24
SET READTIMEOUT 250
SET SESSIONVAL 1
SET MUX 1 2 3 4
SET TAGMETADATA EPC READCOUNT RSSI ANTENNA
RFID TAGTABLE ENABLED
SET TAGPERSIST 60
SET FILTERTABLE ENABLED
SET APPSTATEENABLED ENABLED
SET SWTAGFILTER 0

SET TRIGGERMODE FORKLIFT
SET TIMEOUT 10000
SET TRIGGERINPUT 1 2
SET HEARTBEAT ENABLED
SET HEARTBEATTIMER 300
SET SERVERURL https://mstappswebdev1.us.lmco.com/RFID/common/VRPostTrans.aspx
SET DBDELIVERY ENABLED
SET ASYNCMETADATA SYS RFID DEVICEID HOSTNAME
  • setup device id if available from Syracuse DB
SET DEVICEID [db deviceid]

Setup db-purge[edit | edit source]

opkg update
opkg install vrfrv2-linux-event-db-purge

Setup logrotate[edit | edit source]

wget http://readonly:secret@svn.crm.ventureresearch.com/svn/linux/testing/vr/syslog.conf -O /etc/syslog.conf
wget http://readonly:secret@svn.crm.ventureresearch.com/svn/linux/testing/vr/syslog.logrotate -O /etc/logrotate.d/syslog
echo "0 0 * * * /usr/sbin/logrotate -v /etc/logrotate.conf" >> /var/spool/cron/root

Setup Timezone and NTP[edit | edit source]

echo America/New_York > /etc/timezone
cp /usr/share/zoneinfo/America/New_York /etc/localtime
  • add Syracuse NTP Server if needed
nano /etc/ntp.conf

Setup HTTPS and certificates[edit | edit source]

opkg install curl libcurl5
opkg install ca-certificates
#wget http://readonly:secret@svn.crm.ventureresearch.com/svn/linux/testing/syracuse/LockheedMartinRootCertificationAuthority.crt -O /usr/share/ca-certificates/LockheedMartinRootCertificationAuthority.crt
echo "LockheedMartinRootCertificationAuthority.crt" >> /etc/ca-certificates.conf
update-ca-certificates
  • test certs on site
curl https://mstappswebdev1.us.lmco.com/

Misc[edit | edit source]

update-rc.d -f openvpn remove