BT5连接官方源较慢,更改为科大提供的源:
cd /etc/apt/
cp sources.list sources.list.bak
cat sources.list
#https://www.haiyun.me
deb http://mirrors.ustc.edu.cn/backtrack/source revolution main microverse non-free testing
deb http://mirrors.ustc.edu.cn/backtrack/all revolution main microverse non-free testing
deb http://mirrors.ustc.edu.cn/backtrack/32 revolution main microverse non-free testing
设置固定IP,默认为DHCP:
cat /etc/network/interfaces
auto eth0
iface eth0 inet static
address 192.168.1.31
netmask 255.255.255.0
gateway 192.168.1.1
重启网络生效:
/etc/init.d/networking restart