steve,
card is working fine.Abhishek Kaul wrote: > Hello masters, > > i ve 2 ethernet cards in my RH7.2 sys. > ethtool -i eth0 shows the status for 3com card, > > *[RH7.2]# ethtool -i eth0* > *driver: 3c59x* > *version: LK1.1.16* > *firmware-version:* > *bus-info: 01:0c.0* > > but for the second card which is from realtek, it says > > *[RH7.2]# ethtool -i eth1* > *Cannot get current device settings: Bad address* > > this second card is working fine, no problems. > there is corresponding entry in modules.conf file as well. > lsmod shows it to be loaded, but still ethtool doesnt seem to work. > > any help with this regard will be appreciated.
Is the card up? Does it appear when you do "ifconfig -a". You probably don't have the card configured. If not, you need to copy /etc/sysconfig/network-scripts/ifcfg-eth0 to ifcfg-eth1 and edit it appropriately (change "DEVICE" to "eth1" and modify the IP address and netmask, and remove the gateway). Then try "/etc/rc.d/init.d/network stop;/etc/rc.d/init.d/network start" and verify the card comes up by doing "ifconfig -a".
its even listed under ifconfig o/p.basically it gets detected at the start time itself.
but only thing that doesnt work is ethtool's o/p.
*eth0 Link encap:Ethernet HWaddr 00:B0:D0:D3:4B:91*
* inet addr:192.168.221.128 Bcast:192.168.221.255 Mask:255.255.255.0*
/ ...skipped for brievity.../**
*eth1 Link encap:Ethernet HWaddr 00:60:67:73:F1:A8*
* inet addr:10.116.51.175 Bcast:10.116.51.255 Mask:255.255.255.0*
* UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1*
* RX packets:746266 errors:0 dropped:0 overruns:0 frame:0*
* TX packets:12028 errors:0 dropped:0 overruns:0 carrier:0*
* collisions:0*
* RX bytes:58493970 (55.7 Mb) TX bytes:906039 (884.8 Kb)***
Network scripts are also correct *alcnmd128;/etc/sysconfig/network-scripts $more ifcfg-eth1* *DEVICE=eth1* *ONBOOT=yes* *BOOTPROTO=static* *IPADDR=10.116.51.175* *NETMASK=255.255.255.0* *GATEWAY=10.116.51.1*
IIRC, the Realteks use the ne2k driver, right? Hmmm. That's pretty pedestrian. I think there's an updated ethtool available. That might solve your problem, but I won't swear to it. It may simply be that the driver (whatever it is) doesn't permit probing by ethtool. ---------------------------------------------------------------------- - Rick Stevens, SSE, VitalStream, Inc. rstevens vitalstream com - - 949-743-2010 (Voice) http://www.vitalstream.com - - - - "If you can't fix it...duct tape it!" - Tim Allen - ----------------------------------------------------------------------