May 2010 Archives

Mon May 31 14:42:31 EEST 2010

Installing EEMame to play MAME games on Nokia 9300i / Turn your Nokia mobile to arcade game statition


EEMame Nokia 9300i

Since I'm keen on old school arcade games I checked online if I can install and play MAME (Multimedia Arcade Machine Emulator) games (roms) to my Nokia 9300i mobile.
The information on the topic on the Net is pretty much muddled so it took me a while until I found that in order to install a MAME port for Nokia 9300i I will have to use EEMame - MAME for Symbian Mobile Phones .
The first thing I came across before I finally found EEMame was EMame 9210 .
Emame is a port of Mame that is compatible with Nokia 9300i since the 9300i mobile has backward compatibility with the older 9210 phone.
To save memory since the Nokia 9210 has low memory capacity the Mame 9210 application is actually separated in 4 applications each of which containing a set of drivers for a number of mame rom game files.:
The whole application Emame9210All.sis is separated into the following parts:

EMame9210Set1.sis EMame9210Set2.sis EMame9210Set3.sis EMame9210Set4.sis

For convenience the developers has provided also a .sis file containing all the up-mentioned 4 parts in one .sis archive
For some convenience I have created a mirror from which you can download EMame9210All.SIS

Though the Emame9210 would install on the Nokia 9300i and you'll be able to run each of the 4 exe files from the Nokia file manager I couldn't make the application work with any of the listed roms that are marked as a tested on the Emame9210.
Honestly I didn't really spend much time trying, so it could be my fault that I couldn't bring the Emame9210 on my 9300i mobile. Be aware that trying to run some rom files downloaded from romnation.net and listed as compatible with the 9210 arcade emulator led the Emame9210 programs to crash.
So assume the Emame9210 is not really compatible with the Nokia 9300 phone. Anyways this first time though mournful was just a plunge-board to the "real deal", e.g. the real joy experienced when I found out that the EEMame port is available for Nokia 9300i
To install the EEMame on my Nokia 9300i I downloaded and installed the eemame-series80-1.1.SIS . The file is also available through EEmame's official website download section along with few other EEmame for a few other Motorolla and Nokia powered devices.

Another thing I really liked about EEMame is that it's released under the GNU General Public License

So far so good 'till now I was having a complete working version of MAME to my Nokia 9300i mobile but I was lacking any games and I was absolutely lazy to scrape through the internet to find some working rom files for the EEMame, not to mention that only a exact set of rom files is compatible to the device and you have to check and download the compatible games one by one ... this is pretty much insane especially if you're a busy man as I am.
I assumed somebody has already done the hard task of downloading and creating a pack with rom files that run on the EEMame so I spend approximately some half an hour to look for a preliminary prepared pack of rom files that would run on the EEMame mobile (Multiple Arcade Machine Emulator).
The original announce for the availability for download of eemame 218 rom games which are compatible with EEMame could be red here

You can download MAME_S60v3_and_working_ROMSET_by_herbalb.rar here

Herein I will include herbalb original message found along with his 218 rom games pack for EEMAME :

Some time ago I made a romset that includes 1320 of 1321 Roms known to work with EEMAME (also included). Hope some of you will like it and have fun playing these original arcade games (i.e. Wonderboy, Ghost N Goblins, Joust, Arkanoid, 1943, Burger Time, Contra ...).
By the way, when starting a game and you read 'press OK to continue' just push left and then right on the directional pad on your phone and the game will start.

I tested them (many of them) on my N95.
You can also try this version of EEMame to use with the Set above (I have not tested this version as i am using the one includet in the set) Happy new year and peace to everyone.

herbalb

NOTE: I am happy if you share it with others but please do not say it would be your own work. It took me hours to do find all necessary games for this set, so please be social, thanks.


As you can see in herbalb's message the ROM games for EEMame are not tested with other mobile phones except the N95.
I downloaded and tested his EEMAME rom pack set and I have to confirm almost all the game are loading with EEMame perfectly fine.
However there is two minor down-sides of the EEMame on Nokia 9300i. First you will probably have to play the rom games without a sound, because when sound is enabled almost all the games will work slow as hell, and second most of the MAME emulated games will occupy just a small portion of your screen and you won't be able to enjoy the joy of playing the game on a full wide screen on your cellphone.
Anyways life is not perfectly anywhere, being able to play all this wonderful oldschool arcade directly on your Nokia 9300i mobile turns your mobile into a sophisticated game station and guarantees you a lot of fun.
I have prepared a list of all the rom files included with MAME_S60v3_and_working_ROMSET_by_herbalb.rar, you can check the whole list of roms available for EEMame on Nokia 9300i here

I have also made some few modifications in the readme of the herbalb's archive and have included the necessery sis file to install and run EEMAME on Nokia 9300i the new archive can be downloaded here.

Just in case if you need to download some specific rom files from the whole collection please select your preferred EEMame ROM file here
Well, That's all folks! All left now is to truly enjoy your classic nitendo & arcade games playable directly on your Nokia 9300i mobile! :)

Posted by hip0 | Permanent link

Sun May 30 20:30:15 EEST 2010

Manage tasks and processes on your cellphone with TaskSpy

TaskSpy on Nokia 9300i, Nokia 9300 TaskSpy
I was looking for a decent freeware program that will be able to manage my processes (a task manager) and be able to show statistics about memory and cpu usage for my Nokia 9300i.
Until recently I used a cracked version of BestTaskman which did quite a good job until recently when the program started crashing on my cellphone.
I remember last time how much time I spend to find a decent crack for the BestTaskMan taskmanager and this time I decided to check if there is something similar to BestTasman that could handle my processes and doesn't need to be cracked.
I was happily suprised to find TaskSpy which is a superb program and was exactly what I was looking for. It even has some extra capabilities compared to BestTaskman though it is a bit less unconvinient while switching tasks, since every time the user is required to switch to the TaskSpy and from hence choose if he desires to switch to another application, kill an application monitor the mobile etc.

Here I will include a short description on what to expect if you install and start using TaskSpy:

TaskSpy is a completely free task manager for Symbian OS devices.
It allows you to get more control and information over running tasks on your mobile phone.
You can quickly switch tasks, kill processes and threads or free unused memory, as well as display detailed information about system resources.
Other features, such as tracking cpu load and free memory, though aimed to developers, may result of interest to advanced users. Another really handy feature is that TaskSpy is able to reboot your mobile.



Currently TaskSpy supports the following mobile architectures:

* Symbian 6 Series 60
* Symbian 6 Series 60 1.0
* Symbian 6 Series 60 1.2
* Symbian 7 Series 60 2.0
* Symbian 7 Series 60 2.1
* Symbian 8 Series 60 2.6
* Symbian 8 Series 60 2.8


If you're interested into TaskSpy and you'd like to download and install it on your mobile, please follow this taskspy download link
I personally had a great experience with the program on my Nokia 9300i, hopefully you will enjoy it too.

Posted by hip0 | Permanent link

Sun May 30 00:16:25 EEST 2010

Substitute for Putty SSH client on Nokia 9300i

I've recently had issues with my Putty for S80 on my Nokia 9300i.
Though the port of Putty for Symbian is quite good looking it has many down falls. A major down side is it's slowness, a connection to an SSH server would take up like 5 to 7 minutes time.
As they say time and money and loosing time is annoyance and this is especially true if you have to quickly do something on a server via your mobile.

I looked online for good SSH clients that might be a substitute to the PuTTY SSH client In my search I came across this list of SSH clients compatible with the Symbian's S80 phone architecture

Mocha Telnet client for Nokia 9300, 9300i and Nokia 9500

I haven't tested all of the provided clients but I was blessed to find what I was looking for, I found the Mocha Telnet for Nokia 9300/9500 which is a really nice SSH and Telnet client. I had to acknowledge, it's interface and it's SSH session management interface is a way down uhandy but in general the Mocha Telnet is a quickly connection handler able to communicate with the remote SSH servers on Nokia 9300i.
Usually to establish an SSH connection to a server it tooks like 1 minute using the Mocha Telnet this is really quick compared to the 6 minutes waiting while using PuTTY.

Here is a list of the capabilities of the Mocha Telnet client for Nokia 9300 / 9500 (a quote from Mocha telnet's website):

Mocha Telnet Features:

* VT220 emulation.
* SSH2
* Autologin with scripting parameter.
* User defined function keys.
* Screen mode 24*80.
* Online Help.
* Many trim parameters.
* Small and fast.
* Free upgrades to new versions of the product.


To download the Mocha Telnet SSH for your Nokia 9300i check here

The Mocha Telnet creators Mocha Sof provides also a nice vnc client for Nokia 9300i you can download the program from here

But wait there is even some more glad glad tidings about Mocha Telnet and the Vnc. It seems since the programs product cycle is over and there are no new versions of the programs developed for the Nokia 9300i and a few other old school Symbian powered Nokia phones, MochaSoft decided to liberate the applications as a freeware by providing a freeware registration codes for the programs to benefit from the codes and register both your Mocha Telnet you can use:

Freeware license key for mocha Telnet for Nokia 9300,9300i/9500:

License name: freeware
License key: A15761

The Freeware license key for mocha VNC for Nokia 9300,9300i/9500 is:

License name: freeware
License key: 142449

In case if you're curious, how administration of a remote Windows server will look alike over a VNC client, here is also a nice screenshot of Mocha VNC for the Nokia 9300i mobile:
Mocha Vnc Nokia 9300, 9300i, 9500
There are a few other interesting applications for other mobile phones again by MochaSoft, check them here

Posted by hip0 | Permanent link

Fri May 28 16:11:32 EEST 2010

How to reset to factory defaults (hard reset) hanged Nokia 9300i device / How to format your Nokia 9300i

Today my Nokia 9300i device became completely useless, after a reboot. Yesterday I installed on my 9300i an application called AppMan which according to it's description looked like a superb program.
After installing it few of my applications stopped working. I decided to leave it that way and continue playing with the phone on the morning so I went to bed.
This morning when I woke up I decided to install the Psiloc HotSpot Finder cause I needed a handy application to connect to the wireless networks.
After installing and trying to learn some of all the installed applications I received the re-occuring error:
"system: unable to find the specified object.".

I thought a restart would fix it so I restarted the phone by unplugging the phone battery without switching on the phone using the front swith on / off button.
Just a bit later I red online that in order to properly reboot the Nokia 9300i device it's necessery to first: Switch off the front panel and then unplug the battery ..
I plugged in the battery again and switched the phone it booted okay and prompted me to enter the current date. I filled in the date and confirmed it.
A message reading:
system: unable to find the specified object. followed by a Continue button poped up right after the date dialog. I pressed it and another dialog poped up ... just a few seconds later the screen started messing up and froze.
I waited for a couple of minutes and when I got really irritated I restarted it again, again unplugging the battery with the hope it was some temporary hang.
Well pitily I was wrong next time the phone switched on and when I entered current date in the date dialog it hanged once again... Well I thought okay let me try to restart once again, so I restarted.
This time even the set date dialog doesn't appeared but the screen messed up after the phone showed up the Nokia logo and the boot progress bar, the progress bar was completed and the phone froze showing up part of the Nokia Logo and partly something from my Desk.
I restarted once again the phone and started experimenting if I can somehow recover the nokia to boot normally once again.
I red in the internet in a forum that there is a possiblity to fix an unbootable nokia 9300i, with restart unplugging the battery and keeping the Front located Switch on button on the phone.
Though this prooved untrue for me pressing the switch on button produced no results.
Seeing that this won't make the 9300i phone boot I decided to try to remove the Mobile MMC card and try if it's gonna boot without the card, however this didn't worked.
Then I tried to remove both the sim card and the MMC Mobile card and try to boot the phone with only the battery but without the sim card but it seems without the sim card the phone doesn't even start booting.

I red many forums online and tons of other tries among which I tried to cancel the application that was hanging on the phone with the key combination:

1. SHIFT + CTRL + K
2. SHIFT + CTRL + CHR key + K

The two upmentioned key combinations are embedded into the 9300i and 9500 application and would close the last active application on the symbian OS.
I tried both holding for a minute the shift + ctrl + k and shift + ctrl + chr + k and pressing them many times during the phone was booting.
One of the times I was able to kill all the applications except the one responsible for the telephone book, then I tried pressing the telephone Desk button hoping that this would make the Desktop application to launch, but again it didnd't launched.
Having the phone book available I tried to switch on the front panel of the phone but the panel won't switch on in that "emergency" mode.

The situation seemed desparate .. my phone was completely dead. Anyways I was lucky that I found in Google some guys who shared how they have achieved to reset the Nokia 9300i to factury settings using the embedded Nokia Format phone program.

To use the embedded format to reset the device to factory settings I had to keep pressed:

3. SHIFT+CTRL+F

for some time after plugging in the phone battery. It's really imporant to keep the keys pressed before the Nokia Handshake logo appears.

Some people say it's necessery to press and hold shit+ctrl+chr key + f before the Format dialog shows up, however I tried and this and this key combination wasn't working.

After I succesfully invoked nokia's built in format program a blue screen appeared with the options:

Format and Cancel

I proceeded and selected the Format and the device formatted, the format took only 20 or 30 seconds and therefore I suspect this format as nokia has called it is not a real format but it's just some quick way to restore the original factory firmware to the mobile.

Currently after the succesful format the phone started booting in normally once again and my front panel of the phone is working once again.
Unfortunately some of the programs which were installed on the Phone's C:\ drive are missing or not working, but I was lucky to install most of my applications on my 1GB MMC card
It's probably worthy to note that during the phone format I formatted the phone without the external 1GB MMC card, because I have worries that the format could somehow erase data from the MMC card.
It's really nice that after the factory firmware was reversed when I plugged my external MMC card with all my software installed on it works without any problems with the phone. Even the installed applications on the MMC works perfectly fine.
But wait even there is a positive thing from flushing the phone Nokia 9300i with back to it's firmware! Now my mobile firmware Symbian OS works a way faster :)

Posted by hip0 | Permanent link

Thu May 27 14:26:50 EEST 2010

Resolving vnstat "Error: Database load failed even when using backup. Aborting." on FreeBSD

I'm using vnstat to track my inbound and outbound traffic for quite some time on my FreeBSD powered router system at home.
Until this very day it worked completely flawless, so almost every day I issued the command:

vnstat --days


To check the internal and external flow of traffic to my FreeBSD node. The advantages of using vnstat this ways are numerous,
maybe the most notable benefit is that you can keep an eye on the increase of traffic to your webserver,
that's absolutely handy if you try to better rank your websites and increase monthly traffic to your Apache.
The above command will show up data for server accessbility since, vnstat started to build databases and if a drastic drop down in network traffic to your system is observed this would be an indicator for some kind of problem with either your network or some of the network services your server provides.

Well as I said today I tried to once again examine the yesterday statistics of vnstat, but instead the statistics the following error appeared:

pcfreak# vnstat -u
Error: Database load failed even when using backup. Aborting.


A quick research in Google led me to some other complains of the error and some explanation that the error is caused of some vnstat database flaw which is encountered on 32 bit and 64 bit architectures.

In order to solve the problem I had to:
1. Remove the old vnstat databases, using command:

pcfreak# rm -rf /var/db/vnstat


2. Rebuild vnstat database for my network interface

pcfreak# vnstat -u -i em0
Error: Unable to read database "/var/db/vnstat/em0".
Info: -> A new database has been created.

And we're done, vnstat should start working as expected once again.

Posted by hip0 | Permanent link

Wed May 26 15:04:54 EEST 2010

ASCII PacMan (Pac-Man) for Linux and FreeBSD / Play online ASCII Pacman


ASCII Pacman image

Since just few days ago it was the birthday of Pac-Man game (The abolute classic game among '80s arcardes).
I decided to try to look if there is an ASCII Pacman available somewhere.
Luckily there are number of ASCII versions of the classic arcade PacMan for both Linux and FreeBSD, I thought, it doesn't worth the time to check if ASCII Pacman is also available for Windows OS.
For all the ASCII game fans out there I've installed ASCII PacMan FreeBSD version on the Play Cool FreeBSD ASCII games free page From there you can play a number of cool ascii art games online via telnet, the reasons I took the time to add the ASCII Pacman to the list of possible games to play is that it's a shame that the list misses one of the most notable games if not the most notable ever made.

For Linux I've found three version of ASCII Pacman:

1. The best looking one is probably ASCII Pacman Linux clone game available on sourceforge.net
You can download ASCII Pac-Man 0.9.1 from here

I've included 2 files with instructions on installation and usage of the game. I saw that as a completely necessery since, the game controls of the elsely nice looking game are hard to get. To play the game you will need to use the game controls:
z,x - to move right and left and m,k for up and down .

2. A bit more ugly and less interactive is another version of ASCII PacMan called:
Pac-Man for Console or simply Console Pacman

This two compiled without any troubles on my Debian GNU/Linux squeeze/sid Linux .
Unfortunately the up-mentioned ascii version of pacman won't work on FreeBSD


3. The ASCII Pacman that is running and compatible with FreeBSD is called Pacman ASCII and herein is it's home page

PacMan ascii is a way less sophisticated, so don't expect too much of it. Originally Pacman ASCII was a project by some French guy in with the main task to learn C++.
Anyways he did a good job, since his little ascii pacman game is compatible with FreeBSD as well.
You can download ASCII Pacman for FreeBSD here

I did some minor modifications to few of the ASCII Pacman .cpp files in order to change the default help and game language from French to English, since French would be cryptic to most of the non-french users.

Posted by hip0 | Permanent link

Wed May 26 13:20:49 EEST 2010

Play pacman arcade fork in Google


Google Pacman Game Arcade

Check out www.google.com/pacman/ .
It appears Google has introduced a new "service" a google search engine with embedded pacman in it :)
This guys are serioulsy insane. A friend of mine has sent it to me via Skype and at first I thought google has simply made http://www.google.com/pacman to open up google with an image of pacman instead of Google.
Few moments later I realized, that the banner in www.google.com/pacman/ is actually not a banner but a completely playable copy version of the original world famous arcade game Pac-Man
The game even support 2 players :). In order to play the game you'll need to insert a coin just like in the good old times, in Pacman powered Google search engine interface you will find the insert coin button which substitutes the usual I feel lucky one.

