1、鼠标底部电源开关从off打开到BT处,进入蓝牙模式
2、长按滚轮键+左键5秒后,滚轮处绿色蓝牙指示灯闪烁松手
3、打开电源蓝牙,添加搜索设备
4、点击配对
EMCola 浪迹于互联网世界,混迹于天地之间,关注网络空间、人生点滴、思想星光 EMCola is my space for my life & my idea & knowledge
2019年4月16日 星期二
2019年1月19日 星期六
upgrade Aria2c to 1.34 on debian
aria2c.upgrade |
apt-get update
apt-get install libgnutls28-dev nettle-dev libgmp-dev libssh2-1-dev libc-ares-dev libxml2-dev zlib1g-dev libsqlite3-dev pkg-config libcppunit-dev autoconf automake autotools-dev autopoint libtool git gcc g++ libxml2-dev make quilt
git clone https://github.com/aria2/aria2.git
autoreconf -i
./configure
make
找到编译后的aria2c, 位于/aria2/src/aria2c
find / -name aria2c
显示如下
/aria2/src/aria2c
/usr/bin/aria2c
拷贝覆盖位于 /usr/bin/aria2c 即可
通过客户端重新启动,已经显示为最新版1.34
2019年1月5日 星期六
Synology实现视频缩略图/转码终极方法
注意:在做改动前必须备份好原文件,这只是一个好习惯而已。
安装好ffmpeg后你只需要把 /volume1/@appstore/ffmpeg/bin/ffmpeg 这个文件覆盖其它用到转码的地方即可。
第一个是视频转码:
cp /volume1/@appstore/ffmpeg/bin/ffmpeg /volume1/@appstore/VideoStation/bin/
第二个是拍照视频缩略图:
复制代码
cp /volume1/@appstore/ffmpeg/bin/ffmpeg /usr/bin
复制代码
2019年1月1日 星期二
htpdate or ntp 同步时间区别
服务器的系统时间同步是非常重要的一个事情,许多服务要求时间误差很严格,我们常用V2ray要求客户端与服务器的时间不匹配,误差不能超过90秒钟,我在安装了CC的VPS后,发现系统时间与本地时间差了4分钟,即使重新安装了ntp,反复同步同时区的各地时间服务器,仍然无法解决,直到54it 网友告诉我,原来是Vps提供商屏蔽了ntp的端口123,导致无法正常同步时间。
网友的力量无穷尽,iridium77 给我们提供http途径来同步时间,这是任何VPS都无法屏蔽的,哈哈😄
Installation from source: Tested on Linux and FreeBSD only, but should work for most Unix flavors.
网友的力量无穷尽,iridium77 给我们提供http途径来同步时间,这是任何VPS都无法屏蔽的,哈哈😄
Installation from source: Tested on Linux and FreeBSD only, but should work for most Unix flavors.
$ tar zxvf htpdate-x.y.z.tar.gz or $ tar jxvf htpdate-x.y.z.tar.bz2 $ cd htpdate-X.Y.Z $ make $ make install An example init script (scripts/htpdate.init) for use in /etc/init.d/ is included, but not installed automatically. This scripts with run htpdate as a daemon. Another option is to use htpdate in a cronjob and start it periodically from cron. For a daily time sync it would look something like this: 5 3 * * * /usr/bin/htpdate -s www.linux.org www.freebsd.org Installation from RPM: The easiest way to install (Redhat, SuSE, Mandriva etc..)
$ wget https://rpmfind.net/linux/dag/redhat/el7/en/x86_64/dag/RPMS/htpdate-1.1.0-1.el7.rf.x86_64.rpmor$ wget https://rpmfind.net/linux/dag/redhat/el6/en/i386/dag/RPMS/htpdate-1.1.0-1.el6.rf.i686.rpm$ rpm -Uvh htpdate-x.y.z.i386.rpm
注意:rmp 的版本
Installation from deb: The easiest way to install (Debian,Ubuntu etc..)
$ apt install htpdate
htpdate 的配置文件:nano /etc/default/htpdate
HTP_SERVERS="www.pool.ntp.org www.ntp.br www.wikipedia.org"
如果在大陆,最好改为 cn.pool.ntp.org
HTP_OPTIONS="-D -s"
2018年12月29日 星期六
Transmission-daemon error:permission denied
使用外接硬盘或者U盘,作为下载目录的,碰到Permission denied 的时候,需要改下transmission的启动脚本
nano /etc/init.d/transmission-daemon
USER=debian-transmission 改为
USER=root
OMV 4 install on Debian Stretch
一直在寻找NAS OS,但是经历了黑群晖、Centos、Debian+各种软件,因为黑群晖毕竟名不正,一个主要原因是无法转码,导致很多影片无法正常播放,加上文件系统与其他平常的不太一样,担心以后系统当掉丢失文档,所以pass了。
偏爱Centos,但是Calibre毕竟无法很好地应用在Centos,故而选择了Debian,相应地很好地安装了plex,calibre以及一些pt软件等等,算是平平安安地用了快一年,今天,无意中看到一个网友推荐了OMV,还对比了Freenas Nas4free ,这两个软件曾经试着要安装,但是都失败了,没有成功安装过。
偏爱Centos,但是Calibre毕竟无法很好地应用在Centos,故而选择了Debian,相应地很好地安装了plex,calibre以及一些pt软件等等,算是平平安安地用了快一年,今天,无意中看到一个网友推荐了OMV,还对比了Freenas Nas4free ,这两个软件曾经试着要安装,但是都失败了,没有成功安装过。
2018年12月17日 星期一
光猫接交换机.交换机接各个房间网线.路由器放在客厅接交换机并负责拨号解决方案
光猫接交换机.交换机接各个房间网线.路由器放在客厅接交换机并负责拨号:
因为装修考虑步骤,导致弱电箱放光猫、交换机(8口),无线路由器放在客厅,现在设想:拨号由无线路由器负责,让后各房间的网线接入交换机上网,有网友提供解决方案如下图:
但我还没有实施...
訂閱:
文章 (Atom)
Calibre_web administrator password forget
Calibre_web administrator password forget how to reset the admin password: need to specify the app.db docker exec -it calibre-web cd...
-
Config Tree -> firewall / options / mss-clamp6 一般标准的 PPPoE 环境 IPv6 MSS 值应该是 1432 (1500-8-40-20), 如果设成1432还是有问题可以再改小试试,有人曾改到 1382 才可以。 ...
-
Calibre_web administrator password forget how to reset the admin password: need to specify the app.db docker exec -it calibre-web cd...
-
Micro:bit to Scratch Requirements Install Scratch Link