FS#35342 - [networkmanager] Add --enable-concheck to ./configure to enable connectivity checking
Attached to Project:
Arch Linux
Opened by Guillaume Chanaud (gehasia) - Friday, 17 May 2013, 20:58 GMT
Last edited by Jan Alexander Steffens (heftig) - Saturday, 18 May 2013, 06:56 GMT
Opened by Guillaume Chanaud (gehasia) - Friday, 17 May 2013, 20:58 GMT
Last edited by Jan Alexander Steffens (heftig) - Saturday, 18 May 2013, 06:56 GMT
|
Details
Hi,
there is a new compilation flag in networkmanager : --enable-concheck which permit to enable connectivity check with those kind of configuration infos: [connectivity] This section controls NetworkManager's optional connectivity checking functionality. This allows NetworkManager to detect whether or not the system can actually access the internet or whether it is behind a captive portal. uri=<uri> The URI of a web page to periodically request when connectivity is being checked. This page should return the header "X- NetworkManager-Status" with a value of "online". Alternatively, it's body content should be set to "NetworkManager is online". The body content check can be controlled by the response option. If this option is blank or missing, connectivity checking is disabled. interval=<seconds> Controls how often connectivity is checked when a network connection exists. If set to 0 connectivity checking is disabled. If missing, the default is 300 seconds. response=<response> If set controls what body content NetworkManager checks for when requesting the URI for connectivity checking. If missing, defaults to "NetworkManager is online" It depends on libsoup which is already integrated as a "depends" in the PKGBUILD. So it's just a matter of adding "--enable-concheck" somewhere in the build section ./configure line. This is a recent feature, and i'm pretty sure it's has just been not seen by package maintainers. (this feature is usefull for those who a running frequently behind captive portal, or those who are coding some precise things with d-bus/NetworkManager) Thanks ! |
This task depends upon
Closed by Jan Alexander Steffens (heftig)
Saturday, 18 May 2013, 06:56 GMT
Reason for closing: Works for me
Saturday, 18 May 2013, 06:56 GMT
Reason for closing: Works for me
Comment by
Jan Alexander Steffens (heftig) -
Saturday, 18 May 2013, 06:56 GMT
It's already enabled thanks to the libsoup dependency.