From owner-freebsd-wireless@freebsd.org Wed Jul 17 17:35:40 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 98459B21D7 for ; Wed, 17 Jul 2019 17:35:40 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C73FD8C16F for ; Wed, 17 Jul 2019 17:35:38 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [188.174.58.231] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1hnnq2-0005uM-St; Wed, 17 Jul 2019 19:35:34 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id x6HHZXbD004107 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 17 Jul 2019 19:35:33 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id x6HHZWUX004106; Wed, 17 Jul 2019 19:35:32 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Wed, 17 Jul 2019 19:35:32 +0200 From: Matthias Apitz To: Vladimir Botka Cc: freebsd-wireless@freebsd.org Subject: Re: debugging a Wifi association problem Message-ID: <20190717173532.GA3766@c720-r342378> Reply-To: Matthias Apitz References: <20190717053826.GA3090@c720-r342378> <20190717090543.4e0ac69f@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20190717090543.4e0ac69f@gmail.com> X-Operating-System: FreeBSD 13.0-CURRENT r342378 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. User-Agent: Mutt/1.11.1 (2018-12-01) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 188.174.58.231 X-Rspamd-Queue-Id: C73FD8C16F X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-4.58 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[guru@unixarea.de]; HAS_XOIP(0.00)[]; TO_DN_SOME(0.00)[]; IP_SCORE(-2.91)[ip: (-8.54), ipnet: 178.254.0.0/19(-3.44), asn: 42730(-2.58), country: DE(-0.01)]; HAS_XAW(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[cached: mail.unixarea.de]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.96)[-0.957,0]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_IN_DNSWL_LOW(-0.10)[101.4.254.178.list.dnswl.org : 127.0.5.1]; RECEIVED_SPAMHAUS_PBL(0.00)[231.58.174.188.zen.spamhaus.org : 127.0.0.10]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[unixarea.de]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_TLS_LAST(0.00)[] X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.29 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: Wed, 17 Jul 2019 17:35:40 -0000 El d=C3=ADa mi=C3=A9rcoles, julio 17, 2019 a las 09:05:43a. m. +0200, Vladi= mir Botka escribi=C3=B3: > Hello, >=20 > On Wed, 17 Jul 2019 07:38:26 +0200 > Matthias Apitz wrote: >=20 > > ... The association requests are always rejected with a package > > CTRL-EVENT-ASSOC-REJECT with 'status_code=3D1'... > > Do we have any tool in FreeBSD to monitor/debug this problem between the > > device in question and the AP? Any other ideas? >=20 > Best practice is to sniff packets and see what's going on. > http://www.wireless-nets.com/resources/tutorials/sniff_packets_wireshark.= html >=20 Hello Vladimir, I installed wireshark-2.6.5_2 in my FreeBSD (CURRENT from December last year). I tried to enable from View --> [x] Wireless Toolbar but this gives an error about "Failed to initialize ws80211" in the GUI and I can not set the channel or Frequency. Is this not possible with FreeBSD? In this case I'd have to look for a Linux laptop or even a Windows one (which I'd hate). Thanks for a hint. matthias --=20 Matthias Apitz, =E2=9C=89 guru@unixarea.de, http://www.unixarea.de/ +49-176= -38902045 Public GnuPG key: http://www.unixarea.de/key.pub