12

When running the following command in bash:

netstat -i

I am returned something which looks like this:

Kernel Interface table
iface    MTU ...
eno1     1500
lo       50000

I ran this command with the intentions to find what type of network adapters (hardware) I have. (should return wireless adapter + more)

I am unable to tell what these mean.

Is this the correct command for this?

13

eno1 is the onboard Ethernet (wired) adapter.

lo is a loopback device. You can imagine it as a virtual network device that is on all systems, even if they aren't connected to any network. It has an IP address of 127.0.0.1 and can be used to access network services locally. For example, if you run a webserver on your machine and browse to it with Firefox or Chromium on the same machine, then it will go via this network device.

There is no wi-fi adapter listed. lspci and lsusb may help you find them in the first place at which point you need to figure out why it isn't working.

  • lsusb returns "command not found", running lscpi I can see somewhere in the big list "Network controller: 802.11ac Wireless Network Adapter (rev 03)", Does this mean it has found the adapter? – BobMarleyRasa Aug 6 '14 at 13:49
  • Correct - your device is a PCI device and you've found it. You need lsusb to search USB devices. You'll need to install it. It's in a package called usbutils. If you type lspci -v it should tell you what kernel driver it's using (if any). You may get more information on the manufacturer and model too, which should help you. – garethTheRed Aug 6 '14 at 13:55
  • Doesnt appear to have the label Kernel Driver: next to it like some of the others do, so I assume it doesnt use a driver. I will try to install usbutils now – BobMarleyRasa Aug 6 '14 at 15:37
  • Sorry - my bad. You only need usbutils if you're investigating USB devices. It has no drivers next to it as the kernel hasn't loaded one. Probably because it doesn't know of your device. You need to find out exactly what chip is inside and work out what driver is needed. It might be a simple install of a new package or it might involve compiling the driver. – garethTheRed Aug 6 '14 at 15:49
5
  • eno1 is your embedded NIC (onboard Network Interface Card). It is a regular physical network interface.
  • lo is your loopback interface

Your wireless adapter is not listed in your post. It will probably start with a 'w'.

To list your network interfaces, you should use ip link

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: em1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
    link/ether 5c:26:aa:aa:aa:aa brd ff:ff:ff:ff:ff:ff
3: wlp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
    link/ether a0:88:aa:aa:a:aa brd ff:ff:ff:ff:ff:ff
4: vboxnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN mode DEFAULT group default qlen 1000
    link/ether 0a:00:27:00:00:00 brd ff:ff:ff:ff:ff:ff

In the output above, lo is my loopback1, em1 is my embedded interface (of you this is eno1). wlp3s0 is my wireless lan controller (pci bus 3 slot 0), vboxnet0 is my virtualbox virtual interface.

  • ip link returns for me 1: and 2: in your list(diff mac address ofc). No wireless. – BobMarleyRasa Aug 6 '14 at 13:51
  • "nick"? My humble search approaches do not give me any results.. – Max Herrmann Mar 11 '16 at 8:53
  • 1
    NIC, as in "Network Interface Card", typo. – Karlo Mar 11 '16 at 8:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.