To solve this problem, simply go to the camera settings and make sure that all the icons displayed on the screen match what is written in the user guide in the section "Checking the camera display".
You can also check and make sure that the USB cable is properly connected to the Sony a5100/nex5 (please use the USB cable).