查看网络设备信息
$ ip addr show
编辑 /etc/network/interfaces
$ nano /etc/network/interfaces
启用 DHCPv6
# 注意将 eth0 修改为你的网络设备名称 auto eth0 allow-hotplug eth0 iface eth0 inet dhcp iface eth0 inet6 dhcp
重启网络
$ systemctl restart networking.service
参考资料
- Network Configuration. Debian Wiki.
发表回复