[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Question: eth0 vs enp1s0 (second try)



On 2016-01-02 16:21:11 +0000, Brian wrote:
> On Fri 01 Jan 2016 at 17:22:37 +0100, Vincent Lefevre wrote:
> 
> > On 2016-01-01 12:03:32 +0000, Brian wrote:
> > > On Thu 31 Dec 2015 at 19:08:18 +0100, Hans wrote:
> > > > What do 'ls /sys/class/net' and 'ip link' give without this addition?
> > > > 
> > > > I get:
> > > > 
> > > > ls /sys/class/net/
> > > > 
> > > > enp1s0  Io  wlan0
> > > 
> > > Interesting. One interface is renamed; one is not (wlan0).
> > 
> > On my laptop (installed from Jessie, then upgraded to unstable),
> > this is the opposite:
> > 
> > eth0  lo  wlp61s0
> > 
> > Quite strange...
> 
> Move 70-persistent-net.rules somewhere and do
> 
>   rmmod -v <driver>
> 
> followed by
> 
>   modprobe -v <driver>
> 
> Repeat with 70-persistent-net.rules returned to /etc/udev/rules.d. Any
> changes in 'ls /sys/class/net/'?

Well, I want to keep eth0 on my laptop because I have things
that depend on it. But what I was wondering is why I have
wlp61s0 instead of wlan0, i.e. why a rule for wlan0 hadn't
been added to 70-persistent-net.rules at that time.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


Reply to: