Backtrack一些基本配置

查看网络配置信息
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
添加网关
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

分享到:

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

*

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>