High Speed Internet
To start using high speed Internet access, first you have to make sure that the NIC (Network Interface Card) is up and active. There are several ways to verify if a net card is working or not.
Observe when the system is booting up, you will see the modules are being loaded.
Bringing up loopback
Bringing up interface eth0
Bringing up interface eth1
If you have more than one net card you should see them up at boot time. On special cases your net card fails to load because the driver that is being used is incorrect or the net card is incompatible with Linux. Let's assume that your net card is compatible with Linux, and for some reason you don't see it at boot time.
- First we have to login as a regular user
- Become a super user (su)
Linux comes with several utilities that help the user or system administrator to manipulate and configure the system. In some distributions comes with ntsysv, netconf, and linuxconf. Our particular Mandrake comes with: netconf and linuxconf
These are the two tools used to get to our network configuration.
Testing and Configuring the NIC
Execute netconf or linuxconf to get to the network configuration. The following example is demonstrated in text mode. Linuxconf as well as many other utilities can be used in both in graphical or text modes. When you encounter problems (lockups) in either mode, simply switch to the other.
[root@localhost user1]# linuxconf
Linuxconf is a very powerful utility (whether in text or graphical); it probably will become one of your favorite tools for system administration.
Fig. 2.14 Linuxconf executed under text mode.
When you get to the main screen of the network configuration, you have three subsets of options: Client task, Server task and Misc.
*** Use the Tab key to move between fields
- From the client task select Host name and IP network devices.
- On the Host name + domain type: Type the name of your computer.
Server2 or server1 + yourdomain.com
Note. Yourdomain.com would be the name of your registered domain. If you do not have a register domain name, just call it localdomain.
- Under adaptor 1 [select enabled]
- For static IP, select (X) Manual, for dynamic, select (x) dhcp.
The following picture demonstrates a system with static IP, which I have configured to demonstrate how servers are configured to provide Internet services to the public. If you are going to use your Linux system only for a dynamic Internet connection, just set it to DHCP with no IP address.
Fig. 2.15 (For u hackerz out there,J) Note. That is not my real IP address. Blah
The question is will your connection be dynamic or static?
Static means your ISP will assign you an IP address, which will be assigned permanently to your computer; that also means that if you are going to setup a web server, people will be able to get to your website. Because it is a static IP address it will never change unless for some reason your ISP decides to change it.
Dynamic IP addresses are numbers that are constantly changing every time you connect to the Internet. For example, when your modem dials your Internet provider it is automatically assigned an IP address. The next time you dial to the Internet it will be assigned the first available number.
If your connection is dynamic, enter any IP address for testing purposes (remember we are just testing the net card). The next step, I will show you how to setup your dynamic connection.
For static enter:
- IP address
- Enter the subnet mask
(Refer to chapter 8 IP Addresses Networks and Subnets)
The most important thing for your net card to be active is the driver (kernel module), if you don't know what the appropriate driver is, the net card will not work.
- The net device: is the numerical order of your NIC (network interface card)
Ex. NIC #1 = eth0 NIC #2 = eth1 etc.
- Then the Kernel module: (8139too)[this is what makes your net card function]
Once you have all the information you need:
- Select accept.
- Select Quit
- Finally select Do it
Note: You may be prompted to change now or reboot. Select to reboot.
Reboot your system and you should see the Bringing up interface eth0 to go OK.
That is how you configure a net card. When you don't know which driver to use, there are two choices. You do it the hard way, spend some time on the Internet researching everything about your net card or do it the easy way. You probably already guessed where to go from here. If you did, congratulations
you are learning.
If you are lost:
Type startx on your command line, hit enter. Go back to the control center
- Click on hardware
- Click on hardware list
- From the list, under sub-tree Ethernetcard Click on your card name
- On the information panel to your right find Module:
- Write down the module name
- Exit the control center
- Load netconf or linuxconf from your console as root or super user
- Write the module name you just got from the control center into net device kernel module. (make sure adaptor1 is enabled)
Accept the new info, Accept, Quit and Do it. Reboot your system and now you should see the interface up OK.
To verify that the net card is working, on your command line, ping the IP address.
[agustin@server2 agustin]$ping 220.127.116.11
This command should give you a response of 64 bytes from
in milliseconds. If you get a timeout error, something is wrong, go over the configuration again.