|
|
Subscribe / Log in / New account

systemd & the tightly couple core band vs a world of many inits

systemd & the tightly couple core band vs a world of many inits

Posted Apr 27, 2012 22:14 UTC (Fri) by jimparis (guest, #38647)
In reply to: systemd & the tightly couple core band vs a world of many inits by zlynx
Parent article: Shuttleworth: Quality has a new name

A plugin might be overkill. Is putting your scripts in /etc/NetworkManager/dispatcher.d not sufficient? It seems that you would just have to check that the interface coming up is your VPN, and then do your named config magic as usual.


to post comments

systemd & the tightly couple core band vs a world of many inits

Posted Apr 28, 2012 1:45 UTC (Sat) by jspaleta (subscriber, #50639) [Link] (1 responses)

by plugin do you mean a script networkmanager's dispatcher.d facilility that fires on network up/down?

i just want to be clear as to what you have attempted.

-jef

systemd & the tightly couple core band vs a world of many inits

Posted Apr 28, 2012 2:29 UTC (Sat) by jspaleta (subscriber, #50639) [Link]

replying to myself... somehow i punched the wrong comment to reply to and i was too late to be relevant anyways. Please ignore me.. just this once.

-jef

systemd & the tightly couple core band vs a world of many inits

Posted Apr 28, 2012 21:02 UTC (Sat) by zlynx (guest, #2285) [Link] (2 responses)

I just looked around at the man pages and http://live.gnome.org/NetworkManager

Do you realize the dispatch stuff isn't documented anywhere?

Besides that, NM makes it quite difficult to use DHCP and still point the DNS at ::1.

Which seems to be why someone wrote the dns=plugin stuff that is in the NetworkManager configuration file.

systemd & the tightly couple core band vs a world of many inits

Posted Apr 29, 2012 0:44 UTC (Sun) by jimparis (guest, #38647) [Link] (1 responses)

> Do you realize the dispatch stuff isn't documented anywhere?

On my system, it's the majority of the "Description" section in "man networkmanager". See http://linux.die.net/man/8/networkmanager

> Besides that, NM makes it quite difficult to use DHCP and still point the DNS at ::1.

Under your IPv4 or IPv6 settings tab, just set the "method" to "Automatic (DHCP) addresses only" or "Automatic, addresses only". Then fill in the DNS servers yourself.

systemd & the tightly couple core band vs a world of many inits

Posted May 1, 2012 6:50 UTC (Tue) by zlynx (guest, #2285) [Link]

Hmm. Sure enough, it is there in the Description section. I never saw it. I probably skipped Description in order to get to the good stuff. It seems to me that most man pages put a description in Description and then the actually useful information in other sections.

Or it is possible that I was logged into a CentOS 5 system when I ran the man command. NetworkManager 0.7 (the RHEL 5 version) has a dispatcher.d directory, but nothing in the man page about it. And this time I double-checked.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds