projekte:banana-pro:start
Inhaltsverzeichnis
LeMaker Banana Pro
Writing the OS image to a SD card
# Linux example: /dev/sdx is your sd card device sudo dd bs=1M if=filename.raw of=/dev/sdx sudo sync sudo umount /dev/sdx
Change /dev/sdx
to your sd card device (don't specify a partition like /dev/sdx1. dd will write the image to your sd card but the result is a broken boot medium).
First steps in Armbian
Default user: root
Password: 1234
Armbian request to create a new user and change the default password for root on the first startup.
sudo su dpkg-reconfigure keyboard-configuration dpkg-reconfigure locales dpkg-reconfigure tzdata reboot apt-get update apt-get upgrade
Change hostname from bananapipro
to a custom name.
sudo su # edit /etc/hostname nano /etc/hostname #edit /etc/hosts and change all "bananapipro" to your new hostname nano /etc/hosts #old: #127.0.0.1 localhost bananapipro #::1 localhost bananapipro ip6-localhost ip6-loopback #new: 127.0.0.1 localhost myhostname ::1 localhost myhostname ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters # restart the system reboot
Update ssh keys
sudo rm /etc/ssh/ssh_host_* sudo dpkg-reconfigure openssh-server
Disable ssh root login
sudo nano /etc/ssh/sshd_config # alter option PermitRootLogin no AllowUsers <user1> <user2> <user3>
projekte/banana-pro/start.txt · Zuletzt geändert: 2016/04/19 03:48 von daniel