2

On a freshly imaged stretch lite (it would be the same on a regular stretch or jessie) I've set-up wpa_supplicant.conf with 2 known wifi networks. After boot, the system selects one of the network specified in wpa_supplicant.conf, but how do I select the other one from the command line (without editing wpa_supplicant.conf of course!)?

calocedrus
  • 591
  • 9
  • 12

1 Answers1

2

It is not AFAIK possible to select by SSID, but you can manually select with something like the following.

wpa_cli select_network 1

It is quite a while since I used this, but networks are identified by position in wpa_supplicant.conf.

If you want to prefer one network setting priority is a better method.

Milliways
  • 62,573
  • 32
  • 113
  • 225