From 393e9e0aa1fae52ecb9b49d82875c857699451b9 Mon Sep 17 00:00:00 2001 From: makefu Date: Sat, 5 Jan 2013 09:13:24 +0700 Subject: minikrebs/profiles: usbbridge - initial commit --- .../profiles/usbbridge/customfiles/etc/config/mjpg-streamer | 7 +++++++ minikrebs/profiles/usbbridge/customfiles/etc/config/network | 9 +++++++++ .../profiles/usbbridge/customfiles/etc/dropbear/authorized_keys | 1 + minikrebs/profiles/usbbridge/customfiles/etc/rc.local | 3 +++ minikrebs/profiles/usbbridge/customfiles/etc/shadow | 5 +++++ 5 files changed, 25 insertions(+) create mode 100644 minikrebs/profiles/usbbridge/customfiles/etc/config/mjpg-streamer create mode 100644 minikrebs/profiles/usbbridge/customfiles/etc/config/network create mode 120000 minikrebs/profiles/usbbridge/customfiles/etc/dropbear/authorized_keys create mode 100644 minikrebs/profiles/usbbridge/customfiles/etc/rc.local create mode 100644 minikrebs/profiles/usbbridge/customfiles/etc/shadow (limited to 'minikrebs/profiles/usbbridge/customfiles/etc') diff --git a/minikrebs/profiles/usbbridge/customfiles/etc/config/mjpg-streamer b/minikrebs/profiles/usbbridge/customfiles/etc/config/mjpg-streamer new file mode 100644 index 00000000..bb4f81ec --- /dev/null +++ b/minikrebs/profiles/usbbridge/customfiles/etc/config/mjpg-streamer @@ -0,0 +1,7 @@ +config mjpg-streamer core + option enabled "1" + option device "/dev/video0" + option resolution "1280x1024" + option fps "5" + option www "/www/webcam" + option port "80" diff --git a/minikrebs/profiles/usbbridge/customfiles/etc/config/network b/minikrebs/profiles/usbbridge/customfiles/etc/config/network new file mode 100644 index 00000000..c459c4e0 --- /dev/null +++ b/minikrebs/profiles/usbbridge/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/usbbridge/customfiles/etc/dropbear/authorized_keys b/minikrebs/profiles/usbbridge/customfiles/etc/dropbear/authorized_keys new file mode 120000 index 00000000..9c87fc52 --- /dev/null +++ b/minikrebs/profiles/usbbridge/customfiles/etc/dropbear/authorized_keys @@ -0,0 +1 @@ +/root/.ssh/authorized_keys \ No newline at end of file diff --git a/minikrebs/profiles/usbbridge/customfiles/etc/rc.local b/minikrebs/profiles/usbbridge/customfiles/etc/rc.local new file mode 100644 index 00000000..49ae50b3 --- /dev/null +++ b/minikrebs/profiles/usbbridge/customfiles/etc/rc.local @@ -0,0 +1,3 @@ +insmod usbip-host +usbip bind -b 1-1 +usbipd -D diff --git a/minikrebs/profiles/usbbridge/customfiles/etc/shadow b/minikrebs/profiles/usbbridge/customfiles/etc/shadow new file mode 100644 index 00000000..251abaf5 --- /dev/null +++ b/minikrebs/profiles/usbbridge/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::: -- cgit v1.2.3 From c6f2e76f7f09919f4bbbfd382ce6c42fb051d460 Mon Sep 17 00:00:00 2001 From: makefu Date: Mon, 14 Jan 2013 02:05:55 +0100 Subject: minikrebs: nfc-login - initial commit --- minikrebs/profiles/usbbridge/customfiles/etc/config/mjpg-streamer | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 minikrebs/profiles/usbbridge/customfiles/etc/config/mjpg-streamer (limited to 'minikrebs/profiles/usbbridge/customfiles/etc') diff --git a/minikrebs/profiles/usbbridge/customfiles/etc/config/mjpg-streamer b/minikrebs/profiles/usbbridge/customfiles/etc/config/mjpg-streamer deleted file mode 100644 index bb4f81ec..00000000 --- a/minikrebs/profiles/usbbridge/customfiles/etc/config/mjpg-streamer +++ /dev/null @@ -1,7 +0,0 @@ -config mjpg-streamer core - option enabled "1" - option device "/dev/video0" - option resolution "1280x1024" - option fps "5" - option www "/www/webcam" - option port "80" -- cgit v1.2.3 From 02be71b1de33e3528a1fbd093262d70cadc18b43 Mon Sep 17 00:00:00 2001 From: makefu Date: Mon, 14 Jan 2013 03:27:02 +0100 Subject: new password is minikrebs --- minikrebs/profiles/usbbridge/customfiles/etc/shadow | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'minikrebs/profiles/usbbridge/customfiles/etc') diff --git a/minikrebs/profiles/usbbridge/customfiles/etc/shadow b/minikrebs/profiles/usbbridge/customfiles/etc/shadow index 251abaf5..9cc800dd 100644 --- a/minikrebs/profiles/usbbridge/customfiles/etc/shadow +++ b/minikrebs/profiles/usbbridge/customfiles/etc/shadow @@ -1,4 +1,4 @@ -root:$1$spkPLKf6$KEM1l1DgouvYjeBfkT2wW1:0:0:99999:7::: +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::: -- cgit v1.2.3