Ifconfig Linux vs. FreeBSD
ifconfig on freebsd gives you a lot information, like what kind of media has been connected, if the link i s up, what kind of mode the interface is running (full duplex) etcetc.
I havent found a way to get this kind of information out of my linux box. thx for your help Greets Ben |
|
thanx a looooot exactly what i was looking for : )
|
ethtool
Not sure about your distro but gentool has an ebuild for a tool called ethtool which allows on to get this information from an interface now in the kernel of the same name. If you are a coder you can acess this on most cards through the following ioctl:
ETHTOOL_GLINK 0x0000000a This assumes kernel 2.6 I don't have a machine here with 2.4 on it. |
mii-tool
does exactly what i want. It is part of the iproute2 package of the gentoo distribution thanks anyways greets Ben |
All times are GMT -5. The time now is 09:44 PM. |