ASDUpdates
Jump to navigation
Jump to search
OLD[edit | edit source]
these steps have been moved to the fridge-step1.sh script
Do Not Use[edit | edit source]
- load asd-image & kernel
- set hostname
vi /etc/hostname
hostname cat /etc/hostname
` => Backticks, logout and log back in
- setup dyndns - change hostname
vi /etc/ipupdate.conf
- ipkg install venture-srv
- crontab -e
0 6 * * * /root/bin/run-update.sh 0 * * * * /root/bin/run-post.sh
update-rc.d cron defaults 60
- Install RSync
ipkg install rsync
- run ssh-keygen and save it in default location with no passphrase
ssh-keygen
rename the file and store it
cp .ssh/id_rsa.pub <mac addr>_id_rsa.pub scp -P 2222 <macaddr>_id_rsa.pub venture@ipk.ventureresearch.com:~/fridge-pubkeys
< reboot >
- run update script for initial website stuff (should happen automatically) - test page
< reboot >
- make sure all files updated - cubixx page
On lab-ubuntu:
scp d62b1b_id_rsa.pub tunnel@cubixx3.asdhealthcare.com:~/fridge-pubkeys/
password: Password1
from the device:
ssh cubixx3.asdhealthcare.com -l tunnel
password: Password1
Then, create a backup of the existing keys file:
cp .ssh/authorized_keys ssh-authorized-keys.backup cat d62b1b_id_rsa.pub >> .ssh/authorized_keys
exit
Then, retry ssh and verify that the password isn't needed. (note post goes into ~/post on cubixx3)