Fix NTFS Hard Drive

so the other day my friend lend me his external hard drive so i could import some big files that he had on it.  apparently he didn’t click on safe remove drive under windows and he disconnected the hard drive just like that.  i say this because when ever i was trying to open the hard drive windows was saying that the drive still being used by another application.  i couldn’t started in windows for nothing.

so i decided to move do the same thing in linux (ubuntu).  apparently i was receiving the same error.  after 30 minutes of trying i was getting tired and i was about to return his drive back and make him eject safely his hard drive.  well… before doing that i thought… mmmnnn i wonde if there any free app that i could use in linux in order to fix this problem.  guess what? YES, there is.

this app is called ntfs fix, and what it does is, fixes your ntfs drive.  i installed in ubuntu using the following command:
$ sudo apt-get install ntfsfix

then after installing this app all i had to do was running the following commands:
$ sudo ntfsfix /dev/sdc1
$ sudo ntfs /dev/sdc1

where sdc1 is the external hard drive.  then i mounted the drive and it load like a baby.  well, i hope that this helps 😉

How to Reset your Blackberry Pearl

the other day i was having problems with my blackberry pearl 8130 so i decided to wipe every off and start from scratch.  first thing that i did was download all the apps that i had installed.  i really do not remember names well enough so i wrote them all down on a piece of paper.  then i backed up my contacts and calendar appointments using “Desktop Manager” and then NEW BB boy.  then if you are sure 😉 follow the following steps:

  1. Backup your bb using “Desktop Manager”
    Disconnect the device from your computer and do the following..
  2. Goto “Options”
  3. then “Security Options”
  4. then “General Settings”
  5. then hit menu key
  6. then “Wipe Handheld”
  7. now you will be prompt to type the word “blackberry”
  8. confirm, and you are done

now all you have to do is to wait until the blackberry restart it self and now you will have a blackberry like the first time you got it. good luck.

Phoenix New Web

after attending for 3 months to my masters program at University of Phoenix there was one thing that i didn’t like about their way of attending to classes.  they had two websites setup where one you will visit and go to your class and the other will will go and check your readings.  now they compile those two websites and now you will not have to travel to a different website.  everything now is done in one site and one site only.

keep it up 😉

So Busy

Well… what can i say… i been really busy the last couple of months, i think that is not easy at all whenever you are working, doing your master’s, and being a coach.  it just freaking take a lot of time.  hopefully i’ll try to express my self a little bit more in my blog for the future just so i know how i really feel 20 years from now.

First Meeting

well today, i have my first and official meeting as a assistant baseball coach at Clarke College.  i’m really excited of how things should roll this coming year.  so we’ll see how things goes 😉

Setting up an OpenVPN

This tutorial will illustrate how to install OpenVPN on a Linux box using Fedora 9 as a server and using Windows XP as your client PC. This is totally free and you will be able to connect to your Virtual Private Network (VPN) all around the world with no problem.

Steps:

  1. Open up “Terminal
  2. Become a super user type “su
  3. Now your password
  4. Type “yum install openvpn
  5. Copy the RSA keys to the openvpn folder
    cp -R /usr/share/openvpn/easy-rsa/ /etc/openvpn
    cd /etc/openvpn/easy-rsa/2.0/
  6. Make a directory for your keys
    mkdir /etc/openvpn/keys
  7. Edit “vars” by typing
    nano vars
  8. Set the parameters for KEY_COUNTRY, KEY_PROVINCE, KEY_CITY, KEY_ORG and KEY_MAIL as desired
  9. add this new line “export KEY_DIR="/etc/openvpn/keys"
  10. Initialize PKI
    . ./vars
  11. Clean
    ./clean-all
  12. Build CA
    ./build-ca
  13. Build server key
    ./build-key-server server

    Answer “y“, then “y

  14. Generate certificates for your clients
    ./build-key client1

    Answer “y“, then “y

    NOTE: If you want to add future users.
    do a “source ./vars” THEN build your key

  15. Generate Diffie Hellman parameters
    ./build-dh
  16. Copy server configuration files and edit
    cp /usr/share/doc/openvpn-2.1/sample-config-files/server.conf /etc/openvpn/
    cd /etc/openvpn
    nano server.conf
  17. Go to these lines and edit them
    cert keys/server.crt
    key keys/server.key
    dh keys/dh1024.pem
    client-to-client

    if you want to have your VPN being route to your LAN then take out ; from push “route 192.168.1.0 255.255.255.0” and change to the current settings of your LAN

  18. You are almost done. 😉 Now start your OpenVPN server
    service openvpn start
    chkconfig openvpn on
  19. To setup the client. Go to your windows machine and you will go to this site http://openvpn.se/download.html and download their GUI and install it, once you are done come back and finish this 😀
  20. Download the ca.crt, client1.crt and client1.key to the windows machine from your linux box.  insert these files in “C:\Program Files\OpenVPN\config“.
  21. Copy the sample file from “C:\Program Files\OpenVPN\sample-config\client.ovpn” and paste it on “C:\Program Files\OpenVPN\config
  22. Now edit your client.ovpn and configure it.  Open “Notepad“.
  23. Edit “remote my-server-1 1194” where my-server-1 is going to be the ip address of your server
  24. Edit
    ca ca.crt
    cert client.crt
    key client.key

    where these now are going to be
    ca ca.crt
    cert client1.crt
    key client1.key

  25. Take out ; for the ns-cert-type server
  26. And that’s it.  you should be able to connect to your server and to others computers in that LAN.  Congrats.  If you wan to test your connection “ping 10.8.0.” which it is your VPN server.

If you are having any trouble with the connection please make sure that your firewall is allowing port 1194.  If you are behind a NAT also make sure that you are allowing that port.

NOTE: This tutorial worked for me but it might not work for you. So it is not grantee.  Do it at your own risk.

Send SMS messages using your email

I found out couple of days ago that you could send text messages for free.  YES FOR FREE!!! no need to open an account (unless you don’t have a email address).  The only thing that you will need to do is to replace mobilenumber with the actual number that you are sending the text message to and then hit send.

  • T-Mobile: mobilenumber@tmomail.net
  • Virgin Mobile: mobilenumber@vmobi.com
  • Cingular: mobilenumber@cingularme.com
  • Sprint: mobilenumber@messaging.sprintpcs.com
  • Verazion: mobilenumber@vtext.com
  • Nextel: mobilenumber@messaging.nextel.com

New facebook redesign lauches today

After five months Facebook finally finishes their new web design wich is going be launched today.

What’s new:

  • Menu Bar
  • Mini-Feed and Wall are now under the wall tab
  • A new “Bio” box
  • Complete rearrangement of tabs for your wall, info, photos, and apps
  • Facebook Apps are now found in the “Boxes” tab
  • Users can add extra tabs
  • Use your webcam to take a photo or record a video to add to your collection or post on the Wall of your friends