Solved

Hardware disabler

Posted on 2006-11-13
12
500 Views
Last Modified: 2011-10-03
I am looking for an app that will disable and enable a piece of hardware at certain times.  More specifically I need something that will disable my modem at 3 am and turn it back on at 5 am.  Does anyone know of a program like that?

-Jon
0
Comment
Question by:jmf8883
  • 5
  • 4
  • 2
12 Comments
 
LVL 31

Expert Comment

by:moorhouselondon
ID: 17934388
What kind of modem 56k or broadband?  A mains timer switch will do the trick for the 56k modem
0
 

Author Comment

by:jmf8883
ID: 17935260
56k modem...what is a mains timer switch?  if it is a hardware solution I would rather a software solution.
0
 
LVL 44

Expert Comment

by:scrathcyboy
ID: 17935677
About the best chance here is to use windows itself to disable the modem service and then re-enable it.  But this is difficult to do because first you have to schedule the tasks for system level operations, and it is not easy.  Why do you need to disable the modem for 2 hours?  The is probably a much easier way to accomplish what you want to do than schedule a system level task, requiring your computer to be left on all the time .....
0
 
LVL 31

Expert Comment

by:moorhouselondon
ID: 17936396
It is one of those switches you plug into an ordinary household socket which are often used for burglary prevention reasons: switching the lights on at dusk and off at dawn.

As scrathcyboy says, a software solution is more complex, and I would say less reliable.
0
 
LVL 44

Expert Comment

by:scrathcyboy
ID: 18098957
assign or split points
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 

Author Comment

by:jmf8883
ID: 18102818
no one gave me a good answer...I am still trying to figure out how to accomplish this task
0
 
LVL 31

Expert Comment

by:moorhouselondon
ID: 18103503
Is it possible for you tell us the reason for the modem to be disabled between these times?  That may help in answering your question.  If say the modem needs to be turned off because you don't want people using it between those times then this can be accomplished with a different kind of application that manages users/security.
0
 

Author Comment

by:jmf8883
ID: 18105043
I am writing a piece of software that takes data (that have been uploaded to the computer through a modem) in the form of flat files and transfers that data into a database.  While I am processing the flat files I do not want people to be able to upload data for fear of getting bad data.
0
 

Author Comment

by:jmf8883
ID: 18105062
also I am writing it in java
0
 
LVL 31

Accepted Solution

by:
moorhouselondon earned 500 total points
ID: 18105079
(1) your app reads data
(2) you disable the modem
(3) you enable the modem
(4) you read more data

There is still the possibility that between steps (1) and (2); and steps (3) and (4) that another app can grab the modem and use it.  Milliseconds are all it takes for the possibility to occur.

You need to have exclusive use of the modem.  Modems are cheap enough these days where two can be put into a pc - one is exclusively for your apps use, the other is freely available.

0
 

Author Comment

by:jmf8883
ID: 18105117
the data, app and modem are on the same computer.  Now that I think about it though I could disable the modem in the middle of a transfer and I would still get bad data.  Maybe we will just have to stick to the current approach of telling people not to upload data at 3 am
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Workplace bullying has increased with the use of email and social media. Retain evidence of this with email archiving to protect your employees.
Healthcare organizations in the United States must adhere to the guidance of both the HIPAA (Health Insurance Portability and Accountability Act) and HITECH (Health Information Technology for Economic and Clinical Health Act) for securing and protec…
The viewer will learn how to set up a document for the web and print and the recommended PPI for printing.
Viewers will learn how to use the Hootsuite Dashboard.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now