Backtrack一些基本配置

来源:岁月联盟 编辑:exp 时间:2012-02-21
查看网络配置信息
root@bt:/# ifconfig -a
手动激活未使用的网卡eth0
root@bt:/# ifconfig eth0 up
通过DHCP自动为eth0网卡分配ip地址
root@bt:/# dhclient eth0
也可手动为eth0网卡分配ip
root@bt:/# ifconfig eth0 192.168.1.105 netmask 255.255.255.0
添加网关www.2cto.com
root@bt:/# route add default gw 192.168.1.1
查看dns配置信息:
root@bt:/# cat /etc/resolv.conf
编辑dns配置信息:
root@bt:/# sudo geit /etc/resolv.conf
编辑你的dns:
nameserver xx.xx.xx.xx
nameserver xx.xx.xx.xx
domain domain
search domain
升级backtrack工具和软件
root@bt:/# sudo apt-get upgrade
 
 
原文转载自MainframeR那些事儿