Newsgroups: comp.os.linux.setup
> I can't sem to get networking to work. I have an SMC EZNET 10/100 PCI > Ethernet card. When I go to /ect/modules the card that is listed is > "ne2k-pci.o", there is no irq or io rang.
This is normal. ne2k-pci.o only deals with ne2k chipset. This SMC is a 8139 based chipset. Check this worldwide famous site:
http://cesdis.gsfc.nasa.gov/linux/
> I know that the card is supported under linux, they have a driver on their > site http://www.smc.com/eznet/drivers/12[] 11/rtl8139.c.txt But I have not a > clue on how to install it. I am farly technical with computers but am just > starting out with Linux.
This driver has been written by Donald Becker (almost every network driver is written by him) and, as a tradition, he puts the compile command at the end of the source, so if you sroll down the text from the url you gave above, you'll find this:
compile-command: "gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c rtl8139.c `[ -f /usr/include/linux/modversions.h ] && echo -DMODVERSIONS`"
or if you're working with SMP hardware:
SMP-compile-command: "gcc -D__SMP__ -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c rtl8139.c `[ -f /usr/include/linux/modversions.h ] && echo -DMODVERSIONS`"
Cut and paste it the right line at the right place :-)
Just rename this file from rtl8139.c.txt to rtl8139.c before doing this. Be careful of the \r\n problem if you download this file from windows before you transfer it to your Linux box. (Ultraedit can do easily those pretty nice conversions without any headache).
Move the output file to /lib/modules/2.[your.kernel.version]/net. After that, all you have to do is a "modprobe rtl8139" or "insmod rtl8139".
Check that /etc/conf.modules contains this line:
alias eth0 rtl8139
Franck GUILLOIS
documented on: 2000.06.02