October 2010 Archives

Sun Oct 31 20:15:45 EET 2010

How to remove the joomla website powered website from the joomla string in the URL

ou need to find your joomla installation directory for instance if joomla is installed in /home/hipo/public_html/joomla
You must go to to this directory and edit the configuration.php file.
In the joomla's configuration.php you need to edit the variable $var_site:

The current variable in your joomla configuration will probably be something like:

var $live_site = 'http://www.yoursite.com/joomla';


var $live_site = 'http://www.yoursite.com/';


Also you might need to change change: var $ftp_root = 'public_html/joomla';
to
var $ftp_root = 'public_html/;


Hopefully now the joomla string will be removed from your website URL address.

Posted by hip0 | Permanent link

Sat Oct 30 21:02:15 EEST 2010

Alternative way to kill X in Linux with Alt + Printscreen + K

I've recently realized that the CTRL + ALT + BACKSPACE keyboard combination is no longer working in Debian unstable.

This good old well known keyboard combination to restart X is not working with my xorg 7.5+8 under my Gnome 2.30 desktop
However thanksfully there is another combination to kill the X server if for instance if your Gnome desktop hangs.

If that happens simply press ALT + PRINTSCREEN + K this will kill your X and then reload the (Gnome Display manager) gdm.

Another suggestion I've red in the forums of a way to enable back CTRL+ALT+BACKSPACE is to put in either .bashrc or .xinitrc the following command

setxkbmap -option terminate:ctrl_alt_bksp


BTW It's better that the above command is placed in ~/.xinitrc.

I've also red on some forums that in newer releases of Ubuntu. The CTRL+ALT+BACKSPACE can be enabled using a specific command, e.g. with:

dontzap -disable



Posted by hip0 | Permanent link

Fri Oct 29 17:06:21 EEST 2010

Fixing Disappeared intel net link 5100 wifi on Toshiba Satellite L300 1YA

I've recently had to fix a Toshiba Satellite L300 1YA notebook , running the shitty Windows Vista operating system.
For some reason suddenly the Net Link 5100 Wi-FI Network Adapter of the laptop mysteriously disappeared.
The led indicating the device is enabled was blinking the driver showed properly installed in Windows -> System and everything.
Even though that the wireless network scanning in the notebook was not working.

In networking in System there were two lines showing up with excalammation mark "!".

To fix the mess it took me 3.5 hours. I tried many things first logical thing I tried was reinstalling the driver with the latest available from Intel's website. Anyways this doesn't helped so I was about to think about other solutions.
What made thinks even worse was that the Vista installed was in Chineese!, yes you red this correctly chineese. You cannot imagine what a hell it is to deal with Windows whose language pack was Chineese ...

The Vista had installed also the Chineese antivirus program Rising which also provided the system with some weird firewall and this made the dealing with the problem even more complicated.

After many tries I finally completely removed the wireless driver on the system and reinstalled it with the latest version from Intel's website.
Thanksfully after a couple of reboots and going into save mode the Intel Net Link 5100 started working again by itself?!

Well you know how things goes with Windows, you never know what will happen next.

Maybe a lot of notebooks suffer the same weird issue with Wireless Wi-Fi adapter suddenly stopping to work.

So now you know the solution, remove the driver install it again, restart and it should be working again.
Hope this quick and dirty article will save somebody an hours of time to figure it out ...

Posted by hip0 | Permanent link

Thu Oct 28 13:45:23 EEST 2010

Configure HAN Wireless WI-FI Internet on Windows XP/ Vista / 7 and Linux (Wireless Internet in Arnhem Business School)

It's so annoying. Everytime you need to configure your internet at HAN (Arnhem Business School) you have to go to the Computer Center and look for the university IT support to just install you a simple program.

For one or another reason this guys has decided to use a strange encryption protocol which is an add on over the normal Wireless Connection.
Thus to properly connect to the Internet with your Notebook running Microsoft Windows or Microsoft XP or probably Windows 7 you have to install a software called SecureW2

Since I believe many students at HAN / Arnhem Business School (ABS) had to reinstall their Windows or has to do some routine thing like reinstalling completely the Wireless Network drivers on their PCs.
Then you certainly need the SecureW2 program and then again you have to go to this Computer Center instead of being able to simply do it on your own.

Therefore I decided to share here the complete SecureW2 software they use here in Hogelschool van Arnhem en Nijmegen

You can download the Wireless Internet Configuration Software for Arnhem Business School (ABS) / HAN here
Above I share all the versions of the program I have for both Windows XP / Vista and 7.
However for those who want to download the SecureW2 HAN Wireless Internet Configuration program file by size please check here

The program is also coming with documentation and manual even :)
So after downloading the SecureW2 and going to HAN at school then you can configure the program on your own.

Apart from that you might also want to check my previous post where I have explained how to configure the Wireless Network to work with Anrhem Business School's Internet on my Debian Linux

Posted by hip0 | Permanent link

Wed Oct 27 12:37:33 EEST 2010

How to enable Avatars picture in PHPBB forum / Solution to "The avatar functionality is currently disabled"

The phpBB forum I've recently started was not accepting the upload of avatars. In the User Control Panel after I've tried to upload an avatar I got this message:

The avatar functionality is currently disabled

Thus it seems that avatars are disabled by default in PHPBB 3.0.2-4 on Debian Linux.
To enable back the avatars and also enable the avatars upload function I had to do few certain things as you can read below in steps:

1. Create the avatars directory in the phpbb document root

debian:~# mkdir /usr/share/phpbb3/www/avatars/
debian:~# mkdir /usr/share/phpbb3/www/avatars/upload
debian:~# mkdir /usr/share/phpbb3/www/avatars/gallery


2. Set proper permissions to the avatars directory to be writtable by the Apache user

I decided to change the owner of the dir to www-data to achieve that.
debian:~# chown -R /usr/share/phpbb3/www/avatars


3. Login with admin user to phpbb and go to Admin Control Panel (ACP)

Admin Control Panel is located on the bottom of the page, so just click over it.

After you're in the ACP
4. In the general tab click over Avatar Settings

E.g.
General -> Avatar Settings


5. Change Enable gallery avatars and Enable Avatar uploading and rise up a bit the maximum avatar file size

Set the below two to yes:

Enable Gallery Avatars = Yes
Enable Avatar Uploading = Yes

Here the default size of avatar I found to be very low it was set to: 6144 Bytes that's only 6kb, so I changed the
Maximum avatar file size = 61440

6. Set the directories to store the avatars and the avatars gallery dir

This two you will have to set to be:

Avatar storage path = avatars/gallery
Avatars gallery path = avatars/upload

That's should be all necessary to enable the avatars on your phpbb forum and also enable the avatars uploading.
Now just press the Submit button to approve the changes.
Also if you need to change the maximum avatar picture dimensions just configure that before you press the Submit button.

To test the avatars logoff from your admin account login with a regular user and go to:

User Control Panel (UCP) -> Edit Avatar -> Upload from your Machine


Press the choose button and select the avatar picture you would like to have as your avatar.
Last step is to press the Submit button.
Now the avatar image should appear, everytime you wrote a post on the forum :)

Posted by hip0 | Permanent link

Tue Oct 26 14:24:26 EEST 2010

How to restrict access to phpBB categories only to registered users

1. Login with your phpbb administrator (admin) account

2. Go to Groups' forum permission Permissions in Administration Control Panel
Administration Control Panel (ACP) -> Groups' forum permissions

3. In the left menu pane click Groups' forum permissions
There you will see the text Link up usergroup (located in right of the Groups' forum permissions just chosen.

4. Choose the Guests look up group from the drop down menu
Press submit there and then check the tick box reading All forums located a bit below the list with forum categories and topics.
Next you will have to press the Submit button.

5. Choose No Access for Role: to each and every forum category and threat

There you will se a list of all your forum categories and topics each and next to each of it you can assign permissions for the Guests user group (e.g. not registered users).

Make sure you have selected No Access for all the list.

As a last step to complete the procedure press the Apply all permissons button.

From now on only registered users will have access to your forum Topics and Categories.
Cheers! :)

Posted by hip0 | Permanent link

Mon Oct 25 14:49:38 EEST 2010

Remove print, pdf and Email to a friends tiny icons from your Joomla Posts

s I've blogged in my previous blog that this days I'm mostly learning joomla, because I need it to fix a website.
One of the things in the Joomla website that needed adjusting to make the website look a bit more professional was the removing of the default 3 small icons supposed to be useful reading Email to a friend , Print webpage and Email to a friend

Removing the 3 icons and the links seemed to be very easy to remove them. I had to partake the following steps:

1. Go to Joomla's administration page and login

2. Go to Article Manager

Content -> Article Manager


3. Move through all the articles and click each of the articles

There you have to click further to Parameters and make sure that for:
PDF Icon , Print Icon and E-mail Icon is set to Hide

After completing this press the Save button located in the upper right corner of the webpage.
Note that by default this three paramers value will be set to Global and if the 3 icons are not set to a Hide in Global settings, the icons will continue appearing until the Hide for the three ones is selected.

Posted by hip0 | Permanent link

Sun Oct 24 20:01:20 EEST 2010

Making your Joomla URLs Google friendly with sh404SEF plugin (Very simple Joomla link SEO)

For 2 days already I'm playing with Joomla and learning this CMS basic usage.
Along with that I've been assigned a task to optimize a Joomla based restaurant website to play well with Search Engines.

After some time researching in Google I've found a number of Joomla extensions which seemed very hepful, however I still haven't tested all of them and I'm still more or less in a process of gettint to know the joomla framework and it's capabilities.

Anyways I've succeeded in installing the sh404SEF extension which I've found as a recommended and the most easiest one available out there which is able to rewrite the joomla site URL links to be attractive and more meaningful for Search Engine (BOTs) Crawlers.

Nevertheless it appears that the sh404SEF plugin is no more available in the official website for free and it's no longer GPL licensed.
So practicly it has almost disappeared from the net, it took me quite an effort to actually find a link to a downloadable version of the plugin. Finally I found this blog containing a download link to the file
Because obviously the sh404SEF joomla extensions seems to be slowly disappear from the net I decided to make a mirror you can download the Joomla com_sh404SEF-15.1.0.20_Beta_build_237 plugin for free here

Installing the plugin is very straight forward.

Open the Joomla plugin Installer

You need to go to after logging in to joomla admin to:

Extensions -> Plugin Manager

Then you should install the plugin with the URL installer.

Immediately after installation read the Install and configuration instructions, on the README page to appear you will also notice a link which will lead you directly to the sh404SEF configuration panel from there you can tune many things related to Search Engine Optimization and there you can enable the url links rewritting.

Posted by hip0 | Permanent link

Fri Oct 22 15:37:06 EEST 2010

Windows Vista disappeared from my grub boot options after update to grub2 (How to revert back Windows Vista to Grub boot menu)

(How to revert back Windows Vista to Grub boot menu) A couple of weeks before I've noticed that my Windows Vista diasappeared from my boot options in Grub
Actually the Windows Vista disappared from the grub OS boot screen, right after the grub package was updated to grub2.

It appears in the Debian Testing/Unstable (Squeeze / Sid) and apparently the newer releases of Debian after the stable one, the grub package is being substituted with the transitional package Grub2 .

In grub2 there are plenty of improvements over the good old grub, anyways. As with most advancements the grub2 I find a bit more complicated and the way for editing the boot options operating system I find more harder to achieve than with the grub generation 1.

Anyways the comparison between grub and grub2 is a very long discussion which can be followed on many forums online, the main goal of this article is to show you the few simple steps I took to include my Windows Vista as a boot option once again in my grub 2 Operationg Systems selection menu.

1. Use fdist to determine the exact partition where your Windows Vista is located

hipo@debian:/etc/grub.d$ /sbin/fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x2d92834c

Device Boot Start End Blocks Id System
/dev/sda1 1 721 5786624 27 Unknown
Partition 1 does not end on cylinder boundary.
/dev/sda2 * 721 9839 73237024 7 HPFS/NTFS
/dev/sda3 9839 19457 77263200 5 Extended
/dev/sda5 9839 12474 21167968+ 83 Linux
/dev/sda6 12474 16407 31593208+ 83 Linux
/dev/sda7 16407 16650 1950448+ 82 Linux swap / Solaris
/dev/sda8 16650 19457 22551448+ 83 Linux
hipo@noah:/etc/grub.d$


2. Create an empty file in /etc/grub.d/42_Windows
If 42_ number is already existing or a script with a higher number is already present in /etc/grub.d you will need to assign a number that doesn't coincide with another script's head number.

3. Open the empty file and edit it with your favourite text editor I personally use vim :)
debian:~# vim /etc/grub.d/42_Windows


As in my case /dev/sda2 is the partition where my Windows Vista is installed I had to set root='(hd0,2)' in the script placed in 42_Windows that you can see below:

#!/bin/sh -e
echo "Adding Windows" >&2
cat << EOF
menuentry "Windows Vista" {
set root='(hd0,2)'
chainloader +1
}
EOF


Note! here that in the above code (hd2,0) should be set according to your partition as it shows in fdisk.
4. Last you need to execute the update-grub cmd

debian:~# update-grub


All left is to Restart your Linux and your Windows Vista should show in the boot menu OS options.

Posted by hip0 | Permanent link

Thu Oct 21 19:35:52 EEST 2010

Business Research Projects - A Solution Oriented Approach (Electronic Book Download)

Business Research Projects

Two years ago while I was still studying in the E cluster in HRQM study stream - Arnhem Business School, I was following the study module Counseling The study Counseling teacher recommended us a book to read called Business Research projects - A Solution Oriented Approach. The book is authored by Jimmy Keizer and Piet Kempen.

I've red the book and I found many of the things inside quite interesting and educative.
Since the book's electornic version is not easy to find and yet I somehow managed to download it from somewhere back in the days I decided to share it here for convenience of some future students that will be prescribed to read the book and doesn't have the money resourse to buy the book in either electronic or hard copy.

Therefore you can download the Business Research Projects - "A solution Oriented Approach" book here
I hope this book will help some poor student out there.
Well, enjoy the book read! :)

Posted by hip0 | Permanent link

Thu Oct 21 17:11:36 EEST 2010

Are you saved? the Orthodox Christian Answer

The answer to the so famous in Protestant Christian world of "Are you Saved?".
And the so wide spread ideas of protestanism of instantly being saved by just acceping our Lord Jesus Christ as a Lord and Saviour.
The Orthodox Christian answer to this very important question you can found in the video below.
I hope this answer will be of help to some protestant Christians out there to realize the deepness and truthfulness Orthodox Christianity holds in itself.


Posted by hip0 | Permanent link

Wed Oct 20 14:48:03 EEST 2010

Business Ethics my completed Individual Assignments (Solving ethical cases using well known ethical theories and intuition)

As a student in Arhnem Business School (ABS), I'm currently following the Business Ethics module.
This university subject's purpose is to make the student aware of the different ethical / philosophical approaches one can partake in solving Business cases.
As part of my studies I've been assigned so far 4 individual assignments that I have to solve according to general ethical theories out there.

I've decided to share my solved cases as well as the case assignments. I hope this assignments will be helpful to other Arnhem Business School students which are also following the Business Ethics study module and provide the student with some samples on how they can write their individual assignments.
The student should be aware that actually my assignments are not graded with high grades most of them were graded with 7.5 and below so please don't try to copycat them but just use them as a samples.

Here are the case assignments texts as well as my perspective on solving them using the various ethical theories like Kantian's Categorical Imperative, Utilitarianism, Utilitarianism according to Mill, Virtue ethics (Aristotles, Socrates ..), Care ethics etc.

Here are the links to the files:

1. Solved Assignment 1 - Individual Case 1: "Extraction of natural gas
2. Assignment 2 - Case assignment text , Solved Assignment 2 - Individual Case 2: "Fire Detectors"
3. Assignment 3 - Individual Case 3: "The Human Resources Specialist"
4. Assignment 3 - Case assignment text , Solved Assignment 4 - Individual Case: "The Lost Coupon"
Apart from this individual assignments I and a couple of other guys were supposed to work on a common group project that deals with the recent Deepwater Horizon oil spill catastrophe and evaluate on that from Business Ethics perspective.
As soon as the Project is graded by the Business Ethics teachers I'll share this here on the blog as well.

Posted by hip0 | Permanent link

Tue Oct 19 17:14:25 EEST 2010

Adding support for Jamendo and Magnatune to Rhythmbox on Linux

I'm using rhythmbox to play music on my Debian Linux.
Rhythmbox is a good substitute for both audacious and xmms. XMMS is already very obsolete and it often crashes because of some of it's plugins.
On the other hand audacious is sometimes having problems on my notebook working with it's alsa plugin or pulseaudio especially if I play something in youtube.
With audacious my songs sometimes got stucked for some weird reason.
With rhythmbox I have never experienced this kind of issues.

Considering the fact that I'm a GNOME user rhythmbox is even more attractive for me.

During about 2 years ago I've heard about the Jamendo - community of free, legal and unlimited music published under the Creative Commons licenses.

Just about 10 months ago I've also discovered which is also a radio which allows free listening online of it's whole online catalogue.
That's why it was really interesting for me to have this two nice music streaming services directly into my rhythmbox.

I was very happy to discover that already a plugin that embeds the Jamendo and Magnatune Support to the Rhytmbox program.

To enable Rhythmbox to support Magnatune and Jamendo type in your root terminal:

debian:~# apt-get install gmpc-plugins gmpc-plugins-dbg
debian:~# apt-get rhythmbox-plugins


It's very likely that the rhythmbox-plugins might be already installed on your Linux, anyways I put the command above just in case if for some reason it's not installed.
Now launch your rhythmbox and on the left pane you will see the Jamendo and Magnatune text appearing and the two music networks icons showing up.
To start playing music in either in selected playlist by your or just play all the available music on Jamendo / Magnatune you should select either one or the other one.
Enjoy the nice music ! :)

