Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #201898
| From | peter@easthope.ca |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Mystery interface reported by ip. |
| Date | 2018-10-30 18:30 +0100 |
| Message-ID | <wOG02-1ss-17@gated-at.bofh.it> (permalink) |
| References | <wNYs2-Sp-11@gated-at.bofh.it> <wOG02-1ss-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sun, Oct 28, 2018 at 11:18:09AM -0700, peter@easthope.ca wrote:
> > root@joule:/etc# ip link show | grep rename
> > 4: rename4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
> >
> > root@joule:/etc# find . -type f -exec grep "rename4" '{}' \; -print
> > root@joule:/etc#
> >
> > So ip reports an interface named rename4 but it doesn't
> > appear anywhere in /etc/. Where does the name originate?
From: Reco <recoverym4n@enotuniq.net>
Date: Sun, 28 Oct 2018 22:07:46 +0300
> Udev failed to rename this interface to some Predictable™ name.
> I'd search dmesg for clues.
root@joule:/etc# dmesg | grep rename
[ 1.547879] e100 0000:02:08.0 LocLCS218301788: renamed from eth0
[ 20.974490] asix 1-6:1.0 LocLCS1788: renamed from eth1
[ 20.997121] asix 1-3:1.0 rename3: renamed from eth0
So eth0 was renamed to LocLCS218301788.
root@joule:/etc/udev# find . -type f -exec grep "eth0" '{}' \; -print
#ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
./rules.d/70-persistent-net.rules
eth0 is defined in 70-persistent-net.rules.
Why rename it?
LocLCS218301788 existed previously in
/etc/udev/rules.d/70-persistent-net.rules but I shortened the name to
LocLCS1788; as evident here.
root@joule:/etc# grep 1788 /etc/udev/rules.d/70-persistent-net.rules
ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="LocLCS1788"
The old name "LocLCS218301788" was dredged up from somewhere
outside /etc/. Where? Old NIC names are cached?
Thanks, ... Peter E.
--
Message composed and transmitted by software designed to avoid the
need, overhead and vulnerability of antivirus software.
123456789 123456789 123456789 123456789 123456789 123456789 123456789
Tel: +1 360 639 0202 +1
http://easthope.ca/Peter.html Bcc: peter at easthope. ca
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Mystery interface reported by ip. peter@easthope.ca - 2018-10-28 20:00 +0100
Re: Mystery interface reported by ip. Reco <recoverym4n@enotuniq.net> - 2018-10-28 20:10 +0100
Re: Mystery interface reported by ip. peter@easthope.ca - 2018-10-30 18:30 +0100
Re: Mystery interface reported by ip. Reco <recoverym4n@enotuniq.net> - 2018-10-30 19:50 +0100
Re: Mystery interface reported by ip. peter@easthope.ca - 2018-11-02 14:30 +0100
Re: Mystery interface reported by ip. Reco <recoverym4n@enotuniq.net> - 2018-11-09 18:00 +0100
Re: Mystery interface reported by ip. peter@easthope.ca - 2018-11-12 22:40 +0100
Re: Mystery interface reported by ip. Reco <recoverym4n@enotuniq.net> - 2018-11-13 07:10 +0100
Subject: Re: Mystery interface reported by ip. peter@easthope.ca - 2018-11-13 16:40 +0100
Re: Mystery interface reported by ip. peter@easthope.ca - 2018-11-09 18:00 +0100
Re: Mystery interface reported by ip. Greg Wooledge <wooledg@eeg.ccf.org> - 2018-11-09 18:10 +0100
csiph-web