Debian Stream 8配置網絡連接通常有以下兩種方法:
ip addr show或ifconfig -a查看網絡接口名稱。/etc/network/interfaces文件,添加或修改內容為auto <網卡名> iface <網卡名> inet static address <IP地址> netmask <子網掩碼> gateway <網關> dns-nameservers <DNS服務器>。若用動態IP,將inet static改為inet dhcp即可。sudo systemctl restart networking使配置生效。