You are not logged in.

#1 2013-09-28 17:04:51

Aton
Member
Registered: 2013-04-02
Posts: 70

WLAN interface renamed from wlp3s0 to wls1

Hi,

my WLAN interface got renamed from wlp3s0 to wls1.
I believe this happened with the latest kernel update.
The ethernet name remained unchanged.
Is this happening to anyone else?
Wasn't the new naming scheme supposed to prevent such a thing from happening?

Offline

#2 2013-09-28 17:20:44

zezadas
Member
Registered: 2013-04-11
Posts: 35

Re: WLAN interface renamed from wlp3s0 to wls1

i'm cool
maybe is something to do with udev

Offline

#3 2013-09-28 21:39:55

will.price94
Member
From: UK
Registered: 2011-11-09
Posts: 63
Website

Re: WLAN interface renamed from wlp3s0 to wls1

The same happened to me too. I haven't looked into it yet though tongue Annoyingly it was just as I was switching from NM to netctl, so I was very confused when I got messages saying 'no wlp3s0'!

Offline

#4 2013-09-30 13:40:02

mavant
Member
Registered: 2013-09-30
Posts: 11

Re: WLAN interface renamed from wlp3s0 to wls1

I'm having the same issue, and it's messed up all my netctl profiles. Ethernet interfaces are not renamed.

Offline

#5 2013-09-30 13:44:06

mavant
Member
Registered: 2013-09-30
Posts: 11

Re: WLAN interface renamed from wlp3s0 to wls1

I'm having the same issue. Ethernet interfaces are not renamed.

Last edited by mavant (2013-09-30 13:52:16)

Offline

#6 2013-09-30 13:47:05

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: WLAN interface renamed from wlp3s0 to wls1

This happened with my kernel (ck) upgrade from 3.11.2 to 3.11.3, a downgrade fixed it.

Are you all using an intel wireless card?  Here's mine:

lspci -vnn | grep -i net
03:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection [8086:4237]

Last edited by Trilby (2013-09-30 13:48:49)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#7 2013-09-30 13:53:58

mavant
Member
Registered: 2013-09-30
Posts: 11

Re: WLAN interface renamed from wlp3s0 to wls1

Yes, same or similar card.

[root@alobar netctl]# lspci -vnn | grep -i net
00:19.0 Ethernet controller [0200]: Intel Corporation 82567LM Gigabit Network Connection [8086:10f5] (rev 03)
03:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection [8086:4237]

A quick and dirty fix, if anyone wants it:

sudo rename wlp3s0 wls1 /etc/netctl/*
sudo sed -i 's/wlp3s0/wls1/g' /etc/netctl/*

Offline

#8 2013-09-30 14:03:30

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: WLAN interface renamed from wlp3s0 to wls1

mavant, did that work for you?  I was not able to connect with wls1 - I could scan, but wpa_supplicant wouldn't connect.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#9 2013-09-30 14:20:46

mavant
Member
Registered: 2013-09-30
Posts: 11

Re: WLAN interface renamed from wlp3s0 to wls1

Yeah, that worked for me. What does

systemctl status netctl-auto@wls1.service

output? Might not be enabled?

Or we could change the name of the interface back with a udev rule (but I haven't tried this, and it might be problematic if the kernel changes back):

echo -n 'SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="' > /etc/udev/rules.d/10-network.rules &&
cat /sys/class/net/wls1/address | tr -d "\n" >> /etc/udev/rules.d/10-network.rules &&
echo -n '", NAME="wlp3s0"' >> /etc/udev/rules.d/10-network.rules

and then reboot.

Last edited by mavant (2013-09-30 14:24:18)

Offline

#10 2013-09-30 14:26:52

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: WLAN interface renamed from wlp3s0 to wls1

I don't use netctl, so the status is irrelevant.  Are you on a secure or open network?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#11 2013-09-30 14:42:43

mavant
Member
Registered: 2013-09-30
Posts: 11

Re: WLAN interface renamed from wlp3s0 to wls1

'Secure' - but WEP, so neither, really.

Is wpa_supplicant being started with wls1 or wlp3s0?

Last edited by mavant (2013-09-30 14:45:38)

Offline

#12 2013-09-30 15:02:27

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: WLAN interface renamed from wlp3s0 to wls1

I ran it with wls1, I can post the verbose output to help further troubleshoot later today (~8hrs), but as this happened right as I arrived at work, I just went with the first functional solution to get up and running which was to downgrade the kernel.

EDIT: update, I'm not sure what I had done wrong, but the new interface name works just fine.  I am still curious why a "predictable" name would change.

Last edited by Trilby (2013-10-09 15:36:43)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#13 2013-10-09 09:28:43

Minsc
Member
Registered: 2012-07-16
Posts: 95

Re: WLAN interface renamed from wlp3s0 to wls1

Hi,

For reason my network interface names keep changing (Asus Laptop).

Recently, my onboard wireless was called wlp2s0. It's now changed to wls1.

My ethernet also changed from enp4s0f5 to ens5f5.

There have been no hardware changes. Is there any reason for this?

Thanks

Offline

#14 2013-10-09 15:34:46

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,196

Re: WLAN interface renamed from wlp3s0 to wls1

Merging threads


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#15 2013-10-09 21:45:21

Minsc
Member
Registered: 2012-07-16
Posts: 95

Re: WLAN interface renamed from wlp3s0 to wls1

ewaller wrote:

Merging threads

Oops, thanks - I missed this thread.

My NICs:

$ lspci -v | grep -i net
02:00.0 Network controller: Intel Corporation Centrino Wireless-N 1000 [Condor Peak]
04:00.5 Ethernet controller: JMicron Technology Corp. JMC250 PCI Express Gigabit Ethernet Controller (rev 03)

Offline

#16 2013-10-09 21:57:32

slytux
Member
From: New York
Registered: 2010-09-25
Posts: 136

Re: WLAN interface renamed from wlp3s0 to wls1

Check if the /etc/udev/rules.d/80-net-name-slot.rules file exists

Offline

#17 2013-10-09 22:00:21

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: WLAN interface renamed from wlp3s0 to wls1

slytux wrote:

Check if the /etc/udev/rules.d/80-net-name-slot.rules file exists

Did you read the rest of the thread?

Offline

Board footer

Powered by FluxBB