You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ file /dev/serial/by-id/usb-Linux_4.19.57-sunxi64_with_musb-hdrc_Gadget_Serial_v2.4-if00
/dev/serial/by-id/usb-Linux_4.19.57-sunxi64_with_musb-hdrc_Gadget_Serial_v2.4-if00: symbolic link to ../../ttyACM0
$ cu -l /dev/ttyACM0 -s 115200
(シリアルコンソールでの操作)
orangepizeroplus2 login: root
Password: # 1234## パスワード変更と一般ユーザー作成ウィザードが実行される
^D
orangepizeroplus2 login: user # 一旦抜けて一般ユーザーでログイン
Password:
Last login: Fri Jul 5 23:37:42 UTC 2019 on ttyGS0
___ ____ _ _____ ____ _ ____
/ _ \| _ \(_) |__ /___ _ __ ___ | _ \||_ _ ___ |___ \ |||||_) || / // _ \ '__/ _ \ | |_) | | | | / __| __) || |_| | __/| | / /| __/ | | (_) | | __/| | |_| \__ \ / __/ \___/|_| |_| /____\___|_| \___/ |_| |_|\__,_|___/ |_____|Welcome to Ubuntu Bionic with Armbian Linux 4.19.57-sunxi64System load: 0.03 0.06 0.08 Up time: 20 min Memory usage: 17 % of 481MB IP: CPU temp: 36°C Usage of /: 3% of 30G
armbian-config で色々設定
WiFi設定(nmtui): Network -> WiFi
TZ変更: Personal -> Timezone
Hostname変更: Personal -> Hostname
mDNS(avahi)有効化: System -> Avahi
$ sudo armbian-config
(ホストマシンで)SSH鍵転送
$ ssh-copy-id -o PubkeyAuthentication=no -i ~/.ssh/<yourkey.rsa><user>@<host>
$ vi ~/.ssh/config
Host opiz2h5
Hostname <host>
User <user>
IdentityFile ~/.ssh/<yourkey.rsa>
$ ssh opiz2h5
(OPiで)
$ sudo vi /etc/ssh/sshd_config
PasswordAuthentication no
$ sudo systemctl reload sshd
オンボードeMMC(8GiB)へのインストール
$ sudo armbian-config # System -> Install -> Boot from eMMC