<commit_before>---
layout: docs
title: Download Pre-installed Image
---

# Download Pre-installed Image

I followed the previous steps to [Build from Source](build_from_source.html) then ran `sudo dd if=/dev/rdisk3 of=2017-03-02-raspbian-temperature-machine.img bs=1m` to create an image file based Raspian Jessie Lite (4.9.y). 

1. Download the image from my [Google Drive](https://drive.google.com/open?id=0B-I9xnCr64hFWjBoS0Z6akUwVVU).
1. On Mac, use [Etcher](https://etcher.io/) to flash a new SD card with the image. Refer to [raspberrypi.org](https://www.raspberrypi.org/documentation/installation/installing-images/) for other platforms.
1. Setup your wifi by inserting your new SD card to your machine and creating a file `wpa_supplicant.conf` under `/boot`. Mine looks like this (the `scan_ssid=1` is only needed if you're using a hidden network). 

    ```
    ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
    update_config=1
    
    network={
      ssid="ssid"
      scan_ssid=1
      psk="plain text password"
    }
    ```
1. Unmount and stick the card in the Pi. Power up. 
1. On the Pi (`ssh pi@<EMAIL>.local`), run `raspi-config` to:
    1. Set the hostname to the room name (`garage`, `study` etc) 
    1. Expand the file system
1. Setup the Pi to start temperature-machine on boot<commit_msg>updated img link (smaller file size)<commit_after>---
layout: docs
title: Download Pre-installed Image
---

# Download Pre-installed Image

I followed the previous steps to [Build from Source](build_from_source.html) then ran `sudo dd if=/dev/rdisk3 of=2017-03-02-raspbian-temperature-machine.img bs=1m` to create an image file based Raspian Jessie Lite (4.9.y). 

1. Download the image from my [Google Drive](https://drive.google.com/file/d/13mrmYviFIXdaKUU9EF5_7l38QV3jqRFM/view?usp=sharing).
1. On Mac, use [Etcher](https://etcher.io/) to flash a new SD card with the image. Refer to [raspberrypi.org](https://www.raspberrypi.org/documentation/installation/installing-images/) for other platforms.
1. Setup your wifi by inserting your new SD card to your machine and creating a file `wpa_supplicant.conf` under `/boot`. Mine looks like this (the `scan_ssid=1` is only needed if you're using a hidden network). 

    ```
    ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
    update_config=1
    
    network={
      ssid="ssid"
      scan_ssid=1
      psk="plain text password"
    }
    ```
1. Unmount and stick the card in the Pi. Power up. 
1. On the Pi (`ssh <EMAIL>`), run `raspi-config` to:
    1. Set the hostname to the room name (`garage`, `study` etc) 
    1. Expand the file system
1. Setup the Pi to start temperature-machine on boot
{'fraction_non_alphanumeric': 0.10974244120940649, 'fraction_numerical': 0.022396416573348264, 'mean_word_length': 3.6771378708551485, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6887407', 'n_tokens_mistral': 938, 'n_tokens_neox': 869, 'n_words': 310}