User Tools

Site Tools


installing_iogear_s_gwu523_wi-fi_dongle_with_wpa_wpa2

Introduction

This tutorial will help you to connect the IOGear's GWU523 Wi-Fi dongle to a network using the security protocol WPA/WPA2 and the AES standard.

Kernel configuration

In the kernel configuration menu go to

Networking --->

and activate the IEEE 802.11 modules:

<M> Generic IEEE 802.11 Networking Stack 			
<M> IEEE 802.11i CCMP support
<M> Software MAC add-on to the IEEE 802.11 networking stack

Now go to

Device 	Drivers ---> 
    Network device support --->
        Wireless LAN (non-hamradio) ---> 

and activate the driver for the IOGear Wireless module:

<M> ZyDAS ZD1211/ZD1211B USB-wireless support 	

Exit the menu and save your changes, then go ahead and compile your new kernel (if you need to). Don’t forget to compile the modules and copy them to your filesystem

Filesystem configuration

Execute depmod to generate modules.dep and all map files:

depmod -a

Add the modules to the /etc/modules file, to be loaded at bootup:

ieee80211softmac
ieee80211_crypt_ccmp
zd1211rw

Install wpa_supplicant and wireless-tools (if you don't have them):

apt-get install wireless-tools wpasupplicant

Open /etc/wpa_supplicant.conf

nano /etc/wpa_supplicant/wpa_supplicant.conf

and type (this configuration works with WPA and WPA2):

ctrl_interface=/var/run/wpa_supplicant

network={
		ssid="name_of_network"
		scan_ssid=1
		proto=WPA
		key_mgmt=WPA-PSK WPA-EAP
		pairwise=CCMP
		psk="password”			
	}

Note: wpa_supplicant doesn't work well with TKIP, instead choose AES.

Now open /etc/network/interfaces

nano /etc/network/interfaces

and type:

auto wlanX
iface wlanX inet static
	address XXX.XXX.XXX.XXX
	network XXX.XXX.XXX.XXX
	netmask XXX.XXX.XXX.XXX
	broadcast XXX.XXX.XXX.XXX
	gateway XXX.XXX.XXX.XXX
	wpa-driver wext
	wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf	

Finally, edit /etc/resolv.conf with your nameserver (usually same as gateway):

nano /etc/resolv.conf

Save, close and restart your system.

Testing

Restart the network connections:

/etc/init.d/networking restart

Type:

iwconfig

You should see something like this:

lo        no wireless extensions.                                               
                                                                                
eth0      no wireless extensions.                                               
                                                                                
eth1      IEEE 802.11b/g  ESSID:"Your_SSID"  Nickname:"zd1211"                   
          Mode:Managed  Frequency:2.422 GHz  Access Point: 00:1C:F0:F0:5A:2A    
          Bit Rate=24 Mb/s                                                      
          Encryption key:CF64-B8BA-383A-35C7-8840-45E2-3075-952A   Security mode:open
          Link Quality:0/100  Signal level:67/100  Noise level:0/0              
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0              
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0 
installing_iogear_s_gwu523_wi-fi_dongle_with_wpa_wpa2.txt · Last modified: 2017/01/03 21:26 by admin