Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Oct 2020 08:14:14 -0400
From:      David Schlachter <david@schlachter.ca>
To:        Matthias Apitz <guru@unixarea.de>, freebsd-wireless@freebsd.org, freebsd-net@freebsd.org
Subject:   Re: How to connect to a Wifi AP w/o much information from its provider
Message-ID:  <CAF104kOqXi00ycQoiJbYJFmSFgXPyv2_ykRMVDTBYajgOKtMLg@mail.gmail.com>
In-Reply-To: <20201015060214.GA6590@r314251-amd64>
References:  <20201015060214.GA6590@r314251-amd64>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Matthias,

If each student has a unique login and password for the WiFi network, the
network probably uses WPA-802.1X (WPA-Enterprise). A variety of Extensible
Authentication Protocol (EAP) modes are used with WPA-802.1X, and you can
see them all described in `man 5 wpa_supplicant.conf`. However, your entry
in wpa_supplicant.conf will have be similar to this one that I use to
connect to a university WiFi network:

   network=3D{
   ssid=3D"UniversitySSID"
   identity=3D"MyLogin"
   password=3D"MyPassword"
   key_mgmt=3DWPA-EAP
   eap=3DTTLS
   phase2=3D"auth=3DMSCHAPV2"
   }

I'm not sure how to determine the exact parameters from the log output you
gave, but hopefully this can get you started.

Best,
David



Le jeu. 15 oct. 2020, =C3=A0 02 h 02, Matthias Apitz <guru@unixarea.de> a =
=C3=A9crit :

