Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
services:wifi:lin:linux [2011/05/25 13:54] marina |
services:wifi:lin:linux [2011/05/27 12:24] 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 installed, using the command:\\ | + | If, as a 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>\\ | ||
Line 36: | Line 34: | ||
** ifconfig //eth1// up**\\ | ** ifconfig //eth1// up**\\ | ||
\\ | \\ | ||
- | c) Check your wireless network interface card status typing the command:\\ | + | c) Check your wireless network interface card status using the command:\\ |
**ifconfig //eth1//**\\ | **ifconfig //eth1//**\\ | ||
- | In the second line output, you should see **UP** before BROADCAST. | + | In the second line output you should see **UP** before BROADCAST. |
\\ | \\ | ||
\\ | \\ | ||
Line 65: | 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 ** \\ | ||
\\ | \\ | ||
Line 84: | Line 82: | ||
EAP state=SUCCESS | EAP state=SUCCESS | ||
</code> | </code> | ||
- | h) Maintain the wpa_cli program active (do not close this window) untill you wish to keep on SISSA-WiFi connection. | + | h) Maintain the wpa_cli program active (do not close this window) until you wish to close the SISSA-WiFi connection. |
\\ | \\ | ||
\\ | \\ | ||
- | 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:\\ | + | 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:\\ |
**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) |