Skip to content

A virtual showroom with various applications using dtn7

Notifications You must be signed in to change notification settings

dtn7/dtn7-showroom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat

dtn7 showroom

This Docker image contains a virtual showroom and playground for various applications using dtn7-rs. To play with the container docker on arm64 or x64 is needed as well as a VNC client.

Currently, the following example scenarios are included:

  • dtn dwd: delay-tolerant weather warnings
  • dtnchat: a simple text-based dtn chat including a chatbot
  • NNTP DTN: a NNTP-to-DTN gateway for group discussions using thunderbard, pan, etc.
  • dtn7zero: IoT sensor reading and value plotting over DTN, using dtn7zero and dtn7-rs nodes

Running

Only the dtn7showroom.sh script or docker itself are needed:

$ docker run --rm -it --name showroom -p 5901:5901 --privileged -v /tmp/shared:/shared gh0st42/dtn7-showroom

'########::'########:'##::: ##:'########::'######::'##::::'##::'#######::'##:::::'##:'########:::'#######:::'#######::'##::::'##:
 ##.... ##:... ##..:: ###:: ##: ##..  ##:'##... ##: ##:::: ##:'##.... ##: ##:'##: ##: ##.... ##:'##.... ##:'##.... ##: ###::'###:
 ##:::: ##:::: ##:::: ####: ##:..:: ##::: ##:::..:: ##:::: ##: ##:::: ##: ##: ##: ##: ##:::: ##: ##:::: ##: ##:::: ##: ####'####:
 ##:::: ##:::: ##:::: ## ## ##:::: ##::::. ######:: #########: ##:::: ##: ##: ##: ##: ########:: ##:::: ##: ##:::: ##: ## ### ##:
 ##:::: ##:::: ##:::: ##. ####::: ##::::::..... ##: ##.... ##: ##:::: ##: ##: ##: ##: ##.. ##::: ##:::: ##: ##:::: ##: ##. #: ##:
 ##:::: ##:::: ##:::: ##:. ###::: ##:::::'##::: ##: ##:::: ##: ##:::: ##: ##: ##: ##: ##::. ##:: ##:::: ##: ##:::: ##: ##:.:: ##:
 ########::::: ##:::: ##::. ##::: ##:::::. ######:: ##:::: ##:. #######::. ###. ###:: ##:::. ##:. #######::. #######:: ##:::: ##:
........::::::..:::::..::::..::::..:::::::......:::..:::::..:::.......::::...::...:::..:::::..:::.......::::.......:::..:::::..::

==> vnc://127.0.0.1:5901
==> password: sneakers

[...]

You can then connect with any VNC client to the local dtn7 showroom instance with the password sneakers.

NOTE: In case of weird connection problems within the showroom, please make sure that ebtables and sch_netem kernel modules are loaded!

Manually building the container

Just run docker build -t dtn7-showroom . and run it with docker run --rm -it --name showroom -p 5901:5901 --privileged -v /tmp/shared:/shared dtn7-showroom