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 12: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 6: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/14/2009 10:10:54 PM #
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 7: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 7: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 4: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 7: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 11:59:41 AM #
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/21/2009 10:47:58 PM #
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 7:21:38 PM #
how to change the broadcast channel? (1-13)
Amyou
Amyou
12/4/2009 12: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 1: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 2:47:49 PM #
I am not much of a guy who thinks in so deeply about web design but I think your post had some valid points in it. Like designers are forced to design stuff within the limited code available and not go beyond it, their innovation is somewhat limited but still I think Web Design won't die! I agree that Amazon and other some big sites won't have a blog but now a days it's very important to have some sort of option available so people can quickly communicate their thoughts. I think Amazon if wants to shift it to that, they can get a customized CMS for themselves.
12/20/2009 9:16:04 PM #
Nice work. Very informative article. I will love to bookmark you for the future preferences. Thanks for sharing.




Regards
George






12/21/2009 10:46:16 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/22/2009 5: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/25/2009 6:31:27 AM #
Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with more information? It is extremely helpful for me.
12/29/2009 9:19:15 PM #
I guess there's always an easier way ...
1/6/2010 11:38:37 PM #
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.
1/10/2010 7:16:40 PM #
That is some inspirational stuff. Never knew that opinions could be this varied. Thanks for all the enthusiasm to offer such helpful information here.
Arthur
Arthur
1/11/2010 12:22:31 AM #
Mm, excellent, but how about windows xp? Can we get some for windows xp edition?
1/12/2010 2:15:36 PM #
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!
1/17/2010 11:43:41 AM #
You got a really useful blog I have been here reading for about an hour. I am a newbie and your success is very much an inspiration for me.
1/18/2010 9: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 2: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/21/2010 3:43:49 AM #
I was looking for crucial information on this subject. The information was important as I am about to launch my own portal. Thanks for providing a missing link in my business.
1/23/2010 2:10:20 PM #
Great.
Best cobination for blogging with BlogEngine.Net platform.
Happy blogging

Regards,
Dave
1/24/2010 8:50:02 PM #
nice psot - I really like this a lot.
1/25/2010 1: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/27/2010 4:20:52 PM #
Me and my friend were arguing about an issue similar to this! Now I know that I was right. lol! Thanks for the information you post.
1/28/2010 4: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 1:32:50 AM #
The ladder of success is best climbed by stepping on the rungs of opportunity.
1/29/2010 11:58:22 AM #
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 4: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.
1/31/2010 4:46:23 PM #
I thought it was going to be some boring old post, but it really compensated for my time. I will post a link to this page on my blog. I am sure my visitors will find that very useful.
2/1/2010 1:01:08 AM #
It worked! Thanks for the help.
SEO
2/2/2010 4:40:23 AM #
Interesting read, thanks for helping keep me busy at work ..
2/2/2010 6:00:36 AM #
Resources like the one you mentioned here will be very useful to me! I will post a link to this page on my blog. I am sure my visitors will find that very useful.
2/2/2010 8:17:11 PM #
You really know your stuff... Keep up the good work!
2/2/2010 9: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/2/2010 10:00:28 PM #
Hi,

Nice job, it’s a great post. The info is good to know!
2/3/2010 8:14:44 AM #
Just wanted to give you a shout from the valley of the sun, great information. Much appreciated.
2/6/2010 1:32:40 PM #
Valuable information and excellent design you got here! I would like to thank you for sharing your thoughts and time into the stuff you post!! Thumbs up
2/7/2010 1:04:06 AM #
Really interesting, Valuable information  and lots of funny gravatars. Useful Information, thanks to the author.
2/8/2010 5:08:13 AM #
I am going to have to get windows 7 to get this set up. It'd be perfect for my needs.
Comments are closed