Showing posts with label Computer. Show all posts
Showing posts with label Computer. Show all posts

Friday, September 28, 2012

Turn on PC, Connect modem, Reconnect, Download, and Shutdown – Automatic by itself!

Yay, I had written an article on how to do these same things back couple months ago in this blog. The thing is it was written for WinXP, and well, it sounds too old. We’re going to write this for Windows 7. Cool!
Same as before, my modem carrier provides a fast internet for just a fraction of cents, but problem is this is only for midnight which lasts from 1AM to 5AM. And who’s going to wait and sacrifice their sleep for this? But well, there is way to turn on PC, connect to modem, reconnect if connection is lost, download and shutdown all by computer itself…and you can set yourself at pace, snoring and just let your computer does the work. Alright, let’s get started!
And another tip: Click on picture if you can't see it clearly!!!

Why you need this:
1. Because you don’t want to stay awaked full night for download process.
2. Internet is unstable, so you want your PC to reconnect automatically until it’s connected
3. You want your PC to download at a specified time
4. And when it’s time, you want your PC to power off, without you doing anything.

What you need:
1. Modem, connection profile
2. Keyboard, mouse
3. Patience
4. PC with compatible hardware
5. Ability to type as exactly as I wrote

Difficulty: Moderate
Time: Approx. 15 minutes (with reading)
Demonstrated situation: Free internet from 01:00-05:00h daily.

1- Set up a scheduled power on

We’ll set up an automatic power on for your PC. This stuff needs compatible BIOS (motherboard) to do the job. But don’t worry, if you don’t have, we have an alternative in final section of this article, however, you should proceed to the next section, Setup Connection Profile…just skip this section only. SETUP A SCHEDULED POWER ON is the ONLY feature that is hardware-dependent.
1- Restart your PC
2- Press DEL when your screen says “Press DEL to enter SETUP”. According to different PC configuration, some PC might want you to press F1, F10, or F12.
3- Navigate to “Power” tab which is usually down the screen
4- Select “Everyday”
5- Choose “Time Alarm”. Change the number to your preferred power on time. Since my free internet is from 1AM, so I choose 00:55AM.
6- When you’re done, press “ESC” and it will ask for confirmation, so press YES then.
7- Restart your PC.
Now your PC will power on at your specified time. If your BIOS does not support this, we’ll have alternative in the end of this article.

2- Set up connection profile, reconnect when connection is dropped

We’ll prepare our connection profile and set up a reconnection when internet is disconnected so that no matter what, connection will always remain.
8- Click on network icon on the lower right of task bar and right click on your preferred connection profile. In this case, I right-click on “smart” and choose “Properties”


9- When properties dialogue box appears, click on “Option” tab
10- Uncheck “Prompt for name and password”, “Includes Windows logon domains”, “Prompt for phone number”.
11- Change “Redial attempts” to 99, choose “Time between redial attempts” and in my case, I choose 3 seconds so it reconnects just after connection is lost.
12- Check “Redial if line is dropped” and click “OK”


By doing this, your computer will try to connect to the internet until it get connected. Plus, it will reconnect itself should the connection drops somewhere in the middle of your free internet period.

 

3- Schedule internet connection

13- Click Start Menu orb, and write “Task Scheduler”. When you find it, open it.
14- On the right sidebar, click on “Create basic task”


15- In “Name”, write “Dial”. Click Next
16- Set schedule behavior. In my case, I choose “Daily” because I want to connect every day. Click Next.
17- Set time to connect to the internet. I choose 1:00AM. Click Next.
18- Choose “Start a program”
19- In the “Program/Script”, write “rasphone -d smart” (without quotation marks) where smart is your connection profile’s name. Change it accordingly. Press Enter.
20- When it ask you to confirm, click “Yes”


21- Click Next, then Finish.

 

4- Schedule download

Almost every download program on the market has scheduled download feature that enables its user to specify a time to download. Now, we are going to demonstrate on how to schedule download on software called Internet Download Manager. Different software has different way to do it.
Now that I have unfinished downloads queuing up in my list, I want ones to resume at 1:05AM.
22- Open Internet Download Manager.
23- Click “Download” and then “Scheduler”


24- Here are pretty useful options you can set according to your needs. We’re going through just some of these.
I check “Start download at” and specify time to 01:05AM.
I choose “Daily” and check all days in the week.
I check “Stop download at” and set the time to 05:00AM.
There is even an option to shutdown computer once downloads finish. But I’m NOT going to check it because I have two softwares which handle downloads at the same time and I don’t one of them to stop one another. And we still have Scheduled Shutdown anyway.


By the way, you can schedule a program to start using Task Scheduler as we did in Schedule Connection. For example, I pre-set my uTorrent to download once it’s started. So I just have to schedule this program to start at 01:05AM and it will start download from the time it’s launched automatically.

 

5- Schedule shutdown

We have set every download task already, but we need to power off everything (and our PC) in a specific time so that we save energy, and we disconnect at the same time too! Let’s get to this last step.
25- Start Task Scheduler as in step 13
26- Create Basic task and name it “down”. Click Next.
27- Set it to Daily. Click Next.
28- Set shutdown time. For my case, 05:05AM. Click Next.
29- Choose “Start a program”. Click Next.
30- In Program/Script write “shutdown –f” (without quotation mark). –f is an argument to force all programs to end and shutdown. Click Next.
31- When it asks you, click “Yes”


32- Click Finish.
We’re done!! Congratulation your PC is set to start, connect, download and shutdown at a specific time!!

 

Cancelling everything

If you want to cancel everything, first go to the Task Scheduler and delete “down” and “dial” tasks. And in your download manager software, cancel scheduled download.

 

Alternative for incompatible motherboard with automatic power on

If you cannot turn on your PC on a specific time, you might need to turn in on manually and leave it on before you go to bed. But hold on! You don’t have to waste that much amount of energy! You can put your computer to Sleep or Hibernation, and set internet connection to wake your PC up first before it connects. Here’s how:
Considered we have done every step above… except the first section (from step 8-32).
1- Open Task Scheduler as in step 13.
2- Right click on “Dial” task and choose Properties


3- In the “Condition” tab, check “Wake the computer to run this task”.
So that even your PC is in sleep mode, this task will wake your PC to connect to the internet. But it works ONLY in Sleep and Hibernation, and NOT SHUTDOWN. So just put your computer to sleep, and not shutdown before you go to bed.

Surprised? Question? Comment below to get me answer :)


Creative Commons License
Turn on PC, Connect modem, Reconnect, Download, and Shutdown – Automatic by itself! by Sovannvathana is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
Based on a work at http://saidbyvann.blogspot.com/2012/09/autointernet.html.

Saturday, July 28, 2012

All-in-one: Automate (scheduled) connecting modem, redial when lost, disconnect when done and shutdown your PC.

UPDATE: We replaced the app to shutdown to just write some command to shutdown, therefore you need no downloaded app.
 
In case there is a promotion from your phone carrier for a free internet connection at midnight, you sure don’t want to waste, and sure enough you don’t want to stay awake for a full night too! We have the trick! You just leave your computer on, go to bed and let everything happens on its own and even shut down itself. You don’t need to be a geek to know this. It’s that easy!

What you will get:
Automatic modem dialing (timed)
Automatic redialing if connection is dropped
Automatic download (optional)
Automatic shutdown (timed)
 
What you need:
Modem (a mobile phone, a modem...)
PC (Windows one, Mac is out of the list)
Keyboard
Little time for reading.
 
What to download:
Auto Shutdown (Click to download)
Nothing to download
 
We assume you already used your modem for previous successful internet connection. In this tutorial, I demonstrate using Windows XP Professional, modem connection from my Sony Ericsson (don’t care, folks! Everything is almost the same for other configuration)

