reboot netbook - online edit of handbook/computing/netconfig.html

This commit is contained in:
Expo on server 2023-07-08 12:23:53 +01:00
parent 08d4502d49
commit ad22e44d54

View File

@ -126,6 +126,10 @@ sudo ip addr del 10.0.1.1/24 dev wlan0</code></pre>
<p>The Netgear box has its yellow ethernet cable socket set to the address <samp>10.0.1.1</samp>. The four other ethernet sockets are all on the address range <samp>192.168.200.x</samp> and the wifi network interface is set to <samp>192.168.200.1</samp> also in the network <samp>192.168.200.x</samp>.
<p>So the ethernet cable between the Netgear box and the netbook is <samp>10.0.1.1</samp> at the Netgear end and <samp>10.0.1.2</samp> at the netbook end. Nothing else uses any number like <samp>10.0.1.x</samp>.
<p>The line
<pre><code>sudo ip addr del 10.0.1.1/24 dev wlan0</code></pre>
has been added to the end of the runfakenet script as this setting does not seem to persist after a reboot (8 July 2023).
<h4 style="color: red">When it all goes wrong</h4>
@ -147,8 +151,10 @@ the black WiFi antennae on the small black Alfa box are still upright and have n
<pre><code>/root/fakenet/runfakenet</code></pre>
which will run the script to reconnect. This may take a minute to have the desired effect.
<p>If you didn't get a prompt when you attempted to login from the <var>expo laptop</var> then you will need to do the same thing but actually on the netbook keyboard. While you are at it, it would be a good idea to re-boot the netbook first by typing this on the netbook keyboard first, and waiting for it to re-boot:
<pre><code>shutdown --reboot</code></pre>
<p>If you didn't get a prompt when you attempted to login from the <var>expo laptop</var> then you will need to do the same thing but actually on the netbook keyboard.
[This happens if the netbook has lost its routing config (which is set up by runfakenet) and so there is no communication between the netbook and the router.]
<p>While you are at it, it would be a good idea to re-boot the netbook first by typing this on the netbook keyboard first, and waiting for it to re-boot:
<pre><code>sudo shutdown --reboot</code></pre>
<p>You may also need to re-enable wicd, see below.
<p>If it keeps failing, then maybe the <var>cron</var> system which re-triggers it every 60s is not working. That is probably a symptom of something more much more serious wrong with the netbook if you have already re-booted it. Try re-booting it again and this time be more patient. <em>Report this</em> to a nerd, <em>write a record of the problem in the expo logbook</em> and <em><a href="https://app.element.io/#/room/#LoserExpoWebsite:matrix.org">post a request for help</a></em> to the expo Matrix chat system.