Re: [riot-devel] IPV6 address

2015-11-04 Thread Oleg Hahm
Hi Baptiste, Am Wed, Nov 04, 2015 at 05:01:47PM +0100 schrieb Baptiste Clenet: > Ok I edit my question: > How to add a global unique IPV6 address to RIOT iface? (IPV6 will be > built from a unique EUI64) basically just look at how it is done in the netif code here

Re: [riot-devel] IPV6 address

2015-11-04 Thread Baptiste Clenet
2015-11-04 16:31 GMT+01:00 Baptiste Clenet : > Oleg, where did RIOT find those values for CPUID: > #define SAMD21_CPUID_WORD0 (*(volatile uint32_t *)0x0080A00C) > #define SAMD21_CPUID_WORD1 (*(volatile uint32_t *)0x0080A040) > #define SAMD21_CPUID_WORD2 (*(volatile uint32_t

Re: [riot-devel] IPV6 address

2015-11-04 Thread Baptiste Clenet
Ok I edit my question: How to add a global unique IPV6 address to RIOT iface? (IPV6 will be built from a unique EUI64) 2015-11-04 16:35 GMT+01:00 Baptiste Clenet : > 2015-11-04 16:31 GMT+01:00 Baptiste Clenet : >> Oleg, where did RIOT find those values

Re: [riot-devel] IPV6 address

2015-11-04 Thread Oleg Hahm
Baptiste, > I wanted to update all ifconfig (Pv6 link-local address, Short > address, Long HW address) information from a new EUI-64. > I see that it's what RIOT does at build time then. So I should edit > the EUI64 before IPV6-link-local address is calculated. What should I > edit? (and where

Re: [riot-devel] IPV6 address

2015-11-04 Thread Baptiste Clenet
> Not sure, what you're trying to achieve. The IPv6 link-local address is > calculated at boot time from the node's EUI-64 address and won't be updated > automatically by just changing the node's HW addresses later on. You can > however remove the IPv6 address from the given interface and add a

Re: [riot-devel] IPV6 address

2015-11-04 Thread Baptiste Clenet
Thanks Oleg, I will have a look at it. 2015-11-04 10:05 GMT+01:00 Oleg Hahm : > Baptiste, > >> I wanted to update all ifconfig (Pv6 link-local address, Short >> address, Long HW address) information from a new EUI-64. >> I see that it's what RIOT does at build time then. So

Re: [riot-devel] IPV6 address

2015-11-03 Thread Oleg Hahm
Hi Baptiste! > I want to edit the IPV6 address with a new EUI64. Which is the correct > way to edit the IPV6 address? I tried to edit the Long HWaddr with > gnrc_netapi_set but it doesn't automatically update inet6 addr. > Do I have to update each value (ie Short/Long addr and inet6 addr) or > is

[riot-devel] IPV6 address

2015-11-03 Thread Baptiste Clenet
Hi, I want to edit the IPV6 address with a new EUI64. Which is the correct way to edit the IPV6 address? I tried to edit the Long HWaddr with gnrc_netapi_set but it doesn't automatically update inet6 addr. Do I have to update each value (ie Short/Long addr and inet6 addr) or is there a way to