mattlongman / Hassio-Access-Point

Hass.io addon to let you create a WiFi access point, perfect for using WiFi devices on off-grid installations.
MIT License
91 stars 64 forks source link

Rasberry/hass crash after starting (RPi4) #54

Open iKyzu opened 1 year ago

iKyzu commented 1 year ago

Hello, I was trying to setup the add-on on my home assistant, but every time I start the plugin it crashed the whole HASS and the Raspberry is not responding until manual reboot.

s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service fix-attrs successfully started s6-rc: info: service legacy-cont-init: starting s6-rc: info: service legacy-cont-init successfully started s6-rc: info: service legacy-services: starting s6-rc: info: service legacy-services successfully started Starting Hass.io Access Point Addon Setup interface: Add to /etc/network/interfaces: iface wlan0 inet static Run command: nmcli dev set wlan0 managed no Run command: ip link set wlan0 down Add to /etc/network/interfaces: address 192.168.178.1 Add to /etc/network/interfaces: netmask 255.255.255.0 Add to /etc/network/interfaces: broadcast 192.168.178.255 Run command: ip link set wlan0 up Setup hostapd: Add to hostapd.conf: ssid=TesterWiFi Add to hostapd.conf: wpa_passphrase=**** Add to hostapd.conf: channel=6 Add to hostapd.conf: ignore_broadcast_ssid=0 Add to hostapd.conf: macaddr_acl=0 Add to hostapd.conf: interface=wlan0 DHCP not enabled. Skipping dnsmasq Starting hostapd daemon rfkill: Cannot open RFKILL control device wlan0: interface state UNINITIALIZED->ENABLED wlan0: AP-ENABLED wlan0: STA 46:56:0e:b1:84:48 IEEE 802.11: associated wlan0: AP-STA-CONNECTED 46:56:0e:b1:84:48 wlan0: STA 46:56:0e:b1:84:48 RADIUS: starting accounting session F902A7ED405EC95B wlan0: STA 46:56:0e:b1:84:48 WPA: pairwise key handshake completed (RSN) wlan0: EAPOL-4WAY-HS-COMPLETED 46:56:0e:b1:84:48 wlan0: STA d6:b4:b8:86:97:60 IEEE 802.11: disassociated wlan0: STA d6:b4:b8:86:97:60 IEEE 802.11: disassociated wlan0: STA d6:b4:b8:86:97:60 IEEE 802.11: disassociated wlan0: STA d6:b4:b8:86:97:60 IEEE 802.11: disassociated wlan0: STA d6:b4:b8:86:97:60 IEEE 802.11: disassociated wlan0: STA d6:b4:b8:86:97:60 IEEE 802.11: disassociated wlan0: STA d6:b4:b8:86:97:60 IEEE 802.11: disassociated

I tried various things and nothing seems to be working for me, any solutions?

Add-on version: 0.4.7 HASS version: 10.5

gdaguin commented 1 year ago

Hello,

I am facing the same problem, I am using my raspberry via wifi and trying to make it a wifi hotspot with this plugin. Is that something possible or should we use the rasp with ethernet to make it a wifi hotspot ?

Dejv311 commented 1 year ago

Having the same issue after updating the HassOs to version 10.5 (not sure what the previous version was).

dingausmwald commented 1 year ago

Kind of same problem here. 9.5 worked i guess, but with 10.5 my wlan0 gets blocked somehow and i cant get an ip. Setting manual connection with nmcli says no password delivered. Strange for me. Hope anybody can help.

Btw, does it really crash or just loose the connection and run without access? You could check if sensor data gets collected.

ROBOT0-VT commented 6 months ago

Heyo, issue friends. Is this still happening with the latest version?