Mon Oct 18 14:36:44 EEST 2010

Ecumenism a terrible threat for Orthodox Christianity (A dangerous spiritual movement that supports Globalism)

Ecumenism or oecumenism is a movemend that aims at bringing greater Christian Unity around the Churches and the world religions under "one faith".

The basic idea behind that movement was to unite All Churches nomatter of their basic beliefs and practices within them.
Otherly said it's trying to unite the Roman Catholic Church with Orthodox Church and the rest of Christian protestant faiths and denominations.
Historically this kind of movement has been existent for quite long, however the speed and scale it shapes today is something bizarre to the ecumenism movements that were before.
Simple said ecumenists are trying to create one United Church from all the existent Churches.

Of course on the first glimpse this sounds very tempting, especially if we consider that after the Great Church Great Schism (Where Roman Catholic Church split from the Orthodox Church) and consequently the emerging dozens and thousands of Churches as a result of the protestant schisms with Roman Catholics took place.
Today the Christian world is actually very divided and though most protestant denomination Churches claim they believe in Christ most of the prtestant Churches(denominations) practically confesses more or less different doctrine than the basic Doctrines of Orthodoxy or Catholicism.

For those that are aware of the exact reasons for the Great Schism , it's clear that the reasons fot the Church split has basicly two dimensions one was the Changing patterns of basic Church beliefs that Roman Catholics has decided to include in the basic Church doctrine and the other a bit less important but still present was the political fight between the Western and the Eastern Church.
However it's pretty clear that the Church split and the different Church life that the Western and Eastern Church led through the 956 years of division has made the two Churches very different in many senses.
Catholics changed the ancient Nicene creed of Faith
They took the Pope as an representative of Christ on Earth, they went at times after philosophic movenets like rationalism integrating it into Church life.
And changed various aspects of the Church order more or less to "adjust" so to say Christianity to the changing times.

With protestants coming to stage in the 16th century the things became even worser, because each protestant Church has it's own way of understanding the scriptures, they rejected the tradition within the Church. Many protestant Churches rejected the Church sacrements and the Church 7 mysteries etc. etc.

The whole ecomenism movement is very complicated and man needs to read a lot before he gets the real picture.
Nevertheless the basics behind I've already mentioned, The Roman Catholic Church is making serious attempts to create unity between Churches.
They do have their Holy Liturgy (Masses) in cooperation with Protestant Churches, they do organize events inviting all kind of Church representatives all over the world and try to create cohesion between the Churches.
Of course the Pope is a very main figure in the heretical meetings that Ecumenists have.
On that "union meetings", all kind of practices known to either Protestant Church denominations and Roman Catholics as well as Orthodox Church practices are combined into a very mixed heretical "church service".
Of course everybody attending that kind of event is supposed to venerate the Pope as the person who holds the most power and the last word on the ecumenstic summmonings.

What is really pity that even a lot of Orthodox Churches as well as Orthodox Church representatives go to that heretical ungodly meetings and does light candles with the heretics or participate in heretical prayers.
This of course is strongly prohibited by both Orhotox Church canons and the Orthodox Church tradition.
There are also some Orthodox Church holy fathers, who had the gift of clairvoyance and did prophecised about this kind of events occuring and strongly warned Orthodox Christians to stay away from taking participation in heretical gatherings.
It's even against the Orthodox Church teachings, that teaches that only within the body of the Church man can achieve salvation, through the teaching testaments of our Lord and Saviour Jesus Christ and the Holy Apostles, Martyrs and Fathers!

Having all this it's pretty clear that Ecumenical meetings are not just meetings but they're a place where a new kind of religion gets shapes.
A religion which includes the approaches of each and every church for spiritual enlightenment and getting drawing near to God.

It should be clear by all said that this kind of Ecumenical meetings are actually a spiritual babylon.
That the truly faithful to God should stay away. It's very pity that many people who are currently priests in different orthodox churches, even metropolitans and patriarchs has already ecumenic ideas implied and are very willing for the ecumenism to progress.
Therefore there are internal Orthodox Church processes that happen this days which slowly but surely try to navigate the Orthodox Church body to join and take actice parcipation in ecumenism and in that way betray the dozens of generations of Holy people who even gave their lives to keep the faith clean from external stain and heresies.

The topic of Ecumenism is really an extending one, however I'll stop here and just show you a few videos.
Then it's up to you to decide if it's an apostacy of our faith or not.
If you're supporting the globalism ideas then you might be happy with ecumenism,I personally am against globalizm so it was awful to see this kind of betrayal of the teachings of our Lord and Saviour Jesus Christ...



Posted by hip0 | Permanent link

Sat Oct 16 16:52:21 EEST 2010

Hibernate stops working on Thinkpad R61 on Debian Testing/Unstable after upgrade and the fix

upgrade I'm using Debian Testing/Unstable (Squeeze /Sid) on my notebook Thinkpad R61.
Every time I do apt-get update && apt-get upgrade or aptitude update / aptitude upgrade. I end up with problems with my notebook hibernate functions not working.
In other words, after most of my desktop system updates takes place my hbernate function on my laptop stops working.

In order to solve this hibernate problem I do completely purge out the hibernate package of my system and then install it over again. /> Thus to fix this shitty hibernate issue I execute:

debian:~# dpkg --purge hibernate
debian:~# apt-get install hibernate


Maybe I had to take the time and report this as a bug in debian bug tracking system.
Hope this tip helps to somebody.

Posted by hip0 | Permanent link

Fri Oct 15 13:28:56 EEST 2010

Fixing "E: Could not get lock /var/lib/apt/lists/lock – open (11: Resource temporarily unavailable)" error

You've probably encountered the error:

"E: Could not get lock /var/lib/apt/lists/lock – open (11: Resource temporarily unavailable)" After executing:

debian:~# apt-get update
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the list directory


There are plenty of reasons which might have led you into this shitty situation, anyways the solution is:

