LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   3c940 + Mandrake (https://www.linuxquestions.org/questions/linux-hardware-18/3c940-mandrake-123948/)

Letifo 12-08-2003 03:41 PM

3c940 + Mandrake
 
Okay, i searched and i found a couple threads with this subject, but nothing with a definitive answer. So, i'm posting here hoping i can get a somewhat more concise answer. This is the first time i've installed Linux (i partitioned this drive and installed it on here, i'm currently on windows though typing this up).

I have the Asus P4P800 motherboard and it includes a 3Com gigabit LAN card built in, which is the 3c940 and requires that driver. That isn't an option in the driver area though when you go to configure the network driver. If you go into the hardware configurer, it recognizes that that is the driver, but still doesn't allow you to pick it. So, i burned it onto a cd and then put the cd in and booted up into mandrake, and copied the cd into the home folder. I went to the command prompt and was fooling around trying to follow the directions in the readme, and everything was going fine until the "make load" command, when i got errors (error 127).

I don't have the sbin/lpsci thing because i'm on windows now and i can't get online with Linux because i can't install the drivers for my network card.

Letifo 12-08-2003 03:42 PM

Mandrake 9.2 by the way, forgot to include that at first.

Phorem 12-08-2003 04:03 PM

Do "modprobe sk98lin"

sk98lin is the module that you want. I have the same chip on my mobo.

If that doesn't work, go here http://usa.asus.com/support/download...ux.zip~zaqwedc

Just download that and follow the read me. I think you unzip it and go into that folder and do "make" and then "make load" (there is another command instead of make load you can use...it's in the readme)

Letifo 12-08-2003 04:12 PM

http://www.linuxquestions.org/questi...ighlight=3c940 by the way, that thread's advice didn't work for me.

Letifo 12-08-2003 04:13 PM

Quote:

Originally posted by Phorem
Do "modprobe sk98lin"

sk98lin is the module that you want. I have the same chip on my mobo.

If that doesn't work, go here http://usa.asus.com/support/download...ux.zip~zaqwedc

Just download that and follow the read me. I think you unzip it and go into that folder and do "make" and then "make load" (there is another command instead of make load you can use...it's in the readme)

Are you saying to type that modprobe sk98lin into the command prompt?

Phorem 12-08-2003 04:20 PM

Ya...as root. That's the module that works for me and it says right in the kernel configuration that, this is module you need to use the 3c940.
After you do "modprobe sk98lin" , nothing should come up. After you do that commmand, it'll just go back to the command prompt.

like.......

root># modprobe sk98lin
root>#

That's it. Any errors, than there is something else wrong.

The link i posted is fine. Just hit the location you want to download it from.

tallfred 12-08-2003 11:06 PM

more module tricks
 
After the modprobe, you can determine if it loaded with lsmod. If your module chooses not to load itself when you modprobe, like it didn't find the hardware so it didn't stay loaded, then you can use insmod instead. It is useful for non-device drivers, like the dummy0 interface.

Once the module stays loaded then you should be able to configure the device. Try a "/sbin/ifconfig -a" to see if it exists.

To make the device consistently load to the same interface name consider putting an alias line in your /etc/modules.conf, such as "alias eth0 sk98lin". That way "ifconfig eth0" will automatically load the module.


All times are GMT -5. The time now is 08:13 PM.