From 86a5ae0f4c34ec995c6232df0f1c99c22beee540 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 24 Aug 2019 16:45:09 +0200 Subject: [PATCH] ifupdown2,fixes --- in/index.rst | 1 + in/public/ifupdown2/configure.rst | 22 ++++++++++++++++++++++ in/public/ifupdown2/index.rst | 6 ++++++ in/public/security/index.rst | 1 - in/public/web/index.rst | 2 +- in/tasks.rst | 25 +------------------------ 6 files changed, 31 insertions(+), 26 deletions(-) create mode 100644 in/public/ifupdown2/configure.rst create mode 100644 in/public/ifupdown2/index.rst diff --git a/in/index.rst b/in/index.rst index c985b67..45d7c75 100644 --- a/in/index.rst +++ b/in/index.rst @@ -5,6 +5,7 @@ RTFD :maxdepth: 2 public/firefox/index + public/ifupdown2/index public/libnss3-tools/index public/openssl/index public/archives/index diff --git a/in/public/ifupdown2/configure.rst b/in/public/ifupdown2/configure.rst new file mode 100644 index 0000000..4aa5114 --- /dev/null +++ b/in/public/ifupdown2/configure.rst @@ -0,0 +1,22 @@ +Configure interfaces +-------------------- + +* /etc/network/interfaces + +.. code:: shell + + source /etc/network/interfaces.d/* + +* /etc/network/interfaces.d/lo + +:: + + auto lo + iface lo inet loopback + +* /etc/network/interfaces.d/eth0 + +:: + + auto eth0 + iface eth0 inet dhcp diff --git a/in/public/ifupdown2/index.rst b/in/public/ifupdown2/index.rst new file mode 100644 index 0000000..fc7735e --- /dev/null +++ b/in/public/ifupdown2/index.rst @@ -0,0 +1,6 @@ +ifupdwon2 +========= + +.. toctree:: + + configure diff --git a/in/public/security/index.rst b/in/public/security/index.rst index 40d6b27..efefc19 100644 --- a/in/public/security/index.rst +++ b/in/public/security/index.rst @@ -8,5 +8,4 @@ Security gpg/index openssh-client/index openssh-server/index - openssl/index tcplay/index diff --git a/in/public/web/index.rst b/in/public/web/index.rst index 6c8622c..80bce31 100644 --- a/in/public/web/index.rst +++ b/in/public/web/index.rst @@ -5,7 +5,7 @@ Web :maxdepth: 2 nginx/index - apache/index + apache2/index nodejs/index tomcat/index diff --git a/in/tasks.rst b/in/tasks.rst index 948efc0..3aed0c7 100644 --- a/in/tasks.rst +++ b/in/tasks.rst @@ -3,7 +3,7 @@ Tasks * latest - * tty size → setfont (/usr/share/consolefonts/*.psf.gz) + * tty size → setfont (/usr/share/consolefonts/\*.psf.gz) * vcard spec * chntpw / reged -e * chvt @@ -137,29 +137,6 @@ Tasks * send emails as own domain name's alias * personal GPG key signature -Network interfaces ------------------- - -* /etc/network/interfaces - -.. code:: shell - - source /etc/network/interfaces.d/* - -* /etc/network/interfaces.d/lo - -:: - - auto lo - iface lo inet loopback - -* /etc/network/interfaces.d/eth0 - -:: - - auto eth0 - iface eth0 inet dhcp - Name resolution ---------------