Home > C#

Virtual Router Project – Turn any Windows 7 PC into a Wireless Access Point / Hot Spot

9. November 2009

Over the last week some of you may have heard about Connectify. It’s an app that unleashes the “Virtual WiFi” and Wireless Hosted Network features of Windows 7 to turn a PC into a Wireless Access Point or Hot Spot. Well, I looked into what it would take to build such an app, and it really wasn’t that difficult since Windows 7 has all the API’s built in to do it. After some time of looking things up and referencing the “Wireless Hosted Network” C++ sample within the WIndows 7 SDK, I now have a nice working version of the application to release. I’m calling this project “Virtual Router” since it essentially allows you to host a software based wireless router from your laptop or other PC with a Wifi card. Oh, and did I mention that this is FREE and OPEN SOURCE!

Download “Virtual Router”

Virtual Router Project - Turn Windows 7 into a Wifi Hot Spot

C# , ,

Comments

11/14/2009 2:35:20 PM #
After all, this UI is a feature that should have been baked into Windows 7 anyway!
Robert Echten
Robert Echten
11/14/2009 8:27:36 PM #
Hi Chris,

Looks great, but I have a couple of questions, I'm sure you will be able to answer. First, I tried Connectify and on  two machines it told me that no compatible Wifi drivers were found. Would I have the same problems with this app or does it use the  drivers as used by Win7? That also brings me to  the second question: In my house we have two Wifi networks. Would I be able to combine the two into one virtual Wifi network/hotspot? I've seen this mentioned in an earlier version of the Microsoft Research project that delivered these APIs.

Keep up the good work.
Greg
Greg
11/15/2009 12:10:54 AM #
Hey Chris,
Tried it but I get "Virtual Router could not be started." I know my wifi radio works as I can connect to an existing wifi router...any ideas?
11/15/2009 9:44:17 AM #
Greg, you'll want to check that the Virtual Router Service is started. Plus, you'll need to have drivers installed for your wireless card that are Certified for Windows 7.
11/15/2009 9:45:46 AM #
Robert, presumably you would have the same issue with Virtual Router working that you described having with Connectify. The only real way to find out though is to install it and try using it. As a note, both Connectify and Virtual Router use the same Windows API's for Wireless Hosted Networks.
Greg
Greg
11/16/2009 6:47:05 AM #
Chris, I'll bet that's it...the drivers...I'll check it out when I get back to that machine. Thanks for the help...
Sergei
Sergei
11/19/2009 9:15:21 AM #
Hello. Thank you for this program, but I have the same problem as Greg, "Virtual Router could not be started". The wi-fi card is USB-adapter Asus WL-167. Driver is Windows 7 default automatically assigned (not Asus) driver.
Bob
Bob
11/19/2009 1:59:41 PM #
Yeah, i have the same problem.  I have a linksys pci-adapter with SRX, but it says "Virtual Router could not be started".  Any ideas?
11/22/2009 12:47:58 AM #
Please reference the Frequently Asked Questions within the Virtual Router Documentation. There you will find a list of "known" supported devices and an explanation of why some devices may not work.

http://virtualrouter.codeplex.com/documentation
Tremor
Tremor
11/25/2009 9:21:38 PM #
how to change the broadcast channel? (1-13)
Amyou
Amyou
12/4/2009 2:30:22 AM #
I try to install your application. It's good idea. But I can't run.
I checked service is started. My adapter is Atheros AR928X Wireless Network Adapter.
My OS is Windows 7 Ultimate x64.

I got this error msg.
System.Reflection.TargetInvocationException was unhandled
  Message="Exception has been thrown by the target of an invocation."
  Source="mscorlib"
  at VirtualRouterClient.App.Main()
  InnerException: System.ServiceModel.CommunicationException
       Message="An error occurred while receiving the HTTP response to http://localhost:31337/VirtualRouter/service. This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more details."

PS. I download your 0.9 Beta and Latest source code(41376). Try to build, it succeed. But same problem. How can I debug?
Ihsan KURT
Ihsan KURT
12/20/2009 3:36:49 AM #
Just downloaded, installed and connected to the virtual network via my iPhone. I am really excited. Thnks. I will be waitng for your next project. Smile
Good Luck
12/20/2009 11:16:04 PM #
Nice work. Very informative article. I will love to bookmark you for the future preferences. Thanks for sharing.




Regards
George






12/22/2009 7:39:48 AM #
Nice information, many thanks to the author. It is incomprehensible to me now, but in general, the usefulness and significance is overwhelming. Thanks again and good luck!
12/29/2009 11:19:15 PM #
I guess there's always an easier way ...
1/7/2010 1:38:37 AM #
I'm going to have to buy win7. I've yet to make the transition, but it seems it has a lot of new features like this in it, plus I'm tired of vista's UAC.
Arthur
Arthur
1/11/2010 2:22:31 AM #
Mm, excellent, but how about windows xp? Can we get some for windows xp edition?
1/18/2010 11:29:33 AM #
Good ideas to choose BlogEngine.Net as your blog platform.
I like using blogengine too, because that is easy and user friendly for newbie like me.
happy writting.

Regards,
Mufet
1/20/2010 4:42:01 AM #
ICS Office Cleaning Services offer free online cleaning quotes and deliver very competitive eco friendly office cleaning and contract cleaning for london companies.
1/23/2010 4:10:20 PM #
Great.
Best cobination for blogging with BlogEngine.Net platform.
Happy blogging

Regards,
Dave
1/24/2010 10:50:02 PM #
nice psot - I really like this a lot.
1/25/2010 3:23:28 AM #
Very nicely written post it contains useful information for me. I am happy to find your distinguished way of writing the post. Now you make it easy for me to understand and implement the concept. Thank you for the post.
1/28/2010 6:47:44 AM #
This is such a cool application.  I'd love to try it with my netbook!  I've been looking for a solution to allowing two people to tether to my cell phone at the same time and this is it!  Thanks for making this free to all!
1/29/2010 3:32:50 AM #
The ladder of success is best climbed by stepping on the rungs of opportunity.
1/29/2010 1:58:22 PM #
Great posting about this issue. I got new knowledge here. Your article easy to understand. Keep writing and happy blogging.

Regards
bibak
1/31/2010 6:49:03 AM #
These kind of post are always inspiring and I prefer to read quality content so I happy to find many good point here in the post, writing is simply great, thank you for the post.
2/1/2010 3:01:08 AM #
It worked! Thanks for the help.
SEO
2/2/2010 6:40:23 AM #
Interesting read, thanks for helping keep me busy at work ..
2/2/2010 10:17:11 PM #
You really know your stuff... Keep up the good work!
2/2/2010 11:41:03 PM #
It’s hard to find knowledgeable people on this topic, but you sound like you know what you’re talking about! Thanks
2/3/2010 12:00:28 AM #
Hi,

Nice job, it’s a great post. The info is good to know!
2/7/2010 3:04:06 AM #
Really interesting, Valuable information  and lots of funny gravatars. Useful Information, thanks to the author.
2/8/2010 7:08:13 AM #
I am going to have to get windows 7 to get this set up. It'd be perfect for my needs.