Yet Another Needless Site

  • About Me

Linux

Stop /etc/resolv.conf from being updated automatically

Carrot 2023-11-18

Recently I realized that my changes to /etc/resolve.conf always got overwritten upon system reboot, after searching the web for a while I found the solution from StackExchange: Ubuntu 16.04 IfContinue reading

Restart nginx on failure endlessly on Debian

Carrot 2022-06-21

Today my server experienced an outage and restarted automatically. However, my blog didn’t go online after that. With a little invesitgation it immediately got obvious that the nginx failed toContinue reading

Build Linux 5.10 LTS for Phicomm N1

Carrot 2021-09-03

Recently I built Linux 5.10 LTS for my N1 box. Below are the patches I needed during the building process. TEXT_OFFSET Obsolete: See comments from justin below, it’s no longerContinue reading

Patch for blocking Thunder in transmission 3.00

Carrot 2021-08-30

I wrote a blog about blocking Thunder in tranmission-daemon 2.94. The patch does not apply cleanly on Transmission 3.00, so I update it here: — a/libtransmission/peer-mgr.c 2021-08-31 03:10:20.435836776 +0800 +++Continue reading

Decrease reload interval of transmission-web-control

Carrot 2021-08-30

By default transmission-web-control forces a default reload interval of 5 seconds, and a minimum of 3 seconds. As I’m not that into reducing bandwidth, I overrode the default behavior. DefaultContinue reading

Use address in “Routed IPv6 Prefixes” as default outbound address when using HE.net’s tunnel broker

Carrot 2019-12-01

By default Linux (randomly?) chooses “Client IPv6 Address” (given by HE.net) as source address for outbound connections. This can be inconvenient sometimes tough. To override this, it’s possible to addContinue reading

Default language is ignored in Transmission Web Control’s mobile page

Carrot 2019-04-07

Transmission Web Control allows setting default language in /usr/share/transmission/web/tr-web-control/config.js: system.config = $.extend(system.config, { // … // default language defaultLang: “en”, // … }); … but it won’t take effect inContinue reading

Add Apple Touch Icon for Transmission Web Control

Carrot 2019-04-07

Transmission Web Control is a gorgeous web UI for transmission-daemon. However, the default installation does not have an Apple Touch Icon. Meanwhile, the original control UI does come with anContinue reading

Allowing IPv6 traffic to device with dynamic routing prefix behind an ip6tables firewall

Carrot 2019-03-26

The first step would be somehow assign a static interface ID to the device. Although this should always be the case (even if your device enabled RFC4941 – Privacy ExtensionsContinue reading

Enabling RFC4941 via /etc/interfaces

Carrot 2019-03-26

From man interfaces: INET6 ADDRESS FAMILY This section documents the methods available in the inet6 address family. The auto Method […] Options privext int Privacy extensions (RFC4941) (0=off, 1=assign, 2=prefer)Continue reading

Posts pagination

1 2 3 »
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