[riot-devel] Tunslip6 in BR

Ilias Seitanidis iliasseitanidis at gmail.com
Fri Feb 5 13:14:22 CET 2016


Hello Cenk,
Thank you for your reply!
I use Ubuntu 14.04 .
When I use the [1] it stops immediately so there is no fun interface when I
type ifconfig.On the other hand when I type :

tunslip6 -L -B 115200 -v5 -s /dev/ttyACM0 aaaa::1/64, the interface exists
when I type ifconfig. With the second one I can also see some activity ,
write slip/write tun0, but after a few seconds it stops working , interface
down.
Thank you!
Best,
Ilias


On Feb 5, 2016 1:07 PM, "Cenk G√ľndogan" <cenk.guendogan at fu-berlin.de> wrote:

> Hello Ilias,
>
> * What kind of operating system do you use?
> * Can you verify after calling the tunslip6 tool that the tun interface
> was created successfully?
>    You can verify by typing `ifconfig` or `ip a`.
>
> Best,
> Cenk
>
> On 05.02.2016 10:59, Ilias Seitanidis wrote:
>
>
> Dear all,
>
> I followed the [1]{a} . But I get the following error:
>
> tunslip6: serial_to_tun: write: Invalid argument
> ifconfig tu323 down
> netstat -nr | awk '{ if ($2 == "tu323") print "route delete -net "$1; }' |
> sh
>
>
> then after a small search I found this on Contiki page(Given that is
> ported by Contiki):
> tunslip6 -L -B 115200 -v5 -s /dev/ttyACM0 aaaa::1/64
> {b}
> but still :
>
> tunslip6: serial_to_tun: write: Invalid argument
> 0033.032 ifconfig tun0 down
> 0033.044 netstat -nr | awk '{ if ($2 == "tun0") print "route delete -net
> "$1; }' | sh
>
>
> The only difference was that in {b} I received that error after a few
> seconds and not immediately as in {a}.
>
>
> Thank you in advance!!!
>
>
> [1]
> https://github.com/RIOT-OS/RIOT/tree/master/examples/gnrc_border_router
>
>
>
> _______________________________________________
> devel mailing listdevel at riot-os.orghttps://lists.riot-os.org/mailman/listinfo/devel
>
>
>
> _______________________________________________
> devel mailing list
> devel at riot-os.org
> https://lists.riot-os.org/mailman/listinfo/devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/devel/attachments/20160205/55629f2d/attachment.html>


More information about the devel mailing list