My YunoHost server
Hardware: Raspberry Pi 4
YunoHost version: 11.2.8.2
I have access to my server : Through SSH | through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
If your request is related to an app, specify its name and version: hotspot 2.3.1~ynh1
Hello! I want to run the access point as a repeater, for this purpose I have connected an additional wifi-adapter to the Raspberry Pi and configured it to connect to the router (wlan1). I want to use the built-in wifi-adapter to run the access point (wlan0). However, the hotspot starts up for a very short time, after which it shuts down and wlan0 connects back to the wifi network (which the raspberry pi was connected to before installing and configuring the hotspot, additional wifi-adapter). Can you please tell me how to fix this? Here are the logs of ynh-hotspot service:
Aug 13 00:41:16 ynh-hotspot[24559]: ++ ynh_app_setting get hotspot ip6_firewall
Aug 13 00:41:16 ynh-hotspot[24559]: ++ set +o xtrace
Aug 13 00:41:16 ynh-hotspot[24589]: ++ app=hotspot
Aug 13 00:41:16 ynh-hotspot[24589]: ++ [[ ip6_dns =~ (unprotected|protected|skipped)_ ]]
Aug 13 00:41:16 ynh-hotspot[24589]: ++ ynh_app_setting get hotspot ip6_dns
Aug 13 00:41:16 ynh-hotspot[24589]: ++ set +o xtrace
Aug 13 00:41:16 ynh-hotspot[24619]: ++ app=hotspot
Aug 13 00:41:16 ynh-hotspot[24619]: ++ [[ ip6_net =~ (unprotected|protected|skipped)_ ]]
Aug 13 00:41:16 ynh-hotspot[24619]: ++ ynh_app_setting get hotspot ip6_net
Aug 13 00:41:16 ynh-hotspot[24619]: ++ set +o xtrace
Aug 13 00:41:16 ynh-hotspot[24649]: ++ app=hotspot
Aug 13 00:41:16 ynh-hotspot[24649]: ++ [[ ip4_dns =~ (unprotected|protected|skipped)_ ]]
Aug 13 00:41:16 ynh-hotspot[24649]: ++ ynh_app_setting get hotspot ip4_dns
Aug 13 00:41:16 ynh-hotspot[24649]: ++ set +o xtrace
Aug 13 00:41:17 ynh-hotspot[24679]: ++ app=hotspot
Aug 13 00:41:17 ynh-hotspot[24679]: ++ [[ ip4_nat_prefix =~ (unprotected|protected|skipped)_ ]]
Aug 13 00:41:17 ynh-hotspot[24679]: ++ ynh_app_setting get hotspot ip4_nat_prefix
Aug 13 00:41:17 ynh-hotspot[24679]: ++ set +o xtrace
Aug 13 00:41:17 ynh-hotspot[24709]: ++ app=hotspot
Aug 13 00:41:17 ynh-hotspot[24709]: ++ [[ gateway_interface =~ (unprotected|protected|skipped)_ ]]
Aug 13 00:41:17 ynh-hotspot[24709]: ++ ynh_app_setting get hotspot gateway_interface
Aug 13 00:41:17 ynh-hotspot[24709]: ++ set +o xtrace
Aug 13 00:41:17 ynh-hotspot[24370]: OK
Aug 13 00:41:17 ynh-hotspot[24370]: [hotspot] Starting...
Aug 13 00:41:17 ynh-hotspot[24370]: Set NAT
Aug 13 00:41:17 ynh-hotspot[24370]: Set forwarding
Aug 13 00:41:17 ynh-hotspot[24370]: Configuring hostapd
Aug 13 00:41:17 ynh-hotspot[24370]: Starting hostapd...
Aug 13 00:41:18 ynh-hotspot[24370]: hotspot wlan0: Set IPv4 NAT address
Aug 13 00:41:18 ynh-hotspot[24370]: hotspot wlan0: Start the DHCPv4 server (dnsmasq)
Aug 13 00:41:18 dnsmasq[24768]: started, version 2.85 DNS disabled
Aug 13 00:41:18 dnsmasq[24768]: compile time options: IPv6 GNU-getopt DBus no-UBus i18n IDN2 DHCP DHCPv6 no-Lua TFTP conntrack ipset auth cryptohash DNSSEC loop-detect inotify dumpfile
Aug 13 00:41:18 dnsmasq-dhcp[24768]: DHCP, IP range 10.0.242.2 -- 10.0.242.254, lease time 4h
Aug 13 00:41:18 ynh-hotspot[24370]: + app=hotspot
Aug 13 00:41:18 ynh-hotspot[24370]: + [[ gateway_interface =~ (unprotected|protected|skipped)_ ]]
Aug 13 00:41:18 ynh-hotspot[24370]: + ynh_app_setting set hotspot gateway_interface wlan1
Aug 13 00:41:18 ynh-hotspot[24370]: + set +o xtrace
Aug 13 00:41:22 ynh-hotspot[24370]: + yunohost tools regen-conf dnsmasq
Aug 13 00:41:22 dnsmasq-dhcp[24768]: no address range available for DHCP request via wlan1
Aug 13 00:41:24 dnsmasq-dhcp[24768]: no address range available for DHCP request via wlan1
Aug 13 00:41:26 ynh-hotspot[24841]: Configuration updated for 'dnsmasq'
Aug 13 00:41:29 ynh-hotspot[24841]: dnsmasq:
Aug 13 00:41:29 ynh-hotspot[24841]: applied:
Aug 13 00:41:29 ynh-hotspot[24841]: /etc/dnsmasq.conf:
Aug 13 00:41:29 ynh-hotspot[24841]: status: updated
Aug 13 00:41:29 ynh-hotspot[24841]: /etc/resolv.dnsmasq.conf:
Aug 13 00:41:29 ynh-hotspot[24841]: status: updated
Aug 13 00:41:29 ynh-hotspot[24841]: pending:
Aug 13 00:41:29 ynh-hotspot[24370]: + exit 0
Aug 13 00:41:29 systemd[1]: Finished YunoHost Wifi Hotspot.
Thanks in advance!