Difference between revisions of "XXX: Install Hivetool SD image"

From HiveTool
Jump to: navigation, search
(Unix/Linux system)
Line 28: Line 28:
 
# Copy the image to the SD card:
 
# Copy the image to the SD card:
 
#: dd bs=4M if=2014-09-09-wheezy-raspbian.img of=/dev/mmcblk0
 
#: dd bs=4M if=2014-09-09-wheezy-raspbian.img of=/dev/mmcblk0
 +
 +
'''Warning!! If you reverse the source and target, you can wipe out a lot of data.''' This feature has inspired the nickname "dd" [http://wiki.linuxquestions.org/wiki/Some_dd_examples Data Destroyer].
  
 
Detailed instructions:
 
Detailed instructions:

Revision as of 08:32, 13 January 2015

Hivetool is now available as a 1.3 G SD card image for the Raspberry Pi models A,A+.B,B+: [2014-09-09-raspbian-hivetool.zip]. It unzips to a 3.3 G image for the SD card, same size as 2014-09-09-wheezy-raspbian.img that it is based on.

  • Most setup is with a user friendly browser based configuration screen.
  • Uses SQLite for a database. (Works on an A but graphing is still slow.)
  • Has the latest graphing software (complete with the latest bugs)

Create SD card

Be careful. REMOVE any other USB memory devices from your computer.

Windows system

Requires Win32diskImager

  1. Download the compressed image,
  2. Extract the compressed folder (unzip) to get "2014-09-09-raspbian-hivetool.img"
  3. Download and install Win32diskImager if not already installed.
  4. Insert a blank formatted SD (micro for A+ & B+ ) Pi supported 16 gig supported class 10 card in PC.
  5. Run Win32diskImager, select the uncompressed "2014-09-09-raspbian-hivetool.img" file
  6. write it to it to the SD card (usually drive E) using Win32diskImager. CAUTION DO NOT write to C:\, the hard drive.
  7. Verify the write has completed and verify the files size on SD card is 9.68 mb (10,158,080 bytes), 12 files, eject the SD card labelled "boot" if successful.

raspberrypi.org recommends using: http://sourceforge.net/projects/win32diskimager/ But be careful. REMOVE any other USB memory devices from your computer. Detailed instructions: http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Windows

Unix/Linux system

  1. Determine the device for the card reader (/dev/mmcblk0 on my laptop).
  2. Copy the image to the SD card:
    dd bs=4M if=2014-09-09-wheezy-raspbian.img of=/dev/mmcblk0

Warning!! If you reverse the source and target, you can wipe out a lot of data. This feature has inspired the nickname "dd" Data Destroyer.

Detailed instructions: http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Linux_.28including_on_a_Pi.21.29

Boot Pi

  1. Attach a display and a keypad & mouse to configure to Raspian Linux on the target Pi.
  2. Insert SD card in the Pi and apply power.
  3. If the OS image and Pi hardware is good (including 5V power) and video is connected the system will boot to the "Raspi-config" screen.

Run raspi-config

  1. Expand the filesystem (option 1), enable "desktop" (layperson), or "command line" interface (2).
  2. Select Internationalization Options (3), I1 Locale, for USA select "en_US.UTF-8 UTF-8", Set timezone (I2)
  3. Enable Pi to work with the PiCamera id applicable (5).
  4. Advanced (6) Set visible name to match name you intend to use for reporting to the Hivetool server. Enable SSH (A4) for remote access. Enable SPI, I2C and not "Serial Shell", as it applies to your particular sensors (A5-7). Advanced - "Update config tool to latest version" (A9).
  5. "Finish" and restart at pi prompt; sudo shutdown -r 0
  6. At command prompt run; sudo apt-get update
  7. At command prompt run; sudo apt-get upgrade

Wi-Fi Setup

Setup WiFi (skip for hardwired Ethernet), insert WiFi dongle into USB jack, run "startx" to start the GUI Run the WiFi Configuration (supplicant), scan and add your access point (remove "dlink"), enter your AP password in the PSK field under "manage networks". The Configurator tells you what IP has been allocated. If you stay with DHCP then reserve the address in your router so you will always get the same one on the Pi.

Ethernet

Alternatively plug an Ethernet cable into the RJ45 jack (Not on the A model), you will need to determine what IP has been assigned by looking on your Router Tables or using the Ping command. Once known you can navigate to it with your browser. Your address is likely something like http://192.168.X.XXX/config.pl