再次WPA连接问题,即使更改为最新版本..请帮助


0

我在我的主板上使用hostapd,无线工具和madwifi用于我的无线ap。我的电路板与Linux和我的台式电脑,Windows XP SP2(使用Olitec USB无线)之间的WEP,WPA-PSK连接和通信都很好。

但是当我配置WPA类型时,连接似乎已建立,但在安全对话框中显示状态“TKIP - Key Absent”

有谁遇到过这个问题?

我附加了conf文件和连接状态。

我在AP方面抱怨。

我正在使用内置的radius服务器conf与hostapd 0.4.7

hostapd.conf

接口= ATH0

司机=的madwifi

logger_syslog = 0

logger_syslog_level = 0

logger_stdout = 0

logger_stdout_level = 0

调试= 0

eapol_key_index_workaround = 1

dump_file = / TMP / hostapd.dump.0.0

ssid = Renjith G wpa

WPA = 1

wpa_passphrase = mypassphrase

wpa_key_mgmt = WPA-EAP

wpa_pairwise = TKIP CCMP

wpa_group_rekey = 600

macaddr_acl = 2 / *评论* /

ieee8021x = 1 / *评论* /

eap_authenticator = 1

own_ip_addr = 172.16.25.1

nas_identifier = renjithg.com

auth_server_addr = 172.16.25.1

auth_server_port = 1812

auth_server_shared_secret = KEY1

ca_cert = / FLASH1 / ca.crt

server_cert = / FLASH1 / server.crt这

eap_user_file =的/ etc / hostapd.eap_user

hostapd.eap_user

“*@renjithg.com”TLS

我正在使用的命令是

wlanconfig ath0创建wlandev wifi0 wlanmode ap

iwconfig ath0 essid Renjith频道6

ifconfig ath0 192.168.25.1 netmask 255.255.255.0 up

hostapd -ddd /etc/hostapd.conf

如果错了请纠正..

当我通过WPA连接到我的Windows机器时,我也在我的AP上收到调试消息

〜/ wlanexe#。/ wotapd -ddd /etc/hostapd.conf

配置文件:/etc/hostapd.conf第18行:使用过时的eap_authenticator; 这已经重命名为eap_server

madwifi_set_iface_flags:dev_up = 0使用接口ath0和hwaddr 00:0b:6b:33:8c:30和ssid'Renjith G wpa'madwifi_set_ieee8021x:enabled = 1 madwifi_configure_wpa:group key cipher = 1 madwifi_configure_wpa:pairwise key ciphers = 0xa madwifi_configure_wpa:key管理算法= 0x1 madwifi_configure_wpa:rsn capabilities = 0x0 madwifi_configure_wpa:enable WPA = 0x1 madwifi_set_iface_flags:dev_up = 1 madwifi_set_privacy:enabled = 1

WPA:组状态机进入状态GTK_INIT GMK - hexdump(len = 32):9c 77 cd 38 5a 60 3b 16 8a 22 90 e8 65 b3 c2 86 40 5c be c3 dd 84 3e df 58 1d 16 61 1d 13 d1 f2 GTK - hexdump(len = 32):02 78 d7 d3 5d 15 e3 89 9c 62 a8 fe 8a 0f 40 28 ba dc cd bc 07 f4 59 88 1c 08 84 2b 49 3d e2 32 WPA:组状态机进入状态SETKEYSDONE madwifi_set_key: alg = TKIP addr = 00:00:00:00:00:00 key_idx = 1刷新旧站条目madwifi_sta_deauth:addr = ff:ff:ff:ff:ff:ff reason_code = 3取消认证所有站点l2_packet_receive - recvfrom:网络是down无线事件:cmd = 0x8c03 len = 20

新STA WPA:00:0a:78:a0:0b:09 WPA_PTK进入状态INITIALIZE madwifi_del_key:addr = 00:0a:78:a0:0b:09 key_idx = 0 WPA:00:0a:78:a0:0b:09 WPA_PTK_GROUP进入状态IDLE WPA:00:0a:78:a0:0b:09 WPA_PTK进入状态AUTHENTICATION WPA:00:0a:78:a0:0b:09 WPA_PTK进入状态AUTHENTICATION2

