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