debian:~# killall -9 apt-get aptitude
debian:~# rm -f /var/lib/apt/lists/lock


killall -9 apt-get aptitude might not be really necessary, if there are no hanged apt-get or aptitude processes, however I show it here since sometimes, it might be the problem cause.

If you further or beforehand get the error:
,br /> E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Then you will have to also delete the /var/lib/dpkg/lock.

debian:~# rm -f /var/lib/dpkg/lock


Hopefully this should be enough for you to solve your apt-get update issues.

Posted by hip0 | Permanent link

Thu Oct 14 19:33:45 EEST 2010

How to add a secondary (slave) DNS bind server on FreeBSD

Here is how I achieved in configuring my BIND 9.4.3-P2 server to work aas a Slave DNS server for domain zones.

1. Copy your default Bind DNS configuration file to /var/named/etc/namedb

freebsd# cp -rpf /usr/src/etc/namedb/named.conf /var/named/etc/namedb


2. If /etc/namedb/named.conf symlink is not existing create one

Note: Follow this step only if the /etc/namedb/named.conf file is not there!
freebsd# ln -sf /var/named/etc/namedb /etc/namedb/named.conf

3. Open your /var/named/etc/namedb/named.conf file and add the following entries in options

Look for where options { starts in the file and add there the following bind configuration directives:

allow-query { 1.2.3.4; 127.0.0/8; };
allow-transfer { 127.0.0.1; 1.2.3.4; };
transfer-format many-answers;


Note: In the above code you will have to substitute the 1.2.3.4 with your actual primary nameserver (master) nameserver IP address.

Edit the listen-on {} directive in named.conf

To do so search for listen-on { in named.conf with your text editor of choice.

The dafault named.conf file will actually include something like:

listen-on { 127.0.0.1; }


fter the 127.0.0.1 you will have to add your actual external IP address to which your seconday DNS server is configured to point.
For instance mine is ns1.pc-freak.net and the domain resolves to 83.228.93.76, therefore I included the 83.228.93.76 right after the 127.0.0.1; so finally my listen-on configuration looked like the following:

listen-on { 127.0.0.1; 83.228.93.76; }


4. Now it comes to adding the actual domain names zone files to your secondary DNS

You will have to add something similar to:

zone "yourdomain.com" {
type slave;
file "slave/yourdomain.com";
masters { 1.2.3.4; }; };


In above code you will again have to exchange the yourdomain.com with your actual domain name which is already served by the Primary NS.
Again the 1.2.3.4 stands for the IP address of your Primary / (Master) DNS server and needs to be substituted as well with your correct IP.

Note: Something very important to warn you here! In the above zone configuration directives where it says:

file "slave/yourdomain.com";


Don't ever think about changing the path file "slave/...", if you do so your Bind DNS server will either not start-up or if it starts will not be able to find your domain name!!!
It took me about 2 hours to realize this stupid mistake! So again BEWARE of making the same mistake!

5. Create an empty domain zone file and set the proper permissions to it

freebsd# mkdir /var/named/etc/namedb/slave/yourdomain.com
freebsd# chown bind:wheel /var/named/etc/namedb/slave/yourdomain.com


Once again substitute yourdomain.com in the above command with your actual domain name previously set in the named.conf

6. Check that your named.conf configuration has been correct and restart your name server

The below command should execute without any warnings or errors, if you don't have mistakenly written something wrong in your named.conf.

freebsd# named-checkconf
freebsd#


Whenever you are sure no config errors are present you can happily restart your nameserver.

freebsd# /etc/rc.d/named restart


Now your domain names zone files which you just have configured in your FreeBSD powered seconday DNS server should start being transferred from the DNS master server.

In order to check that you can try to make some fictios subdomain name in some of your Master DNS zone files and change the version of the file.
After the restart the changes should end up also in your seconday DNS server.

Just to close the post I'll have to inform you that my Primary Master DNS server was BIND 9.5.1-P3 actually a newer release than the Seconday one running on my FreeBSD, anyhow this was not a problem at all.

The BIND 9.5.1-P3 was acutally running on a Debian Lenny GNU/Linux.

Posted by hip0 | Permanent link

Wed Oct 13 11:04:39 EEST 2010

How to raise default max upload settings for default registered users in PHPBB

A colleague of mine has experienced a problem with maximum upload file size being up to 256 KiB in PhpBB

Apparantely the default settings for the PHPBB are that the maximum attachment to be uploaded can be no bigger than 256 KiB
Guess the forum developers decided to set it to such a low value to prevent Denial of Service attacks, anyways if you want to upload a normal file nowadays it will be hardly under a few megabytes.
Thus I still doubt if this decision was really wise, anyways I had to deal with the situation so I found the 256 KiB problem in the PHPBB bug tracking system you can read the thorough thread here

In the mean time to quickly change the default phpbb restrictive behaviour for your PHPBB forum, you should login with administrator.

Then navigate to Admin Control Panel (ACP) and follow the following links to come to the place where you can define the maximum file size for default users in phpbb.

ACP -> General -> Board configuration -> Attachment settings -> Maximum file size


Posted by hip0 | Permanent link

Tue Oct 12 20:47:42 EEST 2010

How to add custom Bind DNS nameserver to use with Godaddy

Ever wondered how you can set your custom BIND or djbdns nameserver to be ready to add to as a Custom DNS server in Godaddy?
I've recently had that issue and after some try/fails and a bit of reading online I've come up with it.

Here is how I added my custom host running already a configured primary master Bind server to godaddy.

1. Login with your account to Godaddy

Click on the Domains link after logging in.
2. Click on your domain name

Here choose Manage Domains

Now scroll down to the end of the page under the left bottom corner of the page you will see the:

Host Summary (add) button

3. A new popup window will emerge

Therein you will have to fill in as a minimum:

Host Name:
Host IP1:


Besides that it might be a good idea to also fill IP2, IP3 if your nameserver machine possesses, more than one IP addresses.

As you can see you can fill up to 13 IP addresses to be assigned to the domain.

Here it's important to note that actually the Host Name: you fill in is a new subdomain that will get created under your mail domain name choosen under step 2 explained above.

As far as you've finished click the OK button. You will have to wait for up to 12 hours until the new subdomain is set as a subdomain for a new custom DNS server with Godaddy.

If you don't do that probably you won't be able to set your subdomain (ns1.yourdomain.com) under the Set Nameserver from Godaddy's Total DNS.

To close this post here is the Godaddy's DNS subdomain registering (Set Host and IP addresses) popup Window

Posted by hip0 | Permanent link

Tue Oct 12 00:38:42 EEST 2010

Drawing GANTT Charts and Project Management on Linux, (Microsofgt Project substitute for Unix)

I'm studying Project Management, right now. In that spirit of thoughts I and a couple of other guys are building a Project Plan.
As it Project Plan it's necessary to put a GANTT Chart in it to show visually the project timeline (the phases), the duration and the inter-relation between the different tasks which leads the project to an actual completion.


After a bit of thorough research online on available software to deal with project management and particularly, ones that are capable to build a GANTT charts on Linux / BSD.

I've come with the following list of software capable to be a substitute for the Microsoft Project software.
Redmine GANTT Chart

GANTT chart Redmine

1. Gantt Project
GANTTProject chart GANTTProject Chart

2. Gnome Planner
Planner GANTT Gnome Chart Planner GANTT Chone Chart

3. Task Juggler Project Manager with GANTT Capability for (KDE)
Task Juggler

4. JxProject - This software is not free, though it can be considered almost free
Take a look also at:
5. Trac , though it doesn't really support GANTT charts it's a lovely software to be used for PM.
Trac Project Management

Another option you have is to try out:
6. PHProjekt
That piece of softwre really looks promising, especially if we consider that it's web based and how much essential is today to have an anline tools for doing the ordinary desktop jobs.

You can even check an online demo of the PHPProjekt software here

If you're a type of KDE user you definitely has to try out Kplato

As I've tested the software the software is easy to be used, however it still is missing some essential parts that Microsoft Project includes so it's not 100% substitute.
Also it's not able to open Microsoft Project (MPP) files, neither able to save the charts in the .mpp format.

Moving ahead I've came across DotProject DotProject Gantt Chart
DottProject Gantt Chart

I haven't took the time to test it myself but however, as I go through the software website the project looked quite good.
Lastly you can take a look at: 7. PStricks as a mean of project management, however I think it doesn't support GANTT chart building.
>

Posted by hip0 | Permanent link

Sat Oct 9 13:32:57 EEST 2010

What to do if you don't receive Adsense PIN letter via post service on your home address

What to do if you haven't received your adsense confirmation PIN letter after 2 PIN requests I'm running a Google adsense account for some time and I have some adsense advertisements on my website to make some money to at least pay my home internet.
Everything went fine with Google authorizing my website for adsense , however after I've filed all the data in my Google Adsense account in account settings , yet I needed a Personal Identification Number (PIN) that is usually sent by google by a normal post services (as a letter).

As I've already filled in my address details in Google and requested a PIN to be sent to my mailbox, usually I had to receive it in about 3 to 6 weeks time as Google manuals prescribe.

Nevertheless that was not the case with me, I haven't received anything from Google for about a month and a half time, then I decided to request a second PIN confirmation.
Anyways the second one didn't arrived again for about 1.5 months, so once again requested the Google adsense PIN to be re-sent to me in order to be able to laters withdraw my money via Western Union.

Today after logging to my Google adsense account I red the following unpleasent text:

Your pages are displaying Public Service Advertisements (PSAs) because you haven't yet verified your PIN and/or phone number. See the Payment History page for more details.
I also realized no money are generated to my google adsense account for clicks and impressions anymore!

What a shit man, what a shit!

Now google's pocket is filling with my website advertise clicks money ...
That's definitely not cool!
What was really even stranger is that actually my account was disabled with a Total estimated earnings = 36.68 EUR
That's strange because in the google adsense documentation it's stated that the account will start showing the Public Service Advertisements (PSAs) after it reaches 70 EUR ?

Afterwards, I've used Google's Adsense help to request Adsense Phone Verification

And now I'm waiting for theim to call me on my mobile phone.

If you have the same problem you can read a very helpful article on the topic of problems with getting adsense PIN letter here

Moreover it seems it is possible to
request an adsense PIN code via email from this link


Anyhow if you use the above link to request your Google adsense PIN via email, you will have to attach also a copy of your ID next this email and some other information as requested from google.

Another helpful tip that I've red while I was investigating on the alternative ways to get your PIN in a quick way is to send as less emails to the google adsense account as possible.
I have to say that Google were really quick in their answer they answered in 7 hours time after I've reported the problem and requested that my PIN be mailed to me.

I've received the following email from Google adsense support

Hi,

Thanks for your response. I understand that you've been unable to receive
your PIN.

In order to resolve this issue, please respond to this email and attach a digital image of a government issued ID card, bank statement, or telephone bill displaying your payee name and mailing address as it appears in your account. Please note that we're only able to accept information printed in one of our supported languages. You can find a list of supported languages at https://www.google.com/support/adsense/bin/answer.py?answer=9727 Once we receive your response, we'll review the information you've provided and update you on the status of your PIN verification. For additional questions, I'd encourage you to visit the AdSense Help Center ( http://www.google.com/adsense_help ) or the official AdSense blog ( http://adsense.blogspot.com?utm_source=txft ). Alternatively, feel free to post your question on the AdSense Help Forum ( http://www.google.com/support/forum/p/AdSense?hl=en ). Sincerely,


I've replied to the above email with attached electonic scanned copy of my Personal ID, now all left for me is to wait until I receive the answer from Google that attaching my scanned Personal ID is enough for them to mail me the Adsense confirmation PIN on my e-mail
Hope this is helpful to somebody.


Posted by hip0 | Permanent link

Fri Oct 8 16:39:55 EEST 2010

Removing scheduler_proxy.exe that hangs for nothing on Lenovo 3000 N100

I've just had to fix a Lenovo 3000 N100 notebook, some it's drivers weren't installed properly for some reason.
Thanksfully the notebook contained a driver installer copy on it's hard drive.
Here is the time to say that the Lenovo notebook was equipped with Windows XP (SP2) some kind of release optimized for performance.
It's language setting and language pack was Spanish.

Besides that an annoying popup with an error was appearing during Windows boot up.

The exact error that appeared on boot up was:

Scheduler_proxy.exe - No se puede encontrat el componente

Error al iniciar la aplicacion porque no se encontro MSVCR71.dll.
La reinstalacion de la aplicacion puede solucionar el problema.


The exact location where the scheduler_proxy.exe was installed into was:
C:\Archivos de programa\Archivos comunes\Lenovo\Scheduler

Since scheduler_proxy.exe wasn't really helpful I decided to remove it to load on start up.

To do so I've had to launch msconfig by pressing Windows Flag Button + R and then typing msconfig , then I had to navigate to the 5th menu which in Spanish reads Inicio and find the scheduler_proxy and untick it.

Doing so will prevent the program to load up on your next boot up.

Posted by hip0 | Permanent link

Thu Oct 7 12:05:11 EEST 2010

How to view yearly days calendar in console (terminal) / Check Eastern date from terminal on Linux

Recently while I was browsing for some random information I came across, something really handy that you can do with the simple text based command cal / ncal .
It appears there is a text based (console) way to check for the weekly date calendar as well as to check the whole calendar in weeks for a whole year.

1. Here is how you can check for instance the dates numbers as well as the weeks of the day:

hipo@noah:~$ ncal
October 2010
Su 3 10 17 24 31
Mo 4 11 18 25
Tu 5 12 19 26
We 6 13 20 27
Th 7 14 21 28
Fr 1 8 15 22 29
Sa 2 9 16 23 30




2. If you want to check just the calendar for a particular month exec the cmd:

hipo@noah:~$ cal 11 2010
November 2010
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30


3. To see the Julian Calendar (where each day of the year equals to a number between (1-365) issue:

hipo@noah:~$ cal 11 2010
November 2010
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30


3. To see the Julian Calendar (where each day of the year equals to a number between (1-365) issue:

hipo@noah:~$ cal -j 2010


This will list you the days for the whole year, the 2010 parameter actually should be substituted to the year for which you'd like the calendar to appear.
4. Another very handy thing is that from your terminal / console on your Linux you can check the day for Eastern both in the (Orthodox Church & the Roman Catholic Chuch).

hipo@noah:~$ ncal -o 2012
April 15 2012
hipo@noah:~$ ncal -e 2012
April 8 2012


When I was playing with ncal's capabilities able to display the dates for Eastern for Western Roman Catholic Churches and Western Roman Catholic Churches, i've came across another interesting fact.

Like in 2010 in 2011 the date for Eastern for both Orthodox Christian Churches as well as the Roman Catholic Western Churches coincides.

In the upcoming year 2011, we're about to celebrate the bright feast of the Resurrection of our Saviour and God Jesus Christ on April 24 2011

5. To display a whole calendar with dates and days for the whole current year issue:

hipo@noah:~$ ncal -y


So I hope this info is helpful to somebody.

Posted by hip0 | Permanent link

Wed Oct 6 14:35:08 EEST 2010

Three minutes Philosophy on Pythagoras


Few posts ago I've posted a few videos of a crazy guy who tries to compress the wide teachings of the most important considered philosophers in just 3 minutes. Where he avaluates through the major ideas of each of the Philosophical teachers, the thought school born by the philosopher etc.

While I was browsing in youtube through the rest of the 3 minutes philosophy of S. Peter Davis, I've come across an interesting one about pythagoras.
Check it out below:


Three minutes of philosophy on Pythagoras

If you don't consider the vulgarism and the bloody scene some of the concepts presented about pythagoras and their determination as a "cult" seemed interesting to me.
Another interesting idea that the video discusses is the Renessance and the huge influence of Renessance by the Pythagorian's ancient philosophy.
Well as I've heard it from old people in Bulgaria: "Everything new thing is actually a good forgotten old one", guess this is pretty much the case with the pythagorian's movement about perfection through numbers.
It's obvious that Pythagoras was the most influential philosopher on today's world, most of his ideas and discoverias are essential in ever most of our today's activities.
So I guess he deserves a bit more credit than the video grants him ? :)

Posted by hip0 | Permanent link

Tue Oct 5 13:43:43 EEST 2010

Barcoder for Nokia 9300i (finding a product origin through the barcode)

Barcoder nokia mobile

Have you ever wondered on how you could check the product bought from the store origin by it's barcode?
Every product produced nowadays has a barcode sticker somewhere on it's cover.
In the economically developed countries, almost 100% of the products has a barcode. This barcode is a identifier on where does a certain product origins from.
Barcodes does facilitate the process of tracking a product as well as finding some more information about a certain product.
It also helps in speeding up the product identification, it also speeds up the time necessary to mark the product in stores.
I guess almost everybody has been into a store where they use a barcode reader device to mark your bought products.

Barcodes has subliminally become a very essential part of humanity daily life.
Thus I found handy to have a program on your smartphone mobile to read barcodes.
I haven't done a thorough research on the barcode number reader programs online, however I've came across a Russian program called BarCoder which is able to read barcode numbers sequence to be found below the barcode strip lines.

The BarCoder program is very handy especially in stores where you buy food, technical equipment, ironware, electronics ... you name it.

May products nowadays doesn't include a country or region stated where the product has been produced.
However the products still contain the barcode, by entering the barcode number sequence into Barcoder , the program reports where the product was produced.

You can download the barcoder freeware here


Posted by hip0 | Permanent link

Mon Oct 4 16:49:37 EEST 2010

Good old fashioned hexedit for your Nokia communicator mobile

Some of you might remember the glorious day of the hexeditors. As a PC geek I used to make quite of an use back in the days.
Especially with the MS-DOS old days having a hexeditor was completely essential piece of software.
Hexeditors were used for general debugging of software changing certain message texts of application and games which were hard coreded as a text within the executable binaries.

In that manner of thoughts I just recently came across a hexeditor software for my Nokia 9300i Communicator phone

I find it really handy to have a hexeditor able to allow me to edit my nokia phone binary files and change chunks of text encoded information in the binary.
Back in the old days the hexeditors were also seriously used for crackin I haven't tested if the hexeditor on mobile phones is able to be used for the same simple task, however I think it supposed to be capable of being used for such a purpose as well.

Apart from that the hexedit mobile application for the Symbian S80 is a freeware and that makes it even more attractive piece of soft to install on your mobile.
Here is a screenshot on how hexedit looks like when editing a binary file.

Nokia Communicator 9300i, mobile hexedit
Hope this wonderful piece of soft is helpful to someone else out there.

Posted by hip0 | Permanent link

Sun Oct 3 19:45:57 EEST 2010

DROS (Use DOS like command shell) on Nokia mobile phones

DROS nokia mobile ftp screenshot
Ever wanted to have the good old fashioned DOS command like prompt on your Nokia 9300i mobile?
Hopefully you do, just like I wanted. The DROS mobile phone application written in MIDP, the install application is actually a jar.
If you're a console (shell) freak like me you will certainly value this handy app.
What makes things even better is that DROS is able to run simple BATCH files (e.g. has an embedded BASIC interpreter)

Some of the other many nice features that DROS has embedded in it are:

1. DROS contains a media player that can be used to play mp3 files
2. DROS have embedded command line FTP client
3. DROS includes a very basic file text editor
Using the DROS text editor you can write basic batch scripts and execute them to automate stuff on your mobile.
DROS comes with a very good written documentation (MANUAL)
It somehow brings memories about the good old days of the 80s command based computing, this kind of "presence" fits very well with the Nokia 9300i Communicator mobile :)
Some of the other Mobile phones which are supported by DROS are as follows:

Nokia 6630, Nokia 6670, Nokia 6680, Nokia 6681, Nokia 9300, Nokia 9500, Nokia N70, Nokia N80, Nokia N90, Nokia N91, Nokia Series 60, Sony Ericsson P990

If this app catched your interest then follow the DROS download link
Installation of the program is very easy and comes to clicking over on the java executable (jar file) using the Nokia's File Manager.


Posted by hip0 | Permanent link

Sat Oct 2 11:57:49 EEST 2010

How to use a Nokia 9300i as a Torch at Night time or at dark places with DiscoLight

I do own a Nokia Communicator 9300i for some time I've been looking for a while for an application for my mobile phone enabling me to transform the normal Nokia 9300i phone capabilities into a torch (flash light)

Many telephones come with an embedded software or hardware light led, that gives the option for the phone user to use his / her phone as a torch in the dark.
However with Nokia 9300i by default there is no such led to be able to emit bright light neither through a feature integrated with the mobile's hardware nor through it's embedded pre-installed software.

The phones torch I see as a very essential and handy feature for every mobile phone, so I have to say that it was rather strange why the flash light wasn't decided to be made an integral part of the Nokia 9300i Communicator

It took me a while until I finally found an application able to show a brigh light on my phone Nokia 9300i internal screen and therefore allow the mobile to be used as a torch in the dark.

Anyhow the effort of spending an hour of Googling around was awarding :)
The software that allowed my Nokia 9300i to have the Torch capabilities is called DiscoLight / (Disco Light)

Here is a download link to discolight I've found online
I also made a mirror of the discolight app that can be downloaded here
Discolight is actually not actually planned to operate as a Torch for the Nokia 9300i, it is just a program able to either fill your mobile phone screen with a colors you might choose from (e.g. white light, flash sequence, auto color, standard flash) or do a sequence of colors (like in the discoteques I guess that's where the name of the application comes from).

To use the DiscoLight program as a torch, right after the program is launched press the 5 key on your Nokia communicator keyboard.

Another very simple program that is able to transform your Nokia Business class phone to a Torch is FlashLight

Both DiscoLight and FlashLight are written in Java and works perfectly fine with the 9300i mobile.

The only disadvantage about using my Nokia 9300i as a torch is my Nokia communicator inside panel has to be opened, e.g. I had to walk with the phone cover opened to use the torch.
Anyways still I find this feature very handy for me, hopefully it will be of an use to somebody else who is looking for the same functionality on his mobile.

Posted by hip0 | Permanent link

Fri Oct 1 18:02:27 EEST 2010

Modern day business (Black & White Strategy)

As I'm following my business studies, I'm more and more convinced that business studies are pretty much marketing.
I've been recently introduced to a Business Strategy called The Black & White strategy

One of my tasks was to incorporate that strategy to one of my business projects.

Let me tell you in short what do they refer as Black & White Strategy

They decided to call the option for a solution to a problem which will be either to act or not to act, to say "yes" or "no" for a certain decision is a strategy.

"Yes" or "No" a strategy ... eerr what? where? how?
Immediately after I was introduced to the "innovative" concept I googled online to see if there is somewhere some kind of official definition for the black & white strategy.
Well you can guess, I couldn't find anything as an official definition of a Black & White strategy.
In the mean time the concept of black and white and the simplicity involved is something really worthy, but come on "how can you call it a strategy?".

Let's suppose I've been asked, do you want to eat and I ask "yes", then I made a strategic choice because I won't be hungry for another 6-8 hours? What the crack of thinking is that? Is it a thinking at all?

You decide on that, it made me laugh out loud seriously ! :)
Anyways my attempt to find an official definition for the coined term of Black & White strategy walked me to this interesting article called Blacked and White Strategy
In short the article explains how minimilastic approach towards problems and corporation structure is the most efficient one and how it worked well for a few of our well known global companies like General Electric (GA) and Wal-Mart.

From the article I just extracted one I would say very fabulous saying:

"People always overestimate how complex business is. This isn't rocket science; we've chosen one of the world'ss more simple professions."

- Jack Welch


Posted by hip0 | Permanent link