Biohead Posted December 30, 2014 Share Posted December 30, 2014 I've got a raspberry pi, and I'd like to use it with two separate wireless adapters. Is there a way to specify which wireless adaptor connects to which network? Ideally, I'd like wireless adapter 1, to always come up as wlan0, and always connect to network 1 etc. Link to comment Share on other sites More sharing options...
Junner2003 Posted December 31, 2014 Share Posted December 31, 2014 It surely depends on what Linux you're using but, essentially, you would configure 2 WiFi adapters either via Network Manager or manually. It shouldn't be too hard though. Just make sure that you use different channels, so, that one adapter's broadcast doesn't interfere with the other. Since I don't own a Rhasberry and I also don't know what Linux distro we're talking about, I can't give you much more info on the configuration. Link to comment Share on other sites More sharing options...
Biohead Posted December 31, 2014 Author Share Posted December 31, 2014 Thanks guys, I'm still fairly simple when it comes to Linux but at least I know it's possible. The distribution is based on Debian. I try to stick to the command line where possible, so if anyone would be able to point me in the right direction it would be greatly appreciated. Link to comment Share on other sites More sharing options...
+BudMan MVC Posted December 31, 2014 MVC Share Posted December 31, 2014 Curious why you would want/need to do this?. So you are using Raspbian I take it.. But sure you can setup different wireless to connect to different networks. In your network/interfaces file you would setup your wlan0 or wlan1 and point to different wpa_supplicant.conf files that would contain the information you need to connect to whatever network it is you want to connect too. Link to comment Share on other sites More sharing options...
Biohead Posted December 31, 2014 Author Share Posted December 31, 2014 Yep it's Rasbian I'm using. Thanks for the advice Budman, that should work a treat. Is there any danger that, after a reboot, the network adapters might come back up with the interfaces crossed? One of the wireless networks I'm connecting to has mac filtering, and I figured the proper way would be to make sure that adapter is the one that connects to that network. Link to comment Share on other sites More sharing options...
Junner2003 Posted December 31, 2014 Share Posted December 31, 2014 It's rather unlikely that you get your interfaces crossed. They're uniquely identified and unless something happens to your configuration file, you shouldn't have any problems. Link to comment Share on other sites More sharing options...
Recommended Posts