Possible to use a custom wpa_supplicant.conf file?

Anyone know the wifi setup well enough to tell me how I can specify my own wpa_supplicant.conf file? /tmp/run/wpa_supplicant-wlan0.conf is overwritten when "wifi" command is run, so I'm not sure where the source of this config is stored.

To answer my own question:
/etc/config/wireless under 'config wifi-iface' corresponds to the /tmp/run/wpa_supplicant-wlan0.conf file that is created when "wifi" is run.

2 thoughts;-

  1. Changes SSID of your router make it unique, at least for testing purpose.
  2. Update the "/etc/config/wireless"
config wifi-iface
	option device 'radio0'
	option network 'lan'
	option mode 'sta'
	option ssid 'My_Wireless_Router'
	option bssid 'c0:25:5c:97:6a:b0'
	option encryption 'psk'
	option key 'wirelesspassword'

Thanks - this is helpful.

Now if I could only get wpa_supplicant to run with the -d option so I can see why it's getting deauthorized all the time..