![]() | Security in Wireless Networks |
|---|---|
Be sure to use one of the supported authentication and encryption methods to protect your network traffic. Unencrypted WLAN connections allow third parties to intercept all network data. Even a weak encryption (WEP) is better than none at all. Refer to Section 32.4, “Encryption” and Section 32.7.2, “Security” for information. | |
A WLAN card is usually detected during the installation. In case you need to configure it later, do the following:
Start YaST as user root.
Select + in the YaST control center. The Network Settings dialog opens. If your network is currently controlled by NetworkManager, it can not be edited by YaST and you see a warning message. Click and the tab appears. Select to enable editing with YaST.
Switch to the tab where all network cards that have been detected by the system are listed. If you need more information about general network configuration, refer to Section 21.4, “Configuring a Network Connection with YaST”.
Choose your wireless card from the list and click to open the dialog.
Configure whether to use a dynamic or a static IP address under the tab . Usually is fine.
Click to proceed to the dialog.
Configure operating mode, network name (ESSID), and authentication mode:
Choose the .
A station can be integrated in a WLAN in three different modes. The suitable mode depends on the network in which to communicate: (peer-to-peer network without access point), (network is managed by an access point), or (your network card should be used as the access point). To use any of the WPA-PSK or WPA-EAP modes, the operating mode must be set to .
Select a .
All stations in a wireless network need the same ESSID for communicating with each other. If nothing is specified, the card may automatically selects an access point, which may not be the one you intended to use. Use for a list of available wireless networks.
Select an .
Select a suitable authentication method for your network: (not preferable), , , , or . If you select WPA authentication, a network name (ESSID) must be set. WEP and WPA-PSK authentication methods require to input a key. The key has to be entered as either a , as an string, or string. You have the following options for your key input type:
Either enter the default key here or click to enter the advanced key configuration dialog. Set the length of the key to or . The default setting is . In the list area at the bottom of the dialog, up to four different keys can be specified for your station to use for the encryption. Press to define one of them as the default key. Unless you change this, YaST uses the first entered key as the default key. If the standard key is deleted, one of the other keys must be marked manually as the default key. Click to modify existing list entries or create new keys. In this case, a pop-up window prompts you to select an input type (, , or ). If you select , enter a word or a character string from which a key is generated according to the length previously specified. requests an input of 5 characters for a 64-bit key and 13 characters for a 128-bit key. For , enter 10 characters for a 64-bit key or 26 characters for a 128-bit key in hexadecimal notation.
To enter a key for WPA-PSK, select the input method or . In the mode, the input must be 8 to 63 characters. In the mode, enter 64 characters.
If you need detailed configuration of your WLAN connection, use the button. Usually there should be no need to change the preconfigured settings. You have the following options:
The specification of a channel on which the WLAN station should work is only needed in and modes. In mode, the card automatically searches the available channels for access points. In mode, select one of the offered channels (11 to 14, depending on your country) for the communication of your station with the other stations. In mode, determine on which channel your card should offer access point functionality. The default setting for this option is .
Depending on the performance of your network, you may want to set a certain bit rate for the transmission from one point to another. In the default setting , the system tries to use the highest possible data transmission rate. Some WLAN cards do not support the setting of bit rates.
In an environment with several access points, one of them can be preselected by specifying the MAC address.
When you are on the road, use power saving technologies to maximize the operating time of your battery. Using power management may affect the connection quality and increase the network latency.
Click and finish with .
If you have chosen WPA-EAP authentication, another configuration step is needed before your station is ready for deployment in the WLAN.
Enter the credentials you have been given by your network
administrator. For TLS, provide ,
, ,
and . TTLS and PEAP require
and .
and are optional. YaST searches for any certificate
under /etc/cert. Therefore, save the
certificates given to you to this location and restrict access to
these files to 0600 (owner read and write).
Click to enter the advanced authentication dialog for your WPA-EAP setup.
Select the authentication method for the second stage of EAP-TTLS or
EAP-PEAP communication. If you selected TTLS in the previous dialog,
choose any, MD5,
GTC, CHAP,
PAP, MSCHAPv1, or
MSCHAPv2. If you selected PEAP, choose
any, MD5,
GTC, or MSCHAPv2. can be used to force the use of a certain PEAP
implementation if the automatically-determined setting does not work
for you.
In some cases it is useful to connect two computers equipped with a WLAN card. To establish an ad-hoc network with YaST, do the following:
Perform Step 1 to Step 4 as described in Section 32.5, “Configuration with YaST”.
Choose and enter the following data:
:
192.168.1.1.
Change this address on the second computer to
192.168.1.2, for
example.
:
/24
: Choose any name you like.
Proceed with .
Configure your operating mode, network name (ESSID), and authentication mode:
Choose from the popup menu the entry .
Choose a . This can be any name, but it has to be used on every computer.
Choose from the entry .
Click and finish with .
If you do not have smpppd
installed, YaST asks you to do so.