Search Linux Wireless

Re: [regression]AP with hostapd 0.7.3 can't receive packets beyond authentication (2.6.36, rt73usb)

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

 



On Tue, Oct 26, 2010 at 01:03:32PM +0200, Johannes Stezenbach wrote:
> 
> (The client is sending ARP requests but not getting answer:
> zzz:~# tcpdump -p -i wlan0
> tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
> listening on wlan0, link-type EN10MB (Ethernet), capture size 65535 bytes
> 13:00:35.740957 ARP, Request who-has 172.28.120.1 tell 172.28.120.2, length 28
> 13:00:36.740924 ARP, Request who-has 172.28.120.1 tell 172.28.120.2, length 28
> 13:00:37.740926 ARP, Request who-has 172.28.120.1 tell 172.28.120.2, length 28
> )

I used a third machine (using ath9k) to dump the traffic with airodump-ng.
ARP requests are sent to broadcast address.

- first I checked power save is off on the client
  (iw dev wlan0 set power_save off)
- then I made static ARP entry on the client (arp -i wlan0 -s 172.28.120.1 00:22:B0:xx:xx:xx)

Then I can see in the dump data packets going to the AP address, and
the AP returns ACK packets.
On AP, "tcpdump -i mon0" outputs one  packet per second (corresponding with
the ping), but "tcpdump -p -i wlan0" does not output anything at all.
RX packet count in "ifconfig wlan0" output does not increase.

on AP:
 # cd /sys/kernel/debug/ieee80211/phy0/stations/00*
 # grep . *
agg_status:next dialog_token: 0x1
agg_status:(snip, all zeros)
dev:wlan0
flags:AUTH
flags:ASSOC
flags:AUTHORIZED
flags:SHORT PREAMBLE
ht_capa:ht not supported
inactive_ms:1160
last_seq_ctrl:ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff cc0 
last_signal:-40
num_ps_buf_frames:0
rc_stats:(snip, all zeors)
rc_stats:Total packet count::    ideal 2      lookaround 0
rx_bytes:1476
rx_dropped:80
rx_duplicates:0
rx_fragments:19
rx_packets:19
tx_bytes:2238
tx_filtered:0
tx_fragments:18
tx_packets:18
tx_retry_count:0
tx_retry_failed:0
wep_weak_iv_count:0

(rx_ + tx_packets does not increase with the ping)

  # cd /sys/kernel/debug/ieee80211/phy0/keys/18
(keys/18 appears after the station is connected)
  # grep . *
algorithm:CCMP
flags:0x1
hw_key_idx:0
ifindex:wlan0
key:1a62718edaf300998cc974f709a0baed
keyidx:0
keylen:16
replays:1
rx_spec:000000000000
  (snip repeats)
tx_rx_count:18
tx_spec:000000000000

  tx_rx_count increases with the ping


HTH,
Johannes
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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