博文

目前显示的是 六月, 2017的博文

aria2 下载时出现errorcode=19 name resolution failed错误的解决办法

我在使用树莓派上使用OMV系统时,用ARIA2下载,出现errorcode=19 name resolution failed错误的解决办法,导致无法下载。网上查询了很多资料,都说要设置--async-dns=false,事实上我设置了也没用。最终想起既然这和DNS有关,是不是我DNS没设置好?于是vim /etc/reslov.conf,在里面设置好nameserver 8.8.8.8或者其他的可用DNS服务器,然后即可解决这个问题。主要原因是无法解析域名。

configure: error: cannot run C compiled programs处理方法

编译时报错:configure: error: cannot run C compiled programs 编译ARIA2时发生错误: configure: error: cannot run C compiled programs.If you meant to cross compile, use `--host'.   解决:因为原来这软件放在NTFS的盘上,所以不能编译。将源码移动到linux分区下再编译。成功。

树莓派pi 3 B安装RESILIO-SYNC软件方法

For arm64 architecture sudo dpkg --add-architecture armhf sudo apt-get update In /etc/apt/sources.list change the line as follows: deb [arch=armhf] http://linux-packages.resilio.com/ resilio-sync/deb resilio-sync non-free Install Sync sudo apt-get update sudo apt-get install resilio-sync

树莓派3设置静态IP方法

网上搜索到的老方法是修改/etc/network/interfaces,但这个方法经过验证已经失效了。现在 新版的修改方法如下: 修改/etc/dhcpcd.conf 在文件结尾加入以下内容: interface eth0 static ip_address=你要设置的IP地址(如192.168.1.2)/24 static router=192.168.1.1 --》这里填你的网关。一般都是你的路由器IP 修改后保存,然后 重启即可。