Hello Allan, On Tue, Jul 14, 2015 at 9:52 PM, Allan Matthew <[email protected]> wrote: > I have two wireless cards connected to my i.MX6. One via USB and one via > PCIe. Both work just fine, but the way they are enumerated at bootup seems > completely random. They always get wlan0 or wlan1, but its never consistent > which one gets which. > > I've tried adding some udev rules that specify the name based on the MAC > address, but they didn't seem to work. > > How do I go about ensuring that the PCI device always gets wlan0 and the USB > device always gets wlan1?
You should look at the persistent rules which Debian and other generic distributions use. Basically those rules rename the device after those are discovered by the kernel and udev receives the event. -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 -- _______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
