Just a short post in case it helps anyone else out there. I have Windows 10 10240 running on my Surface Pro 3 and I also have it running on a Raspberry PI 2.
Up until recently, I’ve been connecting these devices via wired networking because Wi-Fi support wasn’t available in earlier builds of the IoT Core OS.
Once Wi-Fi became available, I purchased the official Raspberry PI 2 Wi-Fi dongle and I had no problems in getting both my Surface Pro 3 and the Raspberry PI 2 onto my common, home Wi-Fi network.
The instructions for doing this are here and they all worked very smoothly for me. I set up the configuration by using my existing wired connection to the device to launch the Web administrative console and tell the Raspberry PI to join my Wi-Fi network. I could, equally, have plugged in a keyboard and monitor and done the same thing using the default app on the device.
Once that was done, I could just unplug the network cable from the Raspberry PI 2 and everything worked fine – the PI is on the Wi-Fi.
However, I also wanted the Raspberry PI to be able to join a network shared off my Windows Phone such that if I was in a place where I had my Surface Pro 3, my phone and the Raspberry PI then I could enable connectivity between the PC and the IoT device just by having my phone share a network.
Initially, this looked very promising in that I can see my phone’s network in the web admin UI for the PI;
It’s the one highlighted at the bottom.
However, no matter how many times I tried to use the UI here to connect with the right credentials for the network, it seemed that the device never wanted to join that Wi-Fi network.
I spent a little time on it and did finally get it working but I changed direction and followed the path outlined on the instructions here but, rather than using the web admin UI for IoT core, I followed the steps under the title ‘Connect Using WiFi Profiles’.
I first joined my Surface Pro 3 to the network being offered by my phone and then I exported that profile from the PC, copied it to the PI, imported it there and told the device to connect to that Wi-Fi network which it did just fine.
To be clear, I also undertook the steps in the section ‘Connecting to WPA2-PSK Personal networks’ and changed the exported XML file such that the password wasn’t encrypted in the XML file.
With that in place, I’ve got my Surface Pro 3 and my PI 2 on a network offered by my phone which I’m hoping means that I can take these devices on the road in the future with my own, private network without having to carry around a wired switch and a bunch of ethernet cables