The product I’m working on supports Ethernet only, and we are planning to support WLAN as well. I’m trying to figure out whether same wpa_supplicant can support both of Ethernet and WLAN or we have to have two separate wpa_supplicants for Ethernet and WLAN, has anybody tried the similar thing before?
Asked
Active
Viewed 2,069 times
0
Giacomo1968
- 53,069
- 19
- 162
- 212
Cathy Liao
- 1
- 1
2 Answers
0
I haven't tried it myself but I would expect it to work. Setting up wpa_supplicant for two interfaces is covered here: wpa_supplicant for dual WLAN
…but that's an example with two WLANs, not one WLAN and one LAN.
To set up wpa_supplicant for a wired Ethernet LAN, I believe you have to add "-D wired" to your WPAOPTS, and ap_scan=0, for that interface. But you can find documentation for that elsewhere.
-3
wpa_supplicant is a component that implements key negotiation with a WPA Authenticator and it controls the roaming and IEEE 802.11 authentication/association of the wlan driver.
It is designed to be a “daemon” acting as the backend component controlling the wireless connection.
It has nothing to do on Ethernet.
Giacomo1968
- 53,069
- 19
- 162
- 212
jcbermu
- 17,278
- 2
- 52
- 60
-
1WPA Enterprise and WPA2 Enterprise, that is, the non-PSK versions of WPA and WPA2, use 802.1X authentication and wpa_supplicant acts as the 802.1X supplicant. wpa_supplicant can also be used as your 802.1X supplicant on a wired interface. – Spiff Mar 06 '15 at 17:50