-
Notifications
You must be signed in to change notification settings - Fork 20
Turning your ARM device into AngelBox
Are you interested in our AngelBox? You can have one for free! We offer you a complete SD card image for Raspberry Pi 2/3 or you can also use our APT repository to install Arrow Client into an existing system.
Before continuing, you will need at least 2 GB micro SD card and our AngelBox image. The image can be downloaded from here.
- Get Win32 Disk Imager.
- Install it.
- Unzip the AngelBox SD card image.
- Plug in your SD card.
- Open Win32 Disk Imager.
- Select the SD card image and the device with your SD card.
- Click on the "Write" button and wait until the image is written.
- Unplug the SD card.
-
Unzip the AngelBox SD card image.
-
Plug in your SD card.
-
Open terminal.
-
Identify the SD card device:
diskutil list
-
Unmount the SD card:
diskutil unmountDisk /dev/{device} -
Write the SD card image into the SD card:
sudo dd bs=1M if=angel-box-rpi-2016-03-10.img of=/dev/{device} -
Eject the SD card:
sudo diskutil eject /dev/{device} -
Unplug the SD card.
-
Plug in your SD card.
-
Open terminal.
-
Unzip the AngelBox SD card image:
unzip angel-box-rpi-2016-03-10.img.zip
-
Unmount the SD card (if mounted):
sudo umount /dev/{device} -
Write the SD card image to the SD card:
sudo dd bs=4M if=angel-box-rpi-2016-03-10.img of=/dev/{device} -
Empty the IO cache:
sync
-
Unplug the SD card.
-
Plug the SD card into your Raspberry Pi.
-
Connect the RPi to your local network using an ethernet cable.
-
Power on the RPi.
-
Connect your workstation to the same local network.
-
Change IP address of your network interface to 192.168.123.1 and mask to 255.255.255.0.
-
Connect to the RPi using SSH (username: pi, password: arrow, address: 192.168.123.123).
- In Windows, you can use PuTTY.
- In OS X or Linux, open terminal and enter
ssh pi@192.168.123.123.
-
Get MAC address of your RPi and write it down somewhere:
cat /sys/class/net/eth0/address
-
Expand the root filesystem to the whole SD card:
sudo raspi-config
- Select "Expand Filesystem".
- Confirm.
- Finish.
- Confirm device reboot.
For using the deb packages from our repository, you will need a running Debian Jessie based distribution on an ARM device, e.g. Raspbian Jessie on Raspberry Pi. Log in to your device (either directly or using SSH) and enter the following commands into the terminal:
sudo apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 3CB6723D
sudo sh -c 'echo "deb http://apt.angelcam.com/ stable main" > /etc/apt/sources.list.d/arrow.list
sudo apt-get update
sudo apt-get install arrow-boxThe arrow-box service gets started automatically after installation of the package. If you need to start/stop it manually, you can use standard systemd commands:
sudo systemctl start arrow-box.service
sudo systemctl stop arrow-box.service
All logs go into syslog. If you need to modify the arrow-client startup parameters, you can modify them directly in the /usr/bin/arrow-box start script. To list all available parameters, run the following command:
/usr/local/arrow-box/arrow-client
Optionally you can also install the arrow-box-utils package. The package contains a cron job that will keep your client up to date and there is also a service that can use one of the RPi LEDs as an Arrow Client connection status indicator. To install the additional package, enter the following command:
sudo apt-get install arrow-box-utilsTo enable the connection status indicator:
sudo systemctl enable arrow-box-led.service
sudo systemctl start arrow-box-led.serviceCongratulations! Your AngelBox is ready to roll! Now, the only thing you will need to connect to Angelcam is an IP camera with support of H.264 and RTSP. Connect the camera to the same local network as your RPi, go to angelcam.com/arrow and enter the MAC address of your RPi.