Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
services:network:internal:portauth:linux:info-linux [2010/03/12 11:51]
delise
services:network:internal:portauth:linux:info-linux [2011/05/02 11:59] (current)
marina
Line 1: Line 1:
 ====== Linux configuration guide ====== ====== Linux configuration guide ======
  
-Configuration guide for the SISSA Wired Network (dot1x authentication),​ using  **wpa_supplicant**\\ +Configuration guide for the SISSA Wired Network (dot1x authentication),​ using  **wpa_supplicant**.\\ 
-This setting should be done only when a port authentication is required: +
-{{page>:​services:​network:​internal:​portauth:​place-list}}+
 \\ \\
 a) With your preferred text editor create the **/​etc/​wpa_supplicant/​SISSA-WIRED.wpa_supplicant.conf** ​ configuration file a) With your preferred text editor create the **/​etc/​wpa_supplicant/​SISSA-WIRED.wpa_supplicant.conf** ​ configuration file
Line 16: Line 15:
         eap=PEAP         eap=PEAP
         phase2="​auth=MSCHAPV2"​         phase2="​auth=MSCHAPV2"​
-        identity="​**//​yourusername//​**"​ +        identity="​**//​yourSISSAusername//​**"​ 
-        password="​**//​yourpassword//**"+        password="​**//​yourSISSApassword//**"
         eapol_flags=0         eapol_flags=0
 } }
 </​xterm>​ </​xterm>​
  
-Insert ​your //**yourusername**// and //**yourpassword**// (the same of your SISSA webmail) in the //​identity//​ and //​password//​ fields.\\+Insert //**your SISSA username**// and //**your SISSA password**// (the same of your SISSA webmail) in the //​identity//​ and //​password//​ fields.\\
 \\ \\
 b) Dependig on your distribution you have to continue in different ways.\\ b) Dependig on your distribution you have to continue in different ways.\\
-If you click on __your ​laptop OS distribution ​name__ ​in the following lines, \\ +If you click on //​your ​laptop OS distribution ​name// ​in the following lines, \\ 
-you will be "​placed"​ at the beginning of specific instruction.+you will be " placed " at the beginning of specific instruction.
  
 **[[#​Generic Linux distribution]]**\\ **[[#​Generic Linux distribution]]**\\
Line 36: Line 35:
  
 ====Generic Linux distribution ==== ====Generic Linux distribution ====
-**<​color ​DarkSlateGray>GL-a) </​color>​** Run the following command in order to activate the wpa_supplicant daemon:\\+**<​color ​teal>GL-a) </​color>​** Run the following command in order to activate the wpa_supplicant daemon:\\
  
 **wpa_supplicant -c /​etc/​wpa_supplicant/​SISSA-WIRED.wpa_supplicant.conf -i eth0 -D wired -B** \\ **wpa_supplicant -c /​etc/​wpa_supplicant/​SISSA-WIRED.wpa_supplicant.conf -i eth0 -D wired -B** \\
 \\ \\
-**<​color ​DarkSlateGray>GL-b) </​color>​** To check the correct status of wpa_supplicant daemon, run the following commands:\\+**<​color ​teal>GL-b) </​color>​** To check the correct status of wpa_supplicant daemon, run the following commands:\\
 **wpa_cli**\\ **wpa_cli**\\
 ....... then\\ ....... then\\
Line 51: Line 50:
 </​code>​ </​code>​
 \\ \\
-**<​color ​DarkSlateGray>GL-c) </​color>​** ​ Open another terminal and start network service:\\+**<​color ​teal>GL-c) </​color>​** ​ Open another terminal and start network service:\\
  
 **ifup eth0**\\ **ifup eth0**\\
  
 \\ \\
-**<​color ​DarkSlateGray>​GL-d) ​ </​color>​** ​ Use again the **wpa_cli** command and check its result;\\+**<​color ​teal>​GL-d) ​ </​color>​** ​ Use again the **wpa_cli** command and check its result;\\
 the last line should be the following:​\\ the last line should be the following:​\\
 <​code>​ <​code>​
Line 68: Line 67:
 ==== Ubuntu/​Debian based distributions ==== ==== Ubuntu/​Debian based distributions ====
 **<color Maroon>​U&​D-a) ​ </​color>​** Using a text editor add the following lines at the end of the file:  **<color Maroon>​U&​D-a) ​ </​color>​** Using a text editor add the following lines at the end of the file: 
-//**/​etc/​network/​interfaces**//+**/​etc/​network/​interfaces**
 <​code>​ <​code>​
 auto eth0 auto eth0
Line 82: Line 81:
 ---- ----
 ==== Fedora/​RedHat distributions ==== ==== Fedora/​RedHat distributions ====
-**<​color ​indigo>​F&​RH-a) ​ </​color>​** Edit the file// **/​etc/​sysconfig/​wpa_supplicant**//, then modify the value of the following parameters:​\\+**<​color ​purple>​F&​RH-a) ​ </​color>​** Edit the file **/​etc/​sysconfig/​wpa_supplicant**,​ then modify the value of the following parameters:​\\
  
 <​code>​ <​code>​
Line 92: Line 91:
 {{:​services:​network:​internal:​portauth:​linux:​dot1xlinux10gen.jpg|Modify carefully the value of the parameters...}}\\ {{:​services:​network:​internal:​portauth:​linux:​dot1xlinux10gen.jpg|Modify carefully the value of the parameters...}}\\
 \\ \\
-**<​color ​indigo>​F&​RH-b) ​ </​color>​** Enable the wpa_supplicant daemon and the network service:\\+**<​color ​purple>​F&​RH-b) ​ </​color>​** Enable the wpa_supplicant daemon and the network service:\\
 **service wpa_supplicant start**\\ **service wpa_supplicant start**\\
 **service network start**\\ **service network start**\\
Line 98: Line 97:
 {{:​services:​network:​internal:​portauth:​linux:​dot1xlinux11gen.jpg|Enable the services in the correct order.}}\\ {{:​services:​network:​internal:​portauth:​linux:​dot1xlinux11gen.jpg|Enable the services in the correct order.}}\\
 \\ \\
-END OF Fedora/​RedHat based distribution ​CONFIGURATION GUIDE+END OF Fedora/​RedHat based distribution ​configuration guide
 ---- ----
 ---- ----