LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem installing 3com 3c2000-T gigabit card (https://www.linuxquestions.org/questions/linux-newbie-8/problem-installing-3com-3c2000-t-gigabit-card-109771/)

AlbertJ 10-28-2003 11:43 PM

Problem installing 3com 3c2000-T gigabit card
 
I got the driver for my 3c2000-T from the cd and my kernel is an appropriate version but when I run the 'make load' command... I get this

insmod: 3c2000.o
make: insmod: Command not found
make: *** [load] error 127


Any help would be much appreciated.

misophist 10-29-2003 01:29 PM

Make is not the right command for installing a module you already have. 'insmod' or 'modprobe' (either one. modprobe is preferred by some distributions) installs an existing module. Run 'lsmod' to be sure the module was installed. You usually have to do all this as root. Sometimes it's necessary to restart X or to reboot for things to work.

AlbertJ 10-29-2003 04:08 PM

OK, I'll give it a shot.

I would specify the appropriate file right.... such as '3c2000.o'?

root@localhost 3c2000>insmod 3c2000.o ????

or instead modprobe

misophist 10-29-2003 06:35 PM

If it's the right module, it should work.

jabberwacki 11-01-2003 09:42 PM

fixed the problem
 
go into the linux os kernel and edit it. add a line of code to it with the name of the ethernet card in it. save and reboot.

AlbertJ 11-01-2003 09:47 PM

what line of code would you suggest I add?

3com 3c2000-T?


I think I could do it the other way but I dont have the make tools installed and I can't figure out how to get them installed. :)

misophist 11-01-2003 10:08 PM

I don't know anything about messing with the kernel. Try insmod/modprobe. The worst that can happen is that it will fail. And it may not.

AlbertJ 11-01-2003 10:23 PM

I tried insmod and modprobe but they both said that the command could not be found.

misophist 11-01-2003 11:44 PM

Both have to be run as root. When you get an error of 'Command not found' it often means it needs to be run as root. In effect, the machine is saying that only root is important enough to even know this command exists. The commands do the same thing. Modprobe is preferred in some distros.

AlbertJ 11-02-2003 12:56 AM

would it matter if i logged in as a user then used 'su' to become root??

that's how i try to run insmod and modprobe and they both cannot be found.

misophist 11-02-2003 08:36 AM

It should not matter if you su to root. I would try logging in as root, myself, just to be certain. If neither command is available, then something is wrong. These are basic commands. If they're not there, you should probably check the installed packages to be certain all the administrative parts are really there. I only know about SuSE. I suppose it's possible one of the other distros might not use 'modprobe' but I would be surprised if it were so. Also check whatever documentation you have available, how-to's and help files, to see how your distro does things. What are you using, anyway?

AlbertJ 11-02-2003 03:23 PM

i'm using redhat9. i'll try to run as root but i think i dont have the right tools. i'll go back through my packages and check.

AlbertJ 11-03-2003 11:26 AM

FORUM HAS MOVED
 
THANKS FOR YOUR HELP EVERYONE!
PLEASE SEE THE LINUX NETWORKING FORUM WHERE I HAVE POSTED MY PROGRESS.

http://www.linuxquestions.org/questi...?postid=577514

AlbertJ 11-07-2003 09:13 PM

In case anyone comes across this.... here is my final post on this ordeal.

YOU MUST LOG IN AS ROOT TO DO THIS.

All you have to do is get the driver off the cd, and follow the readme instructions for extracting it.

Then move into the folder containing the makefile (3c2000).

(for this to work you need to have the kernel source loaded in /usr/source/linuxXXX)

Then type:
make clean
then
make install
then
make load

This will do all the preperations and load the module to where it needs to go.

After this, you must go to /etc/sysconfig and edit the hwconf file. It will have a listing for your card and know that it is a 3com but not what type or what driver to use. It will look something like this:

class: NETWORK
bus: PCI
detached: 0
device: eth
driver: unknown
desc: "3Com Corporation|unknown device 10b7:1700"
vendorId: 10b7
deviceId: 1700
subVendorId: 10b7
subDeviceId: 0020
pciType:

go in and change 'driver: unknown' to 'driver: 3c2000' and then go to your network control panel and when u create a new ethernet card it will be listed so you can choose it now.



The only thing I don't quite get is I did this are root. I'm looking back at it for this post from a user and when I looked at my /etc/sysconfig/hwconf it shows that the driver is unknown but it still works. I dunno maybe I'll add it again or something but it did work for me.

misophist 11-07-2003 09:53 PM

Congratulations.


All times are GMT -5. The time now is 12:18 AM.