You have to make sure that xauth module is installed and loaded.
Btw, I had no success on getting madwifi+hostapd with WPA+EAP/TLS to =
work.=20
Hostapd thought it authenticated the client but the client was in =
endless
loop while authenticating, so hostapd restarted authentication.
Togg
-----Urspr=FCngliche Nachricht-----
Von: madwifi-users-admin@...
[mailto:madwifi-users-admin@...] Im Auftrag von =
Steffen
Pfendtner
Gesendet: Freitag, 1. Oktober 2004 17:09
An: madwifi-users@...
Betreff: [Madwifi-users] hostapd+madwifi
Hi,
I was trying to get the latest hostapd running with madwifi.
I modified the madwifi.conf and it gets read without complains but after =
that hostapd just exits with exit status 1.
Anything on madwifi side I have to configure/change, which modules have =
to=20
be loaded?
Greetings,
Steffen
--
Steffen Pfendtner <steffen@...>
GPG Key fingerprint =3D DF91 11BB 498F 573B 8002 6E0B 3AE3 FF88 EADD =
B3BC

Patrick Pichon wrote:
> Hello,
>
> I have understood that I can use iwpriv authmod 1 for WEP open mode and
> iwpriv authmod 2 for WEP shared key.
>
> I have an access poitn (Linksys WRT54G) which I configured with WEP Open
> Key, and have my client running madwifi connected without any trouble.
>
> Now when I switch my AP from Open to Shared, my madwifi client cannot get
> connected. the situation is as follow:
>
> Command :
>
> ifconfig ath0 up
> iwconfig ath0 essid My-essid
> iwconfig ath0 key restricted xxxxxxx
> iwconfig ath0 rate auto
> iwpriv ath0 authmode 2
> iwconfig ath0 mode managed
>
> If I do a iwconfig ath0, I have the AP mac address, however if I do a
> dhclient ath0 nothing append !!!!!
There is a bug in the shared key auth handshake where the final mgmt
frame in the handshake is not properly decrypted. Mark Rakes sent me a
patch that looked correct but it didn't work in my testing so I never
committed it. It so happens someone else hit this today and promised to
follow through so hopefully a fix will be committed soon.
Sam

Does anyone have any idea as to when the Atheros AR5004 will have
support in Madwifi?
I tried a while back and it would just hang when you try to use it.
Also, its not yet in the list of supported cards.
I've got ndiswrapper running ok with it, but would like to go to a
straight linux driver.
Regards,
--
Bradley Remedios
bremedios@...

Hello,
I have understood that I can use iwpriv authmod 1 for WEP open mode and
iwpriv authmod 2 for WEP shared key.
I have an access poitn (Linksys WRT54G) which I configured with WEP Open
Key, and have my client running madwifi connected without any trouble.
Now when I switch my AP from Open to Shared, my madwifi client cannot get
connected. the situation is as follow:
Command :
ifconfig ath0 up
iwconfig ath0 essid My-essid
iwconfig ath0 key restricted xxxxxxx
iwconfig ath0 rate auto
iwpriv ath0 authmode 2
iwconfig ath0 mode managed
If I do a iwconfig ath0, I have the AP mac address, however if I do a
dhclient ath0 nothing append !!!!!
Thanks in advance for your hints ...
Kind regards
Patrick

Hi,
I was trying to get the latest hostapd running with madwifi.
I modified the madwifi.conf and it gets read without complains but after
that hostapd just exits with exit status 1.
Anything on madwifi side I have to configure/change, which modules have to
be loaded?
Greetings,
Steffen
--
Steffen Pfendtner <steffen@...>
GPG Key fingerprint = DF91 11BB 498F 573B 8002 6E0B 3AE3 FF88 EADD B3BC

> When encapping the frame in ieee80211_encap I do skb_push by 32 to get th=
e data aligned for the hal.
> In my logic this would also requier me to shorten the packet by two to ge=
t it the right length, so I do:
> skb->len -=3D 2; (Should I do skb_trim (skb, skb->len-2) instead?)
Did you try using skb_trim? I think it's a good idea to use the skb_
functions instead of manually changing the skb values.
--=20
Ours is a world of nuclear giants and ethical infants.
-- General Omar N. Bradley

Hi,
I am having great progress with the 4-address support, stil some issues rem=
ain which I am unable to fix.
When encapping the frame in ieee80211_encap I do skb_push by 32 to get the =
data aligned for the hal.
In my logic this would also requier me to shorten the packet by two to get =
it the right length, so I do:
skb->len -=3D 2; (Should I do skb_trim (skb, skb->len-2) instead?)
I print the packet right before the encap function returns it and everythin=
g looks fine.
When radio sniffing the data, I notice that the last two bytes in the packe=
ts has been replaced by something else which causes the checksum for the =
ICMP to fail and the frame being dropped.
If I don't shorten the packet this doesn't happen but instead I get a "trai=
l" (called so by etherreal) of 2 bytes (0x00 0x00) which makes the fragme=
ntation (MTU) fail when a frame needs to be fragmented over the ethernet.=
It gets 1516 bytes and is therefor dropped by the bridge.
This seems to be the last major issue before I am done and any help on how =
the HAL/MAC requires the data to be aligned and other issues is appreciat=
ed.
//Regards JT

Hello:
I use madwifi driver to test ar5213a speed. I set ar5213a in Master =
mode and operate in 802.11a mode. My linux's kernel is 2.4.24.
My client use D-link DWL-AG650. I use ftp to test upload and download =
speed. It's about 1000KB/s~1400KB/s. Besides,at the same test =
environment,I use madwifi driver to test ar5212a,it's speed about =
2300KB/s~2700KB/s. But in ar5213a,it's speed lower than ar5212a.Do =
anyone have this problem? why it has this situation?
thanks ^^