[riot-users] Unable to use set addr via ifconfig

tobaccopipeyoyo . tobaccopipeyoyo at gmail.com
Tue Mar 8 19:26:13 CET 2016


Hi,
I used the same steps with the "gnrc_networking" example, txtsnd still does
not work for me.
eg
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 =
0.441 ms
12 bytes from fe80::38d0:c2ff:fef4:787: id=83 seq=2 hop limit=64 time =
0.723 ms
12 bytes from fe80::38d0:c2ff:fef4:787: id=83 seq=3 hop limit=64 time =
0.793 ms
--- 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.

Thanks


On Thu, Mar 3, 2016 at 9:38 AM, Cenk G√ľndogan <cenk.guendogan at fu-berlin.de>
wrote:

> Hello Suvrat,
>
> Could you try the same steps again with the `gnrc_networking` example
> instead of the `default` example?
>
> Best,
> Cenk
>
>
> On 03.03.2016 17:35, tobaccopipeyoyo . wrote:
>
> Hi,
> 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.
> LED_GREEN_OFF
> LED_RED_ON
> 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
> 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
> https://github.com/RIOT-OS/RIOT/wiki/Virtual-riot-network
> https://github.com/RIOT-OS/RIOT/wiki/Creating-your-first-RIOT-project
>
> Please advise as to what needs to be done
> My aim is to have 2 instances communicate over the tap interface.
>
> Thanks,
> Suvrat
>
>
>
> _______________________________________________
> users mailing listusers at riot-os.orghttps://lists.riot-os.org/mailman/listinfo/users
>
>
>
> _______________________________________________
> users mailing list
> users at riot-os.org
> https://lists.riot-os.org/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/users/attachments/20160308/cb70ac36/attachment.html>


More information about the users mailing list