summaryrefslogtreecommitdiffstats
path: root/minikrebs
diff options
context:
space:
mode:
Diffstat (limited to 'minikrebs')
-rw-r--r--minikrebs/doc/SETUP2
-rwxr-xr-xminikrebs/prepare10
-rw-r--r--minikrebs/profiles/README.md5
-rwxr-xr-xminikrebs/profiles/camkrebs_uvc/custom_make3
l---------minikrebs/profiles/camkrebs_uvc/customfiles/etc/rc.d/S91mjpg-streamer1
-rwxr-xr-xminikrebs/profiles/camkrebs_zc3xx/custom_make2
-rw-r--r--minikrebs/profiles/camkrebs_zc3xx/doc/README.md2
l---------minikrebs/profiles/heckenkrebs/customfiles/etc/dropbear/authorized_keys (renamed from minikrebs/profiles/camkrebs_uvc/customfiles/etc/dropbear/authorized_keys)0
-rw-r--r--minikrebs/profiles/heckenkrebs/doc/README.md (renamed from minikrebs/README)0
-rw-r--r--minikrebs/profiles/init_overlay10
-rwxr-xr-xminikrebs/profiles/instacam/custom_make3
-rw-r--r--minikrebs/profiles/instacam/customfiles/etc/config/mjpg-streamer (renamed from minikrebs/profiles/camkrebs_uvc/customfiles/etc/config/mjpg-streamer)0
-rw-r--r--minikrebs/profiles/instacam/customfiles/etc/config/network (renamed from minikrebs/profiles/camkrebs_uvc/customfiles/etc/config/network)0
l---------minikrebs/profiles/instacam/customfiles/etc/dropbear/authorized_keys (renamed from minikrebs/profiles/rickroller/customfiles/etc/dropbear/authorized_keys)0
-rw-r--r--minikrebs/profiles/instacam/customfiles/etc/rc.local (renamed from minikrebs/profiles/camkrebs_uvc/customfiles/etc/rc.local)0
-rw-r--r--minikrebs/profiles/instacam/customfiles/etc/shadow (renamed from minikrebs/profiles/camkrebs_uvc/customfiles/etc/shadow)0
-rw-r--r--minikrebs/profiles/instacam/doc/README.md52
-rw-r--r--minikrebs/profiles/krebs/customfiles/etc/rc.local5
-rwxr-xr-xminikrebs/profiles/krebscam/custom_make2
-rw-r--r--minikrebs/profiles/krebscam/customfiles/etc/config/network14
-rw-r--r--minikrebs/profiles/krebscam/customfiles/etc/config/system11
-rw-r--r--minikrebs/profiles/krebscam/customfiles/etc/config/tinc (renamed from minikrebs/profiles/krebs/customfiles/etc/config/tinc)0
-rw-r--r--minikrebs/profiles/krebscam/customfiles/etc/config/wireless19
l---------minikrebs/profiles/krebscam/customfiles/etc/dropbear/authorized_keys1
l---------minikrebs/profiles/krebscam/customfiles/etc/rc.d/tinc (renamed from minikrebs/profiles/krebs/customfiles/etc/rc.d/tinc)0
-rw-r--r--minikrebs/profiles/krebscam/customfiles/etc/rc.local3
-rw-r--r--minikrebs/profiles/krebscam/customfiles/etc/shadow (renamed from minikrebs/profiles/rickroller/customfiles/etc/shadow)0
-rwxr-xr-xminikrebs/profiles/krebscam/customfiles/usr/bin/autoinfest4
-rwxr-xr-xminikrebs/profiles/krebscam/customfiles/usr/bin/genhostid2
-rwxr-xr-xminikrebs/profiles/krebscam/customfiles/usr/bin/led3
-rwxr-xr-xminikrebs/profiles/krebscam/customfiles/usr/bin/tinc-update4
-rw-r--r--minikrebs/profiles/krebscam/doc/README.md8
-rwxr-xr-xminikrebs/profiles/lazorkrebs/custom_make3
-rw-r--r--minikrebs/profiles/lazorkrebs/customfiles/etc/config/mjpg-streamer7
-rw-r--r--minikrebs/profiles/lazorkrebs/customfiles/etc/config/network9
l---------minikrebs/profiles/lazorkrebs/customfiles/etc/dropbear/authorized_keys1
-rw-r--r--minikrebs/profiles/lazorkrebs/customfiles/etc/rc.local1
-rw-r--r--minikrebs/profiles/lazorkrebs/customfiles/etc/shadow5
-rw-r--r--minikrebs/profiles/rickroller/customfiles/www/flvplayer.swfbin29708 -> 0 bytes
-rw-r--r--minikrebs/profiles/rickroller/customfiles/www/index.html24
-rw-r--r--minikrebs/profiles/rickroller/customfiles/www/rickroll.flvbin1078840 -> 0 bytes
-rw-r--r--minikrebs/profiles/rickroller/doc/README.md8
-rwxr-xr-xminikrebs/profiles/rickroller_advanced/airbase-ngbin0 -> 89141 bytes
-rwxr-xr-xminikrebs/profiles/rickroller_advanced/custom_make4
-rw-r--r--minikrebs/profiles/rickroller_advanced/customfiles/etc/config/dhcp (renamed from minikrebs/profiles/rickroller/customfiles/etc/config/dhcp)0
-rw-r--r--minikrebs/profiles/rickroller_advanced/customfiles/etc/config/firewall (renamed from minikrebs/profiles/rickroller/customfiles/etc/config/firewall)0
-rw-r--r--minikrebs/profiles/rickroller_advanced/customfiles/etc/config/fstab19
-rw-r--r--minikrebs/profiles/rickroller_advanced/customfiles/etc/config/network (renamed from minikrebs/profiles/rickroller/customfiles/etc/config/network)0
-rw-r--r--minikrebs/profiles/rickroller_advanced/customfiles/etc/config/system (renamed from minikrebs/profiles/rickroller/customfiles/etc/config/system)0
-rw-r--r--minikrebs/profiles/rickroller_advanced/customfiles/etc/config/uhttpd (renamed from minikrebs/profiles/rickroller/customfiles/etc/config/uhttpd)0
-rw-r--r--minikrebs/profiles/rickroller_advanced/customfiles/etc/config/wireless (renamed from minikrebs/profiles/rickroller/customfiles/etc/config/wireless)0
l---------minikrebs/profiles/rickroller_advanced/customfiles/etc/dropbear/authorized_keys1
-rw-r--r--minikrebs/profiles/rickroller_advanced/customfiles/etc/shadow5
-rw-r--r--minikrebs/profiles/rickroller_advanced/customfiles/etc/uhttpd.crt (renamed from minikrebs/profiles/rickroller/customfiles/etc/uhttpd.crt)bin529 -> 529 bytes
-rw-r--r--minikrebs/profiles/rickroller_advanced/customfiles/etc/uhttpd.key (renamed from minikrebs/profiles/rickroller/customfiles/etc/uhttpd.key)bin609 -> 609 bytes
-rw-r--r--minikrebs/profiles/rickroller_advanced/doc/OVERLAY6
-rw-r--r--minikrebs/profiles/rickroller_advanced/doc/README.md10
-rw-r--r--minikrebs/profiles/rickroller_advanced/overlay/www/1x1.gif (renamed from minikrebs/profiles/rickroller/customfiles/www/1x1.gif)bin35 -> 35 bytes
-rwxr-xr-xminikrebs/profiles/rickroller_advanced/overlay/www/cgi-bin/rrhelper (renamed from minikrebs/profiles/rickroller/customfiles/www/cgi-bin/rrhelper)0
-rw-r--r--minikrebs/profiles/rickroller_advanced/overlay/www/index.html27
-rw-r--r--minikrebs/profiles/rickroller_advanced/overlay/www/rick.gifbin0 -> 506229 bytes
-rw-r--r--minikrebs/profiles/rickroller_advanced/overlay/www/rick.oggbin0 -> 390604 bytes
-rwxr-xr-xminikrebs/profiles/rickroller_bare/custom_make (renamed from minikrebs/profiles/rickroller/custom_make)0
-rw-r--r--minikrebs/profiles/rickroller_bare/customfiles/etc/config/dhcp28
-rw-r--r--minikrebs/profiles/rickroller_bare/customfiles/etc/config/firewall112
-rw-r--r--minikrebs/profiles/rickroller_bare/customfiles/etc/config/network15
-rw-r--r--minikrebs/profiles/rickroller_bare/customfiles/etc/config/system8
-rw-r--r--minikrebs/profiles/rickroller_bare/customfiles/etc/config/uhttpd13
-rw-r--r--minikrebs/profiles/rickroller_bare/customfiles/etc/config/wireless19
l---------minikrebs/profiles/rickroller_bare/customfiles/etc/dropbear/authorized_keys1
-rw-r--r--minikrebs/profiles/rickroller_bare/customfiles/etc/shadow5
-rw-r--r--minikrebs/profiles/rickroller_bare/customfiles/etc/uhttpd.crtbin0 -> 529 bytes
-rw-r--r--minikrebs/profiles/rickroller_bare/customfiles/etc/uhttpd.keybin0 -> 609 bytes
-rw-r--r--minikrebs/profiles/rickroller_bare/customfiles/www/1x1.gifbin0 -> 35 bytes
-rwxr-xr-xminikrebs/profiles/rickroller_bare/customfiles/www/cgi-bin/rrhelper15
-rw-r--r--minikrebs/profiles/rickroller_bare/customfiles/www/index.html27
-rw-r--r--minikrebs/profiles/rickroller_bare/customfiles/www/rick.gifbin0 -> 506229 bytes
-rw-r--r--minikrebs/profiles/rickroller_bare/customfiles/www/rick.oggbin0 -> 390604 bytes
-rw-r--r--minikrebs/profiles/rickroller_bare/doc/README.md21
-rw-r--r--minikrebs/profiles/rickroller_bare/doc/videoconvert7
-rwxr-xr-xminikrebs/profiles/streamerkrebs/custom_make2
-rw-r--r--minikrebs/profiles/streamerkrebs/doc/README.md3
-rw-r--r--minikrebs/profiles/wifibridge/.gitignore1
-rwxr-xr-xminikrebs/profiles/wifibridge/custom_make2
-rw-r--r--minikrebs/profiles/wifibridge/customfiles/etc/config/firewall104
-rw-r--r--minikrebs/profiles/wifibridge/customfiles/etc/config/fstab19
-rw-r--r--minikrebs/profiles/wifibridge/customfiles/etc/config/network17
-rw-r--r--minikrebs/profiles/wifibridge/customfiles/etc/config/wireless21
l---------minikrebs/profiles/wifibridge/customfiles/etc/dropbear/authorized_keys1
-rw-r--r--minikrebs/profiles/wifibridge/customfiles/etc/rc.local4
-rw-r--r--minikrebs/profiles/wifibridge/customfiles/etc/shadow5
-rw-r--r--minikrebs/profiles/wifibridge/customfiles/root/.ssh/authorized_keys1
-rwxr-xr-xminikrebs/profiles/wifibridge/customfiles/usr/bin/autoinfest4
-rwxr-xr-xminikrebs/profiles/wifibridge/customfiles/usr/bin/genhostid2
-rwxr-xr-xminikrebs/profiles/wifibridge/customfiles/usr/bin/led3
-rwxr-xr-xminikrebs/profiles/wifibridge/customfiles/usr/bin/tinc-update4
-rwxr-xr-xminikrebs/upgrade4
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