Showing posts from July, 2006

UTP Free / Open Source Lab installation done

Today i woke up early to go to the lab. My other subject's lab classes wont be starting until next week, so i have some time in the morning to play around with the FOSS lab. My first priority there is to recover the GRUB for solaris 10 which was broken after GHOST. Last week we havent succeed in recovering it. So i want to continue it today. At first we are having a big problem trying to reinstall the Solaris' GRUB because of the different FS that it is installed on. Googling with many combination of keywords brought us to sites that doesnt fulfill our needs. Then we found a site which have the required info. However, i missread it, and used # installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/dsk/c0d0s0 I'm not familiar with Solaris, and got confused between /dev/rdsk and /dev/dsk . I though rdisk means Remote-Disk or sumthing like that. So i got some errors that gave me no clue whats wrong and failed to install grub. Then i continue googling for other ways to in

Missing in Fedora's Menu: hal-device-manager

At the UTP opensource lab i noticed theres a utility in ubuntu that shows all devices in a very informative way (at least for me), the hal-device-manager. After playing around with it a little bit, i started to wonder if there is one for Fedora. So, google away~. Juz after less than 2 minutes googling, i saw the RPM for the tool is hal-gnome, ey wait! I do have that installed in my box!. Immediately i fire up the console, typed hal-device-manager and hit enter.  There it goes, its there all along with fedora but hidden from users' knowledge. まったく, Fedora should at least put that shortcut somewhere. The informations shown by that program is very usefull if you wanted to strip down your kernel bcoz it shows most of the drivers used by the system.

The first day at UTP-OpenSource Lab

Today is the first day of the semester in UTP. And i got a chance to go and help setting up systems at the UTP-OpenSource Lab. A postgrad student is the one in charge of the lab. He shown me the box that will become a ghost image for the whole lab. It runs Ubuntu 6.01, Sun Solaris 10, Mandriva 2006, and FreeBSD 6.1. I helped to test the functionality of Ubuntu and set-up KDM to start automatically on the FreeBSD. That time was also the first time I had a chance to try using Solaris. Its quite slow responsive compared to other OS installed on the box. And the package management system is quite confusing to me. Guess i need to learn a lot more for using it. I heard they ( the lecturer in charge and the postgrad guy ) will ghost the system to other computers in the lab. Perhaps tomorrow i will see a whole room with *NIX. purely without any WindowS around :P

Tiring 2 days at UTP

i came back to utp yesterday, and to my surprise the room i registered got somebody else staying in it. Due to that, i had to go through quite a hassle trying to get a new room to stay, sadly, only managed to get a room at the old residential village. *sigh* Guess i'll be serving that old village for another 1 semester .. *sigh*

Connect Googletalk to other IM's using Jabber Transports

I found this nice article while playing around with Gajim to connect to my googletalk account using port 443 Super kewl, because the contacts also appear in Gmail's Chat sidebar!! :D

Finding What Process is Binding Network Socket / Port

I found a very usefull site for this purpose. It guide you step by step on how to find the process. From the site, I wrote a script to ease the process. #!/bin/bash # # Script to find what process is binding to which network socket # Usage # portowner <port> # portowner all # # Author # Mohd Izhar Firdaus Ismail <> # findproc(){ PIDS=`fuser -n tcp $@ 2>/dev/null` echo "--------------" echo "Port $@" ps $PIDS echo "-------------" } if [ "$1" == "" ];then echo "Usage:" echo " $( basename $0 <port> ) " echo " $( basename $0 ) all" elif [ "$1" == "all" ];then PORTS=`netstat -na|grep tcp\ |grep LISTEN|sed s/"\:\:\:"/"\:"/g \ |sed s/"\:"/" "/g|aw

Popping gnome-run from script

I wanted to create a .desktop file to pop gnome-run and put it at the gnome-menu ( the new gnome-menu doesnt have it ) - simply because the reason that new GNOME users might not know the existence of CTRL+F2 hotkey. But i couldnt found anywhere in bin folders for that. Gladly i stumbled upon this blog Its gnome-run.c script works perfectly.

Some tweaks for increasing Firefox's application performance

