『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 6378|回复: 3

安装好 HomeBridge,遇到 Host name conflict 的解决方法

[复制链接]

14

主题

156

帖子

858

积分

论坛技术达人

积分
858
金钱
702
HASS币
0
发表于 2018-2-2 15:49:05 | 显示全部楼层 |阅读模式
本帖最后由 Sunbelife 于 2018-2-2 15:55 编辑

如果你安装完 HomeBridge,在 iOS 设备上怎么也找不到 HomeBridge,而且报错如下:
Host name conflict, retrying with hassio-19
Registering new address record for fe80::473e:1cc1:fccc:1af7 on vetha58f892..
Registering new address record for 169.254.70.152 on vetha58f892.IPv4.
Registering new address record for fe80::786e:31ff:fec6:1b78 on veth175236b..
Registering new address record for 169.254.104.131 on veth175236b.IPv4.
Registering new address record for fe80::a1db:7d77:9e6f:9e14 on docker0..
Registering new address record for 169.254.1.224 on docker0.IPv4.
Registering new address record for 172.17.0.1 on docker0.IPv4.
Registering new address record for fe80::3802:117a:5c87:c173 on hassio..
Registering new address record for 169.254.52.243 on hassio.IPv4.
Registering new address record for 172.30.32.1 on hassio.IPv4.
Registering new address record for fe80::d435:ef2d:f54a:aaa2 on wlan0..
Registering new address record for 192.168.1.102 on wlan0.IPv4.
Registering new address record for fe80::a5e3:9aca:38b3:2173 on eth0..
Withdrawing address record for fe80::473e:1cc1:fccc:1af7 on vetha58f892.
Withdrawing address record for fe80::786e:31ff:fec6:1b78 on veth175236b.
Withdrawing address record for 169.254.104.131 on veth175236b.
Withdrawing address record for fe80::a1db:7d77:9e6f:9e14 on docker0.
Withdrawing address record for 169.254.1.224 on docker0.
Withdrawing address record for 172.17.0.1 on docker0.
Withdrawing address record for fe80::3802:117a:5c87:c173 on hassio.
Withdrawing address record for 169.254.52.243 on hassio.
Withdrawing address record for 172.30.32.1 on hassio.
Withdrawing address record for fe80::d435:ef2d:f54a:aaa2 on wlan0.
Withdrawing address record for 192.168.1.102 on wlan0.
Withdrawing address record for fe80::a5e3:9aca:38b3:2173 on eth0.
Host name conflict, retrying with hassio-20


可以试试这个解决方法:
sudo nano /etc/avahi/avahi-daemon.conf


把里面的 hostname 改成 hassio,并去掉 # 注释,然后

systemctl restart avahi-daemon

重启下服务就好了。



评分

参与人数 1金钱 +10 收起 理由
+ 10 分享是一种美德!

查看全部评分

回复

使用道具 举报

123

主题

4661

帖子

1万

积分

管理员

囧死

Rank: 9Rank: 9Rank: 9

积分
16412
金钱
11666
HASS币
45
发表于 2018-2-2 15:51:55 | 显示全部楼层
我看行!
回复

使用道具 举报

1

主题

108

帖子

422

积分

中级会员

Rank: 3Rank: 3

积分
422
金钱
314
HASS币
0
发表于 2018-2-6 10:26:56 | 显示全部楼层
我装了N次,每次安装完成iOS都是找不到设备。

贼尴尬啊。  郁闷
回复

使用道具 举报

14

主题

156

帖子

858

积分

论坛技术达人

积分
858
金钱
702
HASS币
0
 楼主| 发表于 2018-2-7 12:12:42 | 显示全部楼层
han_diannao_mi 发表于 2018-2-6 10:26
我装了N次,每次安装完成iOS都是找不到设备。

贼尴尬啊。  郁闷

你看看 log,找不到设备删除 persist 还有配件缓存再试试。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-26 20:08 , Processed in 0.583010 second(s), 26 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表