Ozzy
Posts: 2
Joined: Tue Jan 22, 2019 6:22 am

Connect Raspi to two different wifi networks with two wifi adapters

Tue Jan 22, 2019 6:35 am

Hi,

I'm trying to connect to two different wifi networks with the Raspi 3. Therefore I installed a second wifi adapter (wlan1). Both networks are defined in wpa_supplicant.conf. But currently both adapaters are connecting to the same network. How do I have to modify configuration that wlan0 always connect to SSID1 and wlan1 always connect to SSID2 (both in dhcp mode)?

Thanks and best regards!

vinaypundith
Posts: 42
Joined: Thu Dec 13, 2018 12:04 pm
Location: Lexington Park, MD, USA, North America, Earth

Re: Connect Raspi to two different wifi networks with two wifi adapters

Tue Jan 22, 2019 3:21 pm

Just a guess, but in the WiFi menu in the top bar, select your SSID1 for wlan0 and SSID2 for wlan1.
I'm setting up a webpage and email server on a Pi 3B+ running Ubuntu Mate 18.10.
Please read the Unanswered topics section and help with whatever you can!

Ozzy
Posts: 2
Joined: Tue Jan 22, 2019 6:22 am

Re: Connect Raspi to two different wifi networks with two wifi adapters

Wed Jan 23, 2019 4:24 am

Hello,

thanks four your answer. Yes this works - but only for GUI-Mode... But if I have my raspi running "standalone" and connect by SSH both wlan modules are connected to the same (stronger) network...


Return to “Networking and servers”