Skip to contentSkip to conversation

ath5k: can't browse at all.

DISCUSSION Irwan Siajadi 2 participants 6 messages Dec 2, 2008 – Dec 7, 2008

lore
Share & tools
lore
#0 lore raw
Quoted 84 lines · Luis R. Rodriguez

From: Luis R. Rodriguez <[email protected]>
Subject: Re: ath5k: can't browse at all.
To: "Irwan Siajadi" <[email protected]>
Cc: "Pavel Roskin" <[email protected]>, "[email protected]" <[email protected]>
Date: Monday, December 1, 2008, 5:11 PM

Quoted 1 line · Irwan Siajadi

--- On Tue, 11/25/08, Pavel Roskin

Quoted 4 lines · <[email protected]> wrote:
Quoted 4 lines

From: Pavel Roskin <[email protected]>
Subject: Re: ath5k: can't browse at all.
To: "Irwan Siajadi"

<[email protected]>

Quoted 3 lines
Quoted 3 lines

Cc: [email protected]
Date: Tuesday, November 25, 2008, 8:02 PM
On Tue, 2008-11-25 at 09:24 -0800, Irwan Siajadi

Quoted 2 lines · wrote:
Quoted 2 lines
Quoted 2 lines

Further testing shows that if I change from

WPA2/AES

Quoted 2 lines
Quoted 2 lines

to WPA/TIKIP, I

Quoted 1 line

can finally browse. But it's still hit

and missed,

Quoted 2 lines
Quoted 2 lines

I need to reload

Quoted 1 line

the pages once or twice before the pages can

load

Quoted 8 lines
Quoted 6 lines

properly.

Try disabling hardware crypto in the driver:

rmmod ath5k
modprobe ath5k nohwcrypt=1

Sorry for the late reply, being busy with other

stuffs.

Quoted 1 line

Anyway, disabling hardware cyrpto didn't make any

changes.

Quoted 3 lines
Quoted 3 lines

In any case, check messages from wpa_supplicant.

Maybe

Quoted 2 lines
Quoted 2 lines

it's
reauthenticating very often. If you flood ping

the router

Quoted 2 lines
Quoted 2 lines

("ping -f"),
you would probably see growing dots that

represent lost

Quoted 3 lines
Quoted 1 line

packets.

Flood ping the router doesn't have any lost

packets (although only for a

Quoted 1 line

minute or so). And my router's log shows that the

laptop didn't

Quoted 3 lines

re-authenticate very often.

I've also compiled vanilla 2.6.26 and 2.6.27 with

ath5k (compat-wireless).

Quoted 2 lines

- 2.6.26.8 + ath5k (compat-wireless-old-2008-11-29,

files last editted on

Quoted 3 lines

2008-09-16):
-> ping shows some packets loss.
-> can browse any websites.

Lets focus on >= 2.6.27.

Quoted 4 lines

- 2.6.27.7 + ath5k (compat-wireless-2008-11-26):
-> ping doesn't have any packet loss.
-> can't browse, browser always waiting for the

response from the server.

Quoted 1 line

Monitoring the traffics shows that there are tx

packets, but there's no rx

Quoted 3 lines

packets.

Anything else I can try?

You say you can ping fine but... browsing doesn't
work?? Maybe a
firewall issue?

/etc/init.d/iptables stop

Quoted 7 lines

I agree with Pavel this does not seem like a driver issue. Do you have
your AP configured to disable :80 TCP communication? Can you try a simple
netcat server and netcat client on different ports and also on port 80
just to see if its really firewall/AP configuration.

Firewall on both end (router-ap and laptop) is disabled.
I can't do netcat on the server since it's not a PC box. It's an all in one unit (ADSL modem+AP+router). But I did wireshark on the laptop before reading your email. And I can see many TCP retransmission while trying to browse. If you like I can attach the log and send it to you.

As comparison, I also do wireshark while using ndiswrapper. I can find TCP retransmission while using ndiswrapper, but doesn't really affect browsing or large file transfer through SMB.

PS: If you prefer netcat, please tell me, I'll do that and send the log if you like.

Quoted 2 lines

Luis

Irwan.

#1 lore raw
Quoted 105 lines · Irwan Siajadi
Quoted 84 lines · Luis R. Rodriguez

