Category Archives: Linux

IPsec on Debian Bookworm with Swanctl

Strongswan-swanctl introduces the new configuration format for IPsec on Debian Bookworm. Unfortunately the configuration is more convoluted. Start by installing charon-systemd, which will bring in the required packages: sudo apt install charon-systemd Key component packages: Example road-warrior config shown below, using IKEv2 with a certificate to authenticate the server and a user ID and password … Continue reading IPsec on Debian Bookworm with Swanctl

Rename a user in Linux

If you have a single user account it is not possible to rename the user login name whilst logged on. To do so use cron to run the necessary commands. Create a script with the required commands: nano /usr/local/bin/rename_user # First rename the user login: /usr/sbin/usermod –login newlogin oldlogin # Second rename the group account: … Continue reading Rename a user in Linux

Making Weston a Usable Wayland Desktop

Weston is the reference compositor for Wayland, the replacement to X11 desktop. In default layout Weston is not a user friendly desktop for those used to a traditional PC desktop. Follow the steps below to make it feel more familiar: apt install weston apt install xwayland apt install wlogout ~/.config/weston.ini: [core] xwayland=true [shell] background-image=/home/user/Pictures/Wallpapers/Wallpaper.jpg background-color=0xff002244 … Continue reading Making Weston a Usable Wayland Desktop

PXE Booting Guide

Configure DHCP ServerConfiguration below is for isc-dhcp-server on Linux: # For hardware LAN Boot ROMs:option tftp-server-address 192.168.1.200;filename “pxelinux.0”;# For HyperV Guests:# option 60 = client identifieroption dhcp-client-identifier “PXEClient”;# option 66 = TFTP server nameoption tftp-server-name “192.168.1.200”;# option 67 = Bootfile nameoption bootfile-name “pxelinux.0”; 2. Configure TFTP ServerOn Linux, tftp-hpa is recommended, with a directory structure … Continue reading PXE Booting Guide