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

 找回密码
 立即注册
查看: 26539|回复: 31

斐讯N1刷armbian server3.14内核连接wifi安装Hassio

[复制链接]

219

主题

1287

帖子

7945

积分

超级版主

Rank: 8Rank: 8

积分
7945
金钱
6628
HASS币
86

教程狂人论坛风云人物突出贡献

发表于 2018-6-30 15:08:41 | 显示全部楼层 |阅读模式
本帖最后由 lidicn 于 2018-8-17 20:53 编辑

先降级盒子,请看教程   --->   [2018-5-25]N1和T1降级关键分区恢复线刷功能, fastboot 烧录

然后参考 U盘启动linux教程   ---> 应广大人民群众要求,搞个N1通过U盘跑LINUX(armbian)的教程  和 斐讯T1/N1 U盘启动基于 Linux 的第三方系统,简介贴
百度盘链接: https://pan.baidu.com/s/1ux7zAF2QYoLWwTTB0Ah5ug  密码:axov


楼主使用的是Armbian_5.44_S9xxx_Ubuntu_bionic_3.14.29_server_20180601.img

连接wifi

登陆ssh

armbian-config

TIM图片20180630150608.png

升级

apt update
apt upgrade

安装各种依赖

apt-get install -y avahi-daemon avahi-discover libnss-mdns libavahi-compat-libdnssd-dev g++ gcc jq apparmor-utils network-manager software-properties-common dbus apt-transport-https ca-certificates

安装docker

apt-get install docker.io

查看时区是否正确

date -R

修改时区

sudo tzselectsudo cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
ntpd time.windows.com

也可以使用直接gui修改

armbian-config

参考http://git.linux-sunxi.cn/osi/orangepi/kai-shi-ru-keng/armbianxiu-gai-shi-jian-he-shi-qu.html

拉取Hassio和Homeassistant镜像

docker pull homeassistant/aarch64-homeassistant:latest
docker pull homeassistant/aarch64-hassio-supervisor:latest

安装Hassio

curl -sL https://raw.githubusercontent.com/home-assistant/hassio-build/master/install/hassio_install | bash -s -- -m aarch64

安装docker web_ui portainer

docker run -d -p 9000:9000 --name docker-portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock portainer/portainer


















微信截图_20180630165918.png

评分

参与人数 2金钱 +30 收起 理由
咸味土豆 + 10 我来瀚思就为看你!
+ 20 膜拜大神!

查看全部评分

回复

使用道具 举报

7

主题

366

帖子

1328

积分

金牌会员

Rank: 6Rank: 6

积分
1328
金钱
962
HASS币
0
发表于 2018-6-30 15:41:16 | 显示全部楼层
这教程还真是简洁,完得很突然
回复

使用道具 举报

12

主题

545

帖子

2037

积分

金牌会员

Rank: 6Rank: 6

积分
2037
金钱
1492
HASS币
0
发表于 2018-6-30 16:14:45 | 显示全部楼层
一看楼主就是有使用老毛子固件的。
回复

使用道具 举报

6

主题

287

帖子

4147

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
4147
金钱
3855
HASS币
0
发表于 2018-6-30 17:05:04 | 显示全部楼层
潇洒哥er 发表于 2018-6-30 16:14
一看楼主就是有使用老毛子固件的。

哈哈,在hassbian论坛折腾的大神,基本上都是PDCN,或者是LEDE
回复

使用道具 举报

22

主题

359

帖子

3763

积分

元老级技术达人

积分
3763
金钱
3369
HASS币
100

教程狂人

发表于 2018-6-30 18:30:52 | 显示全部楼层
蓝牙能用不
回复

使用道具 举报

75

主题

1976

帖子

8179

积分

元老级技术达人

积分
8179
金钱
6153
HASS币
430

活跃会员教程狂人

发表于 2018-6-30 20:32:33 | 显示全部楼层
L大好久没发教程了,不知道N1和树莓派3的性能相比较提升多少。
所有过往,皆为序章。
回复

使用道具 举报

26

主题

555

帖子

1965

积分

金牌会员

Rank: 6Rank: 6

积分
1965
金钱
1405
HASS币
40
发表于 2018-6-30 20:57:04 | 显示全部楼层
6666
回复

