Tips Linux Explorers   All Things Linux Forum   Great Linux Links   LinuxClues.com   Hometown   Email 



CONFIGURING YOUR NETWORK CARD


NOTE: I scrambled a few things together out of a thread from Stryder and his troubles of configuring his NIC.
Bits and pieces were taken from posts of Peacy and Lilbambi

First we will install the driver, in this example a Tulip driver.

Go to the directory of the driver:

CODE
$ su
< password >
# cd /lib/modules/`uname -r`/kernel/drivers/net/tulip


Then we will install the driver:

CODE
# install -m 644 tulip.o  


Load the driver:

CODE
# /sbin/insmod tulip.o
# depmod -a


CODE
# cd

( come back to the home directory )

CODE
# netconfig

( to configure your networkcard )

CODE
# ifconfig eth0 up

( will put your connection up ) ( ifconfig eth0 down to kill it )

If all went well:

CODE
# netstat -i

( Will show you the ¨eth0¨ and ¨lo¨ )

Now try to ping a welknown host like your ISP

CODE
# ping www.cnn.com

You should be able to see traffic there and your connection is O.K.
If not, a reboot, after editing your modules.conf ( see next part ) sometimes helps.

Now new still have to edit your modules.conf for the modules to be loaded at boot:

CODE
$ su
< password >
# emacs /etc/modules.conf

NOTE: There will already be a few lines in modules.conf, do not change those ! Only add the line:

QUOTE
alias eth0 tulip


and safe the file with < Ctrl+x > < Ctrl+c > and < y >

That´s all there is to it folks !
First webpage to visit is: http://forums.scotsnewsletter.com/index.php?


Bruno


-- May 11 2003 ( Revised Dec 12 2005 ) --


Tips Linux Explorers   All Things Linux Forum   Great Linux Links   LinuxClues.com   Hometown   Email