I need to configure a set of new machines. They all need a set of common WLAN connections I currently have on my machine. I know how to manually retrieve the settings including the passwords using the network-manager GUI.
What I'm looking for are 2 scripts: one to extract all wireless settings (at least SSID and security type/password) into a text format file (XML would be fine), so I can edit and polish it. The other one (unsurprisingly) to write them back (on a new machine).
Any pointers are welcome!
Clarification: I don't want to snoop out passwords in the wireless world, just to ease the process of documenting and distributing what is stored on one machine already.