diff options
-rw-r--r-- | modules/retiolum/doc/device.c | 37 | ||||
-rw-r--r-- | modules/retiolum/doc/install_no.de | 12 |
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 + |