From owner-freebsd-questions@FreeBSD.ORG Fri Oct 30 08:58:14 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40D391065679 for ; Fri, 30 Oct 2009 08:58:14 +0000 (UTC) (envelope-from onuraslan@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id CB1AC8FC13 for ; Fri, 30 Oct 2009 08:58:13 +0000 (UTC) Received: by mail-bw0-f213.google.com with SMTP id 5so3308062bwz.3 for ; Fri, 30 Oct 2009 01:58:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=J/3igwLU0W39bkjjQs9yLaDUa19uqc3CuNeTkn9vQlM=; b=D93aPkknaWtDaaYNc5NlUswvU4ESUqYUBxkDh3ApROGdsD2Ywopj/gocJBiUxCRj4U NKhJmaCYLGZkZXJZ1rQ5ujYMZkm7OtVC8oDx6qeoeJVMbw96Z9vPFQ7Ur0iaV2pPlaIF jCD3kWlKOzf+tg3uq31oEyshUbcxG1coBj1vQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=JFhHyb6szs55diAZeeGrNbeO8MmdNOpPIrHA96RLe3hQTUEewLSAaPFzCPrk79m99J W+Jp1NXBjwPmnZ7zHAB9VcDq+8n8B8uctHREZbasnh82UxTooHn1O1KH+s1csSg+6Lwv CR7tNcZCeD4oWPzG/QRll5BmO7VBcch3nU6xM= MIME-Version: 1.0 Received: by 10.204.155.88 with SMTP id r24mr855164bkw.132.1256891267666; Fri, 30 Oct 2009 01:27:47 -0700 (PDT) Date: Fri, 30 Oct 2009 10:27:47 +0200 Message-ID: From: Onur Aslan To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: Wireless packet loses X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Oct 2009 08:58:14 -0000 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@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 # ifconfig ral0 list caps ral0=2181e500 # ifconfig ral0 ral0: flags=8843 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 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