Difference between revisions of "Configuring Fedora Linux Wireless Networking"

From Techotopia
Jump to: navigation, search
(Configuring a Fedora Linux Wireless Connection)
(Configuring a Fedora Linux Wireless Connection)
Line 27: Line 27:
 
[[Image:fedora_wireless_ip_settings.jpg]]
 
[[Image:fedora_wireless_ip_settings.jpg]]
  
Unless you are on a netwrokm where IP addresses are not assigned automatically using DHCP, leave the ''Automtically optain IP address using DHCP'' setting. Otherwise, manually enter the IP settings for your network. And click ''Forward''. Check the setting in the confirmation screen top ensure they are correct and prss ''Apply'' to add the wireless device to your network configuration.
+
Unless you are on a netwrok where IP addresses are not assigned automatically using DHCP, leave the ''Automtically optain IP address using DHCP'' setting unchnaged. Otherwise, manually enter the IP settings for your network. And click ''Forward''. Check the setting in the confirmation screen top ensure they are correct and press ''Apply'' to add the wireless device to your network configuration.
  
 
== Checking for a Wireless Connection ==
 
== Checking for a Wireless Connection ==

Revision as of 17:39, 27 August 2007

Over recent years it has become increasingly common for computers to be connected to local area networks and the internet via wireless connections. This has spread from the home and the coffee shop into the enterprise, especially with the advent of increased wireless security and faster standards such as wireless N. Configuring wireless network access on many Linux distributions is still a somewhat complex proposition. Fedora Linux, however, makes this task extremely easy.


Contents


Installing the Wireless Card

If you are installing a wireless card into system which is already running Fedora Linux, the first step is to install the new hardware device. If the device is an internal card, shut the machine down and install the card. If the device is a laptop PC card or a USB wireless adapter this can be installed without the necessity to shut down the system.

Once the wireless device is installed, the next step is to configure it.

Configuring a Fedora Linux Wireless Connection

The wireless device is configured using the Network Configuration tool. This tool may be launched using the System->Administration->Network desktop menu, or from a Terminal window by running:

system-config-network

Once the root password has been entered, the tool should appear as follows:

Fedora network configuration.jpg

In the above screenshot, only the wired network device is listed. If Fedora has already detected your wireless device, press the Edit button in the toolbar to configure the device (detailed below). If the wirless device is not yet listed, click on the Add button button in the toolbar, select Wireless Connection from the Select Device Type screen and press Forward. The resulting screen will list any detected wireless devices. If your device is listed, select it and press Forward. If your device is not listed, first check that it is correctly installed and then use the Other Wireless Card option to manually select the device manufacturer, model and settings. After clicking forward, the Configure Wireless Connection screen will appear as follows:

Fedora wireless configuration.jpg

Select Managed Mode if you are connecting to a wireless base station, or Ad-hoc mode if you have a group of computers that are connecting to each other directly without a base station. Select the Channel used by the base station or other computers, and finally, enter the WEP encryption code if your network requires one. Click Forward to continue to the next screen:

Fedora wireless ip settings.jpg

Unless you are on a netwrok where IP addresses are not assigned automatically using DHCP, leave the Automtically optain IP address using DHCP setting unchnaged. Otherwise, manually enter the IP settings for your network. And click Forward. Check the setting in the confirmation screen top ensure they are correct and press Apply to add the wireless device to your network configuration.


Checking for a Wireless Connection

If you are on an open wireless network (i.e it does not use any form of encryption) then it is possible that Ubuntu will automatically locate the network and connect to it. This is because Ubuntu is configured by default with roaming mode enabled. In roaming mode the networking system searches the airwaves for wireless networks it can connect to. If it finds either an open network, or one for which it has the encryption key it will automatically connect. A status indicator in the top right hand corner of the desktop indicates whether or not a network connection is active. The indicator icon shows two computer monitors. If the icon shows a red warning triangle with a white exclamation mark (as below) then there is currently no active connection.

Ubuntu linux network disabled.jpg

Clicking with the left-hand mouse button on the network connection status icon will cause a drop down menu to appear:

Ubuntu linux network menu.jpg

In the above example Ubuntu has located a wireless network called neilandcheryl and shows moderately low signal strength. The small shield icon next to the network name indicates that this is an encrypted network. It is also possible from this drop down menu to connect to other wireless networks, configure a network connection manually or create a new wireless network.

Configuring a Wireless Network Connection

If the above drop down menu lists a wireless network for which you have an encryption key or passphrase simply click on the network name to invoke the Wireless Network Key Required dialog:

Ubuntu wireless key required.jpg

Select the key type (Passphrase, WEP Hex or WEP ASCII) and the authentication type (Shared key). Having made appropriate selections enter the key or passphrase you configured when you set up your wireless base station and click on the Login to Network button. After a short wait the network connection should be activated. If the connection fails go back and check that you entered the correct settings for the encryption key or passphrase or try using the Network Settings Dialog described below.

Using the Ubuntu Linux Network Settings Dialog

A more advanced network configuration tool is accessible by selecting the System menu at the top of the desktop, choosing Administration and the clicking on Network. The Network Settings dialog lists wired, wireless and modem connections. If no Wireless Connection is shown in the list, check that you have a wireless adaptor card installed into your system. Assuming you have a wireless adaptor installed your Network Settings dialog should appear as follows:

Ubuntu linux network settings.jpg

To configure a wireless network connection, select the Wireless connection entry from the Network Settings list and click on the Properties button. The following dialog will then appear:

Ubuntu linux auth settings.jpg

If the Enable roaming mode toggle is set, uncheck it to gain access to the configuration fields below.

Select the appropriate Network name (ESSID) from the drop down list. If no networks are listed it may be that you are not in range of a wireless network. After choosing a wireless network, select the password type and enter the authentication key required for access to the chosen wireless network.

If your wireless base station is configured to provide IP addresses using DHCP (the most common configuration) then leave this setting unchanged. In the unlikely event that you are required to manually enter network configuration information change this setting to Static IP address and enter your IP address, subnet mask and gateway address. If you are unsure as to what these values are check with your network administrator.

All being well your Ubuntu Linux system should now be connected to your wireless network.