[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: regd ethtool



steve,
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".

card is working fine.
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
>
BOOTPROTO=static
IPADDR=10.116.51.175
NETMASK=255.255.255.0
GATEWAY=10.116.51.1
 
 

**************************Disclaimer************************************

Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' and 'confidential' and intended for use only by the individual
 or entity to which it is addressed. You are notified that any use, copying 
or dissemination of the information contained in the E-MAIL in any manner 
whatsoever is strictly prohibited.

***************************************************************************

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]