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
81 stars 63 forks source link

start hotspot without internet connection #77

Open tsbalpha opened 1 month ago

tsbalpha commented 1 month ago

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.

mattlongman commented 3 weeks ago

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?

JRMBB commented 2 weeks ago

@mattlongman 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: