add allow-hotplug stuff to nonm.html
authorMart Lubbers <mart@martlubbers.net>
Wed, 16 Sep 2020 06:41:17 +0000 (08:41 +0200)
committerMart Lubbers <mart@martlubbers.net>
Wed, 16 Sep 2020 06:41:17 +0000 (08:41 +0200)
nonm.html

index 1b0bfcc..3820563 100644 (file)
--- a/nonm.html
+++ b/nonm.html
@@ -86,7 +86,7 @@ update_config=1
                Previously you could hash your password using md4 but I haven't tested whether this still works.
                </p>
 
-               <h3>update: cat broken</h3>
+               <h3>update: <tt>cat</tt> broken</h3>
                The tool worked before&trade; but not anymore on my debian testing version.
                Therefore I've pasted my config here for later reference.
                You get the <tt>ca_cert</tt> from the assistant tool.
@@ -109,7 +109,7 @@ network={
                </pre>
                </p>
 
-               <h2><tt>openssl update</tt></h2>
+               <h2><tt>openssl</tt> update (not needed anymore)</h2>
                <p>
                The new version of openssl disables everything lower than TLSv1.2.
                If you see errors in <tt>/var/log/syslog</tt> about <tt>TLS</tt> you have to allow lower version TLS versions by changing the last two lines in <tt>/etc/ssl/openssl.cnf</tt> to:
@@ -118,5 +118,18 @@ MinProtocol = TLSv1.0
 CipherString = DEFAULT@SECLEVEL=1
                </pre>
                </p>
+
+               <h2>Interaction with wired interfaces</h2>
+               <p>
+               When you have an ethernet jack as well in your laptop you might be tempted to put this in your <tt>/etc/network/interfaces</tt> as well
+               <pre>
+auto enp0s31f6
+iface enp0s31f6 inet dhcp
+               </pre>
+               However, this results in your machine eagerly waiting for a connection at boot because a <em>connected</em> ethernet jack means a connected card, and the card is always connected in a laptop.
+               <tt>ifupdown-extra</tt> contains scripts to fix this.
+               Just link <tt>/etc/network/if-up.d/00check-network-cable</tt> to <tt>/etc/network/if-pre-up.d/00check-network-cable</tt> and be good to go.
+               If your system has <em>predictable</em> network names you might need to apply <a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=970359">this</a> patch first
+               </p>
        </body>
 </html>