Orange Pi 2G – IOT – OS Installation and WIFI Setup using Serial Port
Orange Pi has come out with its own counter to the Raspberry Pi Zero W. The Orange Pi 2G-IoT have an 802.11n Wi-Fi and Bluetooth 2.1 at the same time it provides a 2G Mobile Radio for cellular connectivity. The 2G radio supports GSM/GPRS data connections, and there is a SIM card slot on the underside of the board. Now I will explain How to install ubuntu and Setup up wifi in Orange Pi 2G IOT
This Project is Sponsored by UTSource. UTSource is a professional electronic components supplier.
Watch The Video Tutorial
Writing Image on to the SD Card
Insert your Micro SD card into your computer. The size of card should be larger than the OS image size, generally 4GB or greater.
Format the SD card. Download the SD card format tool such as SDFormatter from
Download SD Formatter
Unzip the download file and run the setup.exe to install the tool on your machine
In the “Options” menu, set “FORMAT TYPE” option to QUICK, “FORMAT SIZE ADJUSTMENT” option to “ON”.
Click the “Format” button.
Download the OS image from the Downloads webpage.
Orange Pi OS Downloads
Unzip the download file to get the OS image. Right click on the file and choose “Extract all”.
Download a tool that can wirte images to an TF card, such as Win32 Diskimager from:
Download Win32 Disk Imager
Open the unzipped image file.
Click Write button. Wait patiently to successfully complete writing.
Initiating Serial Communication
If you don’t have an LCD display, you don’t have to buy one to get this working. I will be using the serial port to connect to orange pi and setup up WiFi so that you can ssh into it from any device. I had an old USB to TTL serial converter, so i will be using it to connect to orange pi and connect to my network.
This is my USB to TTL serial converter which, I bought it from amazon. Its a really usefull thing If you want one, go ahead and buy it.
We will be using these 3 pins here – tx rx and gnd pins.
If you are planning to boot from the SD card, you should change the position of this pin near the wifi antenna, like I did in the above video. This is very important.
The Connections are pretty simple.
Orange Pi 2G IOT TTL Serial Converter
Now connect the converter to laptop and open putty.
Select ‘serial’, set the correct COM port in putty and set baud rate to 115200.
Now connect the power cable to Orange pi.
If everything is done correctly, the red led will glow when the pi start to boot up from the SD card.
The login username is ‘root’ and password is ‘orangepi’.
Setting Up WiFi
There is a tool called WPA_CLI which can be used to create and manage wifi networks.
the output will be an integer. This is the network number. (In my case it was 2)
This post is for people who are planning to make make money from videos uploaded on youtube. They have released an article on 6th April 2017 stating that monetization rules on youtube have changed. Years ago, YouTube…
ReelPhish – Defeating Two Factor Authentication using Real Time Phishing Attack Social Engineering Human Beings and their vulnerabilities have always been one of the loop holes in IT security. Even though the technology; software, networks and hardware,…
Latest working exploit code for iOS, dubbed zIVA has now been released by Adam Donenfeld followed by a demo in Hack in the Box conference, which can be exploited in all iOS devices running versions 10.3.1 and below. Comments…
Ubuntu is one of the most user friendly linux distros of all time. It is the most widely used linux OS across the globe. There has been a live community behind the development, testing and updates are…