869 private links
A comprehensive guide on various types of linux virtual networking interfaces. keywords: vlan, vxlan, macvlan, ipvlan, macvtap, ipvtap, veth, vcan, vxcan, ipoib, nlmon, dummy interface, ifb.
Netfilter TPROXY target explained.
The part most interest me is how to use Linux network namespace to experiment with network layouts on the same machine.
This article talks about the default value for DefaultRestartSec is not sensible for use cases where you expect the service to restart indefinitely. Under the default setting, if your service could crash in 100ms, then it will only be restarted for around 1 second before systemd gives up.
- How to find the scancode of a key (evtest),
- And map it to some known keycode (setkeycodes).
A rather interesting short article on the tidbits in early Linux source code.
A guide on how to create a network namespace, bind interfaces, set routes, and run programs in it.
Tools and methods for investigating linux disk I/O.
Trick learned: echo w > /proc/sysrq-trigger
to show a stack trace in dmesg for tasks in uninterruptible sleep state. This is helpful to learn what the process is blocking on.
A detailed guide on how to use EWW, a modern and beautiful widget system (aka. bar) that runs both on Wayland and X11. EWW is written in Rust and based on GTK+, so I expect it easier to extend than Polybar.
The configuration is written using a s-expression language, world's best configuration language. From a glance, the configuration language also makes more sense than Polybar's. Widgets are composable, dynamic data/text interpolation fits organically.
Mostly unsatisfied with Polybar, I previously even want to write a bar software on my own. Now it seems that EWW suits all my needs. I will make a switch to EWW when I have more time to tinker around.
A nice series of articles explaining the internals of Linux resources - files, pipes, processes, sessions and terminals (tty), from the perspective of a SRE engineer.
An linux sandboxing tool with pledge() syntax by Justine Tunney, author of "actually portable executable" and "redbean".
Alternative to apparmor (kernel module) or bubblewrap (cgroup/namespace).
it's intended to dispel a few common myths and help regular people understand UEFI a bit better.
The article is a bit long, but it indeed contains a lot of information I actually wanted to know.
I learned a bit about how bluetooth low energy (BLE) works from this article.
A lot of Linux command line tips and tricks.
After installing on a usb stick, it can boot any iso files from the usb file system, without the need for dd or additional usb-boot maker tools. Looks quite interesting.
I learned some USB HID debugging utilities from this article. Saving it for later reference.
Linux server issues troubleshooting scenario game on a VM with root access. Looks fun to play. My server never finishes being created though, I guess it may have suffered from HN hug of death.
Wondered how fly.io works? Or how to use Firecracker?
The article explains how MicroVM works and how to use it via command line tools.
A curated (and comprehensive) list of broken things in Linux desktop from hardware, software to general usability defects.