Richard Goodwin
fe764b00f7
Silent pushover curl
...
And fixed a missing fi
2018-10-21 14:46:45 -05:00
Richard Goodwin
5cfe22fb92
Check for teslacam folder
...
And other tweaks.
2018-10-21 14:04:23 -05:00
Richard Goodwin
5b4dd4538f
Better testing of pushover
...
And archive loop logging weirdness.
2018-10-21 13:37:29 -05:00
Richard Goodwin
a8ac613fd0
More descriptive
...
Also typos in LOGFILE var.
2018-10-21 13:10:50 -05:00
Richard Goodwin
52ad4b21ad
Made more informative
...
Output to setup log
Easier to read main log function
Add LED flashes for stage setup / failure
Move all script downloads to frontend setup script
2018-10-21 11:02:49 -05:00
cimryan
832320aa1a
Create the wpa_supplicant file on the boot partition during setup-piForHeadlessConfig.ps1.
...
Also consolidate the documentation. Removed support for manual setup; that process doesn't add value, anymore.
2018-10-19 10:39:36 -07:00
cimryan
475af79d48
Merge pull request #36 from cimryan/rtgoodwin/updater-script
...
Rtgoodwin/updater script
2018-10-18 18:39:53 -07:00
cimryan
5f38228860
Get the IP address of the archive server by parsing ping output instead of using getent
...
This seems to work for more network configurations.
2018-10-18 09:07:13 -07:00
cimryan
e63e697f4e
Merge pull request #35 from rtgoodwin/updater-script
...
Mac folder, config updater script, updated readmes.
2018-10-18 08:52:32 -07:00
Richard Goodwin
e917829a9f
Quotes in updater script, Readme updates, remount script.
2018-10-18 07:32:08 -05:00
Richard Goodwin
619852dd26
Of course I missed another typo.
2018-10-17 12:13:43 -05:00
Richard Goodwin
24035c5e86
LAST typo on chmod. Tested working at this point.
2018-10-17 10:24:59 -05:00
Richard Goodwin
dc62ce2ee4
Typo on line to grab pushover script.
2018-10-17 10:07:43 -05:00
Richard Goodwin
32095c04e9
Clean merge with master.
2018-10-17 09:52:45 -05:00
Richard Goodwin
5c62ba93a0
Finalized to open PR
2018-10-16 14:37:09 -05:00
Richard Goodwin
d6e63ff720
Fixed a hyphen typo.
2018-10-16 13:27:11 -05:00
Richard Goodwin
f477fc4348
Even more error checking.
2018-10-16 12:48:07 -05:00
Richard Goodwin
adcf8fd2de
Better error checking.
2018-10-16 12:25:15 -05:00
Richard Goodwin
bd90ef535f
Initial commit for pushover testing
2018-10-16 11:51:26 -05:00
cimryan
7dfc9de59c
Update branch references to master after merge.
2018-10-16 07:44:53 -07:00
cimryan
e608ce5c73
Report success at the end of setup
2018-10-16 07:21:37 -07:00
cimryan
a70b752a16
Make the root fs readonly during setup.
2018-10-15 22:32:36 -07:00
cimryan
657efc9f17
Fix creation of g_mass_storage.conf
2018-10-15 14:50:52 -07:00
cimryan
610613d7b3
Update the partition Ids in /etc/fstab and /boot/cmdline.txt after modifying partitions with parted
...
Parted changes the disk Ids, rendering the Pi unbootable without this step.
2018-10-15 07:20:44 -07:00
cimryan
012c4e225c
Create the file system after creating the partition for the backing files
...
If there already happened to be a filesystem there is must be overwritten.
2018-10-14 22:21:16 -07:00
cimryan
d2aa8357aa
Add logging for fallocate call
2018-10-14 21:49:18 -07:00
cimryan
fc2a436c7e
Fix the setting of the host name.
2018-10-14 20:47:32 -07:00
cimryan
c1e840fa9f
Make calculations of backng file size in terms of free 1k blocks
2018-10-14 20:39:12 -07:00
cimryan
c0cab4d624
Correct the space allocation for the baking files.
2018-10-14 20:15:46 -07:00
cimryan
9c3daa3d91
Remove unnecessary recreation of filesystem on the backing files partition.
2018-10-14 20:02:42 -07:00
cimryan
aedff01c72
Typo in configure_rc_local name.
2018-10-14 20:01:18 -07:00
cimryan
4970fea833
Create the backing files for the USB drives on a separate partition.
2018-10-14 19:37:24 -07:00
cimryan
98cecb4cbf
Reference master after merge.
2018-10-13 20:55:18 -07:00
cimryan
d39d08a738
Mount the archive and move the files into it.
2018-10-13 20:50:34 -07:00
cimryan
d0a1212ca6
Fix syntax error in the calculation of musicpercent.
2018-10-13 19:04:09 -07:00
cimryan
a03c322c01
Support for music in addition to dashcam clip storage.
2018-10-13 18:18:00 -07:00
cimryan
9cfce11bd4
Move moutpoints: usb_share -> cam, cam_archive -> archive
2018-10-13 17:26:58 -07:00
cimryan
641779c1a2
Add closing done for loop.
2018-10-13 17:06:30 -07:00
cimryan
f74c12ffd5
Merge branch 'master' of https://github.com/cimryan/teslausb
2018-10-13 08:12:02 -07:00
cimryan
499d23cb36
Retry mounting the shares up to 10 times.
...
There's a race between the system mounting the share and the findmnt invocation in the script to determine if the share is already mounted.
When findmnt wins the race the script would previously operate as if the share definitely needed to be mounted, and would fail to mount it.
Now the script will notice that the share has already been mounted.
2018-10-13 08:11:02 -07:00
cimryan
64b323eb76
If the archive is initially reachable wait for it to be unreachable after archiving the clips before archiving the clips, again.
2018-10-13 08:06:55 -07:00
cimryan
b386bcc610
The setup script updates archiveloop with the name of the archive server
2018-10-12 15:45:45 -07:00
cimryan
71e8ba0339
Give the volume a label and don't overwrite hostname with hosts.
2018-10-12 14:33:47 -07:00
cimryan
1d19ac5c2f
Make the network name of the Pi "teslausb".
2018-10-12 14:07:20 -07:00
cimryan
1aac431c06
Avoid connecting the USB drive if it'll just immediately be disconnected.
2018-10-12 13:44:18 -07:00
cimryan
f2b61ef535
Add setup-piForHeadlessConfig.ps1
...
Script to automate the process of preparing the Pi to listen for SSH connections over USB.
2018-10-12 07:41:11 -07:00
cimryan
258aa20cb5
Fix the addition of the archive server to /etc/fstab.
2018-10-11 20:11:28 -07:00
cimryan
1de5a9fa1f
Automate the setup and split out the steps for headless setup into separate documents.
2018-10-11 00:28:18 -07:00
cimryan
0054510c48
Create archive-teslacam-clips
2018-10-08 07:28:14 -07:00
cimryan
b30532bb3e
Create archiveloop
2018-10-08 07:23:50 -07:00