OperativeIQ-3.5-OM37-danny
Jump to navigation
Jump to search
Operative IQ Setup[edit | edit source]
Programming, Provisioning and Testing[edit | edit source]
Follow these instructions to program the board
OM37 VRReaderImage-OM37 "danny"
Operative IQ specific paramters[edit | edit source]
SET HEARTBEATTIMER 300 SET HEARTBEAT ENABLED
SET READTIMEOUT 250 SET SESSIONVAL 1 SET ANTENNA TMMUXABCD SET MUX 1 2 3 4 SET POWERBASE 30 SET TAGMETADATA EPC READCOUNT RSSI ANTENNA
SET ASYNCOFFTIME 1000 RFID TAGTABLE ENABLED SET TAGPERSIST 120 SET TAGRESEND 3600 SET FILTERTABLE ENABLED
SET READMODE CONT
SET SERVERURL http://management.operativeiq.com/rfidservice/rfid.aspx SET HTTPCONTENTTYPE XML SET DBDELIVERY ENABLED SET ASYNCMETADATA RFID SYS HOSTNAME GPS
SET GPSENABLED ENABLED COMMIT
In Field Upgrades[edit | edit source]
rfid.monit file[edit | edit source]
wget http://readonly:secret@svn.crm.ventureresearch.com/svn/linux/testing/vr/rfid.monit -O /etc/monit.d/rfid.monit /etc/init.d/monit stop /etc/init.d/monit start
VRSC[edit | edit source]
opkg update && opkg upgrade vr-system-controller && opkg upgrade vr-system-controller-web
Logging[edit | edit source]
mkdir /media/mmcblk0p1/log 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.logrotate echo "0 0 * * * /usr/sbin/logrotate -v /etc/logrotate.conf" >> /var/spool/cron/root
/etc/init.d/syslog restart
sed -i 's/^set logfile/# set logfile/g' /etc/monitrc
SNMP[edit | edit source]
sed -i 's/10.19.6.1/172.19.0.1/' /etc/snmp/snmpd.conf /etc/init.d/snmpd restart
VRCM[edit | edit source]
opkg update && opkg install vr-connection-manager
sed -i 's/DAEMONARGS="-P $MODEM_PORT"/DAEMONARGS="-z -v"/' /etc/init.d/vrcm /etc/init.d/vrcm restart
Upgrading RFID Service[edit | edit source]
opkg update && opkg upgrade vrfrv2-linux-event && opkg install vrfrv2-linux-event-dbpurge
WiFi? Driver[edit | edit source]
opkg update opkg remove --force-depends kernel-module-wl1271-sdio opkg remove --force-depends kernel-module-wl1271 opkg remove linux-firmware-wl12xx --force-depends opkg install ti-compat-wireless-wl12xx opkg install wl12xx-firmware
scp venture@172.19.0.1:~/wl127x-nvs.bin /lib/firmware/ti-connectivity/wl127x-nvs.bin
- VERIFY MD5SUM: f1f177cfe14d090e21baa6fee6633477 wl1271-nvs.bin
md5sum /lib/firmware/ti-connectivity/wl127x-nvs.bin
calibrator set nvs_mac /lib/firmware/ti-connectivity/wl127x-nvs.bin ifconfig | grep wlan0 | awk '{ print $5 }'
calibrator get nvs_mac /lib/firmware/ti-connectivity/wl127x-nvs.bin
rm /lib/firmware/ti-connectivity/wl1271-nvs.bin cd /lib/firmware/ti-connectivity/ ln wl127x-nvs.bin wl1271-nvs.bin
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor && reboot
- CHECK NEW VERSION: wl12xx: firmware booted (Rev 6.3.10.0.135)
dmesg | grep "wl12xx: firmware"
Load Operative IQ Python Script[edit | edit source]
scp venture@172.19.0.1:~/operativeiq/py-cron.py /home/user/py-cron.py echo "*/1 * * * * python /home/user/py-cron.py" >> /var/spool/cron/root