LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-07-2004, 04:04 AM   #1
rabbit7
LQ Newbie
 
Registered: Oct 2004
Location: Switzerland
Distribution: Gentoo/ FreeBSD
Posts: 12

Rep: Reputation: 0
Question 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
 
Old 10-07-2004, 07:31 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,938

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
http://linux-ip.net/html/tools-ethernet.html
 
Old 10-07-2004, 07:54 AM   #3
rabbit7
LQ Newbie
 
Registered: Oct 2004
Location: Switzerland
Distribution: Gentoo/ FreeBSD
Posts: 12

Original Poster
Rep: Reputation: 0
thanx a looooot exactly what i was looking for : )
 
Old 10-18-2004, 02:18 PM   #4
jmpnz
LQ Newbie
 
Registered: Oct 2004
Distribution: gentoo
Posts: 1

Rep: Reputation: 0
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.
 
Old 10-19-2004, 03:18 AM   #5
rabbit7
LQ Newbie
 
Registered: Oct 2004
Location: Switzerland
Distribution: Gentoo/ FreeBSD
Posts: 12

Original Poster
Rep: Reputation: 0
mii-tool
does exactly what i want.
It is part of the iproute2 package of the gentoo distribution

thanks anyways

greets Ben
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
connecting /sbin/ifconfig to bash command ifconfig flammable2 Fedora 4 11-12-2005 08:58 AM
How do I add another IP to my linux box using ifconfig via ssh? abefroman Linux - Software 3 11-11-2005 07:34 PM
ifconfig & dhcp on linux saajii Linux - Networking 3 10-05-2004 02:24 PM
Which is better: Linux or FreeBSD? Craigwd General 26 06-24-2004 12:19 AM
Linux vs FreeBSD which is better? javax Linux - Distributions 13 04-26-2002 09:40 AM


All times are GMT -5. The time now is 12:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration