Install Debian/Ubuntu on an Orange Pi
Prepare an Orange Pi for MikRouter — download the exact board-specific Debian or Ubuntu image, write it to a microSD card with Rufus or balenaEtcher, and finish the first boot over SSH.
What you need
Use a Server image — it has SSH switched on
You set the agent up by typing one command on the board, so you need a way in. A Server image accepts SSH from the first boot: plug in Ethernet and log in from your own computer.
Without SSH you need an HDMI monitor and a USB keyboard plugged into the board — and a board with no HDMI port needs a serial adapter. Pick a Server image and skip all that.
Get the right image
Identify the exact Orange Pi model
Match the model exactly
Download the Debian or Ubuntu Server image
The examples here use an Orange Pi One and its OrangePi_one_ubuntu_xenial_server_linux5.3.5_v1.0 download. Yours will carry your own board's name.
Old boards get old images
apt may no longer reach its package servers. The agent does not need it. Armbian has current builds for many models, also SSH-ready — write them the same way.Extract the archive
.7z, .zip or .xz. Right-click it and choose Extract All — a .7z needs 7-Zip or WinRAR. You want the .img inside.Write the .img, not the archive
.7z. The extracted image is about 1.4 GB, so leave room for it.Write the image to the microSD card
Rufus is Windows only. balenaEtcher runs on Windows, macOS and Linux. Pick one tab and follow it through.
Download Rufus and insert the microSD card
Now put the card in your reader. Device fills in with its letter and size — here NO_LABEL (E:) [8 GB] — and the bottom bar reads 1 device found.
Check the drive letter and the size
Leave Partition scheme, Target system, File system and Cluster size alone. Rufus greys them out because the image brings its own.
Select the .img file
.img you extracted.Boot selection now names the image and the bottom bar reads Using image: …. Nothing has been written yet.
Start the write
Expect a few minutes. Do not unplug the reader or cancel partway — a half-written card will not boot.
Wait for READY, then eject the card
READY. Device now shows BOOT (E:) with FAT32 — the image's own boot partition, which means the write landed.Windows will offer to format the card — always Cancel
Eject the card safely and take it out of the reader.
Download and open balenaEtcher
Flash from URL
Clone drive
Three stages, left to right. Ignore Flash from URL and Clone drive — you already have the file.
Flash from file — choose the .img
.img you extracted.Select target — choose the microSD card
OrangePi_…_v1.0.img
Cancel
1.3 GB
MXT-USB S…ice Media
Change
8.0 GB
Check the target
Flash
OrangeP…1.0.img1.3 GB
MXT-USB…e Media
8.40 MB/sETA: 55s
Etcher is just one tool in your kit
Find out moreDo not unplug the reader or press Cancel partway — a half-written card will not boot.
Wait for Flash Completed!
OrangePi_on….5_v1.0.img
Flash Completed!
1 Successful target
Effective speed: 11.6 MB/s
Etcher is just one tool in your kit
Find out moreWindows will offer to format the card — always Cancel
Etcher ejects the card for you, so you can take it out.
First boot and first login
Boot the Orange Pi
Find the board's IP address in your router
Here it is 192.168.1.100. If the board is not listed yet, wait a minute and refresh.
Log in over SSH
cmd on Windows, Terminal on macOS or Linux:ssh orangepi@192.168.1.100
| Field | Value | Note |
|---|---|---|
| Username | orangepi | The account the vendor's images ship with |
| Password | orangepi | The same word as the username |
The first connection asks you to accept the board's fingerprint. Type the whole word yes and press Enter, then the password. A prompt ending in orangepi@OrangePi:~$ means you are in.
user@macbook ~ % ssh orangepi@192.168.1.100The authenticity of host '192.168.1.100 (192.168.1.100)' can't be established.ED25519 key fingerprint is: SHA256:TurrS4PDUdQ194MKu+I3B+54rPzQ/9QbPN6VgZv//rsThis key is not known by any other names.Are you sure you want to continue connecting (yes/no/[fingerprint])? yesWarning: Permanently added '192.168.1.100' (ED25519) to the list of known hosts.orangepi@192.168.1.100's password:Welcome to Ubuntu 16.04 LTS (GNU/Linux 5.3.5+ armv7l) * Documentation: https://help.ubuntu.com/Last login: Tue Aug 18 08:02:59 2026To run a command as administrator (user "root"), use "sudo <command>". orangepi@OrangePi:~$The password is invisible as you type
Some Orange Pi images use root / orangepi instead.
Nothing answers on SSH?
sudo systemctl enable --now ssh, and try again. If the board has no HDMI port, reflash it with a Server image instead.