Page 1 of 1

Anyone know of this program?

PostPosted: Nov 11, 2005 @ 7:56pm
by James S
Anyone know of a tiny little program that will activate a WiFi card when run and deactivate it when run? Like a little command line program that could run for a split second in the background? Like "wifi.exe -activate" and "wifi.exe -deactivate" ?

PostPosted: Nov 12, 2005 @ 7:25am
by Caesar

PostPosted: Nov 12, 2005 @ 9:53am
by MZGuy

PostPosted: Nov 12, 2005 @ 11:04am
by refractor

PostPosted: Nov 12, 2005 @ 4:22pm
by James S
Yup, that's exactly what I was looking for, but now I have what I want to happen set up a little clumsily.

I want my computer to automatically disable my WiFi card if my computer starts up in battery mode, but if my computer starts up plugged in and docked I want WiFi enabled. Right now I'm trying to use Windows's Task Scheduler to do this and I have it automatically disable the wifi using devcon at system start up and then if it detects A/C power to reenable it. Is there a better way to do this? Maybe a batch or COM file that I can if-then? Basically, I want devcon status *APCI0003 to return to me a positive or negative value, and depending upon that value to either devcon enable/disable PCI*...WiFi*[/code]

PostPosted: Nov 12, 2005 @ 4:50pm
by James S
EDIT!

I figured out the batch file, I'll post it after I double check that it works right. BRB

Nope, nevermind, didn't work. I was hoping the device driver for the A/C supplier would deactivate when not plugged in, but it doesn't, so my approach didn't do it.

In need of ideas.

PostPosted: Nov 12, 2005 @ 11:40pm
by chuck

PostPosted: Nov 13, 2005 @ 12:37am
by James S

PostPosted: Nov 13, 2005 @ 1:17am
by James S

PostPosted: Nov 13, 2005 @ 9:24pm
by Mike Wagstaff

PostPosted: Nov 14, 2005 @ 4:46am
by James S
Yes. Can someone compile me a little program that shoots out errorlevel codes at runtime termination that indicates battery power or A/C power? I don't have a compiler, I'm sure it would only take someone about 5 minutes to do. And then if you could post it here I'll post my BAT script and we'll have a nice little setup.

Or if you feel like making it into one nice little program that will activate WiFi when A/C mode is detected and deactivate when battery mode is detected I wouldn't stop you. Then my silly BAT wouldn't be needed.

PostPosted: Nov 14, 2005 @ 6:39pm
by James S

PostPosted: Nov 14, 2005 @ 10:39pm
by Miracle
Doesnt your Tablet have some sort of power management tool with it? My sony has it, and it allows me to set up all kinds of things (brightness when [un]docket, what devices are enabled and what not, etc.). Also, I thought most laptops/tablets nowadays have an external WiFi switch?

PostPosted: Nov 15, 2005 @ 7:38pm
by James S
mine did not.

PostPosted: Nov 15, 2005 @ 11:54pm
by Miracle