ELM 2007/11/16 11:46
[转贴]Linux下使用WPA验证的无线配置方法
After several days of hard, I finally managed to set up my connection with WiFi WPA on centos5.0 ndiswrapper.
In fact, unlike a connection WEP Open, you must first set your WiFi card (MACADR) at WiFi hotspot. To do this we must use wpa_supplicant. Once the association made, we can use the graphical tool for redhat or launch dhclient.
Example: (I feel that the WiFi card is configured wlan0 or eth1)
1 / vi / etc / wpa_supplicant / wpa_supplicant.conf
Ctrl_interface = /var/run /wpa_supplicant
Ctrl_interface_group = wheel
Network = (
Ssid = "YOUR_NAME_SSID"
Key_mgmt # = "WPA-PSK"
Psk = "YOURPASS_OR_KEY"
)
2/ make association :
wpa_supplicant -B -dd -iwlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf
wait a few seconds ....
3/ dhclient wlan0
There is a GUI QT4: wpa_gui. GTK But I did not find. If anyone knows is frontal ... I am interested.
Otherwise, I am also interested to set up such wifi agreement with the redhat inteface.
The above steps can be started from / etc / rc.local
Bye
原文来自: http://www.linuxforums.org/forum/redhat-fedora-linux-help/99133-setting-up-wpa-wireless-connection.html