Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #185130
| From | Fungi4All <fungilife@protonmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | RE: name for wireless interface |
| Date | 2017-08-13 23:20 +0200 |
| Message-ID | <ue8sF-3Pl-7@gated-at.bofh.it> (permalink) |
| References | <udMVb-6Q0-3@gated-at.bofh.it> <udVlL-45u-1@gated-at.bofh.it> <ue89k-3tL-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
> From: jratliff@bluemarble.net
> To: 'Dejan Jocic' <jodejka@gmail.com>, debian-user@lists.debian.org
>
> Create file /etc/udev/rules.d/70-persistent-net.rules
>
> Add line:
>
> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
> ATTR{address}=="[MAC_ADDRESS]", ATTR{dev_id}=="0x0", ATTR{type}=="1",
> KERNEL=="wl*", NAME="wlan0"
>
> Replace [MAC_ADDRESS] with the MAC address of your wireless card. Reboot.
>
> This worked for me on a wired card with my MAC and changing KERNEL="wl*" to
> KERNEL="en*" on a bhyve Debian 9 guest.
>
> -----Original Message-----
> From: Dejan Jocic [mailto:jodejka@gmail.com]
> Sent: Sunday, August 13, 2017 3:09 AM
> To: debian-user@lists.debian.org
> Subject: Re: name for wireless interface
>
> On 12-08-17, peter@easthope.ca wrote:
>> A TL-WN722N adapter connected to a stretch system gives these results.
>>
>> peter@imager:~$ lsusb | grep Ath
>> Bus 002 Device 003: ID 0cf3:9271 Atheros Communications, Inc. AR9271
>> 802.11n
>>
>> root@imager:/home/peter# iwlist scan
>> wlxa0f3c10a28f7 Interface doesn"t support scanning : Network is down
>>
>> lo Interface doesn"t support scanning.
>>
>> eth0 Interface doesn"t support scanning.
>>
>> What is the origin of the long name, wlxa0f3c10a28f7?
>> Can a shorter name be assigned?
>>
>> Thanks, ... Peter E.
>>
>>
>> --
>>
>> 123456789 123456789 123456789 123456789 123456789 123456789 123456789
>> Tel: +1 360 639 0202 Pender Is.: +1 250 629 3757
>> http://easthope.ca/Peter.html Bcc: peter at easthope. ca
>>
>
> It was asked many times on this list, and all around generally. Best answer
> would be to look here:
>
> https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfac
> eNames/
>
> It has full explanation of why those long names and what to do if you do not
> like it. It is easy to assign shorter name, if you wish so and is explained
> nicely, with 3 possible methods.
Neither the document or any of you have explained to me why on a single session
the same interface for a wireless connection would repeatedly change names.
wlan0 wlan0mon wlan0monmon ......
Because on a different distribution the interfaces are
enp0s25 for wire
wlp0s29f7u5 for wireless
and never change or drop their connection like debian has been doing for a while.
I go in Debian and try to do an update and upgrade in case the problem goes away
on its own. When the connection gets dropped I leave and try again another day.
Did I mention that none of my other systems have systemd!
I have no idea whether it is related.
Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread
name for wireless interface peter@easthope.ca - 2017-08-13 00:20 +0200
Re: name for wireless interface Fungi4All <fungilife@protonmail.com> - 2017-08-13 00:40 +0200
Re: name for wireless interface peter@easthope.ca - 2017-08-13 03:40 +0200
Re: name for wireless interface David Wright <deblis@lionunicorn.co.uk> - 2017-08-14 20:30 +0200
Re: name for wireless interface Kushal Kumaran <kushal@locationd.net> - 2017-08-13 08:00 +0200
Re: name for wireless interface peter@easthope.ca - 2017-09-07 03:20 +0200
Re: name for wireless interface Dejan Jocic <jodejka@gmail.com> - 2017-08-13 09:20 +0200
RE: name for wireless interface "John Ratliff" <jratliff@bluemarble.net> - 2017-08-13 23:00 +0200
RE: name for wireless interface Fungi4All <fungilife@protonmail.com> - 2017-08-13 23:20 +0200
csiph-web