Académique Documents
Professionnel Documents
Culture Documents
com
it is very cheap.
1 of 19
What you need
You will also need a home network (i.e. a router) with a wired or wifi
connection; internet access; and a desktop or laptop computer.
2 of 19
Software requirements
1. Download the image for the Orange Pi Zero from the Armbian
website. Select the Debian Jessie image. Within a few seconds
the download should begin.
3 of 19
2. When the download is complete, browse to your downloads folder
and locate the file. It should be named something like
Armbian_5.20_Orangepiplus_Debian_jessie_3.4.112.7z. Right
click on the file, select 7-Zip from the context menu and choose
Extract Here. The archive should expand, resulting in several files
including one with a .img extension similar to
Armbian_5.20_Orangepiplus_Debian_jessie_3.4.112.img.
3. Insert your blank micro SD card into your computer. Take note of
the drive letter it is assigned, for instance, D:.
4. Locate the drive for the micro SD card in Windows Explorer, right
click on it and choose the Format option.
4 of 19
5. Ensure File System is set to FAT32 (Default). Click Start and wait
for the format to complete. Before doing so, make 100% sure
youve selected the correct drive, otherwise you risk overwriting
7. Click the folder icon below the Image File label to browse to and
select the Armbian img file (e.g.
5 of 19
Armbian_5.24_Orangepizero_Debian_jessie_3.4.113.img).
8. Under the Device label, select the drive letter of your micro SD
card. In my case [D:\]. Again, make sure you are 100% certain
youve selected the correct drive, otherwise you risk overwriting
the data on another drive.
9. Click the Write button to start writing the Armbian image to the
micro SD card.
10. When the writing process is complete, click the Exit button to quit
Win32DiskImager.
11. Use the Safely Remove Hardware and Eject Media option in the
system tray to eject your micro SD card.
Our next step is to boot the Orange Pi Zero. The following steps
6 of 19
assume that:
you can connect your Orange Pi Zero to your router via a wired
ethernet connection.
If these conditions arent met, youll need to skip to the next section
and follow the instructions there.
1. Insert your micro SD card imaged with Armbian into the micro SD
slot on the Orange Pi Zero.
3. Connect your 5V power supply to the Orange Pi Zero via the micro
USB connection.
Within a minute or two the LEDs on the ethernet port of the Orange
Pi Zero should start to flash, indicating network activity. Assuming
your router is configured for DHCP, the Orange Pi Zero should
automatically obtain an IP address on your network.
7 of 19
any luck it will be possible to identify the Orange Pi Zero in the list
of DHCP leases and see which IP address it has been allocated.
One approach is to take note of the IP addresses in the list before
connecting your Orange Pi Zero to the network. Then connect your
Orange Pi Zero to the network and to power, wait for it to boot (a
minute or two) and refresh the list of DCHP leases. It should now
have an extra entry and that entry should correspond to the IP
address assigned to your Orange Pi Zero.
Knowing the IP address of the Orange Pi Zero, we can log into it for
the first time. In order to do so, we need to use an SSH client to
make the connection. In this tutorial well use PuTTY.
8 of 19
5. Click the Open button.
7. When prompted for a login, type root in lowercase and press enter.
8. When prompted for a password, type 1234 and press enter. Note
that your keystrokes will not be echoed back to you, but they are
being received by the Orange Pi Zero nonetheless.
9 of 19
2. At the Enter new UNIX password prompt, enter a new password
and press enter.
10 of 19
again and press enter.
4. You will be asked to enter your Full Name and few other details.
Enter them, if applicable, or simply press enter for blank.
Congratulations - you have logged into your Orange Pi Zero for the
first time.
Before you forget them, record the details of your root account
password and your newly created everyday use account
somewhere secure.
For more information about the Orange Pi Zero serial header, visit
this linux sunxi wiki page.
1. Insert your micro SD card imaged with Armbian into the micro SD
11 of 19
slot on the Orange Pi Zero.
12 of 19
assigned by Windows, e.g. COM4:
9. Set the Serial line to the COM port assigned to your USB-to-Serial
converter, e.g. COM4.
12. Connect your 5V power supply to the Orange Pi Zero via the micro
USB connection.
13 of 19
13. Plug your 5V power supply into the mains.
1. When prompted for a login, type root in lowercase and press enter.
2. When prompted for a password, type 1234 and press enter. Note
that your keystrokes will not be echoed back to you, but they are
being received by the Orange Pi Zero nonetheless.
14 of 19
2. At the Enter new UNIX password prompt, enter a new password
and press enter.
15 of 19
again and press enter.
4. You will be asked to enter your Full Name and few other details.
Enter them, if applicable, or simply press enter for blank.
Congratulations - you have logged into your Orange Pi Zero for the
first time.
Before you forget them, record the details of your root account
password and your newly created everyday use account
somewhere secure.
Now that you know the IP address, in future you can follow the
steps in the previous section to connect to your Orange Pi Zero
over the network.
16 of 19
To disconnect your serial console:
3. Disconnect the three jumper wires between the Orange Pi Zero and
the USB-to-serial converter.
Initial configuration
Now that the Orange Pi Zero is working, we can do some initial set
up. The following assumes you are logged into your Orange Pi Zero
using either SSH or the serial console with your everyday account.
Remember to hit the enter key after typing in each line of
commands.
Next well set the time zone to match your location. To do so, enter
the following command:
sudo dpkg-reconfigure tzdata
Then,
1. Use the arrow keys to select your Geographic area and press
enter.
2. Select a city or region within your time zone and press enter.
Lastly, well set up wifi. This is super handy because once set up,
our Orange Pi Zero can be placed anywhere within wifi range
where it can be provided with power. To do so,
17 of 19
sudo nano /etc/network/interfaces
2. Add the following 4 lines to the end of the file, substituting the
actual network SSID and WPA password for your wifi network:
auto wlan0
iface wlan0 inet dhcp
wpa-ssid <Your Access Point Name aka SSID>
wpa-psk <Your WPA Password>
You can find out the IP address assigned to your wifi connection by
typing:
You can observe the signal strength and other details of your wifi
connection by entering:
Handy Hints
sudo armbianmonitor -m
(To quit and return to the command line, hit the key combination
Control+C.)
exit
sudo halt
18 of 19
To reboot your Orange Pi Zero, type:
sudo reboot
Taking it further
Here are just some things you can do now that your Orange Pi Zero
is operational:
Check out the Fine Tuning section of the Armbian user guide for
additional configuration you can perform.
Have fun!
19 of 19