[riot-users] Unable to use set addr via ifconfig
tobaccopipeyoyo at gmail.com
Tue Mar 8 19:26:13 CET 2016
I used the same steps with the "gnrc_networking" example, txtsnd still does
not work for me.
txtsnd 6 fe80::38d0:c2ff:fef4 Hello
error: invalid address given
txtsnd 6 ff02::1:fff4:787 Hello
*this one does not return any error but the message "Hello" is not received
on the other end. ping6 works as below.*
ping6 3 ff02::1:fff4:787
12 bytes from fe80::38d0:c2ff:fef4:787: id=83 seq=1 hop limit=64 time =
12 bytes from fe80::38d0:c2ff:fef4:787: id=83 seq=2 hop limit=64 time =
12 bytes from fe80::38d0:c2ff:fef4:787: id=83 seq=3 hop limit=64 time =
--- ff02::1:fff4:787 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2.062811 s
rtt min/avg/max = 0.441/0.652/0.793 ms
However if I setup the udp server and send a udp packet it works.
Can you please list the steps for txtsnd to work.
Also, I do not understand why default/example when run as "make term
PORT=tap0" does not assign ipv6 address to the run in native.
On Thu, Mar 3, 2016 at 9:38 AM, Cenk Gündogan <cenk.guendogan at fu-berlin.de>
> Hello Suvrat,
> Could you try the same steps again with the `gnrc_networking` example
> instead of the `default` example?
> On 03.03.2016 17:35, tobaccopipeyoyo . wrote:
> I am able to run native build after creating tap.
> I run make term PORT=tap0 from the default examples folder.
> After running ifconfig this is what I get
> /home/RIOT/examples/default/bin/native/default.elf tap0
> RIOT native interrupts/signals initialized.
> RIOT native board initialized.
> RIOT native hardware initialization complete.
> main(): This is RIOT! (Version: 2016.03-devel-793-gf7ddeb-Inspiron-N5010)
> Native RTC initialized.
> Welcome to RIOT!
> > ifconfig
> Iface 4 HWaddr: b2:eb:2d:8b:e2:ca
> Source address length: 6
> *Is something missing here *
> After that, I try to set the addr via
> > ifconfig 4 add 2001:db8::1
> ifconfig 4 add 2001:db8::1
> error: unable to add IPv6 address.
> I've referred to the following
> Please advise as to what needs to be done
> My aim is to have 2 instances communicate over the tap interface.
> users mailing listusers at riot-os.orghttps://lists.riot-os.org/mailman/listinfo/users
> users mailing list
> users at riot-os.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users