Setting up a wireless connection
By running Kali Linux as a virtual machine, you cannot use the wireless card that is embedded in your host OS. Fortunately, you can use an external USB-based wireless card.
For this demonstration, we are using the USB Ralink wireless card/external antenna (there will be an in-depth discussion of wireless antenna selection later on in the section concerning wireless penetration testing):
- To activate your USB-based wireless card in the Kali virtual machine, plug in the wireless card to a USB port, navigate to Devices | USB Devices, and select your wireless card from the VirtualBox menu:
In this screenshot, we can see the USB device listed.
- If your USB wireless card has been successfully recognized by Kali, you can use the dmesg program to see the wireless card's information. Another option to determine whether your wireless device is properly connected is to open a Terminal and run this command:
ifconfig
If the wireless connection is properly configured, you should see a listing under the output with WLAN0 or WLAN1 listed:
- The output should include a listing for a WLAN. This is the wireless network connection.
- In the top-right section of the Kali menu, you will see the Network Connections icon. You can click on it to display your network information.
- You will see several networks' names, wired or wireless, available for your machine:

- To connect to the wireless network, just select the particular SSID you want by double-clicking on its name. If the wireless network requires authentication, you will be prompted to enter the password. Only after you give the correct password will you be allowed to connect to that wireless network.
推薦閱讀
- Web漏洞分析與防范實(shí)戰(zhàn):卷1
- INSTANT Netcat Starter
- Web安全與攻防入門很輕松(實(shí)戰(zhàn)超值版)
- .NET安全攻防指南(上冊(cè))
- 數(shù)字化轉(zhuǎn)型浪潮下的數(shù)據(jù)安全最佳實(shí)踐指南
- Kali Linux Network Scanning Cookbook(Second Edition)
- 從實(shí)踐中學(xué)習(xí)Kali Linux滲透測(cè)試
- SQL Injection Strategies
- 無線傳感器網(wǎng)絡(luò)安全與加權(quán)復(fù)雜網(wǎng)絡(luò)抗毀性建模分析
- 空間群組密鑰管理研究:基于自主的深空DTN密鑰管理
- Kali Linux高級(jí)滲透測(cè)試(原書第4版)
- 華為Anti-DDoS技術(shù)漫談
- Web安全攻防從入門到精通
- 安全網(wǎng)絡(luò)構(gòu)建
- 2010年中國(guó)互聯(lián)網(wǎng)網(wǎng)絡(luò)安全報(bào)告