Differences

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

Link to this comparison view

Next revision
Previous revision
services:wifi:lin:linux [2011/05/25 13:48]
marina created
services:wifi:lin:linux [2011/05/27 12:24] (current)
aprain
Line 1: Line 1:
-====== ​ Linux configuration guide ======+======  ​SISSA-WiFi ​Linux configuration guide ======
  
 Configuration guide to the **SISSA-WiFi** Wireless Network, using the default tools and drivers of generic Linux distribution.\\ Configuration guide to the **SISSA-WiFi** Wireless Network, using the default tools and drivers of generic Linux distribution.\\
Line 7: Line 7:
 \\ \\
 a) Operating as **root**, open a terminal window;\\ a) Operating as **root**, open a terminal window;\\
-stop the network-manager service typing the command: ​\\ +  * stop the network-manager service ​by typing the command: **service network-manager stop** 
-**service network-manager stop**\\ +  ​* ​and verify that your wireless network interface card is properly installed using the command: **iwconfig** 
-and verify that your wireless network interface card is properly installedusing the command:\\ +Ifas result of the previous command" no wireless extensions " ​are available, you need to install the driver for your wireless card before continuing with this guide.\\ 
-**iwconfig**\\ +Otherwise ​you should ​see complete information about your wireless network interface card. In the following example the wireless network interface card is // eth1//, but yours could be //wlan0, ath0//... \\
-If as the result of the previous command ​are present only " no wireless extensions ", you have to install the driver for your wireless card before continuing with this guide.\\ +
-If on the contrary, ​you can see complete information about your wireless network interface card. In the following example the wireless network interface card is // eth1//, but yours could be //wlan0, ath0//... \\+
  
-**Please note:** <color teal>in this guide in the examples it is always used </​color>​** //<color teal>​eth1</​color>//​** <color teal>as wireless network interface card.</​color>​+**Please note:** <color teal>in this guide in the examples it is always used </​color>​** //<color teal>​eth1</​color>//​** <color teal>as wireless network interface card.</​color>​\\
 \\ \\
-\\ +Example ​of **iwconfig** command output:
-example ​of **iwconfig** command output:+
 <​xterm>​ <​xterm>​
-// 
 lo        no wireless extensions. lo        no wireless extensions.
  
Line 33: Line 29:
           Rx invalid nwid:​0 ​ Rx invalid crypt:​0 ​ Rx invalid frag:0           Rx invalid nwid:​0 ​ Rx invalid crypt:​0 ​ Rx invalid frag:0
           Tx excessive retries:​0 ​ Invalid misc:​1 ​  ​Missed beacon:0           Tx excessive retries:​0 ​ Invalid misc:​1 ​  ​Missed beacon:0
-// 
 </​xterm>​ </​xterm>​
-\\ +
-\\+
 b) Activate your wireless network interface card, type the command:\\ b) Activate your wireless network interface card, type the command:\\
 ** ifconfig //eth1// up**\\ ** ifconfig //eth1// up**\\
 \\ \\
-\\ +c) Check your wireless network interface card status ​using the command:\\
-c) Check your wireless network interface card status ​typing ​the command:\\+
 **ifconfig //​eth1//​**\\ **ifconfig //​eth1//​**\\
-In the second line outputyou should see **UP** before BROADCAST.+In the second line output you should see **UP** before BROADCAST.
 \\ \\
 \\ \\
Line 49: Line 42:
 **iwlist //eth1// scan**\\ **iwlist //eth1// scan**\\
 If you are in a SISSA access point range, you will be able to see a line with: **ESSID: " SISSA-WiFi " **\\ If you are in a SISSA access point range, you will be able to see a line with: **ESSID: " SISSA-WiFi " **\\
-\\ 
 \\ \\
 e) Using your preferred text editor, create the **/​etc/​wpa_supplicant/​SISSA-WiFi.wpa_supplicant.conf** ​ configuration file and insert the following lines:\\ e) Using your preferred text editor, create the **/​etc/​wpa_supplicant/​SISSA-WiFi.wpa_supplicant.conf** ​ configuration file and insert the following lines:\\
Line 71: Line 63:
 </​xterm>​ </​xterm>​
  
-Please note: insert //**your SISSA username**//​ and //**your SISSA password**// ​(the same of your SISSA webmail) ​in the //​identity//​ and //​password//​ fields.\\+Please note: insert //**your SISSA username**//​ and //**your SISSA password**//​ in the //​identity//​ and //​password//​ fields.\\
 \\ \\
-\\ + 
-f) Run the following command in order to activate the wpa_supplicant daemon:\\+f) Run the following command in order to activate the wpa_supplicant daemon ​(please note there in a " -i " after wpa_supplicant):\\
 **wpa_supplicant -i //eth1// -c /​etc/​wpa_supplicant/​SISSA-WiFi.wpa_supplicant.conf ** \\ **wpa_supplicant -i //eth1// -c /​etc/​wpa_supplicant/​SISSA-WiFi.wpa_supplicant.conf ** \\
 \\ \\
-\\+
 g) OPEN A NEW TERMINAL WINDOW. To check the correct status of wpa_supplicant daemon, run the following commands:\\ g) OPEN A NEW TERMINAL WINDOW. To check the correct status of wpa_supplicant daemon, run the following commands:\\
 **wpa_cli**\\ **wpa_cli**\\
Line 90: Line 82:
 EAP state=SUCCESS EAP state=SUCCESS
 </​code>​ </​code>​
 +h) Maintain the wpa_cli program active (do not close this window) until you wish to close the SISSA-WiFi connection.
 \\ \\
 \\ \\
-h) Maintain the wpa_cli program active (do not close this window) untill you wish to keep on SISSA-WiFi connection. +i) OPEN ANOTHER TERMINAL WINDOW. If all the paramenters are correct, you have to configure, if necessary, upper layer TCP/IP protocol DHCP to lease a dynamic ​IP address using the command:\\
-\\ +
-\\ +
-i) OPEN ANOTHER TERMINAL WINDOW. If all the paramenters are corrects, you have to configure, if necessary, upper layer TCP/IP protocol DHCP to lease a dinamic ​IP address using the command:\\+
 **dhclient //​eth1//​**\\ **dhclient //​eth1//​**\\
-Now you will be able to use SISSA-WiFi wireless connection. ​\\ +Now you will be able to use the SISSA-WiFi wireless connection. \\
-\\+
 \\ \\
 l)  l) 
Line 105: Line 94:
 then in the terminal window// where wpa_cli program is active//, type: then in the terminal window// where wpa_cli program is active//, type:
 **logoff** **logoff**
-\\+
 \\ \\