hack_wireless_setup
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
hack_wireless_setup [2020/04/18 18:56] – created gman | hack_wireless_setup [2020/05/31 17:44] (current) – [Wireless: Connect] gman | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Wireless ====== | + | ====== Wireless: Set-Up |
**Adapters: | **Adapters: | ||
* Tools are found in the [[https:// | * Tools are found in the [[https:// | ||
- | |||
- | ===== Adapter Setup ===== | ||
- | |||
- | **Attaching USB Device to VM in VirtualBox** | ||
- | * Start the following process WITHOUT the wireless adapter attached. Do NOT connect it yet. | ||
- | * Even after you have your adapter installed, recognized and functioning, | ||
- | * For some reason, Kali VM does not play nicely when booted with the adapter attached. Boot. Attach. Play. | ||
- | |||
- | **VirtualBox (Host) Setup:** | ||
- | - In Linux you need to add the current user to the virtualbox group: | ||
- | * As root: '' | ||
- | * Then you need to logout (of X, of current session) and log back in. | ||
- | - Open VirtualBox and click on the machine you want to select it. | ||
- | - Go to Settings... USB... Make sure USB is enabled (checkbox is checked). | ||
- | - Pick the USB version used by your adapter (1.1, 2.0, or 3.0; mine was 3.0). | ||
- | - Click on the icon to the right of the Filter box with the plus sign (+). | ||
- | * If you have devices already connected to that version of USB, they will show up in the menu. | ||
- | - Now connect the adapter and do #4 again (plus sign). | ||
- | * You should see a new entry in the pop-up menu. | ||
- | * It will be listed according to the chipset, not the brand name of the adapter. | ||
- | * This will be the same chipset you see with '' | ||
- | - Click on the adapater (chipset) entry to select it. | ||
- | - Click on OK to accept the addition and close the USB menu window. | ||
- | - Before starting the VM, physically disconnect the wireless adapter. | ||
- | - Start the VM and let it fully load THEN connect your USB wireless adapter (you should see the adapters visual feedback light up). | ||
- | * Check to make sure the adapter connection is recognized. | ||
- | * Go to the VM menu (all the way on the top): Devices... USB... | ||
- | * You should see your adapter/ | ||
- | |||
- | **Virtual Machine (Guest) Setup: | ||
- | - In a term window in your Linux VM, do '' | ||
- | - Check to see if the adapter was recognized by the O/S. Use one or more of the following: | ||
- | * '' | ||
- | - If you do not see a wireless adapter (wlan0, etc.), then you need to install the drivers. | ||
- | * https:// | ||
- | - Search for the chipset name (e.g., RTL8812AU or realtek, etc.) | ||
- | * '' | ||
- | - Install your chipset' | ||
- | * My example: '' | ||
- | - After a successful installation of the package, power down the VM. | ||
- | - Remove the USB adapter (if connected), power up the VM, update and upgrade to make sure it works. | ||
- | * '' | ||
- | - For some reason, some folks needed to do a key addition to get the upgrade to work (mine worked fine without it). Also, : | ||
- | < | ||
- | apt-key adv --keyserver hkp:// | ||
- | systemctl restart network-manager | ||
- | </ | ||
- | - Connect your USB wireless adapter. Check in Devices... USB... to make sure it's there. Check '' | ||
- | - Check to see if the adapter was recognized by the O/S (mine worked, got a wlan0): | ||
- | * '' | ||
- | |||
- | ---- | ||
===== Change MAC ===== | ===== Change MAC ===== | ||
Line 122: | Line 70: | ||
Do an '' | Do an '' | ||
- | * **Important: | + | * **Important: |
+ | * In a nutshell: | ||
+ | * An '' | ||
+ | * An '' | ||
1. Disable the interface. | 1. Disable the interface. | ||
Line 152: | Line 103: | ||
* '' | * '' | ||
* '' | * '' | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Adapter Setup (VM) ===== | ||
+ | |||
+ | **Attaching USB Device to VM in VirtualBox** | ||
+ | * Start the following process WITHOUT the wireless adapter attached. Do NOT connect it yet. | ||
+ | * Even after you have your adapter installed, recognized and functioning, | ||
+ | * For some reason, Kali VM does not play nicely when booted with the adapter attached. Boot. Attach. Play. | ||
+ | |||
+ | **VirtualBox (Host) Setup:** | ||
+ | - In Linux you need to add the current user to the virtualbox group: | ||
+ | * As root: '' | ||
+ | * Then you need to logout (of X, of current session) and log back in. | ||
+ | - Open VirtualBox and click on the machine you want to select it. | ||
+ | - Go to Settings... USB... Make sure USB is enabled (checkbox is checked). | ||
+ | - Pick the USB version used by your adapter (1.1, 2.0, or 3.0; mine was 3.0). | ||
+ | - Click on the icon to the right of the Filter box with the plus sign (+). | ||
+ | * If you have devices already connected to that version of USB, they will show up in the menu. | ||
+ | - Now connect the adapter and do #4 again (plus sign). | ||
+ | * You should see a new entry in the pop-up menu. | ||
+ | * It will be listed according to the chipset, not the brand name of the adapter. | ||
+ | * This will be the same chipset you see with '' | ||
+ | - Click on the adapater (chipset) entry to select it. | ||
+ | - Click on OK to accept the addition and close the USB menu window. | ||
+ | - Before starting the VM, physically disconnect the wireless adapter. | ||
+ | - Start the VM and let it fully load THEN connect your USB wireless adapter (you should see the adapters visual feedback light up). | ||
+ | * Check to make sure the adapter connection is recognized. | ||
+ | * Go to the VM menu (all the way on the top): Devices... USB... | ||
+ | * You should see your adapter/ | ||
+ | |||
+ | **Virtual Machine (Guest) Setup: | ||
+ | - In a term window in your Linux VM, do '' | ||
+ | - Check to see if the adapter was recognized by the O/S. Use one or more of the following: | ||
+ | * '' | ||
+ | - If you do not see a wireless adapter (wlan0, etc.), then you need to install the drivers. | ||
+ | * https:// | ||
+ | - Search for the chipset name (e.g., RTL8812AU or realtek, etc.) | ||
+ | * '' | ||
+ | - Install your chipset' | ||
+ | * My example: '' | ||
+ | - After a successful installation of the package, power down the VM. | ||
+ | - Remove the USB adapter (if connected), power up the VM, update and upgrade to make sure it works. | ||
+ | * '' | ||
+ | - For some reason, some folks needed to do a key addition to get the upgrade to work (mine worked fine without it). Also, : | ||
+ | < | ||
+ | apt-key adv --keyserver hkp:// | ||
+ | systemctl restart network-manager | ||
+ | </ | ||
+ | - Connect your USB wireless adapter. Check in Devices... USB... to make sure it's there. Check '' | ||
+ | - Check to see if the adapter was recognized by the O/S (mine worked, got a wlan0): | ||
+ | * '' | ||
---- | ---- | ||
hack_wireless_setup.1587236207.txt.gz · Last modified: by gman