LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 09-04-2006, 09:44 PM   #1
edman007
Member
 
Registered: Sep 2003
Distribution: slackware-current
Posts: 175

Rep: Reputation: 30
hostap not says "No WPA/RSN information element for station!?"


i'm trying to set up an AP, i am using the madwifi drivers and hostap(v0.4.9), i followed everything i could find and its still not working, this is what hostap says when i run it

Code:
root@mr-slack:~/new-kernel-fun/hostapd-0.4.9$ hostapd -ddddd /etc/hostapd.conf
Configuration file: /etc/hostapd.conf
Configure bridge br0 for EAPOL traffic.
madwifi_set_iface_flags: dev_up=0
Using interface ath0 with hwaddr 00:0f:b5:83:a4:5a and ssid 'edman007'
madwifi_set_ieee8021x: enabled=1
madwifi_configure_wpa: group key cipher=1
madwifi_configure_wpa: pairwise key ciphers=0xa
madwifi_configure_wpa: key management algorithms=0x2
madwifi_configure_wpa: rsn capabilities=0x0
madwifi_configure_wpa: enable WPA= 0x3
madwifi_set_iface_flags: dev_up=1
madwifi_set_privacy: enabled=1
WPA: group state machine entering state GTK_INIT
GMK - hexdump(len=32): 45 98 86 b4 e5 1d 8f f7 7c 70 b6 c3 0c 8c 5c 01 4d ae 9f 9b 8e 7a ca 05 51 72 1c 68 2d 82 13 24
GTK - hexdump(len=32): dc b3 bf d9 4f ea b2 72 1f 88 47 1c 17 dd 57 c2 0a 79 b7 a8 29 68 36 9e a2 c1 be 2b 82 1a 6d 6a
WPA: group state machine entering state SETKEYSDONE
madwifi_set_key: alg=TKIP addr=00:00:00:00:00:00 key_idx=1
Flushing old station entries
madwifi_sta_deauth: addr=ff:ff:ff:ff:ff:ff reason_code=3
Deauthenticate all stations
l2_packet_receive - recvfrom: Network is down
Wireless event: cmd=0x8b19 len=8
Wireless event: cmd=0x8c03 len=20
  New STA
No WPA/RSN information element for station!?
Wireless event: cmd=0x8c04 len=20
Wireless event: cmd=0x8c03 len=20
  New STA
No WPA/RSN information element for station!?
Wireless event: cmd=0x8c04 len=20
Wireless event: cmd=0x8c03 len=20
  New STA
No WPA/RSN information element for station!?
the last few lines that repeate appear when i try to connect, this is my config file

Code:
root@mr-slack:~/new-kernel-fun/hostapd-0.4.9$ cat /etc/hostapd.conf
# reading passphrase from stdin
# An additional configuration parameter, bridge,
# must be used to notify hostapd if the interface is included in a bridge.

bridge=br0
# Enable this for standard bridging, leave disabled for netfilter firewalls
interface=ath0
driver=madwifi
logger_syslog=-1
logger_syslog_level=2
logger_stdout=--1
logger_stdout_level=2
debug=5
ctrl_interface_group=0
macaddr_acl=0
deny_mac_file=/etc/hostapd.deny
auth_algs=3
eapol_key_index_workaround=0
eap_server=0
dump_file=/tmp/hostapd.dump
ssid=edman007
wpa=3
#psk="password"
wpa_psk=0ddb70b8d4dec9f8d9922b45d0e3d5f6195d4851f51c669e7c05bd7fdf0b618e
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP
the client that is trying to connect is running OSX and just says "there was an error", so does anyone have any ideas on how to get this working?
 
Old 09-05-2006, 07:43 AM   #2
edman007
Member
 
Registered: Sep 2003
Distribution: slackware-current
Posts: 175

Original Poster
Rep: Reputation: 30
hmm... played with the config file and it started working, here is my finial file

Code:
bridge=br0
# Enable this for standard bridging, leave disabled for netfilter firewalls
interface=ath0
driver=madwifi
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
debug=0
ctrl_interface_group=0
macaddr_acl=0
deny_mac_file=/etc/hostapd.deny
auth_algs=3
#eapol_key_index_workaround=0
#eap_server=0
#dump_file=/tmp/hostapd.dump
ssid=edman007
wpa=1
##psk="password"
wpa_psk=0ddb70b8d4dec9f8d9922b45d0e3d5f6195d4851f51c669e7c05bd7fdf0b618e
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"Could not init font path element""Unix /: 7100 removing from list/ zameer_india Linux - Networking 7 07-03-2006 06:11 AM
Fontconfig error: "conf.d" line 1 no element found MrVahn Slackware 3 06-01-2006 10:00 PM
Fontconfig error: "conf.d", line 1: no element found Li... Linux - Software 2 01-23-2006 03:44 PM
pigeon installation stuck at "mad" element thinhla Linux - Software 2 06-30-2005 01:20 PM
FC1 rhythmbox error : "Failed to create mad element; Check your installation." marco75 Fedora 4 03-03-2005 03:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 08:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration