* [PATCH] doc: move EnableIPv6 under Network
@ 2020-12-18 15:38 Carlo Abelli
2020-12-22 15:37 ` Denis Kenzior
0 siblings, 1 reply; 7+ messages in thread
From: Carlo Abelli @ 2020-12-18 15:38 UTC (permalink / raw)
To: iwd
[-- Attachment #1: Type: text/plain, Size: 1548 bytes --]
The EnableIPv6 option is incorrectly documented under General but should
be documented under Network instead.
---
src/iwd.config.rst | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/iwd.config.rst b/src/iwd.config.rst
index f74e31cf..365494a4 100644
--- a/src/iwd.config.rst
+++ b/src/iwd.config.rst
@@ -74,14 +74,6 @@ The group ``[General]`` contains general settings.
``[Network]`` settings for additional settings related to network
configuration.
- * - EnableIPv6
- - Values: true, **false**
-
- Sets the global default that tells **iwd** whether it should configure
- IPv6 addresses and routes (either provided via static settings,
- Router Advertisements or DHCPv6 protocol). This setting is disabled
- by default. This setting can also be overriden on a per-network basis.
-
* - APRanges
- Values: <IP in prefix notation>
@@ -186,6 +178,14 @@ The group ``[Network]`` contains network configuration related settings.
:widths: 20 80
:align: left
+ * - EnableIPv6
+ - Values: true, **false**
+
+ Sets the global default that tells **iwd** whether it should configure
+ IPv6 addresses and routes (either provided via static settings,
+ Router Advertisements or DHCPv6 protocol). This setting is disabled
+ by default. This setting can also be overriden on a per-network basis.
+
* - NameResolvingService
- Values: resolvconf, **systemd**
--
2.29.2
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] doc: move EnableIPv6 under Network
2020-12-18 15:38 [PATCH] doc: move EnableIPv6 under Network Carlo Abelli
@ 2020-12-22 15:37 ` Denis Kenzior
2020-12-27 13:34 ` flokli
0 siblings, 1 reply; 7+ messages in thread
From: Denis Kenzior @ 2020-12-22 15:37 UTC (permalink / raw)
To: iwd
[-- Attachment #1: Type: text/plain, Size: 321 bytes --]
Hi Carlo,
On 12/18/20 9:38 AM, Carlo Abelli wrote:
> The EnableIPv6 option is incorrectly documented under General but should
> be documented under Network instead.
> ---
> src/iwd.config.rst | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)
>
Applied, thanks.
Regards,
-Denis
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] doc: move EnableIPv6 under Network
2020-12-22 15:37 ` Denis Kenzior
@ 2020-12-27 13:34 ` flokli
2020-12-30 17:35 ` Denis Kenzior
0 siblings, 1 reply; 7+ messages in thread
From: flokli @ 2020-12-27 13:34 UTC (permalink / raw)
To: iwd
[-- Attachment #1: Type: text/plain, Size: 113 bytes --]
Last time I checked, IPv6 RA weren't supported yet. Is this still the case? Also, why does it default to `false`?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] doc: move EnableIPv6 under Network
2020-12-27 13:34 ` flokli
@ 2020-12-30 17:35 ` Denis Kenzior
2020-12-30 18:25 ` KeithG
0 siblings, 1 reply; 7+ messages in thread
From: Denis Kenzior @ 2020-12-30 17:35 UTC (permalink / raw)
To: iwd
[-- Attachment #1: Type: text/plain, Size: 863 bytes --]
Hi,
On 12/27/20 7:34 AM, flokli(a)flokli.de wrote:
> Last time I checked, IPv6 RA weren't supported yet. Is this still the case? Also, why does it default to `false`?
Correct, IPV6 RAs are not yet supported. And this is the reason why IPV6 is
disabled by default.
In iwd versions prior to 1.10 you could let iwd setup IPv4 aspects (using
DHCPv4) and let the kernel handle RAs. But, really, such a setup was broken
because:
- kernel didn't know anything about route metrics to be used by iwd
- details obtained from RAs, like DNS, host names, etc were not configured
- Stateful (DHCPv6) configurations didn't work
Certain setups may have appeared to work, but it was just pure luck. Given the
above, and the fact that iwd's IPv6 support is not yet complete, the safest
option was to disable it by default.
Regards,
-Denis
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] doc: move EnableIPv6 under Network
2020-12-30 17:35 ` Denis Kenzior
@ 2020-12-30 18:25 ` KeithG
2020-12-30 18:29 ` Denis Kenzior
0 siblings, 1 reply; 7+ messages in thread
From: KeithG @ 2020-12-30 18:25 UTC (permalink / raw)
To: iwd
[-- Attachment #1: Type: text/plain, Size: 2216 bytes --]
On Wed, Dec 30, 2020 at 11:56 AM Denis Kenzior <denkenz@gmail.com> wrote:
> Hi,
>
> On 12/27/20 7:34 AM, flokli(a)flokli.de wrote:
> > Last time I checked, IPv6 RA weren't supported yet. Is this still the
> case? Also, why does it default to `false`?
>
> Correct, IPV6 RAs are not yet supported. And this is the reason why IPV6
> is
> disabled by default.
>
> In iwd versions prior to 1.10 you could let iwd setup IPv4 aspects (using
> DHCPv4) and let the kernel handle RAs. But, really, such a setup was
> broken
> because:
> - kernel didn't know anything about route metrics to be used by iwd
> - details obtained from RAs, like DNS, host names, etc were not
> configured
> - Stateful (DHCPv6) configurations didn't work
>
> Certain setups may have appeared to work, but it was just pure luck.
> Given the
> above, and the fact that iwd's IPv6 support is not yet complete, the
> safest
> option was to disable it by default.
>
> Regards,
> -Denis
>
This is interesting to me. I am using connman and iwd (1.10) and have ipv6
enabled on my home network. On my RPi, the ipv6 addresses are listed:
The /etc/iwd/main.conf lists only:
[General]
UseDefaultInterface=true
NameResolvingService=resolvconf
There is nothing referencing ipv6 in connman's main.conf nor in the psk for
the AP I am using. Yet, I get these addresses when iwd negotiates the
connection:
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.2.41 netmask 255.255.255.0 broadcast 192.168.2.255
inet6 fd21:98c8:1d28:0:ba27:xxff:fexx:xxxx prefixlen 64 scopeid
0x0<global>
inet6 fd21:98c8:1d28::41 prefixlen 64 scopeid 0x0<global>
inet6 2600:1700:4320:6caf:ba27:xxff:fexx:xxxx prefixlen 64
scopeid 0x0<global>
inet6 fe80::ba27:xxff:fexx:xxxx prefixlen 64 scopeid 0x20<link>
ether b8:27:xx:xx:xx:xx txqueuelen 1000 (Ethernet)
RX packets 11056898 bytes 8907204479 (8.2 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3810279 bytes 415445265 (396.1 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
How should I disable it? Should I?
Keith
[-- Attachment #2: attachment.htm --]
[-- Type: text/html, Size: 2828 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] doc: move EnableIPv6 under Network
2020-12-30 18:25 ` KeithG
@ 2020-12-30 18:29 ` Denis Kenzior
2020-12-31 1:17 ` KeithG
0 siblings, 1 reply; 7+ messages in thread
From: Denis Kenzior @ 2020-12-30 18:29 UTC (permalink / raw)
To: iwd
[-- Attachment #1: Type: text/plain, Size: 1962 bytes --]
Hi Keith,
> This is interesting to me. I am using connman and iwd (1.10) and have ipv6
If you're using connman, then this discussion isn't really relevant for you.
You should let connman manage IPv4/IPv6 details.
> enabled on my home network. On my RPi, the ipv6 addresses are listed:
> The /etc/iwd/main.conf lists only:
> [General]
> UseDefaultInterface=true
> NameResolvingService=resolvconf
In fact, this setting is useless without EnableNetworkConfiguration=True. And
you should NOT set it if you're using connman. EnableNetworkConfiguration and
NameResolvingService are only needed if you're running iwd standalone or do not
want to use an external network manager, like NM/connman/networkd, for managing
wifi connections.
>
> There is nothing referencing ipv6 in connman's main.conf nor in the psk for the
> AP I am using. Yet, I get these addresses when iwd negotiates the connection:
>
> wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
> inet 192.168.2.41 netmask 255.255.255.0 broadcast 192.168.2.255
> inet6 fd21:98c8:1d28:0:ba27:xxff:fexx:xxxx prefixlen 64 scopeid
> 0x0<global>
> inet6 fd21:98c8:1d28::41 prefixlen 64 scopeid 0x0<global>
> inet6 2600:1700:4320:6caf:ba27:xxff:fexx:xxxx prefixlen 64 scopeid
> 0x0<global>
> inet6 fe80::ba27:xxff:fexx:xxxx prefixlen 64 scopeid 0x20<link>
> ether b8:27:xx:xx:xx:xx txqueuelen 1000 (Ethernet)
> RX packets 11056898 bytes 8907204479 (8.2 GiB)
> RX errors 0 dropped 0 overruns 0 frame 0
> TX packets 3810279 bytes 415445265 (396.1 MiB)
> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
>
> How should I disable it? Should I?
That is a question for the connman mailing list. iwd isn't doing any network
configuration in your case.
Regards,
-Denis
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] doc: move EnableIPv6 under Network
2020-12-30 18:29 ` Denis Kenzior
@ 2020-12-31 1:17 ` KeithG
0 siblings, 0 replies; 7+ messages in thread
From: KeithG @ 2020-12-31 1:17 UTC (permalink / raw)
To: iwd
[-- Attachment #1: Type: text/plain, Size: 2139 bytes --]
On Wed, Dec 30, 2020 at 12:35 PM Denis Kenzior <denkenz@gmail.com> wrote:
> Hi Keith,
>
> > This is interesting to me. I am using connman and iwd (1.10) and have
> ipv6
>
> If you're using connman, then this discussion isn't really relevant for
> you.
> You should let connman manage IPv4/IPv6 details.
>
> > enabled on my home network. On my RPi, the ipv6 addresses are listed:
> > The /etc/iwd/main.conf lists only:
> > [General]
> > UseDefaultInterface=true
> > NameResolvingService=resolvconf
>
> In fact, this setting is useless without EnableNetworkConfiguration=True.
> And
> you should NOT set it if you're using connman. EnableNetworkConfiguration
> and
> NameResolvingService are only needed if you're running iwd standalone or
> do not
> want to use an external network manager, like NM/connman/networkd, for
> managing
> wifi connections.
>
> >
> > There is nothing referencing ipv6 in connman's main.conf nor in the psk
> for the
> > AP I am using. Yet, I get these addresses when iwd negotiates the
> connection:
> >
> > wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
> > inet 192.168.2.41 netmask 255.255.255.0 broadcast
> 192.168.2.255
> > inet6 fd21:98c8:1d28:0:ba27:xxff:fexx:xxxx prefixlen 64
> scopeid
> > 0x0<global>
> > inet6 fd21:98c8:1d28::41 prefixlen 64 scopeid 0x0<global>
> > inet6 2600:1700:4320:6caf:ba27:xxff:fexx:xxxx prefixlen 64
> scopeid
> > 0x0<global>
> > inet6 fe80::ba27:xxff:fexx:xxxx prefixlen 64 scopeid
> 0x20<link>
> > ether b8:27:xx:xx:xx:xx txqueuelen 1000 (Ethernet)
> > RX packets 11056898 bytes 8907204479 (8.2 GiB)
> > RX errors 0 dropped 0 overruns 0 frame 0
> > TX packets 3810279 bytes 415445265 (396.1 MiB)
> > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
> >
> > How should I disable it? Should I?
>
> That is a question for the connman mailing list. iwd isn't doing any
> network
> configuration in your case.
>
> Regards,
> -Denis
>
Denis,
Got it! Thanks for the clarification.
[-- Attachment #2: attachment.htm --]
[-- Type: text/html, Size: 2690 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2020-12-31 1:17 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-18 15:38 [PATCH] doc: move EnableIPv6 under Network Carlo Abelli
2020-12-22 15:37 ` Denis Kenzior
2020-12-27 13:34 ` flokli
2020-12-30 17:35 ` Denis Kenzior
2020-12-30 18:25 ` KeithG
2020-12-30 18:29 ` Denis Kenzior
2020-12-31 1:17 ` KeithG
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.