Re: FreeBSD equivalent of ethtool
- In reply to: Pete Wright via freebsd-questions : "Re: FreeBSD equivalent of ethtool"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 14 Oct 2021 08:48:11 UTC
> Sent: Thursday, October 14, 2021 at 2:00 AM > From: "Pete Wright via freebsd-questions" <freebsd-questions@freebsd.org> > To: "Rocky Hotas" <rockyhotas@post.com>, "FreeBSD Questions" <freebsd-questions@freebsd.org> > Subject: Re: FreeBSD equivalent of ethtool [...] > I think it really depends on what your specific use-case is. Sorry, I didn't specify it explicitly. In particular, `ethtool -d <network_interface>', that is: dumping all the values in the internal registers of the NIC. > I find that BSD ifconfig(8) covers most use cases for configuring > interfaces (both physical and virtual), and the sysctl interface is also > useful for pulling and setting device specific information. the latter > is usually well documented in the man page for the interface (see > if_em(4) for example). So, maybe I can look in sysctl or ifconfig(8), if they also allow the register dumping. > it should be noted that ifconfig(8) on bsd's tends to do much more than > the old linux ifconfig and probably the new "ip" command as well. Yes, the BSD one is a very different and complex tool. Rocky