Skip to content

Instantly share code, notes, and snippets.


Daniel Golle dangowrt

  • 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
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 @@
dangowrt /
Created May 2, 2015
# - L2TPv3 tunnel backend using ip-full
# Copyright (c) 2010-2015
# 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 / gist:e65dfde190fb1fcaf05f
Last active Jul 21, 2020
cjdns exit tunnel broker brainstorming
View gist:e65dfde190fb1fcaf05f

#Clearnet-Exit tunnel broker brainstorming

For now: 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 / gist:738c57a58e1f70a70ab5
Last active Aug 29, 2015
View gist:738c57a58e1f70a70ab5
# local sources
# SRC="/usr/src/openwrt/.git"
# DL="/usr/src/openwrt/dl"
[ "$1" ] && TARGET="$1"
dangowrt / gist:37d956fc2f54fd59e7db
Created Apr 21, 2015
kad164: pseudo-e164 dialplan helper script using kadnode
View gist:37d956fc2f54fd59e7db
num2name() {
while [ $i -gt 0 ]; do
n="$( echo "$NUM" | cut -b ${i} )"
You can’t perform that action at this time.