Hi forum,
I have a problem with wireless encryption on my Asus WL-700gE. I tried everything but neither WEP nor WPA encryption seems to work. However, setting encryption to none enables me at least to get connected to the router but the bridge between wl0 and lan does not work. I can only ping the router, no other wired host in the network.
Anyway, my goal is to set up a WPA2-PSK AES encryption. But whenever my windows client tries to connect to the box it first establishes a connection but after a few seconds the connection is broken up again. During the short time in between I can't ping the WL-700gE. Any help on this would be very appreciated.
My /etc/config/wireless goes as follows:
config wifi-device wl0
option type broadcom
option channel 11
config wifi-iface
option device wl0
option network lan
option mode ap
option ssid wl700ge
option hidden 0
option encryption psk2
option key testtest
The /etc/config/network file is:
config switch eth0
option vlan0 "0 1 2 3 4 5*"
cnfig interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
config interface lan
option type bridge
option ifname eth0.0
option macaddr 00:18:F3:AB:05:B3
option proto static
option ipaddr 192.168.1.2
option netmask 255.255.255.0
option gateway 192.168.1.1
option dns 192.168.1.1
On a linux host I get the following output of the iwlist scanning command:
eth1 Scan completed :
Cell 01 - Address: 00:18:F3:AB:05:B3
ESSID:"wl700ge"
Protocol:IEEE 802.11bg
Mode:Master
Channel:11
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Quality=98/100 Signal level=-25 dBm
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Extra: Last beacon: 44ms ago
Starting wpa_supplicant in debug mode gives me the following output:
Initializing interface 'eth1' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'ipw' ctrl_interface 'N/A' bridge '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'
eapol_version=1
ap_scan=1
Priority group 0
id=0 ssid='wl700ge'
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
wpa_driver_ipw_init is called
SIOCGIWRANGE: WE(compiled)=21 WE(source)=18 enc_capa=0xf
capabilities: key_mgmt 0xf enc 0xf
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:15:00:26:e5:32
wpa_driver_ipw_set_wpa: enabled=1
wpa_driver_ipw_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
Failed to set encryption.
wpa_driver_ipw_set_countermeasures: enabled=0
wpa_driver_ipw_set_drop_unencrypted: enabled=1
Setting scan request: 0 sec 100000 usec
Added interface eth1
RTM_NEWLINK: operstate=0 ifi_flags=0x1002 ()
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
State: DISCONNECTED -> SCANNING
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=7):
77 6c 37 30 30 67 65 wl700ge
Trying to get current scan results first without requesting a new scan to speed up initial association
Received 251 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:18:f3:ab:05:b3 ssid='wl700ge' wpa_ie_len=0 rsn_ie_len=22 caps=0x11
selected based on RSN IE
Trying to associate with 00:18:f3:ab:05:b3 (SSID='wl700ge' freq=0 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
wpa_driver_ipw_set_auth_alg: auth_alg=0x1
RSN: using IEEE 802.11i/D9.0
WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 2 proto 2
WPA: clearing AP WPA IE
WPA: set AP RSN IE - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 0c 00
WPA: using GTK CCMP
WPA: using PTK CCMP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
No keys have been configured - skip key clearing
wpa_driver_ipw_set_drop_unencrypted: enabled=1
State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
RSN: Ignored PMKID candidate without preauth flag
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b1a len=15
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 251 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:18:f3:ab:05:b3 ssid='wl700ge' wpa_ie_len=0 rsn_ie_len=22 caps=0x11
selected based on RSN IE
Already associated with the selected AP.
RSN: Ignored PMKID candidate without preauth flag
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 251 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:18:f3:ab:05:b3 ssid='wl700ge' wpa_ie_len=0 rsn_ie_len=22 caps=0x11
selected based on RSN IE
Already associated with the selected AP.
RSN: Ignored PMKID candidate without preauth flag
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 251 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:18:f3:ab:05:b3 ssid='wl700ge' wpa_ie_len=0 rsn_ie_len=22 caps=0x11
selected based on RSN IE
Already associated with the selected AP.
RSN: Ignored PMKID candidate without preauth flag
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 251 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:18:f3:ab:05:b3 ssid='wl700ge' wpa_ie_len=0 rsn_ie_len=22 caps=0x11
selected based on RSN IE
Already associated with the selected AP.
RSN: Ignored PMKID candidate without preauth flag
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 251 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:18:f3:ab:05:b3 ssid='wl700ge' wpa_ie_len=0 rsn_ie_len=22 caps=0x11
selected based on RSN IE
Already associated with the selected AP.
RSN: Ignored PMKID candidate without preauth flag
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 251 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:18:f3:ab:05:b3 ssid='wl700ge' wpa_ie_len=0 rsn_ie_len=22 caps=0x11
selected based on RSN IE
Already associated with the selected AP.
RSN: Ignored PMKID candidate without preauth flag
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 251 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:18:f3:ab:05:b3 ssid='wl700ge' wpa_ie_len=0 rsn_ie_len=22 caps=0x11
selected based on RSN IE
Already associated with the selected AP.
RSN: Ignored PMKID candidate without preauth flag
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 251 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:18:f3:ab:05:b3 ssid='wl700ge' wpa_ie_len=0 rsn_ie_len=22 caps=0x11
selected based on RSN IE
Already associated with the selected AP.
RSN: Ignored PMKID candidate without preauth flag
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 251 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:18:f3:ab:05:b3 ssid='wl700ge' wpa_ie_len=0 rsn_ie_len=22 caps=0x11
selected based on RSN IE
Already associated with the selected AP.
RSN: Ignored PMKID candidate without preauth flag
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 251 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:18:f3:ab:05:b3 ssid='wl700ge' wpa_ie_len=0 rsn_ie_len=22 caps=0x11
selected based on RSN IE
Already associated with the selected AP.
RSN: Ignored PMKID candidate without preauth flag
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 250 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:18:f3:ab:05:b3 ssid='wl700ge' wpa_ie_len=0 rsn_ie_len=22 caps=0x11
selected based on RSN IE
Already associated with the selected AP.
RSN: Ignored PMKID candidate without preauth flag
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 251 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:18:f3:ab:05:b3 ssid='wl700ge' wpa_ie_len=0 rsn_ie_len=22 caps=0x11
selected based on RSN IE
Already associated with the selected AP.
RSN: Ignored PMKID candidate without preauth flag
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 251 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:18:f3:ab:05:b3 ssid='wl700ge' wpa_ie_len=0 rsn_ie_len=22 caps=0x11
selected based on RSN IE
Already associated with the selected AP.
RSN: Ignored PMKID candidate without preauth flag
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 251 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:18:f3:ab:05:b3 ssid='wl700ge' wpa_ie_len=0 rsn_ie_len=22 caps=0x11
selected based on RSN IE
Already associated with the selected AP.
RSN: Ignored PMKID candidate without preauth flag
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 251 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:18:f3:ab:05:b3 ssid='wl700ge' wpa_ie_len=0 rsn_ie_len=22 caps=0x11
selected based on RSN IE
Already associated with the selected AP.
RSN: Ignored PMKID candidate without preauth flag
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 251 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:18:f3:ab:05:b3 ssid='wl700ge' wpa_ie_len=0 rsn_ie_len=22 caps=0x11
selected based on RSN IE
Already associated with the selected AP.
(Last edited by hejira on 19 Aug 2007, 09:58)