Skip to main content

Posts

Showing posts from January, 2008

Tunnel.UTPchat.Net is now back operational for Jan2008 semester

Its official now, the external server of UTPChat LAN IRC network is now back operational. Those who are not within UTP can now access UTPChat through it. It will be serving until the next UTP semester break. You can connect to the server by using this command on ur IRC client

/server tunnel.utpchat.net

This server is located at my home, so, please do not expect high stability from it. Especially on the UTP-network<->tunnel.utpchat.net link. As y'all might have known , UTP network and internet connection sucks. :P

Anyway, enjoy~

Edit: btw, if you are experiencing connection problems on port 6667, try 6668 or 6669. Somehow whenever 10 people connected , the others will get tcp connection refused. I'm guessing this is either something wrong with my router, or its our "beloved" TMNET have done something fishy on upstream routers/squids.

I should slow down myself sometimes

Me, being myself, had just noticed from Max Spevack's post about FUDCon video, that torrents.fp.o have a collection of FUDCon videos from previous conferences.

It's a habit of mine, where I would usually simply skip through stuff when I'm looking for something specific on a page (I love ctrl+f). I've dropped by at torrents.fp.o several times last year, grabbed the ISO torrent, and left without looking at anything. I didn't notice the Boston FUDCon vids torrent are at the bottom of the page.

Deluge fired up, leeching away~!!

(I don't have chance (and money) to goto the conferences, hope I'll get something useful out of these)

Spinning a minimal Fedora LiveCD

I've been spending today trying to spin a minimal Fedora liveCD as a base for spinning various of other custom spins for easing future stuff, and for fun. The package list was based on Ubuntu-Minimal metapackage dependencies (of course, with some modification) and I'm using Revisor 2.0.5-15.fc8 for building the CD from a kickstart file.

The build went smoothly, however, it seems like I missed some dependency or something. When the liveCD boots, it complained during startup:

---------------------------------------------------------
WARNING: Requested /sbin/init binary does not exist on rootfs
---------------------------------------------------------

Dropping to a shell. Good luck!

bash: no job control in this shell
bash-3.2#

I have sysvinit in the kickstart and checking in the image file (after mounted them) /sysroot/squashfs.img/os.img/sbin/init is there.

Anybody know what dependency I might be missing here?? I'm going to checkout the rescue CD afterward to figure it out, but would…

IOSN Accessibility Workshop for the Visually Impaired

Yesterday, I joined Khairil Yusof (Kaeru) for IOSN Accessibility Workshop for the Visually Impaired at Malaysian Association for the Blind, KL. It was organized under Free/Open Source Software Society of Malaysia (FOSS-SM) and United Nation's International Open Source Network (IOSN)

I'm still waiting for Kaeru to post a blog about it as he has the most details. But here's my part of the story.

It was very interesting to be there where we actually get first hand information about the blind's concerns about accessible websites and softwares, income opportunities, technical skills, etc. There are blinds who have a high technical capability but their talent are ignored due to their condition.

Orca works great too, though we haven't field test it yet. The GNOME HIG helps for making applications accessible and that is great. However, as usual, the voices are monotonous. It would be great if we can have clearer and nicer voices.

I tested their braille monitor too on my Fedo…

Zope/Plone on Fedora

My industrial internship with Inigo Technologies requires me to run a distro which have python2.4. Being someone who prefer to stick on RPMS rather than source-based installation, I ran CentOS on Xen of my home fileserver for Zope/Plone support.

While wasting my time browsing through pirut a few days ago, I noticed compat-python/compat-zope/compat-plone on Livna repository. I know those packages exist by Jonathan Stefan, but didn't know that its on Livna. Anyway, cool, now I can play with zope on my laptop directly :D.

Fedora 9 Codename Announced???

Okay, Josh Boyer announced it @ fedora-announce-list, and the winner is Sulphur (at least from the vote results)

https://www.redhat.com/archives/fedora-announce-list/2008-January/msg00012.html

Somehow, I don't feel quite happy about the announce. Naming of Fedora releases have been running in quite a fun manner since its started going public not so long ago. The name game starts only when the next release of Fedora almost done, suggestions come, voting was made (in approval voting - NOT the Pick-Only-One voting like the recent F9 name vote). The vote results remain secret and contributors wait anxiously for what name the winner going to be until a few days before release. And once it got official, the name got out not through announcements, but from people who saw fedora-release was changed in cvs commits!!.

The name game and waiting for the name confirmation was somehow like a fun reward for the hard work of all people who spent their time and effort on the release. The names are n…

