Hacking Red Hat CDs

Still playing with Red Hat Linux 7.3. By now I have managed to fit it on the single CD (650 MB). Anaconda (installation program) got me pulling hair out of my head though. First, I have no prior experience with Python. Second, after I checked it out, I think I am the luckiest man alive (that I didn’t). Thirdly, code is pretty weird; for example, it is very easy to specify default language for installation, but things like changing grub to lilo, or specifying different default timezone, or allowing ssh connections in default firewall settings made spend lots of time :) If one day you will have to do something in Python, you will definetely thank Python website for providing good documentation. Concerning RPMs, I can easily put updates on distribution CD now, change Package groups (like Printing support, etc), and even substitute some software by another, like I did with proftpd obsoleting wu_ftpd and anonftp. What I need now is some way of verifying that directory with RPM packages is self-contained without actually producing a real distribution and installing it. :) Tomorrow it will work hopefully.

Another nice surprise got me when I upgraded my DVD machine to Red Hat Linux 7.3. After all, low latency does not appear to be that good for DVD playing (tested with xine, mplayer, and ogle). Without low latency support DVDs are playing much better, but still by far not that good as it was with 2.4.9. Tomorrow I will downgrade the kernel and check it out.

Last one for today – I have put the new picture of myself. This time I am with my girlfriend. And, yes, that “Li” on my t-shirt is a part of word “Linux” :)

More stuff and Quake III

Today (or actually yesterday) I was still playing with Red Hat 7.3 installation CDs. Not much to go – now it fits into single 720 MB image which happen to boot and install nicely.

Part of the last weekend was spent on upgrading my home network to Red Hat 7.3, thanks to power failure which brought my home server down again (and yes, UPS is on my wish list :) ). Apparently, everything went nice except for strange mouse disappearence from my workstation and some problems with DVD playing. Changing mice with my girlfriend happened to fix my problem, without creating one for her. DVDs are more complicated though and I am still working on the issue.

Saturday ended up with one of my friends at our place and a first Quake III lan with me using DVD box, laying on the floor and aiming via TV set. :) Almost broke my neck, but had lots of fun… till 6am. :)

Back from holidays

I am back from holidays. Most of the time was spent on rearrangements of my home network. I have downgraded the CPU to PII 200MHz on my home server and upgraded it’s memory to 256 MBytes.
There is also a brand new 1.2 GHz Celeron with 128 MBytes of memory, which is dedicated to DVD playing and other illegal activities :)

The topic of DVD playing is still new to me. I have found few projects on Freshmeat.net, including Ogle, xine, and Mplayer. For those happy Red Hat users, most of the above software is available in RPMs from FreshRPMs.net. I was also able to output DVDs and DivX to my TV using the instructions for Nvidia drivers. GeForce2 with TV-OUT easily does the job.

Meanwhile, it is nice to notice that while I was on holidays lots of people worked hard. I am very glad to discover announcements of Red Hat Linux 7.3, OpenOffice.org, Gnome 1.4 snapshot, and several other nice pieces of software in my mailbox. Congratulations to the developers!

Hacking kickstart and amanda. More.

Today and yesterday I am playing with Red Hat installation program amanda, kickstart and several other tools. My current goal is to learn how to modify Red Hat installation disks in order to create customized installation CDs for our environment. Basically, it will come down to installing of all updates from the very beginnning, replacing sendmail with exim, adding mysql to SQL Server setup, and using the latest rawhide kernel with law latency patch. If I am lucky enough to fit it all on one CD, I am happy. If not, I will fill the second disk with ltsp, openoffice.org, evolution and other usefull staff.
Until now I managed to get the rough idea how the whole thing works, and build several test CDs with random changes. Currently, I am making the ISO image of the disk with all updates in place and plenty of useless things removed (like Novell and Macintosh staff). I found Burning a Red Hat CD HOWTO extremely helpful aswell as Red Hat 7 CDs mini-HowTo and Distribution Hacking 101: disecting anaconda pages.

P.S.: Almost forgot to mention two links to Unix tips and vim tips.

P.P.S.: I am also on one week vacation from tomorrow. Happy Easter!

Red Hat, kickstart, and distribution hacking

Kickstart day. Few more machines are off from Compaq to IBM. Meanwhile, I managed to get an interesting problem with kickstart – it panics the kernel with “init not found” if I boot from the floppy to do CD-ROM installation. Needs more investigation, but for now I choose to boot from CD-ROM and use floppy only for ks.cfg storage :) While looking for anyone with similar problem, I came across several nice resources about creating your own distribution based on Red Hat. Distribution Hacking 101 explains in details how to add LTSP project to Red Hat 7.2 CDs; and Red Hat 7 CDs mini-HowTo gives lots of explanations in general. There is something similar at Linuxdoc.org.

Funny day

First of all, my collegue and me were playing with Domain Policies and push installations on Win2k again. Luckily, we can afford full testing environment with simulation domain, etc. It’s nice to know that renaming of default domain policy removes all software SAP Web Application server gave us a strange problem today.

Sending of email worked fine through Exchange SMTP and failed with no verbose errors with exim SMTP. tcpdump showed that ENVID=DIGITAL_BLAH_BLAH_HERE was added to all email addresses. Quick search on Google showed that several people actually have similar problems with some other MTAs. ENVID is used for message status notification, for which Return-Receipt-To is meant actually. No cure for this problem yet.

Bits and pieces

I haven’t done much of coding/configuration today, except of updating my machine with Novanet SP5A. If it will work good, I will proceed with the network update.

I’ve learned a great deal of Vim today, including marks, folding, window splitting, and lots of other usefull stuff. Now I will have to get used to using them actually :)

…and everything Went over SSL Certificates HOWTO once again and actually created a test CA. Issued and signed a couple of certificates just to get an idea. Works fine. I will pay more attention to it this week, and hopefully I will do something

So long for now – beer time :)

Long day

This day seems to never end. I did some birthday party preparations, fixed lots of small bugs, solved many small problems, Netsaint2mrtg goes along very nice. I have made modular support for plugins and disabled ping monitoring, since most of the hosts are on the local network and ping 0 ms anyway. Zillions of bugs are fixed and several design problems corrected.

I have also found out that Windows machines are not particularly interested in doing push installations from Samba shares of machines which disallow TCP and UDP connections to port 445. Fast grep of /etc/services reports some microsoft-ds. :) By the way, Samba should also be allowed with ports 137-139 open.