1. 在sysctl中添加如下配置:
net.ipv6.conf.all.accept_ra=2
net.ipv6.conf.default.accept_ra=2
net.ipv6.conf.vmbr0.accept_ra=2
net.ipv6.conf.all.autoconf=1
net.ipv6.conf.default.autoconf=1
net.ipv6.conf.vmbr0.autoconf=1
2.修改network config,enp1s0是默认的网卡
auto enp1s0
iface enp1s0 inet dhcp
iface enp1s0 inet6 dhcp
auto vmbr0
iface vmbr0 inet static
address 10.0.0.22/24
gateway 10.0.0.1
bridge-ports enp1s0
bridge-stp off
bridge-fd 0
iface vmbr0 inet0 dhcp
request_prefix 1
3.连接WIFI
拷贝iwlwifi-7265-14.ucode和到 /usr/lib/firmware/
apt install wpasupplicant network-manager wireless-tools
nmcli device wifi connect "WIFI-NAME" password "123456"