Size: 1887
Comment:
|
Size: 2489
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
cd /etc/ssl/certs/ wget http://www.ca.niif.hu/Certificates/niif_ca_root_x509.pem ln -sf niif_ca_root_x509.pem `openssl x509 -hash -noout -in niif_ca_root_x509.pem`.0 }}} Addjuk hozzá az /etc/network/interfaces file-hoz a következőt, úgy hogy az eth2 inteface-t helyetesítsük a megfelelő wireless ethernet eszközzel. |
|
Line 10: | Line 17: |
# id_str="niif2" iface niif2 inet dhcp |
# id_str="eduroam" iface eduroam inet dhcp |
Line 14: | Line 21: |
/etc/wpa_supplicant/wpa_supplicant.conf | /etc/wpa_supplicant/wpa_supplicant.conf |
Line 17: | Line 24: |
# access points. Please see | # access points. Please see |
Line 38: | Line 45: |
group=CCMP TKIP | group=CCMP TKIP |
Line 44: | Line 51: |
---- Obsolated ---- === Wireless Eduroam Linux Debian (sid) wpasupplicant === |
Ha nem adjuk meg a jelszót a konfig fájlban, akkor az ifup eth2 után a wpa_cli bekéri tőlünk: |
Line 49: | Line 57: |
cd /etc/ssl/certs/ wget http://www.ca.niif.hu/Certificates/niif_ca_root_x509.pem ln -sf niif_ca_root_x509.pem `openssl x509 -hash -noout -in niif_ca_root_x509.pem`.0 |
# ifup eth2 # wpa_cli wpa_cli v0.5.5 Copyright (c) 2004-2006, Jouni Malinen <jkmaline@cc.hut.fi> and contributors This program is free software. You can distribute it and/or modify it under the terms of the GNU General Public License version 2. Alternatively, this software may be distributed under the terms of the BSD license. See README and COPYING for more details. Selected interface 'eth2' Interactive mode <2>CTRL-REQ-PASSWORD-0:Password needed for SSID eduroam > password 0 jelszó OK > <2>CTRL-EVENT-EAP-SUCCESS EAP authentication completed successfully <2>WPA: Key negotiation completed with 00:19:a9:a7:28:51 [PTK=CCMP GTK=TKIP] <2>CTRL-EVENT-CONNECTED - Connection to 00:19:a9:a7:28:51 completed (auth) [id=0 id_str=eduroam] quit |
Line 53: | Line 81: |
Addjuk hozzá az /etc/network/interfaces file-hoz a következőt, úgy hogy az eth2 inteface-t helyetesítsük a megfelelő wireless ethernet eszközzel. | |
Line 55: | Line 82: |
{{{ auto eth2 iface eth2 inet dhcp wpa-driver wext wpa-ssid eduroam wpa-eap TTLS wpa-identity misi@niif.hu wpa-anonymous_identity anonymous@niif.hu wpa-ca_cert /etc/ssl/certs/niif_ca_root_x509.pem wpa-phase2 auth=PAP wpa-group CCMP TKIP wpa-pairwise CCMP TKIP wpa-key-mgmt WPA-EAP wpa-password jelszo }}} |
A {{{password}}} a parancs, a {{{0}}} a CTRL-REQ-PASSWORD- és a kettőspont közül jött, a jelszó a jelszó. Közben esetleg dzsuvázik a wpa_cli a saját promptjába, ez ne zavarjon bennünket. |
Wireless Eduroam Linux Debian (sid) wpasupplicant
cd /etc/ssl/certs/ wget http://www.ca.niif.hu/Certificates/niif_ca_root_x509.pem ln -sf niif_ca_root_x509.pem openssl x509 -hash -noout -in niif_ca_root_x509.pem.0 }}}
Addjuk hozzá az /etc/network/interfaces file-hoz a következőt, úgy hogy az eth2 inteface-t helyetesítsük a megfelelő wireless ethernet eszközzel.
/etc/network/interfaces
allow-hotplug eth2 iface eth2 inet manual wpa-driver wext wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf # id_str="eduroam" iface eduroam inet dhcp
/etc/wpa_supplicant/wpa_supplicant.conf
# Minimal /etc/wpa_supplicant.conf to associate with open # access points. Please see # /usr/share/doc/wpasupplicant/examples/README.wpa_supplicant.conf.gz # for more complete configuration parameters. # # Also see the other files in /usr/share/doc/wpasupplicant/examples/ for # specific configuration examples. # path to UNIX socket control interface ctrl_interface=/var/run/wpa_supplicant #ap_scan=1 #fast_reauth=1 #WEP104 WEP40 network={ ssid="eduroam" id_str="eduroam" eap=TTLS identity="misi@niif.hu" anonymous_identity="anonymous@niif.hu" ca_cert="/etc/ssl/certs/niif_ca_root_x509.pem" phase2="auth=PAP" group=CCMP TKIP pairwise=CCMP TKIP key_mgmt=WPA-EAP password="jelszó" }
Ha nem adjuk meg a jelszót a konfig fájlban, akkor az ifup eth2 után a wpa_cli bekéri tőlünk:
# ifup eth2 # wpa_cli wpa_cli v0.5.5 Copyright (c) 2004-2006, Jouni Malinen <jkmaline@cc.hut.fi> and contributors This program is free software. You can distribute it and/or modify it under the terms of the GNU General Public License version 2. Alternatively, this software may be distributed under the terms of the BSD license. See README and COPYING for more details. Selected interface 'eth2' Interactive mode <2>CTRL-REQ-PASSWORD-0:Password needed for SSID eduroam > password 0 jelszó OK > <2>CTRL-EVENT-EAP-SUCCESS EAP authentication completed successfully <2>WPA: Key negotiation completed with 00:19:a9:a7:28:51 [PTK=CCMP GTK=TKIP] <2>CTRL-EVENT-CONNECTED - Connection to 00:19:a9:a7:28:51 completed (auth) [id=0 id_str=eduroam] quit
A password a parancs, a 0 a CTRL-REQ-PASSWORD- és a kettőspont közül jött, a jelszó a jelszó. Közben esetleg dzsuvázik a wpa_cli a saját promptjába, ez ne zavarjon bennünket.