antonio.raspberry wrote:For me the solution was to first suppress the loading of the modules by blacklisting and load them in a specific order later on:
Thanks a lot, basicbold. I was reluctant to follow your instructions because I did not know exactly what I was doing, but after too many hours trying different solutions I gave it a try and it worked for me.
Just for your information, depmod -ae command gave me a warning, because -e needs -E or -F. I hope this was not important.
Just curious, if the problem was the order of the modules, do you think that swapping the two dongles physically, so that they are detected in different order, would have worked as well?
Anyway, thanks again, I can now move on to the next problem: to get each wlan connected to a specific network. By now I get both connected to the preferred one.
You do realise you are responding to a post more than two years old.
Anyway, to get the wifi adapters to always load with the same name, wlan0 or wlan1, there's no need to get so complicated. Just set up the udev rules as I noted in my post above
then the wifi adapters will always be assigned the same names.
Ideally update the rules with just the wifi adapter you want named wlan0 and reboot the Pi, and then plug in the second wifi adapter which should then be assigned the name wlan1. The wifi adapters will then be assigned the same names whenever you reboot using file /etc/udev/rules.d/70-persistent-net.rules
Connecting to different networks, especially now with the Jessie network changes is likely to be a totally different matter. Previously with wheezy it was easily done by just editing /etc/network/interfaces. Now, with Jessie, well ....
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra
Please post ALL technical questions on the forum. Please Do Not send private messages.