packets over ~100 bytes not working

Andrew Hodel andrewhodel
Sat Jul 2 08:00:18 PDT 2005


On our mesh network of ~30 nodes, all with prism cards and hostap, all
nodes have stopped accepting packets greater then ~100 bytes on the
wireless interface.  If I reset the node, it _may_ work for a few
minutes then the card stops working again for larger packets.

I have tried all different firmware versions, frag/rts and mtu values
with no success.

Below is the output of ifconfig, iwconfig, hostap_diag, route, and
ping.  This should describe my problem.  You will see at the bottom I
ping a host with a 64 byte packet and it works fine, then I ping a
host with a 300 byte packet and it doesn't work.

mnode1:~# ifconfig wlan0
wlan0     Link encap:Ethernet  HWaddr 00:02:6F:36:9E:83
          inet addr:10.0.0.1  Bcast:10.255.255.255  Mask:255.0.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:12856 errors:0 dropped:0 overruns:0 frame:0
          TX packets:965 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2782215 (2.6 MiB)  TX bytes:299010 (292.0 KiB)
          Interrupt:10 Memory:c4827000-c4828000

mnode1:~# iwconfig wlan0
wlan0     IEEE 802.11b  ESSID:"nxwi"
          Mode:Ad-Hoc  Frequency:2.412GHz  Cell: 02:02:5F:AA:9E:82
          Sensitivity=1/3
          Retry min limit:8   RTS thr:off   Fragment thr=65534 B
          Encryption key:off
          Power Management:off
          Link Quality:0/70  Signal level:-73 dBm  Noise level:-73 dBm
          Rx invalid nwid:0  Rx invalid crypt:2  Rx invalid frag:0
          Tx excessive retries:175  Invalid misc:9692   Missed beacon:0

mnode1:~# hostap_diag wlan0
Host AP driver diagnostics information for 'wlan0'

NICID: id=0x8013 v1.0.0 (PRISM II (2.5) Mini-PCI (SST parallel flash))
PRIID: id=0x0015 v1.1.1
STAID: id=0x001f v1.8.0 (station firmware)
mnode1:~# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.0.4        *               255.255.255.255 UH    1      0        0 wlan0
10.56.10.211    *               255.255.255.255 UH    1      0        0 wlan0
10.56.10.226    *               255.255.255.255 UH    1      0        0 wlan0
10.0.0.7        *               255.255.255.255 UH    1      0        0 wlan0
10.56.10.209    *               255.255.255.255 UH    1      0        0 wlan0
10.0.0.17       *               255.255.255.255 UH    1      0        0 wlan0
10.0.0.16       *               255.255.255.255 UH    1      0        0 wlan0
10.0.0.3        *               255.255.255.255 UH    1      0        0 wlan0
10.56.6.230     10.56.10.226    255.255.255.255 UGH   2      0        0 wlan0
10.0.0.2        *               255.255.255.255 UH    1      0        0 wlan0
10.0.0.18       *               255.255.255.255 UH    1      0        0 wlan0
10.56.10.213    10.0.0.3        255.255.255.255 UGH   2      0        0 wlan0
10.0.0.13       *               255.255.255.255 UH    1      0        0 wlan0
10.0.0.12       *               255.255.255.255 UH    1      0        0 wlan0
10.0.0.28       *               255.255.255.255 UH    1      0        0 wlan0
10.55.36.239    10.0.0.4        255.255.255.255 UGH   2      0        0 wlan0
10.0.0.15       *               255.255.255.255 UH    1      0        0 wlan0
10.0.0.14       *               255.255.255.255 UH    1      0        0 wlan0
10.56.10.217    *               255.255.255.255 UH    1      0        0 wlan0
10.0.0.9        *               255.255.255.255 UH    1      0        0 wlan0
10.0.0.25       10.0.0.4        255.255.255.255 UGH   2      0        0 wlan0
10.0.0.24       *               255.255.255.255 UH    1      0        0 wlan0
10.1.1.1        *               255.255.255.255 UH    1      0        0 wlan0
10.0.100.2      *               255.255.255.255 UH    1      0        0 wlan0
10.0.0.11       *               255.255.255.255 UH    1      0        0 wlan0
10.0.0.27       *               255.255.255.255 UH    1      0        0 wlan0
10.0.100.3      *               255.255.255.255 UH    1      0        0 wlan0
10.0.0.10       10.0.0.12       255.255.255.255 UGH   2      0        0 wlan0
10.0.0.26       *               255.255.255.255 UH    1      0        0 wlan0
10.56.10.190    10.56.10.226    255.255.255.255 UGH   2      0        0 wlan0
63.98.170.0     *               255.255.255.0   U     0      0        0 eth0
10.0.0.0        *               255.0.0.0       U     0      0        0 wlan0
default         63.98.170.1     0.0.0.0         UG    0      0        0 eth0
mnode1:~# ping 10.1.1.1
PING 10.1.1.1 (10.1.1.1): 56 data bytes
64 bytes from 10.1.1.1: icmp_seq=0 ttl=64 time=41.2 ms
64 bytes from 10.1.1.1: icmp_seq=1 ttl=64 time=6.3 ms
64 bytes from 10.1.1.1: icmp_seq=2 ttl=64 time=6.4 ms
64 bytes from 10.1.1.1: icmp_seq=3 ttl=64 time=6.6 ms

--- 10.1.1.1 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 6.3/15.1/41.2 ms
mnode1:~# ping -s 300 10.1.1.1
PING 10.1.1.1 (10.1.1.1): 300 data bytes

--- 10.1.1.1 ping statistics ---
4 packets transmitted, 0 packets received, 100% packet loss
mnode1:~#




More information about the Hostap mailing list