O'Reilly logo

Kali Linux Wireless Penetration Testing Cookbook by Sean-Philip Oriyano

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How to do it...

In this recipe we will switch a network card into monitor mode so it can be used to observe traffic from non-associated access points.

In order to switch the network adapter into monitor mode we can use ifconfig to identify the wireless adapter if you don't know its name already. If you do know the name, then perform the following steps.

  1. Open up a Terminal window.
  2. Enter the following command:
       ifconfig <adapter name> down
  1. Press Enter and this will bring the network adapter offline.
  2. Enter the following command:
      iwconfig <adapter name> mode monitor
  1. Press Enter to switch the card to monitor mode.
  2. Enter the command:
       ifconfig <adapter name> up
  1. Press Enter to bring the network adapter back online.
  2. These commands will put ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required