How to Start or Enable Networking in BackTrack

How to Start or Enable Networking in BackTrack

Wondering how you can connect your BackTrack machine in your network?

Or how to have internet access in your BackTrack machine?

Read this BackTrack tutorial to enable networking in your BackTrack machine.BackTrack Tutorial, BackTrack Training, Network Security and Penetration Testing

 

 

Commands below with enable networking in BackTrack, a penetration testing Linux distribution

Note: Commands listed should be run as root or with sudo (switch user do) command.

Enter the following command to enable or start your networking in BackTrack
/etc/init.d/networking start

This command will start all the interfaces in the /etc/network/interfaces file.

Below are more information in how to enable or start networking in Backtrack.

Setting your interfaces to get ip addresses via DHCP.
See my sample /etc/network/interfaces file.

root@wiztechie:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

auto eth1
iface eth1 inet dhcp

auto ath0
iface ath0 inet dhcp

auto wlan0
iface wlan0 inet dhcp

Setting your interfaces manually or having static ip addresses.
See my sample /etc/network/interfaces file.

auto eth0
iface eth0 inet static
address 192.168.0.100
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1

Setting up your nameserver.
See my sample /etc/resolv.conf file.

root@wiztechie:~# cat /etc/resolv.conf
nameserver 192.168.0.1

If you only want specific interfaces to get ip address via the DHCP (in this example, let’s say eth0 and wlan0 only) then remove every thing else for the file with the exception of the lo interface.
See my sample /etc/network/interfaces file.
Note: Backup first your /etc/network/interfaces file if you’re having some doubt with what you are doing, in this way you can revert back to the original file. To do this enter cp /etc/network/interfaces /etc/network/interfaces.bak (this create a backup of the /etc/network/interfaces file)

root@wiztechie:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

auto wlan0
iface wlan0 inet dhcp

If you want to autostart or run this at startup, enter the command.

update-rc.d networking defaults

Hope this guide help you with your networking problems with BackTrack.

Like our Facebook Fan Page.



Subscribe and get the latest tips, tricks, news, and updates delivered straight to your e-mail inbox.

Enter your email address:

Delivered by FeedBurner

Ameer

Ameer is your techie friend, the head admin, and editor-in-chief of this blog. In here we share the latest technology news and updates, computer tips and tricks, SEO, games and gaming news, and other tech articles that aims to help you with today's technology.

Website

4 Comments

  1. abuadam October 13, 2011
  2. Pinoy IT Tech Support October 14, 2011
  3. Matt November 15, 2011
    • Pinoy IT Tech Support November 18, 2011

Leave a Reply

Your email address will not be published. Required fields are marked *

DOWNLOAD FREE GAMING GRAPHICS! (PHOTOSHOP FILES + VIDEOS)
Subscribe to mailing list and download the content.
  We hate SPAM and promise to keep your email address safe.
Disclaimer: You are being added to a mailing list which you can unsubscribe at any time.
Read previous post:
How to Run Android Apps on Mac, Linux and Windows

Run and install Android apps on Mac, Linux or Windows computers through ARChon , a modified version of Google’s App...

Close