Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #162702

Re: systemd and variable network (help needed)

From Brian <ad44@cityscape.co.uk>
Newsgroups linux.debian.user
Subject Re: systemd and variable network (help needed)
Date 2016-01-06 15:10 +0100
Message-ID <qNWWJ-2bS-5@gated-at.bofh.it> (permalink)
References <qNV4C-Vs-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed 06 Jan 2016 at 12:45:43 +0100, deloptes wrote:

> I'm willing to start using systemd, but there is one major issue that
> prevent me to do so.
> 
> I have following use cases regarding network setup.
> 
> 1) home office 
>         - my home is on a nfs share 
>         - the nfs share mounted via fstab before user gets to login prompt
>         - eth0 no firewall required
>         - wireless off except bluetooth
> 2) company office 
>         - user has a stand allone profile 
>         - eth0 firewall active (not too strict rules)
>         - wireless and bluetooth off
> 3) on the road
>         - user has a stand allone profile (same as 2)
>         - wireless on, bluetooth off
>         - wlan0 firewall active (strict rules)
> 
> I do this with two custom init script
>         - network script (checks the interface and network/domain) 
>         and updates fstab, resolv.conf + mounts nfs if 1)
>         - firewall script - iptables classic + custom checks
> 
> How can I solve this with systemd? Can I tell systemd to execute a/the
> script after something else was done and where do I set this?
> 
> Debian Jessie in use here

Why not try systemd before anticipating any issues? 'init=/bin/systemd'
on the kernel command line for trial runs.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

systemd and variable network (help needed) deloptes <deloptes@yahoo.com> - 2016-01-06 13:10 +0100
  Re: systemd and variable network (help needed) Brian <ad44@cityscape.co.uk> - 2016-01-06 15:10 +0100
    Re: systemd and variable network (help needed) deloptes <deloptes@yahoo.com> - 2016-01-06 16:20 +0100
      Re: systemd and variable network (help needed) Brian <ad44@cityscape.co.uk> - 2016-01-06 16:50 +0100
        Re: systemd and variable network (help needed) deloptes <deloptes@yahoo.com> - 2016-01-06 20:00 +0100
      Re: systemd and variable network (help needed) Elimar Riesebieter <riesebie@lxtec.de> - 2016-01-07 09:50 +0100
        Re: systemd and variable network (help needed) deloptes <deloptes@yahoo.com> - 2016-01-07 19:40 +0100
        Re: systemd and variable network (help needed) deloptes <deloptes@yahoo.com> - 2016-01-08 08:40 +0100
  Re: systemd and variable network (help needed) Dominique Dumont <dod@debian.org> - 2016-01-08 08:30 +0100
    Re: systemd and variable network (help needed) deloptes <deloptes@yahoo.com> - 2016-01-08 09:00 +0100
    Re: systemd and variable network (help needed) deloptes <deloptes@yahoo.com> - 2016-01-10 00:40 +0100
  Re: systemd and variable network (help needed) [SOLVED] deloptes <deloptes@yahoo.com> - 2016-01-13 09:00 +0100

csiph-web