touch ~/.hushlogin echo "alias ll='ls -la'" >> /etc/profile mv /usr/bin/vi /usr/bin/vi.orig echo "alias vi='/usr/bin/vim.tiny'" >> /etc/profile echo "deb http://deb.debian.org/debian bookworm main non-free-firmware" >> /etc/apt/sources.list apt update ===== Default runlevel: systemctl get-default Runlevel 3: systemctl set-default multi-user.target Runlevel 5: systemctl set-default graphical.target ===== Static IP networkd: /etc/network/interfaces #iface enp0s3 inet dhcp iface enp0s3 inet static address 192.168.1.46 netmask 255.255.255.0 gateway 192.168.1.1 dns 8.8.8.8 dns 192.168.1.1 #-------------------- mkdir -p /etc/systemd/network vi /etc/systemd/network/70-static.network [Match] Name=enp0s3 [Network] Address=192.168.1.46/24 Gateway=192.168.1.1 DNS=8.8.8.8 DNS=192.168.1.1 systemctl enable systemd-networkd systemctl restart systemd-networkd static IP nmcli nmcli connection show nmcli con mod netplan-enp0s3 ipv4.addresses 192.168.1.42/24 nmcli con mod netplan-enp0s3 ipv4.gateway 192.168.1.1 nmcli con mod netplan-enp0s3 ipv4.dns "8.8.8.8" nmcli con mod netplan-enp0s3 ipv4.method manual