|
我现在是在网上搜的这么写的。
16 13 * * * cd /etc/storage/dnsmasq;rm -rf hosts;wget --no-check-certificate https://raw.githubusercontent.com/sy618/hosts/master/ADFQ -O hosts
还看到一种是这么写的。
01 06 * * * wget -q https://raw.githubusercontent.com/racaljk/hosts/master/hosts -O /etc/hosts --no-check-certificate ; /etc/init.d/dnsmasq restart
这是我现在路由器的系统日志。谁能看懂告诉我是哪里错了?
Fri Jan 1 08:00:14 2016 daemon.err miniupnpd[2518]: sendto(udp_shutdown=-1): Bad file descriptor
Fri Jan 1 08:00:14 2016 daemon.err miniupnpd[2824]: could not open lease file: /var/upnp.leases
Fri Jan 1 08:00:14 2016 daemon.notice miniupnpd[2824]: HTTP listening on port 5000
Fri Jan 1 08:00:14 2016 daemon.warn miniupnpd[2824]: no HTTP IPv6 address, disabling IPv6
Fri Jan 1 08:00:14 2016 daemon.notice miniupnpd[2824]: Listening for NAT-PMP/PCP traffic on port 5351
Thu Aug 31 12:29:09 2017 cron.err crond[1258]: time disparity of 25069228 minutes detected
Thu Aug 31 12:30:01 2017 cron.info crond[1258]: crond: USER root pid 3251 cmd cd /etc/storage/dnsmasq;sudo rm -rf hosts;wget --no-check-certificate https://raw.githubusercontent.com/vokins/yhosts/master/hosts;wget --no-check-certifica https://raw.githubusercontent.com/racaljk/hosts/master/hosts -O 123;cat 123 >> hosts;sudo rm -rf 123
Thu Aug 31 12:34:52 2017 daemon.info dnsmasq-dhcp[2393]: DHCPDISCOVER(br-lan) 68:3e:34:89:d6:a0
Thu Aug 31 12:34:52 2017 daemon.info dnsmasq-dhcp[2393]: DHCPOFFER(br-lan) 192.168.2.111 68:3e:34:89:d6:a0
Thu Aug 31 12:34:52 2017 daemon.info dnsmasq-dhcp[2393]: DHCPREQUEST(br-lan) 192.168.2.111 68:3e:34:89:d6:a0
Thu Aug 31 12:34:52 2017 daemon.info dnsmasq-dhcp[2393]: DHCPACK(br-lan) 192.168.2.111 68:3e:34:89:d6:a0 MEIZU-PRO-6s
Thu Aug 31 12:48:20 2017 user.notice root: inet down!
Thu Aug 31 12:48:25 2017 user.notice root: inet up!
Thu Aug 31 12:48:38 2017 user.notice root: inet down!
Thu Aug 31 12:48:43 2017 user.notice root: inet up!
Thu Aug 31 13:06:13 2017 user.notice root: inet down!
Thu Aug 31 13:06:25 2017 user.notice root: inet up!
Thu Aug 31 13:06:48 2017 user.notice root: inet down!
Thu Aug 31 13:06:58 2017 user.notice root: inet up!
Thu Aug 31 13:16:01 2017 cron.info crond[1258]: crond: USER root pid 9750 cmd cd /etc/storage/dnsmasq;rm -rf hosts;wget --no-check-certificate https://raw.githubusercontent.com/sy618/hosts/master/ADFQ -O hosts
两段红色字体是我前后改的2次。这段是有什么问题吗?提前在这谢谢dalao了!!!
|
|