Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #194835

Re: how to find out ethernet device name

From Curt <curty@free.fr>
Newsgroups linux.debian.user
Subject Re: how to find out ethernet device name
Date 2018-04-18 10:40 +0200
Message-ID <vFQNc-n0-7@gated-at.bofh.it> (permalink)
References <vFGut-1QH-5@gated-at.bofh.it> <vFGut-1QH-3@gated-at.bofh.it> <vFGE9-1Uk-1@gated-at.bofh.it>
Organization Unorganized

Show all headers | View raw


On 2018-04-17, Don Armstrong <don@debian.org> wrote:
> On Tue, 17 Apr 2018, Long Wind wrote:
>> we used to call them eth0, eth1 ...now we use new names
>> i have a ethernet card in stretchhow to find out its name? Thanks!
>
> sudo ip link;

Do you need sudo for that (would I get something else here if I was
root)?

(I tried as root and cannot distinguish between the two outputs but won't paste that
here so as to not beat the thing over the head too hard.)

curty@einstein:~$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
    link/ether c8:9c:dc:6f:d3:11 brd ff:ff:ff:ff:ff:ff

> will show you what the available interface names are.
>
>


-- 
"Three prisoners were locked in a cell. When the largest of them finished his
food, he immediately ate the others. Too bad. An apostrophe in the right place
might have prevented a horrible crime." Joe Gunn

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

how to find out ethernet device name Long Wind <longwind2@yahoo.com> - 2018-04-17 23:40 +0200
  Re: how to find out ethernet device name Don Armstrong <don@debian.org> - 2018-04-17 23:50 +0200
    (solved) Re: how to find out ethernet device name Long Wind <longwind2@yahoo.com> - 2018-04-18 00:00 +0200
    Re: how to find out ethernet device name Ben Caradoc-Davies <ben@transient.nz> - 2018-04-18 00:20 +0200
      Re: how to find out ethernet device name Dan Purgert <dan@djph.net> - 2018-04-18 14:30 +0200
        Re: how to find out ethernet device name Brian <ad44@cityscape.co.uk> - 2018-04-18 14:50 +0200
    Re: how to find out ethernet device name Curt <curty@free.fr> - 2018-04-18 10:40 +0200
      Re: how to find out ethernet device name Greg Wooledge <wooledg@eeg.ccf.org> - 2018-04-18 15:00 +0200

csiph-web