SoliSystems

From VentureResearchWiki
Jump to navigation Jump to search

BOARD SETUP[edit | edit source]

Use VRReader AM35 Danny Installation Instruction[edit | edit source]

VRReader AM35 Danny VRReaderImage

provisioning[edit | edit source]

wget http://readonly:secret@svn.crm.ventureresearch.com/svn/linux/testing/soli/soli-firstrun.sh -O /tmp/soli-firstrun.sh
sh /tmp/soli-firstrun.sh

wget http://readonly:secret@svn.crm.ventureresearch.com/svn/linux/testing/soli/checkReaderCnx_SL.sh -O /home/user/checkReaderCnx_SL.sh
wget http://readonly:secret@svn.crm.ventureresearch.com/svn/linux/testing/soli/checkINETCnx_SL.sh -O /home/user/checkINETCnx_SL.sh
wget http://readonly:secret@svn.crm.ventureresearch.com/svn/linux/testing/soli/BIST_SL.sh -O /home/user/BIS
  • Do the following ONLY for forklift readers
opkg update
opkg upgrade

nc localhost 2020

set petriggerthld 4ft
set an1file /sys/bus/i2c/devices/3-0049/in4_input
set triggerinput 5
set triggerlevel 1 0 0 0 1 0 0 0

commit

kernel update[edit | edit source]

opkg remove kernel-modules
opkg list | grep kernel-module | cut -d ' ' -f 1 | xargs opkg remove --force-removal-of-dependent-packages
opkg update
opkg list | grep kernel-module | cut -d ' ' -f 1 | xargs opkg install
depmod
sync
reboot

vr-setup-gpio update[edit | edit source]

opkg update
opkg upgrade vr-setup-gpio

board testing[edit | edit source]

sh /home/user/BIST_SL.sh VRLAB PROVIS

done with board

wifi[edit | edit source]

opkg install wireless-tools ralink-usb-module wpa-supplicant

Edit vr-setup-gpio file to include analog and wifi section at the end of file

nano /usr/sbin/vr-setup-gpio # ADS1015 analog
if [ ! -f /sys/bus/i2c/devices/3-0049/in4_input ]; then
echo ads1015 0x49 > /sys/bus/i2c/devices/i2c-3/new_device
fi
# silence wireless debug messages
iwpriv ra0 set Debug=0

ctrl+x to save and exit

Edit /etc/network/interfaces to add ra0 section

# Wireless interfaces auto ra0 iface ra0 inet dhcp
wireless_mode managed
wpa-driver wext
wpa-conf /etc/wpa_supplicant.conf

Edit /etc/wpa_supplicant.conf to configure a network scroll down to networks (or scroll up from bottom) change

# Simple case: WPA-PSK, PSK as an ASCII passphrase, allow all valid ciphers
network={
ssid="VentureBridgeExt"        
psk="party101"        
priority=5 
}

Restart networking daemon

/etc/init.d/networking restart

Make sure you get an IP address and can ping out.

ifconfig ra0 
ping -I ra0 google.com

Enable Openvpn[edit | edit source]

update-rc.d openvpn defaults 
/etc/init.d/openvpn start