1829243 Members
2421 Online
109987 Solutions
New Discussion

ethernet adapter

 
Basavaraj
Advisor

ethernet adapter

My PC (HP Pavilion 4563z)has RH Linux 7.2 and Win 98 on the same hard disk. Windows has HP EN1207D-TX 10/100 Fast Ethernet Adapter. When I boot into Linux it doesn't recognize this ethercard (with ifconfig). I hope the same ethercard can be used by both Windows and Linux, right? Please let me know how to make Linux read the ethernet adapter. Thanks.
Confidence pays
6 REPLIES 6
Sergejs Svitnevs
Honored Contributor

Re: ethernet adapter

You need an updated rtl8139 driver.
http://www.scyld.com/network/rtl8139.html

Regards,
Sergejs
Basavaraj
Advisor

Re: ethernet adapter

Serjejs-I downloaded the srpm from the above site and when I try to build it I get an error message. The command and error message are-

rpm -bb SPECS/netdriver*.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.71495
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf netdrivers-3.1
+ /bin/mkdir -p netdrivers-3.1
+ cd netdrivers-3.1
+ /bin/gzip -dc /usr/src/redhat/SOURCES/netdrivers.tgz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.41530
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd netdrivers-3.1
+ make all
gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -I/lib/modules/2.4.7-10/build/include -pipe -fno-strength-reduce -DMODVERSIONS -c -o pci-skeleton.o pci-skeleton.c
pci-skeleton.c:140: parse error before string constant
pci-skeleton.c:140: warning: type defaults to `int' in declaration of `MODULE_LICENSE'
pci-skeleton.c:140: warning: function declaration isn't a prototype
pci-skeleton.c:140: warning: data definition has no type or storage class
make: *** [pci-skeleton.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.41530 (%build)
??
??
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.41530 (%build)

Does this ring a bell?
Thanks.
??
Confidence pays
Basavaraj
Advisor

Re: ethernet adapter

Does anyone have a clue about this? Thanks.
Confidence pays
Ron Kinner
Honored Contributor
Basavaraj
Advisor

Re: ethernet adapter

I downloaded the driver from the above realtek site, compiled it. When I try to insmod this module get this error...

[root@localhost root]#insmod 8139too.o
Using /lib/modules/2.4.7-10/kernel/drivers/net/8139too.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters

I'm baffled. Please guide. Thanks.
Confidence pays
Goran Koruga
Honored Contributor

Re: ethernet adapter

Hi.

Are you sure you have a card with RTL8139 chip? Run lspci and see for yourself.

Or use lspci -n and give us its PCI ID so we can identify the card. You can also try using Donald Becker's driver found at http://www.scyld.com.

Goran