Download the source rpm netdriver-2.1.src.rpm from the location I mentioned in
the previous post and put it /usr/src/redhat/SRPMS.
rpm -Uvh netdriver-2.1.src.rpm
This will create two files: netdrivers.tgz and netdrivers.spec. The first one
goes in /usr/src/redhat/SOURCES and the second goes in /usr/src/redhat/SPECS.
If you try to make the rpm from sources with the command they specify on the
scyld.com page, the compiler will be gcc, which in your case is the wrong
version. So what you need to do is unpack the netdrivers.tgz file in
/usr/src/redhat/BUILD, and either do
or change the CC=gcc to CC=kgcc in the Makefile and then do a usual
This should compile the drivers. You do not need to worry about the include
path, it is correct in the Makefile. Then simply copy the tulip.o driver into
/lib/modules/2.2.16-22/net. You may want to back-up the old tulip.o module,
which you can later delete if the new one works (as it should).
> Thanks. I think that's what I need.
> I tried compiling the driver. And, exactly as you mentioned, there are
> issues with RH7.0. The first one, was to use kgcc instead of gcc. I did
> that. The second problem is that rh has the wrong header files of linux
> kernel. I have no clue, how to work around that. The instructions just say
> that's the issue.
> You seem to be more familiar with this driver and rh7.0. Please, help.
> > For the linksys card use the tulip driver from http://www.scyld.com (just
> > follow the obvious links). It's tricky to compile the standalone driver on
> > RH7.0 because of the gcc-2.96 compiler. Read the instructions carefully
> to get
> > an idea about what's going on. Download the whole netdriver.src
> > (ftp://ftp.scyld.com/pub/network/netdriver-2.1.src.rpm) and build it as an
> > Then install the rpm.
> > In /etc/modules.conf put
> > alias eth0 3c905 # or whatever driver you're using for the 3com
> > alias eth1 tulip # the driver for the linksys card
> > > Hi,
> > > I'm working on setting up my first linux box. It has two network cards.
> > > is a 3com card, and is working fine. eth1 is a linksys pci card
> > > When I try ne2000pci or tulip driver (that comes with RH7), it gives me
> > > error on bootup that the card is busy.
> > > What can I do? Can it possibly be that the driver for eth1 is trying to
> > > access the card of eth0?
> > > Thanks a lot.
> > > HariNam