softwaredownload / openwrt-fanqiang

最好的路由器翻墙、科学上网教程—OpenWrt—shadowsocks
https://fanqiang.software-download.name
BSD 3-Clause "New" or "Revised" License
193 stars 22 forks source link

章节3.5里面提到的用wget下载国内重要网站名单的问题 #13

Closed kenshinji closed 8 years ago

kenshinji commented 8 years ago

按照书里的: wget -4 --no-check-certificate -O /etc/dnsmasq.d/accelerated-domains.china.conf https://raw.githubusercontent.com/felixonmars/dnsmasq-china-list/master/accelerated-domains.china.conf

运行后只会提示wget: missing URL, 另外wget的参数-4是什么意思?

softwaredownload commented 8 years ago

运行命令: wget --help -4, --inet4-only connect only to IPv4 addresses

softwaredownload commented 8 years ago

里面有全角空格的缘故,已经修复:

wget -4 --no-check-certificate -O /etc/dnsmasq.d/accelerated-domains.china.conf https://raw.githubusercontent.com/felixonmars/dnsmasq-china-list/master/accelerated-domains.china.conf