linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: ath5k: can't browse at all.
@ 2008-12-02  3:11 Irwan Siajadi
  2008-12-01 21:36 ` Luis R. Rodriguez
  0 siblings, 1 reply; 15+ messages in thread
From: Irwan Siajadi @ 2008-12-02  3:11 UTC (permalink / raw)
  To: Luis R. Rodriguez; +Cc: Pavel Roskin, linux-wireless@vger.kernel.org




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

> From: Luis R. Rodriguez <lrodriguez@atheros.com>
> Subject: Re: ath5k: can't browse at all.
> To: "Irwan Siajadi" <dev.bahamot@yahoo.com>
> Cc: "Pavel Roskin" <proski@gnu.org>, "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
> 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@gnu.org> wrote:
> > 
> > > From: Pavel Roskin <proski@gnu.org>
> > > Subject: Re: ath5k: can't browse at all.
> > > To: "Irwan Siajadi"
> <dev.bahamot@yahoo.com>
> > > Cc: linux-wireless@vger.kernel.org
> > > 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.


> 
>   Luis

Irwan.



      


^ permalink raw reply	[flat|nested] 15+ messages in thread
* ath5k: can't browse at all.
@ 2008-11-24 17:41 Irwan Siajadi
  2008-11-24 18:53 ` Pavel Roskin
  2008-11-24 18:54 ` Dan Williams
  0 siblings, 2 replies; 15+ messages in thread
From: Irwan Siajadi @ 2008-11-24 17:41 UTC (permalink / raw)
  To: linux-wireless

The AR2425 is able to obtain IP address from the router, 
able to ping with good results, but can't browse at all.
Below are the info on my setup, if you need more info please let me know.

Driver version: compat-wireless-2008-11-24.tar.bz2.
Kernel: 2.6.27.4-2mnbcustom (mandriva), compiled with mandriva provided 
..config but without any WLAN support except WIRELESS_EXT.
Access point/router is configured to use channel 1 (2.412GHz).

dmesg:
"...
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: JP
          (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
          (2402000 KHz - 2494000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
          (5160000 KHz - 5250000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
          (5250000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Calling CRDA for country: JP
.....
ath5k 0000:05:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
ath5k 0000:05:00.0: setting latency timer to 64
ath5k 0000:05:00.0: registered as 'phy0'
phy0: Selected rate control algorithm 'minstrel'
ath5k phy0: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70)
.....
wlan0: authenticate with AP 00:04:ed:42:60:67
wlan0: authenticated
wlan0: associate with AP 00:04:ed:42:60:67
wlan0: RX AssocResp from 00:04:ed:42:60:67 (capab=3D0x431 status=3D0 id=3D)
wlan0: associated
....."

lspci:
"05:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg 
Wireless PCI Express Adapter (rev 01)
          Subsystem: Device 1a3b:1026
          Flags: bus master, fast devsel, latency 0, IRQ 16
          Memory at feaf0000 (64-bit, non-prefetchable) [size=3D64K]
          Capabilities: [40] Power Management version 2
          Capabilities: [50] Message Signalled Interrupts: Mask- 64bit Queue=3D0/0 Enable-
          Capabilities: [60] Express Legacy Endpoint, MSI 00
          Capabilities: [90] MSI-X: Enable- Mask- TabSize=3D1
          Capabilities: [100] Advanced Error Reporting <?>
          Capabilities: [140] Virtual Channel <?>"

TIA,
Irwan.


      


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2008-12-07 19:39 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-02  3:11 ath5k: can't browse at all Irwan Siajadi
2008-12-01 21:36 ` Luis R. Rodriguez
2008-12-02  7:27   ` Irwan Siajadi
2008-12-02  8:00     ` Luis R. Rodriguez
2008-12-02 13:04       ` Irwan Siajadi
2008-12-07 19:39       ` Irwan Siajadi
  -- strict thread matches above, loose matches on Subject: below --
2008-11-24 17:41 Irwan Siajadi
2008-11-24 18:53 ` Pavel Roskin
2008-11-25  2:36   ` Irwan Siajadi
2008-11-25 17:24   ` Irwan Siajadi
2008-11-25 20:02     ` Pavel Roskin
2008-11-30 16:53       ` Irwan Siajadi
2008-12-01 17:11         ` Luis R. Rodriguez
2008-11-24 18:54 ` Dan Williams
2008-11-25  2:30   ` Irwan Siajadi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).