Resolve the "Cannot get device ring settings" error on CentOS 6.5
This topic explains how to resolve the "Cannot get device ring settings: Operation not supported" error on a CentOS 6.5 ECS instance.
Symptoms
When you run the ethtool -g eth0 command on an ECS instance that runs CentOS 6.5 to view the buffer capacity of the network interface, the command returns the following output:
Ring parameters for eth0:
Cannot get device ring settings: Operation not supported
Cause
The ECS instance does not support querying the ring buffer using the -g parameter.
Solution
To view the buffer capacity of the network interface, run the ifconfig command and check the txqueuelen parameter in the output.
CentOS 6 has reached its end of life (EOL). According to community rules, the content of the CentOS 6 sources has been removed. An error will occur if you continue to use the default source configuration on a CentOS 6 system. Before you proceed, switch the CentOS 6 source. For more information, see How do I switch sources after CentOS 6 reaches EOL?.
ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:3E:21:1E:35
inet addr:10.30.84.112 Bcast:10.30.87.255 Mask:255.255.252.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4773 errors:0 dropped:0 overruns:0 frame:0
TX packets:4555 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:35037815 (33.4 MiB) TX bytes:437705 (427.4 KiB)
eth1 Link encap:Ethernet HWaddr 00:16:3E:2F:33:9E
inet addr:47.100.245.86 Bcast:47.100.255.255 Mask:255.255.224.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:39865 errors:0 dropped:0 overruns:0 frame:0
TX packets:9481 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:54789136 (52.2 MiB) TX bytes:635972 (621.0 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)