Atheros AR5414 PCI WDS point-to-point link with wpa-psk2 encryption

Teh Kok How khteh at smartbridges.com
Thu Jan 14 05:54:57 EST 2010


Hi;

            Greetings!

I am new with hostapd/wpa_supplicant. I am using Atheros AR5414 PCI card
with madwifi-trunk-r4100 driver stack running on an IXP-425 platform
(OpenWRT kamikaze-trunk, linux-2.6.32). The WDS link works fine without
encryption. In an effort to establish an 128/256-bit AES-encrypted link in
this WDS point-to-point setup, I run hostapd on the 2 target boards. However
all I could see in `tail -f /var/log/messages` is the EAP state machine
running. Although the TX/RX packets increase in the `ifconfig` output during
the `ping`, they are dropped somehow on the way up through the networking
stack.

            If anyone out there has successfully used hostapd in this WDS
point-to-point link setup with 128/256-bit AES encryption link, I would
appreciate any insight and advice given. Some details of my setup follows.

            Thanks.

 

Regards,

KH

 

[root at OpenWrt:/tmp/root 1]# cat /var/run/hostapd-ath0.wds0.conf

ctrl_interface=/var/run/hostapd-ath0.wds0

driver=madwifi

interface=ath0.wds0

logger_syslog=-1

logger_syslog_level=0

logger_stdout=-1

logger_stdout_level=0

dump_file=/var/log/hostapd.dump

hw_mode=a

channel=180

 

ssid=OpenWrt WDS

auth_algs=1

wpa=2

wpa_pairwise=CCMP

rsn_pairwise=CCMP

peerkey=1

ieee80211w=1

ieee8021x=1

eapol_version=2

eap_server=1

eap_user_file=/etc/hostapd.eap_user

own_ip_addr=127.0.0.1

eap_message=hello

eapol_key_index_workaround=1

radius_acct_interim_interval=300

private_key_passwd=secret passphrase

rsn_preauth=1

wpa_key_mgmt=WPA-PSK-SHA256 WPA-EAP-SHA256

wpa_group_rekey=300

wpa_gmk_rekey=640

pac_opaque_encr_key=01234567890123456789012345678901

eap_fast_a_id=01234567890123456789012345678901

eap_fast_a_id_info=test server

eap_fast_prov=3

pac_key_lifetime=604800

pac_key_refresh_time=86400

eap_sim_aka_result_ind=1

country_code=904

 

 

 

 

wds_sta=1

wpa_psk=0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef

ignore_broadcast_ssid=0

 [root at OpenWrt:/tmp/root 1]#

 

 

[root at OpenWrt:/tmp/root 1]# iwlist ath0.wds0 keys

ath0.wds0  3 key sizes : 40, 104, 128bits

          4 keys available :

                [1]: off

                [2]: CE75-AA3F-5DD2-5203-EDFE-BF1D-EA92-DCA2 (128 bits)

                [3]: 7360-8103-36F0-61A5-F93E-B25F-D1AD-EF2C (128 bits)

                [4]: off

          Current Transmit Key: [2]

          Security mode:open

 

 

[root at OpenWrt:/tmp/root 1]# iwconfig

ath0      IEEE 802.11a  ESSID:"OpenWrt"

          Mode:Master  Frequency:4.9 GHz  Access Point: Not-Associated

          Bit Rate=54 Mb/s   Tx-Power:17 dBm

          RTS thr:off   Fragment thr:off

          Encryption key:3777-13EA-7768-13B1-4F5B-C2D7-D50E-42BD [2]
Security mode:open

          Power Management:off

          Link Quality=64/70  Signal level=-32 dBm  Noise level=-96 dBm

          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0

          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

 

ath0.wds0  IEEE 802.11a  Mode:Repeater  Frequency:4.9 GHz

          Access Point: 0A:30:1A:41:21:7A   Bit Rate=54 Mb/s   Tx-Power:17
dBm

          RTS thr:off   Fragment thr:off

          Encryption key:CE75-AA3F-5DD2-5203-EDFE-BF1D-EA92-DCA2 [2]
Security mode:open

          Power Management:off

          Link Quality=64/70  Signal level=-32 dBm  Noise level=-96 dBm

          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0

          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

 

[root at OpenWrt:/tmp/root 1]#

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20100114/0e3be859/attachment.htm 


More information about the HostAP mailing list