Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
en:quick_start_guide [2014/05/23 08:08] naguirre |
en:quick_start_guide [2015/02/15 11:19] nico [House configuration with Calaos Installer] |
||
---|---|---|---|
Line 2: | Line 2: | ||
====== Raspberry pi quick start guide ====== | ====== Raspberry pi quick start guide ====== | ||
- | ===== What you will need ===== | + | ===== What you need ===== |
* A computer with Linux, MacosX or Windows | * A computer with Linux, MacosX or Windows | ||
* A Raspberry pi, Model B | * A Raspberry pi, Model B | ||
- | * An SD Card, We recommend an 2GB class 4 SD card | + | * An SD Card, We recommend an 2GB class 10 SD card (class 4 can be broken much more quickly) |
- | * Download the latest official calaos image for raspberrypi :[[ http:// | + | * Download the latest official calaos image for raspberrypi :[[http://www.calaos.fr/ |
+ | |||
+ | ====== Creating the SD card with calaos os ====== | ||
- | ==== Creating the SD card with calaos os ==== | ||
=== Linux === | === Linux === | ||
Launch a terminal and go in the directory where you download the calaos os image. | Launch a terminal and go in the directory where you download the calaos os image. | ||
$ cd ~/Downloads | $ cd ~/Downloads | ||
- | $ tar xvf calaos-image-raspberrypi-2014-04-28.tar.xz | + | $ tar xvf calaos-image-raspberrypi-v2.0.tar.xz |
Insert the sdcard into the sdcard reader of your PC. | Insert the sdcard into the sdcard reader of your PC. | ||
- | You need to know what's the device created by linux when the card is inserted. The device name is something like /dev/sdX or / | + | You need to know which device |
To know the exact name use the following command : | To know the exact name use the following command : | ||
Line 48: | Line 50: | ||
No sdcard must appears in the resulting list. | No sdcard must appears in the resulting list. | ||
- | Let's now copy the **calaos os** on the sdcard | + | Let's now copy **calaos os** on the sdcard |
- | sudo dd if=calaos-image-raspberrypi-2014-04-28.sdimg of=/ | + | sudo dd if=calaos-image-raspberrypi-v2.0-20150214101639.rootfs.rpi-sdimg of=/ |
- | + | ||
- | Once the operation is terminated, you can remove the sdcard, and insert it in the Raspberry pi. | + | |
+ | Once the operation is completed, you can remove the sdcard, and insert it in the Raspberry pi. | ||
=== Macos === | === Macos === | ||
- | TBC | + | |
+ | You can use ApplePi-Baker. It's a free utility that allows you to write an image to the sdcard. | ||
+ | It can be download here : [[http:// | ||
+ | |||
=== Windows === | === Windows === | ||
- | TBC | + | You can use Win32DiskImager. You can download it here : [[http:// |
+ | |||
+ | ====== Connecting to the Rpi ====== | ||
+ | |||
+ | When you boot your raspberrypi, | ||
+ | |||
+ | ssh root@rasberrypi | ||
+ | |||
+ | If you already know the IP address, just connect directly : | ||
+ | |||
+ | ssh root@ip_address | ||
+ | |||
+ | The default password is empty. | ||
+ | If you have trouble to find the ip adress, look here : http:// | ||
+ | |||
+ | NOTE : on Linux and MacosX you can use the Terminal to use ssh. On windows you need a program like putty to connect to the raspberrypi : [[http:// | ||
+ | |||
+ | ====== | ||
+ | |||
+ | You can set the basic parameters of your calaos installation : username and password. | ||
+ | |||
+ | $ calaos_config set cn_user nico | ||
+ | $ calaos_config set cn_pass calaos_rox | ||
+ | |||
+ | These user and password are those that you will use to connect from Calaos Web, Calaos Home or Calaos Installer. | ||
+ | |||
+ | Restart calaos_server to take this new parameters into account : | ||
+ | |||
+ | $ systemctl restart calaos_server | ||
+ | |||
+ | To see if everything is working fine with calaos server, you can try to connect to the server via Calaos Web. Start your favorite web browser and connect to http:// | ||
+ | You should be able to login, but nothing is displayed in the interface. It's completely **normal** as we don't have configured the whole installation yet. What we need now is to create the configuration of our house, and Calaos Installer will be used for that. | ||
+ | |||
+ | ====== | ||
+ | Calaos Installer is an application for Linux, Macos X and Windows. | ||
+ | You can download it here : [[http:// | ||
+ | Install calaos-installer for you OS from this page, and launch it. | ||
+ | On the interface, you should find a **Autodetection** button. Click on it. It launched the discovery process of Calaos Server trough the network. | ||
+ | If Calaos Server is found, the IP address is displayed in the Window. You can then double click on it and connect to Calaos Server with the credentials you fixed in the first section of this guide. | ||
+ | You can now add the Input/ | ||