On 2014-11-24 22:50, Mathias Homann wrote:
The problem is that SuSEFirewall2 can't have the
same interface in different
zones depending on which wireless you connect to.
The problem also is that SCPM is not working with systemd, so it can't be used
to switch configurations on boot based on which WiFi you're *going* to connect
If it is only the firewall, you can keep different firewall configs in a
directory, and switch them with a script.
I could code something if I wanted to, as long as it is only just a
limited, known, and small number of files to keep track of.
Let me see... keep a backup of the files you want under a directory per
profile, perhaps under /root, and another file listing the current
profile name (and list of files). When going to switch to a different
profile, rsync (or unison) the active files to the previous profile
backup, then copy the new profile files from backup to active place,
then restart the affected services. Perhaps stop them before switching
Doable for a limited number of files, complicated for a generic case,
like scpm did.
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 "Bottle" at Telcontar)