From bb899884f88136e2d6684b4ee4c0021e18408167 Mon Sep 17 00:00:00 2001 From: makefu Date: Mon, 7 Jan 2013 05:55:35 +0700 Subject: update camkrebs --- minikrebs/profiles/camkrebs_quickcam/custom_make | 3 +++ .../camkrebs_quickcam/customfiles/etc/config/mjpg-streamer | 7 +++++++ .../profiles/camkrebs_quickcam/customfiles/etc/config/network | 9 +++++++++ .../camkrebs_quickcam/customfiles/etc/dropbear/authorized_keys | 1 + .../camkrebs_quickcam/customfiles/etc/rc.d/S91mjpg-streamer | 1 + minikrebs/profiles/camkrebs_quickcam/customfiles/etc/shadow | 5 +++++ minikrebs/profiles/camkrebs_quickcam/doc/README.md | 2 ++ 7 files changed, 28 insertions(+) create mode 100755 minikrebs/profiles/camkrebs_quickcam/custom_make create mode 100644 minikrebs/profiles/camkrebs_quickcam/customfiles/etc/config/mjpg-streamer create mode 100644 minikrebs/profiles/camkrebs_quickcam/customfiles/etc/config/network create mode 120000 minikrebs/profiles/camkrebs_quickcam/customfiles/etc/dropbear/authorized_keys create mode 120000 minikrebs/profiles/camkrebs_quickcam/customfiles/etc/rc.d/S91mjpg-streamer create mode 100644 minikrebs/profiles/camkrebs_quickcam/customfiles/etc/shadow create mode 100644 minikrebs/profiles/camkrebs_quickcam/doc/README.md (limited to 'minikrebs/profiles/camkrebs_quickcam') diff --git a/minikrebs/profiles/camkrebs_quickcam/custom_make b/minikrebs/profiles/camkrebs_quickcam/custom_make new file mode 100755 index 00000000..a01dba54 --- /dev/null +++ b/minikrebs/profiles/camkrebs_quickcam/custom_make @@ -0,0 +1,3 @@ +#!/bin/sh + +make image PROFILE=TLWR703 PACKAGES="tinc ip kmod-ipv6 radvd kmod-fs-ext4 wireless-tools kmod-usb-core kmod-usb2 kmod-video-gspca-stv06xx mjpg-streamer -kmod-ppp -kmod-pppoe -kmod-pppox -ppp -ppp-mod-pppoe -dnsmasq" FILES=customfiles/ diff --git a/minikrebs/profiles/camkrebs_quickcam/customfiles/etc/config/mjpg-streamer b/minikrebs/profiles/camkrebs_quickcam/customfiles/etc/config/mjpg-streamer new file mode 100644 index 00000000..7417837e --- /dev/null +++ b/minikrebs/profiles/camkrebs_quickcam/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 "25" + option www "/www/webcam" + option port "80" diff --git a/minikrebs/profiles/camkrebs_quickcam/customfiles/etc/config/network b/minikrebs/profiles/camkrebs_quickcam/customfiles/etc/config/network new file mode 100644 index 00000000..c459c4e0 --- /dev/null +++ b/minikrebs/profiles/camkrebs_quickcam/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/camkrebs_quickcam/customfiles/etc/dropbear/authorized_keys b/minikrebs/profiles/camkrebs_quickcam/customfiles/etc/dropbear/authorized_keys new file mode 120000 index 00000000..9c87fc52 --- /dev/null +++ b/minikrebs/profiles/camkrebs_quickcam/customfiles/etc/dropbear/authorized_keys @@ -0,0 +1 @@ +/root/.ssh/authorized_keys \ No newline at end of file diff --git a/minikrebs/profiles/camkrebs_quickcam/customfiles/etc/rc.d/S91mjpg-streamer b/minikrebs/profiles/camkrebs_quickcam/customfiles/etc/rc.d/S91mjpg-streamer new file mode 120000 index 00000000..11b1e90d --- /dev/null +++ b/minikrebs/profiles/camkrebs_quickcam/customfiles/etc/rc.d/S91mjpg-streamer @@ -0,0 +1 @@ +../init.d/mjpg-streamer \ No newline at end of file diff --git a/minikrebs/profiles/camkrebs_quickcam/customfiles/etc/shadow b/minikrebs/profiles/camkrebs_quickcam/customfiles/etc/shadow new file mode 100644 index 00000000..251abaf5 --- /dev/null +++ b/minikrebs/profiles/camkrebs_quickcam/customfiles/etc/shadow @@ -0,0 +1,5 @@ +root:$1$spkPLKf6$KEM1l1DgouvYjeBfkT2wW1:0: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/camkrebs_quickcam/doc/README.md b/minikrebs/profiles/camkrebs_quickcam/doc/README.md new file mode 100644 index 00000000..5b787737 --- /dev/null +++ b/minikrebs/profiles/camkrebs_quickcam/doc/README.md @@ -0,0 +1,2 @@ +# Documentation +Firmware for krebs with Logitech QuickCam Messenger attached. -- cgit v1.2.3