1 |
On Monday, 4 April 2022 16:12:53 BST Jack wrote: |
2 |
> On 4/4/22 01:31, William Kenworthy wrote: |
3 |
> > Is there a way force openrc and wpa_supplicant to map a particular |
4 |
> > access point to an interface or fail? |
5 |
> > |
6 |
> > I have two AP's (each on a different ssid) to connect to so have two |
7 |
> > wifi interfaces - unfortunately they are not equal so I want wlan0 to |
8 |
> > connect to only one particular AP, and wlan1 to the other ... reliably! |
9 |
> > I can manually force it to connect but invariably at the first glitch |
10 |
> > they both end up connected to the same AP (usually the strongest which |
11 |
> > is often not what I want :( |
12 |
> > |
13 |
> > BillK |
14 |
> |
15 |
> I don't know about wpa-supplicant, but I'm using open-rc and KDE, and |
16 |
> KDE's systemsettings Network / Connections screen lets you restrict a |
17 |
> network connection so a specific device. Not sure if this helps you |
18 |
> any, but it would indicate that what you want is possible. |
19 |
> |
20 |
> Jack |
21 |
|
22 |
Look at the example provided in: |
23 |
|
24 |
/usr/share/doc/netifrc-0.7.3/net.example.bz2 |
25 |
|
26 |
You can set a different ssid for each wireless NIC. The wpa_supplicant can be |
27 |
set with credentials for the two APs only. |