This might be an oldie, i know that there are quite a number of sites have given similar tips. But their tips brings more latency to my firefox instead of improving it. So, i played around to find what worked fine for me. Reduce Cache Memory Allocation Lots of people say allocating more cache will give better performance, however, i found out having too much RAM allocated for website cache is somewhat unnecessary. You dont need the RAM's speed to cache your visited websites, the harddisk's cache speed is high enough for that. Even a slow hdd will have more than 10MBps speed which is very fast for loading websites. Also, the RAM cache will build up and makes other applications that need the speed become very sluggish. Here are the options in about:config for this browser.cache.memory.capacity browser.cache.memory.enable You may choose to reduce the value ( in KB ), or disable it altogether. Be sure to enable disk cache because if you disable both, performance will drop. - Owned by Firefox

Try visiting you'll see a big firefox logo .. ;D neat~

Integrate meebo with firefox using Meebo sidebar by tones

A great extension for integrating Meebo with firefox so that you can save time searching through tabs/windows for your Meebo

FC6 Test 2 Slips again *sigh*

From With the update to a 2.6.18-rc based kernel, Xen requires some more effort to get to working. Given that Xen is one of the big features for Fedora Core 6, trying to ship the second test release (and thus the feature freeze) without Xen seems like a less than ideal situation. Therefore, after discussion within the Fedora Board, we have decided to slip the freeze for test2 until Xen is working again with current. *sigh* I was really looking forward to FC6T2 and hoping it'll be distributed today. Hope  this slip wont be long. My holiday is coming to an end this week.

Frank Herbet - First Prophet of Linux A nice article about how the linux environment similar to Frank Herbet's themes in his popular novel series - Dune.

Novell's Gnome-Main-Menu on Fedora 5

I recently stumbled upon a blog post about RPM package of Gnome-Main-Menu / Gnome-Slab for FC5 ( ) .  So i decided to try it myself from gnome-cvs. ( ). Here are some screenshots: The Panel Applet The Application Menu The Control Center Menu It runs quite well on Fedora with only the "Recently used application" list at the panel applet is not working. Some buttons are SuSE specific and require a manual editing of the schema to make it uses a fedora app ( fullo's RPM package from the link above already fixed this ). The interface are very much near Windows XP start menu with a little twist - applications are shown on a whole new window - very friendly to Linux newbies. The control center application reduces the confusion to Windows users who want to find where to change their systems settings because everything are gathered and arranged in a way that they are very simil

Seminar about FOSS @ UTP

Today was a quite tiring day. There was a seminar about Open Source Software Initiative at UTP today. Mainly consist of what Malaysian government have done for migrating Malaysian agencies to use OSS. The main speakers are Tn. Hj. Muhammad Rosli, ICT Policy and Planning Division Director,Manpower and Management Planning Unit, Prime Minister Department and Dr. Azman Firdaus, Founder Chairman & CEO, Open Source Systems Sdn Bhd. the day started off with a boring speech my the government guy, about why Malaysia want to adopt FOSS and its current progress in migrating the public sector. I did mention to him about why the E-Filing system are not compatible with FireFox, but the answer was quite dissappointing. The answer was off-topic and seems like he doesnt understand my question. Well anyway, i dont like asking too many times, so i leave him as it is. Perhaps the guyz from MyOSS can debate more with him. :P Next was a speech from the Dr. Azman CEO of a company that specialize in grid

Ks-X LiveCD ver 0.1 is now Available!!!

Big news!! i've completed my very first Linux LiveCD!!!.. everyone may get the file at Please give comments if you used it .. :) btw, this LiveCD is just something i created during this holidays to fill my free time, and i dont really know whether still got bugs or not. If there are, feel free to inform me . :)

Wheres my DMA???!!!!!

I just realized that my latest custom kernel didnt have DMA support for my box !!! ... thats explains why my harddisk is darned slow lately~ ... haha now i'm lost, not very sure which option to enable for my box. In the end, i pick the kernel .config which i  used in my liveCD , and compile everything as module~ ... lol .. hopefully it will work and get back my previous performance... lag~ lag~ lag~

Capset module makes me in a little bit confusing problem

the NetworkManager daemon requires BIND/named to start along. but i keep getting errors from named saying the capset module is not loaded. 'modprobe capset' says module not found. assuming that i might missed out the option in the kernel config, i go back to the livecd kernel sourcetree. and spend half and hour trying to search for that capset option. guess what?. didnt found it. ~duh~ googling for 'capset module kernel config' brings me to nowhere. gladly from the manpages of capset.h i found a reference to 'capability module' . and 'modprobe capability' solved the problem i think they should say 'capability module' in the error instead of 'capset module' because capset() is a function. :( .. anyway .. at least i found my way around ..

[need help] Trying to create installation CD for Ks-X

Version 0.1 of Ks-X liveCD has been completed, i've tested it on qemu with only 128MB RAM allocated. To my surprise, the liveCD consume only 85-95MB after a clean boot!!! amazed with the achievement, i started wondering on how to create an installable version of this liveCD. I have tried to use anaconda, but ends up with frustation. The comps.xml file is very tedious. I only want a simple installer that acts like the Ubuntu installer, no need for customization of packages, juz install all. if anybody out there know how to do this, could you give me some tips to make this installer??...

Kadischi will be released on FC6??

This is what i read from Fedora People blog Chitlesh Goorah wrote: - We have a spec file for kadischi. We thought to push kadischi in Fedora-extras-development only (not Fedora Extras). why ? + because if approved, we can see whether kadischi builds on x86_64, since there isn't syslinux on ppc, kadischi won't build on ppc. I'll try to find time to use grub instead. + perhaps we could have more contributors and testers. Till now, only Jasper and I are working on Kadischi. + this will make us work harder and know what is failing and on what to work on. Do share with us your views about it. But, yes there is a but, the GUI we have for kadischi in CVS isn't ready at 100%. DamienDurand proposed to work a python glade version of it.Once ready, we may push kadischi to Fedora-extras-development. After kadischi is released, there will be a much more easier way to create liveCD. No more of this messy chroot and man

Ks-X LiveCD - Build Start

(the title is a little bit out-of-sync ... bcoz i've started this a few days ago) I'm creating a liveCD based on Fedora 5 ( ) ... using the scripts from Linux-live.Org ( ) and some scripts from CentOS 4.3 LiveCD ( ) ... currently i named it as Ks-X LiveCD (KageSenshi's Linux LiveCD) until i got a good name for it  ... (oh yeah, i have tried using kadishi ( ) but on the version i used it uses anaconda for installation and i doesnt have the power to control extra stuff from it - at least that what i experienced .... looking forward for the official release of Kadischi) The system is build on vanilla Kernel 2.6.16 with SquashFS 3.0 and UnionFS 1.2 patch ... with a GNOME 2.4 Desktop ... Primary purpose of the LiveCD is to promote Fedora 5 to newbies ( and some not-so-new Linux users ) in its most functional form - complete with media support and some eye-candies.

Binding eth device to a MAC address

Having multiple network cards can be a little confusing. The device associated with an eth device might got mixed up when you change your kernel. Here is a little guide to overcome this. 1st : Getting the MAC address run /sbin/ifconfig , copy HWaddr value and figure out which network card it belongs to. eth0 Link encap:Ethernet HWaddr 00:E0:4C:43:D8:80 2nd : Edit the conf as root, open /etc/sysconfig/networking/devices/ifcfg-eth N ( N is the number of your eth device) using your favourite text editor. Add this key into the configuration: HWADDR= device-MAC-address 3rd : Restart computer restart the computer to apply the bind. (if you are very good in kernel modules, you can try to apply the setting without restarting) Reference

MyOSS July Meetup

Just returned from MyOSS July Meetup at SEACEM, Bangsar. The main topic for this meetup is the OLPC project (a.k.a MIT's USD$100 Laptop) presented by Jaya Kumar, an Embedded System Architect that works on the laptop's audio system. We were presented with the working mainboard of the system ( i was expecting a full system preview, *sigh* ). The system is powered by 3 processors (1 for applications, 1 for wi-fi, and 1 for graphic), using a 512 NAND memory for storage, and 128MB SDRAM. There are no display available yet because the display technology is still under development - so we connect it to a CRT display ( somebody forgot to bring a projector *lol* ). The system runs Linux ( well, what-da-ya-expect? ) with kernel 2.6.17. The system runs Xorg smoothly ( well, there is only an X-term there. So it SHOULD be smooth. hehe ). Mr Jaya Kumar shown us a presentation slide using Xpdf on the system, and played some videos using Mplayer to show the task the laptop capable of performi

Read digital comics and mangas like a real book - use Comical

JPG comics are becoming more common in the internet, especially for FanSub'ed Japanese mangas. Usually these comics comes in zip archive and reading it will need the reader to uncompress the file and open one by one of the pages, often quite tedious to manage. Comical is a very convenient software for reading this type of comic. It can open a comic directly as a zip file, view the comic in either 1 pane or 2 panes, and even set the reading order for it - left to right, or right to left. I've been using this since FC4 and really satisfied with it Get it at . Available for Linux, MacOS and Windows