From: Luis R. Rodriguez <[email protected]>
Subject: Re: ath5k: can't browse at all.
To: "Irwan Siajadi" <[email protected]>
Cc: "Pavel Roskin" <[email protected]>, "[email protected]" <[email protected]>
Date: Monday, December 1, 2008, 5:11 PM

Quoted 1 line · Irwan Siajadi

--- On Tue, 11/25/08, Pavel Roskin

Quoted 4 lines · <[email protected]> wrote:
Quoted 4 lines

From: Pavel Roskin <[email protected]>
Subject: Re: ath5k: can't browse at all.
To: "Irwan Siajadi"

<[email protected]>

Quoted 3 lines
Quoted 3 lines

Cc: [email protected]
Date: Tuesday, November 25, 2008, 8:02 PM
On Tue, 2008-11-25 at 09:24 -0800, Irwan Siajadi

Quoted 2 lines · wrote:
Quoted 2 lines
Quoted 2 lines

Further testing shows that if I change from

WPA2/AES

Quoted 2 lines
Quoted 2 lines

to WPA/TIKIP, I

Quoted 1 line

can finally browse. But it's still hit

and missed,

Quoted 2 lines
Quoted 2 lines

I need to reload

Quoted 1 line

the pages once or twice before the pages can

load

Quoted 8 lines
Quoted 6 lines

properly.

Try disabling hardware crypto in the driver:

rmmod ath5k
modprobe ath5k nohwcrypt=1

Sorry for the late reply, being busy with other

stuffs.

Quoted 1 line

Anyway, disabling hardware cyrpto didn't make any

changes.

Quoted 3 lines
Quoted 3 lines

In any case, check messages from wpa_supplicant.

Maybe

Quoted 2 lines
Quoted 2 lines

it's
reauthenticating very often. If you flood ping

the router

Quoted 2 lines
Quoted 2 lines

("ping -f"),
you would probably see growing dots that

represent lost

Quoted 3 lines
Quoted 1 line

packets.

Flood ping the router doesn't have any lost

packets (although only for a

Quoted 1 line

minute or so). And my router's log shows that the

laptop didn't

Quoted 3 lines

re-authenticate very often.

I've also compiled vanilla 2.6.26 and 2.6.27 with

ath5k (compat-wireless).

Quoted 2 lines

- 2.6.26.8 + ath5k (compat-wireless-old-2008-11-29,

files last editted on

Quoted 3 lines

2008-09-16):
-> ping shows some packets loss.
-> can browse any websites.

Lets focus on >= 2.6.27.

Quoted 4 lines

- 2.6.27.7 + ath5k (compat-wireless-2008-11-26):
-> ping doesn't have any packet loss.
-> can't browse, browser always waiting for the

response from the server.

Quoted 1 line

Monitoring the traffics shows that there are tx

packets, but there's no rx

Quoted 3 lines

packets.

Anything else I can try?

You say you can ping fine but... browsing doesn't
work?? Maybe a
firewall issue?

/etc/init.d/iptables stop

Quoted 7 lines

I agree with Pavel this does not seem like a driver issue. Do you have
your AP configured to disable :80 TCP communication? Can you try a simple
netcat server and netcat client on different ports and also on port 80
just to see if its really firewall/AP configuration.

Firewall on both end (router-ap and laptop) is disabled.
I can't do netcat on the server since it's not a PC box. It's an all in one unit (ADSL modem+AP+router). But I did wireshark on the laptop before reading your email. And I can see many TCP retransmission while trying to browse. If you like I can attach the log and send it to you.

Quoted 7 lines

As comparison, I also do wireshark while using ndiswrapper. I can find TCP retransmission while using ndiswrapper, but doesn't really affect browsing or large file transfer through SMB.

PS: If you prefer netcat, please tell me, I'll do that and send the log if you like.

I'll prefer a very simple netcat log. Do you understand why we find this so strange? It may help to debug the issue at hand.

Luis

#2 lore raw
Quoted 156 lines · Luis R. Rodriguez

From: Luis R. Rodriguez <[email protected]>
Subject: Re: ath5k: can't browse at all.
To: "Irwan Siajadi" <[email protected]>
Cc: "Luis Rodriguez" <[email protected]>, "Pavel Roskin" <[email protected]>, "[email protected]" <[email protected]>
Date: Monday, December 1, 2008, 9:36 PM

Quoted 4 lines · Irwan Siajadi

