Wireless packet loses

Onur Aslan onuraslan at gmail.com
Fri Oct 30 08:58:14 UTC 2009


Hi. I am currently using FreeBSD 7.2-RELEASE. I have a problem with
wireless networks. I am using FreeBSD as an access point with wpa
encryption. Almost %30 packets are loses when I ping the ap. It's very
painfully to use ssh connection with this ap. Do you have any idea about
packet loses?

My adapter is Edimax 7128. My ping result from a Linux machine:

$ ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.354 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=0.309 ms
64 bytes from 192.168.1.1: icmp_seq=4 ttl=64 time=0.306 ms
64 bytes from 192.168.1.1: icmp_seq=5 ttl=64 time=0.272 ms
64 bytes from 192.168.1.1: icmp_seq=6 ttl=64 time=0.293 ms
64 bytes from 192.168.1.1: icmp_seq=8 ttl=64 time=35.3 ms
64 bytes from 192.168.1.1: icmp_seq=9 ttl=64 time=0.302 ms
64 bytes from 192.168.1.1: icmp_seq=10 ttl=64 time=0.270 ms
64 bytes from 192.168.1.1: icmp_seq=13 ttl=64 time=0.304 ms
64 bytes from 192.168.1.1: icmp_seq=14 ttl=64 time=0.268 ms
64 bytes from 192.168.1.1: icmp_seq=15 ttl=64 time=0.270 ms
64 bytes from 192.168.1.1: icmp_seq=17 ttl=64 time=0.307 ms
64 bytes from 192.168.1.1: icmp_seq=18 ttl=64 time=0.310 ms
64 bytes from 192.168.1.1: icmp_seq=19 ttl=64 time=0.268 ms
64 bytes from 192.168.1.1: icmp_seq=21 ttl=64 time=0.469 ms
64 bytes from 192.168.1.1: icmp_seq=22 ttl=64 time=0.303 ms
64 bytes from 192.168.1.1: icmp_seq=23 ttl=64 time=0.269 ms
^C
--- 192.168.1.1 ping statistics ---
23 packets transmitted, 17 received, 26% packet loss, time 21999ms
rtt min/avg/max/mdev = 0.268/2.364/35.324/8.240 ms


Other informations about this machine:

# uname -a
FreeBSD onur-bsd 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1
08:49:13 UTC 2009
root at walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
# ifconfig ral0 list caps
ral0=2181e500<IBSS,HOSTAP,TXPMGT,SHSLOT,SHPREAMBLE,MONITOR,WPA1,WPA2,BGSCAN>
# ifconfig ral0
ral0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290
        ether 00:0e:2e:ff:6b:e4
        inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
        media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>
        status: associated
        ssid ONURNET channel 1 (2412 Mhz 11g) bssid 00:0e:2e:ff:6b:e4
        authmode WPA privacy MIXED deftxkey 2 TKIP 2:128-bit TKIP 3:128-bit
        txpower 50 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250
        roam:rssi11g 7 roam:rate11g 5 protmode CTS dtimperiod 1
# cat /etc/hostapd.conf
interface=ral0
debug=1
ctrl_interface=/var/run/hostapd
ctrl_interface_group=wheel
ssid=ONURNET
wpa=1
wpa_passphrase=mypassword
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP TKIP


More information about the freebsd-questions mailing list