Skip to content

Instantly share code, notes, and snippets.

Avatar
🕶️
(void)

Daniel Golle dangowrt

🕶️
(void)
  • World
View GitHub Profile
View collectd.conf
LoadPlugin modbus
<Plugin modbus>
<Data "panel-voltage-input">
RegisterBase 12544
RegisterType Uint16
RegisterCmd ReadInput
Type voltage
Instance "panel-voltage"
Scale 0.01
</Data>
@dangowrt
dangowrt / gist:4803578dbeefa6f3183c
Created Jun 24, 2015
asterisk11-chan-dongle: git diff jstasiak/master..bg111/master
View gist:4803578dbeefa6f3183c
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index fcf14a7..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,18 +0,0 @@
-.INSTALL.swp
-.gitignore
-Makefile
-aclocal.m4
@dangowrt
dangowrt / l2tpv3.sh
Created May 2, 2015
/etc/network/l2tpv3.sh
View l2tpv3.sh
#!/bin/sh
# l2tpv3.sh - L2TPv3 tunnel backend using ip-full
# Copyright (c) 2010-2015 OpenWrt.org
# This file was part of l2tpv3tun and ported to use ip-full.
ip l2tp show tunnel 2>/dev/null 1>/dev/null || exit 0
l2tpv3_next_tunnel_id() {
local max=0
local val
@dangowrt
dangowrt / gist:e65dfde190fb1fcaf05f
Last active Jul 21, 2020
cjdns exit tunnel broker brainstorming
View gist:e65dfde190fb1fcaf05f

#Clearnet-Exit tunnel broker brainstorming

For now: https://github.com/BerlinMeshnet/visp ie. a bunch of Ruby scripts setting up cjdns to setup IP tunnels.

##What we need is similar to an open tunnel broker.

Tunnel brokers may offer multiple tunneling protocols, such as IP Tunnels, L2TP pseudo-wires, IP-over-GRE, ... to clients, carrying different types (IPv4-behind-NAT, public-IPv4, IPv6-single-address, IPv6-routed-prefix, ...) of services and may possibly restricted traffic types (e.g. DNS-and-outgoing-TCP-to-common-ports-only)

@dangowrt
dangowrt / gist:738c57a58e1f70a70ab5
Last active Aug 29, 2015
build-hardened-openwrt-sdk-for-cjdns.sh
View gist:738c57a58e1f70a70ab5
#!/bin/sh
SRC="git://git.openwrt.org/openwrt.git"
# local sources
# SRC="/usr/src/openwrt/.git"
# DL="/usr/src/openwrt/dl"
TARGET="ar71xx"
[ "$1" ] && TARGET="$1"
@dangowrt
dangowrt / gist:37d956fc2f54fd59e7db
Created Apr 21, 2015
kad164: pseudo-e164 dialplan helper script using kadnode
View gist:37d956fc2f54fd59e7db
#!/bin/sh
NUM="$1"
uri=""
num2name() {
l=${#NUM}
i=$l
while [ $i -gt 0 ]; do
n="$( echo "$NUM" | cut -b ${i} )"
You can’t perform that action at this time.