IEEE 802.1X:来自00:0a:78的4个字节:a0:0b:09 IEEE 802.1X:版本= 1类型= 1长度= 0无线事件:cmd = 0x8c04 len = 20 madwifi_del_key:addr = 00:0a:78: a0:0b:09 key_idx = 0

ioctl [unknown ???]:参数无效

WPA:00:0a:78:a0:0b:09 WPA_PTK进入状态DISCONNECTED WPA:00:0a:78:a0:0b:09 WPA_PTK进入状态INITIALIZE madwifi_del_key:addr = 00:0a:78:a0:0b:09 key_idx = 0 ioctl [unknown ???]:无效参数无效事件:cmd = 0x8c03 len = 20新STA WPA:00:0a:78:a0:0b:09 WPA_PTK进入状态INITIALIZE madwifi_del_key:addr = 00:0a:78: a0:0b:09 key_idx = 0 WPA:00:0a:78:a0:0b:09 WPA_PTK_GROUP进入状态IDLE WPA:00:0a:78:a0:0b:09 WPA_PTK进入状态AUTHENTICATION WPA:00:0a:78: a0:0b:09 WPA_PTK进入状态AUTHENTICATION2 IEEE 802.1X:4字节00:0a:78:a0:0b:09

IEEE 802.1X:version = 1 type = 1 length = 0 <> Register Fail <> Register Fail无线事件:cmd = 0x8c04 len = 20 madwifi_del_key:addr = 00:0a:78:a0:0b:09 key_idx = 0 ioctl [未知???]:无效参数WPA:00:0a:78:a0:0b:09 WPA_PTK进入状态DISCONNECTED WPA:00:0a:78:a0:0b:09 WPA_PTK进入状态INITIALIZE madwifi_del_key:addr = 00:0a: 78:a0:0b:09 key_idx = 0 ioctl [unknown ???]:无效参数无线事件:cmd = 0x8c03 len = 20

新STA WPA:00:0a:78:a0:0b:09 WPA_PTK进入状态INITIALIZE madwifi_del_key:addr = 00:0a:78:a0:0b:09 key_idx = 0 WPA:00:0a:78:a0:0b:09 WPA_PTK_GROUP进入状态IDLE WPA:00:0a:78:a0:0b:09 WPA_PTK进入状态AUTHENTICATION WPA:00:0a:78:a0:0b:09 WPA_PTK进入状态AUTHENTICATION2 IEEE 802.1X:4字节00:0a:78 :a0:0b:09 IEEE 802.1X:version = 1 type = 1 length = 0

现在我收到以下错误消息与最新工具。 这是最新的错误消息..请仅参考此内容..

〜/ wlanexe#。/ wotapd -ddd /etc/hostapd.conf

TLS:已加载受信任的根证书

madwifi_set_iface_flags:dev_up = 0

madwifi_set_privacy:enabled = 0

BSS计数1,BSSID掩码ff:ff:ff:ff:ff:ff(0位)

刷新旧站条目

madwifi_sta_deauth:addr = ff:ff:ff:ff:ff:ff reason_code = 3

ioctl [IEEE80211_IOCTL_SETMLME]:参数无效

madwifi_sta_deauth:失败的STA(addr ff:ff:ff:ff:ff:ff reason 3)

无法连接到内核驱动程序。

取消所有电台的验证

madwifi_sta_deauth:addr = ff:ff:ff:ff:ff:ff reason_code = 2

ioctl [IEEE80211_IOCTL_SETMLME]:参数无效

madwifi_sta_deauth:失败的STA(addr ff:ff:ff:ff:ff:ff reason 2)

madwifi_set_privacy:enabled = 0

madwifi_del_key:addr = 00:00:00:00:00:00 key_idx = 0

madwifi_del_key:addr = 00:00:00:00:00:00 key_idx = 1

madwifi_del_key:addr = 00:00:00:00:00:00 key_idx = 2

madwifi_del_key:addr = 00:00:00:00:00:00 key_idx = 3

使用接口ath0和hwaddr 00:0b:6b:33:8c:30和ssid'RenjithGwpa'

SSID - hexdump_ascii(len = 11):52 65 6e 6a 69 74 68 47 77 70 61 RenjithGwpa

PSK(ASCII密码) - hexdump_ascii(len = 12):6d 79 70 61 73 73 70 68 72 61 73 65 mypassphrase

