By default, your computer is protected by a firewall so as to avoid bad surprises such as intrusions into your system. If you need to open some incoming ports for other people to connect to your computer, you can use DrakFirewall. Please refer to Section 8.3, “Securing your Internet Access via DrakFirewall” for more information.
The drakconnect set of tools allows you to easily configure your network access, whether it be to the Internet or to a local network, while the new Network Center allows you to reconfigure and monitor your network interfaces. Open Mandriva Linux Control Center and select the Network & Internet section to access these tools. A view of the main interface is shown in Figure 4.1, “Network Configuration and Monitoring Tools” . The Internet connection sharing tool is described in Section 4.3, “Sharing an Internet Connection”, the proxy configuration tool is described in Section 4.2, “Proxies Configuration”, and the network profiles tool is described in Section 4.5, “Activating and Managing Network Profiles”.
drakconnect supports different types of Internet and network connections. The first step consists of choosing which type of connection you want to configure. Always make sure you have all the information provided by your ISP or network administrator at hand.
After a connection has been configured, it may be further modified using the Network Center (see Section 4.1.2, “Network Center: Reconfiguring and Monitoring Network Interfaces”).
You now have to specify whether the network parameters are automatically set up (Automatic IP (BOOTP/DHCP)) or not (Manual configuration): fill the next fields with the parameters that your ISP or network administrator gave you. See our example of manual configuration of IP parameters in Figure 4.2, “Setting Static LAN Connection Parameters”.
If you chose the static IP configuration type, you must specify the rest of the parameters, namely the hostname, DNS server IP address(es) and the IP address of the machine giving you access to the Internet, known as the gateway (see Figure 4.2, “Setting Static LAN Connection Parameters”).
If you configure the network with DHCP, you can optionally provide DNS server information (remove the check from the Get DNS servers from DHCP option and fill the corresponding fields with the IP addresses or hostnames of the DNS servers) and the machine's hostname (remove the check from the Assign host name from DHCP address option and fill the corresponding field with the hostname: this is the name which will be assigned to the machine when no network configuration has been found).
WiFi card is not listed, insert the manufacturer's card drivers CD,
then choose the Use a Windows driver (with
ndiswrapper) entry and select the driver (it's a file
whose name ends in
.inf) from the CD.
Remaining configuration is similar to the traditional Ethernet network setup: see Section 220.127.116.11, “Wired Ethernet Connection”.
Check the Allow access point roaming box if you want the connection to automatically switch from one access point to another, depending on its signal strength. This is particularly useful when moving a laptop around.
Managing Connections. Consult Section 4.4, “Managing Wireless Connections (Roaming)” to learn how to configure and manage various wireless networks.
You then see a list of countries/ISPs. If yours is listed, select it: most of the following parameters will be automatically set. If your ISP is not listed, select the Unlisted - edit manually option, click on and fill the parameters with the settings provided by your ISP.
You are then asked whether users can bring the connection up/down and whether or not to bring the connection up at boot: since DSL connections are of the “always up” type, you can safely check the Start connection at boot option. Finally you can test the connection: we strongly recommend you to do so, to make sure all parameters are accurate.
This configuration is very similar to the one described in Section 18.104.22.168, “Wired Ethernet Connection”. Make sure you have all required parameters provided by your ISP at hand.
Authentication. Some cable ISPs need you to authenticate. If this is your case, select the Use BPALogin option. If you are unsure or don't know, it is safe to select the None option.
A list of detected modems is shown. If no modem was detected, only the Manual choice option is shown, click on and choose the communications port the modem is connected to. The required packages are installed.
Then you see a list of countries/ISPs. If yours is listed, select it and continue to the next step: some parameters (connection name, phone number to dial, and authentication scheme) will be automatically set. If not, select the Unlisted - edit manually option.
All parameters should be obvious, except for the authentication type. The value in the Authentication pull-down depends on what your ISP supports: Script-based (an old type of authentication method based on “expect” and “send” types of chat between your system and your ISP); Terminal based (a terminal window pops up when the connection is made and you have to login interactively); PAP, CHAP, or PAP/CHAP (authentication information exchange protocols, CHAP is preferred because it is more secure, PAP/CHAP will automatically choose the supported one).
You are then asked whether users can bring the connection up/down and whether or not to bring the connection up at boot: since analog modem telephone connections are not of the “always up” type, you should not check the Start connection at boot option. Finally you can test the connection: we strongly recommend you to do so, to make sure all parameters are accurate.
The Network Center allows you to check network interface status; modify network interface-specific parameters, after you have set them up through the new interface wizard (see Section 4.1.1, “Setting up a New Network Interface”); and connect/disconnect the network interfaces.
For each network interface the following is shown: an icon representing interface status ( for Up or Connected; for Down or Disconnected; and for Non-configured - typical for WiFi interfaces
which are not linked to an access point); the interface hardware name; and
the interface software device, for example
eth0 for the
1st Ethernet interface.
Click on the small triangle on the interface status icon to show buttons to take actions on the corresponding interface:
Click on Section 4.1.3, “Monitoring Connections”.to monitor traffic on the interface as shown in
Simply click on/ to bring the network link up or down on that interface.
Network interface activity is shown for the selected interface. You can specify some options for the traffic graphic and statistics (see Figure 4.5, “Real-Time Network Connection Monitoring”). It can also be used to control the status of the network connection, bringing it up or down using the button at the lower left.
The current interface configuration is shown where you can change basic parameters such as whether to use an automatic or manual configuration, and if set to manual then which IP address, gateway and DNS servers to use. Click on to access more advanced configuration parameters, for example which DHCP client to use.