3.4 KiB
OpenSUSE
Enable Bluetooth pairing on boot
- enable the
bluetoothservice on boot - install
bluez-auto-enable-devices; this will create the configuration file/etc/bluetooth/main.conf
Also see specific settings in the Bluetooth KB.
Enable SSH access from outside after installation
Open port 22 on the firewall:
-
using Yast:
- open Yast2 > Firewall
- make sure your interfaces are appointed to the External zone
- check ssh is in the Allowed services column and add it to the list if not
- save the configuration and exit (make sure the firewall is reloaded on exit)
-
using firewall-cmd on the command line:
sudo firewall-cmd --add-port=22/tcp --permanent
Start the SSH daemon:
-
using Yast: open Yast2 > System services and enable SSHD
-
using systemctl on the command line:
sudo systemctl enable --now sshd.service
Raspberry Pi
Install the OS from another computer capable of reading and writing SD cards.
Given /dev/sdb being a SD card, use the following:
curl -C - -L -o opensuse.raw.xz http://download.opensuse.org/ports/aarch64/tumbleweed/appliances/openSUSE-Tumbleweed-ARM-JeOS-raspberrypi.aarch64.raw.xz
xzcat opensuse.raw.xz \
| sudo dd bs=4M of=/dev/sdb iflag=fullblock oflag=direct status=progress \
&& sync
Insert the SD card in the Raspberry Pi and power it on. The network is configured to get an IP address on eth0 using DHCP.
Connect using SSH and login using root:linux.
Firmware update from a running system
# Check for an updated firmware.
sudo rpi-eeprom-update
# Install the new version and reboot.
sudo rpi-eeprom-update -a && sync && reboot
Rollback from a bootable snapshot
Do as follows:
-
boot the system
-
in GRUB's boot menu, choose Bootable snapshots
-
select the snapshot you want to boot into; the list of snapshots is listed by date, the most recent snapshot being listed first
-
log in to the system
-
carefully check whether everything works as expected
You cannot write to any directory that is part of the snapshot. Data you write to other directories will not get lost, regardless of what you do next.
Depending on whether you want to perform the rollback or not, choose your next step:
-
if the system is in a state where you do not want to do a rollback, reboot and boot again into a different snapshot, or start the rescue system.
-
to perform the rollback, run
sudo snapper rollbackand reboot
On the boot screen, choose the default boot entry to reboot into the reinstated system.
A snapshot of the file system status before the rollback is created, and the default subvolume for root will be replaced with a fresh read-write snapshot.