138 reputation
5
bio website scis.athabascau.ca/scis/staff/…
location British Columbia, Canada
age 59
visits member for 2 years, 10 months
seen Dec 15 '13 at 3:47
Computer Science instructor, Athabasca University Prism rebreather diver Glassblower

Apr
25
comment wlan number assignment
For raspbian, the wlan number is set based on the mac address of the wireless device (in this case, whichever one is plugged into the USB port). It allocates numbers (wlan0, wlan1, etc.) based on the order it first sees a new mac address when it recognizes and configures the wireless device. Editing this file as you suggest allows you to set any device to any wlan# by it's static IP. - thanks.
Apr
25
comment wlan number assignment
The file where specific wlan assignments are stored on this (latest, I think) version of raspbian is: /etc/udev/rules.d/70-persistent-net.rules. I found this out using your info above and then typing "man udev" to see why I could not find 'wlan' in the /lib/udev/rules.d directory.
Apr
25
comment wlan number assignment
Thanks very much. This is debian on the raspberry pi (raspbian) so the persistent storage is just a bit different.