Commit graph

37 commits

Author SHA1 Message Date
926851361c
Made appropriate changes to make 64 bit compatible 2020-08-16 16:30:04 -06:00
4550badacd
Nginx now uses HTTPS, changed plugin menu, fixed video menu
Nginx now uses an HTTPS cert that is generated on first boot.

TouchUI is now a recommended plugin, Themeify is now a suggested plugin

Video menu will now exit if there are no video devices detected
2020-08-15 20:01:01 -06:00
c3043a6003
Fixed OctoPrint plugins in Surf 2020-08-15 00:14:48 -06:00
2fb67941f5
Added comments, updated TODO 2020-08-14 22:29:17 -06:00
7b769e7ade
Updated TODO, fixed browser launch script 2020-08-14 19:03:49 -06:00
bd1dd3554f
Added MJPG Streamer. OctoPrint now uses Nginx reverse proxy
MJPG streamer has been added to allow for video to work inside of
OctoPrint (url is http://rpi-ip/webcam/)

OctoPrint + MJPG now uses Nginx as a reverse proxy. This is to simpify
the frontend and eventually this will allow me to add HTTPS support

Changed dialogrc background color to black to save eyeballs
2020-08-14 18:20:36 -06:00
b94fcfc1c9
Moving towards first beta release
OctoPrint port and listening IP can now be configured

First-time and Octo-Config now use a shared library reducing duplicate
code

Reverted output files to default format

Updated TODO
2020-08-14 01:40:24 -06:00
0d495115aa
Replaced whiptail, moved OctoPrint, added plugin manager
Replaced whiptail with dialog since dialog has more features and looks
nicer imo

OctoPrint has been moved to /srv/octoprint

There is now an OctoPrint group as well as an OctoPrint user

First-time will now ask if you want to preinstall some curated plugins

Added warning advising end users that this is nowhere near production
ready.

Added more stuff to TODO

README improvements
2020-08-13 03:42:11 -06:00
23c608198b
Reorganized utilities, fixed stupid typo, timestamp now uses start
Timestamps in the build now grab the time at the beginning of the build,
instead of the end

Sudoers file didn't use chroot path

Rearranged octo-config into first-time folder and renamed first-time
folder to utils
2020-08-12 15:08:19 -06:00
ffdd76098f
Removed old files, first-time improvements
Removed the stupid Mathematica EULA agreement
Added screen timeout adjustments
Shuffled files around to more appropriate places
Added a TODO file so that I can keep track of stuff to add
OctoPrint account is now a system account and cannnot be logged into

First-time is now in profile.d. It is now ran by getty which
automatically logs in as root on first boot and then runs the script

First-time now uses chpasswd instead of passwd (passwd is shit for this)
2020-08-12 02:06:56 -06:00
201707be75
Added first time setup 2020-08-11 18:25:59 -06:00
76200d1b89 Added OctoPrint service, made NoDM actually work
Changed the NoDM config so that it evaluated variables

Added OctoPrint service file

Started work on custom config tools

Browser now checks to see if OctoPrint is running before launching
browser
2020-08-11 17:26:21 -06:00
5c72a8acf9
Fixed NoDM and OctoPrint building 2020-08-11 03:18:14 -06:00
d96d6ee980
Added OctoPrint user, improved security, fixed GUI
Added OctoPrint user to run OctoPrint daemon (not implemented yet)
Really removed LightDM
Fixed OctoPrint not building
2020-08-11 02:01:25 -06:00
b94d01cea2
Implemented GUI, build OctoPrint
GUI has been implemented using NoDM
Some files have been shifted to more appropriate stages
Updated the name in NOOBS (although whats the point?)
OctoPrint is now built and installed
Removed LightDM as its a buggy mess
2020-08-11 01:04:29 -06:00
Serge Schneider
24bb01dec2 Rename HOSTNAME variable to TARGET_HOSTNAME
Bash sets the HOSTNAME variable, overriding our default
2020-01-21 17:45:22 +00:00
Serge Schneider
95ba042c83 Add hostname to /etc/hosts 2019-11-06 14:33:07 +00:00
Rene Klootwijk
d30343f626 Added hostname parameter 2019-11-05 17:21:33 +00:00
fpicalausa
652780757b Update config.txt to replace lirc-rpi with gpio-ir (#328)
The example for enabling IR transmission in `/boot/config.txt` is still using the deprecated `lirc-rpi` overlay. 
The documentation in `/boot/overlays/README` indicates that this overlay has been deprecated in favor of `gpio-ir` / `gpio-ir-tx`.

This updates the actual config.txt to suggest `gpio-ir` instead of `lirc-rpi`.
2019-09-23 10:11:58 +01:00
Serge Schneider
77833ba929 cmdline.txt: remove dwc_otg.lpm_enable=0 2019-08-14 15:32:05 +01:00
Christophe Hurpeau
8110eb4891 Remove unused interfaces file (#322) 2019-08-11 16:50:11 +01:00
Ondřej Caletka
3db1168fbd Remove obsolete IPv6 turnoff (#300)
Turning off IPv6 by aliasing `net-pf-10` to `off` does not work anymore.
Also, turning off IPv6 on system level breaks apps depending on IPv6
loopback or IPv6 link-local addresssing and creates issues in both
dual-stack and IPv6-only environments.

Signed-off-by: Ondřej Caletka <ondrej@caletka.cz>
2019-07-01 13:21:44 +01:00
Serge Schneider
17ef760111 config.txt: Enable FKMS and set max_framebuffers=2 in [pi4] 2019-06-07 15:59:18 +01:00
Sam Tygier
d07096ebb5 Allow setting user name and password from config
Add FIRST_USER_NAME and FIRST_USER_PASS variables that can be set
in the config (or enviroment). Defaults to the standard pi and
raspberry.
2018-12-21 04:09:47 +00:00
Hugo Hromic
df156f02ff stage1: add missing netbase package to the net-tweaks sub stage 2018-05-08 08:43:55 +01:00
Serge Schneider
ff2d5edee1 shellcheck 2018-03-13 12:50:50 +00:00
Serge Schneider
c430f618d0 Remove ld.so.preload and policy-rc.d changes 2018-03-01 15:54:12 +00:00
Serge Schneider
b8c94731c5 stage1: fix symlink creation
Fixes #100
2017-08-31 11:24:01 +01:00
Serge Schneider
ce46fac1d4 Disable predictable network interface names 2017-08-21 10:15:50 +01:00
Serge Schneider
8f361a1c38 Switch to Stretch 2017-07-28 13:35:46 +01:00
TJ Rana
3441133d1c Corrected various typos (#91)
* Rename License.md to LICENSE

* Correct typos

* Clean up code layout

Organize layout with extra lines
2017-07-27 12:11:07 +02:00
Ben Nuttall
7bbaac3344 Shorten config.txt url
Because why not? :)
2017-05-10 13:32:43 +01:00
Serge Schneider
9cffa42a35 config.txt: update documentation URL 2017-03-13 17:46:14 +00:00
Serge Schneider
718a4e8c21 Switch to PARTUUID 2017-03-07 15:14:03 +00:00
Serge Schneider
c4fb032d3b Use capsh to ensure file capabilities aren't set 2016-11-14 23:55:45 +00:00
Serge Schneider
bdca3e3b48 Rework 2016-05-05 21:21:42 +01:00
Serge Schneider
99bf2f4d61 Add Raspbian stages 2016-04-11 07:34:01 +01:00