All posts by Roman

How to download torrents anonymously

Your ISP may track your communication with tracker to see what your are downloading or block communication with tracker at all. The approach described uses an anonymisation proxy (JonDo) which will transfer all communication with tracker throw this proxy making you untrackable.

Prerequisites

Configuration
After you download both programs run them and go through the initial configuration. After you are finished open Vuze Options and switch to Advanced mode on the first page. Then type proxy in the bottom box. Click on the dimmed Proxy tab and configure it as displayed on the print-screen.

Save the changes and restart Vuze. If no error is displayed on start you should be fine and can start downloading anonymously ๐Ÿ™‚

How to rescue damaged harddisk

For the past three days I was trying to rescue a damaged disk of my colleague. I already knew about a great disk cloning tool called ddrescue in Linux. So this was the first step I did. After 20 hours of work the clone has been created, but with some errors during read. I was hoping that I will be able to boot from it after I put it back to the PC, but in this case there was some problem with the partition table, so Windows has not been even be able to recognize it as NTFS, even though Linux did!
I didn’t want to reinstall the system after so much hours spend on this, so I was looking for some other tools which could help me save the disk. There was a lot of suggestions on using some paid software, but I don’t have good experience with them.
Finally I found another great open source software called TestDisk. It is a command line tool, but I don’t care much if it helps ๐Ÿ™‚ Using this software I was able to recreate the partition table, after it found the lost NTFS partition and as soon as I restarted PC, Windows finally fixed the NTFS using chkdsk.

Running wuala in background with no gui

I have finally found a solution for my problem described in older post. Today I have found out that you can run Wuala without GUI. To do this you have to call wuala with the following parameter.

wuala -nogui

But only this is not enough. You have to also login to your account, because Wuala won’t auto login in this case. I have created a bash script which runs Wuala and as soon as it is initialized it logs you in.

#!/bin/sh

# Run Wuala with no GUI
wuala -nogui &

# Give Wuala some time to initialize
sleep 30

# Login
wuala login USERNAME PASSWORD

Change USERNAME and PASSWORD with your credentials and save this piece of code to /usr/bin/start-wuala.sh. Make it executable by calling sudo a+x /usr/bin/start-wuala.sh. After that you can put it to Startup Applications. But before you do that, you should setup your synchronization, because when Wuala starts in background you are not able to start another instance. To shutdown existing instance go to terminal and execute wuala shutdown.
You can also check status of the background process on the following address: http://127.0.0.1:33333/.

How to disable Cron e-mails in Webmin

Today I have setup some Cron job. The command is running under user nobody. After some minutes while this job has been running and executed I received e-mail with result of the job. This job was setup to run every 3 minutes, so I was getting those e-mails quite often.
After I have logged into Webmin to disable those e-mails I have noticed that there is no option to disable those e-mail notifications. Looks like it depends on the user under which the job is executed if he has some e-mail or not.
Anyway you can disable those e-mails by going to Scheduled Cron Jobs. On the page click on Create a new environment variable button. Select the same user as the one under which the job is running. As Variable name use MAILTO and do not fill anything into the Value field. Also make sure you leave Before all Cron jobs for user selected.
Finally you should not get any new e-mails ๐Ÿ™‚

Use Visual Studio shortcuts in Eclipse

I am using Eclipse for PHP development. At work we use Visual Studio, so I am familiar with it’s keyboard shortcuts. In Eclipse I was quite frustrated when I was for example trying to find something in the opened document. Ctrl+F summoned Find dialog as other editors usually does, but pressing F3 to find next match in document did not work. F3 key is used by Open declaration functionality by default.
So I was looking for some way to change the keyboard scheme to look more like other editors. I found a possibility to use Mircosoft Visual Studio scheme. This scheme is available if C++ Development Tools  is installed in Eclipse. If you don’t have C++ Development Tools installed in Eclipse you have to install them first. To do that go to Help > Install New Software…

After you finish installation and restart Eclipse IDE go to Windows > Preferences and change scheme on the Keys page to Microsoft Visual Studio.


Outlook integrated CRM free for single-person use

Yesterday we have released new version of our CRM system eWay-CRM free for single-person use. You can obtain it on our download page.
eWay-CRM is CRM system fully integrated into Microsoft Outlook 2003, 2007 and 2010. It works even with 64bit Office systems. All in one installation package!
You can see some basics of work with eWay-CRM in introduction video on youtube. We are planning to publish more learning videos in a few months.

Free version has some small limitations, but you can use it even for commercial use. If you want eWay-CRM for a company to be able to synchronize data between employees you have to purchase the system. Check out full price list for detail information.

Connecting to Microsoft Exchange from Linux

In our company we are all using Microsoft technologies. Working on Windows eight hours a day makes me a little sick, so when I work on PC at home I usually switch to Linux. But from time to time I need to access my work mail. We can use Outlook Web Access (OWA), but I don’t like the interface much.

I was looking for some alternative in Linux. The first I found is that Evolution has some package called evolution-mapi, but I was not able to make it work. It was probably caused by having old version of Evolution.

So I searched further and found a great tool called DavMail. It’s basically a gateway to OWA written in Java. It provides POP3, IMAP, SMTP and LDAP access to your Exchange. You can install it on your client computer and access it only from localhost, so there won’t be any security risks.

Object code signing with StartSSL

I have used code signing to sign our .NET assemblies, but you should be able to use the same steps to sign any dll, exe, cab or msi files.
Before you can start signing you need those prerequisites:

  1. The actual certificate downloaded from StartSSL.
  2. OpenSSL binaries for Windows.
  3. SignTool which is part of Windows SDK.

After you have your object code certificate request approved you can download it from Tool Box > Retrieve Certificate section in you StartSSL account page. Copy the contents in textbox and save it into some file for example cert.pem.
Now we have to convert the certificate into some format which is readable by SignTool. To do this you need file with private key (key.pem) which was used for certificate request.

openssl.exe pkcs12 -export -out cert.pfx -inkey key.pem -in cert.pem

You will have to provide pass phrase used when key.pem has been created and define password for pfx file, which will be used for signing. As soon as pfx file is created you can sign your first assembly.

signtool sign /d "PRODUCT_NAME" /du "PRODUCT_URL" /f cert.pfx /p "PFX_PASSWORD" /t "http://timestamp.verisign.com/scripts/timestamp.dll" /v "FILE_TO_SIGN"