expoweb/handbook/computer.html

137 lines
7.6 KiB
HTML
Raw Normal View History

<html>
<head>
<title>CUCC Expedition Handbook: Expo computer</title>
<link rel="stylesheet" type="text/css" href="../css/main2.css" />
</head>
<body>
<h2 id="tophead">CUCC Expedition Handbook</h2>
2022-03-13 23:35:49 +00:00
<style>figure {font-weight: bold; font-size: small; font-family: sans-serif;font-variant-caps: small-caps;}</style>
2018-08-26 11:35:01 +01:00
<h1>Expo computing setup</h1>
2018-08-26 11:35:01 +01:00
<div align=center>
<p>If the internet is not working, the <b>first thing to check</b> is that<br>the black WiFi antenna is
still upright and has not been knocked sideways.
</div>
<br>
2019-07-08 12:23:14 +01:00
<p>Since 2018 we now have proper internet access in the tatty hut so the set-up on expo is exactly the same
as the rest of the year. An <em>Expo laptop</em> is also provided, but you should be
2018-07-11 00:51:27 +01:00
able to use your own computer in exactly the same way (if you brought one) as you do at home.</p>
2019-07-08 12:23:14 +01:00
<p>We have our own WiFi ("tattyhut" and usual cavey:beery password) which is connected (deviously)
2018-07-11 00:51:27 +01:00
to the Gasthof campsite WiFi. So please don't stream video or do a lot of operating system updates using it
as the Gasthof is probably paying per GB to their supplier.
2018-07-11 00:51:27 +01:00
<h3>Two WiFi systems</h3>
<p>Our own Wifi only works very close to the tatty hut. If you are camped over the road near the
Gasthof you will need to use the Gasthof WiFi 'staudnwirt'. This takes you to a login page on a web browser and it will log you out if you stop using it or whenever it
2018-07-11 00:51:27 +01:00
thinks you have been on too long. Get instructions from the Gasthof campsite reception.
2022-03-13 23:35:49 +00:00
<div class="onright">
<figure>
<a href="/piclinks/typing.htm"><img src="/images/typing.jpg"></a>
<br><figcaption>Basecamp computer in 1991 - in the old potato hut</figcaption>
</figure>
</div>
2018-07-11 00:51:27 +01:00
<h3>Expo laptop</h3>
2019-07-10 18:42:21 +01:00
<p>The <em>Expo laptop</em> 'debian' in the tatty hut is a Dell Latitude E4200 laptop (on loan from Philip
2019-07-08 12:23:14 +01:00
Sargent) which is connected to the router by a cable and also by WiFi
2019-07-08 18:36:23 +01:00
(it's wifi configuration was fixed by Sam in 2019). It
2019-07-08 12:23:14 +01:00
also has an external numberpad as a couple of vital keys are dead
(e.g. down-arrow). It runs Linux (debian) and has installed all the software
for talking to the server for:
2022-03-13 23:35:49 +00:00
<ul>
<li>Typing in survey data
<li>Uploading survey data
<li>Uploading photos and GPS tracks
<li>Controlling the music system
<li>Reading this Handbook
</ul>
2019-07-08 12:23:14 +01:00
<p>Any laptop or phone can connect to the server via the "tattyhut" WiFi and,
2018-07-11 00:51:27 +01:00
with some configuration, can be set up to do all those things too. New expoers
are advised to use the <em>Expo laptop</em> first to see how it all works.</p>
2018-07-11 00:51:27 +01:00
2019-07-10 18:42:21 +01:00
<p>The laptop is usually connected to an extra LCD screen so that you can see surveys more easily as the laptop itself is small.
<p>Either the <em>Expo laptop</em> or your own laptop will use the version control system to
synchronise cave data. It's easier to use the <em>Expo laptop</em> as the software is already set up.
2018-07-11 00:51:27 +01:00
But if you set up your own computer then you will get a more familiar environment. See
the <a href="computing/onlinesystems.html">Expo Online Systems Manual</a> for info on how to do that.</p>
2018-07-11 00:51:27 +01:00
<P>Through the miracle of the distributed version control system, everyone can edit the
data on multiple laptops at the same time and it should all get merged.</p>
<p>At the end of expo we don't need to bring the <em>Expo laptop</em> back back to the UK
2018-07-11 00:51:27 +01:00
(though we will, as we will want to do operating system updates during the year and maybe fix that keyboard) as all the caving data updates are continuously
synchronised with the public server expo.survex.com during the expo.</p>
2022-03-13 23:35:49 +00:00
2018-07-11 00:51:27 +01:00
<h3>Printing and Scanning</h3>
2019-07-08 12:23:14 +01:00
We have A4 printer and scanner attached via usb cables and a usb hub to the <em>Expo laptop</em>.
2018-08-26 11:35:01 +01:00
In 2018 we also connected the printer to the router with an ethernet cable and this made things more reliable.
Configuring the scanner to be used via WiFi is yet to be done, but the printer is "shared" by the
2019-07-08 12:23:14 +01:00
<em>Expo laptop</em> and so canbe used by any laptop. (The printer has WiFi itself and so should be useable
2018-08-26 11:35:01 +01:00
directly but we haven't got this configured properly yet.) Use a usb stick to transfer files for printing
if you can't get your own laptop or phone to work with the printer.
2018-07-11 00:51:27 +01:00
2019-07-10 18:42:21 +01:00
<h3>The Expo Laptop's Friend: Aziraphale</h3>
2020-05-04 00:49:40 +01:00
<p>In 2019 we had another general-use laptop. This is not connected by any cabling and just uses WiFi. Like the <i>expo laptop</i> it is running debian Linux and has the same set of software installed
(survex/aven, tunnelx, therion, git etc.) and you login to it using the username "expo" and the usual cavey:beery password. It is a 14-inch Thinkpad on loan from Michael Sargent and it is called "aziraphale". The <i>expo laptop</i> is just called "debian".
2019-07-10 18:42:21 +01:00
2018-07-11 00:51:27 +01:00
<h3>Networking Hardware - experts only</h3>
2019-07-08 12:23:14 +01:00
<p>The networking hardware is an Acer Aspire netbook which keeps us logged in to the Gasthof and does firewalling
2018-07-11 00:51:27 +01:00
to provide local connectivity and local WiFi. The antenna which we use to connect to the Staudnwirt WiFi
2018-08-26 11:35:01 +01:00
is a ~32cm long black stick mounted on a small shelf high
2019-07-08 12:23:14 +01:00
above the sink/stove area and connected via a usb cable to the Acer netbook. There is no separate router: it is all done by the Acer notebook.</p>
2018-08-26 11:35:01 +01:00
2018-08-02 16:06:49 +01:00
2019-07-08 12:23:14 +01:00
<p>The potato hut WiFi is running DHCP and allocating IP addresses of the form 192.168.1.x where x is a number between 11 and 99 .
<p>The <em>Expo laptop</em> has a dynamic local address of this form.
It has a 64GB microSD card plugged into it which holds the local copy of /expofiles/ .
2020-05-04 00:49:40 +01:00
<p>The Acer Aspire netbook ("tclaspire3") is on a static address <a href="http://192.168.1.100/">192.168.1.100</a>.
2019-07-08 17:55:41 +01:00
<p>The Gasthof WiFi - which you can still use - is "StaudnGast" and has no WiFi password but there is a login webpage (Gast/Gastin21). It allocates IP addresses in the range
2018-07-11 00:51:27 +01:00
192.168.2.x etc. The antenna is now on the first-floor balcony within
sight of the tatty hut window.
2019-07-08 17:55:41 +01:00
<p>The Acer Aspire is on 192.168.1.100 on WiFi.
2019-07-08 12:23:14 +01:00
This is the address to use for configuring it using ssh when everything else has failed. So to manage the
2018-08-02 16:06:49 +01:00
connection to the Gasthof WiFi you would use
<pre>
2019-07-08 12:23:14 +01:00
ssh expo@192.168.200.100
2018-08-02 16:06:49 +01:00
</pre>
2019-07-08 12:23:14 +01:00
to run Mark Shinwell's script (re-edited by Sam 2019)
2018-08-02 16:06:49 +01:00
<pre>/root/fakenet/runfakenet
</pre>
2019-07-08 17:55:41 +01:00
This typically needs to be run once or twice a day when the internet stops working.
2022-03-13 23:35:49 +00:00
Sometimes you have to walk over to the blue Acer Aspire netbook and run this script directly by typing on its keyboard
2019-07-08 17:55:41 +01:00
as the network has collapsed so badly that <span style="font-family:monospace">ssh</span> doesn't work.
<p>The Acer netbook needs to have its persistent networking set up correctly <i>in addition to the script</i>. This is the
<b>wicd</b> gui program that has an icon in the top-right of the sceen in the system panel. (Or search in all applications in the Internet section
for the wicd application). Set the checkboxes so that the Acer does connect to any network except the Staudingast wifi network,
and also tick the 'automatica;lly reconnect' checkbox for the "StaudnGast" network.
2018-07-11 00:51:27 +01:00
<h3>Historical Note</h3>
2018-07-11 00:51:27 +01:00
<p>Prior to 2018 we used to run an unconnected local network with our own DNS domain
name "potato.hut", our own server holding all the website and survey data, and published WiFi as SSID "tattyhut".
Updates to the rest of the world were done by taking an up-to-date laptop which had been in
the tatty hut to a real internet connection and
2018-08-26 11:35:01 +01:00
pushing the changes to the distributed version control system on
<span style="font-family:monospace">expo.survex.com</span> to be merged.
2018-07-11 00:51:27 +01:00
</p>
2018-07-11 00:51:27 +01:00
<p>In 2017 the hard-drive on our server died which triggered the general reconfiguration
to connect the tattyhut to the internet continuously and not to have our own local server. This coincides with
a much-improved WiFi service at the Gasthof in recent years.
2019-07-08 12:23:14 +01:00
2021-04-29 17:52:28 +01:00
<hr />
Go on to: <a href="computing/onlinesystems.html">Expo online systems</a><br />
<hr /></body>
</body></html>