RehrigPacific-4.3-fido

From VentureResearchWiki
Jump to navigation Jump to search

Rehrig Pacific Configuration - Single Antenna Unit GEN3[edit | edit source]

Before System Test[edit | edit source]

Customer Specific Configuration[edit | edit source]

  • Check modem device
nmcli dev
  • For units with Verizon USB Modems
wget http://readonly:secret@svn.crm.ventureresearch.com/svn/linux/testing/rehrig/rp-secondrun-4.3.sh -O /tmp/rp.sh && bash /tmp/rp.sh
  • For units with Mini-PCIe Modems and Kore SIM Card
wget http://readonly:secret@svn.crm.ventureresearch.com/svn/linux/testing/rehrig/rp-secondrun-4.3-kore.sh -O /tmp/rp.sh && bash /tmp/rp.sh
- Manually force to enable Modem after reboot before VR Hardware Test:
nmcli con up id WWAN &


After PreBox Test[edit | edit source]

If Observation Button Used[edit | edit source]

echo "SET TAGPERSIST 0" | nc localhost 2020 | grep "ACK"
echo "SET TRIGGERTIMEOUT 1000" | nc localhost 2020 | grep "ACK"
echo "SET VRPROTO ENABLED" | nc localhost 2020 | grep "ACK"
echo "SET VRPROTOMODE SERVER" | nc localhost 2020 | grep "ACK"
echo "0 COMMIT" | nc localhost 2020 | grep "ACK"
systemctl restart rfid

If Observation Button with 100K Baud Rate Used[edit | edit source]

  • setup 100K support inside venture-build-info
sed -i '/^vrcan_canbaud=/d' /etc/venture-build-info
echo "vrcan_canbaud=100000" >> /etc/venture-build-info
wget http://readonly:secret@svn.crm.ventureresearch.com/svn/linux/testing/rehrig/can_reset_rehrig.sh -O /home/user/can_reset.sh
  • Apply 100K Baud Rate label to reader
  • Plug in 100K Baud Rate Observation Button
  • Log into Telnet:
nc localhost 2020
  • Reset CAN BUS:
can reset
  • Ensure Observation Button is seen by Reader:
0 get inventory
  • Output should be: 1,VRSN_NUMBER,101,can://501
  • Third section is ComponentID and should be 101
  • If not, change it with:

VRSN_NUMBER set componentid 101

1 commit

0 commit

can rest

  • Verify if changed with:

0 get inventory

  • Hard Reboot Unit (unplug power cable) with Observation Button still plugged in
  • Log into Telnet and verify Observation button is seen and has correct ComponentID:

nc localhost 2020

0 get inventory

  • Press each button and look for input 1, 2, and 3 (1 is closest to LED)
  • Green LED On / Off

set extled aux1 on 10

  • Red LED on

set extled buzzer2 on 10


Disable Observation Button[edit | edit source]

echo "SET VRPROTO DISABLED" | nc localhost 2020 | grep "ACK"

echo "SET VRPROTOMODE DISABLED" | nc localhost 2020 | grep "ACK"

echo "COMMIT" | nc localhost 2020 | grep "ACK"

systemctl restart rfid


Prebox Configuration Included as Part of Customer Specific Configuration (Above)[edit | edit source]

echo "GET APPSTATEENABLED" | nc localhost 2020 | grep "ACK"

echo "GET POWERBASE" | nc localhost 2020 | grep "ACK"

echo "GET TAGPERSIST" | nc localhost 2020 | grep "ACK"

echo "GET TRIGGERTIMEOUT" | nc localhost 2020 | grep "ACK"

echo "commit" | nc localhost 2020 | grep "ACK"

BurnOut Check-In Procedure[edit | edit source]

Setup[edit | edit source]

  1. Plugin Unit on Rugged Reader BurnOut Cart
  2. Plugin Console Cable
  3. Verify there is a 50Ohm Terminator in Antenna Port 2
  4. Place QTY (1) VR Power Sensor over internal antenna 1
  5. SSH into Reader

QC[edit | edit source]

  • Verify Hostname matches PreBox Label and QC Checklist
  • Verify VR Power Sensor is blinking, indicating the Reader is radiating
  • Verify Local Wi-Fi SSID is Disabled

nano /etc/NetworkManager/system-connections/Wi-Fi

  • Remove the letter e from VR_Device
  • Exit and Save changes:

# Press ctrl + x # Press y # Press Enter

  • Set Read/Write Policy:
chmod 600 /etc/NetworkManager/system-connections/Wi-Fi
  • Sync changes (three times)
sync
  • Unplug Unit to Hard Reboot Unit
  • Log back into Unit
  • When Blue LED lights, verify the GSM Modem is connected:
ifconfig
  • Look for ppp0 connection aand verify the IP Address matches the PreBox Test Results Printout and starts with 166

Modem Ping Test[edit | edit source]

  • Ping Google three times:
ping google.com
  • Press ctrl+c to stop the command and check that the majority of pings were successful
  • Request the external Ip Address:
curl http://jsonip.io
  • Check to see if the IP Address returned matches the PreBox Test Results Printout
  • If the above never gives a response, verify the Modem is online by repeating "QC" Step 5

BurnOut[edit | edit source]

  1. Leave units plugged in and with VR Power Sensors blinking for the entire duration of the BurnOut


Optional (Non-Standard Production)[edit | edit source]

WWAN file for Units with Verizon 4G LTE[edit | edit source]

wget http://readonly:secret@svn.crm.ventureresearch.com/svn/linux/src/venture-wwan/WWAN-verizonlte -O /etc/NetworkManager/system-connections/WWAN

WWAN file for Units with Telus SIM Card (Eastern Canada)[edit | edit source]

wget http://readonly:secret@svn.crm.ventureresearch.com/svn/linux/src/venture-wwan/WWAN-telus -O /etc/NetworkManager/system-connections/WWAN

Upgrade Observation Button - In Field Instructions - 100 K Baud[edit | edit source]

  • Copy over FW File
-wget ​http://readonly:secret@svn.crm.ventureresearch.com/svn/linux/testing/rehrig/mini_io_0xa000_1.2.hex -O /home/user/mini_io_0xa000_1.2.hex-
wget http://readonly:secret@svn.crm.ventureresearch.com/svn/linux/testing/rehrig/mini_io_0xa000_1.2_100KBaud.hex -O /home/user/mini_io_0xa000_1.2_100KBaud.hex
  • Install FW Loading Utility
opkg update
opkg install vr-canboot
  • Verify the file
echo 7e869b8e634c071cab7f77bf453ae4eb6fb4f650d90eb6c76c1728dc58f6c170 mini_io_0xa000_1.2_100KBaud.hex | sha256sum -c
  • Run the upgrade process
echo "get inventory" | nc localhost 2020 | grep "can://" | awk -F , '{ print $2 }'
echo "VRSN000017690 RESET" | nc localhost 2020 | grep ";ACK" && sleep 0.5 && vr-canboot -a 17690 -f mini_io_0xa000_1.2_100KBaud.hex
  • Load new CAN Setup files to use 100k instead of 1M speeds
sed -i '/^vrcan_canbaud=/d' /etc/venture-build-info
echo "vrcan_canbaud=100000" >> /etc/venture-build-info
wget http://readonly:secret@svn.crm.ventureresearch.com/svn/linux/testing/rehrig/can_reset_rehrig.sh -O /home/user/can_reset.sh
  • Run the upgrade process

nc localhost 2020

can reset
  • Validate the connection with Observation Button
-- wait for unit to reboot
(echo "GET INVENTORY"; sleep .25) | nc localhost 2020 | grep "[0-9],"