ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Post New Requests Here

IDEA: Wireless network detector & IP settings changer

<< < (2/3) > >>

jgpaiva:
Ok, done.

I attached a .zip to this post, with the .ahk source file and with a compiled version.

It checks every 5 seconds for changes in the SSID, and if so, it compares the current SSID against a pre-defined list of SSIDs specified in the .ini file, and if it detects the current one is one of them, it launches the associated action.

I think the .ini file is self-explanatory, but if you have some trouble, just post here ;)

Carol Haynes:
Can't you just set up connections to two different networks in the Connection Manager with the different settings then it will connect to whichever network is available?

magonicola:
Ok, done.

I attached a .zip to this post, with the .ahk source file and with a compiled version.

It checks every 5 seconds for changes in the SSID, and if so, it compares the current SSID against a pre-defined list of SSIDs specified in the .ini file, and if it detects the current one is one of them, it launches the associated action.

I think the .ini file is self-explanatory, but if you have some trouble, just post here ;)
-jgpaiva (January 09, 2008, 04:28 PM)
--- End quote ---

Hi,
first of all thanks for your attachment, very nice & usefull.
In particular this attachment has quite solved my problem: reconfiguring IP settings on SSID change. HOW? Your file lunch a BAT file made by netsh instruction that calls a txt files with appropriate config inside.

Now there's only a problem: sometimes your script gives me a run-time error (800a0046 code) of "cannot access to file" (privileges), the file is obviously SSID.txt, so I can't be "safe" to leave the pc alone and on being sure that it will change autometically the IP settings. (I don't know why this: your script works for minutes and only a few times at hour has got this error popup. Maybe, I think, 5 seconds of delay is not enough when CPU is stressed)
If you can fix this error you will solve not only my situation, but the problem of so many people.
THANKS!

jgpaiva:
Hi magonicola!
To be honnest, I don't quite know why that happens. Could you post a printscreen of the error?

potofcoffee:
I think what you're really looking for is Net Profiles, recently open-sourced. Any help is appreciated.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version