I have 2 WiFi USB Dongle, Can I Receive and Share Internet using both?

Status
Not open for further replies.

OnurTirpan

Commendable
Jan 17, 2017
1
0
1,510
Hello.

I have 2 WiFi USB Dongle, I want one of them to receive internet from a router and the other one will be used as a hotspot.

Is it possible?

My point is, I want a build a bridge between my phone and my modem and I can monitor and manipulate data. This is required in order to test a mobile application security.

There are other ways to do it but if this is possible, this can make my job 5 times easier and quicker.

Note: There is no possibility for Ethernet connection. I have to do it through WiFi.

Thanks!
 
Solution
You can use numerous adapters on a single rig, that isn't a problem at all.

Not only that but what you want to do is totally possible!

Install both wifi adapters, use one to connect to your internet.
Run CMD as admin....

netsh wlan set hostednetwork mode=allow ssid=hotspot_name_here key=password_here

netsh wlan start hostednetwork

Now go to your network connections and right click your second dongle, go to properties, go to sharing, and allow computers to connect through this connection.

Tada.

And to stop it...

netsh wlan stop hostednetwork
You can use numerous adapters on a single rig, that isn't a problem at all.

Not only that but what you want to do is totally possible!

Install both wifi adapters, use one to connect to your internet.
Run CMD as admin....

netsh wlan set hostednetwork mode=allow ssid=hotspot_name_here key=password_here

netsh wlan start hostednetwork

Now go to your network connections and right click your second dongle, go to properties, go to sharing, and allow computers to connect through this connection.

Tada.

And to stop it...

netsh wlan stop hostednetwork
 
Solution
thx113 - that is simply a bridge and could also be done to solve his problem.

Plug the laptop directly into the internet using an ethernet cable.
Go to Network Connections, select both the wired and wireless connections, right click, and select bridge.

Then follow my steps above to turn your wifi dongle into an access point and enable sharing.
 
For your purposes do as green described to share your internet connection.

To manipulate your phone's data you will still need some sort of application on the laptop
To just watch the packets you could just use wireshark and not need the extra dongle just have the phone on the same wifi connection.

Just for the record, for your testing purposes I see the use of this. For general internt use this would have less real world performance then a $20 router.
 
Status
Not open for further replies.