PSK(来自密码) - hexdump(len = 32):a6 55 3e 76 94 8b d9 81 a1 22 5e 24 29 83 33 86 11 a8 7e 93 19 7c a9 ab ab cc 12 58 37 e5 35 b6 RADIUS本地地址:172.16 .25.1:1024

madwifi_set_ieee8021x:enabled = 1

madwifi_configure_wpa:组密钥密码= 1

madwifi_configure_wpa:成对密钥密码= 0xa

madwifi_configure_wpa:密钥管理算法= 0x1

madwifi_configure_wpa:rsn capabilities = 0x0

madwifi_configure_wpa:启用WPA = 0x1

WPA:组状态机进入状态GTK_INIT(VLAN-ID 0)

GMK - hexdump(len = 32):[REMOVED]

GTK - hexdump(len = 32):[REMOVED]

WPA:组状态机进入状态SETKEYSDONE(VLAN-ID 0)

madwifi_set_key:alg = TKIP addr = 00:00:00:00:00:00 key_idx = 1

madwifi_set_privacy:enabled = 1

madwifi_set_iface_flags:dev_up = 1

ath0:完成界面设置。

l2_packet_receive - recvfrom:网络已关闭

无线事件:cmd = 0x8b1a len = 24

无线事件:cmd = 0x8c03 len = 20新STA

ioctl [unknown ???]:参数无效

madwifi_process_wpa_ie:无法获得WPA / RSN IE

无法获取WPA / RSN信息元素。

来自未关联的STA 00的数据帧:0a:78:a0:0b:09

无线事件:cmd = 0x8c04 len = 20

无线事件:cmd = 0x8c03 len = 20

新STA

ioctl [unknown ???]:参数无效

madwifi_process_wpa_ie:无法获得WPA / RSN IE

无法获取WPA / RSN信息元素。

来自未关联的STA 00的数据帧:0a:78:a0:0b:09

来自未关联的STA 00的数据帧:0a:78:a0:0b:09

来自未关联的STA 00的数据帧:0a:78:a0:0b:09

无线事件:cmd = 0x8c04 len = 20

无线事件:cmd = 0x8c03 len = 20

新STA

ioctl [unknown ???]:参数无效

madwifi_process_wpa_ie:无法获得WPA / RSN IE

无法获取WPA / RSN信息元素。

来自未关联的STA 00的数据帧:0a:78:a0:0b:09

Answers:


0

所以你说WPA-PSK工作正常,但WPA(如WPA与802.1X认证,又称“WPA-Enterprise”)不行?

哪一方在抱怨,AP还是STA?

您可能希望查看STA上的802.1X请求者,AP上的802.1X身份验证器以及RADIUS服务器(如果您使用的是)的情况。EAP成功完成了吗?RADIUS服务器是否将RADIUS Access-Accept消息发送给AP上的Authenticator?RADIUS服务器是否将RADIUS密钥消息发送到AP上的Authenticator?AP的802.1X身份验证器是否将PMK交给处理AP上TKIP密钥握手的代码?STA上的802.1X客户端是否将PMK下载到处理STA上TKIP密钥握手的代码?

根据您的其他信息更新4/4:

这看起来很有趣:

IEEE 802.1X: 4 bytes from 00:0a:78:a0:0b:09 IEEE 802.1X: version=1 type=1 length=0 Wireless event: cmd=0x8c04 len=20 madwifi_del_key: addr=00:0a:78:a0:0b:09 key_idx=0  

ioctl[unknown???]: Invalid argument  

我应该警告你,虽然我非常熟悉802.11,802.1X和WPA,但我并不是hostapd和madwifi实现方面的专家。所以说,看起来你在AP上的hostapd中使用了内置的身份验证器来执行EAP-TLS。看起来STA正在发送eapol-start,并且hostapd正试图告诉madwifi驱动程序删除该STA的任何密钥,因为停留正在重新验证。但看起来疯子驱动程序正在扼杀ioctl以删除密钥。

你确定你正在运行一个已知使用你正在运行的hostapd版本的madwifi版本吗?

另外,为什么不通过修改hostapd.conf的第18行来清除其他警告?


你能告诉我你的联系方式吗?
Renjith G 2010年

Spiff,我可以使用WEP和WPA-PSK(确保hostapd和madwifi之间的版本匹配)成功通信吗?是的,我在hostapd.conf中更改了第18行警告
Renjith G
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.