Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/guysoft/OctoPi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Sheffer <guysoft@gmail.com>2017-06-21 01:24:32 +0300
committerGuy Sheffer <guysoft@gmail.com>2017-06-21 01:24:32 +0300
commit0a778f8fce3d185dbad419f6c3670a88f024bb25 (patch)
tree82d39561e59dffe1165e265251e6443a96eea334 /src/modules/octopi/filesystem/boot
parent0de6564ec8006b96edbe27d73954698a515d608b (diff)
Use CustomPiOS to build OctoPi
Diffstat (limited to 'src/modules/octopi/filesystem/boot')
-rw-r--r--src/modules/octopi/filesystem/boot/octopi-network.txt71
-rw-r--r--src/modules/octopi/filesystem/boot/octopi.txt65
-rw-r--r--src/modules/octopi/filesystem/boot/ssh0
3 files changed, 136 insertions, 0 deletions
diff --git a/src/modules/octopi/filesystem/boot/octopi-network.txt b/src/modules/octopi/filesystem/boot/octopi-network.txt
new file mode 100644
index 0000000..3433478
--- /dev/null
+++ b/src/modules/octopi/filesystem/boot/octopi-network.txt
@@ -0,0 +1,71 @@
+# You can use this file to manually set up your network configuration.
+#
+# This file is included into /etc/network/interfaces, so anything that
+# works by editing that file is also possible here.
+
+# !!!!! HEADS-UP MACOSX USERS !!!!!
+#
+# If you use Textedit to edit this file make sure to use "plain text format"
+# and "disable smart quotes" in "Textedit > Preferences", otherwise Textedit
+# will use none-compatible characters and your network configuration won't
+# work!
+#
+# !!!!! HEADS-UP MACOSX USERS !!!!!
+
+### WIFI CONFIGURATION ######################################################
+# The three segments below should cover you in most cases if you run
+# a wifi network that uses either WPA/WPA2 or WEP encryption.
+#
+# Just uncomment the lines prefixed with a single # of the configuration
+# that matches your wifi setup and fill in SSID and passphrase.
+#
+# If you need to configure more than 1 wifi network, please use /boot/octopi-wpa-supplicant.txt instead
+#
+# ATTENTION: please note that the raspberry pi 3 internal wifi does currently not support the wifi channels 12 and 13
+
+## WPA/WPA2 secured
+#iface wlan0-octopi inet manual
+# wpa-ssid "put SSID here"
+# wpa-psk "put password here"
+
+## WEP secured
+#iface wlan0-octopi inet manual
+# wireless-essid "put SSID here"
+# wireless-key "put password here"
+
+## Open/unsecured
+#iface wlan0-octopi inet manual
+# wireless-essid "put SSID here"
+# wireless-mode managed
+
+### WIRED CONFIGURATION WITH DHCP ###########################################
+# Nothing to do, OctoPi is already preconfigured that way. Just plug in your
+# cable, wait for an IP to be assigned and stuff should work out of the box
+# just fine.
+
+### WIRED CONFIGURATION WITH STATIC IP ######################################
+# The following segment allows you to configure your wired connection
+# with a static IP.
+#
+# Just uncomment the lines prefixed with a single #. Then connect
+# a cable to the Pi and another system, e.g. a Laptop, and set that
+# other system's network configuration to:
+#
+# address: 192.168.250.10
+# netmask: 255.255.255.0
+# broadcast: 192.168.250.255
+#
+# You can then reach the Pi from the system's browser by going to
+#
+# http://192.168.250.1
+#
+# or
+#
+# http://octopi.local
+
+#auto eth0:1
+#iface eth0:1 inet static
+# address 192.168.250.1
+# netmask 255.255.255.0
+# broadcast 192.168.250.255
+
diff --git a/src/modules/octopi/filesystem/boot/octopi.txt b/src/modules/octopi/filesystem/boot/octopi.txt
new file mode 100644
index 0000000..149ed2a
--- /dev/null
+++ b/src/modules/octopi/filesystem/boot/octopi.txt
@@ -0,0 +1,65 @@
+### Configure which camera to use
+#
+# Available options are:
+# - auto: tries first usb webcam, if that's not available tries raspi cam
+# - usb: only tries usb webcam
+# - raspi: only tries raspi cam
+#
+# Defaults to auto
+#
+#camera="auto"
+
+### Additional options to supply to MJPG Streamer for the USB camera
+#
+# See https://github.com/foosel/OctoPrint/wiki/MJPG-Streamer-configuration
+# for available options
+#
+# Defaults to a resolution of 640x480 px and a framerate of 10 fps
+#
+#camera_usb_options="-r 640x480 -f 10"
+
+### Additional webcam devices known to cause problems with -f
+#
+# Apparently there a some devices out there that with the current
+# mjpg_streamer release do not support the -f parameter (for specifying
+# the capturing framerate) and will just refuse to output an image if it
+# is supplied.
+#
+# The webcam daemon will detect those devices by their USB Vendor and Product
+# ID and remove the -f parameter from the options provided to mjpg_streamer.
+#
+# By default, this is done for the following devices:
+# Logitech C170 (046d:082b)
+#
+# Using the following option it is possible to add additional devices. If
+# your webcam happens to show above symptoms, try determining your cam's
+# vendor and product id via lsusb, activating the line below by removing # and
+# adding it as shown examplatory.
+#
+# If this fixes your problem, please report it back so we can include the device
+# out of the box.
+#
+#additional_brokenfps_usb_devices=("046d:082b" "aabb:ccdd")
+
+### Additional options to supply to MJPG Streamer for the RasPi Cam
+#
+# See https://github.com/foosel/OctoPrint/wiki/MJPG-Streamer-configuration
+# for available options
+#
+# Defaults to 10fps
+#
+#camera_raspi_options="-fps 10"
+
+### Configuration of camera HTTP output
+#
+# Usually you should NOT need to change this at all! Only touch if you
+# know what you are doing and what the parameters mean.
+#
+# Below settings are used in the mjpg-streamer call like this:
+#
+# -o "output_http.so -w $camera_http_webroot $camera_http_options"
+#
+# Current working directory is the mjpg-streamer base directory.
+#
+#camera_http_webroot="./www-octopi"
+#camera_http_options="-n"
diff --git a/src/modules/octopi/filesystem/boot/ssh b/src/modules/octopi/filesystem/boot/ssh
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/modules/octopi/filesystem/boot/ssh