Tilted Forum Project Discussion Community  

Go Back   Tilted Forum Project Discussion Community > Interests > Tilted Technology


 
 
LinkBack Thread Tools
Old 05-10-2004, 04:45 PM   #1 (permalink)
Psycho
 
Executing a File When I Detect a Specific Wireless Network

I did a search and didn't find anything pertaining to my question:

In order to switch from DHCP to a static IP address (and vice versa) I have two batch files I run in order to set my TCP/IP settings to either: 1. Detect IP and DNS (DHCP) 2. Set my own static IP, DNS, etc.

So for my home wireless network, I'd like to have a static address, not assigned via DHCP. But for the wireless network at work, I need to have DHCP configure IP, DNS, gateway, etc etc for me. Is there any way I can have my batch files run automatically when I connect to a specific network?

I'm on a Windows laptop, and I can either use the WinXP Zero Config or the Intel Proset utility (it's a Centrino) to connect, although I find the Intel Proset generally more reliable. Any other ideas to accomplish this are welcome.
nash is offline  
Old 05-12-2004, 09:01 PM   #2 (permalink)
Upright
 
Location: wherever i find myself...there i am
Just buy two laptops wouldn't that just be easier?
__________________
~Friends will help you move mountains, best friends...bodies

~I have my good days when i feel truly happy....and then there are the days I wear pants.
Puttz2004 is offline  
Old 05-13-2004, 02:50 AM   #3 (permalink)
Psycho
 
Location: Boston, MAss., USA
Can't you use hardware profiles for this? Have one profile for work, with DHCP< and one for home, with static? YOur not keeping the computer on between home and work, so when you boot, simply select the approprate profile.
__________________
I'm gonna be rich and famous, as soon I invent a device that lets you stab people in the face over the internet.
JohnnyRoyale is offline  
Old 05-13-2004, 07:01 AM   #4 (permalink)
Not so great lurker
 
Location: NY
I remember that there were some network settings switcher that could be used (extra 3rd party software) that allowed you to save the ip settings needed for various networks that you could connect to. i'll do a search and edit this post if i find something.

edit: here is a site with some info of that might help
http://www.practicallynetworked.com/...g/ipswitch.htm

I don't know if there is any way to automatically run the batch file when a specific network is detected tho, since I think that the nics only detect a network connection.


Last edited by heyal256; 05-13-2004 at 07:08 AM..
heyal256 is offline  
Old 05-13-2004, 08:57 AM   #5 (permalink)
hip mama
 
flamingpeach's Avatar
 
Location: redmond, washington
the "alternate configuration" tab under the TCP/IP settings for the card will do this for you.
__________________
I've eaten my veggies all my life so bring it on, I am educated and strong for the revolution.
flamingpeach is offline  
Old 05-13-2004, 09:02 AM   #6 (permalink)
Bokonist
 
Location: Location, Location, Location...
If your wireless network drivers load some sort of configuration tool, you might be able to hook into the loading of that tool.

i.e. my wireless network card is a netgear card...when i plug it into the USB slot, the configurator appears in the system tray as a subclassed icon. You could either look for that process being loaded or look for that subclassed icon with the Windows API.
__________________
"Beware of the man who works hard to learn something, learns it, and finds himself no wiser than before.
He is full of murderous resentment of people who are ignorant without having come by their ignorance the hard way."
-Kurt Vonnegut
zenmaster10665 is offline  
 

Tags
detect, executing, file, network, specific, wireless


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 11:34 AM.

Tilted Forum Project

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76