Page 2 of 3
Re: IPv6 support on Domoticz
Posted: Tuesday 30 June 2015 0:15
by chimit
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.
Re: IPv6 support on Domoticz
Posted: Tuesday 30 June 2015 14:12
by MacJL
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.
Re: IPv6 support on Domoticz
Posted: Saturday 11 July 2015 10:44
by tlpeter
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

Re: IPv6 support on Domoticz
Posted: Monday 10 August 2015 15:40
by MacJL
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,
Re: IPv6 support on Domoticz
Posted: Sunday 16 August 2015 18:40
by gizmocuz
tlpeter 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

in the latest beta IPV6 for the web server/domoticz remote is implemented
(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 ?

Re: IPv6 support on Domoticz
Posted: Monday 17 August 2015 11:22
by MacJL
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.
Re: IPv6 support on Domoticz
Posted: Monday 17 August 2015 21:04
by chimit
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
Re: IPv6 support on Domoticz
Posted: Tuesday 18 August 2015 8:19
by tlpeter
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
Hi Rene, i asked about how to implement the patch but nobody respond.
Not everybody can implement a patch as not everybody is a software engineer.
I will make a backup image and try it today.
Re: IPv6 support on Domoticz
Posted: Tuesday 18 August 2015 10:58
by chimit
tlpeter wrote:chimit wrote:
I will make a backup image and try it today.
No need to do anything fancy anymore, as the code is in main trunk (beta) already.
Re: IPv6 support on Domoticz
Posted: Tuesday 18 August 2015 11:03
by tlpeter
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.
Re: IPv6 support on Domoticz
Posted: Tuesday 18 August 2015 11:07
by chimit
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
Re: IPv6 support on Domoticz
Posted: Tuesday 18 August 2015 11:35
by tlpeter
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
Re: IPv6 support on Domoticz
Posted: Tuesday 18 August 2015 11:50
by MacJL
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
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.
Are you using domoticz on a Raspberry Pi?
Re: IPv6 support on Domoticz
Posted: Tuesday 18 August 2015 11:55
by tlpeter
Yes I am.
Re: IPv6 support on Domoticz
Posted: Tuesday 18 August 2015 12:03
by MacJL
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
Re: IPv6 support on Domoticz
Posted: Tuesday 18 August 2015 12:08
by tlpeter
Command or uncommand?
This is how it is now:
# Don't load ipv6 by default
alias net-pf-10 off
#alias ipv6 off
Re: IPv6 support on Domoticz
Posted: Tuesday 18 August 2015 12:13
by MacJL
tlpeter wrote:# Don't load ipv6 by default
alias net-pf-10 off
#alias ipv6 off
It's ok
Re: IPv6 support on Domoticz
Posted: Tuesday 18 August 2015 12:18
by tlpeter
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.
Re: IPv6 support on Domoticz
Posted: Tuesday 18 August 2015 12:37
by MacJL
Do you use the 'ping6' command?
Re: IPv6 support on Domoticz
Posted: Tuesday 18 August 2015 12:47
by tlpeter
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
