--- Nguyen Duy Tho <[EMAIL PROTECTED]> wrote: > thi` > > chu*a ddu*o*.c. Mi`nh co' go*?i ke`m mo^.t so^' > > output: > > > > [EMAIL PROTECTED] tuan]# wpa_gui > > Session management error: Authentication Rejected, > > reason : None of the authentication protocols > > specified are supported and host-based > authentication > > failed > > > > None of the authentication protocols > specified are supported and host-based > authentication > failed > > Va^.y la` kho^ng du`ng TKIP gi` he^'t > > > Selected interface 'eth1' > > Trying to connect to > '/var/run/wpa_supplicant/eth1' > > Failed to open control connection to > wpa_supplicant. > > PING failed - trying to reconnect > > Trying to connect to > '/var/run/wpa_supplicant/eth1' > > PING failed - trying to reconnect > > Trying to connect to > '/var/run/wpa_supplicant/eth1' > > [EMAIL PROTECTED] tuan]# > > > > [EMAIL PROTECTED] network-scripts]# /sbin/service > > wpa_supplicant status > > wpa_supplicant dead but subsys locked > > > > Du`ng [EMAIL PROTECTED] network-scripts]#vi > > /var/run/wpa_supplicant/eth1 thi` bi. ba'o lo^~i > > permission denied > > > > Dda^y la` config cua wpa_supplicant.conf: > > > > ctrl_interface=/var/run/wpa_supplicant > > #ctrl_interface_group=wheel > > ctrl_interface_group=root > > > > network={ > > ssid="BD" > > psk="aaabbbcccddd" > > key_mgmt=WPA-PSK > > proto=WPA > > pairwise=TKIP > > group=TKIP > > } > > > # cat /etc/wpa_supplicant.conf > > ctrl_interface=/var/run/wpa_supplicant > ctrl_interface_group=wheel > > network={ > ssid="BD" > scan_ssid=1 > psk="aaabbbcccddd" > key_mgmt=WPA-PSK > } > > > Du`ng group wheel thi` hay ho+n vi` the^m user va`o > group na`y thi` user > ddo' la` admin. > #/usr/sbin/wpa_supplicant -ieth1 -c > /etc/wpa_supplicant.conf -d -w > > cha.y thu+? > #wpa_cli > > help dde^? xem ca'c options. > status xem status > > > TND
Mi`nh dda~ la`m nhu* ba.n, nhung va^~n bi. ba'o lo^~i nhu* sau: [EMAIL PROTECTED] tuan]# /usr/sbin/wpa_supplicant -ieth1 -c /etc/wpa_supplicant/wpa_supplicant.conf -d -w Initializing interface 'eth1' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' -> '/etc/wpa_supplicant/wpa_supplicant.conf' Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' ctrl_interface='/var/run/wpa_supplicant' ctrl_interface_group=0 (from group name 'root') Priority group 0 id=0 ssid='BD' Initializing interface (2) 'eth1' EAPOL: SUPP_PAE entering state DISCONNECTED EAPOL: KEY_RX entering state NO_KEY_RECEIVE EAPOL: SUPP_BE entering state INITIALIZE EAP: EAP entering state DISABLED EAPOL: External notification - portEnabled=0 EAPOL: External notification - portValid=0 SIOCGIWRANGE: WE(compiled)=19 WE(source)=18 enc_capa=0xf capabilities: key_mgmt 0xf enc 0xf Own MAC address: 00:04:23:86:69:82 wpa_driver_hostap_set_wpa: enabled=1 wpa_driver_hostap_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0 ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported Failed to set encryption. wpa_driver_hostap_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0 ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported Failed to set encryption. wpa_driver_hostap_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0 ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported Failed to set encryption. wpa_driver_hostap_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0 ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported Failed to set encryption. wpa_driver_hostap_set_countermeasures: enabled=0 wpa_driver_hostap_set_drop_unencrypted: enabled=1 Setting scan request: 0 sec 100000 usec Added interface eth1 Wireless event: cmd=0x8b06 len=8 RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added State: DISCONNECTED -> SCANNING Starting AP scan (specific SSID) Scan SSID - hexdump_ascii(len=2): 42 44 BD ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported Failed to initiate AP scan. Setting scan request: 10 sec 0 usec Scan timeout - try to get results Received 0 bytes of scan results (0 BSSes) Scan results: 0 Selecting BSS from priority group 0 No suitable AP found. Setting scan request: 5 sec 0 usec Starting AP scan (broadcast SSID) Scan timeout - try to get results Received 0 bytes of scan results (0 BSSes) Scan results: 0 Selecting BSS from priority group 0 No suitable AP found. Setting scan request: 5 sec 0 usec CTRL-EVENT-TERMINATING - signal 2 received Removing interface eth1 State: SCANNING -> DISCONNECTED No keys have been configured - skip key clearing EAPOL: External notification - portEnabled=0 EAPOL: External notification - portValid=0 wpa_driver_hostap_set_wpa: enabled=0 ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported wpa_driver_hostap_set_drop_unencrypted: enabled=0 wpa_driver_hostap_set_countermeasures: enabled=0 No keys have been configured - skip key clearing Cancelling scan request [EMAIL PROTECTED] tuan]# Trong lu'c ddo' xem wpa_client thi` tha^'y nhu* sau: [EMAIL PROTECTED] tuan]# /usr/sbin/wpa_cli wpa_cli v0.4.8 Copyright (c) 2004-2005, Jouni Malinen <[EMAIL PROTECTED]> and contributors This program is free software. You can distribute it and/or modify it under the terms of the GNU General Public License version 2. Alternatively, this software may be distributed under the terms of the BSD license. See README and COPYING for more details. Selected interface 'eth1' Interactive mode > status wpa_state=SCANNING > Va^.y la` bi. gi` va^.y ba.n? Tua^'n __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ VietLUG-users mailing list VietLUG-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vietlug-users