Google Home Mini配置到最后一步时失败:

There was a problem setting up Google Home Mini

For help resolving this issue,visit the Help Center


Authentication isn't successful

If Google Home is having trouble connecting to your Google Account, try the steps below:

  1. Make sure Google Home is connected to Wi-Fi and your internet is working.
  2. Reboot Google Home using one of the methods below:
    1. From the Google Home app
      1. Make sure your mobile device or tablet is connected to the same Wi-Fi as your Google Home device.
      2. Open the Google Home app .
      3. In the top right corner of the Home screen, tap Devices  to see your available Google Home devices.
      4. Scroll to find the device card for the Google Home you'd like to reboot.
      5. In the top right corner of the device card, tap the device card menu Settings.
      6. In the top right corner of the "Device settings page", tap the More button Reboot.
    2. Unplug the Google Home device
      1. Unplug the power cord from the Google Home device.
      2. Leave it unplugged for ~1 minute.
      3. Plug the power cord back in.

解决办法:

由于chromecast是直接找8.8.8.8解析,即使局域网f.q了,但直接解析会被DNS污染。you.tu.be投射不了,我们要做的就是把chromecast 的udp 53端口数据全部劫持到本地路由器,由本地解析。这样就能在局域网智能f.q的情况下观看you.tu.be了,本人已经试验成功。
将chromecast所有DNS解析的请求”劫持”到路由器上,从而避免局域网内的主机使用自定义DNS时被污染,

首先路由器要root,能够用ssh登录,登陆后

vi /etc/firewall.user

或者winscp登陆,直接复制粘贴。

在/etc/firewall.user上增加两条规则即可:

iptables -t nat -A PREROUTING -s 192.168.1.1/24 -p udp --dport 53 -j DNAT --to 192.168.1.1
iptables -t nat -A PREROUTING -s 192.168.1.1/24 -p tcp --dport 53 -j DNAT --to 192.168.1.1

192.168.1.1是路由器IP,亲们根据自己的路由器改正。其实只有第一条就足够了,DNS解析都是UDP。

#暂时不用这个代码
iptables -I PREROUTING -t nat -p udp -d 8.8.4.4 --dport 53 -j REDIRECT --to-ports 53
iptables -I PREROUTING -t nat -p udp -d 8.8.8.8 --dport 53 -j REDIRECT --to-ports 53

当然前提是有一个openwrt的路由器。并且装有shad。owsocks智能翻墙。


如果是极路由,在云平台https://app.hiwifi.com/store.php 搜索安装iptables,添加以下命令,并启用iptables

或者WinSCP连接极路由,编辑/etc/rc.common文件start()位置添加以下命令

iptables -t nat -A PREROUTING -s 192.168.199.1/24 -p udp --dport 53 -j DNAT --to 192.168.199.1
iptables -t nat -A PREROUTING -s 192.168.199.1/24 -p tcp --dport 53 -j DNAT --to 192.168.199.1
iptables -I PREROUTING -t nat -p udp -d 8.8.4.4 --dport 53 -j REDIRECT --to-ports 53
iptables -I PREROUTING -t nat -p udp -d 8.8.8.8 --dport 53 -j REDIRECT --to-ports 53

最新文章

  1. jQuery常用方法和函数
  2. Android应用源码基于安卓的个人隐私监控项目
  3. eclipse:不能在tomcat里添加一个项目的解决方法
  4. Doxygen Tool For Unity
  5. centos6.7下网络设置
  6. 干货分享:让你分分钟学会 javascript 闭包
  7. Android sqlite数据库存取图片信息
  8. [转]:如何使用Android Studio把自己的Android library分享到jCenter和Maven Central
  9. 微信中通过页面(H5)直接打开本地app的解决方案
  10. .Net Core实践4 web 反向代理
  11. python爬虫初级--获取指定页面上的菜单名称以及链接,然后导出
  12. java_29打印流
  13. 参与.net开源项目开发
  14. Tensoflw.js - 02 - 模型与内存管理(易懂)
  15. GIS-012-ArcGIS JS API 绘图
  16. TFTP服务器 NFS服务器 smb 、wireshark
  17. Linux用户及权限分配
  18. 【maven】maven 子项目如何使用父项目的jar包
  19. PowerDesigner 技巧【1】
  20. Xcode删除无用的Symbols信息

热门文章

  1. [转]C++引用
  2. 初识容器和Docker
  3. 在vue2.0中使用bootstarpTable(jquery+bootstarp+bootstarpTable)
  4. Mybaits 查询 choose when 的使用
  5. json转换时 java.lang.ClassNotFoundException: org.apache.commons.lang.exception.NestableRuntimeException
  6. C++入门经典-例2.14-使用移位运算
  7. 【学习】linux环境下nginx文件彻底删除
  8. JS箭头函数的this
  9. Spring Data概览
  10. linux查询端口被哪个程序使用了