My first post here, although I have been reading for a while.
I wonder if someone could point me in the right direction. I want to use RPi in the car, and I want to set up a wifi dongle in such way, that when the car is parked on a driveway it connects to my home network (so that RPi can for example sync files library with my home computer, or to allow me to log in and download some data from RPi) but when I drive away, the wifi should switch to the access point mode (to act as a hotspot for wifi enabled devices in my car).
What would be the best way to switch wifi mode between AP and infrastructure? I am not asking about detecting it's location (at home or away) as I will try to figure it out myself later on, just trying to switch modes back and forth - because I don't think one dongle could be set up to work in two modes at the same time?