最近遇到很多用hive 在miner中看到 Failed to establish connection 或是Host not found的問題
等網頁跑完後 先輸入指令dig xxxxxxx (xxxx=你的礦池網址)
例如 dig use-eth.hiveon.net
這時候輸入依序輸入以下五行指令
- systemctl disable systemd-resolved.service
- echo nameserver 168.95.1.1 > /etc/resolv.conf
- echo nameserver 8.8.8.8 >> /etc/resolv.conf
- echo "echo nameserver 168.95.1.1 > /etc/resolv.conf" >> /home/user/xinit.user.sh
- echo "echo nameserver 8.8.8.8 >> /etc/resolv.conf" >> /home/user/xinit.user.sh
重開機或重開miner , 收工!