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={
   ssid="UniversitySSID"
   identity="MyLogin"
   password="MyPassword"
   key_mgmt=WPA-EAP
   eap=TTLS
   phase2="auth=MSCHAPV2"
   }

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, à 02 h 02, Matthias Apitz <g...@unixarea.de> a écrit :

>
> 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<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 0x1b
> 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 0x1b
> 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 0x1b
> 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, ✉ g...@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)
> _______________________________________________
> freebsd-wireless@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org
> "
>
_______________________________________________
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Reply via email to