--- On Mon, 12/1/08, Luis R. Rodriguez

Quoted 2 lines · <[email protected]> wrote:
Quoted 2 lines

From: Luis R. Rodriguez

<[email protected]>

Quoted 2 lines
Quoted 2 lines

Subject: Re: ath5k: can't browse at all.
To: "Irwan Siajadi"

<[email protected]>

Quoted 1 line
Quoted 1 line
Cc "Pavel Roskin"

<[email protected]>,
"[email protected]"
<[email protected]>

Quoted 2 lines
Quoted 2 lines

Date: Monday, December 1, 2008, 5:11 PM
On Sun, Nov 30, 2008 at 08:53:36AM -0800, Irwan

Siajadi

Quoted 5 lines
Quoted 5 lines
Quoted 1 line · wrote:

--- On Tue, 11/25/08, Pavel Roskin

Quoted 2 lines · <[email protected]> wrote:
Quoted 2 lines

From: Pavel Roskin

<[email protected]>

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Subject: Re: ath5k: can't browse at

all.

Quoted 4 lines
Quoted 4 lines
Quoted 1 line
Quoted 1 line

To: "Irwan Siajadi"

<[email protected]>

Quoted 2 lines
Quoted 2 lines

Cc: [email protected]
Date: Tuesday, November 25, 2008, 8:02

PM

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

On Tue, 2008-11-25 at 09:24 -0800,

Irwan Siajadi

Quoted 3 lines
Quoted 3 lines
Quoted 2 lines · wrote:
Quoted 2 lines
Quoted 2 lines

Further testing shows that if I

change from

Quoted 3 lines
Quoted 3 lines

WPA2/AES

Quoted 2 lines
Quoted 2 lines

to WPA/TIKIP, I

Quoted 1 line

can finally browse. But it's

still hit

Quoted 3 lines
Quoted 3 lines

and missed,

Quoted 2 lines
Quoted 2 lines

I need to reload

Quoted 1 line

the pages once or twice before the

pages can

Quoted 4 lines
Quoted 4 lines

load

Quoted 3 lines
Quoted 3 lines

properly.

Try disabling hardware crypto in the

driver:

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines

rmmod ath5k
modprobe ath5k nohwcrypt=1

Sorry for the late reply, being busy with

other

Quoted 2 lines
Quoted 2 lines

stuffs.

Quoted 1 line

Anyway, disabling hardware cyrpto didn't

make any

Quoted 4 lines
Quoted 4 lines

changes.

Quoted 3 lines
Quoted 3 lines

In any case, check messages from

wpa_supplicant.

Quoted 3 lines
Quoted 3 lines

Maybe

Quoted 2 lines
Quoted 2 lines

it's
reauthenticating very often. If you

flood ping

Quoted 3 lines
Quoted 3 lines

the router

Quoted 2 lines
Quoted 2 lines

("ping -f"),
you would probably see growing dots

that

Quoted 4 lines
Quoted 4 lines

represent lost

Quoted 3 lines
Quoted 1 line

packets.

Flood ping the router doesn't have any

lost

Quoted 2 lines
Quoted 2 lines

packets (although only for a

Quoted 1 line

minute or so). And my router's log shows

that the

Quoted 4 lines
Quoted 4 lines

laptop didn't

Quoted 3 lines

re-authenticate very often.

I've also compiled vanilla 2.6.26 and

2.6.27 with

Quoted 3 lines
Quoted 3 lines

ath5k (compat-wireless).

Quoted 2 lines

- 2.6.26.8 + ath5k

(compat-wireless-old-2008-11-29,

Quoted 9 lines
Quoted 9 lines

files last editted on

Quoted 3 lines

2008-09-16):
-> ping shows some packets loss.
-> can browse any websites.

Lets focus on >= 2.6.27.

Quoted 2 lines

- 2.6.27.7 + ath5k

(compat-wireless-2008-11-26):

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

-> ping doesn't have any packet loss.
-> can't browse, browser always

waiting for the

Quoted 2 lines
Quoted 2 lines

response from the server.

Quoted 1 line

Monitoring the traffics shows that there are

tx

Quoted 6 lines
Quoted 6 lines

packets, but there's no rx

Quoted 3 lines

packets.

Anything else I can try?

You say you can ping fine but... browsing

doesn't

Quoted 6 lines
Quoted 6 lines

work?? Maybe a
firewall issue?

/etc/init.d/iptables stop

I agree with Pavel this does not seem like a

driver issue.

Quoted 2 lines
Quoted 2 lines

Do you have
your AP configured to disable :80 TCP

communication? Can

Quoted 2 lines
Quoted 2 lines

you try a simple
netcat server and netcat client on different

ports and also

Quoted 2 lines
Quoted 2 lines

on port 80
just to see if its really firewall/AP

configuration.

Quoted 3 lines

Firewall on both end (router-ap and laptop) is

disabled.

Quoted 1 line

I can't do netcat on the server since it's not

a PC box. It's an all in

Quoted 1 line

one unit (ADSL modem+AP+router). But I did wireshark

on the laptop before

Quoted 1 line

reading your email. And I can see many TCP

retransmission while trying to

Quoted 1 line

browse. If you like I can attach the log and send it

to you.

Quoted 3 lines

As comparison, I also do wireshark while using

ndiswrapper. I can find TCP

Quoted 1 line

retransmission while using ndiswrapper, but

doesn't really affect browsing

Quoted 3 lines

or large file transfer through SMB.

Quoted 7 lines
Quoted 1 line

PS: If you prefer netcat, please tell me, I'll do

that and send the log if

Quoted 1 line

you like.

I'll prefer a very simple netcat log. Do you understand why we find this so
strange? It may help to debug the issue at hand.

The attchment is wireshark result from both netcats using port 3333:
1. First half, Intel2200BG(XP-SP2) as sender and ath5k (2.6.27.7) as reciver (works fine).
2. Second half, ath5k(2.6.27.7) as sender and Intel2200BG (XP) as reciver (didn't work, only getting TCP retransmission).

- Intel2200BG(XP-SP2) has IP address of 192.168.1.4
- ath5k(2.6.27.7) has IP address of 192.168.1.2

I'll do netcat on port 80 later tonight and report the result if there's anything different with the information on thie email.

PS: the attachment is without hexdump packet data, please let me know if you require the one with hexdump packet data.

Quoted 2 lines

Luis

#3 lore raw
Quoted 2 lines · Irwan Siajadi

PS: the attachment is without hexdump packet data, please let me know if you require the one with hexdump packet data.

Raw tcpdump data is preferred (so I can parse it myself).

Luis

#4 lore raw
Quoted 8 lines · Luis R. Rodriguez

From: Luis R. Rodriguez <[email protected]>
Subject: Re: ath5k: can't browse at all.
To: "Irwan Siajadi" <[email protected]>
Cc: "Luis Rodriguez" <[email protected]>, "Pavel Roskin" <[email protected]>, "[email protected]" <[email protected]>
Date: Tuesday, December 2, 2008, 8:00 AM
On Mon, Dec 1, 2008 at 11:27 PM, Irwan Siajadi
<[email protected]> wrote:

Quoted 5 lines
Quoted 1 line

PS: the attachment is without hexdump packet data,

please let me know if

Quoted 1 line

you require the one with hexdump packet data.

Raw tcpdump data is preferred (so I can parse it myself).

I didn't save the raw log, but I redid the test and saved the raw log. It's not exactly the same one as this time I send/recieve "netcat: testing ath5k" while previously I sent a source code from Intel2200BG to ath5k.

Note that I also added raw log while trying to browse/discover the ath5k from intel2200BG using SMB.

Oh yes, I tried netcat with port 80 and it behaved exactly the same as port 3333.

Quoted 2 lines

Luis

#5 lore raw
In reply to Luis R. Rodriguez

Hi all,

Just wanted to inform finally I can get ath5k to work :). I simply pulled it from wireless-testing git.

Thanks for the supports. Really appreciate it.

Quoted 15 lines · Luis R. Rodriguez

From: Luis R. Rodriguez <[email protected]>
Subject: Re: ath5k: can't browse at all.
To: "Irwan Siajadi" <[email protected]>
Cc: "Luis Rodriguez" <[email protected]>, "Pavel Roskin" <[email protected]>, "[email protected]" <[email protected]>
Date: Tuesday, December 2, 2008, 8:00 AM

Quoted 1 line · Irwan Siajadi

PS: the attachment is without hexdump packet data,

please let me know if

Quoted 1 line

you require the one with hexdump packet data.

Raw tcpdump data is preferred (so I can parse it myself).

Luis