It’s not nessecary anymore to do the changes manually if you want to switch from connman to ceni, like it was your problem one year ago.
If you want to switch from connman to ceni or vice versa, you can now use the antix-wifi-switcher.
menu > applications > antiX > antix-wifi-switcher
The wifi-switcher ensures that the necessary configurations are written.So please use the wifi-switcher.
I used to get the occasional wifi setup problem too, (it used to work fine with ceni, before connman), but now I just click on ‘wifi’ twice, in the connman gui, wait a couple of seconds for all available connections, then go to ‘Wireless’, & set it up.