Debian10 增加网卡
ls /sys/class/net
看一下设备目录里是否有新增的网卡:
root@debian:/# ls /sys/class/net
ens3 lo
vi /etc/network/interfaces
...
auto ens3
iface ens3 inet static
address 192.168.0.1
netmask 255.255.255.0
gateway 192.168.0.254
网事随记
ls /sys/class/net
看一下设备目录里是否有新增的网卡:
root@debian:/# ls /sys/class/net
ens3 lo
vi /etc/network/interfaces
...
auto ens3
iface ens3 inet static
address 192.168.0.1
netmask 255.255.255.0
gateway 192.168.0.254
V