In this article I struggled with a Barracuda ST15150N drive that had problems with Tagged Command Queueing. Well, it is nice to have an install diskette that works with a serial console and works with the ST15150N. This article will guide you through the modification of a stock RedHat install boot disk. I will start […]
Modifying a Red Hat 8.0 Install Diskette
The Red Hat Dilemma and One Solution
Red Hat’s maintenance policy is nasty. On the one hand, they need to make money, and maintaining distributions is expensive. On the other hand, for those of us who use Red Hat in budget environments, we can’t really afford their advanced server product, and can’t afford to change to a new version every year. One […]
Stupid Bash Tricks: Magic Carets Correct Munged Commands
We all have fat fingers sometimes and mistype commands, often transposing letters in a word or leaving letters out. When using Bash, you can fix it with the magic carets instead of retyping the whole command. example: [root@pippi opt]# usradd -u 666 -g 100 udergahad bash: usradd: command not found Oops, it should be “useradd”. […]
Analysis of SCO’s Las Vegas Slide Show
Check out Bruce Perens’ analysis here, and ESR’s An Open Letter to Darl McBride.
Using Samba to Authenticate GNU/Linux Against Active Directory
Samba 3.0 allows Linux to authenticate against Active Directory and access shared resources on a Windows 2000 server. Samba 3.0 is still beta. For info on the status, see the status page at samba.org. This article will detail the procedure to get this running with Red Hat 8.0. First, get the Samba distribution from samba.org. […]
Upgrading Gentoo
It has been awhile since we powered up the Sparc64 box we loaded Gentoo on in this article. Well, links was not on the box, and we wanted it. Emerge failed: srv-44 scsi # emerge links . . . !!! Couldn’t download links-2.1_pre2-patch.tar.bz2. Aborting. Doh! We have to emerge portage and sync it: srv-44 scsi […]
Meet the Amazing Mr. lsof
Buoys and gulls, I’d like to introduce the lsof command. Say that you were moving a whole bunch of files, and there was no indication of what file was currently being moved? lsof shows (lists) open files. For instance, if you were moving a bunch of files from directory sales, you could see exactly what […]
Problems Using Loadlin With Large Kernels
We ran across an interesting problem when using our trusty loadlin boot diskette to boot one of our machines when we had a grub freakout: Uncompressing Linux… ran out of input data — System halted_ It turns out that this happens when the kernel is over 1 meg. There are a couple of options. There […]
Using Ksysv to Manage System V Run Levels
The System V init scripts are a bear to configure by hand. We discussed using chkconfig in this article. Ksysv, part of KDE, provides an easy to use GUI interface. Just drag the services to the appropriate place. The priority number, K/S prefix, and symlinks will all be set up automatically. Backup up all of […]
Linus Torvalds on Wired Cover
I was reading Wired last night, and there was an interesting article about Torvalds. You can read the article here. There was a blurb in it about the Stallman GNU/Linux debate that bothered me. Stallman is a crank in the finest sense. This means that when he says something, it is usually true, you just […]
Linux Kernel 2.4.12 Released
It is a good idea to test this and upgrade to it if you are running a 2.4 kernel. There have been some problems with virtual memory with some of the 2.4 releases. There was also a nasty bug with symlinks w/ 2.4.11. Get it from: Kernel.org Mirrors. Seems to work fine for us. We […]
Minicom Compile/Install
Minicom is a simple terminal program. We use it to access our servers via our serial port mux. Most likely your GNU/Linux distribution has Minicom as an available package. If not, or you would rather compile yourself, grab minicom from here. Unpack the sources in your favorite spot and compile: # cd mini* [minicom-2.00.0]# ./configure […]
Mounting USB Filesystems
We have a Sony Cyber-shot model DSC-U20 camera. We had to add USB filesystem support and generic SCSI support to our kernel, but besides that, using the camera with GNU/Linux was quite easy. After your kernel is happy, just plug in your USB device and run dmesg: root@srv-1 u-1 # dmesg . . . hub.c: […]
Booting Linux (For Wusses)
There are two main bootloaders you can use with Linux these days: LILO and GRUB. Red Hat uses GRUB by default now. Most distributions used LILO until quite recently. We built a fairly souped up Linux workstation w/ a large Maxtor IDE drive. We decided to use Sorcerer GNU/Linux; however, we had a horrid time […]
Distributed Compile With Distcc
Ever wish you could harness the power of many boxen to compile those large projects like KDE, or the LInux kernel? Well, you can, with distcc. We grabbed version 1.5, and compiled it on srv-33 and srv-34, two machines with P133 processors: # cd /usr/local/src # tar -xzf distcc*.gz # cd dist* distcc-0.15]# ./configure && […]
How to Tell Which Glibc You Are Using Before Updating
One problem that can get really nasty is if you update an RPM system with the wrong version of glibc. First, we need to find out what glibc RPMs are installed, and then we can determine the architecture: [root@srv-3 root]# rpm -qa | grep glibc glibc-devel-2.3.2-101 glibc-common-2.3.2-101 glibc-kernheaders-2.4-8.36 glibc-2.3.2-101 glibc-headers-2.3.2-101 [root@srv-3 root]# rpm -q –qf […]
Linux Workstation w/ Geforce2 and Asus P4B
It has been awhile since we have purchased workstation hardware for a new system. We settled on the Asus P4B w/ a Geforce2 MX400 AGP video card. As of February 2002, it seemed like the best CPU value was a P4 1.7GHz. We are running Sorcery GNU/Linux so we can squeeze out all of the […]
Running Linux on Sparc64
If you have some old Sun hardware you would like to run GNU/Linux on, the easiest way to get started is to use the CD-ROM images available at Aurora Linux. We’ve tried many different distributions, but the only one that we could get to load successfully is Aurora. Mebbe we are braindead, but if you […]
Using chkconfig & /sbin/service to manage run start up scripts in RedHat
Red Hat includes the checkconfig & service utilities to help you manage your start up scripts and save you a lot of typing. This is handy when you’re adding your own services and also in managing the already existing services. chkconfig is available if you want to use it on other distributions that may not […]
Gentoo Migration With Dump / ST15150
We have an old Sun box that won’t even run Solaris 8. Plus, Urbana wants to run Solaris 9 on the good Sun box, not GNU/Linux. After we optimized our system with Gentoo, we didn’t want to redo the compiles, especially on this slower box. We did a dump of the filesystem, installed Aurora on […]