LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Ifconfig Linux vs. FreeBSD (https://www.linuxquestions.org/questions/linux-newbie-8/ifconfig-linux-vs-freebsd-239714/)

rabbit7 10-07-2004 03:04 AM

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

michaelk 10-07-2004 06:31 AM

http://linux-ip.net/html/tools-ethernet.html

rabbit7 10-07-2004 06:54 AM

thanx a looooot exactly what i was looking for : )

jmpnz 10-18-2004 01:18 PM

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.

rabbit7 10-19-2004 02:18 AM

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.