I get the error "command not found" when I tried to use lspci.
One more thing I found out.
I looked at /etc/sysconfig/network-scripts/ifcfg-eth0 of the Mandriva server, which contains the following:
Code:
DEVICE = eth0
BOOTPROTO=static
IPADDR=192.168.168.202
NETMASK=255.255.255.0
GATEWAY=192.168.168.1
ONBOOT=yes
METRIC=5
MII_NOT_SUPPORTED=yes
USERCTL=no
DNS1=192.168.168.2
RESOLV_MODS=yes
LINK_DETECTION_DELAY=6
IPV6INIT=no
IPV6to4INIT=no
and noticed that if the line MII_NOT_SUPPORTED equals "yes", then the server has the IP address 192.168.168.202 upon startup, but if MII_NOT_SUPPORTED=no, then the server has no IP address upon startup, and I have to manually assign one.
Also, when I typed "mii-tool" on the Mandriva server (with MII_NOT_SUPPORTED=yes), I get the following:
Code:
SIOCGMIIPHY on 'eth0' failed: Operation not supported
SIOCGMIIPHY on 'eth1' failed: Operation not supported
SIOCGMIIPHY on 'eth2' failed: Resource temporarily unavailable
SIOCGMIIPHY on 'eth3' failed: Resource temporarily unavailable
no MII interfaces found
But on the 2 RedHat servers, which didn't contain the MII_NOT_SUPPORTED lines, I get the following output:
Code:
eth0: negotiated 10baseT-HD, link ok
SIOCGMIIPHY on 'eth1' failed: Resource temporarily unavailable
SIOCGMIIPHY on 'eth2' failed: Operation not supported
SIOCGMIIPHY on 'eth3' failed: Operation not supported
I ran the ethtool program and got the following output.
output of "ethtool -t etho" on Mandriva server
Code:
The test result is FAIL
The test extra info:
nvram test (online) 0
link test (online) 1
register test (offline) 0
memory test (offline) 0
loopback test (offline) 0
interrupt test (offline) 0
output of "ethtool -t etho" on both RedHat servers
Code:
The test result is PASS
The test extra info:
register test (offline) 0
memory test (offline) 0
loopback test (offline) 0
nvram test (online) 0
interrupt test (online) 0
link test (online) 0
output of "ethtool eth0" on Mandriva server:
Code:
Settings for eth0:
Supported ports: [ FIBRE ]
Supported link modes: 1000baseT/Half 1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 1000baseT/Half 1000baseT/Full
Advertised auto-negotiation: Yes
Speed: Unknown! (65535)
Duplex: Unknown! (255)
Port: FIBRE
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: g
Wake-on: d
Current message level: 0x000000ff (255)
Link detected: no
output of "ethtool eth0" on RedHat servers:
Code:
Settings for eth0:
Supported ports: [ FIBRE ]
Supported link modes: 1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 1000 Mb/s
Duplex: Full
Port: FIBRE
PHYAD: 2
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: g
Wake-on: g
Link detected: yes
Does this mean that there are some problems with the eth0 interface of the Mandriva server?
Thank you.