Jump to content
Guest expl0iter

[Complete Tutorial] How to start Hacking with BackTrack OS

Recommended Posts

Guest expl0iter

Setting Up Wireless Access Point For BackTrack

I am going to you tell that how can you setup your Wireless Router Access Point for work with your BackTrack Operating System.Here i am going to use the D-Link Dir-615 Wireless N Router for all work.

Now we going to set up the access point. As mentioned earlier, we going to use the D-LINK DIR-615 Wireless N Router for all the experiments. However, feel free to use any other access point. The basic principles of operation and usage remain the same.

Let us begin! Open Authentication with an SSID of "Wireless Lab".

Follow these instructions step-by-step:

1. Power on the access point and use an Ethernet cable to connect your laptop to one of the access point's Ethernet ports.

2. Enter the IP address of the access point configuration terminal in your browser. For the DIR-615, it is given to be 192.168.0.1 in the manual. You should consult your access point's setup guide to find its IP address. If you do not have the manuals for the access point, you can also find the IP address by running the route –n command. The gateway IP address is typically the access point's IP. Once you are connected, you should see a configuration portal which looks like this:

1.PNG

3. Explore the various settings in the portal after logging in and find the settings related to configuring a new SSID.

4. Change the SSID to Wireless Lab. Depending on the access point, you may have to reboot it for the settings to change:

2.PNG

5. Similarly, find the settings related to Authentication and change the setting to Open Authentication. In my case, the Security Mode configuration of None indicates that it is using Open Authentication mode.

6. Save the changes to the access point and reboot it, if required. Now your access point should be up and running with an SSID Wireless Lab.

An easy way to verify this is to use the Wireless Configuration utility on Windows and observe the available networks using the Windows Laptop. You should find Wireless Lab as one of the networks in the listing:

3.PNG

We have successfully set up our access point with an SSID Wireless Lab. It is broadcasting its presence and this is being picked up by our Windows laptop and others within the Radio Frequency (RF) range of the access point.

It is important to note that we have configured our access point in Open mode, which is the least secure. It is advisable not to connect this access point to the Internet for the time being, as anyone within the RF range will be able to use it to access the Internet.

In my next post I shall tell you how to setup wireless card in BackTrack and also access AP.

Settings Up Wireless Cards for access WEP & WPA in BackTrack 5

Now i am going to tell you how to settings up Wireless cards for access WEP & WPA in Backtrack 5 after it i am tell you how to connect your wireless cards to Access Point of D-Link Wireless Router.

i am going to use ALFA Wireless Cards and belief on me it is too easier then setup Access point in Wireless Router so ready ?

First work Plug the card on USB port of your PC or Laptop in which BackTrack installed.

Once you log in, open a console terminal and type in iwconfig. Your screen should resemble as follows:

1.PNG

As you can see, wlan0 is the wireless interface created for the Alfa wireless card. Type in

ifconfig wlan0 up

to bring the interface up. Then type in ifconfig wlan0 to see the current state of the interface:

2.PNG

The MAC address 00:c0:ca:3e:bd:93 should match the MAC address written under your Alfa card. BackTrack ships with all the required drivers for the Alfa card. Now your wireless card settings up.

Never Forgot read my upcoming post in which i will going to tell you how to connect Wireless Card to Access Point of Router.

Connecting Wireless Access Point of Router to Wireless Cards of System

Now we will look at how to connect to the access point using the Alfa wireless card. Our access point has an SSID Wireless Lab and does not use any authentication.

Here we go! Follow these steps to connect your wireless card to the access point:

1. Let us first see what wireless networks our Alfa card is currently detecting. Issue the command iwlist wlan0 scanning and you will find a list of networks in your vicinity:

3.PNG

2. Keep scrolling down and you should find the Wireless Lab network in this list. In my setup, it is detected as Cell 05, it may be different in yours. The ESSID field contains the network name:

4.PNG

3. As multiple access points can have the same SSID, verify that the MAC address mentioned in the Address field above matches your access point's MAC. A fast and easy way to get the MAC address is underneath the access point or using the web-based GUI settings.

4. Now, issue the command iwconfig wlan0 essid "Wireless Lab" and then iwconfig wlan0 to check the status. If you have successfully connected to the access point, you should see the MAC address of the access point in the Access Point: field in the output of iwconfig, as shown in the following screenshot:

5.PNG

5. We know the access point has a management interface IP address "192.168.0.1" from its manual. Alternatively, this is the same as the default router IP address when we run the route –n command. Let's set our IP address in the same subnet by issuing the command ifconfig wlan0 192.168.0.2 netmask 255.255.255.0 up. Verify the command succeeded by typing ifconfig wlan0 and checking the output:

6.PNG

6. Now let's ping the access point by issuing the command ping 192.168.0.1. If the network connection has been set up properly, then you should see the responses from the access point. You can additionally issue an arp –a to verify that the response is coming from the access point. You should see that the MAC address of the IP 192.168.0.1 is the access point's MAC address we have noted earlier. It is important to note that some of the more recent access points might have response to ICMP Echo Request packets disabled. This is typically done to make the access point secure out-of-the-box with only the bare minimum configuration settings available. In such a case, you could try to launch a browser and access the web interface to verify that the connection is up and running.

7.PNG

7. On the access point, we can verify the connectivity by looking at the connection logs. As you can see in the following log, the MAC address of the wireless card 00:c0:ca:3a:bd:93 has been logged:

8.PNG

We just connected to our access point successfully from BackTrack using our Alfa wireless card as the wireless device. We also learnt how to verify that a connection has been established at both the wireless client and the access point side.

HACKARDE: Connecting Wireless Access Point of Router to Wireless Cards of System

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...