Hotspot fails to initialise

I am running PatchboxOS on a Raspberry Pi 5 without Pi Sound

When I go to set up a hotspot using patchbox-config it fails

I see this, repeatedly, in the logs:

Jul 27 07:26:31 patchbox NetworkManager[1039]: dnsmasq: failed to create listening socket for 172.24.1.1: Address already in use

If I kill dnsmasq ofter reboot

sudo pkill dnsmasq

I get the hotspot working

My next step is to nuke the system and start again, but that is tiresome.

Has anybody any clues as to why this is happening?"

It seems like dnsmasq is possibly getting started by multiple packages or scripts. You should check the output of ps -ef and see if the command line is the same both times, before killing the process, and when starting it.

I seem to have fixed it by:

sudo systemctl disable dnsmasq
sudo systemctl stop dnsmasq

I do not know why.

When I do another cycle of reinstalling from scratch I will confirm if I need t do that, and if so, I will get to the bottom of it

Thank you for your attention

W

1 Like