IPv6 support on Domoticz
Moderators: leecollings, remb0
- chimit
- Posts: 259
- Joined: Saturday 18 April 2015 18:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: master
- Location: Rotterdam, the Netherlands
- Contact:
Re: IPv6 support on Domoticz
Okay. Forget about the hassle with patches and stuff.
Since we are using SVN, why not use it?
You can check out the IPv6-enabled code via svn checkout svn://svn.code.sf.net/p/domoticz/code/branches/ipv6 domoticz-ipv6
Via this channel, it's a lot easier to distribute updates and bug fixes, compared to patch files.
In fact, one of the .diff files in the earlier post made the code not compile on Debian. This has been solved in the above branch.
So from now on this is the official way to test this piece of code. All users are encouraged to participate. So even if you can't code, you can still contribute to Domoticz "open-source".
I will try to keep this branch in sync with the SVN head version as much as possible.
Since we are using SVN, why not use it?
You can check out the IPv6-enabled code via svn checkout svn://svn.code.sf.net/p/domoticz/code/branches/ipv6 domoticz-ipv6
Via this channel, it's a lot easier to distribute updates and bug fixes, compared to patch files.
In fact, one of the .diff files in the earlier post made the code not compile on Debian. This has been solved in the above branch.
So from now on this is the official way to test this piece of code. All users are encouraged to participate. So even if you can't code, you can still contribute to Domoticz "open-source".
I will try to keep this branch in sync with the SVN head version as much as possible.
-
- Posts: 51
- Joined: Tuesday 22 April 2014 22:17
- Target OS: OS X
- Domoticz version: Beta
- Location: France
- Contact:
Re: IPv6 support on Domoticz
I've compiled it on Fedora. It seems to work great both in IPv4 and IPv6. The server works has both IPv4 and IPv6 address.
-
- Posts: 191
- Joined: Wednesday 26 November 2014 18:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: IPv6 support on Domoticz
May i ask about the status?
I see SVN being mentioned but i do not know how that all works.
I can test but compiling stuff is a no go for me
I see SVN being mentioned but i do not know how that all works.
I can test but compiling stuff is a no go for me

-
- Posts: 51
- Joined: Tuesday 22 April 2014 22:17
- Target OS: OS X
- Domoticz version: Beta
- Location: France
- Contact:
Re: IPv6 support on Domoticz
Hello
I have a problem with the System Alive checker (Ping) with the IPv6 version. The ping devices works great with an IPv4, but does not with an IPv6 or a hostname. Same hostname works with th 'IPv4 only' version.
Regards,
I have a problem with the System Alive checker (Ping) with the IPv6 version. The ping devices works great with an IPv4, but does not with an IPv6 or a hostname. Same hostname works with th 'IPv4 only' version.
Regards,
- gizmocuz
- Posts: 2552
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: IPv6 support on Domoticz
in the latest beta IPV6 for the web server/domoticz remote is implementedtlpeter wrote:May i ask about the status?
I see SVN being mentioned but i do not know how that all works.
I can test but compiling stuff is a no go for me
(not for the system alive checker (ping), someone have to supply a patch for this)
Why don't you keep your in-house devices IPV4 ? that makes total sense
(connections from the internet IPV6, translated to internal IPV4, makes sense too)
you know there are many private IPV4 addresses you could use internally ?

Quality outlives Quantity!
-
- Posts: 51
- Joined: Tuesday 22 April 2014 22:17
- Target OS: OS X
- Domoticz version: Beta
- Location: France
- Contact:
Re: IPv6 support on Domoticz
gizmocuz wrote:in the latest beta IPV6 for the web server/domoticz remote is implemented
Thank you. Connection in IPv6 seems to work.
But I have a problem whith Local networks which can access without a password in IPv6. If you putt "::1" as a network which can access without password, it does'nt work.
See the conf I've tested in attached file.
- Attachments
-
- ScreenShot002.png (22.72 KiB) Viewed 2475 times
- chimit
- Posts: 259
- Joined: Saturday 18 April 2015 18:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: master
- Location: Rotterdam, the Netherlands
- Contact:
Re: IPv6 support on Domoticz
Thanks, MacJL.
This is why the IPv6 patch was available for testing a long time, but no one seemed interested.
Anyway, I will test as well. And see for a solution, when I get the time for it.
== Rene
This is why the IPv6 patch was available for testing a long time, but no one seemed interested.
Anyway, I will test as well. And see for a solution, when I get the time for it.
== Rene
-
- Posts: 191
- Joined: Wednesday 26 November 2014 18:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: IPv6 support on Domoticz
Hi Rene, i asked about how to implement the patch but nobody respond.chimit wrote:Thanks, MacJL.
This is why the IPv6 patch was available for testing a long time, but no one seemed interested.
Anyway, I will test as well. And see for a solution, when I get the time for it.
== Rene
Not everybody can implement a patch as not everybody is a software engineer.
I will make a backup image and try it today.
- chimit
- Posts: 259
- Joined: Saturday 18 April 2015 18:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: master
- Location: Rotterdam, the Netherlands
- Contact:
Re: IPv6 support on Domoticz
No need to do anything fancy anymore, as the code is in main trunk (beta) already.tlpeter wrote:chimit wrote: I will make a backup image and try it today.
-
- Posts: 191
- Joined: Wednesday 26 November 2014 18:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: IPv6 support on Domoticz
Hi Chimit, i have no clue what you are talking about
a db backup is enough you mean?
Two days ago after an upgrade the PI did not boot anymore and perhaps it had something to do about IPv6 implemented with a workaround while IPv6 was implemented in Domoticz but i am not sure.
I rather spend some time on the image than reinstalling the lot which also took me some hours in the end including finetuning everything.

a db backup is enough you mean?
Two days ago after an upgrade the PI did not boot anymore and perhaps it had something to do about IPv6 implemented with a workaround while IPv6 was implemented in Domoticz but i am not sure.
I rather spend some time on the image than reinstalling the lot which also took me some hours in the end including finetuning everything.
- chimit
- Posts: 259
- Joined: Saturday 18 April 2015 18:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: master
- Location: Rotterdam, the Netherlands
- Contact:
Re: IPv6 support on Domoticz
Ah... Sorry, I misinterpreted.
I meant an update is sufficient, no need to do anything fancy anymore besides that, like patching the code or something like that.
And true... a backup is always convenient.
== Rene
I meant an update is sufficient, no need to do anything fancy anymore besides that, like patching the code or something like that.
And true... a backup is always convenient.
== Rene
-
- Posts: 191
- Joined: Wednesday 26 November 2014 18:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: IPv6 support on Domoticz
I just upgraded but no IPv6 at all
When i do an ifconfig then i only have an IPv4 address.
I have native IPv6 implemented by XS4all.
All traffic first checks for IPv6 like www.google.com and if they have IPv6 then this is used, if not IPv4 kicks in.
With the workaround mentioned before the PI got an IPv6 address (not always) but now it doesn't
When i do an ifconfig then i only have an IPv4 address.
I have native IPv6 implemented by XS4all.
All traffic first checks for IPv6 like www.google.com and if they have IPv6 then this is used, if not IPv4 kicks in.
With the workaround mentioned before the PI got an IPv6 address (not always) but now it doesn't
-
- Posts: 51
- Joined: Tuesday 22 April 2014 22:17
- Target OS: OS X
- Domoticz version: Beta
- Location: France
- Contact:
Re: IPv6 support on Domoticz
You have to enable IPv6 on the OS before being able to use it with domoticz. The update of domoticz was just to listen to IPv6 connections.tlpeter wrote:I just upgraded but no IPv6 at all
When i do an ifconfig then i only have an IPv4 address.
I have native IPv6 implemented by XS4all.
All traffic first checks for IPv6 like http://www.google.com and if they have IPv6 then this is used, if not IPv4 kicks in.
With the workaround mentioned before the PI got an IPv6 address (not always) but now it doesn't
Are you using domoticz on a Raspberry Pi?
-
- Posts: 191
- Joined: Wednesday 26 November 2014 18:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: IPv6 support on Domoticz
Yes I am.
-
- Posts: 51
- Joined: Tuesday 22 April 2014 22:17
- Target OS: OS X
- Domoticz version: Beta
- Location: France
- Contact:
Re: IPv6 support on Domoticz
Try to comment the line :
alias ipv6 off
in the file : /etc/modprobe.d/ipv6.conf
and reboot the Pi.
[Edit]
If it's not working, add 'ipv6' to /etc/modules :
echo "ipv6" >> /etc/modules
alias ipv6 off
in the file : /etc/modprobe.d/ipv6.conf
and reboot the Pi.
[Edit]
If it's not working, add 'ipv6' to /etc/modules :
echo "ipv6" >> /etc/modules
-
- Posts: 191
- Joined: Wednesday 26 November 2014 18:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: IPv6 support on Domoticz
Command or uncommand?
This is how it is now:
# Don't load ipv6 by default
alias net-pf-10 off
#alias ipv6 off
This is how it is now:
# Don't load ipv6 by default
alias net-pf-10 off
#alias ipv6 off
-
- Posts: 51
- Joined: Tuesday 22 April 2014 22:17
- Target OS: OS X
- Domoticz version: Beta
- Location: France
- Contact:
Re: IPv6 support on Domoticz
It's oktlpeter wrote:# Don't load ipv6 by default
alias net-pf-10 off
#alias ipv6 off
-
- Posts: 191
- Joined: Wednesday 26 November 2014 18:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: IPv6 support on Domoticz
putting the ipv6 in to modules works.
Thanks.
Edit still can't ping www.google.com by IPv6
IPv4 still seems to be used first at all times.
Thanks.
Edit still can't ping www.google.com by IPv6
IPv4 still seems to be used first at all times.
-
- Posts: 51
- Joined: Tuesday 22 April 2014 22:17
- Target OS: OS X
- Domoticz version: Beta
- Location: France
- Contact:
Re: IPv6 support on Domoticz
Do you use the 'ping6' command?
-
- Posts: 191
- Joined: Wednesday 26 November 2014 18:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: IPv6 support on Domoticz
No (stupid me)
When i do then i do not see an IPv6 address but also no IPv4 address which normally does so i guess it works
My brain is working half because of my holiday i guess
When i do then i do not see an IPv6 address but also no IPv4 address which normally does so i guess it works

My brain is working half because of my holiday i guess

Who is online
Users browsing this forum: No registered users and 1 guest