Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.networking > #3674
| From | William Unruh <unruh@invalid.ca> |
|---|---|
| Newsgroups | comp.os.linux.networking |
| Subject | Re: how to map devices to a "wlan" name |
| Date | 2016-03-19 01:37 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <nciagh$d2v$1@dont-email.me> (permalink) |
| References | <nci371$nnr$1@dont-email.me> <56eca95d$0$5875$e4fe514c@news.xs4all.nl> |
On 2016-03-19, Gerrit van den Hanenberg <gvdnh@xs4all.nl> wrote: > UDEV normally makes sure they always get the same name > > /etc/udev/rules.d/70-persistent-net.rules the MAC address is used as the > unique identifier > > kristoff wrote: > >> Hi, >> >> >> I want to use a raspberrrypi with two wifi devices (as a meshed-network >> node). They show up a sdevice "wlan0" and "wlan1"; >> >> Question: >> How is determined what device is given what name? Is there a fixed order >> in this. >> >> >> (the problem is I want to configure them in /etc/network/interfaces, but >> as one device runs on the 2.4 Ghz band and the other on 5 Ghz band, they >> have a different configuration). >> >> >> I am looking for a setup which is as generic as possible. (e.d. >> usb-deviceid based, device serial-number ?) >> >> >> Any idea ??? The new procedure numbers them according to their address on the pci bus. Thus you get wlp3s25, or wlp0s6 which are stable, and once you have figured out the mapping from the random numbers to your particular device it will stay that way (unless you put them into some other place on the bus) This was precisely to "solve" the problem you are having. As stated on the older distros, use the udev rules to assign the number to a specific name.
Back to comp.os.linux.networking | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
how to map devices to a "wlan" name kristoff <kristoff@skypro.be> - 2016-03-19 00:35 +0100
Re: how to map devices to a "wlan" name Gerrit van den Hanenberg <gvdnh@xs4all.nl> - 2016-03-19 02:20 +0100
Re: how to map devices to a "wlan" name William Unruh <unruh@invalid.ca> - 2016-03-19 01:37 +0000
Re: how to map devices to a "wlan" name kristoff <kristoff@skypro.be> - 2016-03-20 19:27 +0100
csiph-web