Re: Captive portal detection on wired connections - bug or feature?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 26/03/15 17:50, Dan Williams wrote:
> On Thu, 2015-03-26 at 18:29 +0200, Alexander Ploumistos wrote:
>> On Thu, Mar 26, 2015 at 6:24 PM, Bastien Nocera <bnocera@xxxxxxxxxx> wrote:
>>
>>> You can edit /etc/NetworkManager/conf.d/20-connectivity-fedora.conf to
>>> disable it.
>>>
>>
>> Is there a *proper* way to do that so that there aren't any conflicts with
>> future updates, e.g. commenting the lines out, removing/renaming the file,
>> setting the interval to 0, etc.?
> 
> As Adam implied, you can add your own, higher-numbered file with the
> same options and NM will use those in preference to the Fedora-installed
> one.  See 'man NetworkManager.conf' for specifics.
> 
> ---
>        If a default NetworkManager.conf is provided by your
> distribution's packages, you should not modify it, since your changes
> may get overwritten by
>        package updates. Instead, you can add additional .conf files to
> the conf.d directory. These will be read in order, with later files
> overriding
>        earlier ones.
> ---
> 
> Sorting of filenames is strcmp()-style, so 90-my-stuff.conf takes
> precedence over 10-bad-stuff.conf.

There are still quite a few unknowns.
To summarise, does this locally disable?

  crudini --set /etc/NetworkManager/conf.d/21-connectivity-local.conf connectivity interval 0
  systemctl reload NetworkManager

thanks,
Pádraig.
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux