Find Ethernet Network Interface Card (NIC) Information in Linux


Lepas korang dah install Network Interface Card (NIC) macamana korang nak check samada linux korang dah recognize network kad tu ?

Ada beberapa cara untuk check network card ni. Antarnya:
1. lspci : List all PCI devices.
2. lshw : List all hardware.
3. dmidecode : List all hardware data from BIOS.
4. ifconfig : Outdated network config utility.
5. ip : Recommended new network config utility.

Full cmd untuk listkan network card:
# lspci | egrep -i –color ‘network | ethernet’

Nak lagi simple pakai cmd ni
# lspci | grep -i ‘ethernet’

02:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
0d:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)



This entry was posted in Linux and tagged , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s