DDNS 工具——godns

不少家庭宽带都会分配公网 IP,但是基本都是重新拨号后会发生改变。DDNS 能很好地解决这个问题,而 godns 这个轻量的程序就能简便地实现这一解决方案。...

九月 5, 2017 · 1 分钟 · hguandl

路由器安装使用 S5

原文 https://cokebar.info/archives/664 https://cokebar.info/archives/850 使用作者提供的软件源安装及更新 http://openwrt-dist.sourceforge.net 使用计划任务检测连接状态 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 #!/bin/sh LOGTIME=$(date "+%Y-%m-%d %H:%M:%S") wget --spider --quiet --tries=1 --timeout=10 https://www.facebook.com/ if [ "$?" == "0" ]; then echo '['$LOGTIME'] No Problem.' exit...

九月 5, 2017 · 1 分钟 · hguandl

Homebrew autoremove 清理依赖

原链接 Uninstall / remove a Homebrew package including all its dependencies The issue is now solved using an external command called brew rmdeps or brew rmtree. To install and use, issue the following commands: 1 2 $ brew tap beeftornado/rmtree $ brew rmtree <package> See the above link for more information and discussion.

九月 5, 2017 · 1 分钟 · hguandl

SSH 的妙用——反向连接和隧道代理

SSH 是神器 如题,就是这样。就从最常用的远程连接主机的功能来说,已经足以称为神器了。这次介绍的反向连接和隧道代理功能,还能让其实用性更上一层楼。...

八月 16, 2017 · 1 分钟 · hguandl

n2n 的交叉编译(用于 Openwrt)

前情提要可以看 n2n 的简单介绍。显然这个内网穿透应用需要长期在线运行,而为了能远程访问,最常见的能安心放在学校等地 24x7 运行的设备就是路由器或是树莓...

八月 12, 2017 · 2 分钟 · hguandl