Posted by hip0 | Permanent link

Tue May 25 15:44:02 EEST 2010

Resolving Wildcard DNS subdomains in Virtual hosts in Apache webserver (WildCard Virtual Hosts)

The company for which I'm employed as a free lancer, has a requirement to start-up a new website on a different Debian Linux powered server.
In connection to that they needed to change the DNS records to point to the new IP address of the server.
That was a piece of cake, all I had to do was, edit the domain name zone file and change the A (Active) record to point to another IP address
The trouble was that in this concrete scenario the website domain has previously had Wildcard DNS record enabled earlier on.
So domains like bla.exampledomain.com, asdf.exampledomain.com you-name-it.exampledomain.com was configured to resolve to the IP address determined for the exampledomain.com
Therefore it was necessery that Apache is configured to serve any incoming request on any *.exampledomain.com subdomain accessed.

Fortunately this is really easily achievable and is described in Apache Named-based Virtualhost documentation

In short all you need to make your Apache start serving all incoming requests to any subdomain is to edit your Virtualhost on Debian for the default subdomain that would mean to edit:

edit /etc/apache2/sites-available/000-default

debian-server:~# vim /etc/apache2/sites-available/000-default
# Therein you will have to add the following line

ServerAlias domainexample.com *.domainexample.com


That's is all necessery, now restart the webserver as usual for the new configuration to take affect.

debian-server:~# /etc/init.d/apache2 restart


Congrats, now all your subdomians for the domainexample.com like for instance:

http://bla.domainexample.com or http://somerandom-word.domainexample.com should open http://domainexample.com .

Posted by hip0 | Permanent link

Mon May 24 19:18:46 EEST 2010

Human Pacman & Mario Watch out this funny reproductions of the classic arcades

Yesterday a friend of mine (Static) has passed to me a really funny videos in Skype.
The idea behind the videos is quite interesting, so it's worthy to explain it in a few words.
Some hard core arcade gamers has found there dedication to the arcade games to a level, where they decided to reproduce (play), there favourite arcades in a real life situations.
Some of the guys involved in the bizarre ideas, dressed up with a customs of the arcade game heroes, like Pacman, Mario, Luigi etc. and started re-create scenes from the famous Video games:

Pac-Man and Super Mario Bros
as well as other games reproductions.

I'll post just two videos of what exactly the insane guys has done just watch the videos, I guarantee you a real hard laugh :)


a Human Pacman game - How Pac-Man would like if it was in real life :)


Human Super Mario Bros. (reproduced) - How Super Mario bros would look like in the real life :)

Enjoy! :)

Posted by hip0 | Permanent link

Sun May 23 21:48:16 EEST 2010

Pentecost (The Descent of the Holy Spirit) to the st. Apostles


Pentecost, The Descent of the Holy Spirit over the st. Apostles

Today here in Bulgaria as well as in the rest of Orthodox Christian world, we celebrate one of the most bright Christian feasts Pentecost!
The celebration on this feast 50 days after the Glorious Descension of the Lord Jesus Christ to heaven, whenst the our Lord and God's Son has sat on the Right Hand of God.
The word Pentecost is probably derived from latin is a word (pente = five) and is describing the glorious event that happened on the 50th day after the descension of our Lord to heaven.
On Pentecost, fifty days after the Resurrection on the exciting Jewish feast of Pentecost, while the desciples and many other followers of Jesus Christ were gathered together to pray, the Holy Spirit descended upon them in the form of "cloven tongues of fire", with the sound of a mighty rushing wind, and they began to speak in languages that they did not know. There were many visitors from the Jewish diaspora to Jerusalem at that time for the Jewish observance of the feast, and they were astonished to hear these untaught fisherman speaking praises to God in their alien tongues. This account is well described in the book Acts of the Apostles - chapter 2
Another interesting fact is that on this date we in the Orthodox church have the so called "faithful kneel" in Church for the first time since Pascha.
The "faithful kneel" service which is served right after the evening service following the liturgy is followed right after that with this "faithful kneel" prayers on which we the believers kneel to venerate the Holy Spirit and direct a prayer to God that he forgives us and prevents us and save us through his holy Spirit.
It's an interesting fact that Pentecost is historically and symbolically related to the Jewish harvest festival of Shavuot which is a feast on which the God's giving of the 10 commandments on Mount Sinai is commemorated, this according to jewish orthodox tradition is exactly fifty days after Exodus.
In practice Pentecost is the day on which the Orthodox Church, e.g. the True Church of Christ was born.
On that date when the Holy Apostles were filled with the Holy Spirit which was earlier promised by our Lord Jesus Christ to the faithful desciples.
When the Holy Spirit descended and sat upon each of them. The desciples of our Lord was filled with the Holy Ghost, and began to speak in other nations tongues.
When that event occured, there were many visitors from the Jewish diaspora to Jerusalem at that time for the jewish observance of the feast, and they were astonished to hear these untaught fisherman speaking praises to God in their alien tongues.
Here is what is recounted in Acts 2:1-4 and how the event was described in the Holy Bible.

And when the day of Pentecost was fully come, they were all with one accord in one place. And suddenly there came a sound from heaven as of a rushing mighty wind, and it filled all the house where they were sitting.
And there appeared unto them cloven tongues like as of fire, and it sat upon each of them. And they were all filled with the Holy Ghost, and began to speak with other tongues, as the Spirit gave them utterance.


Happy Feast to all Orthodox Christians!

And for the glorious event that happened, glory be to the Father, To the Son and Thy Holy Spirit now and unto ages of ages! Amen!

Posted by hip0 | Permanent link

Sat May 22 17:17:42 EEST 2010

Download and Install Russian English Dictionary on Nokia 9300i

In this article I'll guide you with this step by step tutorial on what exact steps I took to download and install a working cracked version of the Russian English (translator) Dictionary for my Nokia 9300i. Running Symbian version S80.
After a quick research in google revealed that a good method to achieve the up mentioned task is to use the Slovoed Multilingual dictionary
Here is a quote from the manual included with the Slovoed Russian English Dictionary for my Nokia 9300i.
About SlovoEd:

SlovoEd is a well-known set of products developed by Epocware/Paragon Software Group for such popular mobile operating systems as Palm OS, Pocket PC/ Windows Mobile, Windows CE Smartphone and Symbian OS.
High data compression ratio for dictionaries and high retrieval rate are available thanks to the special technology developed by Paragon Software (SHDD).


Here is how the Slovo ED English Russian dictionary is about to look whilst installed on your mobile.

Slovoed Russian English Dictionary for Nokia 9300i

To simplify the installation I've a download mirror for SlovoED Russian-English dictionary originally the file was downloaded among with some other SlovoED cracked versions for various mobile phones architectures.
The original archive from which I've extracted the SlovoED dictionary for Nokia 9300i is Download SlEd_for_Symbian_OS.tar.gz for various mobile phone architectures and was again downloaded from rapidshare.
The whole mirror of SlEd_for_Symbian_OS.tar.gz includes the following files:

SlovoEd Compact English-Russian & Russian-English Dictionary for Nokia 9300-9500
SlovoEd Compact English-Russian & Russian-English dictionary for S60 3rd Edition
SlovoEd Compact English-Russian & Russian-English Dictionary for Series 60
SlovoEd Compact English-Russian & Russian-English Dictionary for Sony Ericsson
SlovoEd Compact English-Russian & Russian-English dictionary for Sony Ericsson UIQ 3.0


I absolutely take no responsibility if you use, download distribute or modify the up mentioned mirrored archived Slovo Ed dictionary versions.
Using the aforementioned SlovoED version is absolutely illegal. This article is plainly for educational usage! E.g. again you're on your own if you distribute or download the files above!

So back to the article to install the SlovoEd-9300i.tar.gz. You'll have to download the acrhive extract it copy it to your mobile phone and install it using the Nokia 9300i application install manager available through the Control Panel program.
The archive also includes a file called serials.txt. Open this file and either retype the serial in your Slovo Ed registration menu reachable through the Slovo Ed dictionary menu or copy paste it directly opening the file on your mobile with the included Nokia's File Manager
Congats, you should now have a Russian to English and English to Russian Slovo Ed bi-lingual dictionary on your Nokia 9300i. Enjoy!

Posted by hip0 | Permanent link

Fri May 21 13:19:49 EEST 2010

The Feast of the Holy Great Sovereigns St. Constantine and Helen of Constantinople in the Bulgarian Orthodox Church


St. Constantine and St. Helena icon

Today is the commemoration day of St. Helena (of Constantinople) and St. Emperor Constantine (I - the 1st.). St. Helena was a mother of St. Constantine who used to be an Empreror in the Romain Empire.When her son Constantine became Emperor, in the year 306.
Although she had previously been abandoned by her husband, her son raised her to a position of great honour.
As Helena was a Christian she gave her support to their cause and, in the year 326, she made a pilgrimage to the Holy Land. There she provided the wherewithal to found the building of a basilica on the Mount of Olives and another at Bethlehem.
She is traditionally credited with finding the relics of the True Cross on which Christ was crucified.
We celebrate and commemorate the two saints at one date today.
Here in Bulgaria, the feast is a highly venerated one in our Bulgarian Orthodox Church.
It's an interesting fact that it's considered that st. Helena has found the Golgotha place (the place of Skulls / the place of the crucifix), described in the Gospels.
She is also credited for building for a first time the famous church Holy Sepulchre located in Jerusalem where the Holy Fire is descending each and every year on Easter.

It's also really intereresting story part of the documented life of St. Constantine, who once conquered with a tiny army against a huge army, by carrying a flag with a Cross on it. The saint wasn't christian but he saw a vision some time before the battle took place, where he saw the Sign of the Cross in the Sky along with a coming voice from heaven which told him: "With this you will conquer". He then ordered all his army soldiers to draw a cross on their shields and he entered the battle. And he conquered just like he heard from the voice from heaven.
As a symbol of gratitude when he became an emperor he has put an end to the persecution against the Christians and the Church.
He also gave a lot of money to his mother st. Helena who build many christian temples in Jerusalem and Constantinople.
Outside the boundary of the Bulgarian Orthodox Church, the two saints has many followers membering sects and cults.
The two saints are venerated in a cult sense highly be the so called Fire-dancers. The Fire-Dancers, took some icons of the two saints from the Church they "dress up the icons" in a special dress, so that almost the whole icon of St. Constantine and Helena is covered up.
Then they pick up the icon and walk or dance over a fire place ... This cult practice is mostly widespread in Strandzha
The Bulgarian Orthodox Church has led an active fight against the cults dedicated to St. Constantine and St. Helena. However after the 9th of September as the communist govern took place, the church has to discontinue the fight against the spread of the cults and struggle to preserve itself from the communist attempts to destroy it.
Let the merciful God has mercy on us after the prayers of St. Constantine & St. Helen.

Posted by hip0 | Permanent link

Thu May 20 13:33:36 EEST 2010

Add Cyrillic Support (Bulgarian / Russian letters) to your Nokia 9300i mobile through Psiloc Crystal Cyrillic

Since quite some time, I'm researching on how to add Cyrillic letters support to my Nokia 9300i.
Russian language has emerged (was conveyed) some many years ago to Russia as a derivative from Bulgarian. The initial Cyrillic alphabet as hopefully we all know was created by the Saint brothers Cyril and Methodius who developed the cyrillic alphabet in the 8th century. Later on some of their invented new alphabet letters went through a development (simplification) done by the 7 pupils of the Holy brothers.
Many people are not aware that the Slavonic language e.g. the created alphabet and consequently language by st. Cyril and Methodius was prepared with the ultimate Goal to translate The Holy Bible.
Anyways let's go back to the initial task of adding cyrillic support for Nokia 9300i.
Since Russian language is again cyrillic and contains all the cyrillic letters which are available in the Bulgarian alphabet as well. Finding any software that is able to do russification of the Nokia 9300i environment would do the trick of adding cyrillic to the Nokia.
Few months earlier I tried a couple of ways to add the slavonic cyrillic letters support for my native language Bulgarian.
One of the Softwares I tried and I couldn't make work was called RUNokia . This bit of software was initially developed to work on Nokia 9210, so I tried it knowing that most of the applicaitons developed for the Nokia 9210 mobile platform are also compatible with Nokia 9300i's mobile platform.
Well obviosly I was wrong, RUNokia failed to run on my Nokia for a complex reasons.
However this time I was lucky, I succeded in adding the cyrillization using the:

Psiloc Crystal Cyrillic S80 product

Here is a screenshot on how Psiloc Crystal Cyrillic localization for Nokia 9300/9500 looks like:

Nokia 9300/9500 Psiloc Crystal Cyrillic localization

To install Psiloc Crystal Cyrillic on your Mobile:

1. Download the Psiloc Crystal Cyrillic for the s80 platform

2. Transfer the the file Psiloc_CrystalCyrillic_s80.sis to your mobile through bluetooth.

- Enable the bluetooth on your mobile pressing the keys : Chr + Left Arrow Key simultaneously.

- Use your favourite bluetooth program to transfer the file to your mobile.
I personally use the Linux Bluetooth Applet to transfer the application to my mobile.

3. Install the application using Nokia 9300i's File Manager program
- Install by pressing twice the Psiloc_CrystalCyrillic_S80.sis application program

4. Now go to your newly installed Psiloc Crystal Cyrillic program.

The program should appear whenever you have selected it to appear with the icon:
Cyrillic Psiloc icon Cyrillic on Symbian

- When the Psiloc Crysatal Cyrillic on Symbian interface pops up you will have to change two values:
I. In Psiloc Crystal Menu: Enable Cyrillic on Symbian should equal Yes
II. In the Advanced menu, I recommend you change the Email Format to: UTF-8 or your desired charset


5. As a next step we'll have to register the application
Fortunately Psiloc are providing a Free registration code, here are the concrete instructions you'll have to follow to register the psiloc cyrillic application:
(below instructions are a quote from psiloc cyrillic website)


If you would like to get this application for FREE, please register using this license code:663542671392124 and then follow the registration procedures listed below:

1. Download and launch the application using your mobile phone.
2. Select "License" from the "Options" menu.
3. Select "Activate application."
4. Select "Activate application" (using the license code).
5. Once the prompt appears, please carefully enter your LICENSE CODE, which you will find in your order confirmation and press OK/Accept.
6. A prompt will appear asking you to connect to our server either via the Internet or via SMS to complete the registration process. Please choose one of the two options to complete the process.
7. Application is licensed.


In order to follow the aforementioned procedure you'll either have to use an e-mail as a registration mean or use directly the Internet.
I decided to the net, So before I can register succesfully using the internet I had to connect my phone to the Internet.
The Wireless connection to a nearby wireless router was established using the Nokia embedded browser by selecting my wireless network of choice.
I advice you to approach the situation in the same way or otherwise you won't be able to succesfully register the Psiloc Cyrillic program.
Now as a last step before a tiny box appears allowing you to change between Russian and English language, you will be asked to restart your mobile phone. Just accept the restart dialog confirmal and wait for your mobile phone to reboot.
As soon as it boots again you will be able to change between the Russian and English language key pressing Ctrl + Chr
While your mobile input is switched on to Russian charsets, expect the phone to be a bit more sluggish.
Now as you have the Cyrillic character set via the Russian language, you can use the Russian charsets to type in Bulgarian Language.
However there is one major nasty thing about it, the keyboard character order equals to a normal cyrillic Russian, keyboard. So it will take you a while before you're adherent to the Russian cyrillic typeset.
But anyways, thing in life are not perfect, get used to that :D

Posted by hip0 | Permanent link

Wed May 19 14:43:59 EEST 2010

The Syriac Orthodox Church. Church brief overview, a look into Holy Qurbana (The Divine Liturgy of Saint James)


Syriac Orthodox Church coat of Arms


My research into ancient Church history has recently led me to a delve into the Syriac Orthodox Church , which historically is one of the most ancient (if not the most ancient) established early churches ever established by the saint Apostles.
The difference between the Syriac Orthodox Church and the other Orthodox Churches is almost unnoticable. However Syriac Orthodox Christians were able to prevent something really precious in their church liturgical life. They have prented with the years The Divine Liturgy of Saint James
In fact the Divine Liturgy of Saint James was the real reason which attracted my attention to the Orthodox Church.
I always wondered how different was the most ancient Liturgical life to the current established St. John Chrysostom liturgy.
It's a well known fact that St. John Chrysostom has revised the earlier St. Basil (The Great) liturgy originating back to the 4th century.
Actually the st. Basil's Divine Liturgy was widely used among the Byzantine Orthodox Christian Church and was itself based on the so called by the Syriacs Holy Qurbana or Holy Qurbono . Holy Qurbana is just a reference name for saint James liturgy which is considered to be the ancient Christian Church Liturgical veneration of the Holy Trinity.
In the present day the Divine Liturgy of Saint James is served only twice a year in the Jerusalem's Church Holy Sepulchre and is rarely used in Eastern Orthodox world it's also performed in The Indian Orthodox Church
The name of the Litrugy cames after st. Apostle James, who is also called the just and was said to be "brother" of our Lord Jesus.
Holy Qurbana directly translated means a Holy Sacrifice it's an interesting fact that here in Bulgaria we also have a similar word called "Kurban". The Kurban word in bulgarian also means a sacrifice, usually people practice giving a common meal for relatives and/or some poor people.
For the Bulgarians in the so called Kurban usually a sheep is being slaughtered, in a way similar to the old testament's sacrifices of animals for the remission of sins, though in our case nowdays it's not for remission of sins but for a remembrance of the Self Sacrifice of our Lord Jesus Christ on the cross.
Many people do that who was delivered of a sickness with God's help or just as a thanksgiving for some kindness that God has shown a person.
Well now back to the topic of the post, when I learned about the existence of the most ancient Church liturgy still being in use I eagered to see how this liturgy. Thanksfully I received that Blessing, some good guys from the Syriac Orthodox Church has recoreded the St. James Liturgy and has put it on youtube. Here is a video in case if you want to see it as well:



In connection with the Divine Litrugy of Saint James the Jesus "brother", who by the way is considered to be the first Orthodox Church Patriarch. So in that relation I found an interesting reading who was written on the topic on how the early Jerusalem Church in the 3rd century performed it's Church life. You can read the Hypertext Egeria from this link . This document was written by a pilgrimage who went from Constantinople to Jerusalem to see how the Orthodox Church in Jerusalem's life is flowing.
While reading you will definitely see the good spirit the document carries on.
We cannot skip also the greatfulness of the author for his life and his heart disposal towards God. We can only learn from this holy man on how we the believers should live and think about our lives and what kind of attitude we should possess.

Posted by hip0 | Permanent link

Tue May 18 14:45:51 EEST 2010

Rebuilding source rpm (redhat package manager) files to binary rpms / Update clamav toaster installation on CentOS 5

Every now and then I have to build a binary rpm from a source rpm (src.rpm) file.

Last time I had to rebuild clamav-toaster-0.96.0-1.3.35.src.rpm because a the clamav toaster installation on one of the CentOS servers I maintin has reached an end of the supported maintance period for the previous clamav 0.94.

Of course I first had to download clamav-toaster-0.96.0-1.3.35.src.rpm .

[root@centos-server:~ ]# wget http://mirrors.qmailtoaster.net/clamav-toaster-0.96.0-1.3.35.src.rpm


Consequently I used the following command to rebuild the source rpm file into rpm binary

[root@centos-server:~ ]# rpmbuild --rebuild clamav-toaster-0.96.0-1.3.35.src.rpm


The aforementioned command will take a while it took like 5 minutes on my server.

As soon as the rpm build is completed your binary rpm installation file for clamav-toaster will be located in:

/usr/src/redhat/RPMS/x86_64/clamav-toaster-0.96.0-1.3.35.x86_64.rpm

To install or update the recently built clamav-toaster rpm binary issue:

[root@centos-server:~ ]# rpm -Uvh /usr/src/redhat/RPMS/x86_64/clamav-toaster-0.96.0-1.3.35.x86_64.rpm


That's all now your outdated clamav-toaster installation should be once more up to date.
If you want to further list the content of the newly installed/updated rpm binary you will have to issue the command in your terminal:

[root@centos-server:~ ]# rpm -ql clamav-toaster


Posted by hip0 | Permanent link

Mon May 17 11:30:46 EEST 2010

What is the Orthodox Church? A Short Overview

I was scraping through youtube as usual, looking for some interesting videos and there it is.
I came across two really interesting videos which I believe could be an important eye opening ones to the protestant christian brothers.
This two videos are made by some young orthodox christian devotee to show up what is the Orthodox Church and to explain that actually Orthodox Church is chained back to the original faith in Christ handed by the Apostles.
I wish you a nice and saving watching of the videos:

1. What is the Orthodox Church? A Short Overview.

2. The Filoque in Roman Catholic Creed of Faith: An Orthodox Perspective
The below video explains how roman catholics historically changed the basis Creed of Christian faith The Nicene Creed of faith adding to it the (and the Son verse).
It's an interesting fact that the Church fathers has earlier prohibited any modifications to the Nicene Creed of Faith, though the prohibition the Roman Catholics broke the old church rules and changed the Nicene Creed of Faith.




3. Video about Mount Athos


There is pretty much to say on the topic of Orthodox Christian Faith but I'll stop here and let you research on your own.

Posted by hip0 | Permanent link

Sun May 16 13:29:13 EEST 2010

How to check Linux SWAP partition disk surface

My Debian Linux swap partition is not mounting at boot time. I found that really odd and therefore I decided to find out if the swap partition doesn't have some problems with the swap filesystem or the physical hard disk surface.
My first try was directly with the fsck linux command, though unsuccesful. The error I came across while trying to run fsck on my /dev/sda6 swap partition was:

fsck: fsck.swap: not found
/sbin/fsck: Error 2 while executing fsck.swap for /dev/sda6


What a set back ... So I tried next issuing the badblocks command in order to physically check my physical swap partition state:

In short, if you are looking for a way to test some ext2, ext3 or reiserfs or any other linux or unix partition for bad blocks from your linux then you certainly should look at badblocks manual page.

I was lucky the result from badblocks has proven I have no physical issues with my hard drive, as you can see in below's output generated by the badblocks's command:

Checking blocks 0 to 1950447
Checking for bad blocks (read-only test): done
Pass completed, 0 bad blocks found.


After reading some http://linuxquestions.org forums I realized there is another way to approach the problem using few other commands as follows:

debian:~# swapoff /dev/sda6
debian:~# mke2fs -c /dev/sda6
# if there are no errors after the above 2 commands are completed then issue:
debian:~# mkswap /dev/sda6
debian:~# swapon /dev/sda6


Well I guess that's the end of the post :)

Posted by hip0 | Permanent link

Sat May 15 15:09:51 EEST 2010

Adding RSS Feed to Wordpress in conjunction with FeedBurner / Wordpress add-to-any-subscribe plugin

I received a comment today from one of my blog readers. That he likes my blog content but he looks for a way to subscribe to my blog.
Though I had a subscription button configured in my wordpress template of choice. The button is located on place in the template that is absolutely unnoticable (at the bottom of the page). This is by the way I believe a default behaviour in case if the default wordpress plugin is used.
Thus I decided to set a clear RSS Subscription button on my blog.
Though at a first glimpse the task looked quite trivial it happened to be a way more complex!
I've tried a number of things before I can succeed in adding an RSS button.
The most simple though not really flexible way was through:

Wordpress's Widgets (Using the RSS Widget) .
rss default feed widget

This approach however has one major inconvenience.
Using the default wordpress RSS Widget you cannot configure the Widget to keep displaying 0 items of the feed.
In other words you cannot configure from the the sliding menu reading:
How many items would you like to display? 0 in order to prevent completely showing up of any of the feed on the page.
If you leave it with one. The RSS icon of RSS widget would point directly to your blog instead to the RSS feed configured.
So in practice configuring it especially in my case rendered completely useless.
The appearing link from the default RSS widget for some weird reason doesn't includes a link to where my feed is located http://pc-freak.net/blog/feed/
In the meantime I looked online to look for something that will facilitate me in completing the simple task to add an RSS Subscribe Feed to my Blog.
I asked for help in freenode's irc network #wordpress channel. And a guy from there suggested that I go with wp-o-matic wordpress plugin
Anyways It took me a few minutes to realize this plugin is suitabile if you want to show other blogs feed to your blog instead of adding a RSS feed link to your own blog, this wasn't my goal so I skipped next in looking for something to help me on.
In the meantime I found the interesting feedburner google feed service that is able to help in creating, publishing and distributing RSS & Atom feeds.
I recommend you check it if you still haven't. It takes only a few clicks to register in order to use feedburner as a feed service.
Once you are set-up with Feedburner, you can activate all the cool functions, such as allowing your readers to subscribe via email, and also the Feedburner Flares.
Another nice thing about using feedburner is that it formats your fed content in a really pretty layout. By the way since the 2004 feedburner is owned by Google. So in a certain terms using feedburner instead of the default wordpress blog feed will probably attract more google visitors to your blog and is generally good for your blog placement in search engines.
For more of the advantages check feedburner's google service website .
However there is one major disadvantage in using the feedburner's feed service. Using the service rob you out of control of your feed, since all the feeds will be properly generated and formatted from feedburner.
The newly created service for feedburner by me is located on www.feeds.feedburner.com/hip0
Now to be able to use the newly installed feedburner service with my blog I had to test a couple of plugins before I came to the ones that really worked.
I played with feedburner_feedsmith_plugin , feedburner-widget , feedlist.2.61 , wp-keiths-easy-rss , rss-atom-avatar but I couldn't make any of them work properly with feedburner. Some of the up mentioned plugins were a real hell to configure so I completely abandondoned them seeing their inflexibility. Others were completely abondonede for more than 2 years from now, etc. etc. Fundamentally none of them worked for me.
I finally was able to bring up the feedburner service on my worpdress using The FD Feedburner plugin

All necessery to enable the plugin after you download into wordpress's wp-content/plugins directory is to configure the plugin from:
Plugins -> FeedBurner Configuration Here is the screenshot on the FD Feedburner plugin configuration screen:

FD Feedburner plugin

As you can see in the screenshot the plugin is really simple to configure. All you need to provide it with is the url provided to you by feedburner right after you register your blog for the service.

Now as you will have your http://www.yourwebsite.com/blog/feed/ be redirected to the feedburner's website generated feed for your website by the FD FeedBurner Wordpress Plugin all left to be done is to provide a link on your blog to your blog feed.

To accomplish this you will have to download the add-to-any-subscribe wordpress plugin.
Again installation of add-to-any-subscribe is a piece of cake, to install follow The install instructions here

Now hopefully your feedburner feed will be able to be distrubuted to your visitors via the AddtoAny subscription button on your blog.

Posted by hip0 | Permanent link

Fri May 14 12:46:03 EEST 2010

Resolve option 'masters' is not allowed in 'master' zone

I've enconuntered the error:

option 'masters' is not allowed in 'master' zone in /etc/named.conf on line 41 while changing some configuration options in a bind master name server.

The cause was really dumb!
The problem consisted in a mistake in one of my zone files descipription in the named.conf.
The fraction with code which was interpreted wrong by /usr/sbin/named-checkzone looked like the following:

zone "domainname.com" {
type master;
file "/var/named/chroot/var/named/masters/domainame.com"; masters { 1.2.3.4 }; };


And to be correct the above fraction of named.conf rules should look like:

zone "domainname.com" {
type master;
file "/var/named/chroot/var/named/masters/domainname.com"; };


Hope this will be a helpful tip to somebody facing the same error.

Posted by hip0 | Permanent link

Thu May 13 14:47:52 EEST 2010

The Ascension of Jesus Christ celebration in the Bulgarian Orthodox Church



The Ascension of Christ Orthodox Icon

At this day in Bulgarian Orthodox Church as well as the other Orthodox Churches around the world we celebrate the Ascension of Christ
This day is celebrated 40 days after Pascha or as also called (Eastern).
On that day 40 days after his glorious resurrection the Lord Jesus Christ has ascended and sat on the right hand of God. As the gospels testify.
Here in Bulgaria it's a widely popular superstition for that feast.
Many people belief on that date the dead who are in heaven or hell are loosed from their either bliss in heaven or torture in hell and they can freely come very close to those who are living.
Of course all this is just mythology and doesn't have to do nothing with the true Orthodox Christian Church belief. This superstition has left as a false belief which entered the people's belief as a consequence from the Bogomils heresy teachings.
It's a well known fact that at a certain period in time Bogomils sect who were characterized with rejection of all earthly things (human body, nature, food etc.) as corrupt and unggodly.
Though the general heretical teachings has been devastated and the truth by God himself with time, some of their false beliefs kept growing among the unacquainted population until this day.
On this day in Bulgaria we also have the tradition to colour chichen eggs in red just like on Eastern.
The reasons for the eggs colouring aren't completely certain though I've heard from a friend this is being done as a symbol that the 40 days until the ascension has passed and it's the end of the great days of the Lord who has been on earth in flesh 40 days after his resurrection, just like on Eastern we colour the eggs as a symbol for the resurrection.
On this day there is a tradition in Bulgaria that most people go and visit the graves of their departured beloved ones to show honour for their earthly living and remember about their live, though again this is not really a teaching of the Church but rather a human addition to what the Orthodox Church teaches.
The day of the Holy Ascension of the Lord Jesus Christ is also called All Soul's day since all souls are to be resurrected and be judged by God in the last day as God tought us through the teachings in the Holy Bible and his Orthodox Church.
There is a practice among some people in the Church to great themselves with "Christ has Ascended!" instead of "Hello" and on the other side the man has to answer to the greating "Truly he has Ascended!".
It's a really interesting recurring miracle in a near place to Obrochishte called "The Ascension of the Lord" their is a spring there that springs out water each year only on for the feast "The Ascension of the Lord" in the rest time of the year the spring is dry.
That's a real miracle that testifies for the ascension of Christ people know that miracle recurring for many, many years.

Posted by hip0 | Permanent link

Thu May 13 14:12:11 EEST 2010

How to enable HTTP gzip Compression on CentOS 5.x to speed up Apache Webserver

It's a wide known fact that the so called HTTP Compression provided by mod_gzip module in Apache 1.x and by the mod_deflate module on Apache 2.x saves up a lot of internet traffic by compressing the transferred data in between the client -> server interaction.
Nowadays almost 98% or 99% of the browsers on the net perfectly support the mod_gzip file compression.
Therefore enabling the http gzip compression is a must have module in every serious webserver out there which is targetting better performance and improved interaction in terms of speed between the client / server interaction.
In that manner of thought I recently had to enable the mod_deflate on CentOS release 5.4 with Apache webserver version httpd-2.2.3-31.

Here is an uname output to be more specific about the kernel release on which the Webserver is running:

Linux centos 2.6.18-128.7.1.el5 #1 SMP Mon Aug 24 08:21:56 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux


CentOS's Apache webserver comes with enabled by default deflate Apache module.
Thus all necessery to be done in order to enable the http compression is to simply create the file and paste in it:
# Insert filter
SetOutputFilter DEFLATE

# Netscape 4.x has some problems...
BrowserMatch ^Mozilla/4 gzip-only-text/html

# Netscape 4.06-4.08 have some more problems
BrowserMatch ^Mozilla/4.0[678] no-gzip

# MSIE masquerades as Netscape, but it is fine
BrowserMatch bMSIE !no-gzip !gzip-only-text/html

# Don't compress images
SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png)$ no-gzip dont-vary

# Don't compress already compressed stuff !
SetEnvIfNoCase Request_URI .(?:exe|t?gz|zip|bz2|sit|rar)$ no-gzip dont-vary
SetEnvIfNoCase Request_URI .pdf$ no-gzip dont-vary

# Make sure proxies don't deliver the wrong content
Header append Vary User-Agent env=!dont-vary

# Log Stuff !
# DeflateFilterNote Input input_info
# DeflateFilterNote Output output_info
# DeflateFilterNote Ratio ratio_info
# LogFormat '"%r" %{output_info}n/%{input_info}n (%{ratio_info}n%%)' deflate
# CustomLog /var/log/httpd/deflate_log deflate


I used the article HTTP Compression on Redhat / CentOS / Fedora to create this one, so thanks to the author of the up mentioned article.

Posted by hip0 | Permanent link

Thu May 13 13:43:59 EEST 2010

How to disable qmail vpopmail email user

I had a task to disable few email accounts previously created with vadduser on one of the virtual domains served by vpopmail runnning on top of qmail email server.
This is not the first time I have to this and everytime next time I have to do it I had to spend few minutes scratching through my memory for how I did it the last time.
Therefore this time I decided to blog here what is the exact way to disable email vopmail accounts. There are two reasons for that:

1. This could be helpful to somebody else online looking for a quick way to disable vpopmail email accounts without deleting the vpopmail email accounts with the vdeluser command.

2. It would be easier for me to just search through my blog and find how I achieved the vpopmail emails lock out in case I have to do it once again in the near or far future :)

So enough talks here is the command to execute to lock out (disable) an email address using vpopmail virtual domains.

debian-server:~# vmoduser -d -p -w -i username@domainname.com


The above command will disable accessability to the sample email address username@domainname.com for pop3, imap and webmail acess and will yet keep the email address existing on the vpopmail server and intact.
This is vital if you need to receive some further email on that email boxes, but you still want to disable access to the email and redirect the email content using for instance a .qmail mail redirect file.

Posted by hip0 | Permanent link

Wed May 12 13:51:28 EEST 2010

Fix "Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configuration" on Debian Squeeze Apache 2.2

I am enabling http gzipping on Apache 2.2.9-10+lenny7 I included the following Apache directives in my /etc/apache2/apache2.conf

<Location />
# Insert filter
SetOutputFilter DEFLATE

# Netscape 4.x has some problems... BrowserMatch ^Mozilla/4 gzip-only-text/html

# Netscape 4.06-4.08 have some more problems
BrowserMatch ^Mozilla/4\.0[678] no-gzip

# MSIE masquerades as Netscape, but it is fine
# BrowserMatch \bMSIE !no-gzip !gzip-only-text/html

# NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48
# the above regex won't work. You can use the following
# workaround to get the desired effect:
BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html

# Don't compress images
SetEnvIfNoCase Request_URI \
\.(?:gif|jpe?g|png)$ no-gzip dont-vary

# Make sure proxies don't deliver the wrong content
Header append Vary User-Agent env=!dont-vary
</Location>


Then I tried restsarting the Apache Webserver:

debian-server:~# /etc/init.d/apache2 restart
Syntax error on line 56 of /etc/apache2/apache2.conf:


and I ended up with the following error:

Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configuration

A quick look through my Apache module configurations and consultation with Google shown I'm missing the mod_deflate module along my Apache server loaded modules.

