kali 配置网卡
2020-03-26 本文已影响0人
旧时袋
- 命令行输入
leafpad /etc/network/interfaces
- 修改ip地址,网络掩码,网关
# The loopback network interface
auto lo
iface lo inet loopback
auto eth0
#inface eth0 inet dhcp
iface eth0 inet static
address 192.168.167.3
netmask 255.255.255.0
gateway 192.168.167.1
- 重启网卡即可
service networking restart