I'm trying to set up my Arch Linux so that, through non-graphical means, I can connect to a wireless network through profiles on my system.
I have tried net-auto-wireless, and it does everything I have specified, but I want it to be able to connect once it has the ability. For instance, if the first attempt was unsuccessful or if a network becomes within range after the daemon has been started.
Is there a way to do this easily? Is there something with netcfg, net-profiles or similar that I missed?
I read here [ https://bbs.archlinux.org/viewtopic.php?id=110253 ] that netcfg operates in this non-reconnecting way by design (it is said in post #3 that it is in the ArchLinux wiki page for netcfg, but I could not find anything saying this).
If this is the case, is there any way I can seamlessly reconnect? Perhaps through CLI means other than netcfg?
Also, I would rather not use NetworkManager, because the manual for nm-cli (NM's CLI counterpart) stated that polkit-gnome is required to query for non-existing connection credentials, and I just would like a universally-applicable solution (One that will work on an ArchLinux setup that may not have a graphical setup, or headless Linux distributions in general)