Will it work to make a simple bash script with all the commands… So when disconnect from Pi and after the nmcli command wifi will up again.
I don’t want to move my Rpi from location to my router just to connect to a cable for a short moment…
Will it work to make a simple bash script with all the commands… So when disconnect from Pi and after the nmcli command wifi will up again.
I don’t want to move my Rpi from location to my router just to connect to a cable for a short moment…
Yeah i think it will…
Maybe something like this:
#!/bin/bash
execute() {
sudo systemctl disable dhcpcd
sudo systemctl stop dhcpcd
}
declare -fxr execute
timeout 10 bash -ce 'execute'
sudo nmcli device wifi con "YOUR SSID" password "PASSWORD"
@0kk0
It didn’t work for me, so add UTP cable into it. Logged in and saw that my wifi device not worked.
Dit follow steps below and after I got my wifi back did a full reboot of system (not only HA) and wifi was running. In HA I see my system is supported again thanks anyway for the assistance!
root@hassio: nmcli d
DEVICE TYPE STATE CONNECTION
eth0 ethernet connected Wired connection 1
wlan0 wifi unavailable --
docker0 bridge unmanaged --
hassio bridge unmanaged --
veth12dccf7 ethernet unmanaged --
veth14516b6 ethernet unmanaged --
veth3a849b5 ethernet unmanaged --
veth41ec173 ethernet unmanaged --
veth619f409 ethernet unmanaged --
veth6a99bfc ethernet unmanaged --
veth72e3982 ethernet unmanaged --
veth7ba083d ethernet unmanaged --
vethe959221 ethernet unmanaged --
vethf60ef52 ethernet unmanaged --
vethfe8034c ethernet unmanaged --
lo loopback unmanaged --
root@hassio: nmcli r wifi on
root@hassio: nmcli d wifi list
IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY
root@hassio: sudo wpa_cli -i wlan0
wpa_cli v2.8-devel
Copyright (c) 2004-2019, Jouni Malinen <[email protected]> and contributors
This software may be distributed under the terms of the BSD license.
See README for more details.
Interactive mode
<3>CTRL-EVENT-SCAN-STARTED
<3>CTRL-EVENT-SCAN-RESULTS
<3>WPS-AP-AVAILABLE
root@hassio: nmcli dev show wlan0
GENERAL.DEVICE: wlan0
GENERAL.TYPE: wifi
GENERAL.HWADDR: MY_MAC_ADDRESS
GENERAL.MTU: 1500
GENERAL.STATE: 30 (disconnected)
GENERAL.CONNECTION: --
GENERAL.CON-PATH: --
root@hassio: nmcli dev wifi list
IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY
MY_SSID Infra 12 540 Mbit/s 65 ââ
â_ WPA1 WPA2
MY_SSID_1 Infra 40 540 Mbit/s 65 ââ
â_ WPA1 WPA2
MY_SSID_2 Infra 100 540 Mbit/s 62 ââ
â_ WPA1 WPA2
root@hassio: sudo nmcli device wifi con "SSID" password "PASSWORD"
Device 'wlan0' successfully activated with '04016a83-XXXX-XXXX-XXXX-30b6aec6f000'.
root@hassio:~# nmcli dev status
DEVICE TYPE STATE CONNECTION
eth0 ethernet connected Wired connection 1
wlan0 wifi connected MY_SSID
Nice work!!!
Hi All ! I have simmilar problem, after the supervisor update (to version 2020.10.0) HA displays “You are running an unsupported installation”.
There is an error in the supervisor logs “NetworkManager is not correctly configured”.
The link refers to the documentation https://www.home-assistant.io/more-info/unsupported/network_manager
I made changes as in the documentation, but I still get a message and an error. I use the addon DHCP server if it’s important. IP of HA set to static. Someone help?
docker_version 18.09.8
hassio true
host_os
installation_type Home Assistant Supervised
os_name Linux
os_version 3.10.102
python_version 3.8.6
supervisor 2020.10.0
HA version 0.117.1
I can open 192.168.1.5:8123.
I can’t open https://…duckdns.org:8123
Probably problem is in Network manager. I am not specialist. Please could you give step by step instruction to fix.
I do not have info about IP about hostname, ip, OS in Host System section.
I tried:
curl -Lo installer.sh https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh
bash installer.sh
Thank you!