Rearranging Chromebook docm

This commit is contained in:
Philip Sargent 2022-11-25 19:59:12 +00:00
parent fd8aef0d64
commit d5ff5f7e34
3 changed files with 63 additions and 16 deletions

View File

@ -44,7 +44,7 @@ href="manual.html">these capabilities are documented</a>, though writing better
href="manual.html">data maintenance manual</a>.
<ul>
<li><a href="#any">Any laptop</a> with a broswer and email.
<li><a href="#any">Any laptop</a> also with Survex and Therion installed - for cave surveying data entry.
<li><a href="#any">A Survey laptop</a>: a basic laptop with Survex and Therion installed - for cave surveying data entry.
<li>An <a href="#basic">expo basic laptop</a>
<li>A <a href="winlaptop.html">Windows expo basic laptop</a>
<li>A full <a href="yourlaptop.html">expo data maintenance computer</a> and Android phone config
@ -122,16 +122,7 @@ careful when naming files and survex names</a> and be <a href="manual.html#quick
Only machines which have done the key-pair setup process can do scp, sftp or rsync.
</p>
<h3 id="chromebook">Chromebooks</h3>
<p>You do not need to install any special software to use a Chromebook (even a very old one) to interact with the website.
<p>You do not need to install any software to get <var>scp</var> or <var>ssh</var> running either: these are pre-installed on every Chromebook as part of ChromeOs, but getting to them is not so easy:
<ul>
<li>Boot into <a href="https://www.businessinsider.com/guides/tech/chrome-os-developer-mode?r=US&IR=T">Developer Mode</a> (which deletes all user data, so do this when you buy the thing, not later).
<li>Visit the special <a href="https://chromium.googlesource.com/chromiumos/docs/+/HEAD/developer_mode.md">[crosh] </a> web page in the Chrome browser by pressing Ctrl-Alt-T
<li>type <var>shell</var> which then puts you into a bash session
<li> Now you can access ssh, ssh-keygen, sftp and scp (but not rsync) from the command line.
<li>NB The default user is 'chronos' and they keys will be generated in <var>/home/chronos/user/.ssh/</var> so generate them using the command <var>ssh-keygen -C myrealname@mychromebook</var> and get the public key copied ot the expo server as it instructs in <a href="https://expo.survex.com/handbook/computing/keyexchange.html">Key Pair setup</a>.
</ul>
<hr /></body>
</html>

View File

@ -0,0 +1,59 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Expo handbook - Chromebooks</title>
<link rel="stylesheet" type="text/css" href="../../css/main2.css" />
</head>
<body>
<h2 id="tophead">CUCC Expedition Handbook</h2>
<h1>Chromebooks</h1>
<h3>Basic Use</h3>
<p>You do not need to install any special software to use a Chromebook (even a very old one) to
<ul>
<li>interact with the website,
<li>upload photos, GPS tracks,
<li>upload scanned drawings or scanned raw survey notes.
<li>You can create and online-edit survey wallet data.
<li>You can create new records for <a href="../survey/cavedescription.html">entirely new caves</a>,
<li>manage QMs in new discoveries and
<li>type in <a href="../survey/cavedescription.html">cave descriptions</a> directly into the website.
</ul>
<h3>Survey Laptop Use - not really</h3>
<p>But Chromebooks do not have any easy, simple way of running Tunnel, Survex or Therion. So you can't create a centre-line plot or trave over a centre-line plot to create a cave survey.
<p>To a very limited extent you can get around this by running Survex/Cavern <a href="/survexfile/caves-1623/264/watertorture.svx">on the expo server</a>, where you can type in and edit survex files. This will serve to check for syntax errors. But it won't give you a .3d file you can visually spin around in 3D and you can't print out a centre-line plot.
<p>If you really want to run tunnel or therion you need to enable Linux (see below).
<h3>Bulk-update Laptop Use</h3>
<p>This is when you need to handle large numbers of files. This is where you need to get the
<a href="keyexchange.html">key-exchange thing</a> sorted out so you can use ssh.
<p>OK, so you can't do any of the cave survey jobs with tunnel or therion, but there are some cave data management jobs you can do, such as rename a whole load of files when a cave gets a kataster number, e.g. when Balkonh&ouml;hle got renamed from 2002-05 to 1623-264.
<p>With ssh, you can even log in to the server and reset all the data imports to troggle (nerds only).
<h4>Enabling ssh and scp - access Linux apps</h4>
<p>You may not need to install any software to get <var>scp</var> or <var>ssh</var> running either: these are pre-installed on every Chromebook as part of ChromeOs, but getting to them is not so easy.
<p>Read <a href="https://support.google.com/chromebook/answer/9145439?hl=en">Linux on your Chromebook</a>.
<p>Either enable <a href="https://chromeos.dev/en/linux">Crostini</a> or, on a pre-2019 Chromebook, do this:
<ul>
<li>Boot into <a href="https://www.businessinsider.com/guides/tech/chrome-os-developer-mode?r=US&IR=T">Developer Mode</a> (which deletes all user data, so do this when you buy the thing, not later).
<li>Visit the special <a href="https://chromium.googlesource.com/chromiumos/docs/+/HEAD/developer_mode.md">[crosh] </a> web page in the Chrome browser by pressing Ctrl-Alt-T
<li>type <var>shell</var> which then puts you into a bash session
<li> Now you can access ssh, ssh-keygen, sftp and scp (but not rsync) from the command line.
<li>NB The default user is 'chronos' and they keys will be generated in <var>/home/chronos/user/.ssh/</var> so generate them using the command <var>ssh-keygen -C myrealname@mychromebook</var> and get the public key copied ot the expo server as it instructs in <a href="https://expo.survex.com/handbook/computing/keyexchange.html">Key Pair setup</a>.
</ul>
<p>Alternatively you can run the Chrome extension <a href="https://mosh.org/">'mosh'</a>, which achieves the same thing as ssh, but this will stop working at the end of 2022 unless someone re-writes it. but youu can run the Linux version if you enable Linux.
<p>Or you could get rid of the Chromebook software entirely install a full Ubuntu system
<a href="https://uk.pcmag.com/linux/135719/how-to-install-linux-on-your-chromebook">instead</a>.
<hr />
Return to <a href="basiclaptop.html">Setting up a basic laptop</a></body><br>
Return to <a href="yourlaptop.html">Setting up a survey laptop</a></body>
</html>

View File

@ -53,15 +53,12 @@ with the expo survey data workflow.
yet do everything on a phone, but you can do some things.</li>
<li>The <i>expo laptop</i> uses <a href="https://www.debian.org/intro/about">Debian</a> with the <a
href="https://computingforgeeks.com/how-to-install-cinnamon-desktop-environment-on-debian/">Cinnamon</a> interface, but pretty much any Linux
href="https://en.wikipedia.org/wiki/Cinnamon_(desktop_environment)">Cinnamon</a> interface, but pretty much any Linux
system works fine. Old, slow machines without much memory can be very effective with <a href="https://xubuntu.org/">Xubuntu/xfce</a>.
<li>If using a Mac or Red-Hat-based linux you'll need to work it all out for yourself.</li>
<li>Chromebooks, since 2019, allow you to enable the underlying debian system in a container
using a tool called <a href="https://chromeos.dev/en/linux">Crostini</a>. This should work just fine, but no one has tried it yet.
It should be even better than <a href="../troggle/troglaptop.html#os">WSL on Windows</a> as you can run GUI applications on Debian. Or you could install a full Ubuntu system with chroot using
<a href="https://uk.pcmag.com/linux/135719/how-to-install-linux-on-your-chromebook">Crouton</a>.
<li>Chromebooks work just like a phone, but with a keyboard, so far as Expo is concerned (mostly). See our <a href="chromebook.html">chromebooks</a> page.
<li>Windows machines can do almost everything needed directly in Windows itself, but some useful software has no Windows version and you will
need to find your own equivalents. There are also some 'gotchas' to look out for due to filesystem differences (e.g letter case). If you have