Solving for wpa_supplicant not working on linux


Your wifi's configuration for ssid and password that generated using wpa_passphrase is surely right, router configuration and your network interface setting not the problem.

So, check this file "/etc/dbus-1/system.d/wpa_supplicant.conf". If there is a 'epitest' word in there, do a backup for this file and edit after it. Delete all 'epitest' word on that file and save. Make sure there is no double dot (.) after you delete the 'epitest' word.

After that, run `killall wpa_supplicant` and `wpa_supplicant -B -i wlan0 -Dwext -c /etc/wpa_supplicant.conf`. If there is an error with parameter, run again without `-B` and open new terminal for run another command, that is `dhclient wlan0` and wait until dhclient command was done.

Finally, check `ipconfig` and make sure your wlna0 success getting ip from the rotuer/hotspot/access point.