我在我的主板上使用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