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
92 stars 66 forks source link

strange behaviour - ha os 10.3 - rpi 3 #50

Open seancmalloy opened 1 year ago

seancmalloy commented 1 year ago

this add-on works when first install it but doesn't after reboot, i have to restart service to connect client to hostapd wifi. it is set to start at boot but doesn't seems like it is running even though add-on info has stop and restart options, and no cpu % activity. after every reboot or ha restart i have to go back to add-on and restart. any way to fix this?

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 172.24.1.1 Add to /etc/network/interfaces: netmask 255.255.255.0 Add to /etc/network/interfaces: broadcast 172.24.1.255 Run command: ip link set wlan0 up Setup hostapd: Add to hostapd.conf: ssid=homeFI 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 enabled. Setup dnsmasq: Add to dnsmasq.conf: dhcp-range=172.24.1.100,172.24.1.200,12h Add to dnsmasq.conf: interface=wlan0 Add DNS: dhcp-option=6,192.168.1.1 Starting dnsmasq daemon Starting hostapd daemon rfkill: Cannot open RFKILL control device wlan0: interface state UNINITIALIZED->ENABLED wlan0: AP-ENABLED

update

it seems to an issue with the integrated wifi chip on the rpi3 board. tested with usb rtl8812 chip with no issue.

ROBOT0-VT commented 8 months ago

Hi, does this still occur in the newest version with updated HASSOS?