I'm experiencing issues with a couple Raspberrys.
When setting up the boards, I plug them to HDMI monitor, keyboard and mouse. (no ethernet). I configure it to use wifi network and store that in the wpa_supplicant file. Rebooting the device works fine, and it always instantly connects to the wifi.
When running them headless (which is the objective), ie, no keyboard, no mouse, no hdmi (no ethernet !), the devices fail to connect to the wifi, or very randomly do.
Is there something I'm missing ?
Could the HDMI connection be a reason for the wifi behaving differently ?
More information: I've tried this with Raspbian Wheezy and Jessie. And both have same behavior. Currently it's running off of Jessie. (Found on Raspberry website).
Regarding setup.
Flashed the SD card.
Boots directly to desktop mode (with keyboard/mouse/hdmi plugged in).
We use Adafruit Wifi USB modules (ie. the realtek ones).
Once booted, we simply use the wifi connect pannel tool. Connect to our internal wifi.
That wifi ssid/psk gets stored into
/etc/wpa_supplicant/wpa_supplicant.conf
file.
We reboot (leaving everything plugged in), wifi connects almost instantly to our network everytime. (we can monitor this from our computers with lan scanning tools).
If we then reboot, and unplug everything EXCEPT power plug and Wifi module (ie. HDMI disconnected, No keyboard, No mouse). Then we monitor our lan, and the devices are randomly failing to connect.
Thus my question: Is there a chance that the configuration of the PI has an effect as to it's operation from a power standpoint, os standpoint, usb standpoint when cables are plugged in or not ?