Open11

NanoPi NEO3

RessRess
ln -sf /usr/share/zoneinfo/Japan /etc/localtime
vim /etc/locale.gen
locale-gen
echo LANG=en_US.UTF-8 > /etc/locale.conf
/etc/apt/sources.list
deb http://deb.debian.org/debian bullseye main contrib non-free
deb http://security.debian.org/debian-security bullseye-security main contrib non-free
deb http://deb.debian.org/debian bullseye-updates main contrib non-free
#deb-src http://deb.debian.org/debian bullseye main contrib non-free
#deb-src http://security.debian.org/debian-security bullseye-security main contrib non-free
#deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free
/etc/fstab
tmpfs /tmp tmpfs defaults,size=128m,noatime,mode=1777 0 0
tmpfs /var/tmp tmpfs defaults,size=128m,noatime,mode=1777 0 0
/etc/modules-load.d/bbr.conf
tcp_bbr
/etc/sysctl.d/bbr.conf
net.core.default_qdisc = cake
net.ipv4.tcp_congestion_control = bbr
/etc/sysctl.d/ipforward.conf
net.ipv4.ip_forward = 1
net.ipv6.conf.all.forwarding = 1
reboot
sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y
# 必要なものをインストール
sudo apt install curl ca-certificates apt-transport-https
RessRess

NTP

systemctl disable ntp
apt autoremove ntp ntpdate
apt install systemd-timesyncd
/etc/systemd/timesyncd.conf
NTP=ntp.nict.jp
FallbackNTP=ntp1.jst.mfeed.ad.jp ntp2.jst.mfeed.ad.jp ntp3.jst.mfeed.ad.jp
systemctl enable systemd-timesyncd
reboot
timedatectl set-ntp true
hwclock --systohc
RessRess

Network

/etc/systemd/network/dhcp.network
[Match]
Name=eth0

[Network]
DHCP=yes
/etc/systemd/resolved.conf
DNS=2606:4700:4700::1111#cloudflare-dns.com 1.1.1.1#cloudflare-dns.com
FallbackDNS=2001:4860:4860::8888#dns.google 8.8.8.8#dns.google
Cache=yes
apt install systemd-resolved
systemctl disable NetworkManager wpa_supplicant
systemctl enable systemd-networkd systemd-resolved
apt autoremove network-manager wpasupplicant bluez
RessRess

speedtest

curl -s https://packagecloud.io/install/repositories/ookla/speedtest-cli/script.deb.sh | sudo bash
sudo apt install speedtest
speedtest -s 48463 # IPA CyberLab 400G
RessRess
sudo apt-get purge $(dpkg -l | grep '^rc' | awk '{print $2}')
RessRess

約1ヶ月後に rk3328-sd-debian-bullseye-core-6.1-arm64-20230928.img が出たので更新

RessRess

rk3328-sd-debian-bookworm-core-6.1-arm64-20231213.img がリリースされたので更新

Debian 11 Bullseye から Debian 12 Bookworm に変更されたためaptのインストールソースファイルが更新

/etc/apt/sources.list
deb https://deb.debian.org/debian bookworm main non-free non-free-firmware contrib
deb https://security.debian.org/debian-security bookworm-security main
deb https://deb.debian.org/debian bookworm-backports main non-free non-free-firmware contrib
#deb https://mirrors.aliyun.com/debian bookworm main non-free non-free-firmware contrib
#deb-src https://mirrors.aliyun.com/debian bookworm main non-free non-free-firmware contrib
#deb https://mirrors.aliyun.com/debian-security bookworm-security main
#deb-src https://mirrors.aliyun.com/debian-security bookworm-security main
#deb https://mirrors.aliyun.com/debian bookworm-updates main non-free non-free-firmware contrib
#deb-src https://mirrors.aliyun.com/debian bookworm-updates main non-free non-free-firmware contrib
#deb https://mirrors.aliyun.com/debian bookworm-backports main non-free non-free-firmware contrib
#deb-src https://mirrors.aliyun.com/debian bookworm-backports main non-free non-free-firmware contrib