2017-11-10 06:32:02 +01:00
!!! note
2017-11-28 11:06:19 +01:00
Go to [Kit Assembly ](./kit ) to find out how to put together your Helios4 NAS
2017-11-10 06:32:02 +01:00
2017-11-23 12:11:44 +01:00
## **What you need before you start.**
2017-11-11 09:33:57 +01:00
2017-11-23 12:11:44 +01:00
**1. microSD Card< br > **
2018-12-28 17:03:54 +01:00
You need a microSD Card UHS-I with a minimum of 8GB. We recommend the following models:
- SanDisk Extreme microSDHC UHS-I Card (32GB)
- SanDisk Extreme PRO microSDHC UHS-I Card (32GB)
- Strontium Nitro MicroSD Card (16GB)
- Samsung microSDHC UHS-I Card EVO Plus (32GB)
2017-11-23 12:11:44 +01:00
![Recommended SDcard ](/img/install/recommended_sdcard.jpg )
2017-11-11 09:33:57 +01:00
2018-12-28 17:03:54 +01:00
You might refer to the [SD Card ](/sdcard/#tested-microsd-card ) page to find a compatibility list of SD Card models.
2017-11-23 12:11:44 +01:00
**2. Micro-USB to USB cable< br > **
![USB cable ](/img/install/console_cable.png )
2017-11-11 09:33:57 +01:00
2017-11-23 12:11:44 +01:00
**3. Ethernet cable (cat5/6)< br > **
![Network cable ](/img/install/network_cable.jpg )
2017-11-18 11:50:04 +01:00
2017-11-10 06:32:02 +01:00
2017-12-21 07:34:43 +01:00
## **Step 1** - Download an Helios4 image build
2017-11-10 06:32:02 +01:00
2017-12-21 07:34:43 +01:00
You will need first to download a image build to write on the microSD Card.
2017-11-10 06:32:02 +01:00
2017-11-23 12:11:44 +01:00
Go to [Dowload ](/download ) and chose one of the latest build.
2017-11-10 06:32:02 +01:00
2017-12-28 11:23:46 +01:00
!!! note
2018-10-15 09:48:58 +02:00
Images with .7z extension must be first uncompressed with 7-Zip on Windows, Keka on OS X and 7z on Linux (apt-get install p7zip-full).
2017-12-28 11:23:46 +01:00
2017-11-23 12:11:44 +01:00
## **Step 2** - Writing an image to a microSD Card
2017-11-10 06:32:02 +01:00
2017-12-21 07:34:43 +01:00
You will need to use an image writing tool to install on your microSD Card the image build you have downloaded.
2017-11-10 06:32:02 +01:00
### Under Windows, Mac OS or Linux (via Graphic Interface)
2017-11-23 12:11:44 +01:00
Etcher is a graphical SD card writing tool that works on Mac OS, Linux and Windows, and is the easiest option for most users. Etcher also supports writing images directly from XZ files, without any prerequired decompression. To write your image with Etcher:
2017-11-10 06:32:02 +01:00
2017-11-23 12:11:44 +01:00
- [Download Etcher ](http://etcher.io ) and install it on your computer.
- Insert the microSD Card inside your SD card reader (microSD to SD adapter might be needed).
2018-10-15 09:48:58 +02:00
- Open Etcher and select from your local storage the Helios4 file you wish to write to the microSD Card.
2017-11-23 12:11:44 +01:00
- Select the microSD Card you wish to write your image to.
- Review your selections and click 'Flash!' to begin writing data to the microSD Card.
2017-11-10 06:32:02 +01:00
2017-11-23 12:11:44 +01:00
![Etcher ](/img/install/etcher_flash.png )
2017-11-10 06:32:02 +01:00
2017-12-21 07:20:45 +01:00
### Under Linux (via Terminal)
2017-11-10 06:32:02 +01:00
```bash
2019-07-16 08:33:51 +02:00
7z e Armbian_5.90_Helios4_Debian_buster_next_4.19.59.7z
2017-11-10 06:32:02 +01:00
2019-07-16 08:33:51 +02:00
sudo dd bs=4M if=Armbian_5.90_Helios4_Debian_buster_next_4.19.59.img of=/dev/sdX conv=fsync
2017-11-10 06:32:02 +01:00
```
2019-07-16 08:33:51 +02:00
*Replace the filename by the image file name you downloaded.*
2018-01-01 04:54:31 +01:00
!!! note
2018-01-01 05:38:38 +01:00
/dev/sdX is where the microSD is mapped in your Linux machine, change the 'X' to your corresponding mapped device. If you set /dev/sdX to a wrong device then you might risk erasing a hard drive or different device than the designated microSD.
2018-01-01 04:54:31 +01:00
2017-11-10 06:32:02 +01:00
## **Step 3** - Power-up Helios4
2017-11-23 12:11:44 +01:00
**Before powering-up insure :**
1. You inserted the microSD Card that you prepared in the previous step.
2. You connected your computer to the serial port with the Micro-USB to USB cable.
3. You connected Helios4 to your home network with the Ethernet cable.
4. You plugged-in properly the DC power connector before powering-up the AC adapter.
![Connections ](/img/install/connections.png )
**Now you can plug-in / power-up the AC adapter.**
2017-12-03 15:53:43 +01:00
!!! warning
Always proceed with caution when manipulating 110/220V appliance.
2017-11-23 12:11:44 +01:00
## **Step 4** - Connect to Helios4 serial console
2018-10-15 06:10:02 +02:00
!!! Important
For Windows and Mac OS you will need to install the FTDI driver in order to access the USB to serial bridge used by Helios4. You can find the driver [here ](https://www.ftdichip.com/Drivers/VCP.htm ).
2017-11-23 12:11:44 +01:00
### Under Windows
1. [Download PuTTY ](https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html ) and install it on your computer.
2017-11-29 15:18:00 +01:00
2. Select connection type **serial** .< br >
2017-12-03 15:53:43 +01:00
![Putty connect ](/img/install/putty_config.png )
2017-11-23 12:11:44 +01:00
2017-11-29 15:18:00 +01:00
3. Setup serial port settings (Serial line : **COM1** and Speed : **115200** ), then press ** 'Open'**< br >
2017-12-03 15:53:43 +01:00
![Putty config ](/img/install/putty_connect.png )
2017-11-29 15:18:00 +01:00
2017-11-23 12:11:44 +01:00
!!! note
If you computer already has a serial port then COM1 might not be the correct serial line to connect to Helios4. Check this [link ](https://tnp.uservoice.com/knowledgebase/articles/172101-determining-the-com-port-of-a-usb-to-serial-adapte ) to learn how to determine the right COM port.
2017-11-29 15:18:00 +01:00
2019-08-15 09:58:39 +02:00
### Under Linux (via Terminal)
**1.** Install picocom
Use apt-get under Debian/Ubuntu
$ sudo apt-get install picocom
Use yum under RHEL / CentOS / Fedora Linux
$ sudo yum install picocom
2017-11-23 12:11:44 +01:00
2019-08-15 09:58:39 +02:00
**2.** Connect to serial with picocom
2017-11-29 15:18:00 +01:00
2019-08-15 09:58:39 +02:00
$ sudo picocom -b 115200 /dev/ttyUSB0
2017-11-23 12:11:44 +01:00
2017-11-29 15:18:00 +01:00
![Picocom ](/img/install/picocom.png )
2017-11-23 12:11:44 +01:00
2018-10-15 06:10:02 +02:00
To exit picocom do **Ctrl-a** then **Ctrl-x**
2017-11-23 12:11:44 +01:00
2019-08-15 09:58:39 +02:00
!!! note
Using command _ls -la /dev/ttyUSB*_ you should be able the find the USB to serial bridge device used by Helios4. Under Linux the device will be named ** /dev/ttyUSBx**, where **x** is a digit.
### Under Mac OS (via Terminal)
Connect serial using the *screen* command
$ screen /dev/tty.usbserial-XXXXXXXX 115200 -L
To exit the session do **Ctrl-a** then **Ctrl-k**
2017-11-23 12:11:44 +01:00
2018-10-15 06:10:02 +02:00
!!! note
2019-08-15 09:58:39 +02:00
Using command _ls -la /dev/tty.usb*_ you should be able the find the USB to serial bridge device used by Helios4. Under Mac OS the device will be named ** /dev/tty.usbserial-xxxxxxxx**, where **xxxxxxxx** is some serial number.
2018-10-15 06:10:02 +02:00
2017-11-23 12:11:44 +01:00
## **Step 5** - Log in
2017-11-10 06:32:02 +01:00
2017-11-23 12:11:44 +01:00
!!! note
2017-11-29 15:18:00 +01:00
You might need to press **Enter** for the login prompt to come up.
2017-11-11 09:33:57 +01:00
2017-11-23 12:11:44 +01:00
**Default credential for Debian image**
2017-11-11 09:33:57 +01:00
```bash
helios4 login: root
Password: 1234
```
2017-11-23 12:11:44 +01:00
You will be prompted to change the root password and then create a new user account.
![First Login ](/img/install/first_login.png )
## **Step 6** - Check/Set IP address
2017-11-29 15:18:00 +01:00
### Check IP address
2017-11-23 12:11:44 +01:00
By default Helios4 will try to obtain an IP address via DHCP. To figure out what is the allocated IP address you will need to type the following command in the console.
```bash
2019-07-16 08:33:51 +02:00
ip addr show dev eth0
2017-11-23 12:11:44 +01:00
```
![Network Config ](/img/install/network_config.png )
Here the IP address of Helios4 is **10.10.10.1** .
2017-11-29 15:18:00 +01:00
### Set IP address
If you wish to manually configure your IP address you can use the **armbian-config** tool.
```bash
2019-07-16 08:33:51 +02:00
armbian-config
2017-11-29 15:18:00 +01:00
```
![Armbian-config ](/img/install/armbian-config.png )
![Armbian-config ](/img/install/armbian-config_network.png )
2017-12-19 12:05:07 +01:00
![Armbian-config ](/img/install/armbian-config_ip-static.png )
2017-11-29 15:18:00 +01:00
![Armbian-config ](/img/install/armbian-config_ip.png )
2018-07-19 11:43:36 +02:00
Press **ESC** till you exit armbian-config tool.
2017-11-29 15:18:00 +01:00
You will have to reboot for the network settings to take effect.
```bash
2018-07-19 11:43:36 +02:00
sudo reboot
2017-11-29 15:18:00 +01:00
```
!!! info
You can also refer to the following Debian Wiki [Page ](https://wiki.debian.org/NetworkConfiguration#Setting_up_an_Ethernet_Interface ) for advanced network settings.
2018-07-19 11:43:36 +02:00
## **Step 7** - Connect to Helios4 via SSH
2017-11-29 15:18:00 +01:00
2018-07-19 11:43:36 +02:00
You can now connect by SSH to your Helios4 to carry on with your configuration.
2017-11-23 12:11:44 +01:00
![SSH Login ](/img/install/ssh_login.png )
2017-12-21 07:20:45 +01:00
![Putty SSH ](/img/install/putty_ssh.png )
2018-07-19 11:43:36 +02:00
## **What to do next ?**
If you want to install OpenMediaVault, the next-gen network attached storage (NAS) software, refer to the [OMV ](/omv ) page.
2018-08-03 10:35:42 +02:00
2019-07-16 08:33:51 +02:00
If you have assembled an OLED Display as part of your Helios4 setup, it can be the right time to set it up. Refer to the following [section ](/i2c/#sys-oled-application ) that will explain you how to install the **sys-oled** application which control the OLED display.
2018-11-30 08:31:31 +01:00
For other software you can use **armbian-config** which provides an easy way to install 3rd party applications. You can also refer to our *Software* section to find tutorials that will help you to setup manually your Helios4.
2018-08-03 10:35:42 +02:00
```bash
sudo armbian-config
```
![!armbian-config Main Menu ](/img/omv/install-1.png )
![!armbian-config Software ](/img/omv/install-2.png )
2018-11-30 08:31:31 +01:00
![!armbian-config Selection ](/img/install/softy.png )