‫-: Hi. Within this lecture we are going to learn
‫how to connect our USB wifi card
‫to the Kali Linux using our virtual box.
‫So in order to do that
‫you're gonna have to connect the USB wifi card
‫to your computer using a USB cable of course.
‫And after connecting it,
‫most of the time you won't need to install any drivers
‫or install any other software,
‫and the virtual box will just recognize it.
‫And I'm going to show you how.
‫We're going to do this
‫in the settings of the Kali Linux.
‫So make sure you open the settings
‫of the Kali Linux like that and go to the ports.
‫So in the port you will see a USB tab like that, okay?
‫And when you click on it
‫it'll open the USB one, two, and three controller.
‫And below you will see the list
‫of the USB devices that you have connected
‫to the Kali Linux.
‫As you can see, I have already connected
‫two USB wifi cards and most probably you see something
‫like blank page over here.
‫And don't worry, I'm going to show you how to connect it.
‫Once you come over here and click on this plus button,
‫you can see the connected devices to your computer.
‫And all you have to do is just choose the USB wifi card
‫from this list.
‫It will be connected to your virtual box like that.
‫And make sure the tick on the left hand side is on.
‫And over here we have three USB selections
‫as you can see, 1, 2, 3.
‫So I'm going to start with three.
‫Okay? And if it doesn't work
‫I'm going to come back and choose one or two.
‫So you are gonna have to try this when you just
‫connect your USB wifi card.
‫If USB three doesn't work for you
‫just come over here and choose USB two.
‫If it doesn't work for you, try USB one.
‫One of them will work
‫if you have a compatible USB wifi card.
‫Okay, so make sure you try either of these selections.
‫And after that, actually, it doesn't end here.
‫Okay? You're gonna have to come over
‫to this network and change your connection
‫to the bridge adapter rather than that network.
‫Once you do that, it will just give you some options
‫underneath this bridge adapter.
‫So if you open that, you will see a lot of options.
‫And I'm not choosing the USB wifi card over here.
‫I'm choosing the wifi connection of my own computer.
‫Okay?
‫So I'm not choosing the USB wifi card in this section
‫because in fact, we are going to block out the USB cable
‫before we run Kali Linux.
‫So make sure you choose either
‫of the selections but not your USB external USB wifi card.
‫And block out the USB wifi card right now
‫and start the Kali Linux.
‫So if you do that, it will start up the Kali Linux
‫and it will just start it up in the bridge adapter mode.
‫And then the Kali Linux starts.
‫We are gonna plug in the USB wifi card
‫and then we are going to make sure that it gets
‫recognized by the virtual box once we do that.
‫And then we will have the opportunity to use it
‫inside of Kali Linux.
‫So let me just make this into full screen and
‫give my credentials over here.
‫Okay, so I'm gonna give my password and username,
‫and once I do that
‫I'm actually ready to plug in the USB wifi card.
‫So I'm gonna plug in, and once I do that,
‫it won't do much over here,
‫but actually it's getting re- recognized by the
‫E virtual box in the background.
‫So once I go to this devices menu of the virtual box
‫I can see the USB wifi card is recognized over here
‫and it's ticked.
‫So if it's not ticked for you like this,
‫you're gonna have to just select it, okay?
‫Click on it, it will be ticked.
‫So ticked means it's being used by the virtual box
‫right now.
‫So as long as you do that, now you can come over here
‫and you can see the available wifi networks for you
‫as you can see.
‫And you can just choose one of them and try to connect
‫to the internet using your own USB wifi card.
‫For example, I have my own router over here.
‫I have my own connection.
‫And once I do that, once I click on it,
‫it will just try to connect.
‫And it doesn't ask me password, most probably
‫because I have connected before, it just connects.
‫But it will ask you for your password,
‫your home password, router password,
‫and you're gonna have to give it.
‫If I run ifconfig over here.
‫Now I see the wLan0 interface as well as eth0 interface.
‫So I have a 192.168.1.21 connection over here
‫like the IP address is now changed from 10.0.2 to 192.168.
‫And since I have selected bridge adapt after eth0 also
‫changed to 192.168.1.26.
‫But what we are interested in here is that
‫wLan0 is now working.
‫I can disconnect from the wired connection.
‫Just to make sure that wLan0 is working.
‫However, it's not necessary to do that, okay?
‫You can use eth0 and wLan0 at-- in this-- at the same time,
‫in the same place, okay?
‫But make sure you get your local IP address
‫like mine over here when you write ifconfig.
‫If you do that, it means that you're connected
‫to your router using your USB wifi card inside
‫of your Kali Linux machine,
‫and everything is working right now.
‫So let's stop here and continue within the next lecture.