You must have completed wireless Internet access in wep mode in Ubuntu (if not, search for it in Google). Here we will mainly explain how to use wireless networks in wpa mode. 1. Install wpa_supplicantapt-getinstallwpasupplicant2, create/etc/wpa_supplicant.conf contains the following content: network = {ssid = "your wireless network ssid" psk = "Your wpa password" key_mgmt
You must have completed wireless Internet access in wep mode in Ubuntu (if not, search for it in Google). Here we will mainly explain how to use wireless networks in wpa mode.
1. Install wpa_supplicant
Apt-get install wpasupplicant
2. Create/etc/wpa_supplicant.conf, which includes the following content:
Network = {
Ssid = "your wireless network ssid"
Psk = "Your wpa password"
Key_mgmt = WPA-PSK
Proto = WPA
Pairwise = TKIP
}
3. edit/etc/network/interfaces
Iface eth1 inet dhcp
Pre-up wpa_supplicant-Bw-Dwext-ieth1-c/etc/wpa_supplicant.conf
Post-down killall-q wpa_supplicant
Note: eth1 is your network card, and assume that you use dhcp protocol.
4. Start your Nic
Ifup eth1
If necessary, disable your wired network (ifdown eth0) to prevent Routing Problems.