Thursday, June 26, 2008

Ubuntu, WIFI and WPA2

well i thought i should post this in case it might help someone else.

I am a big linux fan, i currently run Ubuntu Hardy Heron and like many, i have a wireless router for convenience. Well i've run into an issue with my WPA2 security encryption, when you restart your machine ( yes it does happen that i turn off my computer ) you need to reconfigure the WPA2 security configuration.

i've discovered the fix by searching through some of the forums, but am not entierely sure of the reason ( different forums have different reasons ). First the cause ( as best as i can describe it ). It would appear that the network service is started before the security ( WIFI encryption ) is fully loaded.

Now the solution in your rc.local file (/etc/rc.local ) add the following line
/etc/init.d/networking restart
exit 0
explanation: what this does is restart the network service ( with the already configured information, including WPA2 key ) once everything else is loaded.

now please, if anyone can correct, or complete any of the aspects of this post i would much appreciate it.

No comments: