Search Linux Wireless

Re: ath5k: can't browse at all.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





--- On Mon, 12/1/08, Luis R. Rodriguez <lrodriguez@xxxxxxxxxxx> wrote:

> From: Luis R. Rodriguez <lrodriguez@xxxxxxxxxxx>
> Subject: Re: ath5k: can't browse at all.
> To: "Irwan Siajadi" <dev.bahamot@xxxxxxxxx>
> Cc: "Luis Rodriguez" <Luis.Rodriguez@xxxxxxxxxxx>, "Pavel Roskin" <proski@xxxxxxx>, "linux-wireless@xxxxxxxxxxxxxxx" <linux-wireless@xxxxxxxxxxxxxxx>
> Date: Monday, December 1, 2008, 9:36 PM
> On Mon, Dec 01, 2008 at 07:11:55PM -0800, Irwan Siajadi
> wrote:
> > 
> > 
> > 
> > --- On Mon, 12/1/08, Luis R. Rodriguez
> <lrodriguez@xxxxxxxxxxx> wrote:
> > 
> > > From: Luis R. Rodriguez
> <lrodriguez@xxxxxxxxxxx>
> > > Subject: Re: ath5k: can't browse at all.
> > > To: "Irwan Siajadi"
> <dev.bahamot@xxxxxxxxx>
> > > Cc: "Pavel Roskin"
> <proski@xxxxxxx>,
> "linux-wireless@xxxxxxxxxxxxxxx"
> <linux-wireless@xxxxxxxxxxxxxxx>
> > > Date: Monday, December 1, 2008, 5:11 PM
> > > On Sun, Nov 30, 2008 at 08:53:36AM -0800, Irwan
> Siajadi
> > > wrote:
> > > > --- On Tue, 11/25/08, Pavel Roskin
> > > <proski@xxxxxxx> wrote:
> > > >
> > > > > From: Pavel Roskin
> <proski@xxxxxxx>
> > > > > Subject: Re: ath5k: can't browse at
> all.
> > > > > To: "Irwan Siajadi"
> > > <dev.bahamot@xxxxxxxxx>
> > > > > Cc: linux-wireless@xxxxxxxxxxxxxxx
> > > > > Date: Tuesday, November 25, 2008, 8:02
> PM
> > > > > On Tue, 2008-11-25 at 09:24 -0800,
> Irwan Siajadi
> > > wrote:
> > > > >
> > > > > > Further testing shows that if I
> change from
> > > WPA2/AES
> > > > > to WPA/TIKIP, I
> > > > > > can finally browse. But it's
> still hit
> > > and missed,
> > > > > I need to reload
> > > > > > the pages once or twice before the
> pages can
> > > load
> > > > > properly.
> > > > >
> > > > > Try disabling hardware crypto in the
> driver:
> > > > >
> > > > > rmmod ath5k
> > > > > modprobe ath5k nohwcrypt=1
> > > >
> > > > Sorry for the late reply, being busy with
> other
> > > stuffs.
> > > > Anyway, disabling hardware cyrpto didn't
> make any
> > > changes.
> > > >
> > > > >
> > > > > In any case, check messages from
> wpa_supplicant.
> > > Maybe
> > > > > it's
> > > > > reauthenticating very often.  If you
> flood ping
> > > the router
> > > > > ("ping -f"),
> > > > > you would probably see growing dots
> that
> > > represent lost
> > > > > packets.
> > > >
> > > > Flood ping the router doesn't have any
> lost
> > > packets (although only for a
> > > > minute or so). And my router's log shows
> that the
> > > laptop didn't
> > > > re-authenticate very often.
> > > >
> > > > I've also compiled vanilla 2.6.26 and
> 2.6.27 with
> > > ath5k (compat-wireless).
> > > >
> > > > - 2.6.26.8 + ath5k
> (compat-wireless-old-2008-11-29,
> > > files last editted on
> > > > 2008-09-16):
> > > > -> ping shows some packets loss.
> > > > -> can browse any websites.
> > >
> > > Lets focus on >= 2.6.27.
> > >
> > > >
> > > > - 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.
> > > > Monitoring the traffics shows that there are
> tx
> > > packets, but there's no rx
> > > > 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
> > >
> > > 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.
> 
> 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.


> 
>   Luis


      

Attachment: wireshark_netcat_rx_tx
Description: Binary data


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux