Jump to content

Headless Installation Orange Pi Zero and Opi 2


Guest

Recommended Posts

Hi

 

Somehow iam not able to sucessfull setup a headless installation. I tested it with Orange Pi Zero (256mb rm) and Opi 2. I used the Armbian Stretch Image from the website, flashed it with Etcher. Modified before the first boot, the file /boot/armbian_first_run.txt.template to /boot/armbian_first_run.txt (and the content in it).

 

#-----------------------------------------------------------------
# Armbian first run configuration
# Set optional end user configuration
#	- Rename this file from /boot/armbian_first_run.txt.template to /boot/armbian_first_run.txt
#	- Settings below will be applied only on 1st run of Armbian
#-----------------------------------------------------------------

#-----------------------------------------------------------------
# General:
# 1 = delete this file, after first run setup is completed.

FR_general_delete_this_file_after_completion=1

#-----------------------------------------------------------------
#Networking:
# Change default network settings
# Set to 1 to apply any network related settings below

FR_net_change_defaults=0

# Enable WiFi or Ethernet.
#	NB: If both are enabled, WiFi will take priority and Ethernet will be disabled.

FR_net_ethernet_enabled=1
FR_net_wifi_enabled=1

#Enter your WiFi creds
#	SECURITY WARN: Your wifi keys will be stored in plaintext, no encryption.

FR_net_wifi_ssid='Test'
FR_net_wifi_key='Test1'

#	Country code to enable power ratings and channels for your country. eg: GB US DE | https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2

FR_net_wifi_countrycode='DE'

#If you want to use a static ip, set it here

FR_net_use_static=0
FR_net_static_ip='192.168.0.100'
FR_net_static_mask='255.255.255.0'
FR_net_static_gateway='192.168.0.1'
FR_net_static_dns='8.8.8.8 8.8.4.4' #2 entries max, seperated by a space.
#-----------------------------------------------------------------

 

When i start one of the devices, they never connect to the router (no matter how long i wait)

 

Do i have to specify anything from the last branch (static ip...) if i have dhcp on in my router (i dont think so). Should i write the wifi keys in '' or just plain text?

 

I connected the OPi 2 to a display and keyboard than i was able to connect him manually to my Wifi. But the config file seems simply not to work.

Link to comment
Share on other sites

This method might not work at present images for download but it has been fixed. If you start with your own image, it should work.

 

BTW. There is a serial console via USB port. Just connect to your USB3(to make sure you get enough power) port and power the board.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines