diff options
Diffstat (limited to 'minikrebs')
97 files changed, 718 insertions, 46 deletions
diff --git a/minikrebs/doc/SETUP b/minikrebs/doc/SETUP deleted file mode 100644 index f8e9ca3b..00000000 --- a/minikrebs/doc/SETUP +++ /dev/null @@ -1,2 +0,0 @@ -make command used in image builder. files is the customfiles directory -make image PROFILE=TLWR703 PACKAGES="tinc curl kmod-ipv6 radvd ip wireless-tools block-mount kmod-usb-core kmod-usb2 kmod-usb-storage -kmod-ppp -kmod-pppoe -kmod-pppox -ppp -ppp-mod-pppoe" FILES=files/ diff --git a/minikrebs/prepare b/minikrebs/prepare index 610c1299..6b69db50 100755 --- a/minikrebs/prepare +++ b/minikrebs/prepare @@ -24,6 +24,7 @@ echo echo "copying generic init:" cp --remove-destination profiles/init builder/init echo " profile/init -> builder/init" +[ -e builder/overlay ] && echo "removing old overlay" && rm -rf builder/overlay echo echo "copying profile:" find profiles/$PROFILE -mindepth 1 -maxdepth 1| while read file; do @@ -34,4 +35,11 @@ done echo echo $PROFILE > builder/current_profile -echo 'now run `builder/init`' +echo "Finished Preparing Profile $PROFILE" +echo 'run `builder/init`' + +if [ -e builder/overlay ];then + echo + echo "This profile also contains overlay data," + echo 'run `builder/init_overlay` to copy' +fi diff --git a/minikrebs/profiles/README.md b/minikrebs/profiles/README.md index fc1e8945..9e324d9e 100644 --- a/minikrebs/profiles/README.md +++ b/minikrebs/profiles/README.md @@ -1,4 +1,9 @@ +# Profiles Every profile must have a `custom_make` script which builds the image for the profile. This script also can contain which customizes the image files before building. + +You may also want to include your own files into your image, adding file=customfile in your custom\_make. + +default password is `aidsballs` diff --git a/minikrebs/profiles/camkrebs_uvc/custom_make b/minikrebs/profiles/camkrebs_uvc/custom_make deleted file mode 100755 index 752a7bfe..00000000 --- a/minikrebs/profiles/camkrebs_uvc/custom_make +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -make image PROFILE=TLWR703 PACKAGES="tinc ip kmod-ipv6 radvd kmod-fs-ext4 wireless-tools kmod-usb-core kmod-usb2 -kmod-ppp -kmod-pppoe -kmod-pppox -ppp -ppp-mod-pppoe -dnsmasq kmod-video-uvc mjpg-streamer" FILES=customfiles/ diff --git a/minikrebs/profiles/camkrebs_uvc/customfiles/etc/rc.d/S91mjpg-streamer b/minikrebs/profiles/camkrebs_uvc/customfiles/etc/rc.d/S91mjpg-streamer deleted file mode 120000 index 11b1e90d..00000000 --- a/minikrebs/profiles/camkrebs_uvc/customfiles/etc/rc.d/S91mjpg-streamer +++ /dev/null @@ -1 +0,0 @@ -../init.d/mjpg-streamer
\ No newline at end of file diff --git a/minikrebs/profiles/camkrebs_zc3xx/custom_make b/minikrebs/profiles/camkrebs_zc3xx/custom_make index 8f9faf10..642513be 100755 --- a/minikrebs/profiles/camkrebs_zc3xx/custom_make +++ b/minikrebs/profiles/camkrebs_zc3xx/custom_make @@ -1,3 +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-zc3xx mjpg-streamer -kmod-ppp -kmod-pppoe -kmod-pppox -ppp -ppp-mod-pppoe -dnsmasq" FILES=customfiles/ +make image PROFILE=TLWR703 PACKAGES="tinc ip kmod-ipv6 kmod-fs-ext4 wireless-tools block-mount kmod-usb-core kmod-usb2 kmod-video-gspca-zc3xx mjpg-streamer -kmod-ppp -kmod-pppoe -kmod-pppox -ppp -ppp-mod-pppoe -dnsmasq -radvd" FILES=customfiles/ diff --git a/minikrebs/profiles/camkrebs_zc3xx/doc/README.md b/minikrebs/profiles/camkrebs_zc3xx/doc/README.md index 3f93bfda..1b3d4beb 100644 --- a/minikrebs/profiles/camkrebs_zc3xx/doc/README.md +++ b/minikrebs/profiles/camkrebs_zc3xx/doc/README.md @@ -1,4 +1,4 @@ # Documentation -Firmware for krebs with Logitech QuickCam Messenger attached. +Firmware for krebs with Cheapo china webcam with zc3xx chipset attached. The profile is derived from krebs diff --git a/minikrebs/profiles/camkrebs_uvc/customfiles/etc/dropbear/authorized_keys b/minikrebs/profiles/heckenkrebs/customfiles/etc/dropbear/authorized_keys index 9c87fc52..9c87fc52 120000 --- a/minikrebs/profiles/camkrebs_uvc/customfiles/etc/dropbear/authorized_keys +++ b/minikrebs/profiles/heckenkrebs/customfiles/etc/dropbear/authorized_keys diff --git a/minikrebs/README b/minikrebs/profiles/heckenkrebs/doc/README.md index 11d6f527..11d6f527 100644 --- a/minikrebs/README +++ b/minikrebs/profiles/heckenkrebs/doc/README.md diff --git a/minikrebs/profiles/init_overlay b/minikrebs/profiles/init_overlay new file mode 100644 index 00000000..3b714c39 --- /dev/null +++ b/minikrebs/profiles/init_overlay @@ -0,0 +1,10 @@ +#!/bin/sh +[ ! -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 + +if grep -q $PWD/mnt/overlay /etc/mtab;then + +else + echo "please mount your overlay to $PWD/overlay" +fi diff --git a/minikrebs/profiles/instacam/custom_make b/minikrebs/profiles/instacam/custom_make new file mode 100755 index 00000000..cfe965b2 --- /dev/null +++ b/minikrebs/profiles/instacam/custom_make @@ -0,0 +1,3 @@ +#!/bin/sh + +make image PROFILE=TLWR703 PACKAGES="ip kmod-ipv6 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/camkrebs_uvc/customfiles/etc/config/mjpg-streamer b/minikrebs/profiles/instacam/customfiles/etc/config/mjpg-streamer index 298b06fe..298b06fe 100644 --- a/minikrebs/profiles/camkrebs_uvc/customfiles/etc/config/mjpg-streamer +++ b/minikrebs/profiles/instacam/customfiles/etc/config/mjpg-streamer diff --git a/minikrebs/profiles/camkrebs_uvc/customfiles/etc/config/network b/minikrebs/profiles/instacam/customfiles/etc/config/network index c459c4e0..c459c4e0 100644 --- a/minikrebs/profiles/camkrebs_uvc/customfiles/etc/config/network +++ b/minikrebs/profiles/instacam/customfiles/etc/config/network diff --git a/minikrebs/profiles/rickroller/customfiles/etc/dropbear/authorized_keys b/minikrebs/profiles/instacam/customfiles/etc/dropbear/authorized_keys index 9c87fc52..9c87fc52 120000 --- a/minikrebs/profiles/rickroller/customfiles/etc/dropbear/authorized_keys +++ b/minikrebs/profiles/instacam/customfiles/etc/dropbear/authorized_keys diff --git a/minikrebs/profiles/camkrebs_uvc/customfiles/etc/rc.local b/minikrebs/profiles/instacam/customfiles/etc/rc.local index 3e91b57c..3e91b57c 100644 --- a/minikrebs/profiles/camkrebs_uvc/customfiles/etc/rc.local +++ b/minikrebs/profiles/instacam/customfiles/etc/rc.local diff --git a/minikrebs/profiles/camkrebs_uvc/customfiles/etc/shadow b/minikrebs/profiles/instacam/customfiles/etc/shadow index 251abaf5..251abaf5 100644 --- a/minikrebs/profiles/camkrebs_uvc/customfiles/etc/shadow +++ b/minikrebs/profiles/instacam/customfiles/etc/shadow diff --git a/minikrebs/profiles/instacam/doc/README.md b/minikrebs/profiles/instacam/doc/README.md new file mode 100644 index 00000000..b5da2ddb --- /dev/null +++ b/minikrebs/profiles/instacam/doc/README.md @@ -0,0 +1,52 @@ +# Project Instacam + +# Description + +The aim of the project is to reliably push a video stream directly to the internets for +everyone to see at a very low price. + +# Hardware + +## Core (Wifi / Ethernet) +- TP-Link WR703n[Amazon](https://www.amazon.de/dp/B008UNA6FS/?tag=krebsco-21)[Ebay China](http://www.ebay.de/itm/BLUE-Mini-Nano-TP-LINK-TL-WR703N-150Mbps-WiFi-for-iPhone-4S-Wireless-Router-HOT-/360501556127?pt=COMP_EN_Routers&hash=item53ef91339f ) ~ 16 Euro +- USB Webcam + - [Logitech C270 with Autofocus (AZ)](https://www.amazon.de/dp/B003PAOAWG/?tag=krebsco-21) ~ 25 Euro + - [China NoName Cam (DX)](http://dx.com/p/compact-1-3mp-pc-usb-webcam-with-built-in-microphone-black-51874?Utm_rid=93398939&Utm_source=affiliate) ~ 5++ Euro + - [\* List of UVC Supported Devices](http://www.ideasonboard.org/uvc/ ) + - [\* List of GSPCA Support |