Skip to content

Running picoTCP on Linux

Toon Peters edited this page Mar 3, 2016 · 23 revisions

[DEPRECATED PAGE]

Prerequisite packages

Please make sure you have the latest version of the following packages installed on your OS:

  • vde2
  • libvdeplug (development files)
  • libpcap (development files)

e.g. for Ubuntu 14.04:

$ sudo apt-get install vde2
$ sudo apt-get install libvdeplug2-dev   
$ sudo apt-get install libpcap0.8-dev   
$ sudo apt-get install openvpn

e.g. for OpenSUSE and derivatives

$ sudo zypper install vde2
$ sudo zypper install libvdeplug3-devel
$ sudo zypper install libpcap-devel

e.g. for Arch Linux

$ sudo pacman -S vde2

Virtual devices

Sometimes you just want to mess around with some code without having hardware near at hand. picoTCP has tun/tap and vde support so it can run natively on your Linux distribution of choice without a problem! For more info we refer to: https://www.kernel.org/doc/Documentation/networking/tuntap.txt
http://sourceforge.net/p/vde/wiki/Home/

Example application

To run an example application, ensure that you first run

make test

to build the application excutables. Once done, refer to the Example application page.

Clone this wiki locally