Does freebsd have the equivelent command to linux mii-tool or ethtool?

2007-03-27 Thread essential li
I saw there are mii.h and mii.c in freebsd source code but do not have 
mii-tool command. Does  freebsd have the equivelent command to linux 
mii-tool or ethtool ? or the functions of these two command are included in 
ifconfig ?
  Thank you.


-
 雅虎免费邮箱-3.5G容量,20M附件
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Does freebsd have the equivelent command to linux mii-tool or ethtool?

2007-03-27 Thread Philippe Laquet
Hi,

If you only need to set duplex modes and so on, the ifconfig command
under *BSD replaces all the *-tools that you talking about ;)

(the manpage gives all the information you may need)

Kind Regards


Philippe Laquet


essential li a écrit :
 I saw there are mii.h and mii.c in freebsd source code but do not have 
 mii-tool command. Does  freebsd have the equivelent command to linux 
 mii-tool or ethtool ? or the functions of these two command are included 
 in ifconfig ?
   Thank you.

   
 -
  雅虎免费邮箱-3.5G容量,20M附件
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
   
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Does freebsd have the equivelent command to linux mii-tool or ethtool?

2007-03-27 Thread Vince
essential li wrote:
 I saw there are mii.h and mii.c in freebsd source code but do not have 
 mii-tool command. Does  freebsd have the equivelent command to linux 
 mii-tool or ethtool ? or the functions of these two command are included 
 in ifconfig ?
   Thank you.

The majority of the functionality is in ifconfig, media settings and
options, checksum offloading, tso etc. There may be features available
in them that are in other utils in freebsd but i'm only passingly
familiar with ethtool and mii-tool so i dont know everything they can do.
anything in particular you were looking for?


Vince

 
   
 -
  雅虎免费邮箱-3.5G容量,20M附件
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Does freebsd have the equivelent command to linux mii-tool or ethtool?

2007-03-27 Thread Michael P. Soulier
On 28/03/07 essential li said:

 Actually, I want to port mii-tool to freebsd for linux command compatible,
 so I want to know if there is the equivelent command to linux mii-tool or
 ethtool
 
 essential li [EMAIL PROTECTED] 写道:  I saw there are mii.h and
 mii.c in freebsd source code but do not have mii-tool command. Does
 freebsd have the equivelent command to linux mii-tool or ethtool ? or
 the functions of these two command are included in ifconfig ?

They seem to be in ifconfig, if you're looking to override autoneg. 

ie. sudo ifconfig xl0 media 100baseTX mediaopt full-duplex 

Mike
-- 
Michael P. Soulier [EMAIL PROTECTED]
Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction. --Albert Einstein


pgpHSfKa0cpwn.pgp
Description: PGP signature