Commit Graph

214 Commits

Author SHA1 Message Date
cimryan
7dfc9de59c Update branch references to master after merge. 2018-10-16 07:44:53 -07:00
cimryan
92f19af357 Merge pull request #20 from cimryan/u/cimryan/readonlyrootfs
U/cimryan/readonlyrootfs
2018-10-16 07:41:52 -07:00
cimryan
6a3d6f34ae Instructions for remounting rw if necessary. 2018-10-16 07:39:05 -07:00
cimryan
72bf9b5989 Merge branch 'master' into u/cimryan/readonlyrootfs 2018-10-16 07:29:48 -07:00
cimryan
e608ce5c73 Report success at the end of setup 2018-10-16 07:21:37 -07:00
Richard Goodwin
7fe1ce18ee Merge pull request #3 from rtgoodwin/pull_in_master
Pull in master
2018-10-16 07:00:04 -05: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
ed72f4d844 Reference u/cimryan/readonlyrootfs 2018-10-14 21:15:56 -07:00
cimryan
03aa06ddb6 Reference u/cimryan/readonlyrootfs 2018-10-14 21:07:02 -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
78128464ab Moved TODO/Asks items to issues 2018-10-13 22:47:44 -07:00
cimryan
0b8bafeb76 Removed disclaimer, added notes about music support 2018-10-13 22:44:18 -07:00
cimryan
98cecb4cbf Reference master after merge. 2018-10-13 20:55:18 -07:00
cimryan
fa54a02610 Merge pull request #10 from cimryan/u/cimryan/music
Support music files in addition to dashcam functionality
2018-10-13 20:52:18 -07:00
cimryan
d39d08a738 Mount the archive and move the files into it. 2018-10-13 20:50:34 -07:00
cimryan
10dfaa439e Fix typo for campercent and add note about case-sensitivity in SSID. 2018-10-13 19:04:50 -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
0d998bcd18 Limit the ping count 2018-10-13 08:33:25 -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
d635f62de0 Remove instruction to install Putty
The later instructions reference the ssh built-in to Windows.
2018-10-12 18:58:56 -07:00
cimryan
799ed9caed Typo 2018-10-12 15:53:34 -07:00
cimryan
f28ec27935 More explicit instructions for the scenario in which the archive server isn't reachable by name but is by IP address 2018-10-12 15:52:54 -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
24d662276e Change instructions to use built-in ssh instead of Putty. 2018-10-12 08:11:57 -07:00
cimryan
7fd130eaef Even more explicit instructions for nano. 2018-10-12 07:57:42 -07:00
cimryan
9f35db7646 More explicit instructions for the use of nano. 2018-10-12 07:54:14 -07:00
cimryan
3a3d5179ab Update the headless setup instructions for Windows to use the automated script. 2018-10-12 07:53:46 -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
71695020a7 Remove unnecessary sudo invocation. 2018-10-11 20:10:39 -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
e41b154529 Relocate and reformat notes. 2018-10-10 06:30:50 -07:00
Richard Goodwin
d0b527e1fc Merge remote-tracking branch 'upstream/master' 2018-10-10 06:36:55 -05:00