From 427bdf4e2093217f967384f785e3907930a74a21 Mon Sep 17 00:00:00 2001
From: Felix Richter <Felix.Richter@syntax-fehler.de>
Date: Sun, 29 May 2011 15:40:16 +0200
Subject: added some more documentation

added the patched device.c necessary for usermode tinc
updated install_no.de script
---
 modules/retiolum/doc/device.c      | 37 +++++++++++++++++++++++++++++++++++++
 modules/retiolum/doc/install_no.de | 12 ++++++++++++
 2 files changed, 49 insertions(+)
 create mode 100644 modules/retiolum/doc/device.c

(limited to 'modules/retiolum')

diff --git a/modules/retiolum/doc/device.c b/modules/retiolum/doc/device.c
new file mode 100644
index 00000000..7ffe51dd
--- /dev/null
+++ b/modules/retiolum/doc/device.c
@@ -0,0 +1,37 @@
+#include "system.h"
+#include "conf.h"
+#include "logger.h"
+#include "net.h"
+#include "route.h"
+#include "utils.h"
+#include "xalloc.h"
+
+int device_fd = -1;
+char *device = NULL;
+char *iface = NULL;
+
+
+bool setup_device(void) {
+          device = xstrdup("null");
+                  iface = xstrdup("null");
+                          device_fd = -1;
+
+                                  return true;
+}
+
+void close_device(void) {
+          free(device);
+                  free(iface);
+}
+
+bool read_packet(vpn_packet_t *packet) {
+
+          return true;
+}
+
+bool write_packet(vpn_packet_t *packet) {
+                  return true;
+}
+
+void dump_device_stats(void) {
+}
diff --git a/modules/retiolum/doc/install_no.de b/modules/retiolum/doc/install_no.de
index a8b72a78..69fecc61 100644
--- a/modules/retiolum/doc/install_no.de
+++ b/modules/retiolum/doc/install_no.de
@@ -1,4 +1,16 @@
 ok, i tried to just do the same step i did in the other cloud service, but
 it failed when trying to include tunnel headers.this is what to do:
 
+./configure 
+./configure --prefix=$HOME/usr --sysconfdir=$HOME/etc --disable-lzo --disable-zlib --localstatedir=$HOME/var
 # add PATH_MAX to conf.c
+
+Add to your own path:
+$PATH:/home/node/usr/sbin/:/home/node/painload/modules/retiolum/bin/
+
+patch the install paths in modules/retiolum/scripts/tinc_setup/krebs
+
+update the write_channel script with the correct path
+
+mkdir -p ~/var/run
+
-- 
cgit v1.2.3