Steps to do:
 If you cannot see image clearly, please click on image to get its original resolution.

1 , We are now checking internet connection profile. “Start” and “Network Connections”
1
2, Look for your connection profile. In my case, it’s “Smart 3G”. Remember this name! (or you can copy it)
3, Right click on your connection profile and click “Properties”
Capture_2

4, Click “Options” tab

5, Change “Redial Attemps”. Because my connection is not stable, I need it to redial if dropped. “0” is for infinited. And check “Redial if line is dropped”. Click “OK”. This is to make sure it redial itself when connection drops. 
Capture_3

6, We are now setting up a batch file for connecting to internet.
Open notepad by typing Windows Logo and R simultaneously. Type “Notepad”. Write “rasdial Smart3G” (without quotation marks). Change Smart3G to your connection name as mention above.
Capture_4

7. Save it and name it “connect.bat”. It is important to include .bat in the name area.
Capture_5

8. We are creating a scheduled connection now. Click Start Menu, and “All Programs” then “Accessories” then “System Tools” and then “Scheduled Task”.

9. Open “Add scheduled task”
Capture_6
10. Click “Next” then, “Browse” and locate the file “connect.bat” you saved in step 7.
Capture_7

11. Name it as you like. I named this task “connect”. Choose the option that you want. In my case, I want to connect daily, so I click “Daily”. Click “Next” when done.

12. Set connection start time. Then click “Next”.

13. Enter and confirm the password if your PC account has password. Then click “Next”

14. Click “Done”.

By now, the connection is automated. In my case, it starts every day and at the time you set. If you want to cancel it, go to the Task Scheduler as in step 8 and delete the “connection” task (as we named it on step 11).
For me, I want uTorrent (torrent client) to run when having internet. I only leave it open in background. It will download automatically when there is connection. If you use Internet Download Manager, use Scheduler to plan download.

Now, we are creating a shutdown schedule (so that internet connection also disconnects).
15, Download “Auto Shutdown” and install it.

15, Open notepad by typing Windows Logo key and R simultaneously and write “notepad” and “OK”

16, Write “shutdown –f –s” (without quotation marks). 
–f is for forced shutdown. Any program running at the time of shut down will be forced to close. Delete –f if you want your PC to ask you to end task. (shutdown –s)
Capture_11

17, Save and name it “shutdown.bat” "down.cmd". It is important to add .bat .cmd to filename.
Capture_12

Now we are scheduling a task to execute shut down command.

18, Launch task scheduler as in step 8.

19, Open “Add a scheduled task”

20, Click Next, then “Browse” and locate for “down.cmd” (we did on step 15-17).

21, Click Next and choose the option and time you want to shutdown your PC.
 Done!

By the way, if you only want to disconnect modem and NOT shutting down, let start step 15 the other way.

15, Open “Notepad” by typing Windows Logo key and R simultaneously and type “notepad” and okay.

16, Type “rasdial /disconnect” (without punctuation marks)
Capture_9

17, Save and name it “disconnect.bat”. It is important to add .bat to its name.
Capture_10

We are now creating a task to disconnect the internet at given time.

18, Click Start Menu then All Programs, then Accessories, then System Tools, then “Schedule a task”.

19, Open “Add Scheduled Task”, click Next. Click “Browse” and then locate “disconnect.bat” (saved at step 17).

20, Choose option you like as we did in step 11 to step 14. This is to disconnect internet.
Done, at your given time, internet will disconnect.

Everything is done. Just leave your computer on, modem plugged, and go to bed. Everything is set.

I hope you enjoy my how-to.
 Any problem, please comment.

Monday, April 2, 2012

Khmer Onscreen Keyboard (Limon)

There’s a time when you cannot stop yourself from using the classic Limon fonts for your documents. Then, you’ll find yourself in trouble remember all keystrokes for special character. There comes a handy program that help you not just the whole Limon keyboard layout, but it actually types the character you click! Take a look!