Loopback always been like that in Linux, feel free to send patch into kernel :).
Just checked my workstation Ubuntu 13.04, works as expected. 1 - loopback, 2 - connected at 100mbps, 3 - down interface.
shopik@shopik-G41T-M9:~$ snmpwalk -Os -c public -v 2c localhost ifspeed ifSpeed.1 = Gauge32: 10000000 ifSpeed.2 = Gauge32: 100000000 ifSpeed.3 = Gauge32: 10000000
On 15/07/13 11:40, Xavier Beaudouin wrote:
Hello,
I have several ubuntu (you can read : there is lots of ubuntu there).
If I start snmpd with uig / gid root, then I get correct speed, if I use uid/gid snmpd then the debug log of snmpd tell me : ethtool failure.
Adding a sticky bit didn't fix that BTW, I have run this thing under root to get this fixed.
Tried with : ubuntu server 7.04, 8,04, 9,04, 10,04, 11,04 and 12.04 (all are LTS). Desktop version has same issue also.
On debian 6.0.7 the correct speed is set too. So the issue is : ubuntu
On FreeBSD, (pfsense, etc..), netscreen, Cisco, we don't have such brain damage.
By the way, loopback if is also set on 10Mbps on ubuntu which is brain damaged too...
If you don't believe, just give a try.
Regards, Xavier _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium