Monday, August 2, 2010

Networking

Older versions of Backtrack would automatically bring up networking and mount drives. This annoyed pentesters, because we don't want such automatic things to happen, especially automounting the primary drive when we boot from a live CD. So, you have to do it manually.

For Ethernet, I type in something like the following:
ifconfig eth0 up
dhclient eth0

For WiFi, I do something like:
ifconfig wlan0 up
iwconfig wlan0 mode managed essid "linksys"
dhclient wlan0

There are easier ways of doing this. For example, I can just use the "ifup" thingy:
ifup eth0

No comments:

Post a Comment