I got a Raspberry Pi 3b+ and I got a problem with my internet and I want to control my Pi with my MacBook. It should be like with a VNC server. But in the next time, I got no internet and want to go on coding from Mac. Is there any way to do this?
this could be usefull to you. The configutarion described in this post, allow to the RPi, detect a connection to the router. If the RPi can't connect to the router, the RPi auto create an Access Point (you can configure the name, ip and password). So you can connect your notebook to the AP generated by the RPi and then access to the RPi using ssh. The problem is that in the latter case you do not have access to the internet, unless you have the pi connected by ethernet and properly configured.
On your Mac open up a terminal window. Enter the text:
If this doesn't work, you can use the app 'Fing' on an iPhone or Android device to get the IP address of the Pi and use that instead of
Password is raspberry by default and should be personalised as soon as possible.