update-initramfs fails to include fsck in initrd

update-initramfs reports the following warning when generating initrd.img:

To identify filesystem type of /, update-initramfs requires device of / listed in /etc/fstab. My rootfs is cross-debootstrapped in virtual machine,Continue reading

Shorten the lifetime of IPv6 prefixes announced by radvd

This helps when the prefix is dynamic (allocated by ISP dynamically, for example). See also: radvd.conf(5) – Linux man page

According to the man page above, AdvValidLifetime less thanContinue reading

samba does not listen on specified address after reboot in Debian

Applying the following patch (copied from the same file in Ubuntu 18.10) to /etc/dhcp/dhclient-enter-hooks.d/samba solved the problem:

Update /boot/uInitrd automatically after update-initramfs

Put the following to /etc/initramfs/post-update.d/99-uInitrd, and chmod +x to make it executable:

This is how update-initramfs -u looks like now:

Reference: Chapter 8. Package maintainer scripts and hooks.

Built Debian 9 (4.20 kernel) for my N1 box

Cross build Debian 9 for N1 This is what the box finally looks like:

It turns out to be quite easy.. Build the kernel Download the kernel source. DownloadContinue reading

Block Thunder from connecting to transmission-daemon on Debian

Transmission is using a weird indent.. Patch Patched upon transmission-daemon 2.94-1.

Install dependencies

Build & Install Be sure to stop transmission-daemon.service before installing the patched one. Extract tarballsContinue reading