kldstat(8)ekta said:1. modinfo
No idea.2. ethtool -i <interface> - this gives driver version and hardware firmware details.
ekta said:2. ethtool -i <interface>
grep <interface> /var/run/dmesg.boot
# ifconfig em0
# ifconfig interface-name
# ifconfig | grep media
ifconfig <interface-name> <IP_address> media 100baseTX mediaopt full-duplex
# vi /etc/rc.conf
ifconfig_em0="inet x.x.x.x netmask y.y.y.y media 10baseT/UTP mediaopt full-duplex"
ifconfig_em0="inet 10.10.1.2 netmask 255.255.255.0 media 100baseT/UTP mediaopt full-duplex"
# /etc/rc.d/netif restart
ekta said:I am new to Free BSD. I want to know the equivalent commands for the following Linux commands.
...
2. ethtool -i <interface> - this gives driver version and hardware firmware details.
% /sbin/ifconfig | grep -i running
igb0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
...
% man igb