I'm trying to set up a home automation system using a Raspberry Pi 3 (with a RaZberry 2 Z-Wave controller) and the Z-Way Z-Wave Controller. I've set up my Pi with a complete SD card image, as described here (which I believe is based on Jessie).
Because the Z-Way software is set up to allow connecting to the Pi using its own wireless network (I assume, in retrospect), the SD card image is configured to have the Pi's wifi act as an access point. The result is that the Pi has to be connected to my router using a cable for Internet access. I would instead like to connect the Pi to my router wirelessly, but I'm having problems figuring out how to do this (probably because my lack of Linux knowledge...).
So, the question is: How can I stop the wifi adapter on my Pi acting as an access point, and instead have it work like a "normal" wifi adapter to connect to my wireless network?
What I've tried this far:
First I connected to my Pi using PuTTY and followed this documentation on how to set up wifi from the command line. My /etc/wpa_supplicant/wpa_supplicant.conf is according to the example, but it doesn't seem to work. When running ifconfig
, I notice that the eth0 and wlan0 adapters appear to be on different subnets, which indicates that the wlan0 adapter is running in AP mode.
Next I've tried turning off the AP mode (sudo systemctl stop hostapd
, as described here), but that didn't seem to have any effect either. ifconfig
still shows the two adapters on different subnets (and I get not Internet access when I pull the cable).
I've also tried running sudo update-rc.d hostapd disable
to stop the hostapd service from starting up at boot, but that didn't work either.
Any ideas to what I could try next? And please keep in mind my limited Linux knowledge when suggesting a solution :)