使用道具 举报

0

主题

130

帖子

900

积分

高级会员

Rank: 4

积分
900
金钱
770
HASS币
0
发表于 2018-6-30 21:25:36 | 显示全部楼层
新鲜出炉啊,明天试一下
回复

使用道具 举报

27

主题

558

帖子

4382

积分

论坛元老

Rank: 8Rank: 8

积分
4382
金钱
3824
HASS币
0
发表于 2018-6-30 21:34:50 | 显示全部楼层
用U盘稳定吗 能直接装在盒子内核里吗
回复

使用道具 举报

9

主题

334

帖子

1291

积分

金牌会员

Rank: 6Rank: 6

积分
1291
金钱
957
HASS币
0
发表于 2018-7-1 01:31:12 | 显示全部楼层

Log viewer settings
Auto-refresh logs
Display timestamps
Search
Lines
Actions

      

18-06-30 17:28:06 INFO (MainThread) [__main__] Initialize Hassio setup


18-06-30 17:28:06 INFO (MainThread) [__main__] Setup HassIO


18-06-30 17:28:07 INFO (MainThread) [hassio.utils.gdbus] Introspect org.freedesktop.systemd1 on /org/freedesktop/systemd1


18-06-30 17:28:07 INFO (MainThread) [hassio.utils.gdbus] Connect to dbus: org.freedesktop.systemd1 - /org/freedesktop/systemd1


18-06-30 17:28:07 INFO (MainThread) [hassio.utils.gdbus] Introspect org.freedesktop.hostname1 on /org/freedesktop/hostname1


18-06-30 17:28:07 INFO (MainThread) [hassio.utils.gdbus] Connect to dbus: org.freedesktop.hostname1 - /org/freedesktop/hostname1


18-06-30 17:28:07 INFO (MainThread) [hassio.utils.gdbus] Introspect de.pengutronix.rauc on /


18-06-30 17:28:07 ERROR (MainThread) [hassio.utils.gdbus] DBus return error: b'Error: GDBus.Errorrg.freedesktop.DBus.Error.ServiceUnknown: The name de.pengutronix.rauc was not provided by any .service files\n'


18-06-30 17:28:07 WARNING (MainThread) [hassio.dbus.rauc] Can't connect to rauc


18-06-30 17:28:07 INFO (MainThread) [hassio.host.info] Update local host information


18-06-30 17:28:07 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1


18-06-30 17:28:07 INFO (MainThread) [hassio.host.services] Update service information


18-06-30 17:28:07 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1


18-06-30 17:28:08 INFO (MainThread) [hassio.host.apparmor] Load AppArmor Profiles: {'hassio-supervisor'}


18-06-30 17:28:08 INFO (MainThread) [hassio.host.services] Reload local service hassio-apparmor.service


18-06-30 17:28:08 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.systemd1.Manager.ReloadOrRestartUnit on /org/freedesktop/systemd1


18-06-30 17:28:08 INFO (SyncWorker_0) [hassio.docker.supervisor] Attach to supervisor homeassistant/aarch64-hassio-supervisor:latest with version 110


18-06-30 17:28:08 INFO (MainThread) [hassio.homeassistant] No HomeAssistant docker homeassistant/aarch64-homeassistant:0.71.0 found.


18-06-30 17:28:08 INFO (MainThread) [hassio.homeassistant] Setup HomeAssistant landingpage


18-06-30 17:28:08 INFO (SyncWorker_0) [hassio.docker.interface] Pull image homeassistant/aarch64-homeassistant:0.71.0 tag landingpage.


18-06-30 17:28:12 ERROR (SyncWorker_0) [hassio.docker.interface] Can't install homeassistant/aarch64-homeassistant:0.71.0:landingpage -> 404 Client Error: Not Found ("manifest for homeassistant/aarch64-homeassistant:landingpage not found").


18-06-30 17:28:12 WARNING (MainThread) [hassio.homeassistant] Fails install landingpage, retry after 60sec


18-06-30 17:28:24 INFO (MainThread) [__main__] Initialize Hassio setup


18-06-30 17:28:24 INFO (MainThread) [__main__] Setup HassIO


