home       inleiding       sysadmin       services       links       bash       werk       nothing      

installed ubu20.04 from iso
1 sudo apt update
2 sudo apt upgrade
3 sudo apt dist-upgrade
4 sudo init 6

testing apt:
5 sudo apt install vim-nox

configuring netplan:
14 sudo vim /etc/netplan/00-installer-config.yaml
15 sudo netplan apply

user@ub204-001:~$ cat /etc/netplan/00-installer-config.yaml

# This is the network config written by 'subiquity'
network:
  ethernets:
    enp0s3:
      dhcp4: true
    enp0s8:
      accept-ra: no
      addresses:
              - 2a01:4f8:202:6116:1000::1001/68
      gateway6: 2a01:4f8:202:6116:1000::2
      nameservers:
              addresses:
                      - 2001:4860:4860::8888
              search: [linux800.eu]
  version: 2

32 ping6 2a01:4f8:202:6116:1000::2
34 ping6 2001:4860:4860::8888
werkt niet:
33 ping6 google.com
disable resolved.service:
42 sudo systemctl disable systemd-resolved.service
43 sudo init 6

45 sudo vim /etc/resolv.conf

nameserver 2001:4860:4860::8888
options inet6 edns0

nu werkt:
50 ping6 google.com
werkt niet:
55 sudo apt update
de.archive.ubuntu.com heeft geen ipv6 >> aanpassen sources
::::::
user@ub204-001:~$ grep -v "^#" /etc/apt/sources.list

deb http://be.archive.ubuntu.com/ubuntu focal main restricted
deb http://be.archive.ubuntu.com/ubuntu focal-updates main restricted
deb http://be.archive.ubuntu.com/ubuntu focal universe
deb http://be.archive.ubuntu.com/ubuntu focal-updates universe
deb http://be.archive.ubuntu.com/ubuntu focal multiverse
deb http://be.archive.ubuntu.com/ubuntu focal-updates multiverse
deb http://be.archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
deb http://be.archive.ubuntu.com/ubuntu focal-security main restricted
deb http://be.archive.ubuntu.com/ubuntu focal-security universe
deb http://be.archive.ubuntu.com/ubuntu focal-security multiverse

nu werkt ipv6
in ubuntu 204

clonen >> aanpassen
/etc/hostname
/etc/hosts
/etc/netplan/0..yaml