Manage two wifi card

Moderators: mdrjr, odroid

Manage two wifi card

Unread postby FedericoCoppola » Tue Jun 26, 2018 6:36 pm

Hello,
I need an help about the management of two wifi card connected to my Odroid.
We are using one wlan card (wlan0) as client wifi and we have add another wlan card (wlan1) that it will be an AP.
The wlan0 is configured using wpa_supplicant to connect automatically to our wifi network.
The AP create a new wifi network that we can use just to connect to this odroid and manage it in emergency situations.
Is it possible?
Can there be inconveniences or software conflits?
Thanks
Federico
FedericoCoppola
 
Posts: 5
Joined: Tue Jun 26, 2018 6:24 pm
languages_spoken: english, italian

Re: Manage two wifi card

Unread postby mad_ady » Tue Jun 26, 2018 6:54 pm

No, it should be fine. Just follow regular guides to set one as client and the other as AP. You can even connect from one wifi to the other :)
User avatar
mad_ady
 
Posts: 4710
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: Manage two wifi card

Unread postby igorpec » Tue Jun 26, 2018 8:40 pm

And if you plan to use some power(ful) hungry device as such :D Image consider external powering.
ARMBIAN - follow on Twitter
linux for ARM development boards with user friendly development tools
User avatar
igorpec
 
Posts: 239
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+

Re: Manage two wifi card

Unread postby FedericoCoppola » Tue Jun 26, 2018 9:07 pm

Thanks for your support!
So I will install and configure wpa_supplicant for wlan0 (client mode) and hostapd for wlan1 (AP mode).
wpa_supplicant: https://www.linuxbabe.com/command-line/ ... supplicant
hostapd: https://www.shellvoide.com/wifi/setup-w ... asq-linux/
FedericoCoppola
 
Posts: 5
Joined: Tue Jun 26, 2018 6:24 pm
languages_spoken: english, italian

Re: Manage two wifi card

Unread postby mad_ady » Tue Jun 26, 2018 9:19 pm

Depending on what wifi chips you use you may need to consult odroid wiki for the supplicant steps
User avatar
mad_ady
 
Posts: 4710
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: Manage two wifi card

Unread postby FedericoCoppola » Wed Jun 27, 2018 11:20 pm

mad_ady wrote:Depending on what wifi chips you use you may need to consult odroid wiki for the supplicant steps

Can the change settings?

I know that they are two Dlink WIFI chips and using Ubuntu Mate there aren't particular problem about driver.
I know that Ubuntu Mate identify them without problem.
FedericoCoppola
 
Posts: 5
Joined: Tue Jun 26, 2018 6:24 pm
languages_spoken: english, italian

Re: Manage two wifi card

Unread postby mad_ady » Wed Jun 27, 2018 11:53 pm

For AP mode you generally need a special driver which might depend on wifi chipset vendor.
User avatar
mad_ady
 
Posts: 4710
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: Manage two wifi card

Unread postby FedericoCoppola » Thu Jun 28, 2018 1:19 am

I know that with "lsusb" I can check the driver...Or not?
FedericoCoppola
 
Posts: 5
Joined: Tue Jun 26, 2018 6:24 pm
languages_spoken: english, italian

Re: Manage two wifi card

Unread postby mad_ady » Thu Jun 28, 2018 1:27 am

lsusb -t or lsmod
User avatar
mad_ady
 
Posts: 4710
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: Manage two wifi card

Unread postby FedericoCoppola » Tue Jul 03, 2018 5:56 pm

Thanks for your support!
It is working fine!
FedericoCoppola
 
Posts: 5
Joined: Tue Jun 26, 2018 6:24 pm
languages_spoken: english, italian


Return to Ubuntu

Who is online

Users browsing this forum: No registered users and 4 guests