Orange Pi Zero 2W - Debian

Hardware info on main page.

Links

History

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: mmcblk1p1 - 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: mmcblk1p1 - 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: mmcblk1p1 - 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: mmcblk1p1 - 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: mmcblk1p1 - 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 cshow that the wired and lo interfaces are enabled, but obviously I don't have a connection for the ethernet.

nmcli r wifisays 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.