Hassio-Access-Point
Hassio-Access-Point copied to clipboard
start hotspot without internet connection
first of all, what an amazing addon you saved ma ass big time :). then the issue as stated in the title is that the hotspot does not start up without a internet connection (so eth0 connected). i'd like the hotspot to startup without internet since i only really need it to connect to one other microcontroller and i don't have internet where ill be using it most of the time.
first of all, what an amazing addon you saved ma ass big time :). then the issue as stated in the title is that the hotspot does not start up without a internet connection (so eth0 connected). i'd like the hotspot to startup without internet since i only really need it to connect to one other microcontroller and i don't have internet where ill be using it most of the time.
Interesting... thanks for the report. Can you share your config please?
@ex-ml Same here. The AP only starts, if there is an Internet connection on the configured interface in home assistant.
BUT only, if "access Internet" is enabled in the AP configuration. Hope this helps you and us 👍
My config:
ssid: xxxxx wpa_passphrase: xxxxx channel: 1 address: 192.168.2.1 netmask: 255.255.255.0 broadcast: 192.168.99.255 interface: wlan0 hide_ssid: false dhcp: true dhcp_start_addr: 192.168.2.10 dhcp_end_addr: 192.168.2.100 allow_mac_addresses: [] deny_mac_addresses: [] debug: 0 hostapd_config_override: [] client_internet_access: true client_dns_override:
- 8.8.8.8 dnsmasq_config_override:
- dhcp-host=44:17:93:cd:1b:b8,192.168.2.101
- dhcp-host=fc:b6:f4:13:53:58,192.168.2.2
- dhcp-host=e4:65:b8:f2:c8:6c,192.168.2.102
- dhcp-host=44:17:93:cd:13:f8,192.168.2.103
- dhcp-host=0c:dc:7e:fa:0a:d0,192.168.2.104
- dhcp-host=0c:dc:7e:fa:18:c0,192.168.2.105
- dhcp-host=80:64:6f:da:8f:08,192.168.2.106
- dhcp-host=80:64:6f:da:19:d4,192.168.2.107
- dhcp-host=80:64:6f:d8:55:50,192.168.2.108
- dhcp-host=80:64:6f:da:8f:4c,192.168.2.109
- dhcp-host=44:17:93:cd:1b:b8,192.168.2.110
- dhcp-host=cc:7b:5c:89:00:c0,192.168.2.120
- dhcp-host=cc:7b:5c:89:61:0c,192.168.2.121
- dhcp-host=cc:7b:5c:89:12:bc,192.168.2.122
- dhcp-host=cc:7b:5c:89:58:50,192.168.2.123
- dhcp-host=10:06:1c:cb:7f:90,192.168.2.124
- dhcp-host=cc:7b:5c:89:19:54,192.168.2.125
- dhcp-host=cc:7b:5c:82:f7:f8,192.168.2.126
- dhcp-host=cc:7b:5c:88:e5:70,192.168.2.127
I have the same problem, i noticed that if no internet is available at boot the log ends with his: 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. s6-rc: info: service legacy-services: stopping s6-rc: info: service legacy-services successfully stopped s6-rc: info: service legacy-cont-init: stopping s6-rc: info: service legacy-cont-init successfully stopped s6-rc: info: service fix-attrs: stopping s6-rc: info: service fix-attrs successfully stopped s6-rc: info: service s6rc-oneshot-runner: stopping s6-rc: info: service s6rc-oneshot-runner successfully stopped
And if there is a internet connection at boot up, the log looks like this: 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.2.1
Custom dnsmasq config options:
Add to dnsmasq.conf: dhcp-host=dc:e5:5b:XX:XX:XX,192.168.3.5 Add to dnsmasq.conf: dhcp-host=2A:B1:CF:XX:XX:XX,192.168.3.6 rfkill: Cannot open RFKILL control device wlan0: interface state UNINITIALIZED->ENABLED wlan0: AP-ENABLED
Configuration: ssid: XXX wpa_passphrase: XXX channel: 6 address: 192.168.3.1 netmask: 255.255.255.0 broadcast: 192.168.3.255 interface: wlan0 hide_ssid: false dhcp: true dhcp_start_addr: 192.168.3.10 dhcp_end_addr: 192.168.3.150 allow_mac_addresses: [] deny_mac_addresses: [] debug: 0 hostapd_config_override: [] client_internet_access: true client_dns_override: [] dnsmasq_config_override:
Any update on this?
Is this still an issue?