Compile and Install

1. Check your OS

P2P@i is now available on following OSes.

  • NetBSD 4 Beta
  • Linux 2.6
    • Debian etch
    • Ubuntu 6.10
    • OpenSuSE 10.2
    • Fedora Core 6
  • MacOS X
    • Panther
    • Tiger (Power PC)
    • Tiger (i386)

2. Download Sourfe Files

Download source code from or CVS pserver:

% cvs login
% cvs -z3 co -P p2pati

3. Compile and Install

P2P@i requires following libraries and tools:

  • libtool 1.5.22 or later
  • automake 1.9.6 or later
  • autoconf 2.13 or later
  • OpenSSL 0.9.8c libcrypto library and headers
  • If you use MacOS X, you have to install only XCode.

Enable/Install tap driver:

  • NetBSD and Linux: Enable kernel option. Generally, it may be already enabled.
  • MacOS X: Get from tun/tap driver for MacOS X and install it.

Compile and Install:

% cd p2pati
% ./
% ./configure
% make
% su
# make install

Change permission of config files:

# chmod 600 /usr/local/etc/p2pati/*

Change user and password for WEB UI

# vi /usr/local/etc/p2pati/p2patid.conf

Start P2P@i Daemon and Use it

Start P2P@i:

# /usr/local/sbin/p2patid

If you want to run as daemon, use -d option:

# /usr/local/sbin/p2patid -d

If you want to use another port, use -w and -p options.
-w and -p decide port numbers for HTTP and the P2P Newtork.

# /usr/local/sbin/p2patid -d -p 4649 -w 9200

Access to the WEB UI:


Permit to Access to TCP and UDP Port

To use P2P@i, you have to permit to access TCP and UDP port which number is 4649.

Adjust Date of Your Computer

P2P@i adds timestamp to each packet to prevent against the reply attack.
So, if the date of your computer is invalid, you cannot receive and send any packet.


# make uninstall
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.