How to Test your RAM
Guide Overview
The purpose of this guide is to teach you how to check whether your system's RAM (Ramdom Access Memory) is working properly. Bad RAM can lead to a whole host of problems, often which do not appear to have a single cause -- appearing as systemwide glitches, blue screens, and other system trouble. MemTest86+ provides a very good detection mechanism for failed RAM, and is about as good a test you get short of actually replacing the module itself.
Tools Needed
Please perform these steps from a separate, working, machine.
- Download MemTest86+, and unzip it to your desktop.
- Burn the image file to a CD, as an image file. If you're unsure how to do this, see the How to Burn an ISO File
- Put your CD in the drive and configure your machine to boot to the CD. This is different on all machines, but it's usually by pressing F12 or F10 as your system boots, and selecting either "CDROM" or your cdrom drive. If you are unable to force a CDRom boot, reply with the make and model of your machine and I should be able to get you exact instructions.
- If you've done it correctly, MemTest86+ will start to run automaticly, as shown below:
- If you want to be reasonably your RAM is OK, then allow MemTest to run until you see this message:
On the other hand, if you want to be completely sure your RAM is OK, allow MemTest to run overnight. Memtest will run forever until power is pulled on the machine. - Check the MemTest screen for any reported errors. Errors will appear as RED warnings at the bottom of the screen, similar to the following screenshot:
- Hard-Reset the machine, removing the MemTest disk in the process.
If you didn't get an error screen, Congratulations!

how to extract link from tinyurl.
http://www.untiny.com/extra/
Enjoy
and keep out of range of those ads
uTorrent Configuration - To achieve maximum speed
- Set the Incoming port to higher than 45000, I have found that 47532 is a nice selection.
- Then make sure you set the max upload speed to at least half of your connection upload speed (this will ensure faster downloading) because high upload speeds are the main cause for slow downloads.
- Do not use randomized port on every startup, as this will have problems with your firewall and this is highly unnecessary.
- Choose the correct number of maximum connections, too much connections can slow down your torrent download speed instead of speeding them up. For best results use uTorrent's speed guide found on Options >Speed Guide, and it will suggest you the best settings. For users with a max upload speed of 256 Kbits/s uTorrent suggeests 35 connections per torrent and 60 in total. Check the total speed guide for your type of connection here.
- Run as few torrents as possible, this means that your connection can handle and deliver maximum speed for the running torrents. I suggest running 2 torrents if you have a 256 Kbits/s upload speed connection and 1 torrent at a time if you have a 128 Kbits/s upload connection.
- When selecting from similar torrents select from the best seeds/peers ratio as well as swarm speed. Here is a guide on how a perfect torrent should be.
- If you are using a DSL router then enable port forwarding in your router. If you are using a DSL Modem this is unnecessary.
- Enable UPnP Port Mapping And NAT-PMP Port Mapping, (found on Options > Preferences > Connection. If you are manually forwarding your port than keep it UNCHECKED, but if you don't know what port forwarding is or you?re not forwarding the port manually than CHECK it.
- Do not use windows firewall, windows firewall simply hates torrents and you will have a truckload of speed problems with it. Disable it permanantly, and use a secure firewall such as Comodo Firewall or Eset.
- Manage your upload slots per torrent, usually it should be 2-3 per torrent. More than that will reduce the download speed of your torrents.
- Increase the Net.max_Halfopen Connections to 50-60 in uTorrent Advanced configaration panel, there is also a patch for windows XP to increase this limit. In Windows XP increase the limit to 100 connections.
- Enable the following, they greatly improve your download speed.
Cheers
Disable the Linux screen blanking
If you want to disable X screen blanking (aka. disable the X screensaver) that comes up unexpectedly while you’re watching a movie in MPlayer, all you have to do is
setterm -powersave off -blank 0
To make the change permanent, add the following to your ~/.xinitrc file:
setterm -blank 0 -powersave off -powerdown 0
xset s off
Disable NTP sync during USplash in Ubuntu Linux
NTP sometimes greatly slows down your Ubuntu’s boot time.
To disable it just do a simple
sudo apt-get remove ntpdate
Note: doing this will also remove ubuntu-minimal in ubuntu linux
Get rid of OpenOffice.org’s logo in Linux
If you for whatever reason dislike OpenOffice.org’s logo or want to gain an extra few seconds of speed while the application loads, you can disable OO.o’s logo by editing the
/etc/openoffice/sofficerc
file and modifying the
Logo=1
value into
Logo=0
Change your MAC address in Linux
If you wish to change your MAC address in Linux, all you have to do is bring the interface down then use the hw ether switch:
ifconfig eth0 down
ifconfig eth0 hw ether 02:01:02:03:04:08
ifconfig eth0 up
keep broken files when trying to unrar a failed crc chek on a rar archive file
ok just a quick note ,, if you’re tryin to unrar an archive thats been corrupted or been split up into multiple parts, keep the broken parts using unrar.
more description
4 Rar files, part1-4, 3 fails becuase of a crc check issue, so you can recover part of the archive using the keep broken flag for unrar ‘-kb’mnk0@tree:~/downloads$ unrar x -kb Bleach_Naruto Shippuuden 98 - 720p.rar
UNRAR 3.80 beta 2 freeware Copyright (c) 1993-2008 Alexander Roshal
Extracting from Bleach_Naruto Shippuuden 98 - 720p.rar
Extracting Bleach_Naruto Shippuuden 98 - 720p.rar 99%
Calculating control sums of all volumes.
Cannot find volume Bleach_Naruto Shippuuden 98 - 720p.rar
Bleach_Naruto Shippuuden 98 - 720p.mkv - CRC failed
Total errors: 1
mnk0@tree:~/downloads$ ls Bleach_Naruto Shippuuden 98 - 720p.mkv*
Bleach_Naruto Shippuuden 98 - 720p.mkv
mnk0@tree:~/downloads$
Using a swapfile to increase the swap space on your system
This can be a very handy function if we want to use a file, instead of a partition, and with modern filesystems the performance is almost on par with using a dedicated partition for your swap area.
1. Using dd lets make a zero’d file for the swap
dd if=/dev/zero of=/swapfile bs=1048576 count=1000
2. Make file as a swapfile
mkswp /swapfile
3. Activate swapfile
swapon /swapfile
4. Verify that our swapfile has been activated
swapon -s
Filename Type Size Used Priority
/swapfile file 9999992 0 -2
open up /etc/fstab in your favourite editor and add the following line.
/swapfile swap swap defaults 0 0
Using Cisco vpn client with Ubuntu Linux Desktop
Configuration
Download and install the Cisco vpn Client. im using vpnclient-linux-x86_64-4.8.02.0030-k9 at the time of this article.(if u need it send me an email). unpack, and install in my installation i opted out of the option for starting as a daemon so i start it manually everytime.
mnk0@tree:~$ sudo /etc/init.d/vpnclient_init start
Using my PROFILE.pcf file
Then we can copy our Cisco VPN Profile over to the profile directory.mnk0@tree:~$ cp PROFILE.pcf /etc/opt/cisco-vpnclient/Profiles/
mnk0@tree:~$ /etc/opt/cisco-vpnclient connect PROFILE
Initializing the VPN connection.
Contacting the gateway at 4.23.45.21
Contacting the gateway at 4.23.45.21 (balancing)
User Authentication for PROFILE...
The server has requested the following information to complete the user authentication:
Username [mnk0]:
Passcode []:
Authenticating user.
Negotiating security policies.
Securing communication channel.
Your VPN connection is secure.
VPN tunnel information.
Client address: 10.10.10.46
Server address: 4.23.45.21
Encryption: 256-bit AES
Authentication: HMAC-SHA
IP Compression: None
NAT passthrough is active on port UDP 4500
Local LAN Access is disabled
Exiting
When we are ready to exit, just hit CTRL+C on your terminal session, and shutdown the daemon.mnk0@tree:~$ sudo /etc/init.d/vpnclient_init stop
mnk0@tree:~$ Done
Using linux like a pro with mplayer, find & play mp3 files from command line in Ubuntu Linux 9.04 Jaunty
Save precious CPU and memory by using mplayer to play mp3s, also keep your playlist file up to date with all your mp3 media files.
First and foremost we need to have mplayer installed, if your on a ubuntu-debian based system use the following command
to install mplayer, if not then you can download the appropriate packages and install them.
apt-get install mplayer
mkdir ~/scripts; touch ~/scripts/playme.sh; chmod +x ~/scripts/playme.sh; gedit ~/scripts/playme.sh
#/bin/bash
# VARS ##########################################
tmpdir='/tmp'
musdir='/home/osamad/Music'
filename='playlist.m3u'
# CODE ##########################################
find $musdir -name '*.mp3' -o -name '*.ogg' 2>/dev/null >> $tmpdir/$filename
mplayer -playlist $tmpdir/$filename -shuffle -loop 0 -radio volume=80

Using find we build a list of all our mp3s, in this case we have multiple types of media files we want to play so we can specify that by adding the -o -name flags and add them in.
- -playlist ;flag we set the playlist file we just created
- -shuffle ; enables shuffle mode
- -loop 0 ; enables loop 0=forever
- -radio volume=80 ; set the default volume to 80% (use * or / to adjust when playing)
RunTime
Push ALT+F2 or launch from a terminal./scripts/playme.sh

MORE
To find out more information, or to customize your mplayer settingsman mplayer
Disk imaging with netcat and dd with ubuntu linux
Want to create a disk image of a system but write it on another hard disk? This can easily be done with the help of netcat and dd.
For this example you will need two computers connected on the same network, and enough room on one machine to hold your disk image
Destination Machine
So we’ll start off this example by preparing our destination machine to listen on tcp port 4444 via netcat. The port is arbitrary so you can really pick any port that is not being used. Just have to make sure that its the same on both ends.root@tree:~# netcat -l -p 4444 | dd of=remote-machine.img
Source Machine
Next we’ll start a dd on the source machine and pipe it to netcat on port 4444root@leaf:~# dd if=/dev/sda1 | netcat destination-machine-ip 4444
Now sit back and wait for your image to be done, when it’s finished dd will print out its status something like
NOTE: you will have to push CTRL+C to cancel out after this is completed, as the netcat session will still be active.
root@leaf:~#
30820468+71926 records in
30867456+0 records out
15804137472 bytes (16 GB) copied, 739.395 s, 21.4 MB/s
^C
If you want to find out the status of dd during the copy theres a couple of ways to do this, open up the system monitor in Ubuntu Linux, and it should tell you the transfer rate. Launch iostat or ifstat through a terminal. Invoke a command from terminal to get dd to display the current progress .
Viola, we’ll now have a dd image of our disk or partition. I like to verify the exact size of the file matches the size output from fdisk.
Destination Machine
root@root:~# ls -la remote-machine.img
-rw-r--r-- 1 root root 15804137472 2010-02-04 10:53 remote-machine.img
Source Machine
root@leaf:~# fdisk -l /dev/sda
Disk /dev/sda: 15.8 GB, 15804137472 bytes
255 heads, 63 sectors/track, 1921 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Data recovery the quick and easy way with ubuntu desktop linux 9.04
Ever had a failing disk? Using some hard drive recovery tools we can make salvaging our valueble data something possible.
Using dd_rescue we are going to make an image of the hard drive onto a reliable storage area, then we can run whatever filesystem recovery utilities we want.
The beauty of ddrescue is that it is fully automated and will rescue all the blocks that it can read successfully on the first pass, and with any bad blocks it will come back and retry as much as possible.
Install ddrescue tools
sudo apt-get install ddrescue
Connect the failed disk to your system
By either plugging the drive directly into system, or using one of those usb enclosure or slotted drive device you’ll need to have your failing hard disk connected and unmounted before we can begin.sudo dd_rescue /dev/sdb disk-image.img
mnk0@earth:~$ sudo dd_rescue /dev/sdb disk-image.img
[sudo] password for mnk0:
Summary for /dev/sdb -> disk-image.img:r: 0.0k, succxfer: 228352.0k
dd_rescue: (info): ipos: 229376.0k, opos: 229376.0k, xferd: 229376.0k
errs: 0, errxfer: 0.0k, succxfer: 229376.0k
+curr.rate: 26249kB/s, avg.rate: 28391kB/s, avg.load: 13.5%
We can now mount this image on our system and take a look at the files.
mount -t ext3 -o loop disk-image.img /mnt/tmp
ubuntu 9.10 nvidia monitor settings dont save
Was having the issue of not being able to save my dual monitor configuration with a default installation of 9.10. The xorg.conf seems to be unable to be parsed by nvidia-settings tool, so to get around this we can run nvidia-
xconfig to reset the config file to something that it can work with.
sudo nvidia-xconfig
after that
gksudo nvidia-settings
and we can save to xorg.conf successfully.
Display dd progress during dd in ubuntu linux
Started a dd but wondering what the progress is? I haven’t found a way to do a verbose mode for dd, but this command seems to do the trick.
Lets start off by creating a dd of /dev/sda1
mnk0@tree:~# dd if=/dev/sda1 of=my-dd.img
We’ll need to find the process number of our dd which can easily be done with the following command.
ps -ef | grep dd
we’ll get something like this
root 31733 31268 54 10:44 pts/0 00:01:55 dd of my-dd.img
Now we can run our command to find the status of this dd. Open another terminal session.
kill -SIGUSR1 31733
and looking back at our dd page we should see dd dump out a status of its current progress.
mnk0@tree:~# dd if=/dev/sda1 of=my-dd.img
12574781+40555 records in
12601304+0 records out
6451867648 bytes (6.5 GB) copied, 224.634 s, 28.7 MB/s