Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No network on RPI4 #88

Open
DW-homeassistant opened this issue Oct 2, 2024 · 2 comments
Open

No network on RPI4 #88

DW-homeassistant opened this issue Oct 2, 2024 · 2 comments

Comments

@DW-homeassistant
Copy link

I've been having a problem with Hass.io Access Point for a few days now.
Here is the configuration :

  • up to date HAOS and extensions
  • RPI4 B
    In fact no device can connect the AP, while no change has been done manually in the configuration of Hass.io Access Point. Therefore, when I restart the extension, I noticed different issues :
  1. There is a version mismatch between nmcli and NetworkManager. Maybe it is due to HAOS itself ?
  2. Lot of deauthentications due to local deauth request
  3. Lot of disassociation (maybe consequently to 2.)

Here is a copy past of the log after restart of the extension :

`Stopping Hass.io Access Point
wlan0: AP-DISABLED
wlan0: CTRL-EVENT-TERMINATING
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
ifdown: interface wlan0 not configured
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
Warning: nmcli (1.46.2) and NetworkManager (1.44.2) versions don't match. Restarting NetworkManager is advised.
Warning: nmcli (1.46.2) and NetworkManager (1.44.2) versions don't match. Restarting NetworkManager is advised.
Add DNS: dhcp-option=6,192.168.1.1

Custom dnsmasq config options:

Add to dnsmasq.conf: dhcp-host=e8:xx:xx:xx:xx:xx,192.168.99.181
Add to dnsmasq.conf: dhcp-host=f4:xx:xx:xx:xx:xx,192.168.99.182
Add to dnsmasq.conf: dhcp-host=e8:xx:xx:xx:xx:xx,192.168.99.183
Add to dnsmasq.conf: dhcp-host=3c:xx:xx:xx:xx:xx,192.168.99.185
Add to dnsmasq.conf: dhcp-host=3c:yy:yy:yy:yy:yy,192.168.99.186
Add to dnsmasq.conf: dhcp-host=90:xx:xx:xx:xx:xx:03,192.168.99.35
Add to dnsmasq.conf: dhcp-host=4c:xx:xx:xx:xx:xx,192.168.99.184
rfkill: Cannot open RFKILL control device
wlan0: interface state UNINITIALIZED->ENABLED
wlan0: AP-ENABLED
wlan0: STA e8:xx:xx:xx:xx:xx IEEE 802.11: associated
wlan0: STA e8:xx:xx:xx:xx:xx IEEE 802.11: associated
wlan0: STA e8:xx:xx:xx:xx:xx IEEE 802.11: disassociated
wlan0: STA e8:xx:xx:xx:xx:xx IEEE 802.11: disassociated
wlan0: STA e8:xx:xx:xx:xx:xx IEEE 802.11: deauthenticated due to local deauth request
wlan0: STA e8:xx:xx:xx:xx:xx IEEE 802.11: disassociated
wlan0: STA f4:xx:xx:xx:xx:xx IEEE 802.11: associated
wlan0: STA 3c:xx:xx:xx:xx:xx IEEE 802.11: associated
wlan0: STA f4:xx:xx:xx:xx:xx IEEE 802.11: deauthenticated due to local deauth request
wlan0: STA 3c:xx:xx:xx:xx:xx IEEE 802.11: deauthenticated due to local deauth request
wlan0: STA 3c:xx:xx:xx:xx:xx IEEE 802.11: disassociated
wlan0: STA f4:xx:xx:xx:xx:xx IEEE 802.11: disassociated
wlan0: STA f4:xx:xx:xx:xx:xx IEEE 802.11: disassociated
wlan0: STA 3c:xx:xx:xx:xx:xx IEEE 802.11: disassociated
wlan0: STA f4:xx:xx:xx:xx:xx IEEE 802.11: disassociated
wlan0: STA 3c:xx:xx:xx:xx:xx IEEE 802.11: disassociated
wlan0: STA f4:xx:xx:xx:xx:xx IEEE 802.11: disassociated
wlan0: STA 3c:xx:xx:xx:xx:xx IEEE 802.11: disassociated
wlan0: STA 3c:xx:xx:xx:xx:xx IEEE 802.11: disassociated
wlan0: STA f4:xx:xx:xx:xx:xx IEEE 802.11: disassociated
wlan0: STA e8:xx:xx:xx:xx:xx IEEE 802.11: associated
wlan0: STA e8:xx:xx:xx:xx:xx IEEE 802.11: deauthenticated due to local deauth request
wlan0: STA e8:xx:xx:xx:xx:xx IEEE 802.11: disassociated
wlan0: STA e8:xx:xx:xx:xx:xx IEEE 802.11: associated
wlan0: STA e8:xx:xx:xx:xx:xx IEEE 802.11: deauthenticated due to local deauth request
wlan0: STA e8:xx:xx:xx:xx:xx IEEE 802.11: disassociated
wlan0: STA e8:xx:xx:xx:xx:xx IEEE 802.11: associated
wlan0: STA 3c:xx:xx:xx:xx:xx IEEE 802.11: associated
wlan0: STA f4:xx:xx:xx:xx:xx IEEE 802.11: associated
wlan0: AP-STA-CONNECTED e8:xx:xx:xx:xx:xx
wlan0: STA e8:xx:xx:xx:xx:xx RADIUS: starting accounting session 8EDE53F674CF7BB8
wlan0: STA e8:xx:xx:xx:xx:xx WPA: pairwise key handshake completed (RSN)
wlan0: EAPOL-4WAY-HS-COMPLETED e8:xx:xx:xx:xx:xx
wlan0: AP-STA-CONNECTED f4:xx:xx:xx:xx:xx
wlan0: STA f4:xx:xx:xx:xx:xx RADIUS: starting accounting session 5476841D119F774E
wlan0: STA f4:xx:xx:xx:xx:xx WPA: pairwise key handshake completed (RSN)
wlan0: EAPOL-4WAY-HS-COMPLETED f4:xx:xx:xx:xx:xx
wlan0: AP-STA-CONNECTED 3c:xx:xx:xx:xx:xx
wlan0: STA 3c:xx:xx:xx:xx:xx RADIUS: starting accounting session 15B10B51C0CFF6A8
wlan0: STA 3c:xx:xx:xx:xx:xx WPA: pairwise key handshake completed (RSN)
wlan0: EAPOL-4WAY-HS-COMPLETED 3c:xx:xx:xx:xx:xx
wlan0: STA f4:xx:xx:xx:xx:xx IEEE 802.11: disassociated
wlan0: AP-STA-DISCONNECTED f4:xx:xx:xx:xx:xx
wlan0: STA 3c:xx:xx:xx:xx:xx IEEE 802.11: disassociated
wlan0: AP-STA-DISCONNECTED 3c:xx:xx:xx:xx:xx
wlan0: STA e8:xx:xx:xx:xx:xx IEEE 802.11: disassociated
wlan0: AP-STA-DISCONNECTED e8:xx:xx:xx:xx:xx
wlan0: STA 3c:yy:yy:yy:yy:yy IEEE 802.11: associated
wlan0: STA 3c:yy:yy:yy:yy:yy IEEE 802.11: deauthenticated due to local deauth request
wlan0: STA 3c:yy:yy:yy:yy:yy IEEE 802.11: disassociated
wlan0: STA 3c:yy:yy:yy:yy:yy IEEE 802.11: associated
wlan0: STA 3c:yy:yy:yy:yy:yy IEEE 802.11: deauthenticated due to local deauth request
wlan0: STA 3c:yy:yy:yy:yy:yy IEEE 802.11: disassociated
wlan0: STA 3c:yy:yy:yy:yy:yy IEEE 802.11: disassociated
wlan0: STA 3c:yy:yy:yy:yy:yy IEEE 802.11: disassociated
wlan0: STA 3c:yy:yy:yy:yy:yy IEEE 802.11: disassociated
wlan0: STA 3c:yy:yy:yy:yy:yy IEEE 802.11: disassociated
wlan0: STA e8:xx:xx:xx:xx:xx IEEE 802.11: associated
wlan0: STA e8:xx:xx:xx:xx:xx IEEE 802.11: deauthenticated due to local deauth request
wlan0: STA e8:xx:xx:xx:xx:xx IEEE 802.11: disassociated
wlan0: STA e8:xx:xx:xx:xx:xx IEEE 802.11: disassociated
wlan0: STA e8:xx:xx:xx:xx:xx IEEE 802.11: disassociated`

@DW-homeassistant
Copy link
Author

Auto response : using 172.30.32.1 for the DNS server (Adguard Home) is not a good idea...

@squatt2gamer
Copy link

For those who have problems, remember to check the name of your wifi network interface which will not necessarily be wlan0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants