LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-28-2003, 11:43 PM   #1
AlbertJ
LQ Newbie
 
Registered: Oct 2003
Distribution: Redhat9
Posts: 16

Rep: Reputation: 0
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.
 
Old 10-29-2003, 01:29 PM   #2
misophist
Member
 
Registered: Aug 2003
Location: here
Distribution: suse 8.2
Posts: 169

Rep: Reputation: 30
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.
 
Old 10-29-2003, 04:08 PM   #3
AlbertJ
LQ Newbie
 
Registered: Oct 2003
Distribution: Redhat9
Posts: 16

Original Poster
Rep: Reputation: 0
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
 
Old 10-29-2003, 06:35 PM   #4
misophist
Member
 
Registered: Aug 2003
Location: here
Distribution: suse 8.2
Posts: 169

Rep: Reputation: 30
If it's the right module, it should work.
 
Old 11-01-2003, 09:42 PM   #5
jabberwacki
LQ Newbie
 
Registered: Nov 2003
Posts: 1

Rep: Reputation: 0
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.
 
Old 11-01-2003, 09:47 PM   #6
AlbertJ
LQ Newbie
 
Registered: Oct 2003
Distribution: Redhat9
Posts: 16

Original Poster
Rep: Reputation: 0
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.

Last edited by AlbertJ; 11-01-2003 at 09:49 PM.
 
Old 11-01-2003, 10:08 PM   #7
misophist
Member
 
Registered: Aug 2003
Location: here
Distribution: suse 8.2
Posts: 169

Rep: Reputation: 30
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.
 
Old 11-01-2003, 10:23 PM   #8
AlbertJ
LQ Newbie
 
Registered: Oct 2003
Distribution: Redhat9
Posts: 16

Original Poster
Rep: Reputation: 0
I tried insmod and modprobe but they both said that the command could not be found.
 
Old 11-01-2003, 11:44 PM   #9
misophist
Member
 
Registered: Aug 2003
Location: here
Distribution: suse 8.2
Posts: 169

Rep: Reputation: 30
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.
 
Old 11-02-2003, 12:56 AM   #10
AlbertJ
LQ Newbie
 
Registered: Oct 2003
Distribution: Redhat9
Posts: 16

Original Poster
Rep: Reputation: 0
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.
 
Old 11-02-2003, 08:36 AM   #11
misophist
Member
 
Registered: Aug 2003
Location: here
Distribution: suse 8.2
Posts: 169

Rep: Reputation: 30
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?
 
Old 11-02-2003, 03:23 PM   #12
AlbertJ
LQ Newbie
 
Registered: Oct 2003
Distribution: Redhat9
Posts: 16

Original Poster
Rep: Reputation: 0
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.
 
Old 11-03-2003, 11:26 AM   #13
AlbertJ
LQ Newbie
 
Registered: Oct 2003
Distribution: Redhat9
Posts: 16

Original Poster
Rep: Reputation: 0
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
 
Old 11-07-2003, 09:13 PM   #14
AlbertJ
LQ Newbie
 
Registered: Oct 2003
Distribution: Redhat9
Posts: 16

Original Poster
Rep: Reputation: 0
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.
 
Old 11-07-2003, 09:53 PM   #15
misophist
Member
 
Registered: Aug 2003
Location: here
Distribution: suse 8.2
Posts: 169

Rep: Reputation: 30
Congratulations.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mandrake and 3Com 3C2000 Gigabit Lan HELP Blademaster Linux - Networking 6 02-29-2004 07:50 PM
RH 9 machine can't see 3com gigabit card lsgko Linux - Networking 1 02-20-2004 09:49 AM
got problem with installing 3Com 3c2000 arSUduLU Linux - Hardware 0 12-12-2003 06:35 AM
3com 3c2000 onboard lan problem scoughlin Linux - Networking 10 11-01-2003 02:42 PM
Problems installing 3com gigabit driver(3c2000)-newbie davess4 Linux - Hardware 9 09-12-2003 09:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration