Skip to content
This repository has been archived by the owner on Sep 20, 2022. It is now read-only.

sniffer: remove old application #12

Merged
merged 1 commit into from
Aug 9, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions ng_sniffer/Makefile

This file was deleted.

127 changes: 0 additions & 127 deletions ng_sniffer/main.c

This file was deleted.

21 changes: 6 additions & 15 deletions sniffer/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,14 @@ BOARD ?= native
# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../../RIOT

# Change this to 0 show compiler invocation lines by default:
QUIET ?= 1

# blacklist all boards without radio support
BOARD_BLACKLIST := arduino-due arduino-mega2560 mbed_lpc1768 msb-430 pttu \
udoo qemu-i386 stm32f0discovery stm32f3discovery \
stm32f4discovery pca10000 pca10005 msbiot samr21-xpro \
yunjia-nrf51822

# Modules to include:

# Define modules that are used
USEMODULE += ng_netif_default
USEMODULE += auto_init_ng_netif
USEMODULE += shell
USEMODULE += shell_commands
USEMODULE += uart0
USEMODULE += ps
USEMODULE += vtimer
USEMODULE += auto_init
USEMODULE += defaulttransceiver

# Change this to 0 show compiler invocation lines by default:
QUIET ?= 1

include $(RIOTBASE)/Makefile.include
4 changes: 2 additions & 2 deletions ng_sniffer/README.md → sniffer/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
About
=====

This application is build to run together with the script `RIOTBASE/dist/tools/ng_sniffer/ng_sniffer.py` as sniffer for (wireless) data traffic. This application works with any board with any network device that supports the gnrc network stack (or precisely the gnrc parts up to the link-layer). Further the network device (and it's driver) needs to support promiscuous and raw mode for usable output. Finally the board needs to include auto-initialization code for the targeted network device.
This application is build to run together with the script `RIOTBASE/dist/tools/sniffer/sniffer.py` as sniffer for (wireless) data traffic. This application works with any board with any network device that supports the gnrc network stack (or precisely the gnrc parts up to the link-layer). Further the network device (and it's driver) needs to support promiscuous and raw mode for usable output. Finally the board needs to include auto-initialization code for the targeted network device.


Usage
=====

Compile and flash this application to the board of your choice. You can check if everything on the RIOT side works by connecting to the board via UART and by checking with `ifconfig` if a network device is available. Further you can check with `ifconfig 4 promisc` if promiscuous mode is supported and with `ifconfig 4 raw` if raw mode is supported by the driver/network device.

For further information on setting up the host part, see `RIOTBASE/dist/tools/ng_snifffer/README.md`.
For further information on setting up the host part, see `RIOTBASE/dist/tools/sniffer/README.md`.
Loading