Changes between Version 6 and Version 7 of WAM/CreateCF


Ignore:
Timestamp:
Nov 30, 2016, 3:27:43 PM (8 years ago)
Author:
cv
Comment:

Updated instructions for 12.04

Legend:

Unmodified
Added
Removed
Modified
  • WAM/CreateCF

    v6 v7  
    2020== Install Barrett Provided CF Image ==
    2121
    22 '''__On an External Ubuntu PC__'''[[br]]
    23 Install fsarchiver
     22'''Ubuntu 12.04 - Latest Supported Release'''
     23
     24These instructions are meant to be followed on a PC running Ubuntu 12.04 LTS.  The scripts may not function on newer versions of Ubuntu.
     25
     26Connect your 8GB CF card to the PC using a USB adapter and close all pop-ups showing contents of CF card.  Then execute the following commands. WARNING: this will erase all data on your CF card:
     27
    2428{{{
     29sudo apt-get update
    2530sudo apt-get install fsarchiver
     31wget http://web.barrett.com/support/WAM_Installer/create_cf.sh
     32sudo sh create_cf.sh
    2633}}}
    2734
    28 Insert CF Card and adapter into your PC. Close all pop-ups showing contents of CF card.[[br]]
     35With the power off, insert the new CF card into the WAM's PC/104. Boot the WAM with the new OS.
    2936
    30 We have created scripts to automate the creation of the CF Images.
     37You should now be able to SSH into the WAMs PC/104.  NOTE: You may need to remove your ~/.ssh/known_hosts file as the ssh_key will be different.
    3138
    32 '''Ubuntu 12.04 - Latest Supported Release'''
     39Run the following commands to set up the system name:
     40
    3341{{{
    34 wget http://web.barrett.com/support/WAM_Installer/cf_install_1204.sh
    35 
    36 #Run the script
    37 bash cf_install_1204.sh
     42sudo apt-get update
     43sudo apt-get install nano
     44sudo nano /etc/barrett/serial (change the name to WAM_XXX, where XXX is the WAM's serial number)
     45sudo shutdown -r now
    3846}}}
    3947
    40 Follow the on-screen instructions to create the Ubuntu Xenomai 12.04 CF Card.
    41 
    42 With the power off, insert the new CF image into the WAM's PC/104. Boot the WAM with the new OS.
    43 
    44 You should now be able to SSH into the WAMs PC/104.
    45 Note: You may need to remove your ~/.ssh/known_hosts file as the ssh_key will be different.
    46 
    47 On the 12.04 CF Image home directory is a file - install_software.sh. This file will install the latest libbarrett and btclient software.
     48The SSH session will end and the PC/104 will restart.  After the PC/104 comes back up, SSH in again and run the following command to set up Barrett software:
    4849
    4950{{{
     
    5152}}}
    5253
     54This will download and install libbarrett and btclient, and will take about 40 minutes on a fresh CF card.
     55
    5356'''Ubuntu 9.10 - Previous Supported Release'''
    5457{{{
     58sudo apt-get update
     59sudo apt-get install fsarchiver
    5560wget http://web.barrett.com/support/WAM_Installer/cf_install_910.sh
    5661