streppuiu Posted July 25, 2010 Report Share Posted July 25, 2010 Is there a way to run an application when the pcconnects to a wireless network ? That program would also need access to the name (SSID) of the wireless network that the computer is connected to, so it can do specific tasks depending on which wireless lan is connected.Thank you in advance Quote Link to comment Share on other sites More sharing options...
bludgard Posted July 25, 2010 Report Share Posted July 25, 2010 Is there a way to run an application when the pcconnects to a wireless network ? That program would also need access to the name (SSID) of the wireless network that the computer is connected to, so it can do specific tasks depending on which wireless lan is connected.Thank you in advanceHi,streppuiu.Welcome.You want to connect automatically to the network?What OS are you running?I can usually start/stop auto-configure services in Services.Yet,if there is no option for this.... Quote Link to comment Share on other sites More sharing options...
streppuiu Posted July 25, 2010 Author Report Share Posted July 25, 2010 Thanks for the answer. I am running Windows XP. I don't think I have those services that you show in the picture. Specifically I want to run nvspbind application (from Microsoft) in order to enable/disable "File and printer sharing" and "Client for Microsoft Networks" on my WLAN adapter, depending on what wireless network I am. I do not trust all wireless networks, so I would prefer disabling the above two components while I am on such a network, because those are not needed and also security holes. And I don't want to do that manually. I did not find a way to automate this process. When my laptop connects to a wireless network, it should disable the components if the SSID is let's say "John's network" and enable them if the SSID is "Adam's network". I hope this makes it clear of what I am asking.Thanks. Quote Link to comment Share on other sites More sharing options...
streppuiu Posted July 26, 2010 Author Report Share Posted July 26, 2010 Nobody has a solution to this ? Quote Link to comment Share on other sites More sharing options...
bludgard Posted July 26, 2010 Report Share Posted July 26, 2010 Nobody has a solution to this ?Hi,streppuiu.Sorry,I'm not that familiar with XP-although I'm sure some here are.I did find a link that may help you to configure your WLAN settings:HEREI hope this helps,I just don't have much experience in wireless networking or file sharing.HERE is a link dealing with renaming SSID.Hope this information is applicable. Quote Link to comment Share on other sites More sharing options...
streppuiu Posted July 28, 2010 Author Report Share Posted July 28, 2010 Thanks a lot, bludgard, but that didn't help. :( . If someone else has an idea, I would be very grateful. Quote Link to comment Share on other sites More sharing options...
streppuiu Posted August 6, 2010 Author Report Share Posted August 6, 2010 Finally, I solved the problem. I had to build a C++ program in order to accomplish this. I attache it to my reply. I hope someone will find it useful. AutoWLAN.zip Quote Link to comment Share on other sites More sharing options...
bludgard Posted August 6, 2010 Report Share Posted August 6, 2010 Finally, I solved the problem. I had to build a C++ program in order to accomplish this. I attache it to my reply. I hope someone will find it useful. AutoWLAN.zipThank for the update,streppuiu.Nothin' better than a machine that does what you want it to. ;) Quote Link to comment Share on other sites More sharing options...
MANEMAN Posted August 6, 2010 Report Share Posted August 6, 2010 Wow !I'm really impressed.Can you run up a video presentation with dialogue and post it on here so that anyone else reading who would want to:............"Run an application when the pcconnects to a wireless network. That program would also need access to the name (SSID) of the wireless network that the computer is connected to, so it can do specific tasks depending on which wireless lan is connected".................. Type of thing ?Some of the more inexperienced computer users may just find that very useful but not be able to follow instructions given in your link here: http://forums.windowsforum.org/index.php?app=core&module=attach§ion=attach&attach_rel_module=post&attach_id=9985 without a bit of coaxing, and laying it out in laymans terms. :) As you may realise, forums can be used for teaching also (Not just being smartass and polishing our own ego's)I'll give you an example from another forum I have belonged to for about 10 years, with the emphasise on "getting on down to the peoples level"EXAMPLE:"..and then the spark plug of the generator came out. Put it back in, restarted the 'puters. Desktop is running just fine but the laptop is getting messier. (sloooow - I guess the registry is a real mess after all those sudden power downs in the middle of various updating and roll back operations.)I guess I just copy whatever stuff I have there and do a fresh XP install. The OS files that I can now download from Technet are the latest version anyway, so XP will be coming with SP3 slipstreamed."Oh well..Sorta post that says it all without the Bull**** dont it ? Everyone can understand what's going on.So........ Let's have some sort of tutorial from you on the subject, no matter what name you decide to post to the forum with. :) That's what you are interested in isnt it ? ............. Teaching people ?I'm quite sure that you are going to go the extra mile, and do a presentation to prove yourself, and teach others.C'mon........ It's a nice easy little challenge for someone as smart as you.YouTube Tutorial........ EasyPeasy. :) John. Quote Link to comment Share on other sites More sharing options...
bludgard Posted August 6, 2010 Report Share Posted August 6, 2010 I LOVE movies! PEACE Quote Link to comment Share on other sites More sharing options...
streppuiu Posted August 7, 2010 Author Report Share Posted August 7, 2010 I have added the multi-adapter functionality and removed the need for command line GUIDs. I also changed the format of the jobs file. Now jobs are matched on a per GUID and SSID basis. For more info read the Readme.txt file. I can't waste my time with video presentations. I hope the explanations in the readme file are enough. A new version, that will pass the SSID and GUID to the launched application is on the way. AutoWLAN.zip Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.