前段时间给大家发布了HassOS的自编译版本(https://sumju.net/?p=3230),里面包括了各种虚拟机和树莓派的固件下载,但是唯独没有斐讯N1的。

经过一段时间的研究,我承认自己能力有限,无法使用BuildRoot来编译对应斐讯N1的HassOS的固件。

但是为了喜欢Home Assistant的朋友能更方便的低成本使用HassOS的各种功能,所以我用变通的方式制作了一个斐讯N1的Armbian镜像,这个镜像会自动安装HassIO,无需人工干预,HassIO使用起来跟HassOS一样,也方便日后大家跟着我的教程继续后期的智能接入。

由于斐讯N1的EMMC比较小,本镜像如刷入EMMC之后剩余空间大约2.5G,当然如果你一直跑在U盘上也是OK的。

使用方法:

1.确保斐讯N1已经降级并且具备刷Arabian的条件,如果你还是安卓请参考这个视频降级:https://youtu.be/pcy7Yj1mHjg

2.刷入镜像到U盘。

重要的事情说三遍,写好U盘保证N1不开机的状态插盘再开机!!!!!
重要的事情说三遍,写好U盘保证N1不开机的状态插盘再开机!!!!!
重要的事情说三遍,写好U盘保证N1不开机的状态插盘再开机!!!!!

3.使用有线连接让盒子有互联网,U盘启动。 (如果需要用WiFi,U盘启动前,修改U盘boot分区下的armbian_first_run.txt里的信息用于启动连WiFi)

4.SSH登陆itcommander.local 密码:1234 ,登陆后根据提示更改密码,更改密码成功后重启N1。

重要的事情说三遍,重启之前用date命令检查一下系统时间是否正确!!!!!
重要的事情说三遍,重启之前用date命令检查一下系统时间是否正确!!!!!
重要的事情说三遍,重启之前用date命令检查一下系统时间是否正确!!!!!

(这一步可以开始使用./install.sh命令写入EMMC,也可以之后需要的时候再写。)

5.等待1小时左右访问http://itcommander.local:8123端口完成初始设置。

下载地址:

此内容查看价格为1.99智能币立即购买
你的支持是我更新原创的动力,如果有疑问详询qq:16900693

更多教程 https://sumju.net
视频教程: https://www.youtube.com/channel/UCf8MbF6J9xWf1m9guutozlw/
电报 群 https://t.me/joinchat/J26zVFGMhWWB1sBTFvcjaA
电报频道 https://t.me/itcommander
Twitter https://twitter.com/itcommander2
Facebook:https://www.facebook.com/itcommander.itcommander.1

81 对 “小白福利 斐讯N1的HassIO自动安装镜像终于来了”的想法;

      1. 成功安装了这个系统,请问大神连接蓝牙后播放音乐卡顿,每次执行 bluetoothctl scan on 然后 bluetoothctl scan off 后可以流畅播放10-20秒,然后又卡顿。很郁闷,求助

  1. 你好,再请教一下,第五个步骤,我等了一晚都没有成功。然后我又重新来了一遍前面的步骤,也没有成功。我需要怎么操作呢?

  2. 等了一天还是不能访问我,进/opt下手动安装显示以下内容
    root@itcommander:/opt# ./installer.sh
    [warn]
    [warn] If you want more control over your own system, run
    [warn] Home Assistant as a VM or run Home Assistant Core
    [warn] via a Docker container.
    [warn]
    [warn] If you want to abort, hit ctrl+c within 10 seconds…
    [warn]
    sudo: error in /etc/sudo.conf, line 0 while loading plugin “sudoers_policy”
    sudo: /usr/lib/sudo/sudoers.so must be owned by uid 0
    sudo: fatal error, unable to load plugins
    请问这是什么问题?

  3. [warn] Docker is using json-file and not ‘journald’ as the logging driver, this is not supported.
    [info] Creating NetworkManager configuration
    提示这个然后退出,请问下这是什么没配置好吗?

          1. 大佬照顾一下小小白,多说一下怎么解决?目前试了几次,最后安装完都提示这个。然后开机提示:
            rc.local[1375]:warning:error loading config file: .dockercfg: $HOME is not defined
            started Docker application container engine.
            rc.local[1375]:warning:error loading config file: .dockercfg: $HOME is not defined
            stopping Avahi mDNS/DNS-SD Stack…
            stopped Avahi mDNS/DNS-SD Stack…
            starting Avahi mDNS/DNS-SD Stack…
            started Avahi mDNS/DNS-SD Stack…
            rc.local[1375]: RTNETLINK answers:file exists
            rc.local[1375]:Error: Nexthop has invalid gateway
            rc.local[1375]:warning:error loading config file: .dockercfg: $HOME is not defined
            rc.local[1375]:warning:error loading config file: .dockercfg: $HOME is not defined
            [FAILED] Failed to start /etc/rc.local Compatibility.

    1. 我也是一样。
      运行docker info得到的信息是:
      Server:
      Containers: 0
      Running: 0
      Paused: 0
      Stopped: 0
      Images: 0
      Server Version: 19.03.9
      Storage Driver: overlay2
      Backing Filesystem: extfs
      Supports d_type: true
      Native Overlay Diff: true
      Logging Driver: json-file
      Cgroup Driver: cgroupfs
      Plugins:
      Volume: local
      Network: bridge host ipvlan macvlan null overlay
      Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
      Swarm: inactive
      Runtimes: runc
      Default Runtime: runc
      Init Binary: docker-init
      containerd version: 8fba4e9a7d01810a393d5d25a3621dc101981175
      runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd
      init version: fec3683
      Security Options:
      seccomp
      Profile: default
      Kernel Version: 5.3.0-aml-g12
      Operating System: Debian GNU/Linux 10 (buster)
      OSType: linux
      Architecture: aarch64
      CPUs: 4
      Total Memory: 1.763GiB
      Name: itcommander
      ID: CAZF:UYR5:2KHJ:MSOS:XMI5:HMTK:IUXY:YQ2J:T4GP:J35A:XQNA:QUM6
      Docker Root Dir: /var/lib/docker
      Debug Mode: false
      Registry: https://index.docker.io/v1/
      Labels:
      Experimental: false
      Insecure Registries:
      127.0.0.0/8
      Registry Mirrors:
      http://registry.docker-cn.com/
      http://docker.mirrors.ustc.edu.cn/
      http://hub-mirror.c.163.com/
      Live Restore Enabled: false

      难道每个人装的docker版本还不一样么?

      1. 感谢大佬回复,按照其他的评论在opt里面找到安装脚本,期待可以使用。我原来安装了旧的版本,其他功能都有,就是8123打不开,好像是frontend什么问题,希望这个OK。

  4. 多次手动脚本安装,最后都是如下提示:
    [warn] Docker is using json-file and not ‘journald’ as the logging driver, this is not supported.
    [info] Creating NetworkManager configuration
    提示这个然后退出,请问下这是什么没配置好吗?

  5. 手动运行opt下的installer后所有内容如下:
    containerd installer.sh openwrt
    root@itcommander:/opt# ./installer.sh
    [warn]
    [warn] If you want more control over your own system, run
    [warn] Home Assistant as a VM or run Home Assistant Core
    [warn] via a Docker container.
    [warn]
    [warn] If you want to abort, hit ctrl+c within 10 seconds…
    [warn]
    Hit:1 https://mirrors.tuna.tsinghua.edu.cn/debian buster InRelease
    Get:2 https://mirrors.tuna.tsinghua.edu.cn/debian buster-updates InRelease [51.9 kB]
    Get:3 https://mirrors.tuna.tsinghua.edu.cn/debian buster-backports InRelease [46.7 kB]
    Get:4 https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates InRelease [65.4 kB]
    Get:5 https://mirrors.tuna.tsinghua.edu.cn/debian buster-backports/main armhf Packages.diff/Index [27.8 kB]
    Get:6 https://mirrors.tuna.tsinghua.edu.cn/debian buster-backports/main arm64 Packages.diff/Index [27.8 kB]
    Get:7 https://mirrors.tuna.tsinghua.edu.cn/debian buster-backports/main arm64 Contents (deb).diff/Index [27.9 kB]
    Get:8 https://mirrors.tuna.tsinghua.edu.cn/debian buster-backports/main armhf Contents (deb).diff/Index [27.9 kB]
    Get:9 https://mirrors.tuna.tsinghua.edu.cn/debian buster-backports/main armhf Packages 2021-02-10-0759.42.pdiff [597 B]
    Get:10 https://mirrors.tuna.tsinghua.edu.cn/debian buster-backports/main arm64 Packages 2021-02-10-0759.42.pdiff [597 B]
    Get:11 https://mirrors.tuna.tsinghua.edu.cn/debian buster-backports/main arm64 Contents (deb) 2021-02-10-0759.42.pdiff [260 B]
    Get:9 https://mirrors.tuna.tsinghua.edu.cn/debian buster-backports/main armhf Packages 2021-02-10-0759.42.pdiff [597 B]
    Get:11 https://mirrors.tuna.tsinghua.edu.cn/debian buster-backports/main arm64 Contents (deb) 2021-02-10-0759.42.pdiff [260 B]
    Get:10 https://mirrors.tuna.tsinghua.edu.cn/debian buster-backports/main arm64 Packages 2021-02-10-0759.42.pdiff [597 B]
    Get:12 https://mirrors.tuna.tsinghua.edu.cn/debian buster-backports/main armhf Contents (deb) 2021-02-10-0759.42.pdiff [262 B]
    Get:12 https://mirrors.tuna.tsinghua.edu.cn/debian buster-backports/main armhf Contents (deb) 2021-02-10-0759.42.pdiff [262 B]
    Get:13 https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates/main arm64 Packages [262 kB]
    Get:14 https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates/main armhf Packages [261 kB]
    Get:15 https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates/main Translation-en [142 kB]
    Hit:16 https://minio.k-space.ee/armbian/apt buster InRelease
    Fetched 942 kB in 9s (99.4 kB/s)
    Reading package lists… Done
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    apparmor-utils is already the newest version (2.13.2-10).
    avahi-daemon is already the newest version (0.7-4+b1).
    bash is already the newest version (5.0-4).
    curl is already the newest version (7.64.0-4+deb10u1).
    dbus is already the newest version (1.12.20-0+deb10u1).
    jq is already the newest version (1.5+dfsg-2+b1).
    software-properties-common is already the newest version (0.96.20.2-2).
    0 upgraded, 0 newly installed, 0 to remove and 93 not upgraded.
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    network-manager is already the newest version (1.14.6-2+deb10u1).
    0 upgraded, 0 newly installed, 0 to remove and 93 not upgraded.
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    bluez is already the newest version (5.50-1.2~deb10u1).
    0 upgraded, 0 newly installed, 0 to remove and 93 not upgraded.
    [warn] Docker is using json-file and not ‘journald’ as the logging driver, this is not supported.
    [info] Creating NetworkManager configuration
    到这儿就退出了。

  6. 原来已经做过降级,刷入yyf系统。现在yyf系统下,用“adb shell reboot update”命令重启后,系统进入recovery模式,没有直接启动U盘;如果断电重新启动机器,则默认进入YYF系统,也没有从U盘启动。这个应该咋整呀

  7. root@itcommander:/opt# ./installer.sh
    [warn]
    [warn] If you want more control over your own system, run
    [warn] Home Assistant as a VM or run Home Assistant Core
    [warn] via a Docker container.
    [warn]
    [warn] If you want to abort, hit ctrl+c within 10 seconds…
    [warn]
    Ign:1 https://mirrors.tuna.tsinghua.edu.cn/debian buster InRelease
    Ign:3 https://mirrors.tuna.tsinghua.edu.cn/debian buster-updates InRelease
    Ign:4 https://mirrors.tuna.tsinghua.edu.cn/debian buster-backports InRelease
    Ign:5 https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates InRelease
    Err:6 https://mirrors.tuna.tsinghua.edu.cn/debian buster Release
    Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 101.6.15.130 443]
    Err:7 https://mirrors.tuna.tsinghua.edu.cn/debian buster-updates Release
    Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 101.6.15.130 443]
    Err:8 https://mirrors.tuna.tsinghua.edu.cn/debian buster-backports Release
    Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 101.6.15.130 443]
    Err:9 https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates Release
    Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 101.6.15.130 443]
    Get:2 http://mirrors.bfsu.edu.cn/armbian buster InRelease [18.3 kB]
    Get:10 http://mirrors.bfsu.edu.cn/armbian buster/main arm64 Packages [282 kB]
    Get:11 http://mirrors.bfsu.edu.cn/armbian buster/main armhf Packages [248 kB]
    Get:12 http://mirrors.bfsu.edu.cn/armbian buster/main armhf Contents (deb) [25.0 MB]
    Get:13 http://mirrors.bfsu.edu.cn/armbian buster/main arm64 Contents (deb) [25.8 MB]
    Get:14 http://mirrors.bfsu.edu.cn/armbian buster/buster-utils armhf Packages [98.1 kB]
    Get:15 http://mirrors.bfsu.edu.cn/armbian buster/buster-utils arm64 Packages [135 kB]
    Get:16 http://mirrors.bfsu.edu.cn/armbian buster/buster-utils armhf Contents (deb) [18.7 kB]
    Get:17 http://mirrors.bfsu.edu.cn/armbian buster/buster-utils arm64 Contents (deb) [58.4 kB]
    Get:18 http://mirrors.bfsu.edu.cn/armbian buster/buster-desktop arm64 Packages [26.1 kB]
    Get:19 http://mirrors.bfsu.edu.cn/armbian buster/buster-desktop armhf Packages [27.6 kB]
    Get:20 http://mirrors.bfsu.edu.cn/armbian buster/buster-desktop arm64 Contents (deb) [33.6 kB]
    Get:21 http://mirrors.bfsu.edu.cn/armbian buster/buster-desktop armhf Contents (deb) [96.8 kB]
    Reading package lists… Done
    E: The repository ‘https://mirrors.tuna.tsinghua.edu.cn/debian buster Release’ does not have a Release file.
    N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configuration details.
    E: The repository ‘https://mirrors.tuna.tsinghua.edu.cn/debian buster-updates Release’ does not have a Release file.
    N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configuration details.
    E: The repository ‘https://mirrors.tuna.tsinghua.edu.cn/debian buster-backports Release’ does not have a Release file.
    N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configuration details.
    E: The repository ‘https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates Release’ does not have a Release file.
    N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configuration details.
    这样怎么办呢

发表回复