Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document how to use armbian_first_run.txt #116

Open
lanefu opened this issue Nov 28, 2020 · 3 comments
Open

Document how to use armbian_first_run.txt #116

lanefu opened this issue Nov 28, 2020 · 3 comments

Comments

@lanefu
Copy link
Member

lanefu commented Nov 28, 2020

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

@EvilOlaf
Copy link
Member

Isn't there an example file somewhere anyways?

@igorpecovnik
Copy link
Member

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

@lanefu
Copy link
Member Author

lanefu commented Aug 15, 2021

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

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants