Wednesday, December 14, 2011

Top Android Apps For HTC Wildfire

1. UnrEVOked
2. Villian 1.0 aka WildPuzzleROM
3. Titan Backup
4. Chrome to Phone (2.2 only).
5. Google Reader
6. APNDroid (with 3G Watchdog)
7. Barcode Scanner
9. ES File Explorer (Samba Network client)
10. PicSay
11. ThickButtons
12. SleepyTime
13. Dolphin Browser HD
14. ConnectBot
16. Reddit is fun

Monday, November 7, 2011

How to enable System Restore in Windows server 2003

The most requested feature (apart from the Logon Screen & Fast User Switching) is here! You will need your Windows XP CD on hand to install this, as files from Windows XP are required to install System Restore into Windows Server 2003.
Please take care when using System Restore, as system instabilities are still unknown at this point, although it has been tried and tested! If your copy of Windows Server 2003 is to be used as a 100% workstation, then it should be OK to use System Restore!
The installation of System Restore is as easy as pie, follow the instructions below:
1. Extract the zip file into a folder, you will see two main files - AddSystemRestoreEntries.reg and sr.inf
2. Double click on AddSystemRestoreEntries.reg and click on Yes when prompted.
3. Insert your Windows XP CD
4. Right click on sr.inf and select Install.
5. Point to the /i386 directory on the CD if prompted.
6. Reboot!
That simple eh! Many thanks to Gosh for this excellent hack!

Saturday, September 17, 2011

HOWTO: Share from Linux using sshfs on Windows with "dokan"

Here is one good tutorial how to share from Linux host using sshfs on Windows ...

Original text is from ubuntu forum:

dokan, (meaning clay pipe) providing sshfs access to linux file shares (server) from Windows systems (client)

I am always looking for good ways of accessing linux file system shares from windows boxes, as I have to help my less technical windows users on my LAN gain access to everything being served up from my linux servers. If samba doesn't float your boat, and getting nfs to work on Windows is just too hard, there is another way; dokan, which runs as an executable on Windows systems (W2K,XP, Vista) to provide mounted network style shares via ssh. Here's how.

This howto is aimed at an internal LAN, so low security measures are followed. I am sure there are ways to lock things down as tight as you want (probably from the linux end), but this is beyond the scope of this howto, I just want to get you up and running!

1. Share with ssh on Linux

On your linux/ubuntu (server) PC, install openssh-server if not already there and up and running:
sudo apt-get install openssh-server
That's about it. Your linux PC will be open to ssh access, but you will need to have a login and password in order to access the linux PC.

2. Probably now best to test your ssh-ability, either from another linux box on your LAN:
ssh user@linuxbox
or by using putty on a Windows box on your LAN. Download putty from here:

3. Set up dakon on your Windows PC

Boot up your windows PC and prepare for some downloading and installing:

a) .Net Framework 2.0 Redistributable Package

Can't give a direct link but go to this page and click on the download button
It's about 22.5mb. Once downloaded you will have a file dotnetfx.exe. Double click on this and follow the installation prompts selecting all defaults.

b) Microsoft Visual C ++ 2005 SP1 redistributable Package

Again no direct link but follow this link for a download
Its about 2.6mb. Once down, double click on the file vcredist_x86.exe and let it install. If a rebot required then do so.

c) The dokan stuff (current version at time of writing
Download the following:
Which brings down the dokan libraries (32 bit). Unzip and double click on the DokanInstall32.msi to install it.
Next download:
Which is the sshfs program. Unzip and double click to install DokanSSHFSInstall.msi.

If asked to reboot please do so.

4. Running dokan

a) The installation will have placed dokan in your start menu / programs. Navigate to the shortcut and run dokansshfs (you will need the IP/FQDN of your linux PC sharing via ssh, and the user and password at this point)

b) Enter the required details in the dialog box, select a drive letter, click OK, click OK again in the little dialog that appears, and then open up Explorer and you should see your drive letter. Click on this and it should reveal you linux share. Depending on your security settings you should have read / write access (at least to the users home directory)

c) You can save your access settings to make things easier to recall next time, but you will always have to enter the password.

d) You can also enter a path from root, so that the share opens up at a specific point on your file tree (e.g. /media/myfiles)

e) You can add additional shares to other PCs serving up ssh by running dokansshfs again.

f) Connecting network drives using ssh is not an automatic affair, you will have to run dokan each time you boot up windows.


5. Addendums

a) dokan is under heavy development so expect the versions to change on a regular basis, if the direct links do not work go to this site:
and download the latest versions of dokan library and dokansshfs. there is a dokan library for 64bit machines too.

b) Also, as it is under development, you can't expect it to be flawless or work as you expect, but it worked for me first time, and allowed file exchange and audio / video real time viewing (as opposed to download then watch/listen.)

c) You can also setup a ssh server on Windows, but again this is beyond the scope of this howto.

Let me know how you get on, and I'll do what I can to help you if you get stuck


Some licensing info on dokan from the developer: Hiroki Asakawa



- Dokan SSHFS is provided "AS IS", without warranty of any kind,

expressed or implied. Use at your own risk.

- Dokan SSHFS is being licensed to you free of charge for your

private persona use only. You may use Dokan SSHFS for

non-commercial purposes only.

- Redistribution of Dokan SSHFS is prohibited.

Friday, September 9, 2011

Mount remote directorium with SSHFS...

SSHFS has the advantage over a KIOslave or GnomeVFS that any program can use it. For instance, in Kubuntu Amarok wasn't able to play my remote music through fish:/ but worked fine using sshfs.

1) Install the software
sudo apt-get install sshfs

2) Add fuse to /etc/modules
sudo nano /etc/modules

3) Add yourself to the 'fuse' group, then log out and log in again.
sudo adduser your-username fuse

4) Create a mountpoint and give yourself ownership
sudo mkdir /media/mount-name
sudo chown your-username /media/mount-name

5) Mount the filesystem
sshfs remote-system-name:/remote-folder /media/mount-name

6) Unmount the filesystem
fusermount -u /media/mount-name

Directions taken from More info on sshfs is available at

Monday, August 8, 2011

mRemoteNG - fork of very popular mRemote

mRemoteNG is a fork of mRemote, an open source, tabbed, multi-protocol, remote connections manager. mRemoteNG adds bug fixes and new features to mRemote.

It allows you to view all of your remote connections in a simple yet powerful tabbed interface.

mRemoteNG supports the following protocols:
  • RDP (Remote Desktop/Terminal Server)
  • VNC (Virtual Network Computing)
  • ICA (Citrix Independent Computing Architecture)
  • SSH (Secure Shell)
  • Telnet (TELecommunication NETwork)
  • HTTP/HTTPS (Hypertext Transfer Protocol)
  • rlogin
  • Raw Socket Connections
Current version is 1.68.


Friday, June 24, 2011

How-TO: Troubleshooting the "device is busy" Error Attempting to umount a Disk

Before attempting to dismount a filesystem, it must be inactive. If "any user" has one of the filesystem's directories as their current directory or has any file within the filesystem open, you will receive an error message, like the one below, when attempting to unmount the filesystem:
# umount /dev/dsk/c0t2d0s7
  umount: /dev/dsk/c0t2d0s7: device is busy
Well, the fuser command to the rescue. The fuser command may be used to determine which files or directories within a filesystem are currently in use and to identify the processes and users that are using them. fuser is available on all major flavors of UNIX with the exception of Digital UNIX. The fuser command can take two types of arguments:

  • normal filename: You can pass a normal filename or directory to the fuser command. In this case, it reports on that file or directory alone.
  • special disk: You can also pass in a special disk name as an argument to fuser. In this case, it reports on all files and directories within the corresponding filesystem.
You can use the -u option to the fuser statement to display the user ID's as well as PID's in its output.
Lets look at a few examples. The following command will display all processes and their associated users that are using files/directories on a specified disk on a Sun Solaris system:
# fuser -u /dev/dsk/c0t2d0s7
  /dev/dsk/c0t2d0s7:     1313co(oracle)    1223c(root)
In the above example, there are two processes using the filesystem mounted on /dev/dsk/c0t2d0s7 (which in my example is the /db filesystem) at the time of running the command. The User ID's are root, and oracle. The c being printed after the PIDs indicate that this is their current directory. You can use the -k option to kill all processes using the specified file or filesystem. In the following example, the UNIX PIDs 1313 and 1223 will be killed:
# fuser -k /dev/dsk/c0t2d0s7
  /dev/dsk/c0t2d0s7:     1313co    1223c
In Linux, you can use the -m option to allow you to specify the filesystem by name. On Solaris and IRIX, the -c option performs the same task.

Monday, May 30, 2011

HOW-TO: ifnconfig (HP-UX) as ifconfig (Linux)

To be able to see lan cards in HP-UX and its ip address similar as in Linux with ifconfig command, it is needed to make a little script:

1. make a new file:

vi /bin/lanshow

2. fill it with following data in it:

netstat -ain | awk '$1 ~ /^lan/ && $1 !~ /:/ {print $1}' | sort | \
while read i
ifconfig $i

3. start it:

/bin/lanshow (or only lanshow)

bash-4.2# /bin/lanshow
lan0: flags=2000000000001843
inet netmask ffffff80 broadcast
lan1: flags=2000000000001843
inet netmask ffffff80 broadcast

Friday, May 27, 2011

HOW-TO: Enable Appear Offline / Invisible in Office Communicator 2007

1. Open regedit (start -> run -> regedit)
2. Find location:
3. Add REG_DWORD value (in case of Windows7 64bit, add a 32bit DWORD) with name
3. Set value to 1
4. stop and start Office Communicator

Wednesday, April 6, 2011

Capturing and replaying console/terminal sessions with script and scriptreplay

Have you ever wondered how you can easily capture a console session on Linux (and probably most other Unix-like OSes) without the need for special video recording software?

Here's how: you can use the script(1) command (part of the bsdutils package).

  • Start the script command. Without parameters the sessions will be logged to a file called typescript. You can also supply a filename on the command line: script mysession.log.
  • Type whatever you want to record...
  • End the recording session with exit or CTRL-d.
  • You can now view the file with less -r mysession.log (it contains line feeds, escape sequences etc., so a simple text viewer will probably display garbage). You can even print it with lpr(1). Or simply display it on the terminal with cat mysession.log.

An even cooler feature is that you can replay a script with the correct timing information:

  • First you have to also record the timing information using the -t switch: script -t 2>mysession.timing mysession.log.
  • You can then replay the script: scriptreplay mysession.timing mysession.log.

See the script(1) and scriptreplay(1) manpages for more details.

Sunday, April 3, 2011

VMware Tools installation cannot be started manually while Easy Install is in progress.

I created a Virtual Machine using VMWare's Workstation version 7. I did not install the tools right away, and I think that because of a hurry I really did not pay attention during the install, so I think I installed it using the simple mode, maybe not. Not that is bad doing it that way, but I never usually do it that way.

Whatever happened, later, when I went to install the tools, I got this message:
"VMware Tools installation cannot be started manually while Easy Install is in progress."

Now, I did not have time to do extensive research. One web site said something about the floppy drive config. I did find something referring to simple mode floppy, but removing it from the config file did not help.

Here is the quick simple way I fixed it: Delete the *.vmx config file. Then create a new machine but point it to the same folder. You will get a "warning" about creating a machine in the same folder as an existing machine, but no worry. Just make sure you use an "existing disk", and point it to the original.

This fixed it for me and it only took me a few minutes.

Tuesday, March 15, 2011

HOW-TO: Remove ILO2 license

You can remove license without reverting back to factory setting by logging into iLO2 using command line (telnet/secure shell) and execute command

"delete /map1 license"

Friday, March 4, 2011

HOW-TO: Mount a Windows share with smbmount

Make the directory you want to mount the share to.
mkdir /mnt/share
Next either...

Mount the share with user/pass:
smbmount //winpc/shared /mnt/share -o username=user,password=pass,rw
Or mount the share without a user/pass (this is true if Everyone is still set)
smbmount //winpc/shared /mnt/share -o rw
Hopefully thats it. Now you can use the share. You cannot create symbolic links or chmod the system (this is restriction on the WinXP side).

If you wish to allow users on the linux side access to the share then you will need to alter the options. Adding in uid= or gid= to allow access to users or groups respectively by mounting the drive with there permissions. Here's an example:
smbmount //winpc/shared /mnt/share -o rw,uid=znx
This will mount the drive as if user znx had done it. Thus he will have rw access to the shared.

Monday, February 28, 2011

How To scp, ssh and rsync without prompting for password

Whenever you need to use scp to copy files, it asks for passwords. Same with rsync as it (by default) uses ssh as well. Usually scp and rsync commands are used to transfer or backup files between known hosts or by the same user on both the hosts. It can get really annoying the password is asked every time. I even had the idea of writing an expect script to provide the password. Of course, I didn't. Instead I browsed for a solution and found it after quite some time. There are already a couple of links out there which talk about it. I am adding to it...

Lets say you want to copy between two hosts host_src and host_dest. host_src is the host where you would run the scp, ssh or rsyn command, irrespective of the direction of the file copy!

  1. On host_src, run this command as the user that runs scp/ssh/rsync

    $ ssh-keygen -t rsa

    This will prompt for a passphrase. Just press the enter key. It'll then generate an identification (private key) and a public key. Do not ever share the private key with anyone! ssh-keygen shows where it saved the public key. This is by default ~/.ssh/

    Your public key has been saved in /.ssh/

  1. Transfer the file to host_dest by either ftp, scp, rsync or any other method.

  1. On host_dest, login as the remote user which you plan to use when you run scp, ssh or rsync on host_src.

  2. Copy the contents of to ~/.ssh/authorized_keys

    $ cat >>~/.ssh/authorized_keys
    $ chmod 700 ~/.ssh/authorized_keys

    If this file does not exists, then the above command will create it. Make sure you remove permission for others to read this file. If its a public key, why prevent others from reading this file? Probably, the owner of the key has distributed it to a few trusted users and has not placed any additional security measures to check if its really a trusted user.

  1. Note that ssh by default does not allow root to log in. This has to be explicitly enabled on host_dest. This can be done by editing /etc/ssh/sshd_config and changing the option of PermitRootLogin from no to yes. Don't forget to restart sshd so that it reads the modified config file. Do this only if you want to use the root login.

Well, thats it. Now you can run scp, ssh and rsync on host_src connecting to host_dest and it won't prompt for the password. Note that this will still prompt for the password if you are running the commands on host_dest connecting to host_src. You can reverse the steps above (generate the public key on host_dest and copy it to host_src) and you have a two way setup ready!

Wednesday, January 19, 2011

The system clock may run fast when you use the ACPI power management timer as a high-resolution counter on Windows 2000, XP and 2003

The system clock may run fast when you use the ACPI power management timer as a high-resolution counter on Windows 2000-based, Windows XP-based, and Windows Server 2003-based computers.


When a Microsoft Windows 2000-based, Windows XP-based, or Windows Server 2003-based computer runs in Advanced Configuration and Power Interface (ACPI) mode and uses a high-resolution counter, the system clock may run fast.


This issue may occur if the time increment in a program changes and the Hardware Abstraction Layer (HAL) cannot measure the time interval between successive clock interrupts. This causes the system clock to lose a short period of time. When the HAL misses many time-interval measurements in quick succession, the time loss may be significant.


· This issue may occur on a computer that is running Halaacpi.dll (UP, ACPI, or APIC), Halmacpi.dll (MP, ACPI, or APIC), and Halmps.dll (MP, non-ACPI, or legacy) because these DLLs use the Real Time Clock (RTC) to generate clock interrupts.

· This issue does not occur on a computer that is running Halacpi.dll (UP, ACPI, or PIC) or Halx86.dll (UP, non-ACPI, or legacy) because these DLLs use the 8254 Programmable Interval Timer (PIT) to generate clock interrupts.


To work around this issue, use one of the following methods:

· Modify the program to call the timeBeginPeriod function at startup and to call the timeEndPeriod function on exit. This workaround eliminates repeated time increment changes.

· Modify the program to use the QueryPerformanceCounter() API.


Thursday, January 6, 2011

Teamviewer @ Ubuntu - run it as a service

You could try to make shell script like this one:


or whatever is the path to the teamviewer executable save it to:


and change permission:

chmod 777 /etc/init.d/teamviewer_start

create link:

ln -s /etc/init.d/teamviewer_start /etc/rc5.d/S99teamviewer

and it should start with the machine regardless of the fact that no user has yet done login.

/etc/rc5.d/ is the directory where startup scripts are located (default init level is 5, that's why it is named rc5.d). Scripts whose names start with capital "S" are executed in alphabetical order, starting from S00 to S99.
Following the analogy, the directory /etc/rc0.d/ contains stop script executed when machine goes down. Their names begin with "K" starting from K00 to K99.

How to change your default locale on Ubuntu Linux

To check which locale you currently have as your default just run: locale

Changing the default locale is a little different on Ubuntu compared to most Linux distros, these are the steps we needed to go through to get it changed:

Add the locale to the list of 'supported locales'
Edit /var/lib/locales/supported.d/local and add the following line:
en_GB ISO-8859-1

Regenerate the supported locales
Run sudo dpkg-reconfigure locales

Change the default locale
Edit /etc/environment and ensure the LANG and LANGUAGE lines read as follows:


Rerun locale to check that your default locale is now en_GB

How to use DiskSpd to simulate Veeam Backup & Replication disk actions

This HOW-TO contains information on how to use Microsoft© DiskSpd to simulate Veeam Backup & Replication disk actions to measure disk pe...