documentation icon indicating copy to clipboard operation
documentation copied to clipboard

Document how to use armbian_first_run.txt

Open lanefu opened this issue 5 years ago • 5 comments

Great for reconfiguring wifi, static network etc. nothing in docs

lanefu avatar Nov 28 '20 20:11 lanefu

Isn't there an example file somewhere anyways?

EvilOlaf avatar Aug 12 '21 05:08 EvilOlaf

No idea - i never used this. Its a community addition.

igorpecovnik avatar Aug 12 '21 06:08 igorpecovnik

here's how I do it from customize_image.sh

but user could mount image and do the same

cat > /boot/armbian_first_run.txt << EOL
FR_net_change_defaults=1

# 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='MY_NETWORK'
FR_net_wifi_key='MY_NETWWORK_PASSWORD'

#       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='US'

EOL

}

lanefu avatar Aug 15 '21 21:08 lanefu