Differences between revisions 4 and 9 (spanning 5 versions)
Revision 4 as of 2019-11-05 13:34:13
Size: 1146
Editor: Sciuro
Comment:
Revision 9 as of 2019-12-10 09:10:21
Size: 1467
Editor: Sciuro
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Debian = #acl All:read
#lang en
Line 3: Line 4:
== Configuration ==
=== Network ===
<<TableOfContents()>>

= Configuration =
== Network ==
Line 6: Line 9:
==== Default networking ==== === Default networking ===
Line 26: Line 29:
==== Bridge ==== === Bridge ===
Line 46: Line 49:
=== APT resources === === Disable IpV6 Debian ===
{{{
sysctl -w net.ipv6.conf.all.disable_ipv6=1
sysctl -w net.ipv6.conf.default.disable_ipv6=1
sysctl -w net.ipv6.conf.lo.disable_ipv6=1
}}}


== APT resources ==
Line 64: Line 75:

= Usage =
== Luks ==
Check if your password works:
{{{
cryptsetup luksOpen --test-passphrase /dev/sda5
}}}

Configuration

Network

See also: https://wiki.debian.org/NetworkConfiguration

Default networking

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp
    hostname myhostname

For IPv6 DHCP:

iface eth0 inet6 dhcp

For IPv6 SLAAC:

iface eth0 inet6 auto

Bridge

Make sure you don't get an address on you physical interface. Set your interface on manual first.

iface eth0 inet manual
iface eth0 inet6 manual

auto br0
iface br0 inet dhcp
    bridge_ports eth0
    bridge_stp off
    bridge_fd 0
    bridge_maxwait 0

If you also want IPv6 on the bridge:

iface br0 inet6 auto
    accept_ra 1

Disable IpV6 Debian

sysctl -w net.ipv6.conf.all.disable_ipv6=1
sysctl -w net.ipv6.conf.default.disable_ipv6=1
sysctl -w net.ipv6.conf.lo.disable_ipv6=1

APT resources

Always use backports on stable

# stable-backports
deb http://httpredir.debian.org/debian buster-backports main contrib non-free

Debian ansible is a little to old.

# Ansible
deb http://ppa.launchpad.net/ansible/ansible/ubuntu trusty main

Signal is not in the default repo

# Signal
deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main

Usage

Luks

Check if your password works:

cryptsetup luksOpen --test-passphrase /dev/sda5

Howto/Debian (last edited 2020-06-04 22:37:13 by Sciuro)