From 1f21051e9361de9bfdf70f269c90c25cbdbe2b43 Mon Sep 17 00:00:00 2001 From: makefu Date: Sun, 20 Jan 2013 19:22:16 +0100 Subject: nfc-login: add mrled --- minikrebs/profiles/instakrebs/customfiles/etc/rc.d/tinc | 1 - .../profiles/nfc-login/customfiles/usr/bin/login-manager | 14 +++++++------- minikrebs/profiles/nfc-login/customfiles/usr/bin/mrled | 4 ++++ 3 files changed, 11 insertions(+), 8 deletions(-) delete mode 120000 minikrebs/profiles/instakrebs/customfiles/etc/rc.d/tinc create mode 100755 minikrebs/profiles/nfc-login/customfiles/usr/bin/mrled (limited to 'minikrebs') diff --git a/minikrebs/profiles/instakrebs/customfiles/etc/rc.d/tinc b/minikrebs/profiles/instakrebs/customfiles/etc/rc.d/tinc deleted file mode 120000 index f08fe11d..00000000 --- a/minikrebs/profiles/instakrebs/customfiles/etc/rc.d/tinc +++ /dev/null @@ -1 +0,0 @@ -../init.d/tinc \ No newline at end of file diff --git a/minikrebs/profiles/nfc-login/customfiles/usr/bin/login-manager b/minikrebs/profiles/nfc-login/customfiles/usr/bin/login-manager index 63f35c74..f22a209e 100755 --- a/minikrebs/profiles/nfc-login/customfiles/usr/bin/login-manager +++ b/minikrebs/profiles/nfc-login/customfiles/usr/bin/login-manager @@ -1,18 +1,18 @@ #!/bin/sh -#!/bin/sh #LOGIN_HOST=heidi.shack #LOGIN_HOST=heidi:5000 LOGIN_HOST=10.42.10.38:5000 all_led(){ - for i in 3g wlan lan wps;do - led $i $1 - done + for i in 3g wlan lan wps;do + led $i $1 + + done } led(){ - LED="$1" - ACTION="$2" - echo $ACTION > /sys/class/leds/tp-link:green:$LED/trigger + /usr/bin/mrled $1 $2 } + +# fix for mr3020 weirdness while sleep 1; do uid=$(nfc-list | grep UID | cut -d: -f 2 | sed 's/ //g') if ! [ x"$uid" = x ];then diff --git a/minikrebs/profiles/nfc-login/customfiles/usr/bin/mrled b/minikrebs/profiles/nfc-login/customfiles/usr/bin/mrled new file mode 100755 index 00000000..7059edd1 --- /dev/null +++ b/minikrebs/profiles/nfc-login/customfiles/usr/bin/mrled @@ -0,0 +1,4 @@ +#!/bin/sh +LED="$1" +ACTION="$2" +echo $ACTION > /sys/class/leds/tp-link:green:$LED/trigger -- cgit v1.2.3 From 715b2e23b0cb347dbf6b6516e5811e45406324ac Mon Sep 17 00:00:00 2001 From: makefu Date: Sun, 20 Jan 2013 19:24:19 +0100 Subject: minikrebs: init_overlay now does the right thing --- minikrebs/profiles/init_overlay | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) mode change 100644 => 100755 minikrebs/profiles/init_overlay (limited to 'minikrebs') diff --git a/minikrebs/profiles/init_overlay b/minikrebs/profiles/init_overlay old mode 100644 new mode 100755 index 3b714c39..e71cd151 --- a/minikrebs/profiles/init_overlay +++ b/minikrebs/profiles/init_overlay @@ -1,10 +1,22 @@ -#!/bin/sh +#!/bin/bash +cd $(dirname $(readlink -f $0)) [ ! -e overlay/ ] && echo "profile data for external overlay does not exist, bailing out" -[ ! -e doc/overlay ] && echo "Profile demands the following partitioning of the overlay usb stick:" && cat doc/overlay +[ -e doc/overlay ] && echo "Profile demands the following partitioning of the overlay usb stick:" && cat doc/OVERLAY if grep -q $PWD/mnt/overlay /etc/mtab;then - + echo "overlay mounted" + echo "copying overlay data:" + find overlay/ -mindepth 1 -maxdepth 1 | while read data; do + echo " $data -> mnt/overlay/$(basename $data)" + rm -rf mnt/overlay/$(basename $data) + cp -r $data mnt/overlay + done + echo + echo "unmounting overlay" + umount mnt/overlay/ else - echo "please mount your overlay to $PWD/overlay" + mkdir -p $PWD/mnt/overlay + echo "please mount your overlay to $PWD/mnt/overlay" fi + -- cgit v1.2.3 From 8c369def5ba0acbb95212e441b8b31a3ab05f3c8 Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 1 Feb 2013 00:59:34 +0100 Subject: add instacam_yuv --- minikrebs/profiles/instacam_yuv/custom_make | 3 ++ .../customfiles/etc/config/mjpg-streamer | 7 +++ .../instacam_yuv/customfiles/etc/config/network | 9 ++++ .../customfiles/etc/dropbear/authorized_keys | 1 + .../customfiles/etc/init.d/mjpeg-streamer | 58 ++++++++++++++++++++++ .../profiles/instacam_yuv/customfiles/etc/rc.local | 1 + .../profiles/instacam_yuv/customfiles/etc/shadow | 5 ++ minikrebs/profiles/instacam_yuv/doc/README.md | 5 ++ 8 files changed, 89 insertions(+) create mode 100755 minikrebs/profiles/instacam_yuv/custom_make create mode 100644 minikrebs/profiles/instacam_yuv/customfiles/etc/config/mjpg-streamer create mode 100644 minikrebs/profiles/instacam_yuv/customfiles/etc/config/network create mode 120000 minikrebs/profiles/instacam_yuv/customfiles/etc/dropbear/authorized_keys create mode 100644 minikrebs/profiles/instacam_yuv/customfiles/etc/init.d/mjpeg-streamer create mode 100644 minikrebs/profiles/instacam_yuv/customfiles/etc/rc.local create mode 100644 minikrebs/profiles/instacam_yuv/customfiles/etc/shadow create mode 100644 minikrebs/profiles/instacam_yuv/doc/README.md (limited to 'minikrebs') diff --git a/minikrebs/profiles/instacam_yuv/custom_make b/minikrebs/profiles/instacam_yuv/custom_make new file mode 100755 index 00000000..c1750da4 --- /dev/null +++ b/minikrebs/profiles/instacam_yuv/custom_make @@ -0,0 +1,3 @@ +#!/bin/sh + +make image PROFILE=TLWR703 PACKAGES="ip kmod-fs-ext4 wireless-tools block-mount kmod-usb-core kmod-usb2 kmod-video-uvc mjpg-streamer -kmod-ppp -kmod-pppoe -kmod-pppox -ppp -ppp-mod-pppoe -dnsmasq -radvd " FILES=customfiles/ diff --git a/minikrebs/profiles/instacam_yuv/customfiles/etc/config/mjpg-streamer b/minikrebs/profiles/instacam_yuv/customfiles/etc/config/mjpg-streamer new file mode 100644 index 00000000..6feb6165 --- /dev/null +++ b/minikrebs/profiles/instacam_yuv/customfiles/etc/config/mjpg-streamer @@ -0,0 +1,7 @@ +config mjpg-streamer core + option enabled "1" + option device "/dev/video0" + option resolution "640x480" + option fps "10" + option www "/www/webcam" + option port "80" diff --git a/minikrebs/profiles/instacam_yuv/customfiles/etc/config/network b/minikrebs/profiles/instacam_yuv/customfiles/etc/config/network new file mode 100644 index 00000000..c459c4e0 --- /dev/null +++ b/minikrebs/profiles/instacam_yuv/customfiles/etc/config/network @@ -0,0 +1,9 @@ +config interface 'loopback' + option ifname 'lo' + option proto 'static' + option ipaddr '127.0.0.1' + option netmask '255.0.0.0' + +config interface 'lan' + option ifname 'eth0' + option proto 'dhcp' diff --git a/minikrebs/profiles/instacam_yuv/customfiles/etc/dropbear/authorized_keys b/minikrebs/profiles/instacam_yuv/customfiles/etc/dropbear/authorized_keys new file mode 120000 index 00000000..9c87fc52 --- /dev/null +++ b/minikrebs/profiles/instacam_yuv/customfiles/etc/dropbear/authorized_keys @@ -0,0 +1 @@ +/root/.ssh/authorized_keys \ No newline at end of file diff --git a/minikrebs/profiles/instacam_yuv/customfiles/etc/init.d/mjpeg-streamer b/minikrebs/profiles/instacam_yuv/customfiles/etc/init.d/mjpeg-streamer new file mode 100644 index 00000000..aef12489 --- /dev/null +++ b/minikrebs/profiles/instacam_yuv/customfiles/etc/init.d/mjpeg-streamer @@ -0,0 +1,58 @@ +#!/bin/sh /etc/rc.common +# Copyright (C) 2009-2012 OpenWrt.org + +START=50 + +SERVICE_DAEMONIZE=1 +SERVICE_WRITE_PID=1 + +PROG=/usr/bin/mjpg_streamer + +error() { + echo "${initscript}:" "$@" 1>&2 +} + +section_enabled() { + config_get_bool enabled "$1" 'enabled' 0 + [ $enabled -gt 0 ] +} + +start_instance() { + local s="$1" + + section_enabled "$s" || return 1 + + config_get device "$s" 'device' + config_get resolution "$s" 'resolution' + config_get fps "$s" 'fps' + config_get www "$s" 'www' + config_get port "$s" 'port' + + [ -c "$device" ] || { + error "device '$device' does not exist" + return 1 + } + + # run in yuv (legacy) mode, impacts performance but at least something is happening + service_start /usr/bin/mjpg_streamer --input "input_uvc.so \ + --device $device --fps $fps --resolution $resolution -yuv" \ + --output "output_http.so --www $www --port $port" +} + +stop_instance() { + local s="$1" + + section_enabled "$s" || return 1 + + service_stop /usr/bin/mjpg_streamer +} + +start() { + config_load 'mjpg-streamer' + config_foreach start_instance 'mjpg-streamer' +} + +stop() { + config_load 'mjpg-streamer' + config_foreach stop_instance 'mjpg-streamer' +} diff --git a/minikrebs/profiles/instacam_yuv/customfiles/etc/rc.local b/minikrebs/profiles/instacam_yuv/customfiles/etc/rc.local new file mode 100644 index 00000000..3e91b57c --- /dev/null +++ b/minikrebs/profiles/instacam_yuv/customfiles/etc/rc.local @@ -0,0 +1 @@ +insmod uvcvideo diff --git a/minikrebs/profiles/instacam_yuv/customfiles/etc/shadow b/minikrebs/profiles/instacam_yuv/customfiles/etc/shadow new file mode 100644 index 00000000..9cc800dd --- /dev/null +++ b/minikrebs/profiles/instacam_yuv/customfiles/etc/shadow @@ -0,0 +1,5 @@ +root:$1$WFDw.yoc$MuPQ4h/nu3WMpHmte5Yrp/:15719:0:99999:7::: +daemon:*:0:0:99999:7::: +ftp:*:0:0:99999:7::: +network:*:0:0:99999:7::: +nobody:*:0:0:99999:7::: diff --git a/minikrebs/profiles/instacam_yuv/doc/README.md b/minikrebs/profiles/instacam_yuv/doc/README.md new file mode 100644 index 00000000..63b3a5a2 --- /dev/null +++ b/minikrebs/profiles/instacam_yuv/doc/README.md @@ -0,0 +1,5 @@ +# Instacam China + +Support for a cheapo webcam which supports only yuv mode on a low resolution. + +Copy-paste fork of instacam -- cgit v1.2.3 From 12fa3df06555c4ad6973602998a42446fbb52e70 Mon Sep 17 00:00:00 2001 From: makefu Date: Thu, 7 Feb 2013 20:23:55 +0100 Subject: bare profile which enables usb-extroot --- minikrebs/profiles/usb_ext/custom_make | 3 +++ .../profiles/usb_ext/customfiles/etc/config/fstab | 19 +++++++++++++++++++ .../profiles/usb_ext/customfiles/etc/config/network | 13 +++++++++++++ .../profiles/usb_ext/customfiles/etc/config/system | 8 ++++++++ .../usb_ext/customfiles/etc/dropbear/authorized_keys | 1 + minikrebs/profiles/usb_ext/customfiles/etc/shadow | 5 +++++ 6 files changed, 49 insertions(+) create mode 100755 minikrebs/profiles/usb_ext/custom_make create mode 100644 minikrebs/profiles/usb_ext/customfiles/etc/config/fstab create mode 100644 minikrebs/profiles/usb_ext/customfiles/etc/config/network create mode 100644 minikrebs/profiles/usb_ext/customfiles/etc/config/system create mode 120000 minikrebs/profiles/usb_ext/customfiles/etc/dropbear/authorized_keys create mode 100644 minikrebs/profiles/usb_ext/customfiles/etc/shadow (limited to 'minikrebs') diff --git a/minikrebs/profiles/usb_ext/custom_make b/minikrebs/profiles/usb_ext/custom_make new file mode 100755 index 00000000..5dea0cc7 --- /dev/null +++ b/minikrebs/profiles/usb_ext/custom_make @@ -0,0 +1,3 @@ +#!/bin/sh + +make image PROFILE=TLWR703 PACKAGES="wireless-tools block-mount kmod-usb-core kmod-usb2 kmod-usb-storage kmod-fs-ext4 -radvd -kmod-ppp -kmod-pppoe -kmod-pppox -ppp -ppp-mod-pppoe" FILES=customfiles/ diff --git a/minikrebs/profiles/usb_ext/customfiles/etc/config/fstab b/minikrebs/profiles/usb_ext/customfiles/etc/config/fstab new file mode 100644 index 00000000..b1e678dc --- /dev/null +++ b/minikrebs/profiles/usb_ext/customfiles/etc/config/fstab @@ -0,0 +1,19 @@ +config global automount + option from_fstab 1 + option anon_mount 1 + +config global autoswap + option from_fstab 1 + option anon_swap 0 + +config mount + option target /overlay + option device /dev/sda1 + option fstype ext4 + option options rw,sync + option enabled 1 + option enabled_fsck 0 + +config swap + option device /dev/sda2 + option enabled 1 diff --git a/minikrebs/profiles/usb_ext/customfiles/etc/config/network b/minikrebs/profiles/usb_ext/customfiles/etc/config/network new file mode 100644 index 00000000..e6a96379 --- /dev/null +++ b/minikrebs/profiles/usb_ext/customfiles/etc/config/network @@ -0,0 +1,13 @@ +config interface 'loopback' + option ifname 'lo' + option proto 'static' + option ipaddr '127.0.0.1' + option netmask '255.0.0.0' + +config interface 'lan' + option ifname 'eth0' + option proto 'dhcp' + +config interface 'wan' + option ifname 'wlan0' + option proto 'dhcp' diff --git a/minikrebs/profiles/usb_ext/customfiles/etc/config/system b/minikrebs/profiles/usb_ext/customfiles/etc/config/system new file mode 100644 index 00000000..3c5a6935 --- /dev/null +++ b/minikrebs/profiles/usb_ext/customfiles/etc/config/system @@ -0,0 +1,8 @@ +config system + option hostname bare + option timezone UTC + +config 'led' 'lan_led' + option 'name' 'blue-led' + option 'sysfs' 'tp-link:blue:system' + option 'trigger' 'default-on' diff --git a/minikrebs/profiles/usb_ext/customfiles/etc/dropbear/authorized_keys b/minikrebs/profiles/usb_ext/customfiles/etc/dropbear/authorized_keys new file mode 120000 index 00000000..9c87fc52 --- /dev/null +++ b/minikrebs/profiles/usb_ext/customfiles/etc/dropbear/authorized_keys @@ -0,0 +1 @@ +/root/.ssh/authorized_keys \ No newline at end of file diff --git a/minikrebs/profiles/usb_ext/customfiles/etc/shadow b/minikrebs/profiles/usb_ext/customfiles/etc/shadow new file mode 100644 index 00000000..9cc800dd --- /dev/null +++ b/minikrebs/profiles/usb_ext/customfiles/etc/shadow @@ -0,0 +1,5 @@ +root:$1$WFDw.yoc$MuPQ4h/nu3WMpHmte5Yrp/:15719:0:99999:7::: +daemon:*:0:0:99999:7::: +ftp:*:0:0:99999:7::: +network:*:0:0:99999:7::: +nobody:*:0:0:99999:7::: -- cgit v1.2.3 From 4107615bf00330f9645e8e4d97faa903a936e76b Mon Sep 17 00:00:00 2001 From: timm Date: Fri, 8 Feb 2013 17:22:40 +0100 Subject: print message after building for the mr3020, too --- minikrebs/profiles/init | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'minikrebs') diff --git a/minikrebs/profiles/init b/minikrebs/profiles/init index df9fcfcd..0add700e 100755 --- a/minikrebs/profiles/init +++ b/minikrebs/profiles/init @@ -29,6 +29,14 @@ You can use the following images: Factory : $PWD/bin/ar71xx/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory.bin System Upgrade: $PWD/bin/ar71xx/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-sysupgrade.bin EOF +elif [ -e bin/ar71xx/openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-factory.bin ]; +then + cat << EOF +finished building +You can use the following images: + Factory : $PWD/bin/ar71xx/openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-factory.bin + System Upgrade: $PWD/bin/ar71xx/openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-sysupgrade.bin +EOF else cat << EOF It seems like the factory image has not been created, it is most -- cgit v1.2.3 From 001bfd5f2b6890cafd209de4ea360927d4dd8a55 Mon Sep 17 00:00:00 2001 From: makefu Date: Sat, 23 Feb 2013 15:55:49 +0100 Subject: minikrebs is now a submodule --- minikrebs | 1 + minikrebs/.gitignore | 1 - minikrebs/build/heckenkrebs-factory.bin | Bin 3932160 -> 0 bytes minikrebs/build/heckenkrebs-sysupgrade.bin | Bin 3538948 -> 0 bytes minikrebs/doc/Camkrebs | 19 - minikrebs/doc/QUICKSTART | 37 -- minikrebs/doc/TLDR | 3 - minikrebs/doc/lazorcam_druck.svg | 231 --------- minikrebs/oncology/Makefile | 23 - minikrebs/oncology/README | 1 - minikrebs/oncology/config/full.conf | 572 --------------------- minikrebs/prepare | 45 -- minikrebs/profiles/README.md | 9 - minikrebs/profiles/heckenkrebs/custom_make | 2 - .../heckenkrebs/customfiles/etc/config/network | 17 - .../heckenkrebs/customfiles/etc/config/wireless | 18 - .../customfiles/etc/dropbear/authorized_keys | 1 - .../profiles/heckenkrebs/customfiles/etc/rc.local | 7 - .../profiles/heckenkrebs/customfiles/etc/wifiblack | 0 .../profiles/heckenkrebs/customfiles/etc/wifipw | 1 - .../profiles/heckenkrebs/customfiles/usr/bin/aap | 115 ----- .../heckenkrebs/customfiles/usr/bin/easybox_keygen | 40 -- .../heckenkrebs/customfiles/usr/bin/infest | 4 - .../heckenkrebs/customfiles/usr/bin/ledoff | 2 - .../heckenkrebs/customfiles/usr/bin/tinc-update | 4 - minikrebs/profiles/heckenkrebs/doc/README.md | 19 - minikrebs/profiles/init | 47 -- minikrebs/profiles/init_overlay | 22 - minikrebs/profiles/instacam/custom_make | 3 - .../instacam/customfiles/etc/config/mjpg-streamer | 7 - .../instacam/customfiles/etc/config/network | 9 - .../customfiles/etc/dropbear/authorized_keys | 1 - .../profiles/instacam/customfiles/etc/rc.local | 1 - minikrebs/profiles/instacam/customfiles/etc/shadow | 5 - minikrebs/profiles/instacam/doc/README.md | 52 -- minikrebs/profiles/instacam_yuv/custom_make | 3 - .../customfiles/etc/config/mjpg-streamer | 7 - .../instacam_yuv/customfiles/etc/config/network | 9 - .../customfiles/etc/dropbear/authorized_keys | 1 - .../customfiles/etc/init.d/mjpeg-streamer | 58 --- .../profiles/instacam_yuv/customfiles/etc/rc.local | 1 - .../profiles/instacam_yuv/customfiles/etc/shadow | 5 - minikrebs/profiles/instacam_yuv/doc/README.md | 5 - minikrebs/profiles/instakrebs/custom_make | 2 - .../instakrebs/customfiles/etc/config/network | 14 - .../instakrebs/customfiles/etc/config/system | 11 - .../instakrebs/customfiles/etc/config/tinc | 2 - .../instakrebs/customfiles/etc/config/wireless | 19 - .../customfiles/etc/dropbear/authorized_keys | 1 - .../profiles/instakrebs/customfiles/etc/rc.local | 3 - .../profiles/instakrebs/customfiles/etc/shadow | 5 - .../instakrebs/customfiles/usr/bin/autoinfest | 4 - .../instakrebs/customfiles/usr/bin/genhostid | 2 - .../profiles/instakrebs/customfiles/usr/bin/led | 3 - .../instakrebs/customfiles/usr/bin/tinc-update | 4 - minikrebs/profiles/instakrebs/doc/README.md | 3 - minikrebs/profiles/instakrebs_zc3xx/custom_make | 3 - .../customfiles/etc/config/mjpg-streamer | 7 - .../customfiles/etc/config/network | 14 - .../instakrebs_zc3xx/customfiles/etc/config/system | 11 - .../customfiles/etc/config/wireless | 19 - .../customfiles/etc/dropbear/authorized_keys | 1 - .../instakrebs_zc3xx/customfiles/etc/rc.local | 4 - .../instakrebs_zc3xx/customfiles/etc/shadow | 5 - .../customfiles/usr/bin/autoinfest | 4 - .../instakrebs_zc3xx/customfiles/usr/bin/genhostid | 2 - .../instakrebs_zc3xx/customfiles/usr/bin/led | 3 - .../customfiles/usr/bin/tinc-update | 4 - minikrebs/profiles/instakrebs_zc3xx/doc/README.md | 6 - minikrebs/profiles/krebs/custom_make | 2 - .../profiles/krebs/customfiles/etc/config/network | 14 - .../profiles/krebs/customfiles/etc/config/system | 11 - .../profiles/krebs/customfiles/etc/config/wireless | 19 - .../krebs/customfiles/etc/dropbear/authorized_keys | 1 - minikrebs/profiles/krebs/customfiles/etc/rc.local | 4 - minikrebs/profiles/krebs/customfiles/etc/shadow | 5 - .../profiles/krebs/customfiles/usr/bin/autoinfest | 4 - .../profiles/krebs/customfiles/usr/bin/genhostid | 2 - minikrebs/profiles/krebs/customfiles/usr/bin/led | 3 - .../profiles/krebs/customfiles/usr/bin/tinc-update | 4 - minikrebs/profiles/krebs/doc/README.md | 8 - minikrebs/profiles/lazorkrebs/custom_make | 3 - .../customfiles/etc/config/mjpg-streamer | 7 - .../lazorkrebs/customfiles/etc/config/network | 9 - .../customfiles/etc/dropbear/authorized_keys | 1 - .../profiles/lazorkrebs/customfiles/etc/rc.local | 1 - .../profiles/lazorkrebs/customfiles/etc/shadow | 5 - minikrebs/profiles/nfc-login/custom_make | 2 - .../nfc-login/customfiles/etc/config/network | 14 - .../nfc-login/customfiles/etc/config/system | 23 - .../nfc-login/customfiles/etc/config/wireless | 19 - .../customfiles/etc/dropbear/authorized_keys | 1 - .../profiles/nfc-login/customfiles/etc/rc.local | 5 - .../profiles/nfc-login/customfiles/etc/shadow | 5 - .../nfc-login/customfiles/usr/bin/autoinfest | 4 - .../nfc-login/customfiles/usr/bin/genhostid | 2 - .../profiles/nfc-login/customfiles/usr/bin/led | 3 - .../nfc-login/customfiles/usr/bin/login-manager | 34 -- .../profiles/nfc-login/customfiles/usr/bin/mrled | 4 - .../nfc-login/customfiles/usr/bin/tinc-update | 4 - minikrebs/profiles/nfc-login/doc/README.md | 10 - minikrebs/profiles/rickroller_advanced/airbase-ng | Bin 89141 -> 0 bytes minikrebs/profiles/rickroller_advanced/custom_make | 4 - .../customfiles/etc/config/dhcp | 28 - .../customfiles/etc/config/firewall | 112 ---- .../customfiles/etc/config/fstab | 19 - .../customfiles/etc/config/network | 15 - .../customfiles/etc/config/system | 8 - .../customfiles/etc/config/uhttpd | 13 - .../customfiles/etc/config/wireless | 19 - .../customfiles/etc/dropbear/authorized_keys | 1 - .../rickroller_advanced/customfiles/etc/shadow | 5 - .../rickroller_advanced/customfiles/etc/uhttpd.crt | Bin 529 -> 0 bytes .../rickroller_advanced/customfiles/etc/uhttpd.key | Bin 609 -> 0 bytes minikrebs/profiles/rickroller_advanced/doc/OVERLAY | 6 - .../profiles/rickroller_advanced/doc/README.md | 10 - .../rickroller_advanced/overlay/www/1x1.gif | Bin 35 -> 0 bytes .../overlay/www/cgi-bin/rrhelper | 15 - .../rickroller_advanced/overlay/www/index.html | 27 - .../rickroller_advanced/overlay/www/rick.gif | Bin 506229 -> 0 bytes .../rickroller_advanced/overlay/www/rick.ogg | Bin 390604 -> 0 bytes minikrebs/profiles/rickroller_bare/custom_make | 5 - .../rickroller_bare/customfiles/etc/config/dhcp | 28 - .../customfiles/etc/config/firewall | 112 ---- .../rickroller_bare/customfiles/etc/config/network | 15 - .../rickroller_bare/customfiles/etc/config/system | 8 - .../rickroller_bare/customfiles/etc/config/uhttpd | 13 - .../customfiles/etc/config/wireless | 19 - .../customfiles/etc/dropbear/authorized_keys | 1 - .../rickroller_bare/customfiles/etc/shadow | 5 - .../rickroller_bare/customfiles/etc/uhttpd.crt | Bin 529 -> 0 bytes .../rickroller_bare/customfiles/etc/uhttpd.key | Bin 609 -> 0 bytes .../rickroller_bare/customfiles/www/1x1.gif | Bin 35 -> 0 bytes .../customfiles/www/cgi-bin/rrhelper | 15 - .../rickroller_bare/customfiles/www/index.html | 27 - .../rickroller_bare/customfiles/www/rick.gif | Bin 506229 -> 0 bytes .../rickroller_bare/customfiles/www/rick.ogg | Bin 390604 -> 0 bytes minikrebs/profiles/rickroller_bare/doc/README.md | 24 - .../profiles/rickroller_bare/doc/videoconvert | 7 - minikrebs/profiles/streamerkrebs/custom_make | 3 - .../customfiles/etc/config/mjpg-streamer | 7 - .../streamerkrebs/customfiles/etc/config/network | 9 - .../customfiles/etc/dropbear/authorized_keys | 1 - .../streamerkrebs/customfiles/etc/rc.local | 1 - .../profiles/streamerkrebs/customfiles/etc/shadow | 5 - .../customfiles/root/load_dependencies | 12 - minikrebs/profiles/streamerkrebs/doc/README.md | 3 - minikrebs/profiles/usb_ext/custom_make | 3 - .../profiles/usb_ext/customfiles/etc/config/fstab | 19 - .../usb_ext/customfiles/etc/config/network | 13 - .../profiles/usb_ext/customfiles/etc/config/system | 8 - .../customfiles/etc/dropbear/authorized_keys | 1 - minikrebs/profiles/usb_ext/customfiles/etc/shadow | 5 - minikrebs/profiles/usbbridge/custom_make | 3 - .../usbbridge/customfiles/etc/config/network | 9 - .../customfiles/etc/dropbear/authorized_keys | 1 - .../profiles/usbbridge/customfiles/etc/rc.local | 3 - .../profiles/usbbridge/customfiles/etc/shadow | 5 - minikrebs/profiles/usbbridge/doc/README | 21 - minikrebs/profiles/wifibridge/.gitignore | 1 - minikrebs/profiles/wifibridge/custom_make | 2 - .../wifibridge/customfiles/etc/config/firewall | 104 ---- .../wifibridge/customfiles/etc/config/fstab | 19 - .../wifibridge/customfiles/etc/config/network | 17 - .../wifibridge/customfiles/etc/config/wireless | 21 - .../customfiles/etc/dropbear/authorized_keys | 1 - .../profiles/wifibridge/customfiles/etc/rc.local | 4 - .../profiles/wifibridge/customfiles/etc/shadow | 5 - .../customfiles/root/.ssh/authorized_keys | 1 - .../wifibridge/customfiles/usr/bin/autoinfest | 4 - .../wifibridge/customfiles/usr/bin/genhostid | 2 - .../profiles/wifibridge/customfiles/usr/bin/led | 3 - .../wifibridge/customfiles/usr/bin/tinc-update | 4 - minikrebs/upgrade | 31 -- 174 files changed, 1 insertion(+), 2708 deletions(-) create mode 160000 minikrebs delete mode 100644 minikrebs/.gitignore delete mode 100644 minikrebs/build/heckenkrebs-factory.bin delete mode 100644 minikrebs/build/heckenkrebs-sysupgrade.bin delete mode 100644 minikrebs/doc/Camkrebs delete mode 100644 minikrebs/doc/QUICKSTART delete mode 100644 minikrebs/doc/TLDR delete mode 100644 minikrebs/doc/lazorcam_druck.svg delete mode 100644 minikrebs/oncology/Makefile delete mode 100644 minikrebs/oncology/README delete mode 100644 minikrebs/oncology/config/full.conf delete mode 100755 minikrebs/prepare delete mode 100644 minikrebs/profiles/README.md delete mode 100755 minikrebs/profiles/heckenkrebs/custom_make delete mode 100644 minikrebs/profiles/heckenkrebs/customfiles/etc/config/network delete mode 100644 minikrebs/profiles/heckenkrebs/customfiles/etc/config/wireless delete mode 120000 minikrebs/profiles/heckenkrebs/customfiles/etc/dropbear/authorized_keys delete mode 100644 minikrebs/profiles/heckenkrebs/customfiles/etc/rc.local delete mode 100644 minikrebs/profiles/heckenkrebs/customfiles/etc/wifiblack delete mode 100644 minikrebs/profiles/heckenkrebs/customfiles/etc/wifipw delete mode 100755 minikrebs/profiles/heckenkrebs/customfiles/usr/bin/aap delete mode 100755 minikrebs/profiles/heckenkrebs/customfiles/usr/bin/easybox_keygen delete mode 100755 minikrebs/profiles/heckenkrebs/customfiles/usr/bin/infest delete mode 100755 minikrebs/profiles/heckenkrebs/customfiles/usr/bin/ledoff delete mode 100755 minikrebs/profiles/heckenkrebs/customfiles/usr/bin/tinc-update delete mode 100644 minikrebs/profiles/heckenkrebs/doc/README.md delete mode 100755 minikrebs/profiles/init delete mode 100755 minikrebs/profiles/init_overlay delete mode 100755 minikrebs/profiles/instacam/custom_make delete mode 100644 minikrebs/profiles/instacam/customfiles/etc/config/mjpg-streamer delete mode 100644 minikrebs/profiles/instacam/customfiles/etc/config/network delete mode 120000 minikrebs/profiles/instacam/customfiles/etc/dropbear/authorized_keys delete mode 100644 minikrebs/profiles/instacam/customfiles/etc/rc.local delete mode 100644 minikrebs/profiles/instacam/customfiles/etc/shadow delete mode 100644 minikrebs/profiles/instacam/doc/README.md delete mode 100755 minikrebs/profiles/instacam_yuv/custom_make delete mode 100644 minikrebs/profiles/instacam_yuv/customfiles/etc/config/mjpg-streamer delete mode 100644 minikrebs/profiles/instacam_yuv/customfiles/etc/config/network delete mode 120000 minikrebs/profiles/instacam_yuv/customfiles/etc/dropbear/authorized_keys delete mode 100644 minikrebs/profiles/instacam_yuv/customfiles/etc/init.d/mjpeg-streamer delete mode 100644 minikrebs/profiles/instacam_yuv/customfiles/etc/rc.local delete mode 100644 minikrebs/profiles/instacam_yuv/customfiles/etc/shadow delete mode 100644 minikrebs/profiles/instacam_yuv/doc/README.md delete mode 100755 minikrebs/profiles/instakrebs/custom_make delete mode 100644 minikrebs/profiles/instakrebs/customfiles/etc/config/network delete mode 100644 minikrebs/profiles/instakrebs/customfiles/etc/config/system delete mode 100644 minikrebs/profiles/instakrebs/customfiles/etc/config/tinc delete mode 100644 minikrebs/profiles/instakrebs/customfiles/etc/config/wireless delete mode 120000 minikrebs/profiles/instakrebs/customfiles/etc/dropbear/authorized_keys delete mode 100644 minikrebs/profiles/instakrebs/customfiles/etc/rc.local delete mode 100644 minikrebs/profiles/instakrebs/customfiles/etc/shadow delete mode 100755 minikrebs/profiles/instakrebs/customfiles/usr/bin/autoinfest delete mode 100755 minikrebs/profiles/instakrebs/customfiles/usr/bin/genhostid delete mode 100755 minikrebs/profiles/instakrebs/customfiles/usr/bin/led delete mode 100755 minikrebs/profiles/instakrebs/customfiles/usr/bin/tinc-update delete mode 100644 minikrebs/profiles/instakrebs/doc/README.md delete mode 100755 minikrebs/profiles/instakrebs_zc3xx/custom_make delete mode 100644 minikrebs/profiles/instakrebs_zc3xx/customfiles/etc/config/mjpg-streamer delete mode 100644 minikrebs/profiles/instakrebs_zc3xx/customfiles/etc/config/network delete mode 100644 minikrebs/profiles/instakrebs_zc3xx/customfiles/etc/config/system delete mode 100644 minikrebs/profiles/instakrebs_zc3xx/customfiles/etc/config/wireless delete mode 120000 minikrebs/profiles/instakrebs_zc3xx/customfiles/etc/dropbear/authorized_keys delete mode 100644 minikrebs/profiles/instakrebs_zc3xx/customfiles/etc/rc.local delete mode 100644 minikrebs/profiles/instakrebs_zc3xx/customfiles/etc/shadow delete mode 100755 minikrebs/profiles/instakrebs_zc3xx/customfiles/usr/bin/autoinfest delete mode 100755 minikrebs/profiles/instakrebs_zc3xx/customfiles/usr/bin/genhostid delete mode 100755 minikrebs/profiles/instakrebs_zc3xx/customfiles/usr/bin/led delete mode 100755 minikrebs/profiles/instakrebs_zc3xx/customfiles/usr/bin/tinc-update delete mode 100644 minikrebs/profiles/instakrebs_zc3xx/doc/README.md delete mode 100755 minikrebs/profiles/krebs/custom_make delete mode 100644 minikrebs/profiles/krebs/customfiles/etc/config/network delete mode 100644 minikrebs/profiles/krebs/customfiles/etc/config/system delete mode 100644 minikrebs/profiles/krebs/customfiles/etc/config/wireless delete mode 120000 minikrebs/profiles/krebs/customfiles/etc/dropbear/authorized_keys delete mode 100644 minikrebs/profiles/krebs/customfiles/etc/rc.local delete mode 100644 minikrebs/profiles/krebs/customfiles/etc/shadow delete mode 100755 minikrebs/profiles/krebs/customfiles/usr/bin/autoinfest delete mode 100755 minikrebs/profiles/krebs/customfiles/usr/bin/genhostid delete mode 100755 minikrebs/profiles/krebs/customfiles/usr/bin/led delete mode 100755 minikrebs/profiles/krebs/customfiles/usr/bin/tinc-update delete mode 100644 minikrebs/profiles/krebs/doc/README.md delete mode 100755 minikrebs/profiles/lazorkrebs/custom_make delete mode 100644 minikrebs/profiles/lazorkrebs/customfiles/etc/config/mjpg-streamer delete mode 100644 minikrebs/profiles/lazorkrebs/customfiles/etc/config/network delete mode 120000 minikrebs/profiles/lazorkrebs/customfiles/etc/dropbear/authorized_keys delete mode 100644 minikrebs/profiles/lazorkrebs/customfiles/etc/rc.local delete mode 100644 minikrebs/profiles/lazorkrebs/customfiles/etc/shadow delete mode 100755 minikrebs/profiles/nfc-login/custom_make delete mode 100644 minikrebs/profiles/nfc-login/customfiles/etc/config/network delete mode 100644 minikrebs/profiles/nfc-login/customfiles/etc/config/system delete mode 100644 minikrebs/profiles/nfc-login/customfiles/etc/config/wireless delete mode 120000 minikrebs/profiles/nfc-login/customfiles/etc/dropbear/authorized_keys delete mode 100644 minikrebs/profiles/nfc-login/customfiles/etc/rc.local delete mode 100644 minikrebs/profiles/nfc-login/customfiles/etc/shadow delete mode 100755 minikrebs/profiles/nfc-login/customfiles/usr/bin/autoinfest delete mode 100755 minikrebs/profiles/nfc-login/customfiles/usr/bin/genhostid delete mode 100755 minikrebs/profiles/nfc-login/customfiles/usr/bin/led delete mode 100755 minikrebs/profiles/nfc-login/customfiles/usr/bin/login-manager delete mode 100755 minikrebs/profiles/nfc-login/customfiles/usr/bin/mrled delete mode 100755 minikrebs/profiles/nfc-login/customfiles/usr/bin/tinc-update delete mode 100644 minikrebs/profiles/nfc-login/doc/README.md delete mode 100755 minikrebs/profiles/rickroller_advanced/airbase-ng delete mode 100755 minikrebs/profiles/rickroller_advanced/custom_make delete mode 100644 minikrebs/profiles/rickroller_advanced/customfiles/etc/config/dhcp delete mode 100644 minikrebs/profiles/rickroller_advanced/customfiles/etc/config/firewall delete mode 100644 minikrebs/profiles/rickroller_advanced/customfiles/etc/config/fstab delete mode 100644 minikrebs/profiles/rickroller_advanced/customfiles/etc/config/network delete mode 100644 minikrebs/profiles/rickroller_advanced/customfiles/etc/config/system delete mode 100644 minikrebs/profiles/rickroller_advanced/customfiles/etc/config/uhttpd delete mode 100644 minikrebs/profiles/rickroller_advanced/customfiles/etc/config/wireless delete mode 120000 minikrebs/profiles/rickroller_advanced/customfiles/etc/dropbear/authorized_keys delete mode 100644 minikrebs/profiles/rickroller_advanced/customfiles/etc/shadow delete mode 100644 minikrebs/profiles/rickroller_advanced/customfiles/etc/uhttpd.crt delete mode 100644 minikrebs/profiles/rickroller_advanced/customfiles/etc/uhttpd.key delete mode 100644 minikrebs/profiles/rickroller_advanced/doc/OVERLAY delete mode 100644 minikrebs/profiles/rickroller_advanced/doc/README.md delete mode 100644 minikrebs/profiles/rickroller_advanced/overlay/www/1x1.gif delete mode 100755 minikrebs/profiles/rickroller_advanced/overlay/www/cgi-bin/rrhelper delete mode 100644 minikrebs/profiles/rickroller_advanced/overlay/www/index.html delete mode 100644 minikrebs/profiles/rickroller_advanced/overlay/www/rick.gif delete mode 100644 minikrebs/profiles/rickroller_advanced/overlay/www/rick.ogg delete mode 100755 minikrebs/profiles/rickroller_bare/custom_make delete mode 100644 minikrebs/profiles/rickroller_bare/customfiles/etc/config/dhcp delete mode 100644 minikrebs/profiles/rickroller_bare/customfiles/etc/config/firewall delete mode 100644 minikrebs/profiles/rickroller_bare/customfiles/etc/config/network delete mode 100644 minikrebs/profiles/rickroller_bare/customfiles/etc/config/system delete mode 100644 minikrebs/profiles/rickroller_bare/customfiles/etc/config/uhttpd delete mode 100644 minikrebs/profiles/rickroller_bare/customfiles/etc/config/wireless delete mode 120000 minikrebs/profiles/rickroller_bare/customfiles/etc/dropbear/authorized_keys delete mode 100644 minikrebs/profiles/rickroller_bare/customfiles/etc/shadow delete mode 100644 minikrebs/profiles/rickroller_bare/customfiles/etc/uhttpd.crt delete mode 100644 minikrebs/profiles/rickroller_bare/customfiles/etc/uhttpd.key delete mode 100644 minikrebs/profiles/rickroller_bare/customfiles/www/1x1.gif delete mode 100755 minikrebs/profiles/rickroller_bare/customfiles/www/cgi-bin/rrhelper delete mode 100644 minikrebs/profiles/rickroller_bare/customfiles/www/index.html delete mode 100644 minikrebs/profiles/rickroller_bare/customfiles/www/rick.gif delete mode 100644 minikrebs/profiles/rickroller_bare/customfiles/www/rick.ogg delete mode 100644 minikrebs/profiles/rickroller_bare/doc/README.md delete mode 100644 minikrebs/profiles/rickroller_bare/doc/videoconvert delete mode 100755 minikrebs/profiles/streamerkrebs/custom_make delete mode 100644 minikrebs/profiles/streamerkrebs/customfiles/etc/config/mjpg-streamer delete mode 100644 minikrebs/profiles/streamerkrebs/customfiles/etc/config/network delete mode 120000 minikrebs/profiles/streamerkrebs/customfiles/etc/dropbear/authorized_keys delete mode 100644 minikrebs/profiles/streamerkrebs/customfiles/etc/rc.local delete mode 100644 minikrebs/profiles/streamerkrebs/customfiles/etc/shadow delete mode 100644 minikrebs/profiles/streamerkrebs/customfiles/root/load_dependencies delete mode 100644 minikrebs/profiles/streamerkrebs/doc/README.md delete mode 100755 minikrebs/profiles/usb_ext/custom_make delete mode 100644 minikrebs/profiles/usb_ext/customfiles/etc/config/fstab delete mode 100644 minikrebs/profiles/usb_ext/customfiles/etc/config/network delete mode 100644 minikrebs/profiles/usb_ext/customfiles/etc/config/system delete mode 120000 minikrebs/profiles/usb_ext/customfiles/etc/dropbear/authorized_keys delete mode 100644 minikrebs/profiles/usb_ext/customfiles/etc/shadow delete mode 100755 minikrebs/profiles/usbbridge/custom_make delete mode 100644 minikrebs/profiles/usbbridge/customfiles/etc/config/network delete mode 120000 minikrebs/profiles/usbbridge/customfiles/etc/dropbear/authorized_keys delete mode 100644 minikrebs/profiles/usbbridge/customfiles/etc/rc.local delete mode 100644 minikrebs/profiles/usbbridge/customfiles/etc/shadow delete mode 100644 minikrebs/profiles/usbbridge/doc/README delete mode 100644 minikrebs/profiles/wifibridge/.gitignore delete mode 100755 minikrebs/profiles/wifibridge/custom_make delete mode 100644 minikrebs/profiles/wifibridge/customfiles/etc/config/firewall delete mode 100644 minikrebs/profiles/wifibridge/customfiles/etc/config/fstab delete mode 100644 minikrebs/profiles/wifibridge/customfiles/etc/config/network delete mode 100644 minikrebs/profiles/wifibridge/customfiles/etc/config/wireless delete mode 120000 minikrebs/profiles/wifibridge/customfiles/etc/dropbear/authorized_keys delete mode 100644 minikrebs/profiles/wifibridge/customfiles/etc/rc.local delete mode 100644 minikrebs/profiles/wifibridge/customfiles/etc/shadow delete mode 100644 minikrebs/profiles/wifibridge/customfiles/root/.ssh/authorized_keys delete mode 100755 minikrebs/profiles/wifibridge/customfiles/usr/bin/autoinfest delete mode 100755 minikrebs/profiles/wifibridge/customfiles/usr/bin/genhostid delete mode 100755 minikrebs/profiles/wifibridge/customfiles/usr/bin/led delete mode 100755 minikrebs/profiles/wifibridge/customfiles/usr/bin/tinc-update delete mode 100755 minikrebs/upgrade (limited to 'minikrebs') diff --git a/minikrebs b/minikrebs new file mode 160000 index 00000000..8fd46a7e --- /dev/null +++ b/minikrebs @@ -0,0 +1 @@ +Subproject commit 8fd46a7e3258bff753c42dc43fecfbbc853a685c diff --git a/minikrebs/.gitignore b/minikrebs/.gitignore deleted file mode 100644 index 8d0fa061..00000000 --- a/minikrebs/.gitignore +++ /dev/null @@ -1 +0,0 @@ -builder/ diff --git a/minikrebs/build/heckenkrebs-factory.bin b/minikrebs/build/heckenkrebs-factory.bin deleted file mode 100644 index dec89f16..00000000 Binary files a/minikrebs/build/heckenkrebs-factory.bin and /dev/null differ diff --git a/minikrebs/build/heckenkrebs-sysupgrade.bin b/minikrebs/build/heckenkrebs-sysupgrade.bin deleted file mode 100644 index 70bb0f25..00000000 Binary files a/minikrebs/build/heckenkrebs-sysupgrade.bin and /dev/null differ diff --git a/minikrebs/doc/Camkrebs b/minikrebs/doc/Camkrebs deleted file mode 100644 index 060bf60d..00000000 --- a/minikrebs/doc/Camkrebs +++ /dev/null @@ -1,19 +0,0 @@ - -# packages -kmod-video-uvc -mjpg-streamer - -# mjpg-streamer -original package not available in snapshot, grab it from old sources -## opkg.conf - - src/gz attitude_adjustment http://downloads.openwrt.org/attitude_adjustment/12.09-beta2/ar71xx/generic/packages/ - -## running live - - mjpg_streamer -i "input_uvc.so -d /dev/video0 -r 640x480" -o "output_http.so -p 8080 -w /www/webcam" - -## running in temp - - opkg install -d ram mjpg_streamer - LD_LIBRARY_PATH=/tmp/lib:/tmp/usr/bin /tmp/usr/bin/mjpg_streamer -i "input_uvc.so -d /dev/video0 -r 640x480" -o "output_http.so -p 8080 -w /tmp/www/webcam" diff --git a/minikrebs/doc/QUICKSTART b/minikrebs/doc/QUICKSTART deleted file mode 100644 index ac4ae384..00000000 --- a/minikrebs/doc/QUICKSTART +++ /dev/null @@ -1,37 +0,0 @@ -# Quickstart to get your own own krebs on wr703n - -!important this is pseudo code, so please use your brains - - cd /krebs/minikrebs - ./prepare krebs - builder/init - -# Stock image -connect to krebs - - dhclient eth0 - firefox 192.168.1.1 - {{goto the firmware-upgrade page}} - {{upload ../builder/bin/ar71xx/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory.bin}} - {{wait}} - {{reconnect power}} - -# Upgrade image - - {{ start krebs in recovery mode}} - ifconfig eth0 192.168.1.3 - sysctl net.ipv4.ip_forward=1 - iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE #assuming wlan0 provides internet access - telnet 192.168.1.1 - mount_root - passwd - /etc/init.d/dropbear start - exit - OWN_IP=192.168.1.3 ./upgrade 192.168.1.1 - {{reconnect power}} - {{password is minikrebs}} - -# when minikrebs is in dhcp-client mode - echo 'dhcp-range=192.168.0.50,192.168.0.150,12h' > /etc/dnsmasq.conf - ifconfig eth0 192.168.0.1 && dnsmasq -d - diff --git a/minikrebs/doc/TLDR b/minikrebs/doc/TLDR deleted file mode 100644 index 9a33c437..00000000 --- a/minikrebs/doc/TLDR +++ /dev/null @@ -1,3 +0,0 @@ -This is how you get a cool webcam-streamer image for your WR703N: - ./prepare instacam && builder/init -Use it to flash your minirouter, password is `minikrebs` diff --git a/minikrebs/doc/lazorcam_druck.svg b/minikrebs/doc/lazorcam_druck.svg deleted file mode 100644 index 4f376059..00000000 --- a/minikrebs/doc/lazorcam_druck.svg +++ /dev/null @@ -1,231 +0,0 @@ - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - LAZORCAM - Boot: - Lazorcam hat Stom wenn die blaue LED leuchtet- Wenn die LED vom Zustand "Blinkend" in den Zustand "durchgängig Leuchtend" gewechselt ist, ist der Bootvorgang abgeschlossen - Schaue dem Lazor beim Arbeiten zu - - Erreichbarkeit: HTTP: VLC: File -> Open Network Stream -> - http://lazorcam.shack/ - http://lazorcam.shack/?action=stream - - diff --git a/minikrebs/oncology/Makefile b/minikrebs/oncology/Makefile deleted file mode 100644 index 05d5c422..00000000 --- a/minikrebs/oncology/Makefile +++ /dev/null @@ -1,23 +0,0 @@ -build-deps: - #punani -Ei libtool automake autoconf zlib1g-dev libssl-dev python-dev libc6 libusb-dev libibus-dev subversion libgd2-noxpm-dev libgd2-noxpm lcd4linux - -/usr/bin/lcd4linux: build-deps - #punani -Ei lcd4linux - sed -i 's/usr\/sbin\/lcd4linux/usr\/bin\/lcd4linux/g' /etc/init.d/lcd4linux - dpfhack_display/build-dpf-lcd4linux.sh - make -C dpfhack_display/lcd4linux/ install - -lcd4linux_autostart: - # service lcd4linux start - # update-rc.d lcd4linux - -install: /usr/bin/lcd4linux /etc/lcd4linux.conf lcd4linux_autostart - # TODO this is debian only - -update: /etc/lcd4linux.conf - service lcd4linux force-reload - -/etc/lcd4linux.conf: lcd4linux.conf - chown krebs:krebs lcd4linux.conf - chmod 600 lcd4linux.conf - cp -a lcd4linux.conf /etc/lcd4linux.conf diff --git a/minikrebs/oncology/README b/minikrebs/oncology/README deleted file mode 100644 index 60261618..00000000 --- a/minikrebs/oncology/README +++ /dev/null @@ -1 +0,0 @@ -# lcd4linux for DigitalPhotoFrame diff --git a/minikrebs/oncology/config/full.conf b/minikrebs/oncology/config/full.conf deleted file mode 100644 index be16629d..00000000 --- a/minikrebs/oncology/config/full.conf +++ /dev/null @@ -1,572 +0,0 @@ -Layout 'Krebs' -Display 'DPF' - -Variables { - # Ticks: - second 1000 - minute 60 * second - - # Standard Dimensions: - linesize 53 # max line length, for status lines etc. - width100 51 # full width after padding (border) - width050 24 # 1/2 of full width - width033 17 # 1/3 of full width - width025 12 # 1/4 of full width - width010 5 # 1/10 of full width - - # Colors: - # ToDo: Alphakanal ausnutzen - black '000000' - white 'ffffff' - red 'ff0000' - darkblue '000066' - lightgray 'b2b2b2' - darkgray '191919' - barcolor0 '5f5fff' - barcolor1 'ff5f5c' - - # To be set later by timers: - FileMsg 'Dummy' -} - -Display dpf { - Driver 'DPF' - Port 'usb0' - Font '6x8' - Foreground white - Background darkblue - Basecolor darkblue -} - -Widget System { - class 'Text' - expression '*** ' . uname('nodename') . ' '. netinfo::ipaddr('eth0') . ' ***' - width linesize - align 'C' - update 0 - Background lightgray - Foreground darkgray -} - -Widget Time { - class 'Text' - expression strftime('%a, %d.%m.%Y %H:%M:%S', time()) . ' Up: ' . uptime('%d days %H:%M:%S') - width linesize - align 'C' - update 1 * second - Background lightgray - Foreground darkgray -} - -Widget Busy { - class 'Text' - expression proc_stat::cpu('busy', 0.5 * second) - prefix 'Busy' - postfix '%' - width width050 - precision 1 - align 'R' - update 0.5 * second -} - -Widget BusyBar { - class 'Bar' - expression proc_stat::cpu('busy', 0.5 * second) - expression2 proc_stat::cpu('system', 0.5 * second) - length width050 - direction 'E' - update 0.5 * second - Background darkgray - BarColor0 barcolor0 - BarColor1 barcolor1 -} - -Widget Load { - class 'Text' - expression loadavg(1) - prefix 'Load' - postfix loadavg(1) > 1.0 ? '!' : ' ' - width width050 - precision 1 - align 'R' - update 0.5 * second -# Foreground loadavg(1) > 1.0 ? red : white -} - -Widget LoadBar { - class 'Bar' - expression loadavg(1) - max 4.0 - length width050 - direction 'E' - update 0.5 * second - Background darkgray - BarColor0 barcolor0 - BarColor1 barcolor1 -} - -Widget Disk { - class 'Text' - # disk.[rw]blk return blocks, we assume a blocksize of 512 - # to get the number in kB/s we would do blk*512/1024, which is blk/2 - # expression (proc_stat::disk('.*', 'rblk', 0.5 * second)+proc_stat::disk('.*', 'wblk', 0.5 * second))/2 - # with kernel 2.6, disk_io disappeared from /proc/stat but moved to /proc/diskstat - # therefore you have to use another function called 'diskstats': - expression (diskstats('sd[a-z]$', 'read_sectors', 0.5 * second) + diskstats('sd[a-z]$', 'write_sectors', 0.5 * second)) / 2 / 1024 - prefix 'Disk' - postfix ' MB/s' - width width050 - precision 1 - align 'R' - update 0.5 * second -} - -Widget DiskBar { - class 'Bar' - #expression proc_stat::disk('.*', 'rblk', 0.5 * second) - #expression2 proc_stat::disk('.*', 'wblk', 0.5 * second) - # for kernel 2.6: - expression diskstats('sd[a-z]$', 'read_sectors', 0.5 * second) / 2 / 1024 - expression2 diskstats('sd[a-z]$', 'write_sectors', 0.5 * second) / 2 / 1024 - length width050 - direction 'E' - update 0.5 * second - Background darkgray - BarColor0 barcolor0 - BarColor1 barcolor1 -} - -Widget Eth0 { - class 'Text' - expression (netdev('eth0', 'Rx_bytes', 0.5 * second) + netdev('eth0', 'Tx_bytes', 0.5 * second)) / 1024 - prefix 'eth0' - postfix ' KB/s' - width width050 - precision 1 - align 'R' - update 0.5 * second -} - -Widget Eth0Bar { - class 'Bar' - expression netdev('eth0', 'Rx_bytes', 0.5 * second) / 1024 - expression2 netdev('eth0', 'Tx_bytes', 0.5 * second) / 1024 - length width050 - direction 'E' - update 0.5 * second - Background darkgray - BarColor0 barcolor0 - BarColor1 barcolor1 -} - -Widget Eth0Traffic { - class 'Text' - expression (netdev('eth0', 'Rx_bytes', 0)+netdev('eth0', 'Tx_bytes', 0))/1024/1024/1024 - prefix 'Traffic:' - postfix ' GB' - width 21 - precision 3 - align 'R' - update 10 * second -} - -Widget MemoryTitle { - class 'Text' - expression 'Memory/Swap' - width width050 - align 'L' - update 0 -} - -Widget MemoryTotal { - class 'Text' - expression meminfo('MemTotal') / 1024 - prefix 'Memory Total ' - postfix ' MB' - width width050 - precision 0 - align 'R' - update 0 -} - -Widget MemoryFree { - class 'Text' - expression (meminfo('MemFree') + meminfo('Cached')) / 1024 - prefix 'Memory Free ' - postfix ' MB' - width width050 - precision 0 - align 'R' - update 1 * second -} - -Widget MemorySwappedTotal { - class 'Text' - expression (meminfo('SwapTotal')) / 1024 - prefix 'Swap Total ' - postfix ' MB' - width width050 - precision 0 - align 'R' - update 1 * second -} - -Widget MemorySwappedFree { - class 'Text' - expression (meminfo('SwapTotal') - meminfo('SwapUsed')) / 1024 - prefix 'Swap Free'' - postfix ' MB' - width width050 - precision 0 - align 'R' - update 1 * second -} - -Widget MemorySwappedUsed { - class 'Text' - expression (meminfo('SwapTotal') - meminfo('SwapFree')) / 1024 - prefix 'Swap Used ' - postfix ' MB' - width width050 - precision 0 - align 'R' - update 1 * second -} - -Widget LoggedInTitle { - class 'Text' - expression 'Hosts in Krebs Darknet' - width width050 - align 'L' - update 0 -} - -Widget LoggedIn { - class 'Text' - expression exec('/krebs/oncology/bin/krebshostup') - width width050 - align 'L' - update 300 * second -} - -Widget FSSpaceTitle { - class 'Text' - expression 'Disk Space available' - width width050 - align 'L' - update 0 -} - -Widget FSSpace1 { - class 'Text' - expression statfs('/', 'bavail') * statfs('/', 'bsize') / 1024 / 1024 / 1024 - prefix '/ (Root FS)' - postfix ' GB' - width width050 - precision 2 - align 'R' - update 10 * second -} - -Widget HDDTempTitle { - class 'Text' - expression 'Disk Temperature°C' - width width050 - align 'L' - update 0 -} - -Widget HDDTemp1 { - class 'Text' - expression hddtemp('/dev/sda') - width width010 - precision 1 - align 'R' - update 10 * second -} - -Widget HDDTemp2 { - class 'Text' - expression hddtemp('/dev/sdb') - width width010 - precision 1 - align 'R' - update 10 * second -} - -Widget HDDTemp3 { - class 'Text' - expression hddtemp('/dev/sdc') - width width010 - precision 1 - align 'R' - update 10 * second -} - -Widget ServicesTitle { - class 'Text' - expression 'Services' - width width100 - align 'C' - Background lightgray - Foreground darkgray -} - -Widget ApacheStatus { - class 'Text' - expression 'Apache ' - width width050 - postfix strstr(exec('/etc/init.d/apache2 status', 10 * second), 'running') > 0 ? 'up' : 'down!' - update 10 * second -} - -Widget BindDNSStatus { - class 'Text' - expression 'Bind DNS ' - width width050 - postfix strstr(exec('/etc/init.d/bind9 status', 10 * second), 'running') > 0 ? 'up' : 'down!' - update 10 * second -} - -Widget MuninStatus { - class 'Text' - expression 'Monitoring ' - width width050 - postfix strstr(exec('/etc/init.d/munin-node status', 10 * second), 'running') > 0 ? 'up' : 'down!' - update 10 * second -} - -Widget MiniDLNAStatus { - class 'Text' - expression 'MiniDLNA ' - width width050 - postfix strstr(exec('/etc/init.d/minidlna status', 10 * second), 'running') > 0 ? 'up' : 'down!' - update 10 * second -} - -Widget MySQLStatus { - class 'Text' - expression 'MySQL ' - width width050 - postfix strstr(exec('/sbin/status mysql', 10 * second), 'running') > 0 ? 'up' : 'down!' - update 10 * second -} - -Widget MythTVStatus { - class 'Text' - expression 'MythTV Backend ' - width width050 - postfix strstr(exec('/sbin/status mythtv-backend', 10 * second), 'running') > 0 ? 'up' : 'down!' - update 10 * second -} - -Widget PostfixStatus { - class 'Text' - expression 'Postfix ' - width width050 - postfix strstr(exec('/etc/init.d/postfix status', 10 * second), 'not running') > 0 ? 'down!' : 'up' - update 10 * second -} - -Widget ProFTPStatus { - class 'Text' - expression 'ProFTP ' - width width050 - postfix strstr(exec('/etc/init.d/proftpd status', 10 * second), 'not running') > 0 ? 'down!' : 'up' - update 10 * second -} - -Widget SambaStatus { - class 'Text' - expression 'Samba ' - width width050 - postfix strstr(exec('/sbin/status smbd', 10 * second), 'running') > 0 ? 'up' : 'down!' - update 10 * second -} - -Widget SambaStatusDS { - class 'Text' - expression 'Samba ' - width width050 - postfix strstr(exec('/etc/init.d/samba status', 10 * second), 'running') > 0 ? 'up' : 'down!' - update 10 * second -} - -Widget SSHStatus { - class 'Text' - expression 'SSH ' - width width050 - postfix strstr(exec('/sbin/status ssh', 10 * second), 'running') > 0 ? 'up' : 'down!' - update 10 * second -} - -Widget SSHStatusDS { - class 'Text' - expression 'SSH ' - width width050 - postfix strstr(exec('/etc/init.d/ssh status', 10 * second), 'running') > 0 ? 'up' : 'down!' - update 10 * second -} - -Widget SWRAIDStatus { - class 'Text' - expression 'SW RAID ' - width width050 - postfix strstr(exec('cat /proc/mdstat', 10 * second), '[UUU]') > 0 ? 'up' : 'attention!' - update 10 * second -} - -Widget TwonkyStatus { - class 'Text' - expression 'Twonkymedia ' - width width050 - postfix strstr(exec('/sbin/status twonkymedia', 10 * second), 'running') > 0 ? 'up' : 'down!' - update 10 * second -} - -Widget FileTitle { - class 'Text' - expression 'Syslog' - width width100 - align 'C' - Background lightgray - Foreground darkgray -} - -Widget SetFileMsg { - class 'Timer' - expression FileMsg = exec('tail -n 1 /var/log/syslog', 2 * second) - active 1 - update 2 * second -} - -Widget File1 { - class 'Text' - expression substr(FileMsg, 0 * width100, width100) - width width100 - align 'L' - Background darkgray - update 2 * second -} - -Widget File2 { - class 'Text' - expression substr(FileMsg, 1 * width100, width100) - width width100 - align 'L' - Background darkgray - update 2 * second -} - -Widget File3 { - class 'Text' - expression substr(FileMsg, 2 * width100, width100) - width width100 - align 'L' - Background darkgray - update 2 * second -} - -Widget Weather1 { - class 'Text' - expression exec('/krebs/kachelmann/wetter', 10 * second) - prefix 'Wetter:' - width width100 - align 'L' - Background darkgray - update 10 * second -} -Widget Bitcoin { - class 'Text' - expression exec('/krebs/btc/mtgox/ticker_text.sh', 10 * second) - prefix 'BTC: ' - width width100 - align 'L' - Background darkgray - update 30 * second -} - -Widget Stream { - class 'Text' - expression exec('/krebs/streams/streams status', 10 * second) - #prefix 'Stream:' - width width100 - align 'L' - Background darkgray - update 10 * second -} - -Widget Debug { - class 'Text' - expression 'Serverdisplay - Krebs' - width linesize - align 'C' - Foreground lightgray -} - -Widget na { - class 'Text' - expression 'n/a' - width 3 - align 'L' -} - -Widget Bgnd { - class 'Image' - file '/krebs/cholerab/bling/krebs-v2_320x240.png' - reload 0 - update 0 - inverted 0 - visible 1 -} - -Layout Krebs { - Row01.Col01 'System' - Row02.Col01 'Time' - Row04.Col02 'Busy' - Row05.Col02 'BusyBar' - Row07.Col02 'Load' - Row08.Col02 'LoadBar' - Row10.Col02 'Disk' - Row11.Col02 'DiskBar' - Row13.Col02 'Eth0' - Row14.Col02 'Eth0Bar' - Row15.Col02 'Eth0Traffic' - - Row04.Col28 'MemoryTitle' - Row05.Col29 'MemoryTotal' - Row06.Col29 'MemoryFree' - Row07.Col29 'MemorySwappedTotal' - Row08.Col29 'MemorySwappedUsed' - Row10.Col28 'LoggedInTitle' - Row11.Col29 'Logged