I'm trying to build a script that auto connects to a given network (providing ESSID and Passphrase) and I want to store them, so when ever it's not connected, It searches for the given network, connects.
The problem is that I know there is like a de facto uniform way of saving the known networks as Network Manager does, but I can't find it explicitly.
I want to save any kind of network and the script will determine the method of connection (if
iw-tools, should I use
So the question is: Where can I find this documentation? or What would be the best way to do it (System or User level)?
Or if there is a tool that allows me to connect to any network with approximately the same procedure?
I'm using Arch
<- This is a Meme
But I'm interested on this script working also with