FirstRunScript

From VentureResearchWiki
Jump to navigation Jump to search

OLD[edit | edit source]

Do Not Use[edit | edit source]

when it comes up, login as root

!-- do not use SD cards -- This is explicitly kept off the main rootfs since it is on the SD card. However it contains everything in svn/linux/venture-stable-2009/srv. Reboot once again to have everything ready for production (!)

# ###### == MAC address of the internal module

set hostname
vi /etc/hostname
hostname cat /etc/hostname
` => Backticks, logout and log back in

set password
passwd
password format = rfid4ever_CUSTOMERNAME 

ipkg update
ipkg upgrade -- hit I for the package maintainer's version of /etc/sshd_config
ipkg install vrfrv2-linux -- for changes to the /etc/init.d script
ipkg install venture-root-scripts
ipkg install venture-srv 
ipkg install ez-ipupdate

vi /etc/ipupdate.conf
# set service-type=dyndns
# set user=ventureresearch:party101
# set host=ventureresearch-######.dnsalias.org
# set interface=ppp0

Setup VPN:
Logon to vm-linux-prod, "ssh vm-linux-prod -lventure", password: 0291
sudo ./openvpn-genclientkey.sh [HOSTNAME]

Then, from within the VR Linux Board: 
wget http://ipk.ventureresearch.com/openvpn/[HOSTNAME].tar.gz -O - | tar xzvC /etc/openvpn

reboot

LCD Calibration: DISPLAY=:0 xtscal
Test LCD Colors: DISPLAY=:0 midori -a http://www.lagom.nl/lcd-test/img/colorbands.png