Put jail’s /tmp to memory
1. Settings 2. in Jail’s /etc/rc.conf
1. Settings 2. in Jail’s /etc/rc.conf
群暉默认未加载 IPset 模块,造成docker中安装openwrt的SSR工作异常. 经分析是ddns2tcp功能错误,无法正确转发dns到外网. 小飞机无法起飞.指定网关到旁路后也无法上网. 系统日志中报:: failed to create IPset control socket: Protocol not supported. 最后使用虚拟机安装openwrt解决. 浪费不少时间,记录一下.
设置 sudo route add default gw 192.168.21.2 查看 ip route sudo route add -net 10.200.200.0 netmask 255.255.255.0 gw 192.168.0.1
昨天晚上,因为要屏避某个软件远程联网,打开防火墙日志看了下,发现好多explorer的网络请求,远程端口一直是50051,50052,50053,网上查下了,是企业微信插件的问题,下载脚本,反注册后,现象就消失了,大厂的软件也不行啊,难道是测试人员被优化了? 修复脚本下载
首先复制一份配置文件做备份,用cp命令就可以了。 然后去除注释: cat squid.conf | grep -v “#” >> squid.conf.new -v:是反选,除了带“#”的行都重定向到新文件squid.conf.new中,做完了cat下看看是否正确。 第三步是去除空行: cat squid.conf.new | tr -s ‘\n’
AOSP issue tracker上有人指出原来设置名 captive_portal_server 已经在7.1.1中改为captive_portal_https_url, captive_portal_http_url和captive_portal_fallback_url。 使用的generate_204网址的命令如下: adb shell “settings put global captive_portal_http_url http://app.paiho.cn/generate_204″adb shell “settings put
Mac won’t follow symbolic links in SMB share 使用MAC連接到基於samba服務的共享時,如果目錄是通過符號連接(ln -s)的,則顯示快捷方式,無法打開,經google發現關掉smb.conf中的“unix extensions = no”就可以了。 “unix extensions = no” FTW!! Thanks guys! That did it!! I’ll still probably go ahead get Samba upgraded. Seems like the logi
安卓7改用访问 connectivitycheck.gstatic.com/generate_204 这个网址,而这个网址如字面所说,会产生一个 http 204 返回值。204返回值的意思就是空内容。 然而这就导致了如果简单的屏蔽掉这个函数的功能,那么就没有办法自动提示登录了,但是如果不屏蔽掉那么这个网址被墙掉了,因此会有一个难看的感叹号。想来想去我想到了一个曲线救国的办法,那就是我们把这个网址改成国内的网址不就可以了?我们自己搭一个服务器,来产生这个204返回值给它,问题不就迎刃而解了吗?那么下面就给出解决方法(无需root): 1.完全屏蔽网络检查功能,最简单快速,但是就没有办法提
当用ntpdate -d 来查询时会发现导致 no server suitable for synchronization found 的错误的信息有以下2个: 错误1.Server dropped: Strata too high 在ntp客户端运行ntpdate serverIP,出现no server suitable for synchronization found的错误。 在ntp客户端用ntpdate –d serverIP查看,发现有“Server dropped: strata too high”的错误,并且显示“stratum 16”。而正常情况下stratum这个值
試了好多方法,用這個方法搞好了 Fix Icon Display Problems by Rebuilding the Windows 7 Thumbnail Cache Have you ever been browsing through photos or videos on your PC, and noticed that the thumbnails weren’t showing up properly? Sometimes they get corrupted, and you can quickly rebuild them to fix the probl