從國外論壇找到的,雖然是以bt4來講的,但是應該適合大多數的版本。
語言很簡單,就不用翻譯了。
要點:

1、如何手動設置IP地址和子網掩碼?
2、如何設置默認路由?
3、如何設置DNS?

因此,它做的事情,就是在windows裡面,點tcp/ip右鍵,然後「手動設置IP」。

Configure Network Cards, How to

So you have Backtrack running installed on a HDD, you can now configure your cards to use the network. You can also do this exactly the same if you are running the distro from the CD, but your settings will not be saved as the CD is a read only medium. There are plenty of different ways to configure these wired cards and plenty of tools to do it. What I am showing here is the generic Linux commands which should be the same for other distro's.


To turn on your ethernet network card (LAN):
# ifconfig eth0 up

The eth0 is the name of the card, this could change depending on what hardware you have installed. To get a list of all adapters:
# ifconfig -a
This will list all (-a) interfaces.

To get DHCP to assign a network address automatically from the DHCP server:
# dhcpclient eth0
This will run it only on eth0, if you omitted the interface you would run the DHCP discovery process on all compatible cards.

Then check if you have an address:
# ifconfig eth0
You should see an IP address in there somewhere.

If you want a static IP address instead of a dynamic one:
# ifconfig eth0 192.168.1.2

Or whatever IP you want! If you want a variable subnet mask (beyond the scope of this thread!):
# ifconfig eth0 192.168.1.2 netmask 255.255.255.224

To manually add a default gateway:
# route add default gw 192.168.1.1 eth0
Of course you would replace the IP address with your default gateways, also the eth0 interface is not always needed!

To manually assign your DNS servers:
# echo nameserver 192.168.1.1 >> /etc/resolv.conf

All of this may have been done for you automatically with DHCP anyway, so to check:
# cat /etc/resolv.conf
This will display to you the contents of the /etc/resolv.conf file.

To change your DHCP address if it has already been assigned you need to delete the DHCP file assigned to the card:
# rm /etc/dhcpc/dhcpcd-eth0.pid

Although that may change based on the interfaces you have!

Then run the dhcpcd command again.