HOWTO: Controlling cpu temperature and scaling using cpuspeed

My beloved R51 which I bought almost 3 years ago is suffering of old-age. It processor heats up quite fast to 80/85 Celsius and sometimes triggered shutdown alarm on 90C. The temperature during idle is around 50C, which is pretty hot. Adding external fan and overriding the speed of the internal fan doesn't help much.

Whenever it goes to 80C, I manually scale down the processor to cool it down. Hassle, but at least it works. However, there is an easier way to control this without any manual interaction, and that is through using the cpuspeed daemon. It should have been installed by default in your computer. If it isn't , you can install it through:

yum install cpuspeed

cpuspeed in Fedora by default only turns on the default scaling governor and didn't do anything else. You will need to configure it through /etc/sysconfig/cpuspeed.

Remember to set the Governor to "userspace" or your cpuspeed will not be started through the init script.

In my setup to ensure that I don…

Micropolis-Activity RPM

Following the post I've made about the MicropolisCore package, I've packaged micropolis-activity.

The package was applied a patchset by Miriam Ruiz which was acquired from debian's svn:
http://svn.debian.org/wsvn/pkg-games/packages/trunk/micropolis-activity/debian/patches/. (Thanks to Rahul Sundaram for notifying me about this).

The (S)RPMS are here http://izhar.fedorapeople.org/micropolis-activity/ (again, WARNING: Hackish Package!)

The game is running but i didn't test it much. There are some segfaults when loading certain maps. The dependency list might also not be complete. Here a screenie of it running a saved city from the the source tarball.



Happy hacking. ^-^

Automated tar and dump incremental backup script for FBSD

The recent gmirror failure on Gambit caused us to switch to automated dump and tar instead.

Our requirement was like this: Full backup on Mondays (around 3-5am) with daily incremental backups relative to the Monday backup. Whenever a full backup is being performed, the previous backups must not be overwritten until the full backup is done.

And the results::
inigo-tarball-backups.sh - an incremental tar backup script using FreeBSD's Tar

inigo-disk-dumps.sh - an incremental live dump script using FreeBSD's Dump - now, I wish Linux's Dump have live dump support.

gnu-tar-incremental-backup.sh - an incremental tar backup script using GNU's Tar - I wrote this before the FreeBSD's Tar script on my Fedora laptop, but was surprised that FreeBSD's Tar doesn't have --listed-incremental option (-_-)".

For the scheduling, I just use cron.

Do inform me if you have suggestions to improve the scripts or if you found any risky bug it in.

update: Anybody knows how to properly…

Original SimCity GPL'ed as Micropolis - here some RPMs for Fedora Hackers

Around 19:00MYT (11:00GMT) today @ #fedora irc.freenode.net


<evil_steve> oh come on. THey GPL'd Sim city 48 hours ago and it's *not* packaged and in repos yet?
<evil_steve> :)
<evil_steve> and we call ourselves geeks
<KageSenshi> aah?!!
<KageSenshi> yay to gaming!
* KageSenshi now waits for simcity4k to GPL ..
<evil_steve> http://weblogs.asp.net/bsimser/archive/2008/01/10/simcity-source-code-released-to-the-wild-let-the-ports-begin.aspx
<KageSenshi> >.<
* KageSenshi tries to build
<evil_steve> KageSenshi: let me know how you go.
<KageSenshi> :D


Yay to Free/OpenSource Softwares!!. The original SimCity is now GPLv3+!. From the way it looks, I believe it was released to make it as an Activity for the OLPC XO. Nevertheless, it can be compiled and run at our normal desktop linux.

From the guide on the link above ( which for building on VisualStudio (O.o)" ) .. Here are the RPM packages http://izhar.fedorapeople.org/MicropoliceCor…

Hello Planet Fedora!!

My blog just included in Planet Fedora. Yay! (/me jumping with joy). Thanks Seth Vidal!!.

A little introduction about myself and Linux.

I started with computers on early age. My first encounter with computers was @ my mom's office (she's working @ NEC that time) about I'm 3 years old. When my mom stopped working to be a full-time housewife, my dad started working @ IBM and I've been living with IBM PC-DOS on the company-provided PC. I lived with it and having fun with DOS for quite a long time. Then, on 1997, my dad bought an IBM Aptiva with Win95 on it, during that time, Windows doesnt feel that sux too me, as its still something on top of DOS (guess what, it took me some time to get use to the mouse and I still reboot to DOS when I want to play Command and Conquer). But after winME, I got frustrated due to no longer able to troubleshoot my computer through DOS, and thats when I started considering for another OS. I have no access to the Internet until 1999, so I have n…

