Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Saturday, April 16, 2011

Notepad trick by Narendra kamath ;)

 Something different style....pls be guided accordingly
 Please ensure that the word wrap is not ticked under format option
Copy this onto notepad, press cntrl + H, press 6 in find box and underscore( _ ) in replace box and click replace all button. 



6996666699666666 669666666666999999996669999 99996 99666669966699999999666669999999966666666966 6666666
69996666996666666 99966666666999999996669999 9999 699966669966699999999666669999999966666669996 6666666
69999666996666669 9699666666699666699666996666666699996669966699666699666669966669966666699699666 6666
69969966996666699 66699666666999999996669999 9999 699699669966699666699666669999999966666996669 9666666
69966996996666999 99999966666999999996669999 9999 699669969966699666699666669999999966669999999 9966666
69966699996669999 99999996666996996666669966 6666 699666999966699666699666669969966666699999999 9996666
69966669996699666 66666699666996699666669999 9999 699666699966699999999666669966996666996666666 6699666
69966666996996666 66666669966996666996669999 9999 6996666699666999 9999966669966669969966666666 66699666

Sunday, April 10, 2011

How to safeguard your files when computer crashes

First thing to keep in mind: If your computer hasn't crashed yet, it will in the future! So instead of waiting for fate to strike, take some precautions now:

1) BACK-UP! Buy some decent DVD-R discs and put everything useful in them. When you have more useful stuff, backup again. Do this often.

2) Keep your computer healthy. Use an antivirus, an anti-spy, and a firewall. Keep them updated. Check regularly for Windows critical fixes.

3) Don't install software that would do dangerous things to your hard drive. A boot manager would fall in this category.

4) Use a registry cleaner before and after you install or uninstall any software. Many of the problems that will keep Windows from booting are caused by sloppy software that mess up your registry. A good registry cleaner is Tune-up Utilities.
Code:
http://www.tune-up.com/


5) Run chkdsk now and then. Go to Start> Run. Type chkdsk /F. Press enter.


In case your PC has already crashed, read the following:

Most important: Don't panic! Panic is like a little demon that whispers in your ear to format your hard drive and reinstall everything. Don't do it! You will lose all your data and the little demon will laugh at you.

To be exact you can still recover your data if you format your drive (by using special software), but only if you don't write anything on the disc afterwards. In other words format + windows install = bad idea. If you reinstall windows without formating your drive, you will only lose the files on your desktop and "My Documents" folder.

In all occasions you should make sure to safeguard your files before attempting any kind of repair!

So let's go about how to do that:

The fast way: Go to this site:
Code:
http://www.knoppix.org
. Knoppix is a Linux distribution than runs from a CD. Download the Knoppix ISO and burn it. Put it in your CD drive. On startup access BIOS and change the boot sequence so that your computer boots from the CD drive. Save settings and exit. Upon reboot, Knoppix will load.

Knoppix is much like windows and it comes with its own CD burner. Locate it, launch it and backup everything you want on CD. Now you don't have to worry anymore!


The less fast way: This requires that you have access to a second PC. Open the case of your computer and remove the hard disk.

Install it as a slave on the second PC.

Depending on respective configurations, you may have to change some jumper settings on the drive. Read the manual for help with installing hard drives and setting jumpers.

After this is done, boot the second PC. If everything went out ok, you should be able to access your drive without problems. (Edit: Note that Win98 cannot recognize a local NTFS (Win2K/XP) disk.)

Copy everything you need from your own hard drive to the other one. Now you don't have to worry anymore!

Replace your computer's hard disk, fix all problems and reverse the process to copy the data back to your computer, or take CD backups on the other PC.

Saturday, April 9, 2011

COMMON FTP ERROR CODES

110 Restart marker reply. In this case, the text is exact and not left to the particular implementation; it must read: MARK yyyy = mmmm where yyyy is User-process data stream marker, and mmmm server's equivalent marker (note the spaces between markers and "=").

120 Service ready in nnn minutes.

125 Data connection already open; transfer starting.

150 File status okay; about to open data connection.

200 Command okay.

202 Command not implemented, superfluous at this site.

211 System status, or system help reply.

212 Directory status.

213 File status.

214 Help message.On how to use the server or the meaning of a particular non-standard command. This reply is useful only to the human user.

215 NAME system type. Where NAME is an official system name from the list in the Assigned Numbers document.

220 Service ready for new user.

221 Service closing control connection.

225 Data connection open; no transfer in progress.

226 Closing data connection. Requested file action successful (for example, file transfer or file abort).

227 Entering Passive Mode (h1,h2,h3,h4,p1,p2).

230 User logged in, proceed. Logged out if appropriate.

250 Requested file action okay, completed.

257 "PATHNAME" created.

331 User name okay, need password.

332 Need account for login.

350 Requested file action pending further information

421 Service not available, closing control connection.This may be a reply to any command if the service knows it must shut down.

425 Can't open data connection.

426 Connection closed; transfer aborted.

450 Requested file action not taken.

451 Requested action aborted. Local error in processing.

452 Requested action not taken. Insufficient storage space in system.File unavailable (e.g., file busy).

500 Syntax error, command unrecognized. This may include errors such as command line too long.

501 Syntax error in parameters or arguments.

502 Command not implemented.

503 Bad sequence of commands.

504 Command not implemented for that parameter.

530 Not logged in.

532 Need account for storing files.

550 Requested action not taken. File unavailable (e.g., file not found, no access).

551 Requested action aborted. Page type unknown.

552 Requested file action aborted. Exceeded storage allocation (for current directory or dataset).

553 Requested action not taken. File name not allowed.

Sunday, April 3, 2011

Can't boot into Windows? [Solution]


Scenario :-

You tried a Linux distribution but you didn't like it enough to keep it.

Dilemma :-

You delete the Linux partition and attempt to boot into Windows, only to find that you can't because "grub" cannot be found, or there is no grub partition.

Solution :-

1. Get your Windows DVD.
2. Boot from it.
3. Select "Repair" or "System Recovery".
4. Select "Command Prompt".
5. Type

Code:
BootRec.exe /fixmbr

OR

Code:
fixmbr
6. Press <Enter>
7. Type

Code:
BootRec.exe /fixboot

OR

Code:
fixboot
8. Press <Enter>
9. Restart your computer.

Note: The above codes are for XP and Vista/Win 7, respectfully.

Conclusion :-

You should now be able to boot into Windows :D

How to change mac address in Linux ? [Tutorial]


First of all you have to open Terminal

Type the following command to check the mac:
1. ifconfig -a | grep HWaddr
(Note it down somewhere )

2. ifconfig eth0 down

ifconfig eth0 hw ether 00:70:5D:34:54:02
(Any mac address you want to give)

ifconfig eth0 up

ifconfig -a | grep HWaddr
(To check your new mac address)


Note:

1. mac address should be in hex dec.

2. you can change mac add. of any interface
but you have to specify name