Archive

Archive for the ‘FAQ & Tip’ Category

Get all your IM accounts in one place

August 19th, 2008 No comments

When you are the move all the time you might not get access to your PCs everywhere you go and there are time with limitten internet access to your laptop (if you have one). Some day you might need to get access to your IM (Instant Messaging) account to talk to your friend or someone of your interest.

Now, this limitation has been overcame by Meebo.

Read more…

Categories: FAQ & Tip

Zone Alarm and sudden loss access to Internet

July 13th, 2008 No comments

A few days ago, my internet connection was suddenly not working. It was out of the blue and trying to figure out what went wrong, I reset modem, router, restart computer, etc. None of them work.
The head start of the solution was found to be Zone Alarm Firewall problem, and it should be either disabled or set internet zone to medium to get internet connection working.

After a few research, I found a link which took me to Zone Alarm support site. It stated that

Microsoft Update KB951748 is known to cause loss of internet access for ZoneAlarm users on Windows XP/2000. Windows Vista users are not affected.

A further research found that windows update “KB951978″ also give the same problem.

If you are one of the victim then this link “http://download.zonealarm.com/bin/free/pressReleases/2008/LossOfInternetAccessIssue.html” will solve your problem.

Stay safe :)

Categories: FAQ & Tip

Most used commands in Vi Editor

June 11th, 2008 No comments

Using Vi Editor could be hard and complex when you don’t remember or couldn’t find the right command to use. What I did here is collect all the most used commands and put them in one desktop reference for easy access at a glance. These commands can be used to perform most of the task in Vi Editor. For every day use, you won’t go beyond this list :)

Below you will find the most used commands in Vi Editor

Cursor and Navigation

h : Left
j : Down
k : Up
l : Right
w : Forward one word
b : Back one word
e : End of word
0 : Start of current line
$ : End of current line
+ : First character of next line
H : Top line of current screen
M : Middle line of current screen
L : Last line of current screen
/text : Search for text (forwards)
?text : Search for text (backwards)
n : Repeat previous search
N : Repeat previous search, but it opposite direction
:n : Move cursor to line number n
Ctrl-G : Display line number of cursor

Editing

A : Append to end of current line
i : Insert before cursor
I : Insert at beginning of line
ESC : End of insert mode
Backspace : Move back one character
dd : Delete current line
D : Delete remainer of line
ndd : Delete n lines
dw : Delete word
u : Undo last change
x : Delete current cursor position
X : Delete back one character
yy : Copy current line
ye : Copy to end of word

File Handling

:w : Write file
:w! : Force write file
:wq : Write file and quit
:q : Quit
:q! : Force quit
:e! : Reload file from disk and ignore current changes

Happy editing…

Categories: FAQ & Tip

Windows XP cannot format Hard Disk

June 6th, 2008 2 comments

Ey! do not panic when your Windows XP cannot format your hard disk while you are formatting your computer. This article will help you to over come the problem.

At the time you would get the message similar to this

this partition cannot be deleted because the maximum disk space already used

How this problem would be occurred?

Well the following line are what I have observed and it happen to me.

  • You have several HDD partitions, specially one for windows and other for Linux.
  • When you install Linux you used all the space that left over (unpartitioned) from Windows partition. Basically you utilised all the disk space of your hard disk drive.
  • Now you need to format you Windows partition
  • You need to delete/recreate or accidentally delete the windows partition and recreated it again
  • Now you try to format it, so you can install a fresh Windows OS on it
  • Then, this is when you get this problem

If you go ahead and delete other partitions just to accommodate this Windows formatting requirement, you will lost the data on those partition.

How to overcome such problem?

At the time it happen to me, I couldn’t possibly see any other way to work around it while I am in the “giant” blue screen. The only way to overcome this is to boot the computer from one of the Linux Live CD (I use Ubuntu) and format the partition that I need.
Linux formating tools doesn’t demand for spare disk space or complain about maximum disk space has been used. More than that, it could format your disk partition to serveral different orders/formats such as Primary, Logical, FAT, NTSF, etc.

Formatting the partition

  1. Insert Ubuntu 8.04 LTS Desktop Edition (obtain a copy of it if you don’t have one)
  2. Restart PC to boot from CD
  3. Press any key to boot your PC with Ubuntu
  4. It will prompt language. Select you preferred language
  5. Select “Try Ubuntu without any change to your computer
  6. When you get to Ubuntu Desktop go to
  7. System > Administration > Partition Editor
  8. Right click on Unknown partition
  9. Select New
  10. Set “New Size (MB)” to maximum as shown in that panel (top left)
  11. Set “Create as” to Primary Partition
  12. Set “File System” to NTFS if you use it for Windows XP or FAT 32 if you use it for Windows 98 or lower
  13. Click Add
  14. Click Apply
  15. Say Yes if any confirmation message appear

When you are done, just reboot your PC and go back to your Windows installation, when you get to the step where the list of all disk partitions, do not delete any of those. Just selected the one you need to install Windows and do a full format in the next step. Note that if you do a quick format you might possibly have problem installing windows on that partition

We have to Thanks to the Live CD :)

Categories: FAQ & Tip

Restore GRUB with Live CD

June 6th, 2008 No comments

For those who use dual Operating Systems (eg. Linux, Windows) you might find this article useful when you come to the time where you need to re-format your Windows Operating System.

In my case, my computer has dual boot with Ubuntu and Windows XP and today I need to format my Windows XP but I don’t want lose my entire Ubuntu. Now it’s different from in the old day experience, I usually lost every partitions after formatting Windows and I wasn’t aware that GRUB can be reinstall to get the boot menu back.

There are serveral ways AND there’s an easy way to recover this problem. Just though I’d post it here for my future reference and hoping it might help other as well.

Assumed that you have Linux CD handy. I use Ubuntu Live CD (Ubuntu 8.04 LTS Desktop Edition) at the time writing this article.

  • Power ON PC
  • Set your PC boot sequence to boot from CD first
  • Insert Linux CD in the drive
  • When system boot up, press any key to boot from CD
  • List of languages displays, select you preferred language (English recommended)
  • Select Try Ubuntu from the menu
  • When you get to Ubuntu desktop, open the terminal and type the following command

    sudo grub

  • At grub prompt, type

    find /boot/grub/stage1

  • result will display underneath, it could be (hd0,0) or (hd0,1) depends on your the hard disk you have. Make sure you type in the parameter below correctly

    root (hd0,0)
    setup (hd0)
    quit

  • Close the terminal
  • Restart your computer
  • You should see Grub menu to select which Operating System to boot
Categories: FAQ & Tip

Autorun, should you disable it?

May 31st, 2008 No comments

Autorun is a mechanism to run the program automatically without any user interactions. It usually used in media such as CD, DVD, USB Disk etc. Whenever a media is successfully attached or inserted to the PC, a tartget program will be executed automatically. Most of you might be familiar with installation media, it usually bring up the welcome screen or the installation wizard as soon as you insert CD or DVD into the drive.

Basically Autorun is there to enable the conenience for user and give more controle to software vendor to bring up what want you to see when you instert/plug the media into your PC.
To find out more about what is Autorun, go to http://en.wikipedia.org/wiki/Autorun

Now let’s look at it a bit closer. This feature could expose to a security threat where hacker or virus writer could take advantage of this to execute their file without user even know about it.

Autorun is enabled by default in Microsoft Windows and there’s no straight forward way to disable it (such as icon in control panel). However this is not the end of the story, it can be disable by editing the windows registry yourself or use a tool like TweakUI PowerToy from Microsoft

Disable autorun by editing registry:

  1. Click Start
  2. Click Run
  3. Type regedit then press enter
  4. Go to: HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesCdrom
  5. Double click on AutoRun
  6. You will see a dialog popup with Value Data 1, change to 0

Disable autorun by using TweakUI PowerToy:

  1. Open Tweak UI from where you installed it
  2. Go to: My Computer > AutoPlay > Drives
  3. Untick any drive you want to disable Autorun

Now you can have a peace of mind when insert/plug any media to your PC.

Categories: FAQ & Tip

VMWare Server doesn’t start virtual machine

May 30th, 2008 No comments

Before I start my article, please note my system at the time I had problem

  • OS: Ubuntu 8.04 (Upgraded from 7.04)
  • PC: P4 3GHz CPU, 1.5Gb RAM, 500GB NTFS HDD
  • VMWare: VMWare Server 1.0.4 build-56528

Today, I tried to setup Ubuntu Server 8.04 on vmware server. I ‘ve got all the basic setup and virtual machine was created on the NFTS drive. For some reason I couldn’t get vmware server to start my newly created virtual machine.

First stope I did was close and reopen VMware Server and tro to start the virtual machine a few time but it didn’t help.

After a few click research, I’ve found the solution which cause by the way VMWare Server is using NTFS.

Solution

Thanks to NTFS-3G for the work-around (http://www.ntfs-3g.org/support.html#vmware)

Workaround:

Set “mainMem.useNamedFile=FALSE” in the .vmx file. It will disable paging files and VMware will work fine, often with much better performance.

Categories: FAQ & Tip

Upgrading Ubuntu Server 7.04 to 7.10

May 20th, 2008 No comments

When you want to use a new version from the distro doesn’t mean you have to get rid of the existing version of you system and reinstall a fresh new one and you will have to run through installing all required packages/applications for your work. Simply just take the advantage of the upgrade facilities provided by Ubuntu distro.

At the time of writing, I am upgrading Ubuntu Server from version 7.04 to 7.10
First make sure, current system is most up to date.

Perform update with the following commands.

  1. sudo aptitude update
  2. sudo aptitude upgrade
  3. sudo aptitude dist-upgrade

If you feel that there’s more updates to be done, just repeat the 3 steps until no more update availalbe.

You system is now ready to upgrade to the next version. Perform upgrade with the following commands.

  1. sudo aptitude install update-manager-core
  2. sudo do-release-upgrade

Enjoy :)

Categories: FAQ & Tip

Cannot mount volume in Linux

May 13th, 2008 No comments

I have been getting problem with mounting my ntfs disk partition after upgrading my Ubuntu from verstion 7 to 8.

I though I could be problem with the upgrade that stuff things up and something could went wrong while upgrading.

After a few research, I’ve found it’s likely not because of the upgrade. The problem could possibly be: the disk partition hasn’t been completely released from window processes.

What I did was, force mount with the following command:

manet@netubuntu:/$ sudo mount -t ntfs-3g /dev/sda1 /media/sda1 -o force
manet@netubuntu:/$ sudo mount -t ntfs-3g /dev/sdb1 /media/FIXED250G -o force

They are mounted successfully with the following warning message

$LogFile indicates unclean shutdown (0, 0)
WARNING: Forced mount, reset $LogFile.

which can be ignored, but again this is done at your own risk.

Categories: FAQ & Tip

Install Avant Window Navigator on Ubuntu

April 26th, 2008 No comments

Installing Avant Window Navigator on Ubuntu 7.10 (Gusty)

Download Ubuntu version from
https://launchpad.net/ubuntu/hardy/+source/avant-window-navigator/0.2.1-0ubuntu1

Extract

$ tar -xvzf avant-window-navigator_0.2.1.orig.tar.gz

CD to extracted directory

$ cd avant-window-navigator_0.2.1

Do the following commands

$ ./configure
$ make
# sudo make install

Troubleshoot

** If application doesn’t start and gives error

avant-window-navigator: error while loading shared libraries:
libawn.so.0: cannot open shared object file: No such file or
directory

Then do the following

$ sudo ln -s /usr/local/lib/libawn.so.0 /usr/lib/libawn.so.0

Categories: FAQ & Tip, Software