summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorFelix Richter <Felix.Richter@syntax-fehler.de>2011-05-29 15:40:16 +0200
committerFelix Richter <Felix.Richter@syntax-fehler.de>2011-05-29 15:40:16 +0200
commit427bdf4e2093217f967384f785e3907930a74a21 (patch)
tree452399e232627d4fd0008369c3087f0dc6d824f3 /modules
parentb7e9b977884f8d4d6149b06e3567f288b920daa6 (diff)
added some more documentation
added the patched device.c necessary for usermode tinc updated install_no.de script
Diffstat (limited to 'modules')
-rw-r--r--modules/retiolum/doc/device.c37
-rw-r--r--modules/retiolum/doc/install_no.de12
2 files changed, 49 insertions, 0 deletions
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
+