How to change to WPA2? (wpa_supplicant)

My network now works thanks to our friend 67GTA

Here is my wpa_supplicant.conf


ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
#ap_scan=1
network={
	ssid="varnus"
	scan_ssid=1
	proto=WPA
	pairwise=TKIP
	key_mgmt=WPA-PSK
	psk=SOME_PASSWORD	
}

What it would be necessary to change to WPA2 and AES? (same network)?

Thanks

I run an open wireless network, so I’m short on actual experience
USING the security functions.

But, having said that, I do understand how to alter settings inside
a router, as I’ve done a number of installations of routers.

I’m assuming YOU own the router (i.e. its on your premises).
The recommended way to MANAGE the wireless-side of a router
is while being attached to one of its HARD-WIRED ethernet ports.
Using your browser, you use a numeric URL, to your ‘gateway’ IP
address(i.e. the router), so that would typically be either:
HTTP://192.168.0.1/
or
HTTP://192.168.1.1/
It’ll ask for username/password and once in, you just change the
router’s wireless security to the type you want.

So, the only bottom line restriction is whether both your router
and your ndiswrapped-card support the security-type for this
‘AES’ option of WPA2 security.

(Your manual for the router shows all the details of connecting
to it and managing the setups, if you’ve never done this before.)

Make sure WPA2 can be supported by your access point first.
Modify your wpa_supplicant.conf as below:

ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
#ap_scan=1
network={
	ssid="varnus"
	scan_ssid=1
	proto=RSN
	pairwise=CCMP TKIP
	key_mgmt=WPA-PSK
	psk=SOME_PASSWORD	
}

Hey guys, I’m sorry to intrude on your discussion. I’ve been having wireless network issues and I’ve tried everything with the usual GUIs, including YaST, to no avail. Your discussion seems to suggest to me that I can do the configuration in the wpa_supplicant.conf which would be so much easier for me! But I find that I have three different files with that name. The paths to each are shown below; which one should I tweak to be able to connect? or doesn’t it matter? Does any match the path to the one you have posted above?

/usr/share/doc/packages/wpa_supplicant/wpa_supplicant.conf

/etc/wpa_supplicant/wpa_supplicant.conf

/etc/dbus-1/system.d/wpa_supplicant.conf

Thanks

@Cookdav,
yes, I have access to router and I know how to configure it. Thanks.

@df6269,
yes, that is what I needed. Thanks.

@lukomwa,
no matter how much conf files you have, wpa_supplicant will make one configuration in /var/run/wpa_supplicant if your card is wlan0, there you will have file wlan0.

If you want to reconfigure, you will probably have to delete that file and say to wpa_supplicant to make new configuration based on some config file.
Type “wpa_supplicant” in console (with no parameters) and you will get example at the end of the help file that will be displayed to you.

I have wireless running with wpa2 and aes encryption on opensuse 11. I used knetwork manager to configure it.