I followed this tutorial to set up my RPi 3 as an Access Point. It works great and I am able to connect through it and I can also VNC to it directly from my phone when in my car (which was the main aim).
However, I now need to revert it back to client mode so that I can connect to it through my home network when I am back home. To be precise, I need an easy way to switch between the two modes.
I tried to follow the instructions in this post but they seem to aimed at using isc-dhcp-server
rather than dnsmasq
like I am doing. #systemctl stop dnsmasq.service
did not appear to do anything. Besides, I am stuck at the part where it says I have to "use wpa_supplicant as a service". The link points to a text file which I have no idea how to put to use. As things stand, if I click on the up/down arrows icon at the top right of the screen, it says "no wireless interfaces found".
My first priority is to switch back to client mode. I will worry about how to automate that later (although it would be cool if there was a single tutorial for doing both using the AP setup I used).