Hi, I assume you want to use it with the xbee (otherwise it does make little sense, since this is the only non-Ethernet device we support for native, AFAIK)? If so, please don't use `ethos` as the second interface, but just `netdev_tap` (which is pulled in by default). If you want to be experimental you try to use socket_zep instead of xbee with native [1].
Cheers, Martine [1] https://github.com/RIOT-OS/RIOT/pull/6121 2017-08-24 14:42 GMT+02:00 Baptiste Clenet <bapcle...@gmail.com>: > Hi, > I try to compile and run gnrc_border_router in native so I can have this > setup: > - LINUX > - tap0: gnrc_border_router > - tap1: gnrc_networking > - tapbr0 linking tap0 and tap1 > > Then instead of using ping6 fe80:<ADDR>%tap1, I could use ping6 > 2001:db8:<ADDR>. > Ouput: > RIOT/examples/gnrc_border_router$ make BOARD=native term > make -C ethos > make[2]: rien à faire pour « all ». > make -C uhcpd > make[2]: rien à faire pour « all ». > sudo sh RIOT/dist/tools/ethos/start_network.sh tap0 tap0 tap0 > 2001:db8::/64 > net.ipv6.conf.tap0.forwarding = 1 > net.ipv6.conf.tap0.accept_ra = 0 > Error: ??? prefix is expected rather than "tap0". > Cleaning up... > RIOT/dist/tools/ethos/start_network.sh: 23: kill: Usage: kill [-s > sigspec | -signum | -sigspec] [pid | job]... or > kill -l [exitstatus] > RIOT/examples/gnrc_border_router/../../Makefile.include:380 : la > recette pour la cible « term » a échouée > make: *** [term] Erreur 1 > > First thing: A third tap0 appears I don't know how. If I replace : > TERMFLAGS ?= $(PORT) $(TAP) $(IPV6_PREFIX) > By > TERMFLAGS ?= $(TAP) $(IPV6_PREFIX) > > Output: > RIOT/examples/gnrc_border_router$ make BOARD=native term > make -C ethos > make[2]: rien à faire pour « all ». > make -C uhcpd > make[2]: rien à faire pour « all ». > sudo sh RIOT/dist/tools/ethos/start_network.sh tap0 tap0 2001:db8::/64 > net.ipv6.conf.tap0.forwarding = 1 > net.ipv6.conf.tap0.accept_ra = 0 > Error opening serial device tap0 > Error opening serial device tap0 > Cleaning up... > RIOT/examples/gnrc_border_router/../../Makefile.include:380 : la > recette pour la cible « term » a échouée > make: *** [term] Erreur 1 > > Of course, tap0 is not serial port so how to make border_router work in > native? > > Cheers, > > -- > Baptiste > _______________________________________________ > devel mailing list > devel@riot-os.org > https://lists.riot-os.org/mailman/listinfo/devel >
_______________________________________________ devel mailing list devel@riot-os.org https://lists.riot-os.org/mailman/listinfo/devel