Fedora detected @ Japan Club Kuala Lumpur

Yesterday I was at JCKL for my weekly ninjutsu class. When I was passing by their computer lab, suddenly something caught my eyes - "Flying High" and "Fedora Bubbles" !!.

The users (some grownups, some children) who are using the computers seems happily browsing the Internet and using OpenOffice. And they didn't look like having trouble using it. One of the children was also doing something with The GIMP!.

Linux is spreading slowly but far, hidden from the eyes of general public (^o^). Lets keep it going!. All hail to the Penguin!

Reducing Blogspot feed size

By default blogspot shows 20 posts for the blog feed, however, this might not be desirable to some people (eg: those who are aggregated on Planets and hated when a minor edit to an old post causes the post to be bumped to the top of the Planet). Gladly that Blogspot feed URL have an optional feature to reduce the returned post quantity on the feed, though its not displayed in the default blogger.com dashboard.

The trick is easy, just add ?max-results=<number> to the end of the blogspot feed URL. For example

http://blog.kagesenshi.org/feeds/posts/default?max-results=5

p/s: dont bother opening that url, as you'll be redirected to my feedburner feed, but hey, you got the idea right?

Ref: Feedburner Forums , Topic 18650

Made a Hackergotchi

I've made one hackergotchi for myself (^.^)




Thanks to Nicu's howto : http://howto.nicubunu.ro/gimp_hackergotchi/

HOWTO: Making QT apps on GNOME less ugly

On Fedora GNOME installation, QT applications by default, look darned fugly. This is because there are no settings that point the QT apps to the correct style and themes. Solving this is easy:

First,
yum install kdebase kdeartwork

Then,
kcontrol

Open ``Appearance and Themes > Style`` and change your KDE style to one with better looks, apply and save it.

Done.

Got bitten by rawhide

Yesterday i tried installing Fedora Rawhide KDE4 20071220 as I was thinking switching to rawhide early this time.. The liveCD appears to work so i proceeded to the installation

Guess what .. Rawhide eats me right after installation .. I cant login in X .. seems like everytime Xorg resets, modechange, or quits, the whole computer locks up..

Several changes I noticed from the rawhide liveCD:
Theres a Encrypt option in anacondaI can't login as root on init 3 !! .. Why does Fedora follow Ubuntu on this sudo nonsense??? - wonder what will happen if i decided to install a minimal package set of command line stuff without firstboot .. that gonna be ugly.. but let wait and see how Fedora handles this.. perhaps sudo will only be enforced from liveCD install
Now I'm back to the safe side with Werewolf. I will give Rawhide another shot when theres another rawhide spin or after F9-alpha is released. Hope Xorg doesn't eat me again that time.

RPM Package Rollback

One of the least known feature in RPM is that it has a rollback feature. This allows you to rollback any updates you have done to your installed packages. Quite useful if a recent update broke your system.

From http://www.oreillynet.com/onlamp/blog/2006/01/rpm_rollback_in_fedora_core_45.html


To configure yum to save rollback information, add the line tsflags=repackage to /etc/yum.conf.
To configure command-line rpm to do the same thing, add the line %_repackage_all_erasures 1 to /etc/rpm/macros.
Install, erase, and update packages to your heart’s content, using pup, pirut, yumex, yum, rpm, and the yum automatic update service.

If/when you want to rollback to a previous state, perform an rpm update with the –rollback option followed by a date/time specification. Some examples: rpm -Uhv –rollback ‘9:00 am’, rpm -Uhv –rollback ‘4 hours ago’, rpm -Uhv –rollback ‘december 25′.


But remember that rollback takes up quiet a lot of space on /var . I won't do this Fedora as Fedora have quite frequ…

A month with FreeBSD, Zope and Plone

For the past month, I have been working as an intern at Inigo Tech. The company focuses on Zope and Plone deployment and customization and I'm the sysadmin of the company server.

FreeBSD

The company server uses FreeBSD as the OS with several BSD Jails on top of it. BSD Jails is one of the virtualization technology on the OS level. Unlike Xen, Qemu and VirtualBox, Jails is a very lightweight virtualization where the Guest environment does not run any kernel on it. While Xen, Qemu and VirtualBox allows different OSes running as Guest, Jails can only support another BSD installations.

I found that Jails is very useful for those who only needs better process and environment separation and doesn't need another full blown OS features. Interested to know what available on the Linux world for this, I went googling and found the Linux-Vserver Project and the OpenVZ Project. However, the RPM packages provided by both of them (especially the kernel) are quite not in sync with the current Fe…