NAME

lsnic - Display table of network controllers

VERSION

version 0.003

SYNOPSIS

# 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

INSTALLATION

# cpan App::lsionic

DESCRIPTION

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.

GIT REPOSITORY

http://github.com/athreef/App-lsnic

SEE ALSO

http://github.com/a3f/.dotfiles

AUTHOR

Ahmad Fatoum <athreef@cpan.org>, http://a3f.at

COPYRIGHT AND LICENSE

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.