Skip to main content

Monday sickness, chatting, Xandross

If today is not Monday, I would have been in Pangkor ... swimming..

Today is Monday 15 August 2005. At 8.30 AM this morning I was still at my home preparing for work. Last night, I was happily playing with my student's laptop by installing Linux, did some modification to KDE theme and testing Codeweaver's CrossOver. My life was not connected for the whole Sunday. Why? My hand phone was broken (again?) and I have to send it to my friend's shop (again?). He laughed at me and offered me a better handphone as a replacement but for RM50. I said "Thanks but no thanks".

My life has changed since I knew how to chat. I have always thought that chatting is a waste of time. Actually I just forgot that I have to think the good side of it and get rid of the bad. I never liked chatting as i did now. My life was complete i guess since communication over internet primarily by exchanging emails and via forums. Now I feel incomplete without double-clicking on the Yahoo! Messenger when I first start working early in the morning. I have known a few friends via YM and this real time conversation can be so fun and exciting by exchanging ideas and knowledge.

Now Monday comes again and life must go on. I was using Xandros Linux on my student's laptop and typing in this blog. Searching for knowledge and doing practical work is my passion. In computer world, you'll never understand something completely until you do it. As my job as a system administrator, i have gained so much knowledge and experience that I can't describe here. All I can say is it is "fantastic"and sometimes plastic. :-)


Popular posts from this blog

mplayer-gui error : Error in skin config file

After installing mplayer-gui package, I can't start it.

$ gmplayer MPlayer 1.1-4.8 (C) 2000-2012 MPlayer Team mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Error in skin config file on line 6: PNG read error in /usr/share/mplayer/skins/default/main Config file processing error with skin 'default'
After googling a bit, I found out that it was due to the png files in dir /usr/share/mplayer/skins/default. This is the default skin directory. To fix this error, I have to install ImageMagick package because I want to use the convert program to convert all of the png files to format png24. Thus, cd /usr/share/mplayer/skins/default; for FILE in *.png ; do sudo convert $FILE -define png:format=png24 $FILE ; done
Rerun gmplayer and all should be fine.
Have fun!
UPDATE (02-10-2017)

It doesn't work on Ubuntu 16.04 (xenial) but there's a workaround here.

You can update your syst…

Transparent proxy with squid 2.6

I have upgraded my squid from 2.5 STABLE13 to 2.6 STABLE18. Transparent proxy is setup differently in this version. You need this directives in squid.conf (usually in /etc or /usr/local/etc or /usr/local/squid/etc, check with your distro).

acl our_networks src
http_access allow our_networks
http_port transparent
always_direct allow all

where is your proxy server IP address.

If you have flushed your iptables, create new rule:

iptables -t nat -A PREROUTING -i eth0 -p tcp –dport 80 -j REDIRECT –to-port 3128

where 3128 is the port where squid is running.

postfix - mailbox size limit and message size limit

postfix is my MTA of choice. I use it for my mailserver because its simplicity , security and sendmail-compatible (the widely used smtp in the world but not as secure). It is also extensible by plugging other servers for various purposes (antispam, antivirus,database etc).

I had one problem with file attachment larger than 10MB. Users couldn't send it although I have setup squirrelmail (SM) to be able to attach files summed up more than 20MB and I had modified php settings as per here. The problem was not in SM setting. It was postfix. By default, attachment size that can be sent by postfix is 10MB ~ 10240000 byte. How did I know it? I looked in log file (for my system it is in /var/log/mail/errors. For other system, the file to look is /var/log/maillog). The line looked like this:

Feb 26 16:30:53 webmail postfix/sendmail[30775]: fatal: Message file too big

Open /etc/postfix/ with a text editor of choice and find message_size_limit directive an…