Supervisor: Hass.io install fail

Created on 3 Sep 2018  Â·  11Comments  Â·  Source: home-assistant/supervisor

@ApiO commented on Sep 3, 2018, 7:33 AM UTC:

Operating environment (Hass.io/Docker/Windows/etc.):
v2.2, both 32&64

Component/platform:

  • Pi 3/3B+
  • Using a fresh 64Go SD

Description of problem:
As discussed into the forum

During first boot I have the following errors:
Fu

Then there is a infinite flow of output while http://hassio.local:8123/ displays the install page and after a variable time appears:

[   353.549156] IPv6: ADDRCONF(NETDEV_UP): Wlan0: link is not ready
[   353.563428] brcmfmac: power management 

Both lines are printed indefinitely and the previous website responds : ERR_CONNECTION_REFUSED

When I login with root and type:
hassio > ne info

I got:
Error decoding json invalid character ':' after top-level value: 404: not found

Used configurations

According to the doc: into an USB Stick named ‘CONFIG’, into the file ‘network\system-connections’ with following config with Wlan and eth with both static or auto IPv4, using Unix-style line endings in file:

[connection]
id=hassos-network
uuid=3f64d211-53e8-4729-9d92-df0acd750b55
type=ethernet
interface-name=eth0

[ipv4]
address1=192.168.0.30/24,192.168.0.254
dns=192.168.0.254;
method=manual

[ipv6]
addr-gen-mode=stable-privacy
method=auto

Any ideas ? How can I help ?

This issue was moved by MartinHjelmare from home-assistant/home-assistant#16385.

stale

All 11 comments

I see no wlan config.

Can you post from shell: ip addr show?

How can I do that ? I suck at linux/cmd, time to improve :)
Into the Pi I only can log/use hassio CLI. No SSH enable, yet ...

Meanwhile, I disable IPv6 support from my rooter and try the following wifi config:

[connection]
id=hassos-network
uuid=3f64d211-53e8-4729-9d92-df0acd750b55
type=802-11-wireless

[wifi]
# Values are 0 (use default), 1 (ignore/don't touch), 2 (disable) or 3 (enable).
powersave=3

[802-11-wireless]
mode=infrastructure
ssid=**************

[802-11-wireless-security]
auth-alg=open
key-mgmt=wpa-psk
psk=**************

[ipv4]
method=auto

[ipv6]
addr-gen-mode=stable-privacy
method=auto

=> same issue.

I tryed the ne info and this time I had the following response:

The http request failed with the error: Get http://hassio/network/info: dial tcp 172.30.32.2:80: getsocketopt: connection refused

ne info and ho update still don't work https://github.com/home-assistant/hassio-cli/issues/96

Just see the iso file from the download page have changed from hassos_rpi3-64-2.2.img.gz to hassos_rpi3-64-1.10.img.gz. Let's try ... things 💃

Works! With the following settings:

[connection]
id=hassos-network
uuid=3f64d211-53e8-4729-9d92-df0acd750b55
type=ethernet
interface-name=eth0

[wifi]
# Values are 0 (use default), 1 (ignore/don't touch), 2 (disable) or 3 (enable).
powersave=2

[ipv4]
method=auto

Hassio CLI still don't work.
PI still output those two strange lines.

I'm having the same issues on a pi 3 b+ I've tried hassos_rpi3-1.13.img.gz,hassos_rpi3-1.12.img.gz, & hassos_rpi3-1.11.img.gz . Additionally I've tried both wired connection and wireless connection.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

This issue appears to still exist. I'm trying to install on a Raspbery Pi 3B+, and I've followed the installation instructions very carefully, with my network configuration as per the examples. But when I start up the Raspberry Pi with the flashed SD card and the CONFIG USB stick, the Raspberry Pi just gets stuck going around in circles, repeatedly showing (NETDEV_UP): Wlan0: link is not ready.

I've tried re-flashing the SD card, re-creating the CONFIG USB stick and its my-network file, but always the same result.

Clearly there's either something wrong/missing in the installation instructions or there's a bug somewhere.

I've also tried:

  • Re-formatting the CONFIG USB drive to make double double sure that it's FAT32.
  • Using a USB WiFi dongle in case there's something wrong with the built-in one.
  • Connecting to my 2.4GHz WiFi network rather than the 5GHz one (even though my Raspberry Pi model supports both).
  • Re-flashing the SD card, not using the CONFIG USB drive and connecting the Raspberry Pi to the router with an ethernet cable (and I've tested that the ethernet connection works by connecting a laptop to it).
  • Re-flashing the SD card with the 32 bit image instead of the 64 bit one (even though my Raspberry Pi is 64 bit).

Always the same result. (NETDEV_UP): Wlan0: link is not ready and then it restarts itself, going around and around in circles.

An update on this. The fact that it was restarting itself was due to it not having enough power. But the inability to be able to connect to WiFi using the settings on the CONFIG USB drive I do think is definitely a bug. I eventually got the WiFi connection to work by putting the my-network file onto the SD card itself (not on a USB drive). It seems that putting it on a USB drive simply doesn't work.

This thread shows several other people having the same issue, some of them resorting to just using an ethernet cable: https://community.home-assistant.io/t/wlan0-link-is-not-ready/66407 (I'm not saying that _all_ the people in that thread are experiencing this issue, but I think that certainly some of them are).

Having same issue. Brand new install on brand new SD card.
RPi 3 (v 1.2), 32 bit image
Hardline connection to router.

Have left running overnight just in case it is doing work. still can't get to web interface. Device shows no internet traffic on the network.

Followup in case this is useful to others. After much time reviewing the situation and docs, I discovered the simple issue - my laptop had connected to a different wifi network than the HA was on. Corrected this and I was able to connect to the HA dashboard (though still got the message about wlan0 not ready).

Was this page helpful?
0 / 5 - 0 ratings