From owner-freebsd-hackers@FreeBSD.ORG Thu Feb 12 12:17:06 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B73A1065742; Thu, 12 Feb 2009 12:17:06 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.freebsd.org (Postfix) with ESMTP id 68D648FC16; Thu, 12 Feb 2009 12:17:05 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by nf-out-0910.google.com with SMTP id e27so64203nfd.33 for ; Thu, 12 Feb 2009 04:17:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=zwz+AQhzgc1KMtgsvp7wfKnPX8Via5THzu6aAYfCTow=; b=xI3pMIPKUvn9wW3CuF76fwV2vS2v/+4iBR2AlcvrpqcemRDGk8Ekn3fGYv7iSdQo3a DqDwRpjtODBPpRlIDbnC4wr4JQXty9hSJOJjDzRPaxYSsqfRlpzE0FnNEm8CTFrWWVfP 51qq5ajwSaXd14hrEFiS1FFYFLnOO9vNetwhg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=djgR5v78+bXt/ueyXKzWHJl0XRXehK5LR4/JiBQELdn8nvHDvVA47vNYnDVsb/LiG7 5MKcBd4uH5b5JIbEPhHO/2vEDoD3oteVQgMsLySnmpwfFawFq3njykPV2w1tOqK60Xzf vsV4tB00bnfR5/t+BkVYW0RVfyiHnoXvGNgEU= MIME-Version: 1.0 Received: by 10.210.127.13 with SMTP id z13mr629025ebc.141.1234441024491; Thu, 12 Feb 2009 04:17:04 -0800 (PST) In-Reply-To: <20090210112554.15896t24mpahwggs@webmail.rawbw.com> References: <20090209143642.168421bp9jjvs7i8@webmail.rawbw.com> <4991ADB5.9050803@freebsd.org> <20090210112554.15896t24mpahwggs@webmail.rawbw.com> Date: Thu, 12 Feb 2009 13:17:04 +0100 Message-ID: <3a142e750902120417mee92d86m5a3a871c9145fa54@mail.gmail.com> From: "Paul B. Mahol" To: Yuri Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, Sam Leffler Subject: Re: How to troubleshoot why ath0 can't connect to a passwordless wireless network? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2009 12:17:07 -0000 On 2/10/09, Yuri wrote: > Quoting "Sam Leffler" : > >> You seem to say your network is open (no security). If not you need >> to show your network configuration. > > That's right, network is open (no security). > >> tcpdump can be used to tap traffic at 3 layers: 802.3, 802.11, and >> driver. It can be used to identify where packets are lost in the >> hierarchy (if at all). > > 'tcpdump -vv -i ath0' shows nothing when I run 'dhclient ath0' or > 'dhcping -s 255.255.255.255'. dhclient always fails, dhcping > says "no answer". > But tcpdump shows traffic between other hosts on the same network. > >> Assuming packets are going out but not coming back you can sniff >> from a 3rd station to look for traffic in the air but not received. > > No, now packets don't seem to go out at all. I said before that packets > went out when interface in fact was in 'monitor' mode. Really? Try wlandebug(8) to see what 802.11 code is doing vs ath driver. >> Given how little info you posted it's virtually impossible to advise >> you what is wrong. When in doubt c&p real output; describing a >> problem often causes useful info to be left out. > > There is no "real output" from tcpdump, this is a problem. > > How to find out for example why 'sendto' call from dhcping doesn't > result in any packets on ath0 interface which is 'UP' and 'associated'? > > I used this same system to connect to other open WiFi networks without > the problem. So it seems to be network-specific. And it fails only for > certain networks. > > Yuri > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > -- Paul