"Updates"

This commit is contained in:
2025-10-20 14:27:01 +02:00
parent 33d77d76e7
commit bd3669e206
2 changed files with 10 additions and 6 deletions

View File

@@ -86,6 +86,9 @@ sudo apt install -y cowsay fortune
sudo vim /etc/update-motd.d/01-cowsay sudo vim /etc/update-motd.d/01-cowsay
``` ```
[Networking](networking.md)
```bash ```bash
#!/bin/bash #!/bin/bash
/usr/games/fortune | /usr/games/cowsay -f tux /usr/games/fortune | /usr/games/cowsay -f tux

View File

@@ -86,8 +86,8 @@ iface wlan0 inet static
address 192.168.1.xx address 192.168.1.xx
netmask 255.255.255.0 netmask 255.255.255.0
gateway 192.168.1.254 gateway 192.168.1.254
dns-nameservers 1.1.1.1     dns-nameservers 45.90.28.0
dns-nameservers 1.0.0.1     dns-nameservers 45.90.30.0
# This is an autoconfigured IPv6 interface # This is an autoconfigured IPv6 interface
iface end0 inet6 auto iface end0 inet6 auto
@@ -141,14 +141,15 @@ iface lo inet loopback
# allow-hotplug end0 # allow-hotplug end0
auto end0 auto end0
iface end0 inet static iface end0 inet static
    address 192.168.1.12 address 192.168.1.xx
    netmask 255.255.255.0 netmask 255.255.255.0
    gateway 192.168.1.254 gateway 192.168.1.254
    dns-nameservers 45.90.28.0     dns-nameservers 45.90.28.0
    dns-nameservers 45.90.30.0     dns-nameservers 45.90.30.0
# This is an autoconfigured IPv6 interface # This is an autoconfigured IPv6 interface
iface end0 inet6 auto iface end0 inet6 auto
``` ```
```bash ```bash
@@ -169,7 +170,7 @@ network:
    end0:     end0:
      dhcp4: no       dhcp4: no
      addresses:       addresses:
        - 192.168.1.13/24         - 192.168.1.xx/24
      routes:       routes:
        - to: default         - to: default
          via: 192.168.1.254           via: 192.168.1.254