Saturday, October 23, 2010

Setting IP address in Backtrack 4

These are my step to set ip address:

1. Open Konsole.

2. Type "ifconfig eth0 192.168.1.5" and press "enter" (this mean we set ip address 192.168.1.5 for ethernet card)

3. Type "route add default gw 192.168.1.1" and press "enter" (this mean we set default get way 192.168.1.1 for this ethernet, and this is depend on our network)

4. Type "echo nameserver 202.134.0.155 > /etc/resolve.conf" and press enter (this mean we set dns server ip address with: 202.134.0.155, and this is depend on our ISP)

5. If finish we can check our connection by pinging our getway (in this example "ping 192.168.1.1") if this connection OK, we can see "64 bytes from 192.168.1.1: icmp_seq=1 ttl=254 time=0.961 ms" appear in our console. Time in ms depend on our network.

I hope this post can help others.

No comments:

Post a Comment