ath5k: can't browse at all.
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.
Quoted 3 lines · Irwan Siajadi
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.
That's unlikely to be a driver problem. The driver doesn't distinguish pings from other packets. The only significant difference could be in the packet size. You can try ping with larger packets to check if that's the problem.
I suggest that you use normal network troubleshooting procedures and not assume the driver to be a problem unless you have a better evidence. Check routing, check if the nameservers in /etc/resolv.conf are working. I'm sure there are detailed guides how to troubleshoot networks.
Signature · 2 lines
Regards, Pavel Roskin
Quoted 3 lines · Irwan Siajadi
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.
Can you traceroute to some IP, say like 4.2.2.1 or 4.2.2.2?
Dan
Quoted 51 lines
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 exceptWIRELESS_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 atfeaf0000(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.--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 6 lines · Dan Williams
From: Dan Williams <[email protected]>
Subject: Re: ath5k: can't browse at all.
To: "Irwan Siajadi" <[email protected]>
Cc: [email protected]
Date: Monday, November 24, 2008, 6:54 PM
On Mon, 2008-11-24 at 09:41 -0800, Irwan Siajadi wrote:
Quoted 8 lines
Quoted 1 line
The AR2425 is able to obtain IP address from the
router,
Quoted 1 line
able to ping with good results, but can't browse
at all.
Quoted 1 line
Below are the info on my setup, if you need more info
please let me know.
Can you traceroute to some IP, say like 4.2.2.1 or 4.2.2.2?
Trace seems to work fine. I believe this is a driver problem because I can browse normally as soon as I changed it to ndiswrapper.
Tracepath to osnews.com (using ath5k):
1: 192.168.1.2 (192.168.1.2) 0.225ms pmtu 1500
1: home.gateway (192.168.1.254) 1.217ms asymm 101
1: home.gateway (192.168.1.254) 1.181ms asymm 101
2: home.gateway (192.168.1.254) 1.186ms pmtu 1492
2: 125.167.124.1 (125.167.124.1) 112.890ms
3: 125.160.1.165 (125.160.1.165) 117.249ms
4: no reply
5: 203.208.191.81 (203.208.191.81) 513.481ms asymm 12
6: ge-0-1-7-0.sngtp-dr2.ix.singtel.com (203.208.151.181) 648.204ms asymm 12
7: ge-5-0-0-0.sngtp-cr1.ix.singtel.com (203.208.151.149) 629.931ms asymm 13
8: so-2-0-0-0.plapx-cr2.ix.singtel.com (203.208.149.182) 827.446ms asymm 14
9: ge-6-0-0-0.plapx-dr2.ix.singtel.com (203.208.183.166) 770.144ms asymm 15
10: ge6-0-128.ir1.paloalto-ca.us.xo.net (206.111.12.45) 738.330ms asymm 15
11: te-4-0-0.rar3.sanjose-ca.us.xo.net (207.88.12.61) 758.889ms asymm 16
12: te-3-0-0.rar3.la-ca.us.xo.net (207.88.12.62) 770.112ms asymm 20
13: 207.88.14.33.ptr.us.xo.net (207.88.14.33) 976.042ms asymm 18
14: 207.88.14.34.ptr.us.xo.net (207.88.14.34) 814.660ms asymm 19
15: 207.88.185.74.ptr.us.xo.net (207.88.185.74) 548.507ms asymm 23
16: border3.tge3-1-bbnet1.ext1.dal.pnap.net (216.52.191.22) 392.415ms asymm 23
17: te2-1.cer03.dal01.dallas-datacenter.com (216.52.189.30) 400.309ms asymm 20
18: po3.dar02.dal01.dallas-datacenter.com (66.228.118.211) 405.547ms asymm 19
19: po2.fcr02.dal01.dallas-datacenter.com (66.228.118.182) 404.016ms asymm 20
20: osnews.com (74.86.31.159) 406.893ms reached
Resume: pmtu 1492 hops 20 back 44Quoted 76 lines
Dan
Quoted 2 lines
Driver version: compat-wireless-2008-11-24.tar.bz2.
Kernel: 2.6.27.4-2mnbcustom (mandriva), compiled withmandriva provided
Quoted 1 line
..config but without any WLAN support except
WIRELESS_EXT.Quoted 1 line
Access point/router is configured to use channel 1
(2.412GHz).
Quoted 6 lines
dmesg:
"...
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: JP
(start_freq-end_freq@ bandwidth),(
max_antenna_gain,max_eirp)Quoted 1 line
(2402000 KHz - 2494000 KHz @ 40000 KHz),(600 mBi, 2000 mBm)
Quoted 1 line
(5160000 KHz - 5250000 KHz @ 40000 KHz),(600 mBi, 2000 mBm)
Quoted 1 line
(5250000 KHz - 5330000 KHz @ 40000 KHz),(600 mBi, 2000 mBm)
Quoted 3 lines
cfg80211: Calling CRDA for country: JP
.....
ath5k 0000:05:00.0: PCI INT A -> GSI 16 (level,low) -> IRQ 16
Quoted 3 lines
ath5k 0000:05:00.0: setting latency timer to 64 ath5k 0000:05:00.0: registered as 'phy0'
phy0: Selected rate control algorithm'minstrel'
Quoted 1 line
ath5k phy0: Atheros AR2425 chip found (MAC:
0xe2, PHY:
0x70)Quoted 5 lines
.....
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)
Quoted 5 lines
wlan0: associated
....."lspci:
"05:00.0 Ethernet controller: AtherosCommunications Inc. AR242x 802.11abg
Quoted 3 lines
Wireless PCI Express Adapter (rev 01)
Subsystem: Device 1a3b:1026
Flags: bus master, fast devsel, latency 0,IRQ 16
Quoted 1 line
Memory at feaf0000 (64-bit,non-prefetchable) [size=3D64K]
Quoted 1 line
Capabilities: [40] Power Management version
2
Quoted 1 line
Capabilities: [50] Message Signalled
Interrupts: Mask- 64bit Queue=3D0/0 Enable-
Quoted 1 line
Capabilities: [60] Express Legacy Endpoint,
MSI 00
Quoted 1 line
Capabilities: [90] MSI-X: Enable- Mask-
TabSize=3D1
Quoted 1 line
Capabilities: [100] Advanced Error Reporting
<?>
Quoted 1 line
Capabilities: [140] Virtual Channel
<?>"
Quoted 9 lines
TIA,
Irwan.--
To unsubscribe from this list: send the line"unsubscribe linux-wireless" in
Quoted 2 lines
the body of a message to [email protected] More majordomo info at
Quoted 13 lines · Pavel Roskin
From: Pavel Roskin <[email protected]>
Subject: Re: ath5k: can't browse at all.
To: "Irwan Siajadi" <[email protected]>
Cc: [email protected]
Date: Monday, November 24, 2008, 6:53 PMQuoted 1 line · Irwan Siajadi
The AR2425 is able to obtain IP address from the
router,
Quoted 1 line
able to ping with good results, but can't browse
at all.
Quoted 1 line
Below are the info on my setup, if you need more info
please let me know.
Quoted 7 lines
That's unlikely to be a driver problem. The driver doesn't distinguish
pings from other packets. The only significant difference could be in
the packet size. You can try ping with larger packets to check if
that's the problem.
Ping with large packet size doesn't seem to be a problem. [root@localhost staff]# ping 192.168.1.254 -s 1500
PING 192.168.1.254 (192.168.1.254) 1500(1528) bytes of data. 1508 bytes from 192.168.1.254: icmp_seq=1 ttl=128 time=2.75 ms 1508 bytes from 192.168.1.254: icmp_seq=2 ttl=128 time=2.61 ms
...
1508 bytes from 192.168.1.254: icmp_seq=13 ttl=128 time=2.69 ms 1508 bytes from 192.168.1.254: icmp_seq=14 ttl=128 time=2.72 ms ^C
--- 192.168.1.254 ping statistics ---
14 packets transmitted, 14 received, 0% packet loss, time 13574ms rtt min/avg/max/mdev = 2.586/2.692/2.781/0.091 ms
Quoted 9 lines
I suggest that you use normal network troubleshooting procedures and not
assume the driver to be a problem unless you have a better evidence.
Check routing, check if the nameservers in/etc/resolv.confare working.
I'm sure there are detailed guides how to troubleshoot networks.
I believe the problem is in the driver because I can browse normally as soon as I change the driver to ndiswrapper. Tracepath shows there's nothing wrong with routing or nameservers.
Quoted 4 lines
Signature · 3 lines
-- Regards, Pavel Roskin
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.
Thanks for the reply.
Quoted 33 lines · Pavel Roskin
From: Pavel Roskin <[email protected]>
Subject: Re: ath5k: can't browse at all.
To: "Irwan Siajadi" <[email protected]>
Cc: [email protected]
Date: Monday, November 24, 2008, 6:53 PMQuoted 1 line · Irwan Siajadi
The AR2425 is able to obtain IP address from the
router,
Quoted 1 line
able to ping with good results, but can't browse
at all.
Quoted 1 line
Below are the info on my setup, if you need more info
please let me know.
That's unlikely to be a driver problem. The driver doesn't distinguish
pings from other packets. The only significant difference could be in
the packet size. You can try ping with larger packets to check if
that's the problem.I suggest that you use normal network troubleshooting procedures and not
assume the driver to be a problem unless you have a better evidence.
Check routing, check if the nameservers in/etc/resolv.confare working.
I'm sure there are detailed guides how to troubleshoot networks.Signature · 2 lines
Regards, Pavel Roskin
Quoted 3 lines · Irwan Siajadi
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
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.
Signature · 2 lines
Regards, Pavel Roskin
Quoted 10 lines · Pavel Roskin
From: Pavel Roskin <[email protected]>
Subject: Re: ath5k: can't browse at all.
To: "Irwan Siajadi" <[email protected]>
Cc: [email protected]
Date: Tuesday, November 25, 2008, 8:02 PMQuoted 1 line · Irwan Siajadi
Further testing shows that if I change from WPA2/AES
to WPA/TIKIP, I
Quoted 1 line
can finally browse. But it's still hit and missed,
Quoted 8 lines
I need to reload
Quoted 1 line
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.
Quoted 7 lines
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.
- 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?
Quoted 4 lines
Signature · 3 lines
-- Regards, Pavel Roskin
Thanks,
Irwan.
Quoted 36 lines · Irwan Siajadi
Quoted 10 lines · Pavel Roskin
From: Pavel Roskin <[email protected]>
Subject: Re: ath5k: can't browse at all.
To: "Irwan Siajadi" <[email protected]>
Cc: [email protected]
Date: Tuesday, November 25, 2008, 8:02 PMQuoted 1 line · Irwan Siajadi
Further testing shows that if I change from WPA2/AES
to WPA/TIKIP, I
Quoted 1 line
can finally browse. But it's still hit and missed,
Quoted 8 lines
I need to reload
Quoted 1 line
the pages once or twice before the pages can load
properly.
Try disabling hardware crypto in the driver:
rmmod ath5k
modprobe ath5k nohwcrypt=1Sorry for the late reply, being busy with other stuffs. Anyway, disabling hardware cyrpto didn't make any changes.
Quoted 7 lines
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.
Quoted 6 lines
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.
Quoted 8 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. 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.
Luis