User Tools

Site Tools

A PCRE internal error occured. This might be caused by a faulty plugin

===== 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 <code> Networking ---> </code> and activate the IEEE 802.11 modules: <code> <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 </code> Now go to <code> Device Drivers ---> Network device support ---> Wireless LAN (non-hamradio) ---> </code> and activate the driver for the IOGear Wireless module: <code> <M> ZyDAS ZD1211/ZD1211B USB-wireless support </code> 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: <code> depmod -a </code> Add the modules to the /etc/modules file, to be loaded at bootup: <code> ieee80211softmac ieee80211_crypt_ccmp zd1211rw </code> Install ''wpa_supplicant'' and ''wireless-tools'' (if you don't have them): <code> apt-get install wireless-tools wpasupplicant </code> Open /etc/wpa_supplicant.conf <code> nano /etc/wpa_supplicant/wpa_supplicant.conf </code> and type (this configuration works with WPA and WPA2): <code> 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” } </code> **Note:** wpa_supplicant doesn't work well with TKIP, instead choose AES. Now open /etc/network/interfaces <code> nano /etc/network/interfaces </code> and type: <code> 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 </code> Finally, edit /etc/resolv.conf with your nameserver (usually same as gateway): <code> nano /etc/resolv.conf </code> Save, close and restart your system. ==== Testing ==== Restart the network connections: <code> /etc/init.d/networking restart </code> Type: <code> iwconfig </code> You should see something like this: <code> 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 </code>

installing_iogear_s_gwu523_wi-fi_dongle_with_wpa_wpa2.txt · Last modified: 2017/01/03 21:26 by admin