18-06-30 17:28:26 INFO (MainThread) [hassio.utils.gdbus] Introspect org.freedesktop.systemd1 on /org/freedesktop/systemd1


18-06-30 17:28:26 INFO (MainThread) [hassio.utils.gdbus] Connect to dbus: org.freedesktop.systemd1 - /org/freedesktop/systemd1


18-06-30 17:28:26 INFO (MainThread) [hassio.utils.gdbus] Introspect org.freedesktop.hostname1 on /org/freedesktop/hostname1


18-06-30 17:28:26 INFO (MainThread) [hassio.utils.gdbus] Connect to dbus: org.freedesktop.hostname1 - /org/freedesktop/hostname1


18-06-30 17:28:26 INFO (MainThread) [hassio.utils.gdbus] Introspect de.pengutronix.rauc on /


18-06-30 17:28:26 ERROR (MainThread) [hassio.utils.gdbus] DBus return error: b'Error: GDBus.Errorrg.freedesktop.DBus.Error.ServiceUnknown: The name de.pengutronix.rauc was not provided by any .service files\n'


18-06-30 17:28:26 WARNING (MainThread) [hassio.dbus.rauc] Can't connect to rauc


18-06-30 17:28:26 INFO (MainThread) [hassio.host.info] Update local host information


18-06-30 17:28:26 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1


18-06-30 17:28:26 INFO (MainThread) [hassio.host.services] Update service information


18-06-30 17:28:26 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1


18-06-30 17:28:26 INFO (MainThread) [hassio.host.apparmor] Load AppArmor Profiles: {'hassio-supervisor'}


18-06-30 17:28:26 INFO (MainThread) [hassio.host.services] Reload local service hassio-apparmor.service


18-06-30 17:28:26 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.systemd1.Manager.ReloadOrRestartUnit on /org/freedesktop/systemd1


18-06-30 17:28:26 INFO (SyncWorker_0) [hassio.docker.supervisor] Attach to supervisor homeassistant/aarch64-hassio-supervisor:latest with version 110


18-06-30 17:28:26 INFO (MainThread) [hassio.homeassistant] No HomeAssistant docker homeassistant/aarch64-homeassistant:0.71.0 found.


18-06-30 17:28:26 INFO (MainThread) [hassio.homeassistant] Setup HomeAssistant landingpage


18-06-30 17:28:26 INFO (SyncWorker_0) [hassio.docker.interface] Pull image homeassistant/aarch64-homeassistant:0.71.0 tag landingpage.


18-06-30 17:28:31 ERROR (SyncWorker_0) [hassio.docker.interface] Can't install homeassistant/aarch64-homeassistant:0.71.0:landingpage -> 404 Client Error: Not Found ("manifest for homeassistant/aarch64-homeassistant:landingpage not found").


18-06-30 17:28:31 WARNING (MainThread) [hassio.homeassistant] Fails install landingpage, retry after 60sec


18-06-30 17:29:31 INFO (SyncWorker_2) [hassio.docker.interface] Pull image homeassistant/aarch64-homeassistant:0.71.0 tag landingpage.


18-06-30 17:29:36 ERROR (SyncWorker_2) [hassio.docker.interface] Can't install homeassistant/aarch64-homeassistant:0.71.0:landingpage -> 404 Client Error: Not Found ("manifest for homeassistant/aarch64-homeassistant:landingpage not found").


18-06-30 17:29:36 WARNING (MainThread) [hassio.homeassistant] Fails install landingpage, retry after 60sec


18-06-30 17:30:36 INFO (SyncWorker_1) [hassio.docker.interface] Pull image homeassistant/aarch64-homeassistant:0.71.0 tag landingpage.


18-06-30 17:30:40 ERROR (SyncWorker_1) [hassio.docker.interface] Can't install homeassistant/aarch64-homeassistant:0.71.0:landingpage -> 404 Client Error: Not Found ("manifest for homeassistant/aarch64-homeassistant:landingpage not found").


18-06-30 17:30:40 WARNING (MainThread) [hassio.homeassistant] Fails install landingpage, retry after 60sec
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-24 09:54 , Processed in 0.097659 second(s), 37 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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