Tunslip6 in BR

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

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

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 :