Benjamin Italiaander / Topics / Hardware

YubiKeys, tape drives, serial cables and disks.

πŸ”§ Fix 2 notes
Fix a dead keyboard on a Fujitsu Lifebook U7410 after installing Fedora 36, with GRUB kernel options.
Fixes for common YubiKey problems on Linux: card not found, wrong SSH agent, locked PIN
Connect to the serial console of a Dell S4048 or Z9100 switch from Linux with Kermit.
Linux / Backup / Tape
First steps with tape drives and autoloaders on Linux: lsscsi, mt, mtx and the LTO-9 calibration warning.
Install Linux from USB on a Fujitsu Lifebook
Install GnuPG, pcscd and ykman, and make sure your YubiKey is detected
Replace every default PIN, PUK and management key before using your YubiKey
Store authenticator (TOTP) codes on your YubiKey and get them from the CLI or a rofi menu
Create an SSH key that lives on your YubiKey using FIDO2 (ed25519-sk)
Encrypt files with age using keys stored in the YubiKey's PIV application
Use your YubiKey for sudo, desktop (GDM) and TTY login with pam_u2f on Ubuntu and Fedora
Unlock your encrypted disk with your YubiKey at boot, and sign your Git commits with an SSH key on the YubiKey.
A chapter-by-chapter guide to setting up and using a YubiKey from the Linux CLI (Debian/Ubuntu and Fedora)
The GnuPG commands I use most with a YubiKey: the card menu, key status and editing the card.
Give a Linux user access to serial devices such as /dev/ttyUSB0 with the dialout group.
Benchmark how fast a (network) disk handles large files and many small files with dd, split and rsync.

Other topics

All topics and genres β†’