Yet Another Needless Site

  • About Me

Carrot

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

Carrot 2019-01-27

I used to use Client IPv6 Address for AAAA record of my domain, but the PTR record for that address is pretty weird: # ping isolated.site PING isolated.site(TB.tunnel.tserv15.lax1.ipv6.he.net (2001:db8:a::2)) 56Continue reading

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

Carrot 2019-01-19

In WP Super Cache’s configuration tab “Advance”, it shows: Add here strings (not a filename) that forces a page not to be cached. For example… wp-.*\.php index\.php And by defaultContinue reading

Specifying kernel image name in uEnv.ini

Carrot 2019-01-18

emmc_autoscript shipped with Armbian hardcoded the kernel image as zImage. That can be convenient for users who do not compile their own kernel. But for those who want to compileContinue reading

Get wireless working on N1

Carrot 2019-01-13

Phicomm N1 uses BCM4345/6. The driver for that chip should come with kernel and needs no extra steps. It’s the firmware that is missing. Hence the firmware should be installedContinue reading

Shorten the lifetime of IPv6 prefixes announced by radvd

Carrot 2019-01-08

This helps when the prefix is dynamic (allocated by ISP dynamically, for example). See also: radvd.conf(5) – Linux man page interface br0 { prefix ::/64 { # … other stuffsContinue reading

Integrate Crayon highlighter with Markdown Editor in WordPress

Carrot 2019-01-05

Two things have to be changed: We have to move language specifier from <code class= to <pre lang=. The newline at the end of code block needs to be removed.Continue reading

samba does not listen on specified address after reboot in Debian

Carrot 2019-01-01

Applying the following patch (copied from the same file in Ubuntu 18.10) to /etc/dhcp/dhclient-enter-hooks.d/samba solved the problem: — ./samba 2019-01-01 00:00:00.000000000 +0800 +++ ./samba.patched 2019-01-01 00:00:00.000000000 +0800 @@ -68,7 +68,18Continue reading

Update /boot/uInitrd automatically after update-initramfs

Carrot 2019-01-01

Put the following to /etc/initramfs/post-update.d/99-uInitrd, and chmod +x to make it executable: #!/bin/sh set -e # $1 = version, $2 = full path to initrd.img-xxx echo “update-initramfs: Converting to /boot/uInitrd”Continue reading

Built Debian 9 (4.20 kernel) for my N1 box

Carrot 2018-12-31

Cross build Debian 9 for N1 This is what the box finally looks like: $ ssh root@1.1.1.2 Linux n1-box 4.20.0 #2 SMP PREEMPT Mon Dec 31 12:00:00 UTC 2018 aarch64Continue reading

Block Thunder from connecting to transmission-daemon on Debian

Carrot 2018-12-25

Transmission is using a weird indent.. Patch Patched upon transmission-daemon 2.94-1. — a/libtransmission/peer-mgr.c 2018-01-01 00:00:00.000000000 +0000 +++ b/libtransmission/peer-mgr.c 2018-01-01 00:00:00.000000000 +0000 @@ -1939,6 +1939,19 @@ tr_peerMsgsUpdateActive (msgs, TR_DOWN); } +staticContinue reading

Posts pagination

« 1 2 3 4 5 6 7 »
Recent Posts
  • Stop /etc/resolv.conf from being updated automatically
  • My first take on C++ coroutines
  • Restart nginx on failure endlessly on Debian
  • Packing / unpacking FP32s as BFloat16s with AVX2 (truncating)
  • Build Linux 5.10 LTS for Phicomm N1
Categories
  • Linux
  • N1
  • Network
  • Programming
  • Router
  • U-Boot
  • Uncategorized
  • VPS
  • Website
Recent Comments
  • Carrot on Boot Phicomm N1 without emmc_autoscript / s905_autoscript
  • Carrot on Boot Phicomm N1 without emmc_autoscript / s905_autoscript
  • Justin on Boot Phicomm N1 without emmc_autoscript / s905_autoscript
  • Justin on Boot Phicomm N1 without emmc_autoscript / s905_autoscript
  • Anonymous on Boot Phicomm N1 without emmc_autoscript / s905_autoscript
Meta
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Copyright 2025 Yet Another Needless Site | Designed by CodeGearThemes

Powered by WordPress