lsnic - Display table of network controllers
version 0.005
# lsnic Bus Interface Serial Driver Description pci@0000:26:00.0 enp38s0 10:7b:44:90:00:00 igb I211 Gigabit Network Connection [8086:1539] pci@0000:29:00.0 68-05-ca-61-00-00 vfio-pci I210 Gigabit Network Connection [8086:1533] br0 42:6c:1c:88:00:00 bridge br1 10:7b:44:90:00:00 bridge
# cpan App::lsnic
This script packaged as CPAN module. This script reformats lshw -c network -numeric output in the tabular format above. If the driver doesn't report a MAC address, it's extracted from the serial number read by lspci(1) This script requires super user priviliges to work.
lshw -c network -numeric
lspci(1)
http://github.com/athreef/App-lsnic
http://github.com/a3f/.dotfiles
Ahmad Fatoum <athreef@cpan.org>, http://a3f.at
<athreef@cpan.org>
Copyright (C) 2017 Ahmad Fatoum
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install App::lsnic, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::lsnic
CPAN shell
perl -MCPAN -e shell install App::lsnic
For more information on module installation, please visit the detailed CPAN module installation guide.