update tapes, add networkmanager stuff
authorMart Lubbers <mart@martlubbers.net>
Sun, 9 Sep 2018 06:50:49 +0000 (08:50 +0200)
committerMart Lubbers <mart@martlubbers.net>
Sun, 9 Sep 2018 06:50:49 +0000 (08:50 +0200)
index.html
nonm.html [new file with mode: 0644]
tapes.html

index cd83c79..890616c 100644 (file)
 
                <h3>Tutorials or manuals</h3>
                <ul>
+                       <li><a href="nonm.html">Wifi roaming without network manager</a></li>
                        <li><a href="thin.html">Using a HP t5710 thin client as a retro system</a></li>
                        <li><a href="dvorak.html">Dvorak page</a></li>
                </ul>
diff --git a/nonm.html b/nonm.html
new file mode 100644 (file)
index 0000000..5baa473
--- /dev/null
+++ b/nonm.html
@@ -0,0 +1,83 @@
+<html>
+       <head>
+               <title>Wifi without network manager</title>
+               <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+               <meta name="viewport" content="width=device-width, initial-scale=1" />
+       </head>
+       <body>
+               <h2>What is this</h2>
+               <p>
+               With this setup, <tt>wpa_supplicant</tt> automatically changes network when needed.
+               Moreover, the network can be changed in userspace and new networks can be added.
+               All withouth the bloat of <tt>NetworkManager</tt> and <tt>ModemManager</tt>.
+               </p>
+
+               <h2>Requirements:</h2>
+               <ul>
+                       <li><tt>wpa_supplicant</tt></li>
+                       <li><tt>wpa_gui</tt></li>
+               </ul>
+
+               <h2><tt>wpa_supplicant</tt></h2>
+               <p>
+               <tt>/etc/network/interfaces</tt> needs for direct use with a <tt>wpa_supplicant</tt> daemon.
+               This is done by setting the wireless network as follows.
+               </p>
+
+               <pre>
+allow-hotplug wlp2s0
+iface wlp2s0 inet manual
+       wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
+               </pre>
+
+               <p>
+               This basically means that a <tt>wpa_supplicant</tt> will be watching the networks specified in the config and switch when in range.
+               Note that the <tt>iface</tt> is set to <tt>manual</tt> and not <tt>dhcp</tt>.
+               This means that below those lines you can configure your networks from the config manually.
+               So say that you have a network in the <tt>wpa_supplicant.conf</tt> with <tt>id_str="work"</tt>" that needs to be configured with dhcp, you add the following lines:
+               </p>
+
+               <pre>
+iface work inet dhcp
+               </pre>
+
+               <p>
+               Setting <tt>id_str</tt>s for all networks is tedious so to create a default setting you can use the <tt>default</tt> network name to for example set all wifi networks to dhcp.
+               </p>
+
+               <pre>
+iface default inet dhcp
+               </pre>
+
+               <h2><tt>wpa_supplicant.conf</tt></h2>
+               <p>
+               The config file for <tt>wpa_supplicant</tt> should at least contain the following lines.
+               The <tt>interface</tt> line defines the control socket and states that all users in the <tt>netdev</tt> group may control <tt>wpa_supplicant</tt>.
+               The <tt>update_config</tt> line states that the config file may be updated, thus having persistent changes.
+               Users you allow changing the config therefore have to be added to <tt>netdev</tt>.
+               </p>
+
+               <pre>
+interface=DIR=/run/wpa_supplicant GROUP=netdev
+update_config=1
+               </pre>
+
+               <p>
+               Followed are all the network configurations.
+               For these configuration consult the manpage for <tt>wpa_supplicant</tt>.
+               E.g. for <tt>WPA2</tt> networks you can use the <tt>wpa_passphrase</tt> tool.
+               For eduroam, don't handcraft configs either, use the configuration assistant available <a href="https://cat.eduroam.org/">here</a>.
+               This tool will generate a <tt>wpa_supplicant.conf</tt> if it fails to talk to networkmanager.
+               </p>
+
+               <h2><tt>wpa_gui</tt></h2>
+               <p>
+               Editing the config file is tedious and error prone.
+               Moreover, it requires a restart of <tt>wpa_supplicant</tt> to reinistate the config.
+               Luckily there are two tools that allow you to do this in-place using either the command line (<tt>wpa_cli</tt> is not discussed here) and via a GUI(<tt>wpa_gui</tt>).
+               If your user is a member of the <tt>netdev</tt> group you can just start it up.
+               Note that it resides by default in <tt>/usr/sbin</tt>.
+               <tt>wpa_gui</tt> is a graphical frontend where you can add, remove, diagnose and change wireless networks with <em>almost</em> as much functionality as <tt>wpa_cli</tt>.
+               </p>
+       </body>
+</html>
index e2ed030..67e1e0c 100644 (file)
@@ -20,6 +20,7 @@
                                <tr><td>none</td><td>Holy Hell</td><td>Kill Jesus</td><td>Not On Label (Holy Hell-Self Released)</td><td>1989</td></tr>
                                <tr><td>none</td><td>Atrocious</td><td>Shadows Of Death</td><td>Not On Label</td><td>1990</td></tr>
                                <tr><td>none</td><td>Disembowelment</td><td>Mourning September</td><td>Not On Label (diSEMBOWELMENT Self-released)</td><td>1990</td></tr>
+                               <tr><td>none</td><td>Dead End</td><td>Tales</td><td>Not on Label (Dead End (3) Self Released)</td><td>1991</td></tr>
                                <tr><td>none</td><td>Morthra</td><td>Alteration Of Faith</td><td>Not on Label</td><td>1991</td></tr>
                                <tr><td>none</td><td>diSEMBOWELMENT</td><td>Deep Sensory Procession Into Aural Fate</td><td>Not On Label (diSEMBOWELMENT Self-released)</td><td>1991</td></tr>
                                <tr><td>none</td><td>Cauteror</td><td>To Atonement I Am Owed</td><td>Not On Label</td><td>1991</td></tr>
@@ -28,6 +29,7 @@
                                <tr><td>none</td><td>Mourning (2)</td><td>Demo 1991</td><td>Not On Label</td><td>1991</td></tr>
                                <tr><td>none</td><td>Perpetual Demise</td><td>Deliverance</td><td>Not On Label (Perpetual Demise Self-released)</td><td>1991</td></tr>
                                <tr><td>none</td><td>Thergothon</td><td>Abysmal Dimensions</td><td>Not On Label (Thergothon Self-released)</td><td>1991</td></tr>
+                               <tr><td>none</td><td>Dead End</td><td>Purity</td><td>Not on Label (Dead End (3) Self Released)</td><td>1992</td></tr>
                                <tr><td>none</td><td>Disgorge</td><td>Cognitive Lust Of Mutilation</td><td>Not On Label (Disgorge Self-released)</td><td>1992</td></tr>
                                <tr><td>none</td><td>Excision (2)</td><td>Silhouettes</td><td>Not On Label (Excision (2) Self-Released)</td><td>1992</td></tr>
                                <tr><td>none</td><td>Perpetual Demise</td><td>Massacre To Be</td><td>Not On Label (Perpetual Demise Self-released)</td><td>1992</td></tr>
@@ -79,6 +81,6 @@
                <h2>Collection (possibly to trade)</h2>
                Too much to paste here, it is updated on <a href="https://www.discogs.com/user/dopefishh">discogs</a>.
 
-               <p>Last updated: 2018-05-22</p>
+               <p>Last updated: 2018-09-09</p>
        </body>
 </html>