# Assign static IP to my OrangePi

Uncategorized @ 07 March 2021

I have an OrangePI Plus and the last time I used it was 2016, long long ago. I wanted to get it running again.

What I see is Raspbian group is making a great job for development. After flashing the focal distro I wanted to mount an external harddisk to my machine and start sharing files over it. In the past I turned my dummy printer to a smart one, anyway.

The hard part was adding a static IP to it but I came over it the easiest one I can. I created an sh file as root. I made it executable and added the following code in it.

ip addr add dev eth0
ip link set dev eth0 up

Then as root I edited the crontab to run this file. It is running super smooth right now.

Comments are closed.