Tuesday, February 5, 2013

You need to format the disk in drive J: before you can use it. Does this embarrassing you? See how to fix it...



1. Go to the Start button on windows,

2. Search for the "cmd" in searching tool,

3. Run the cmd as a Administrator,

4. After the text "C:\Windows\system32>" type "chkdsk x: /f" (without the colons) where x is the drive giving you the statement "You need to format the disk in drive J: before you can use it."

5. Wait for sometime till finish, the time tacken depending on the size of data available in the drive


NoTe: The more the data the more the TIME.


Hope it will help!


For more details follow the link.

Wednesday, February 15, 2012

How to Dig server1.example.com. Resolve to successfully through DNS where DNS server is 172.24.254.254.

Go to your Redhat CLI and type the following commands...

#vi /etc/resolve.conf
nameserver 172.24.254.254
#dig server1.example.com
#host server1.example.com

DNS is the Domain Name System, which mantain a database that can help your computer translate domain names such as www.computerfix.blogspot.com to IP addresses such as 216.148.218.197. As no individual DNS server is large enough to keep a database for the entire Internet, they can refer to other DNS server.
DNS is based on the named daemon , which is build on the BIND (Berkeley Internet Name Domain) package developed through the Internet software consortium.

Users want to access by name so DNS will  interpret the name into IP address. You need to specify the Address if DNS server in each and every client machine. In Redhat Enterprise Linux, you need to specify the DNS server into /etc/resolv.conf file.

After specifying the DNS server address, you can verify using host, dig and nslookup commands.

Creating password in a Folder and make it Private.

While the steps below will guide you in creating a hidden and password protected folder, this method is not 100% secure. It will deter the average computer user enough, but an advanced user will be able to access the contents of this folder.
  1. Create a new folder and name it whatever you would like.

  2. Open the folder, right-click on a blank area in it, then select New -> Text Document from the pop-up menu.

  3. Open the text file you just created by double-clicking it and copy/paste in the following text:
    cls
    @ECHO OFF
    title Folder Private
    if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
    if NOT EXIST Private goto MDLOCKER
    :CONFIRM
    echo Are you sure you want to lock the folder(Y/N)
    set/p "cho=>"
    if %cho%==Y goto LOCK
    if %cho%==y goto LOCK
    if %cho%==n goto END
    if %cho%==N goto END
    echo Invalid choice.
    goto CONFIRM
    :LOCK
    ren Private "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
    attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
    echo Folder locked
    goto End
    :UNLOCK
    echo Enter password to unlock folder
    set/p "pass=>"
    if NOT %pass%== PASSWORD_GOES_HERE goto FAIL
    attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
    ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private
    echo Folder Unlocked successfully
    goto End
    :FAIL
    echo Invalid password
    goto end
    :MDLOCKER
    md Private
    echo Private created successfully
    goto End
    :End
  4. In the above code, replace the key PASSWORD_GOES_HERE with the password you want to use to unlock the folder. For example if you want the password to be 123456, the line should look like:
    if NOT %pass%== 123456 goto FAIL
  5. Save your new file in the .bat format with the complete file name being locker.bat. To do this, make sure to change the Save as type: to All Files (*.*).



  6. In the folder you created back in Step #1, double click the locker.bat file and there will now be a new folder named Private where you can put anything you want.

  7. Upon exiting, double click the locker.bat file again. It will prompt you to answer whether you want to lock your folder or not. Press Y and the private folder will disappear.



  8. In order to retrieve the Private folder, all you have to do is double click the locker.bat file and enter the password which you set in Step #4 and the folder will appear again for you to access.



  9. That’s it!

Thursday, September 8, 2011

Did You know Why Your Dad and Mum Should USE LINUX???????

It’s no secret that tech-savvy computer users typically become the go-to guy for all technical help in their circles. More specifically, Mom and Dad tend to always ask us for help with their computers. If you’re tired of the phone calls from Mom and Dad complaining on how sloooww their computer has become, how fast it used to be, how many pop-ups there are, etc., spending hours upon hours fixing and repairing, re-installing and scanning, then this post should convince you with 5 reasons why your parents should use Linux.
  1. Security
  2. The most obvious and important reason your parents should run Linux is the security the Linux operating system provides. While many of us tech-savvy computer users have little to no problems surfing the web and staying connected 24/7 without running into viruses and spyware, it’s almost inevitable for a non-savvy Internet user [read: majority of moms and dads] to stumble across a virus or malware on a website or in an e-mail. Linux is well known for the safety and security of browsing the web without the worry of the popular viruses that plague a good portion of the Internet. The main reason being that virus and malware developers stick to Windows due to its popularity and worldwide reach.

  3. Cost
  4. Why should your parents have to pay money for an operating system and additional applications when there are hundreds of Linux alternatives that can do the same things they probably need for absolutely free? The GNU General Public License (GPL) gives users the freedom to change and share free software. This is where GNU/Linux derives from. Mom and Dad shouldn’t have to fork out upwards of $300 just for the basics of an OS. Linux is free and widely available, it should be a no-brainer.

  5. Hardware
  6. One great aspect of Linux is that it works well with old hardware. Many times I’ll find that a lot of my friends parents have older model computers. They are brainwashed into thinking that in order to get off Windows 98, or Windows ME, they need to upgrade their whole system so they can install Vista. Linux works great on old machines – don’t even think about installing Vista on your Moms old 386, it just won’t work.

  7. Administration
  8. Administration of a Linux machine involves little to no work. If you chose to install Ubuntu Linux on your parents computer, they most administration they would have to do is click yes to install the updates when the Update Manager prompts them to. As an additional plus, for us savvy Linux users, if we needed to, we can open up SSH with a port forward and log into our parents computers remotely if needed. Additionally, I’ve had Linux computers that have literally sat turned on for years in a closet with very minimal administration. Linux just works.

  9. Dell
  10. You no longer can use the excuse that when you install Linux on your parents computer, it doesn’t work “out of the box”. With the semi-recent Dell and Canonical partnership you now have an option of buying a computer or laptop that comes pre-installed with Ubuntu Linux.

Alternatives to Mom & Dad’s Windows Applications

Below are a few alternatives to some common Windows applications that Mom and Dad may frequently use. For a more detailed list, see Alternatives to Windows Programs, Open Source Alternative, and The Linux Alternative Project.
Windows: Internet Explorer
Linux: Mozilla Firefox
Windows: MS Outlook
Linux: Mozilla Thunderbird or Evolution
Windows: Solitaire
Linux: AisleRiot Solitaire
Windows: ITunes
Linux: Banshee or Amarok
Windows: MS Word
Linux: OpenOffice.org

What do you need to do?

Step 1. Head over to the Ubunutu download site and download the latest Ubuntu Desktop ISO image.
Step 2. Burn the ISO image to a CD-R.
Step 3. Bring the CD-R to your parents house.
Step 4. Back up any necessary files on your parents computer.
Step 5. Place the CD-R in your parents CD-ROM drive.
Step 6. Reboot the computer.
Step 7. Install Ubuntu by following on screen instructions.
Step 8. Reboot after installation is complete.
Step 9. Enjoy the fact that your parents will stop bugging you to fix their computer. Instead you’ll get calls from mom asking Linux questions – isn’t that awesome?