Yet Another Needless Site

  • About Me

Linux

update-initramfs fails to include fsck in initrd

Carrot 2019-02-17

update-initramfs reports the following warning when generating initrd.img: Warning: couldn’t identify filesystem type for fsck hook, ignoring. To identify filesystem type of /, update-initramfs requires device of / listed inContinue reading

Patch for compiling Linux for meson

Carrot 2019-02-02

Yes it’s the patch metioned in [v2,0/6] ARM64: meson: GXBaby (S905) and Vega S95 enablement. You might also would like to take a look at how did I build DebianContinue reading

Increase initcwnd on Debian

Carrot 2019-01-27

In case of high latency link, a too small initcwnd could degrade performance, as it may take a while for throughput to increase to its maximum. Increasing initcwnd could mitigateContinue 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

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

Transparently proxy all traffic from ocserv using socks proxy

Carrot 2018-12-16

Assign a unique network address to clients of ocserv by setting ipv4-network = x.x.x.x/24 in /etc/ocserv/ocserv.conf (or some file in /etc/ocserv/config-by-xxx/). Set up iptables to redirect traffic originated from thisContinue reading

Setting up OpenConnect Server on Ubuntu

Carrot 2018-12-09

Several points to note: Listening port cannot be set in /etc/ocserv.conf, instead, set them in //etc/systemd/system/ocserv.socket.d/port.conf. e.g.: [Socket] ListenDatagram= ListenStream=12345 Leaving the value as empty prevents ocserv from using thatContinue 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