mii-diag on kernel 2.2
Published on: 2006-12-13
mii-diag on kernel 2.2
2006-12-13T08:38:00
Use mii-diag to get/set link speed of your ethernet interface - this works with old kernels (2.2.17 in my case; mii-tool was not available) There is no Makefile supplied; so compile in this way: gcc -Wall -Wstrict-prototypes -O mii-diag.c -DLIBMII libmii.c -o mii-diag Upgrading the two ethernet cards on my server (running Debian,kernel 2.2.17) left one of them in an unusable state - I had to bring the speed down to 10Mbps to make it work. Here is the commandline: mii-diag -F 10baseT-FD eth1