From owner-freebsd-wireless@FreeBSD.ORG Sat Feb 25 14:11:06 2012 Return-Path: Delivered-To: wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D8B10106566C; Sat, 25 Feb 2012 14:11:06 +0000 (UTC) (envelope-from jakobp78@gmail.com) Received: from mail-tul01m020-f182.google.com (mail-tul01m020-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9011E8FC0A; Sat, 25 Feb 2012 14:11:06 +0000 (UTC) Received: by obcwo16 with SMTP id wo16so5035870obc.13 for ; Sat, 25 Feb 2012 06:11:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=VlRkwvbaYCw+pkiwC5ymPNp9uV8cFY09pPDIm7a0Yy4=; b=wrh8frqNEJNrOaJicOxqen6tyiSvNAaxLF9VliOG5vvze/0jwJgEMagAtV5Q8EoSY7 m3SQT/dfqRpABwjz9TODefRDJjQ7pIp5AUhJprK3KSZ6E4bVh12/xjX4gw3ge9yA/SDc p5a0qVL6JhwfU3hvDAMIWgJSYjVcVoJnRGdPQ= MIME-Version: 1.0 Received: by 10.182.216.101 with SMTP id op5mr2037418obc.54.1330177513952; Sat, 25 Feb 2012 05:45:13 -0800 (PST) Received: by 10.182.39.193 with HTTP; Sat, 25 Feb 2012 05:45:13 -0800 (PST) In-Reply-To: References: Date: Sat, 25 Feb 2012 15:45:13 +0200 Message-ID: From: Jakob Pedersen To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: mobile@freebsd.org, wireless@freebsd.org Subject: Re: Problems with RaLink rt61pci/rt2561 wifi card X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Feb 2012 14:11:06 -0000 Hi Adrian, Thank you for the tips for diagnosing my WiFi issue. It seems to be the gain settings on the wifi card somehow (I am in not much of a technical person, but at least that's what it seems to me). For PC-BSD the signal strength is measured to -54 dB just next to the router and when stepping away like 5 - 6 metres the signal is lost at -95 dB (Same level as noise dB level). The decrease in not sudden but drops gradually when distance to router is being increased. I am dual booting Arch linux on the same laptop, where WiFi works fine and it measures - 20 dBm next to the router and - 70 dBm where PC-BSD looses connection. Not really sure, what to do from here though.. But thanks, anyway! Jakob On Wed, Feb 15, 2012 at 8:09 AM, Adrian Chadd wrote: > Hi, > > It sounds like it could be: > > * low TX power from your device; > * Really bad RX gain settings somehow; > * other fruity radio related stuff. > > The trouble is going to be diagnosing it. What I do in these instances > is use a known-good setup (i have a bunch of laptops with AR9280's in > them for this reason) to use in monitor mode - I can then get a rough > estimate of TX power by just sniffing the frames your device is > sending. > > That'd hopefully identify whether it's a TX or an RX problem. > > If the device works in monitor mode, you could try that: > > tcpdump -ni wlan0 -y IEEE802_11_RADIO > > Connect, then walk away from the AP. See if the RX RSSI fields in the > tcpdump drop suddenly. If you get a few metres away and you're still > receiving things strong, it may be a TX issue. If you suddenly stop > hearing anything, it's likely an RX issue. > > Good luck! > > > Adrian >