I could not get my S4 to work with my home WiFi router (Linksys E1000).....here's the solution: