<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Michael,<br>
<br>
Thanks for looking at this bug, and for pointing me to
/etc/NetworkManager/dispatcher.d/.<br>
<br>
However, this does not allow me the degree of control that I'd like: I
have both a wired and wireless interface, and don't want to modify
accept_ra when connecting to an unknown wireless network.  Having read
man 8 NetworkManager, those scripts receive only the interface name and
state - I'd also need the SSID to give me enough information to do what
I'd like.  On the other hand, the NetworkManager applet provides a nice
place to specify per-SSID (and, of course, per-user) configurations.<br>
<br>
Rather than adding extra controls to the applet configuration dialog,
I'd suggest that one of four things happen:<br>
<ul>
  <li>Adding a method like "Auto, regardless of forwarding state" to
the methods in the IPv6 tab's drop down list, which explicitly sets
accept_ra to 2; or</li>
  <li>Rather than setting accept_ra to 1 for "Automatic", set it to
whatever value was current when NetworkManager first started, allowing
it to be disabled for the "Manual", "Ignore" and "Link-local" cases but
restored to the system policy for "Automatic"; or<br>
  </li>
  <li>NetworkManager should simply not fiddle with accept_ra at all -
it's currently forcing it to the default setting, which is unnecessary
for most users and obstructive for those (like me) with special needs
and the wherewithal to manage it ourselves; or<br>
  </li>
  <li>Pass more information to the /etc/NetworkManager/dispatcher.d
scripts, so that they can be used to implement a per-network policy
rather than a per-interface policy.</li>
</ul>
Regards,<br>
<br>
<br>
John Pearson<br>
<br>
On 09/04/11 08:58, Michael Biebl wrote:
<blockquote cite="mid:4D9F9A15.6080800@debian.org" type="cite">
  <pre wrap="">severity 619346 wishlist
thanks

Am 23.03.2011 02:41, schrieb John Pearson:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Package: network-manager
Version: 0.8.1-6
Severity: important
Tags: ipv6


By default, network-manager allows IPv6 interfaces to use stateless
autoconfiguration based on router advertisements or, failing that,
DHCPv6; in this case, it sets /proc/sys/net/ipv6/conf/&lt;if&gt;/accept_ra
to 1.  This is exposed in the "IPv6 Settings" tab of the Gnome network
manager applet as "Automatic" method.

However if IPv6 foprwarding is enabled on the interface, the kernel
ignores RAs even if accept_ra is set to 1.  This is a sensible default,
but not always appropriate; and the kernel provides for it to be
overridden by setting /proc/sys/net/ipv6/conf/&lt;if&gt;/accept_ra to 2 - then
RAs are acted upon even if IPv6 forwarding is enabled.

Network-manager's curent behaviour prevents me from taking advantage opf
this behaviour, which (for at least some interfaces) is what I actually
need. It should either leave the accept_ra setting alone when the
"Automatic" method is selected, so that the user can specify the
behaviour they want in (e.g.) /etc/sysctl.conf, or provide an additional
option to allow stateless autoconfiguration via RAs even when IPv6
forwarding is enabled.

    </pre>
  </blockquote>
  <pre wrap="">
I think you could use a dispatcher script to manually set the sysctl value to
your likings when the connection is activated. See man 8 NetworkManager .

This is a very special requirement so adding configuration options to the GUI
has the risk of cluttering the interface.

Nonetheless, I'll mark your request as wishlist bug.



Michael


  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-abbreviated" href="mailto:johnp@gtagalenco.com.au">johnp@gtagalenco.com.au</a>  |   The greatest problem in communication is
Network Administrator    | the illusion that it has been accomplished
+61 4 0739 1169          |   - George Bernard Shaw: The Sanity of Art
</pre>
</body>
</html>