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

Problem with hassio Access Point #13

Open mariogobos opened 3 years ago

mariogobos commented 3 years ago

Hi, i've already install your extension on my raspberry Pi4 with home assistant. After this i set module and connect to my Hassio Access Point my sonoff bridge zigbee hub (flashed with tasmota) and my laptop and disconnect eth0 cable from raspberry. Finally when i try to connect to the homeassistant page (homeassistant:8123) is impossible to connect, my laptop is correctly connected to hassio access point. The only way to connect to homeassistant page is to connect eth0 cable to raspberry.

My configuration:

ssid: Raspberry_WIFI wpa_passphrase: mypassword channel: '6' address: 192.168.1.177 netmask: 255.255.255.0 broadcast: 192.168.1.148 interface: wlan0 hide_ssid: '0' dhcp: '1' dhcp_start_addr: 192.168.1.210 dhcp_end_addr: 192.168.1.220 allow_mac_addresses: [] deny_mac_addresses: [] debug: 0 hostapd_config_override: [] client_internet_access: '1' client_dns_override:

mariogobos commented 3 years ago

Please can you help me? Thanks for availability

mattlongman commented 3 years ago

Hi @mariogobos. Are you able to connect via IP? (from your config, that would be http://192.168.1.177:8123)

The add-on can't serve DNS itself, so homeassistant.local won't work.

Also, it might not make any difference, but your broadcast address should be 192.168.1.255

mariogobos commented 3 years ago

Hi @mattlongman thanks for your answer. If eth0 cable is connected to raspberry and my laptop is connect to WIFI (not Raspberry_WIFI) i can connect to http://192.168.1.177:8123, but if i disconnect eth0 cable and i connect the laptop to Raspberry_WIFI i can't connect. I try to change broadcast but not make any difference. Is important to me that 192.168.1.177:8123 work from Raspberry_WIFi because i connect all my sonoff to the WIFI generated from Raspberry. Thanks fro support

mariogobos commented 3 years ago

Hi @mattlongman, i try different way. After i generated Wifi from raspberry (Raspberry_WIFI) i connect my sonoff with tasmota (his ip 192.168.1.216). Now i think to connect raspberry to ethernet and do first configurations after i disconnect eth0 cable and use it stand alone, but when i add new zigbee automation in raspberry and set tasmota address (socket://192.168.1.216:8888 on Raspberry_WIFI) raspberry can't connect. Can you help me please

mattlongman commented 3 years ago

Try removing this from your config:

client_internet_access: '1'
client_dns_override:

8.8.8.8
8.8.4.4

Internet access routes traffic using eth0, so when you disconnect ethernet it's most likely why you can't access local addresses.

aureliusss commented 3 years ago

@mattlongman @mariogobos i've the same issue: RPi 4 connected via eth0 to router, Laptop connected to the same network via Wifi, i can access the homeassistant.local:8123. After I disconnect the eth cable, i connect my laptop to the accesspoint generated, but i cannot connect to homeassistant.local (even if I use the ip address) ssid: HAtest123 wpa_passphrase: HAtest123 channel: '8' address: 192.168.10.1 netmask: 255.255.255.0 broadcast: 192.168.10.255 interface: wlan0 hide_ssid: '0' dhcp: '1' dhcp_start_addr: 192.168.10.230 dhcp_end_addr: 192.168.10.255 allow_mac_addresses: [] deny_mac_addresses: [] debug: 1 hostapd_config_override: [] client_internet_access: '0' client_dns_override: []

hellresistor commented 1 year ago

have you try http://192.168.10.1:8123 on Hassio Access Point wifi? or 192.168.1.177