>
> 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 t=
o
> 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<Schueler> RATES<B24,B48,72,96,108> DSPARMS<6> TIM<050400010000>
> ERP<0x0> RSN<v1 mc:AES-CCMP uc:AES-CCMP km:8021X-UNSPEC> HTCAP<cap 0x1ad
> param 0x17 mcsset[0-15] extcap 0x0 txbf 0x0 antenna 0x0> HTINFO<ctl 6,
> 0,0,0,0 basicmcs[]> ???<7f080400080000000040> WME<qosinfo 0x80 BE[aifsn 3
> cwmin 4 cwmax 10 txop 0] BK[aifsn 7 cwmin 4 cwmax 10 txop 0] VO[aifsn 2
> cwmin 3 cwmax 4 txop 94] VI[aifsn 2 cwmin 2 cwmax 3 txop 47]>
> VEN<dd07000b8601040809>
> Schueler         48:4a:e9:fd:dd:c3    1   54M  -88:-96   100 EPS
> SSID<Schueler> RATES<B24,B48,72,96,108> DSPARMS<1> ERP<0x0> RSN<v1
> mc:AES-CCMP uc:AES-CCMP km:8021X-UNSPEC> HTCAP<cap 0x1ad param 0x17
> mcsset[0-15] extcap 0x0 txbf 0x0 antenna 0x0> HTINFO<ctl 1, 0,0,0,0
> basicmcs[]> ???<7f080400080000000040> WME<qosinfo 0x80 BE[aifsn 3 cwmin 4
> cwmax 10 txop 0] BK[aifsn 7 cwmin 4 cwmax 10 txop 0] VO[aifsn 2 cwmin 3
> cwmax 4 txop 94] VI[aifsn 2 cwmin 2 cwmax 3 txop 47]>
> Schueler         20:a6:cd:04:d8:73   64   54M  -68:-96   100 EP
>  SSID<Schueler> RATES<B24,B48,72,96,108> DSPARMS<64> TIM<050400010000>
> RSN<v1 mc:AES-CCMP uc:AES-CCMP km:8021X-UNSPEC> HTCAP<cap 0x9ef param 0x1=
b
> mcsset[0-31] extcap 0x0 txbf 0x0 antenna 0x0> HTINFO<ctl 64, 7,4,0,0
> basicmcs[]> ???<7f080400080000000040> VHTCAP<cap 0x338b79b1 rx_mcs_map
> 0xffaa rx_highest 0 tx_mcs_map 0xffaa tx_highest 0> VHTOPMODE<chw 1
> freq1_idx 58 freq2_idx 0 basic_mcs_set 0x0000> WME<qosinfo 0x80 BE[aifsn =
3
> cwmin 4 cwmax 10 txop 0] BK[aifsn 7 cwmin 4 cwmax 10 txop 0] VO[aifsn 2
> cwmin 3 cwmax 4 txop 94] VI[aifsn 2 cwmin 2 cwmax 3 txop 47]>
> VEN<dd07000b8601040812>
> Schueler         e8:26:89:45:38:33   36   54M  -91:-96   100 EP
>  SSID<Schueler> RATES<B24,B48,72,96,108> DSPARMS<36> TIM<050400010000>
> RSN<v1 mc:AES-CCMP uc:AES-CCMP km:8021X-UNSPEC> HTCAP<cap 0x9ef param 0x1=
b
> mcsset[0-31] extcap 0x0 txbf 0x0 antenna 0x0> HTINFO<ctl 36, 5,0,0,0
> basicmcs[]> ???<7f080400080000000040> VHTCAP<cap 0x338b79b1 rx_mcs_map
> 0xffaa rx_highest 0 tx_mcs_map 0xffaa tx_highest 0> VHTOPMODE<chw 1
> freq1_idx 42 freq2_idx 0 basic_mcs_set 0x0000> WME<qosinfo 0x80 BE[aifsn =
3
> cwmin 4 cwmax 10 txop 0] BK[aifsn 7 cwmin 4 cwmax 10 txop 0] VO[aifsn 2
> cwmin 3 cwmax 4 txop 94] VI[aifsn 2 cwmin 2 cwmax 3 txop 47]>
> VEN<dd07000b8601040812>
> Schueler         48:4a:e9:fd:dd:d3  124   54M  -90:-96   100 EP
>  SSID<Schueler> RATES<B24,B48,72,96,108> DSPARMS<124> TIM<050400010000>
> RSN<v1 mc:AES-CCMP uc:AES-CCMP km:8021X-UNSPEC> HTCAP<cap 0x9ef param 0x1=
b
> mcsset[0-31] extcap 0x0 txbf 0x0 antenna 0x0> HTINFO<ctl 124, 5,0,0,0
> basicmcs[]> ???<7f080400080000000040> VHTCAP<cap 0x338b79b1 rx_mcs_map
> 0xffaa rx_highest 0 tx_mcs_map 0xffaa tx_highest 0> VHTOPMODE<chw 1
> freq1_idx 122 freq2_idx 0 basic_mcs_set 0x0000> WME<qosinfo 0x8c BE[aifsn=
 3
> cwmin 4 cwmax 10 txop 0] BK[aifsn 7 cwmin 4 cwmax 10 txop 0] VO[aifsn 2
> cwmin 3 cwmax 4 txop 94] VI[aifsn 2 cwmin 2 cwmax 3 txop 47]>
> VEN<dd07000b8601040812>
> Schueler         48:4a:e9:6f:40:c3   11   54M  -92:-96   100 EPS
> SSID<Schueler> RATES<B24,B48,72,96,108> DSPARMS<11> ERP<0x0> RSN<v1
> mc:AES-CCMP uc:AES-CCMP km:8021X-UNSPEC> HTCAP<cap 0x1ad param 0x17
> mcsset[0-15] extcap 0x0 txbf 0x0 antenna 0x0> HTINFO<ctl 11, 0,0,0,0
> basicmcs[]> ???<7f080400080000000040> WME<qosinfo 0x81 BE[aifsn 3 cwmin 4
> cwmax 10 txop 0] BK[aifsn 7 cwmin 4 cwmax 10 txop 0] VO[aifsn 2 cwmin 3
> cwmax 4 txop 94] VI[aifsn 2 cwmin 2 cwmax 3 txop 47]>
> Schueler         e8:26:89:45:38:23    1   54M  -85:-96   100 EPS
> SSID<Schueler> RATES<B24,B48,72,96,108> DSPARMS<1> ERP<0x0> RSN<v1
> mc:AES-CCMP uc:AES-CCMP km:8021X-UNSPEC> HTCAP<cap 0x1ad param 0x17
> mcsset[0-15] extcap 0x0 txbf 0x0 antenna 0x0> HTINFO<ctl 1, 0,0,0,0
> basicmcs[]> ???<7f080400080000000040> WME<qosinfo 0x81 BE[aifsn 3 cwmin 4
> cwmax 10 txop 0] BK[aifsn 7 cwmin 4 cwmax 10 txop 0] VO[aifsn 2 cwmin 3
> cwmax 4 txop 94] VI[aifsn 2 cwmin 2 cwmax 3 txop 47]>
> Schueler         48:4a:e9:6d:b8:c3    1   54M  -91:-96   100 EPS
> SSID<Schueler> RATES<B24,B48,72,96,108> DSPARMS<1> ERP<0x0> RSN<v1
> mc:AES-CCMP uc:AES-CCMP km:8021X-UNSPEC> HTCAP<cap 0x1ad param 0x17
> mcsset[0-15] extcap 0x0 txbf 0x0 antenna 0x0> HTINFO<ctl 1, 0,0,0,0
> basicmcs[]> ???<7f080400080000000040> WME<qosinfo 0x80 BE[aifsn 3 cwmin 4
> cwmax 10 txop 0] BK[aifsn 7 cwmin 4 cwmax 10 txop 0] VO[aifsn 2 cwmin 3
> cwmax 4 txop 94] VI[aifsn 2 cwmin 2 cwmax 3 txop 47]>
>
> Has someone an idea how to make a wpa_supplicant.conf entry for this
> SSID?
>
> Thanks
>
> matthias
>
> --
> Matthias Apitz, =E2=9C=89 guru@unixarea.de, http://www.unixarea.de/
> +49-176-38902045
> Public GnuPG key: http://www.unixarea.de/key.pub
> =D0=91=D0=B5=D0=B7 =D0=BA=D0=BD=D0=B8=D0=B3=D0=B8 =D0=BD=D0=B5=D1=82 =D0=
=B7=D0=BD=D0=B0=D0=BD=D0=B8=D1=8F, =D0=B1=D0=B5=D0=B7 =D0=B7=D0=BD=D0=B0=D0=
=BD=D0=B8=D1=8F =D0=BD=D0=B5=D1=82 =D0=BA=D0=BE=D0=BC=D0=BC=D1=83=D0=BD=D0=
=B8=D0=B7=D0=BC=D0=B0 (=D0=92=D0=BBa=D0=B4=D0=B8=D0=BC=D0=B8=D1=80 =D0=98=
=D0=BB=D1=8C=D0=B8=D1=87 =D0=9B=D0=B5=D0=BD=D0=B8=D0=BD)
> Without books no knowledge - without knowledge no communism (Vladimir
> Ilyich Lenin)
> Sin libros no hay saber - sin saber no hay comunismo. (Vladimir Ilich
> Lenin)
> _______________________________________________
> freebsd-wireless@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.or=
g
> "
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF104kOqXi00ycQoiJbYJFmSFgXPyv2_ykRMVDTBYajgOKtMLg>