th-scan-hub-rpi

TicketingHub Raspberry Pi ScanHub Client

npm install th-scan-hub-rpi
74 downloads in the last week
101 downloads in the last month

Installation Instructions

Download the latest Arc Linux Image here: http://downloads.raspberrypi.org/arch_latest and extract the zip file to reveal a single .img file.

Plug in the SD card to the computer and run: diskutil list

Identify the disk (not partition) of your SD card. e.g. disk4 (not disk4s1). You can check the sizes to find the one which looks correct. Now run diskutil unmountDisk /dev/disk# (replace # with your disk number e.g. diskutil unmountDisk /dev/disk4) to unmount the drive.

Type: sudo dd bs=1m if= Now without hitting enter find the arc linux download image from your downloads folder and drag it into your terminal. It should input the full file name and leave a space at the end.

Eg: sudo dd bs=1m if=/Users/ollym/Downloads/archlinux-hf-2013-11-14.img

Then continue to type the following: of=/dev/rdisk# && echo ok (replacing # like before).

You will end up with a long command in your terminal window, something like: sudo dd bs=1m if=/Users/ollym/Downloads/archlinux-hf-2013-11-14.img of=/dev/rdisk4 && echo ok

Now hit enter, type in your password, and hit enter again. Note when typing in your password it will not respond with any masked characters, just keep typing as normal. Now wait a LONG TIME. You can press Ctrl + t to see the progress. When the operation completes you'll see a final "ok" written in the terminal.

When that's finished, eject the SD card by running diskutil eject disk# (replacing # like before).

Now make sure you have the raspberry pi plugged into your router, then plug the SD in and turn it on.

Wait about 30 seconds for the device to boot up. Now log into the admin panel of your router and find a list of connected devices. You need to establish the IP Address for the pi, it will have a hostname of "alarmpi".

Now with the IP Address ( e.g. 192.168.0.15) go back to the terminal and run: ssh root@192.168.0.15

If you're asked to confirm the computer's identity, just type "yes" and hit enter. You will be then prompted for a password. The password will be root.

Now you will provided with a new prompt like so: [root@alarmpi ~]#

Just run the following command: \curl -ksSL https://gist.github.com/ollym/9ebd06c6f4ae8c5a5a58/raw/install.sh | sh and watch it go.

Once complete close the terminal window and the Pi Should be working.

npm loves you