How do I install this ethernet card?

Tags:

Alright, I put in the ethernet card. It's an Linksys Etherfast 10/100 model LNE100TX. Now, how do I install it and get this computer on the internet?

One more thing...within the READ ME file there are instructions for compiling source code:

A. Get source Code and produce a binary code
=============================================
Step 1 : Get the source code from the following site;

Beowulf.org: The Beowulf Cluster Site

Step 2 : Compile the source code by using

"gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet
-Wall -Wstrict -prototypes -O6 -c tulip.c
'[ -f /usr/include/linux/modversions.h ] && echo
-DMODVERSIONS`"

Can some incredible Debian Linux guru help me do this? I am rather new when it comes to doing this.

Thank you!

0

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: How do I install this ethernet card?

The "Tulip" code is already part of the kernel; see if the tulip code had already loaded:

lsmod|grep tulip

If you get no response, then tulip is not loaded; try to load it:

modprobe tulip

Then do the 'lsmod' trick again to see if it's loaded now.

Also check 'dmesg' to see if 'eth0' was discovered:

grep 'eth0' /var/log/dmesg

If the driver is running and the 'eth0' device was created, thena ll you need to do is configure the network. If the computer is on a network with a router that has DHCP, these lines in /etc/network/interfaces should do:

auto eth0
iface eth0 inet dhcp

Then bring up the interface: ifup eth0
The 'auto' line ensures that the interface is also brought up on reboot.

Of course the above instructions assume that some basic networking tools were already installed; otherwise you will need to install them from your install CD:

apt-get install ifupdown dhcp3-client

This may cause a few other tools to be installed.

Re: How do I install this ethernet card?

Hey pinniped, thanks for the help!

I typed
Ismod|grep tulip

This is what I got:

bash: Ismod:command not found

I was logged in as root at the time.

I then typed
modprobe tulip

Nothing happened.

I typed

Ismod|grep tulip

again, and nothing happened.

By the way, my computer has two ethernet connections. eth0 is the one on the motherboard that does not work. eth1 is the ethernet card that needs tulip to run.

I typed

grep 'eth0' /var/log/dmesg

and got a lot of information, but was told that

eth0: no link during installation.

I then typed

grep 'eth1' /var/log/dmesg

and nothing happened.

Finally, I typed the ifup command for both eth0 and eth1, and each time I was told that the interface was already configured.

What should I do now?

Thank you for your time and patience. I know that teaching a new person can be tedious.

Re: How do I install this ethernet card?

OK, you may have an issue with device naming.

I don't understand why you're missing 'lsmod'; it should have come with the package module-init-tools and should be installed in /bin/. Not being able to run 'lsmod' really hinders us. Can you check that the module tools were installed?

dpkg -s module-init-tools

If it's installed, you should get a screen full of information including lines like this:

Package: module-init-tools
Status: install ok installed

To ensure that a driver loads on boot, put the name in the /etc/modules file - so in this case just make sure you have a line that reads:

tulip

For the naming, if a fairly recent version of udev is installed there may be persistent naming rules set. If the rules have already been set, you will see a file named:

/etc/udev/rules.d/persistent-net.rules

You may see entries like:

SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:e0:81:2f:09:cb", NAME="eth0"

The ATTRS{address} part is the hardware MAC. You can edit that rules file (or create it yourself, just copy the rule above except for the MAC) to consistently name your network devices.

To get the MAC for each device, you need a driver loaded for it and then invoke 'ifconfig' to display information - for example:

ifconfig eth0

eth0 Link encap:Ethernet HWaddr 00:e0:81:2f:09:cb

You can see that my 'eth0' device has a MAC that matches the rule above - just as I would expect. Of course if your defective NIC happens to be 'eth0', you can write a rule that matches its MAC and gives it the name 'eth1' instead, plus a rule that names your good NIC as 'eth0'.

After making those changes, the easiest way to proceed is to reboot the machine.

Re: How do I install this ethernet card?

Dear pinniped,

Sorry I didn't respond, the hard drive on my other computer (the one on the Internet) died and I had to get another one, transfer the data, etc.

So I'm back. I'm going to follow your instructions and see what I can come up with. I'll let you know what happens.

Thank you so much for helping me out. My Windows friends are doubtful, but I'm really on to this Debian thing (besides, I've read so much information on it I don't want all that time I spent studying to go to waste).

Jasen

Syndicate content