1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/cpu/native
2013-08-15 14:05:26 +02:00
..
include cc1100 -> nativenet 2013-08-15 14:05:26 +02:00
net cc1100 -> nativenet 2013-08-15 14:05:26 +02:00
rtc fixed coding style (space after most keywords) 2013-06-24 22:37:35 +02:00
atomic_cpu.c fixed coding conventions (mostly by astyle) 2013-06-21 03:52:57 +02:00
hwtimer_cpu.c native cc1100x_ng network 2013-08-15 14:05:26 +02:00
irq_cpu.c cc1100 -> nativenet 2013-08-15 14:05:26 +02:00
lpm_cpu.c native cc1100x_ng network 2013-08-15 14:05:26 +02:00
Makefile cc1100 -> nativenet 2013-08-15 14:05:26 +02:00
native_cpu.c cc1100 -> nativenet 2013-08-15 14:05:26 +02:00
README cc1100 -> nativenet 2013-08-15 14:05:26 +02:00
startup.c cc1100 -> nativenet 2013-08-15 14:05:26 +02:00
tapsetup-osx.sh native cc1100x_ng network 2013-08-15 14:05:26 +02:00
tapsetup.sh native cc1100x_ng network 2013-08-15 14:05:26 +02:00
tramp.S inital OSX support for native port 2013-05-15 17:45:43 +02:00

If you compile RIOT for the native cpu and include the native_net
module, you need to specify a network interface like this:
./bin/default-native.elf tap0


SETTING UP A TAP NETWORK
========================

There is a shellscript in RIOT/cpu/native called tapsetup.sh which you
can use to create a network of tap interfaces.

Usage:
To create a bridge and two (or count at your option) tap interfaces:
./tapsetup.sh create [count]
To delete the bridge and all tap interfaces:
./tapsetup.sh delete


OSX
===

For tun/tap networking in OSX you will need:
http://tuntaposx.sourceforge.net/

For OSX there is a seperate script called tapsetup-osx.sh. Usage is
just like the other one.