Mini-DCE eibd: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
I compiled eibd from source: | I compiled eibd from source: | ||
Prerequisites (from README BCU SDK) | |||
The BCU SDK needs the following software to be installed: | The BCU SDK needs the following software to be installed: | ||
• A reasonably recent Linux system (e.g. Fedora Core 2 or Debian Sarge) | • A reasonably recent Linux system (e.g. Fedora Core 2 or Debian Sarge) | ||
| Line 17: | Line 18: | ||
Compile Pthsem | |||
° wget http://sourceforge.net/projects/bcusdk/files/pthsem/pthsem_2.0.8.tar.gz | ° wget http://sourceforge.net/projects/bcusdk/files/pthsem/pthsem_2.0.8.tar.gz | ||
| Line 26: | Line 27: | ||
Compile EIBD from BCU SDK | |||
° wget http://sourceforge.net/projects/bcusdk/files/bcusdk/bcusdk_0.0.5.tar.gz | ° wget http://sourceforge.net/projects/bcusdk/files/bcusdk/bcusdk_0.0.5.tar.gz | ||
Revision as of 21:06, 17 August 2011
Install eibd
I compiled eibd from source:
Prerequisites (from README BCU SDK)
The BCU SDK needs the following software to be installed:
• A reasonably recent Linux system (e.g. Fedora Core 2 or Debian Sarge)
• GCC and G++ in version 3.3 or higher
• libxml2 (plus development files) 2.6.16 or higher
• flex (Debian users must install flex-old, if it is present, instead of flex)
• bison
• GNU make
• xsltproc (part of libxslt)
• xmllint (part of libxml2 sources)
• indent (if you want a readable source code for the PHP and Java clients)
• A java compiler and a jar tool, if you want to build the Java library.
Compile Pthsem
° wget http://sourceforge.net/projects/bcusdk/files/pthsem/pthsem_2.0.8.tar.gz ° ./configure (I add -D_FORTIFY_SOURCE=0 to the CFLAGS while compiling pthsem. There seems to be a problem with FORTIFY_SOURCE on some archtiectures.). ° make ° make install
Compile EIBD from BCU SDK
° wget http://sourceforge.net/projects/bcusdk/files/bcusdk/bcusdk_0.0.5.tar.gz ° ./configure --without-pth-test --enable-onlyeibd --enable-eibnetiptunnel ° make ° make install
Now modify rc.local
/sbin/route add 224.0.23.12 dev eth0
/usr/bin/eibd -i -u --eibaddr=0.0.1 --daemon=/var/log/eibd.log ipt:your_gateway_ip