Skip to content

Instantly share code, notes, and snippets.

View yanosz's full-sized avatar
Drawn by the tides of confusion

yanosz yanosz

Drawn by the tides of confusion
View GitHub Profile
$ jekyll serve --trace
Configuration file: /usr/share/tomcat6/.jenkins/workspace/test.kbu.freifunk.net-deploy/_config.yml
Source: /usr/share/tomcat6/.jenkins/workspace/test.kbu.freifunk.net-deploy
Destination: /usr/share/tomcat6/.jenkins/workspace/test.kbu.freifunk.net-deploy/_site
Generating...
Building site for default language: "de" to: /usr/share/tomcat6/.jenkins/workspace/test.kbu.freifunk.net-deploy/_site
Liquid Exception: undefined method `size' for nil:NilClass in _includes/image.html, included in index.html
/var/lib/gems/1.9.1/gems/jekyll-1.5.1/lib/jekyll/tags/include.rb:106:in `rescue in render': undefined method `size' for nil:NilClass (Jekyll::Tags::IncludeTagError)
from /var/lib/gems/1.9.1/gems/jekyll-1.5.1/lib/jekyll/tags/include.rb:98:in `render'
from /var/lib/gems/1.9.1/gems/liquid-2.5.5/lib/liquid/block.rb:106:in `block in render_all'
= Project: Pad-based salespoint
== Intro:
At my relief organisation there's a frige. Everybody is able to take out drinks an to pay using cash.
This happends on a "trust" basis: Everybody puts the right number of coins in a cup nearby
- OR - marks, that's he's going to pay later one.
== Idea / Problem:
We don't know how many drinks are sold. People have outstanding credits for quite a while.
This makes buying drinks cumbersome.
{ "router" : "a2:f3:c1:5c:59:24", "neighbor" : "06:80:5b:34:b7:f9", "label" : "1.118" }
{ "router" : "a2:f3:c1:5c:59:24", "neighbor" : "56:54:78:6b:e2:34", "label" : "1.000" }
{ "router" : "a2:f3:c1:5c:59:24", "gateway" : "a0:f3:c1:5b:59:24", "label" : "TT" }
{ "router" : "a2:f3:c1:5c:59:24", "gateway" : "00:22:43:5f:70:03", "label" : "TT" }
{ "router" : "a2:f3:c1:5c:59:24", "gateway" : "16:e4:66:c0:a9:92", "label" : "TT" }
{ "primary" : "a2:f3:c1:5c:59:24" }
{ "router" : "52:54:00:12:62:97", "neighbor" : "52:54:00:4a:0d:02", "label" : "1.015" }
{ "router" : "52:54:00:12:62:97", "gateway" : "92:09:b2:49:ac:e7", "label" : "TT" }
{ "primary" : "52:54:00:12:62:97" }
{ "router" : "da:5d:4c:af:42:0c", "neighbor" : "06:80:5b:34:b7:f9", "label" : "1.250" }
{
'version' : '1.1.2',
'updated_at': '2014-12-09T07:39:22+00:00',
'community': {
'href': 'URL-to_API-FILE.json' // May be embedded
}
'nodes' : [{
'id' : "r_0815", // To be detailed: Non-Numeric IDs? Why?
'version': '1.1.1',
'updated_at': '2014-12-09T07:39:22+00:00',
### Hetzner Online AG - installimage
# Loopback device:
auto lo
iface lo inet loopback
# device: eth0
auto eth0
iface eth0 inet static
address 78.46.91.136
broadcast 78.46.91.159
Status 500 Internal Server Error
/usr/lib/lua/luci/dispatcher.lua:448: Failed to execute function dispatcher target for entry '/'.
The called action terminated with an exception:
/usr/lib/lua/luci/dispatcher.lua:448: Failed to execute firstchild dispatcher target for entry '/admin'.
The called action terminated with an exception:
/usr/lib/lua/luci/dispatcher.lua:448: Failed to execute function dispatcher target for entry '/admin/status'.
The called action terminated with an exception:
/usr/lib/lua/luci/dispatcher.lua:448: Failed to execute template dispatcher target for entry '/admin/status/overview'.
The called action terminated with an exception:
root@e894f6f58040:/tmp/usr/sbin# ./tcpdump -i br-freifunk icmp6
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on br-freifunk, link-type EN10MB (Ethernet), capture size 65535 bytes
20:32:26.518155 IP6 fe80::1 > ff02::1: ICMP6, router advertisement, length 88
20:32:27.521492 IP6 2001:67c:20a0:b111:ea94:f6ff:fef5:8040 > ff02::1:ff00:1: ICMP6, neighbor solicitation, who has fe80::1, length 32
20:32:28.520168 IP6 2001:67c:20a0:b111:ea94:f6ff:fef5:8040 > ff02::1:ff00:1: ICMP6, neighbor solicitation, who has fe80::1, length 32
20:32:29.520171 IP6 2001:67c:20a0:b111:ea94:f6ff:fef5:8040 > ff02::1:ff00:1: ICMP6, neighbor solicitation, who has fe80::1, length 32
20:32:35.954879 IP6 fe80::3e97:eff:fe9d:b5f1 > ff02::1: ICMP6, echo request, seq 1, length 64
20:32:35.955116 IP6 fe80::ea94:f6ff:fef5:8040 > fe80::3e97:eff:fe9d:b5f1: ICMP6, echo reply, seq 1, length 64
root@e894f6f58040:/tmp/usr/sbin# ./tcpdump -i br-freifunk icmp6
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on br-freifunk, link-type EN10MB (Ethernet), capture size 65535 bytes
20:36:11.714174 IP6 fe80::ea94:f6ff:fef5:8040 > ff02::1:ff00:1: ICMP6, neighbor solicitation, who has fe80::1, length 32
20:36:12.710198 IP6 fe80::ea94:f6ff:fef5:8040 > ff02::1:ff00:1: ICMP6, neighbor solicitation, who has fe80::1, length 32
20:36:13.710174 IP6 fe80::ea94:f6ff:fef5:8040 > ff02::1:ff00:1: ICMP6, neighbor solicitation, who has fe80::1, length 32
20:36:15.295772 IP6 fe80::ea94:f6ff:fef5:8040 > ff02::1:ff00:1: ICMP6, neighbor solicitation, who has fe80::1, length 32
20:36:16.290173 IP6 fe80::ea94:f6ff:fef5:8040 > ff02::1:ff00:1: ICMP6, neighbor solicitation, who has fe80::1, length 32
20:36:17.290174 IP6 fe80::ea94:f6ff:fef5:8040 > ff02::1:ff00:1: ICMP6, neighbor solicitation, who has fe80::1, length 32
20:36:18.296783 IP6 fe80::ea94:f6ff:fef5:8040 > ff02::1:ff00:1: ICMP6, neighbor
root@e894f6f58040:/sys/devices/virtual/net/br-freifunk/bridge# ls -lh
-rw-r--r-- 1 root root 4.0K Apr 20 15:45 ageing_time
-r--r--r-- 1 root root 4.0K Apr 20 15:45 bridge_id
--w------- 1 root root 4.0K Apr 20 15:45 flush
-rw-r--r-- 1 root root 4.0K Apr 20 15:45 forward_delay
-r--r--r-- 1 root root 4.0K Apr 20 15:45 gc_timer
-rw-r--r-- 1 root root 4.0K Apr 20 15:45 group_addr
-rw-r--r-- 1 root root 4.0K Apr 20 15:45 group_fwd_mask
-rw-r--r-- 1 root root 4.0K Apr 20 15:45 hash_elasticity
-rw-r--r-- 1 root root 4.0K Apr 20 15:45 hash_max
#!/bin/sh
logread -f | grep 'Failed to stop TX DMA' | while read line
do
/bin/date >> /tmp/wifi_restarts.log
/sbin/wifi restart
done