Recently I switched to OpenWRT as my gateway to the Internet. It has been a great pleasure. Stock firmware of routers just sucks. With OpenWRT, I can ssh into it, install packages, a nice web interface, the configuration makes sense, super smooth and quick, ad blocking, VPN, so on and …
read moreOther articles
How to install openwrt on redmi ac2100
Redmi ac2100 is a pretty good router for home use, except that its rom is a "highly customized" openwrt which restrictions are too strict and I remember that several years ago xiaomi added some nasty "functionalities" into their router devices which can inject javascript int web pages users browse and …
read moreWhat to do when ssh hangs in terminal
I use ssh a lot. And I met this situation nearly every day: after waking laptop from sleep, I found that I didn't exit ssh connection before I close laptop lid, the ssh connection now hangs there.
I know this escape sequence(~.) before, but sometimes I found it not working …
read moreHow to install ansible on ubuntu 20.04 server
I am assuming your geo location is in China. Just copy-and-paste the following code into a bash script and execute it. It should work without any problem on a fresh installed ubuntu 20.04 server.
read more#!/usr/bin/env bash apt install python3-pip pip config set global.index-url https://mirrors.aliyun …How to get rid of "remote host key identification changed" for good
First of all, this is violating security rules, but anyway, you can do it.
Modify ~/.ssh/config like this:
Host raspberrypi HostName localhost UserKnownHostsFile=/dev/null StrictHostKeyChecking=noWhen experimenting with vms and if you are destroying and re-build vms frequently, you might see this warning messages a lot, so …
read more