From owner-freebsd-net@freebsd.org Thu Oct 15 06:02:19 2020 Return-Path: Delivered-To: freebsd-net@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 92D834339A0; Thu, 15 Oct 2020 06:02:19 +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-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CBdwV5sYBz42y4; Thu, 15 Oct 2020 06:02:18 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [178.254.11.41] (helo=r314251-amd64) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kSwLA-0006FM-85; Thu, 15 Oct 2020 08:02:16 +0200 Date: Thu, 15 Oct 2020 08:02:14 +0200 From: Matthias Apitz To: freebsd-wireless@freebsd.org, freebsd-net@freebsd.org Subject: How to connect to a Wifi AP w/o much information from its provider Message-ID: <20201015060214.GA6590@r314251-amd64> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , freebsd-wireless@freebsd.org, freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Operating-System: FreeBSD 8.0-CURRENT (i386) User-Agent: Mutt/1.8.0 (2017-02-23) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 178.254.11.41 X-Rspamd-Queue-Id: 4CBdwV5sYBz42y4 X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of guru@unixarea.de has no SPF policy when checking 178.254.4.101) smtp.mailfrom=guru@unixarea.de X-Spamd-Result: default: False [2.61 / 15.00]; HAS_REPLYTO(0.00)[guru@unixarea.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_XOIP(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[178.254.4.101:from]; TO_DN_NONE(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; RCVD_IN_DNSWL_LOW(-0.10)[178.254.4.101:from]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.14)[0.137]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[unixarea.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.80)[0.797]; NEURAL_SPAM_LONG(0.38)[0.375]; R_SPF_NA(0.00)[no SPF record]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-wireless,freebsd-net] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Oct 2020 06:02:19 -0000 Hello, The school of my son offers Wifi to the pupil. The SSID is "Schueler" and each of the kids has a login and password assigned from the school. Not more information. An iPhone connects out of the box by just asking for the two values (login/password). With our wpa_supplicant I couldn't get how to set accepted values. I have here what the ifconfig command on my laptops says about the AP values: # ifconfig -v wlan0 list ap | egrep 'SSID/MESH|Schueler' Schueler 20:a6:cd:04:d8:63 6 54M -73:-96 100 EPS SSID RATES DSPARMS<6> TIM<050400010000> ERP<0x0> RSN HTCAP HTINFO ???<7f080400080000000040> WME VEN Schueler 48:4a:e9:fd:dd:c3 1 54M -88:-96 100 EPS SSID RATES DSPARMS<1> ERP<0x0> RSN HTCAP HTINFO ???<7f080400080000000040> WME Schueler 20:a6:cd:04:d8:73 64 54M -68:-96 100 EP SSID RATES DSPARMS<64> TIM<050400010000> RSN HTCAP HTINFO ???<7f080400080000000040> VHTCAP VHTOPMODE WME VEN Schueler e8:26:89:45:38:33 36 54M -91:-96 100 EP SSID RATES DSPARMS<36> TIM<050400010000> RSN HTCAP HTINFO ???<7f080400080000000040> VHTCAP VHTOPMODE WME VEN Schueler 48:4a:e9:fd:dd:d3 124 54M -90:-96 100 EP SSID RATES DSPARMS<124> TIM<050400010000> RSN HTCAP HTINFO ???<7f080400080000000040> VHTCAP VHTOPMODE WME VEN Schueler 48:4a:e9:6f:40:c3 11 54M -92:-96 100 EPS SSID RATES DSPARMS<11> ERP<0x0> RSN HTCAP HTINFO ???<7f080400080000000040> WME Schueler e8:26:89:45:38:23 1 54M -85:-96 100 EPS SSID RATES DSPARMS<1> ERP<0x0> RSN HTCAP HTINFO ???<7f080400080000000040> WME Schueler 48:4a:e9:6d:b8:c3 1 54M -91:-96 100 EPS SSID RATES DSPARMS<1> ERP<0x0> RSN HTCAP HTINFO ???<7f080400080000000040> WME Has someone an idea how to make a wpa_supplicant.conf entry for this SSID? Thanks matthias -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub Без книги нет знания, без знания нет коммунизма (Влaдимир Ильич Ленин) Without books no knowledge - without knowledge no communism (Vladimir Ilyich Lenin) Sin libros no hay saber - sin saber no hay comunismo. (Vladimir Ilich Lenin)