Jump to content

Configure static IP by editing config file in boot partition?


Recommended Posts

Posted (edited)

Hi all, my first post here.

 

Just a short question - is it possible to configure static IP address before the first boot by editing some configuration file in boot partition?

 

I had to SSH to Orange Pi PC after installing Armbian_21.05.1_Orangepipc_buster_current_5.10.34.img in the network where there isn't DHCP and I set up the static IP address by connecting the SBC to the monitor and running nmtui. I could set the IP address by connecting the SBC directly to the computer by using LAN cable too but the easiest way would be if there is an option of configuring the static IP by editing some file in boot partition before the first boot.

Edited by chupo_cro
Posted
On 7/3/2021 at 8:32 PM, tparys said:

Perhaps look at /boot/armbian_first_run.txt.template ?

 

Sorry, I didn't see your answer before because notifications were off by the default.

 

That was exactly what I was looking for!! :-) Thank you very much! I did read all the documentation but I didn't notice the armbian_first_run.txt template to be mentioned.

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines