To surf the Internet or send and receive e-mail messages, you must have configured an Internet connection with YaST. Depending on your environment, in YaST select whether to use NetworkManager. In KDE, you can then establish Internet connections with NetworkManager or KInternet.
For a list of criteria that help you decide whether to use NetworkManager, refer to Section “Managing Network Connections with NetworkManager” (Chapter 30, Basic Networking, ↑Deployment Guide) and Section “Integration in Changing Operating Environments” (Chapter 25, Mobile Computing with Linux, ↑Deployment Guide).
The NetworkManager applet should start automatically with the desktop environment. The applet is then shown as an icon in the system tray. Using the applet, choose a network to use explicitly at any time. Such a choice takes precedence over automatically selected networks. The chosen network is used as long as it is available. If it becomes unaccessible, NetworkManager automatically tries to connect to another available network.
If KNetworkManager is not running, start it with the command knetworkmanager. When it is running, an icon indicating the current network status is shown in the system tray. Depending on the state of the network connection, the panel icon changes appearance:
A wired connection has been established.
Currently there is no connection to the Internet.
A wireless connection has been established. Blue bars show the strength of the signal. More blue bars means better signal strength.
A connection is being established or terminated.
Right-clicking the icon opens the KNetworkManager menu with various options for managing network connections. See Figure 13.1, “Available Networks in the KNetworkManager Applet”. The menu contains available network connections for both wired and wireless devices. If you hold the mouse cursor over them, details about the connection are displayed. The currently used connection is checked in the menu.
The signal strength of wireless networks is shown in the menu. Encrypted wireless networks are marked with a lock icon. To connect to an encrypted network, choose it from the menu. In the dialog that opens, choose the type of the network uses and enter the appropriate or .
![]() | Hidden Networks |
|---|---|
To connect to a network that does not broadcast its ESSID (Service Set Identifier) and therefore cannot be detected automatically, choose . In the dialog that opens, enter the ESSID and set encryption parameters if necessary. | |
To see all trusted and untrusted networks, click +.
To access dial-up connections, choose . When dial-up connections have already been defined, start the connection by clicking the connection to use. opens YaST, where you can define a new dial-up connection. See Section “Modem” (Chapter 30, Basic Networking, ↑Deployment Guide) for details.
NetworkManager supports several VPN technologies. To use them, first install NetworkManager support for your VPN technology. You can select from:
NovellVPN
OpenVPN
vpnc (Cisco)
VPN support is included in the packages
NetworkManager-novellvpn,
NetworkManager-openvpn,
and NetworkManager-vpnc.
To configure a new VPN connection with KNetworkManager, left-click the KNetworkManager applet and follow these steps:
Choose +.
Press and to start a configuration wizard.
In the next dialog, choose the type of VPN connection to create.
Name your configuration in .
Insert all required information for your type of connection. For example, for an OpenVPN connection enter and choose the way to authenticate from . Complete the other required options depending on the connection chosen.
Alternatively, load settings from a saved configuration file by pressing and choosing your saved configuration file in a standard file dialog.
Press .
After the VPN is configured, you can select it from . To close a VPN connection, click .
NetworkManager distinguishes two types of wireless connections, trusted and untrusted. A trusted connection is any network that you explicitly selected in the past. All others are untrusted. Trusted connections are identified by the name and MAC address of the access point. Using the MAC address ensures that you cannot use a different access point with the name of your trusted connection.
If no wired connection is available, NetworkManager scans for available wireless networks. If multiple trusted networks are found, the most recently used is automatically selected. If all are untrusted, NetworkManager waits for your selection.
If the encryption setting changes but the name and MAC address remain the same, NetworkManager attempts to connect, but it first asks you to confirm the new encryption settings and provide any updates, such as a new key.
In a system with a wireless connection only, NetworkManager does not automatically start the connection during boot. You must log in first to establish a connection. To make a wireless connection accessible without login, configure the trusted connection with YaST (see Section “Configuration with YaST” (Chapter 29, Wireless Communication, ↑Deployment Guide) for instructions). Only wireless connections configured with YaST are sufficiently credible for NetworkManager to use them during boot.
If you switch to offline mode from using a wireless connection, NetworkManager blanks the ESSID. This ensures that the card is really unassociated.
If you are on an airplane or in any other environment where wireless networking is not allowed, you can switch it off easily using the KNetworkManager applet. You can also switch off all network connections, both wired and wireless.
To switch off wireless networking in the KDE desktop, right-click the KNetworkManager applet then select +. To switch wireless networking on again, right-click the KNetworkManager applet then select +.
To switch off all networking in the KDE desktop, right-click the KNetworkManager applet then select +. To switch all networking on again, right-click the KNetworkManager applet then select +.
If you do not use NetworkManager but do use KDE, manage your Internet connections
with KInternet. If KInternet is not installed by default, install the
package kinternet with YaST.
The program checks whether an Internet connection can be established. If
this is possible, the KInternet icon, a plug, automatically appears in the
right section of the KDE panel. Depending on the state of the network
connection, the panel icon changes appearance:
Currently there is no connection to the Internet.
The connection is being established or terminated.
The connection has been established.
Data is being transmitted to or from the Internet.
An error has occurred. If a connection has already been configured with YaST, use to identify the reason for the error. Access the menu by right-clicking the KInternet icon.
The connection is not yet active, but will be established as soon as a request is made.
Right-click the KInternet panel icon to access its configuration menu.
Start the YaST configuration dialog with +. After entering the root password, YaST starts.
Depending on the access type, start the modem, ISDN, network, or DSL
configuration of YaST.
If you are using an ISDN connection and selected in YaST, add a second ISDN channel to an existing connection with . This doubles the transfer rate (although at a higher price). Activate channel bundling if you need to download large files. The activated channel bundling is evident from the red plus symbol at the top left corner of the KInternet icon.
If your computer has more than one network device and you have configured all of them with YaST, use the KInternet option to switch between these interfaces. You must have selected device activation in the appropriate YaST network dialog to do this. If you have multiple providers as well, choose them using in KInternet. Providers are also set in YaST.
To establish Internet connections automatically, use dial on demand (DoD). If this mode is selected, KInternet automatically connects to your Internet service provider (ISP) as soon as a request is submitted. After a certain time-out, the connection is terminated. A DoD connection is evident from the blue D at the bottom right corner of the KInternet icon.
![]() | Cost Control |
|---|---|
Note that DoD only makes sense if you have a flat rate Internet account. If that is not the case, connecting and disconnecting all the time can become very costly. | |
To use a wireless network card as your connection to the Internet, configure it using YaST as described in Reference and make sure that the device activation in YaST is set to . As soon as the interface is configured, you can use KInternet to control your wireless network connection.
To access the WLAN functionality of KInternet, right-click the icon to open the menu. Select to open a window with two tabs. First, scan for suitable wireless networks to which to connect. Select the tab and start the scan with . For KInternet to continuously scan the network environment, also select . Activate acoustic feedback for each connection found with . Any connection found is displayed in the list window. Select one and click to connect to the selected network. If additional configuration efforts are needed to connect to the selected network, click to launch the YaST network module for wireless network devices.
With the tab, monitor the state of your current wireless connection. The left-hand view of this tab offers a summary of all connection parameters for network address and ESSID, signal quality, signal and noise level, channel frequency and speed, and encryption parameters, such as type of encryption and key length. Select any of these parameters in the tree structure to see the details displayed in the right part of the window.
Connection problems can occur. Methods for resolving and preventing these problems depend on the tool used.
Some common problems related to KNetworkManager include the applet not starting, a missing VPN option, and issues with SCPM.
The KNetworkManager applet should start automatically if the network is set up for
NetworkManager control. If the applet does not start, first make sure
that the package NetworkManager-kde
is installed.
If the desktop applet is installed but is not running for some reason (perhaps you quit it accidentally), start it manually. To start the applet manually, run knetworkmanager from a command prompt.
NetworkManager, applets, and VPN support for NetworkManager are distributed in separate packages. If your NetworkManager applet does not include the VPN option, check if the package with NetworkManager support for your VPN technology is installed.
VPN support is included in following packages:
NovellVPN—package
NetworkManager-novellvpn
OpenVPN—package
NetworkManager-openvpn
vpnc (Cisco)—package
NetworkManager-vpns
You are probably using SCPM together with NetworkManager. NetworkManager is not currently able to work with SCPM profiles. Do not use NetworkManager together with SCPM when SCPM profiles also change network settings. To use SCPM and NetworkManager at the same time, disable the network resource in SCPM configuration.
Problems related to KInternet include the applet not starting or not all devices appearing.
If KInternet does not start automatically, first make sure
that the package kinternet is
installed.
If KInternet is installed but is not running for some reason,
you can start it manually. To start it manually,
run kinternet from a command prompt.
Only configured modems are visible in KInternet by default. To enable other network interfaces in KInternet, enable device activation in the appropriate YaST network dialog.