Orange Pi Zero 2W - Debian
Hardware info on main page.
Links
local links
c2,
History
2025-01-26: mmcblk0p1 - reboot, Debian 12.9 is in
tingo@orangepizero2w:~$ cat /etc/debian_version 12.9
the kernel is unchanged
tingo@orangepizero2w:~$ uname -a Linux orangepizero2w 6.1.31-sun50iw9 #1.0.0 SMP Wed Sep 13 12:17:27 CST 2023 aarch64 GNU/Linux
2025-01-26: mmcblk0p1 - apt - upgrade
tingo@orangepizero2w:~$ sudo apt upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: avahi-autoipd avahi-daemon avahi-utils base-files bsdextrautils bsdutils containerd.io dnsmasq dnsmasq-base docker-ce docker-ce-cli fdisk libavahi-client3 libavahi-common-data libavahi-common3 libavahi-core7 libblkid1 libfdisk1 libglib2.0-0 libglib2.0-bin libglib2.0-data libgstreamer1.0-0 libmount1 libnfsidmap1 libnss-myhostname libpam-systemd libpython3.11-minimal libpython3.11-stdlib libsmartcols1 libsystemd-shared libsystemd0 libudev1 libuuid1 linux-libc-dev mount nfs-common openssh-client openssh-server openssh-sftp-server python3-pkg-resources python3.11 python3.11-minimal rfkill systemd systemd-sysv tzdata ucf udev util-linux util-linux-extra 50 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 75.2 MB of archives. After this operation, 2,898 kB of additional disk space will be used. [..] rescue-ssh.target is a disabled or a static unit not running, not starting it. ssh.socket is a disabled or a static unit not running, not starting it. [..] auth-rpcgss-module.service is a disabled or a static unit not running, not starting it. nfs-idmapd.service is a disabled or a static unit not running, not starting it. nfs-utils.service is a disabled or a static unit not running, not starting it. proc-fs-nfsd.mount is a disabled or a static unit not running, not starting it. rpc-gssd.service is a disabled or a static unit not running, not starting it. rpc-statd.service is a disabled or a static unit not running, not starting it. rpc-svcgssd.service is a disabled or a static unit not running, not starting it. var-lib-nfs-rpc_pipefs.mount is a disabled or a static unit not running, not starting it. Setting up docker-ce (5:27.5.1-1~debian.12~bookworm) ... docker.service is a disabled or a static unit not running, not starting it. [..] Processing triggers for initramfs-tools (0.142+deb12u1) ... update-initramfs: Generating /boot/initrd.img-6.1.31-sun50iw9 update-initramfs: Converting to u-boot format Processing triggers for libc-bin (2.36-9+deb12u9) ... Processing triggers for man-db (2.11.2-2) ...
2025-01-26: mmcblk0p1 - lsblk info
tingo@orangepizero2w:~$ lsblk -f NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS mtdblock0 mmcblk0 └─mmcblk0p1 ext4 1.0 opi_root 8ced962c-feb0-4f44-96e8-89e0bedcf35a 12.3G 13% /var/log.hdd / zram0 [SWAP] zram1 14.6M 61% /var/log zram2
2025-01-26: c2 - I had been unable to ssh into the machine for a few weeks, so I simply powered it off and on again. Now it is back online
tingo@kg-core2:~ $ ssh orangepizero2w.local ___ ____ ___ _____ ______ __ / _ \| _ \_ _| |__ /___ _ __ ___|___ \ \ / / | | | | |_) | | / // _ \ '__/ _ \ __) \ \ /\ / / | |_| | __/| | / /| __/ | | (_) / __/ \ V V / \___/|_| |___| /____\___|_| \___/_____| \_/\_/ Welcome to Orange Pi 1.0.0 Bookworm with Linux 6.1.31-sun50iw9 System load: 26% Up time: 3 min Local users: 2 Memory usage: 4% of 3.84G IP: 10.1.161.14 CPU temp: 49°C Usage of /: 14% of 15G [ General system configuration (beta): orangepi-config ] tingo@orangepizero2w:~$
for some reason, mdns is not working correctly from the machine itself
tingo@orangepizero2w:~$ hostname orangepizero2w tingo@orangepizero2w:~$ ping orangepizero2w.local ping: orangepizero2w.local: Name or service not known
from another machine
tingo@kg-core2:~ $ ping orangepizero2w.local PING orangepizero2w.local (10.1.161.14): 56 data bytes 64 bytes from 10.1.161.14: icmp_seq=0 ttl=64 time=1.157 ms 64 bytes from 10.1.161.14: icmp_seq=1 ttl=64 time=1.117 ms ^C --- orangepizero2w.local ping statistics --- 2 packets transmitted, 2 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 1.117/1.137/1.157/0.020 ms
oh well.
2024-11-24: mmcblk0p1 - reboot, Debian 12.8 is in
tingo@kg-core2:~ $ ssh orangepizero2w.local ___ ____ ___ _____ ______ __ / _ \| _ \_ _| |__ /___ _ __ ___|___ \ \ / / | | | | |_) | | / // _ \ '__/ _ \ __) \ \ /\ / / | |_| | __/| | / /| __/ | | (_) / __/ \ V V / \___/|_| |___| /____\___|_| \___/_____| \_/\_/ Welcome to Orange Pi 1.0.0 Bookworm with Linux 6.1.31-sun50iw9 System load: 33% Up time: 0 min Memory usage: 4% of 3.84G IP: 10.1.161.14 CPU temp: 55°C Usage of /: 14% of 15G
debian
tingo@orangepizero2w:~$ cat /etc/debian_version 12.8
kernel
tingo@orangepizero2w:~$ uname -a Linux orangepizero2w 6.1.31-sun50iw9 #1.0.0 SMP Wed Sep 13 12:17:27 CST 2023 aarch64 GNU/Linux
2024-11-24: mmcblk0p1 - apt - upgrade
tingo@orangepizero2w:~$ sudo apt upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: base-files bash bind9-dnsutils bind9-host bind9-libs bluetooth bluez bsdextrautils bsdutils btrfs-progs containerd.io curl distro-info-data dnsutils docker-ce docker-ce-cli fdisk git git-man hostapd initramfs-tools initramfs-tools-core iputils-arping iputils-ping less libblkid1 libbluetooth3 libc-bin libc-dev-bin libc-l10n libc6 libc6-dev libcurl3-gnutls libcurl4 libexpat1 libfdisk1 libglib2.0-0 libglib2.0-bin libglib2.0-data libgnutls30 libgssapi-krb5-2 libk5crypto3 libkrb5-3 libkrb5support0 libmount1 libndp0 libnghttp2-14 libnss-myhostname libntfs-3g89 libpam-systemd libpython3.11-minimal libpython3.11-stdlib libseccomp2 libsmartcols1 libsqlite3-0 libssl-dev libssl3 libsystemd-shared libsystemd0 libudev1 libuuid1 libuv1 linux-libc-dev locales mount nano ntfs-3g openssh-client openssh-server openssh-sftp-server openssl python-is-python3 python3-cryptography python3-software-properties python3.11 python3.11-minimal rfkill software-properties-common systemd systemd-sysv u-boot-tools udev util-linux util-linux-extra wpasupplicant zsh 86 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 110 MB of archives. After this operation, 4,328 kB of additional disk space will be used. Do you want to continue? [Y/n] y [..] Setting up dnsutils (1:9.18.28-1~deb12u2) ... Processing triggers for cracklib-runtime (2.9.6-5+b1) ... Processing triggers for dbus (1.14.10-1~deb12u1) ... Processing triggers for debianutils (5.7-0.5~deb12u1) ... Processing triggers for libc-bin (2.36-9+deb12u9) ... Processing triggers for man-db (2.11.2-2) ... Processing triggers for initramfs-tools (0.142+deb12u1) ... update-initramfs: Generating /boot/initrd.img-6.1.31-sun50iw9 update-initramfs: Converting to u-boot format
2024-11-24: unable to ssh into the machine today (either with mdns name or ip address), so I rebooted it. Now I can ssh in again
tingo@kg-core2:~ $ ssh orangepizero2w.local ___ ____ ___ _____ ______ __ / _ \| _ \_ _| |__ /___ _ __ ___|___ \ \ / / | | | | |_) | | / // _ \ '__/ _ \ __) \ \ /\ / / | |_| | __/| | / /| __/ | | (_) / __/ \ V V / \___/|_| |___| /____\___|_| \___/_____| \_/\_/ Welcome to Orange Pi 1.0.0 Bookworm with Linux 6.1.31-sun50iw9 System load: 25% Up time: 6 min Local users: 3 Memory usage: 4% of 3.84G IP: 10.1.161.14 CPU temp: 50°C Usage of /: 14% of 15G Last login: Sun Nov 24 13:09:32 2024 from 10.1.150.52
I do not know why it goes down.
2024-09-21: mmcblk0p1 - apt - install avahi-utils
tingo@orangepizero2w:~$ sudo apt install avahi-utils Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: avahi-daemon libavahi-client3 libavahi-common-data libavahi-common3 libavahi-core7 Recommended packages: libnss-mdns The following NEW packages will be installed: avahi-daemon avahi-utils libavahi-client3 libavahi-common-data libavahi-common3 libavahi-core7 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. Need to get 410 kB of archives. After this operation, 1,949 kB of additional disk space will be used. [..] Setting up avahi-utils (0.8-10) ... Processing triggers for dbus (1.14.10-1~deb12u1) ... Processing triggers for libc-bin (2.36-9+deb12u4) ... Processing triggers for man-db (2.11.2-2) ...
2024-09-21: mmcblk0p1 - the machine is back up again
tingo@kg-core2:~ $ ssh 10.1.161.14 ___ ____ ___ _____ ______ __ / _ \| _ \_ _| |__ /___ _ __ ___|___ \ \ / / | | | | |_) | | / // _ \ '__/ _ \ __) \ \ /\ / / | |_| | __/| | / /| __/ | | (_) / __/ \ V V / \___/|_| |___| /____\___|_| \___/_____| \_/\_/ Welcome to Orange Pi 1.0.0 Bookworm with Linux 6.1.31-sun50iw9 System load: 27% Up time: 2 min Local users: 2 Memory usage: 4% of 3.84G IP: 10.1.161.14 CPU temp: 47°C Usage of /: 13% of 15G
2024-06-16: mmcblk0p1 - reboot, Debian 12.5 is in
tingo@orangepizero2w:~$ cat /etc/debian_version 12.5
kernel
tingo@orangepizero2w:~$ uname -a Linux orangepizero2w 6.1.31-sun50iw9 #1.0.0 SMP Wed Sep 13 12:17:27 CST 2023 aarch64 GNU/Linux
2024-06-16: mmcblk0p1 - change timezone
tingo@orangepizero2w:~$ sudo dpkg-reconfigure tzdata Current default time zone: 'Europe/Oslo' Local time is now: Sun Jun 16 10:38:01 CEST 2024. Universal Time is now: Sun Jun 16 08:38:01 UTC 2024.
2024-06-16: mmcblk0p1 - apt - upgrade
tingo@orangepizero2w:~$ sudo apt upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: base-files bind9-dnsutils bind9-host bind9-libs bluetooth bluez containerd.io curl dbus dbus-bin dbus-daemon dbus-session-bus-common dbus-system-bus-common debian-archive-keyring debianutils distro-info-data dnsutils docker-ce docker-ce-cli libbluetooth3 libc-bin libc-dev-bin libc-l10n libc6 libc6-dev libcryptsetup12 libcurl3-gnutls libcurl4 libdbus-1-3 libgnutls30 libgssapi-krb5-2 libisl23 libk5crypto3 libkrb5-3 libkrb5support0 libnftables1 libnghttp2-14 libnss-myhostname libpam-modules libpam-modules-bin libpam-runtime libpam-systemd libpam0g libperl5.36 libssl-dev libssl3 libsystemd-shared libsystemd0 libudev1 linux-libc-dev locales openssh-client openssh-server openssh-sftp-server openssl openvpn perl perl-base perl-modules-5.36 python3-distro-info systemd systemd-sysv tar tzdata udev usbutils usrmerge 67 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 94.2 MB of archives. After this operation, 11.2 MB of additional disk space will be used. [..] update-initramfs: Generating /boot/initrd.img-6.1.31-sun50iw9 update-initramfs: Converting to u-boot format Processing triggers for libc-bin (2.36-9+deb12u4) ... Processing triggers for man-db (2.11.2-2) ...
2024-06-16: today I was unable to connect to wifi (using a local console for access), because nmcli d wifi list
didn't show any networks. In the end, I just had to reboot the machine.
Now nmcli shows
tingo@orangepizero2w:~$ nmcli d wifi list IN-USE BSSID SSID MODE CHAN RATE SIGNAL BARS SECURITY * 60:38:E0:0C:2C:51 kg6-5Ghz Infra 36 405 Mbit/s 0 ____ WPA2
2023-11-07: mmcblk0p1 - finally I can ssh into the machine
tingo@kg-core2:~ $ ssh 10.1.161.14 ___ ____ ___ _____ ______ __ / _ \| _ \_ _| |__ /___ _ __ ___|___ \ \ / / | | | | |_) | | / // _ \ '__/ _ \ __) \ \ /\ / / | |_| | __/| | / /| __/ | | (_) / __/ \ V V / \___/|_| |___| /____\___|_| \___/_____| \_/\_/ Welcome to Orange Pi 1.0.0 Bookworm with Linux 6.1.31-sun50iw9 System load: 28% Up time: 1:20 Local users: 2 Memory usage: 4% of 3.84G IP: 10.1.161.14 CPU temp: 54°C Usage of /: 14% of 15G [ 0 security updates available, 1 updates total: apt upgrade ] Last check: 2023-09-13 04:20 [ General system configuration (beta): orangepi-config ] Last login: Tue Nov 7 22:14:48 2023 from 10.1.150.52
2023-11-07: mmcblk1p1 - users - I changed the default passwords for the orangepi and the root account, then I created my own user and added it to the same groups as the orangepi user.
2023-11-07: mmcblk1p1 - wireless connection. Using
nmcli d wifi connect <SSID> password <password>
I can connect to my wireless network. afterwards,
nmcli c
shows that wifi wlan0 is connected, and ip a
shows that I have an ip address.
2023-11-07: mmcblk1p1 - first bootup. The machine autologins as the orangepi user, which has sudo rights.
nmcli c
show that the wired and lo interfaces are enabled, but obviously I don't have a connection for the ethernet.
nmcli r wifi
says that the wifi radio is enabled.
nmcli d status
shows that wlan0 is disconnected, and p2p-dev-wlan0 is disconnected, and end0 (ethernet) is unavailable.
nmcli d wifi
lists available networks
2023-11-07: I created this page.