Setting up PTR records (rDNS) for IPv6 address from HE.net’s Tunnel Broker

I used to use Client IPv6 Address for AAAA record of my domain, but the PTR record for that address is pretty weird:

… and there seems not aContinue reading

WP Super Cache won’t cache pages other than home page

In WP Super Cache’s configuration tab “Advance”, it shows:

And by default (at least for my configuration) WordPress sets Permalink as /index.php/%year%/%monthnum%/%day%/%postname%/. Hence all the posts are “rejected” accordingContinue 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