background image

  ssid="example" 
  key_mgmt=WPA-EAP 
  eap=PEAP 
  identity="jhsieh" 
 

 

password="jhsieh" 

  ca_cert="/etc/cert/fluffy.pem" 
  phase1="peaplabel=0" 
  phase2="auth=MSCHAPV2" 
  priority=10 

               
 
- After modifying, use the following command to setup WPA connection. 
              If the zd1211 is not open yet, please open it firstly by command: 
           ]$ ifconfig eth1 up <IP address of the network interface> 
              After network interface is opened, enter the command to build wpa psk 
connection:  
           ]$ ./wpa_supplicant -ieth1 -c wpa_supplicant_psk.conf -d -D zydas 
              To build wpa eap-tls 
           ]$ ./wpa_supplicant -ieth1 -c wpa_supplicant_tls.conf -d -D zydas 
              To build wpa peap: 
           ]$ ./wpa_supplicant -ieth1 -c wpa_supplicant_peap.conf -d -D zydas 
 
              note: 
       @-i: interface name: eth1 
       @-c: Configuration file: wpa_supplicant_psk.conf 
              @-D: The name of network interface. 
              You will see the following message if wpa-psk connection is built successfully. 
              ... 
              WPA: Sending EAPOL-Key 2/2      ---> The Group handshake is about to finish. 
              ...         
       EAPOL: SUPP_PAE entering state SUCCESS 
       EAP: EAP entering state SUCCESS 
       EAPOL: SUPP_PAE entering state AUTHENTICATED 
       EAPOL: SUPP_BE entering state IDLE 
                     
Note of wpa supplicant operation issue: 
      The WPA supplicant should be keep running during connection. If you press   
      Ctrl-C to stop the wpa supplicant, it will also close the network interface card 
      by "zd1211_close" call back routine. So you have to issue ifconfig ethx up again 
      before using the network interface card. 
 

4. 

Conclusion 

 

This document doesn’t explain how to setup the wireless LAN environment in detail. One 
may get some problems when setting up the wireless LAN environment. If you have any 
question about how to set up the environment, you can send an e-mail to us or find the 

Содержание GW-US54GD

Страница 1: ...2 4 GHz IEEE 802 11g 54Mbps Wireless LAN USB Adapter with Wi Fi Detector GW US54GD ZD1211 Linux Installation Guide Planex Communications Inc ...

Страница 2: ...mod to check ehci hcd module is loaded If host is not support usb 2 0 zd1211 will run under pure b mode 2 Building the device driver In this section we will describe how to build our ZD1211 Linux driver under the Linux operating system 2 1 Uncompress the package tar zxvf ZD1211LnxDrv_xxxx tar gz where xxxx is the version number such as 2_0_0_0 The first thing one should do is uncompress this packa...

Страница 3: ...or messages while compiling menudbg You can ignore it and get apdbg only 3 Getting Start 3 1 Load the driver One can use the modprobe v zd1211 or zd1211b to load our driver In order to check whether our driver is loaded successfully one can use the lsmod for this check If our driver is loaded successfully the following messages should be seen zd1211 183576 0 unused Please note that the 183576 may ...

Страница 4: ... iwconfig ethX rts 250 frag _threshold Set the Fragmentation Threshold Example iwconfig ethX frag 512 key enc ryption Used to manipulate encryption or scrambling keys and encryption mode To set the current encryption key just enter the key in hex digits as XXXX XXXX XXXX XXXX or XXXXXXXX To set a key other than the current key append index to the key itself You can also enter the key as an ASCII s...

Страница 5: ...d key authentication requires a WEP key 3 4 2 Set preamble type One can set the preamble type to our driver by the following command iwpriv ethX set_preamble Preamble Type 0 Long preamble 1 Short preamble 3 4 3 Get preamble type One can get the preamble type of our driver by the following command iwpriv ethX get_preamble 3 4 4 Set MAC mode Because the ZD1211 is b g solution we support the PURE_A P...

Страница 6: ...on information includes 1 get_Region To get the current region setting iwpriv ethX get_Region Æ You will get a region string 2 set_Region To set the region iwpriv ethX set_Region RegionID refer tofollowing table Region ID Region String Channel Countries 1 USA 1 11 USA Canada Argentina Brazil Ukraine China HongKong Korea New Zealand 2 Taiwan Europe 1 13 Taiwan Europe Spain Austria Belgium Switzerla...

Страница 7: ...f getting ip from DHCP server DEVICE eth0 BOOTPROTO dhcp ONBOOT yes 3 5 3 Setting Access Point 3 5 3 1 The typical setting procedure iwconfig ethx mode master Set to AP mode iwconfig ethx essid ssid Set ssid iwpriv ethx set_mac_mode mac_mode Ref section 3 4 4 Set MAC mode iwconfig ethx channel channel Available channel is1 2 3 4 etc 3 6 Continuous TX Operation When you make the driver you also get...

Страница 8: ...xvf lnx_wpa_supplicant tar gz Then a subdirectory of wpa_supplicant will be created under the current directory Enter subdirectory wpa_supplicant Delete the original config file by rm f config Edit Makefile make sure the following statements in mkconfig section echo CONFIG_IEEE8021X_EAPOL y config echo CONFIG_EAP_MD5 y config echo CONFIG_MSCHAPV2 y config echo CONFIG_EAP_PEAP y config echo CONFIG_...

Страница 9: ...WPA EAP pairwise CCMP TKIP group CCMP TKIP WEP104 WEP40 eap TLS identity Administrator zydas com tw ca_cert etc cert fluffy pem client_cert etc cert id pem private_key etc cert id_key pem private_key_passwd password priority 2 Note1 The fluffy pem is created by openssl pkcs12 in fluffy pfx passin pass password out fluffy pem cacerts nokeys The id_key pem is created by openssl pkcs12 in fluffy pfx ...

Страница 10: ... The name of network interface You will see the following message if wpa psk connection is built successfully WPA Sending EAPOL Key 2 2 The Group handshake is about to finish EAPOL SUPP_PAE entering state SUCCESS EAP EAP entering state SUCCESS EAPOL SUPP_PAE entering state AUTHENTICATED EAPOL SUPP_BE entering state IDLE Note of wpa supplicant operation issue The WPA supplicant should be keep runni...

Страница 11: ...cate file and private key file 1 First please install a personal certificate via a web browser IE 6 0 or later to a Radius server Windows 2003 Server or Windows 2000 Server edition 2 Open MS IE6 0 or later Select Tools Internet Options Content Certificates ...

Страница 12: ...Press Export Select Yes export the private key ...

Страница 13: ...Select Personal Information Exchange Input the Password This password will be the same password in passing parameter input ...

Страница 14: ...ish the certificate exporting The exported certificate file will be suffixed with extension name pfx And you can use this file to generate 1 Root Certificate 2 Personal Certificate 3 Personal Private key There are required in WPA EAP TLS mode ...

Отзывы: