xiaobin_hlj80

https://blog.csdn.net/xiaobin_HLJ80 http://blog.chinaunix.net/uid/31552151.html

导航

最新版的Debian网络Adapter

  • Debian 13.x

Unattended Installation

Cancel "Proceed with Unattended Installation"

在使用自动无人值守安装时,会自动安装桌面的Debian

net adapter

设置Network Adapter为Bridged

  • vmware(25h2)
    default: ens32

failed

  • vbox
    default: enp0s3

可以在interfaces查看:

nano /etc/network/interfaces

netplan.io

sudo apt install netplan.io
  • High version
    If you get an error about systemd-resolved not being found/installed. Install it before proceeding:
sudo apt install systemd-resolved -y

Manage networkd and resolved

sudo systemctl unmask systemd-networkd.service;
sudo systemctl unmask systemd-resolved.service;
sudo systemctl enable systemd-networkd.service;
sudo systemctl mask networking;
sudo systemctl enable systemd-resolved.service;

config file

  • /etc/netplan/10-config.yaml
network:
  version: 2
  renderer: networkd
  ethernets:
    enp0s3:
      addresses:
        - 192.168.0.49/24
      nameservers:
        addresses: [8.8.8.8, 8.8.4.4, 192.168.0.1]
      routes:
        - to: default
          via: 192.168.0.1

removed ifupdown and resolvconf

reboot
sudo apt purge ifupdown resolvconf -y

Ref

posted on 2026-01-06 18:56  xiaobin80  阅读(5)  评论(0)    收藏  举报