Sunday, 5 May 2013

SSH Connection: Wait long after entering username – ssh password prompt delay

When I make ssh connection I get long wait just after entering username. It’s most likely that ssh daemon  is set up to do a DNS reverse-lookup on the host that’s connecting. So, sshd try to find reverse DNS record for a while before prompting you password.
If you do not want to wait,  you can either add your client’s ip and hostname information to /etc/hosts file on linux or you can disable reverse dns lookup in /etc/ssh/sshd_config
1- Open your terminal window
2- Edit /etc/ssh/sshd_config
3- Add UseDNS no at the end
4- Restart your ssh daemon

Friday, 8 March 2013

How to recover data from bad sector Hard Disks

Recovering files from a bad sector hard disk is not an easy job especially the files allocated in bad sectors are not readable and also recovering the corrupted files are time consuming. In this tutor, I use a freeware called Unstoppable copier which is simple and compact program that truly recovers every byte of information that is available for recovery. Directly recovering files from within Windows is not suggested using the above freeware since some file contents might not be readable. Instead using this freeware in a virtual OS or DOS mode gives full advantage over the hard disk.

1. Download Hiren's BootCD and extract the archive and Burn the image file to a CD.

2. Boot your PC with Hiren's BootCD by setting boot priority in BIOS menu.

3. Select and Enter the option "Mini Windows XP" from the menu.


4. Click Start > HBCD Menu.


5. Click Programs > Backup > Unstoppable Copier.


6. Navigate to Settings tab and move the slider to the extreme left corner for best data recovery.


(OR) Move the slider to the extreme right for the fastest data recovery and put a tick mark in Auto skip Damaged files for recovering only undamaged files.


7. After adjusting the desired settings navigate to Copy tab and select the Source (corrupted hard disk drives) and Target (external storage device/Physical drive2) and finally click Copy button.

8. Based on the settings and file contents the transfer speed may differ.


9. You can check the number of corrupt files and skipped files after the completion of process.


10. Once you have finished recovering all your partitions/drives, close this window and restart your PC and then eject the CD out.

IDM is not working in firefox - Solved

If you are using old version of Internet Download Manager plugin in New version of Firefox, IDM may or may not work properly. To fix this follow these simple steps.....



Solution:

1] Open your Firefox browser and download idmmzcc.xpi file.

2] Now open this file using your Firefox browser.




Note: If Firefox is not listed in open with box, click Browse button and go to C:\Program files\Mozilla firefox and select Firefox.exe file.



3] Now the Install Add-ons popup dialogue box appears within few seconds and click Ok to install the IDM CC Add-on plugin.

4] After the installation is complete, Restart the Firefox.