Linux problem with 3Com lan (FIXED!)

Carrot44

Golden Member
Oct 9, 1999
1,763
0
76
I have the Asus P4P800 board and I cant get the 3Com driver to work with Red Hat Linux 9 Any body got ideas or gotten it to work?

Ken
 

sciencewhiz

Diamond Member
Jun 30, 2000
5,885
8
81
Your first problem is that there is no Redhat 9.2. Do you have Redhat 9 or Mandrake 9.2, or something else?

What does lspci -v tell you about your network card?
 

Carrot44

Golden Member
Oct 9, 1999
1,763
0
76
Linux Red Hat 9 then :D

What is happening is when I run make load according to the drivers instructions it faults at insmod 3c2000.o says error 127 can't find
insmod :(

Get back with ya on the other command about the card
 

JustMike

Senior member
May 25, 2003
234
0
0
You need to be root and have "/sbin" in your path, otherwise fully qualify the call to "insmod" like this:

/sbin/insmod <module name>
 

Carrot44

Golden Member
Oct 9, 1999
1,763
0
76
Ok give that a quick try
But lspci -v it says no such command. Probably the same thing there. Dang I need a Linux book!

So kinda like DOS unless it is in a PATH statement it will only work from the DIR it is in.
Anybody got a link to where I can find all the Linux commands. Yea I know google it!
 

JustMike

Senior member
May 25, 2003
234
0
0
What user are you trying to do this as? You must be root and must be in a "proper" root environment ("su -")
 

Carrot44

Golden Member
Oct 9, 1999
1,763
0
76
I am at root "su"

Got the drivers properly loaded and it grabed my proper internet settings but I can not activate it.
Did notice it keeps wanting to Call the onboard 3Com chip a 3C501 Unless that is a Card that uses that chip.

Closer anyway
 

Carrot44

Golden Member
Oct 9, 1999
1,763
0
76
I got it working Yippppeeeeeeeeeeeeeeeeee
But........... Everytime I reboot have to retype /sbin/insmod 3c2000.o what can I do so that does not need to be done?

Ken
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
When you become root use 'su -' not just 'su' and you'll get a proper PATH setup.

If you add 'alias eth0 3c2000' to /etc/modules.conf that _should_ do it, but I make no guarantees as I'm rusty on how RH does things.
 

JustMike

Senior member
May 25, 2003
234
0
0
Originally posted by: Nothinman
If you add 'alias eth0 3c2000' to /etc/modules.conf that _should_ do it, but I make no guarantees as I'm rusty on how RH does things.

As long as the module is installed properly, that will should work fine.
 

Carrot44

Golden Member
Oct 9, 1999
1,763
0
76
Originally posted by: Nothinman
When you become root use 'su -' not just 'su' and you'll get a proper PATH setup.

If you add 'alias eth0 3c2000' to /etc/modules.conf that _should_ do it, but I make no guarantees as I'm rusty on how RH does things.


Ok how do I add alias eth0 3c2000? It is read only and I don't want to change the attributes.

Ken
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Ok how do I add alias eth0 3c2000? It is read only and I don't want to change the attributes.

It's read-only because of rights, you need to edit it as root.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
If you use 'su -' to become root you might be able to run gedit or something to edit it. I usually use vi, but I assume you don't know vi yet.
 

Carrot44

Golden Member
Oct 9, 1999
1,763
0
76
Never heard of vi but have the other.

I used Linux Red Hat many moons ago. I know some distros are probably easier then Red Hat but that is what I am used too.

Will give that a try today. Even got Yahoo messenger working :D Not a clone but the real messenger

Thanks
 

Carrot44

Golden Member
Oct 9, 1999
1,763
0
76
Originally posted by: Nothinman
If you use 'su -' to become root you might be able to run gedit or something to edit it. I usually use vi, but I assume you don't know vi yet.


That worked! but it still will not activate eth0 on start up. Do I have to put in the full path?

Gurrrrrrrrr
 

Carrot44

Golden Member
Oct 9, 1999
1,763
0
76
alias usb-controller ehci-hcd
alias sound-slot-0 audigy
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
No and I tried it with and without the .o

pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
alias usb-controller1 usb-uhci
alias ieee1394-controller ohci1394
alias eth0 3c2000.o
alias eth0 3c501
options 3c501 irq=3
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Why is the alias eth0 3c501 still in there, delete it and I bet it works.

I would have assumed the module tools would use the first alias line, but I guess it uses the last one.
 

sciencewhiz

Diamond Member
Jun 30, 2000
5,885
8
81
where is 3c2000.o located?

if it is in /lib/modules/<kernel-version>/<something> then try removing the .o