To enable the module to resolve the error issue:

Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configuration all I did was:

debian-server:~# ln -sf /etc/apache2/mods-available/headers.load /etc/apache2/mods-enabled/headers.load


Then I restarted the Apache:

debian-server:~# /etc/init.d/apache2 restart


Hooray now html content passed from the Apache webserver to the end users is transferred in a gzip format ! :)


Posted by hip0 | Permanent link

Wed May 12 12:26:07 EEST 2010

How to change webmin user password

I had to change a webmin username's password recently. After spending few minutes Googling I came to the answer here is a quote from Webmin Website

How do I change my Webmin password if I can't login?

Included with the Webmin distribution is a program called changepass.pl to solve erecisely this problem. Assuming you have installed Webmin in
/usr/libexec/webmin, you could change the password of the admin user to foo by running
/usr/libexec/webmin/changepass.pl /etc/webmin admin foo


This works like a charm and I was able to change a certain username's password on a CentOS 5.3 right out of the box.
Probably on other Linux distrubutions as well as freebsd it's quite probable that the changepass.pl webmin change password script is located in different location.
So if you are about to change webmin's password on other Linux or BSD architecture just either find the script using the gnu find command or use the locate command to search for it and execute the script changing the script location in the foreshown example.

Posted by hip0 | Permanent link

Tue May 11 23:05:24 EEST 2010

Installing mod antiloris on x86 and x86_64 bit CentOS 4 and 5 to protect from the recent slowloris DoS attack

I had to install mod antiloris in order to be sure the Apache is secure against the slowloris Denial of Service attack that emerged in the summer of 2008.
Luckily David Hrbac has already prepared an rpm packages for CentOS so the installation is really simple.
The installation of the module of course is dependant on the exact Linux architecture you're installing it on.
David has done a great work preparing the rpm packages for both x86 and x86_64 CentOS.
Even better he has prepared packages for both CentOS 4 and 5 releases.

Here is what the uname command returns on the CentOS server where I install the module.

Linux centos 2.6.18-128.7.1.el5 #1 SMP Mon Aug 24 08:21:56 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

Here is how I did the install in a really simple and quick way on a CentOS 5 runing an x86_64 CentOS release:
1. Download the prepackaged rpm of mod_antiloris in rpm for CentOS from this link

1. Install it using the command

[root@centos-server~ ]# rpm -ivh mod_antiloris-0.3-2.el5.hrb.x86_64.rpm


2. Check the configuration syntax is fine

[root@centos-server~ ]# /etc/init.d/httpd configtest


3.Restart the Apache webserver [root@centos-server~ ]# /etc/init.d/httpd restart


Test it using the slowloris script issuing the command:

[root@centos-server~ ]# perl slowloris.pl -dns yourdomainname.com -port 80 -timeout 1 -num 300 -cache


On my installation it worked like a charm you don't need to do any configuration settings or anything for slowloris to take affect just the Apache restart as marked above is all necessary to load the anti slowloris module on your CentOS Linux.
In case need to install the mod antiloris to another architecture than the one described in this article, just download the appropriate rpm centos version from the list below:

Download links to rpm packages of mod antiloris for x86 and x86_64 for Centos 5.

Download mod_antiloris rpm CentOS5 x86

Download mod_antiloris rpm CentOS5 x86_64

Download mod_antilrois rpm CentOS4 x86

Download mod_antiloris rpm CentOS4 x86_64

Of course this is just one of they ways you can do it. You can always use mod_qos or something similar as well as I've mentioned in one of my previous posts.
Here is also an article on How to defend from slowloris Denial of service using mod_qos on CentOS

Posted by hip0 | Permanent link

Thu May 6 08:31:23 EEST 2010

St. George's day in Pomorie Monastery


St. George Bulgarian icon

I'm in pomorie monastery right now. Pityle pomorie's monastery's website can only be accessed in Russian and Bulgarian language.
Pomorie Monastery is named after the greatly honoured saint George, he is highy honoured here in Bulgaria as well as in many countries in the orthodox christian world, he is also venerated in some other non-orthodox countries one of which for instance is England.
Some of the monks here in the monastery used to say it's St. George himself who invited me to the monastery for a blessing since I myself am named after the saint.
Many people from Pomorie and near Burgas's region and even from afar are gathered to commemorate St. George's Martyrdom and celebrate the Saint George's day . It's the second time I'm in Pomorie's monastery which by the way is a Male monastery. I'm really happy that such a cloisters still exists in this troubles times in sense of spirituality.
The place is really peaceful and the fact that it's georgraphically located near the sea makes it a must see destination if you're visiting Bulgaria or travelling through the country.
The history of the monastery is also very interesting. Currently the brotherhood includes 6 monks. The monastery abbot is a really kind and gentle man and the brothers are united in comparison to the observed dividement between monks walking the way of salvation in spiritual abbeys nowadays.
The main reason people are coming on the feast of st. George is to beg for the prayer intercession of the Saint for us the sinners in front of God, that God has mercy and forgies our trespasses and have mercy on us.
Each eart Saint George takes place here in Bulgaria on Sixth of May (06.05) and is one of the greatest christian as well as secular celebrations in Bulgaria. The 6th of Many is also an official holidays within the country and the official feast of the bulgarian army.
St. George is considered one of the greatest Christian saints in the Orthodox, world and even more venerated in Bulgaria.
It's a common practice in Bulgaria as well as in Greece that spiritual abbeys or Churches are named after St. George.
What makes St. George even more special for us the fact that the Bulgarian Orthodox Church possesses a whole monastery named after st. George located in Mounth Athos. You can read more about St. George (Zograf) Bulgarian Monastery located in Mount Athos here
St. George's monastery in Mount Athos is named Zograf after a miraculous icon located in the Monastery which dates back to the 14th century.
St. George Fanuilska miraculous icon Zograf Monastery
Saint George Zograf Miraculous icon owned by Zograf's Monastery - Holy Mount Athos

The Holy Lord has completed many miracles through the icon of st. George Zograf. Many people received physical or spiritual healing, whilst others has received according to their prayers when they approached the icon as great relic to honour God. An interesting fact is that Pomorie Monastery also possesses a great relic a miraculous icon of st. George

Saint George Pomorie Monastery miraculous icon, relic
a miraculous icon of St. George Pomorie

In the center of Pomorie Monastery is located a Holy Fountain St. George. The wholy history of the monastery is related to the Holy Fountain.
According to bulgarian orthodox church tradition the Monastery was established by a Turkish bey in the 13th or 14th century. In that time the bay got an incurable sickness. He tried everything a man could try to get a relief or a cure. He went to a physician, he tried herbs, he tried going and praying to Allah in the mosque an imam praied over him to beg for Allah's blessing and healing etc ...
But nothing helped. One night the bey had a dream that a holy fountain is springing out of his house yard.
When he awoke from his sleep he went and digged on the same place where the holy spring has emerged. And oh miracle ! A spring emerged. He drinked from the water and got healed from his illness.
In the pit where he digged he found an image of St. George which is currently embedded in one of the walls of the tower of the holy spring in Pomorie's monastery.
Afterwards the bey according to God's revelation to establish Pomorie's Monastery while all his family members accepted monastic life.
The bey has give away all hid possesseions (land, money) etc. to the monastery just established.
In the years since then the monastery has been destroyed once and rebuilt, many people has received a relief or healing while drinking from the Holy Fountain.
This year God has blessed the monstery even more abundantly. The abbot and one of the monks has temporary taken some Saint remains and brough them for pilgrimage in the monastery.
The saint remains are of St. John Chrysostom , St. Gregory the Theologian , st. Gregory Palamas
Some of the other relics which are available for pilgrimage in Pomorie monastery until 10th of May are st. remains of Glinsk elder hermits as well as

Saint Martyr Dasius icon
St. martyr Dasius who was tortured and slained here in Bulgaria for his faith in our Lord and Saviour Jesus Christ.

Posted by hip0 | Permanent link

Tue May 4 12:08:31 EEST 2010

Mirroring web site content ignoring the robots.txt prohibition rules with wget on Linux

I wanted to mirror a content of a website which included a robots.txt file with specific directories Disallow rules e.g. ,it included some code like for instance:

User-agent: *
Disallow: /privatedir/


Since the restriction on automated downloads on /privatedir/ was at hand I needed to get around the restriction using some command line downloaded like wget . After a quick look online I found the wget FAQ which included a good description on how to ignore the robots rules in robots.txt.
Furthermore I consulted with wget's manual because I wanted to mirror only a part from the whole website (mirror only a data of a certain directory). Finally I ended with the following wget rule which got me around robots.txt Disallow restrictions:

freebsd# wget -e robots=off --wait 3 --mirror --level 1 --convert-links http://www.domaincom/privatedir/index.html


Issuing the above command mirrored the whole privatedir without any restrains, here is what does the option convert-links does:

--convert-links' - After the download is complete, convert the links in the document to make them suitable for local viewing. This affects not only the visible hyperlinks, but any part of the document that links to external content, such as embedded images, links to style sheets, hyperlinks to non-HTML content, etc.

Also as you can see from the above command line I've used the "--wait 3" because I wanted to be sure that some mod rewrite regular expression rules on the server won't cut my access to the /privatedir/ directory, because of the rapid file fetch.
The ignore of the robots.txt itself is done via the:
-e robots=off wget parameter.

Posted by hip0 | Permanent link

Mon May 3 22:06:27 EEST 2010

How to fix unbootable Windows with "Windows could not start because the following file is missing" \WINDOWS\SYSTEM32\CONFIG\SYSTEM

The Desktop computer system that my sister is using is running a Windows XP Professional Service Pack 2 (SP2).
The Windows installation is almost 2 years old, however I was really surprised how the damned Microsoft software broke.
Here is how, one day I got really mad at my sister she completely drove me out of myself.
Being affected by her continuous unethical behaviour I decided to return it back to her and logged in with Window's
administrator account and changed her password.
The Spybot Search and Destroy (S&D) spyware active protection (Tea Timer) warned me that some registry settings will be changed while I was changing my syster's Windows password and I accepted the change. Hereafter I restarted the system afterwards and guess what? Windows couldn't boot anymore!
Let me ask you a question is that unsual for the shitty Windows operating system? NO IT'S ABSOLUTELY NORMAL :)!
That pissed me off a bit so I left the machine with unbootable Windows System for a few weeks 'till today.
The error message which occured during Windows boot time was:

Windows could not start because the following file is missing
or corrupt:
\WINDOWS\SYSTEM32\CONFIG\SYSTEM

You can attempt to repair this file by starting Windows Setup
using the original CD-ROM.
Select 'r' at the first screen to start repair.


To fix the issue I had to call a friend (Alex) and ask him for a Windows XP SP2 install cd.
We used the Windows System Recovery console to boot up and access the file system. After the Recovery Console loaded we tried to switch to the C:\ drive but the hard drive was taking ages scraping through the drive, with the hdd led indicator blinking all the time.
First I suspected something could be wrong with the hard drive on the physical hdd layer. However I instructed Alex, to issue the CHKDSK command to see if that would do any good.

That's it the good old CHKDSK fixed the file system issues and we rebooted. And hooray such a joy!
Unbelievable the System worked again! Hooray! :)

Posted by hip0 | Permanent link

Mon May 3 15:34:55 EEST 2010

Defending Apache on FreeBSD from Slowloris Denial of Service Attack (DoS) with mod_antiloris

Here is a quick way to defend FreeBSD 7.2-RELEASE-p4 system from the Recent Apache Slowloris Denial of Service.


1. Install the mod_antiloris freebsd Port

freebsd# cd /usr/ports/www/mod_antiloris
freebsd# make install clean


2. Edit your /usr/local/etc/httpd.conf

Find the following line in your bsd httpd.conf:

#LoadModule antiloris_module libexec/apache2/mod_antiloris.so


As you can see the LoadModule line loading the mod_antiloris slowloris Denial of Service prevention is commented, so you will have to uncomment it to read as:

freebsd# vim /usr/local/etc/httpd.conf
LoadModule antiloris_module libexec/apache2/mod_antiloris.so


Next we restart the Apache Webserver in order to load the newly enabled module mod_antiloris in Apache.
However before the Apache restart, we check Apache configurations are fine to be sure Apache will re-launch, after restart.

freebsd# /usr/local/etc/rc.d/apache2 configtest
Performing sanity check on apache2 configuration:
Syntax OK


Now as we have assured ourselves Apache httpd.conf syntax is fine we restart the Webserver.
freebsd# /usr/local/etc/rc.d/apache2 restart
Syntax OK
Stopping apache2.
Waiting for PIDS: 60920.
Performing sanity check on apache2 configuration:
Syntax OK
Starting apache2.


Of course all the above simplified install example assumes your port tree is uptodate.
I did the install on my FreeBSD box:
FreeBSD pcfreak 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4 #0: Fri Oct 2 12:21:39 UTC 2009 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386

If your ports tree is update the upper install mod_antiloris FreeBSD install guide will be all you need.
Yet if your port tree is not update you might consider updating your port tree before you proceed.

You might like to use my FreeBSD 7.2 stable supfile downloadable from here

To update simply using the my FreeBSD 7.2 supfile then issue the following commands:

freebsd# cd /etc/
freebsd# fetch http://pc-freak.net/files/stable-supfile-7.2
freebsd# csup -g -L 2 /etc/stable-supfile-7.2


There as you should have the latest stable port tree for FreeBSD 7.2, then just continue step by step from as explained in Step 1. hereinbefore.
I'm convinced the installation on FreeBSD 7, 7.x and FreeBSD 8 and 8.x will be analogous.
So I hope this small article will be helpful to somebody of the FreeBSD novice crowd out there.

If you want to be absolutely sure The Apache is Secured against the Slowloris attack on your FreeBSD box, download the slowloris denial of service attack tool and issue Attack against your Apache Web Server.

perl slowloris.pl -dns yourdomainname.com -port 80 -timeout 1 -num 300 -cache


That's all folks!

Posted by hip0 | Permanent link

Sat May 1 17:32:17 EEST 2010

Adding Multiple Language support and Fixing issues with slovenian symbols on Squirrelmail Web Mail on Linux

No doubt Squirrelmail Web Mail is one excellent piece of software you can use on top of Qmail mail server.
However as with every piece of software you face issues every now and then.
The issue that a colleague of mine has encountered at the Company where are work is was caused by a broken character encoding of some of the slovenian letters like the Slovenian "c" and Slovenian "s".
Besides that I've noted that the basic Squirrelmail installation I have previously done, some time ago was missing the all languages squirrelmail internationalization pack.

I revealed the missing Squirrelmail internationalzation by going to Squirrel Web mail's installation directory /var/www/squirrelmail/locales/ and listing the content of the directory.:
The locales directory listing displayed only 4 files README.locales, index.php and timezones.cfg as well as a directory containing the default encoding configured to squirrelmail

The file README.locales explains thoroughly how to install all of the available translation languages to squirrelmail.
If you feel uncertain / informed on what you do I suggest you read The documentation available on Internationalization on Squirrelmail's website
Anyways here is how for the lazy ones step by step walk through:

debian-server:~# mkdir /root/locales/;
debian-server:~# cd /root/locales/
debian-server:/root/locales# wget http://bit.ly/bKbrid"
debian-server:/root/locales# tar -zxvvf all_locales-1.4.18-20090526.tar.gz


The above commands will download all locales for the 1.4 generation stable release of Squirrelmail.

Note that it's would be a good idea to download the latest all_locales on squirrelmail's download webpage .

Now you will have in your /root/locales/ the following directory structure.

all_locales-1.4.18-20090526.tar.gz COPYING.locales images/ locale/ TRANSLATORS
ChangeLog.locales help/ install* ReleaseNotes.locales version


To install all the locales addons to squirrelmail to achieve internationalization of your Web mail you'll have to invoke the install script which can be seen from the above file list.

debian-server:/root/locales# ./install
Please enter path to your squirrelmail installation: /var/www/squirrelmail/


Above in the prompt urging you to enter a directory enter the location to your squirrelmail installation in my case as shown above it's /var/www/squirrelmail

That's all now all necessery files will be merged with your squirrelmail installation directory.

Now you can safely remove the /root/locales squirrelmail internationalization installer files
debian-server:~# rm -rf /root/locales


However there is one more vital step to partake to assure Slovenian Symbols as well as other character encoding written in the UTF-8 standard will appear in your email communcation in squirrel web mail.
You'll be required to change Squirrelmail's Default Language
debian-server:/var/www/squirrelmail# ./configure

SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Main Menu --
1. Organization Preferences
2. Server Settings
3. Folder Defaults
4. General Options
5. Themes
6. Address Books
7. Message of the Day (MOTD)
8. Plugins
9. Database
10. Languages

D. Set pre-defined settings for specific IMAP servers

C Turn color on
S Save data
Q Quit


In the above screen Choose: 10. Languages The following screen will Appear.

SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Language preferences
1. Default Language : en_US
2. Default Charset : iso-8859-2
3. Enable lossy encoding : false

R Return to Main Menu
C Turn color on
S Save data
Q Quit


Here you'll need to change the variables: 2. and 3..
There Default Charset variable should be changed to utf-8 as well as the Enable lossy encoding variable should be switched to true.

If you wonder what Enable lossy encoding does please read the Supported Charsets documentation section on Squirrelmail's website
The description for Lossy Encoding on the above link is:
Lossy Encoding - allows charset conversions when the output charset does not support all symbols used in the original email charset.

Hopefully this will solve your issues with broken Slovenian encoding in Squirrelmail and will add internationalization support in your Squirrel Web Mail.
If use the commend form and inform me about the issues you encounter and I'll try to help!

Posted by hip0 | Permanent link