Best of Technical Support

Our experts answer your technical questions.
Mounting Mac OS Partitions

I have a 2001 iMacDV (400MHz, 128MB RAM) running Mac OS 9.1 and Yellow Dog 2.0. I cannot gain access to files on my Mac OS 9.1 partition. I assumed that my Mac OS partition was hda1, but this may be wrong.

—Bill MacKay,

It's not hda1. Macs use a rather complex partitioning scheme. Use the command cat /proc/partitions to see all your partitions. That should help you narrow it down.

—Ben Ford,

Firewall Takes Hours to Start

I upgraded the kernel of my Red Hat 6.0 system to 2.2.16-3 in order to use ipchains. I used the instructions from support to upgrade the kernel. It now works great as a dedicated firewall. Whenever the power goes out, I reboot the machine and run the /etc/rc.d/rc.firewall script, which I obtained from, and this takes an hour to complete. Is there some way to speed up this process?

—Paul Lamping,

Are you using a large hard drive with ext2 as your filesystem? In that case, the process that is taking so long is the filesystem checking process due to an improper shutdown. There are a couple of things you can do about that. You can try a journaling filesystem, use a UPS battery backup to shut down gracefully, or get creative with your drive partitioning and make as much of it read-only as you can.

—Ben Ford,

Setting up your firewall rules should be a matter of seconds, not minutes or hours. One thing that may be causing problems is if you use names for hosts rather than IP addresses. If your boot scripts start your name server after your firewall script runs, this forces each line that does a DNS lookup to time out before continuing. This can also be the case if you refer to a name server on another machine and your firewall script locks the machine out before creating “allow” entries.

—Chad Robinson,

Printing Stopped Working

I have been printing to a Jetdirect-enabled HP LaserJet 4Plus on our LAN for several years using its IP address. It recently stopped working. Running any lp command (lpq, lpr, etc.) returns the following message:

Printer 'lp@localhost' - cannot open
Connection refused
Make sure LPD server is running on the server

—Murray Zangen,

Have you tried rebooting the printer? This problem is a symptom of the recently seen CodeRed IIS and indexing server worm. It stops many printers and Cisco devices cold.

—Ben Ford,

It appears that your problem is local to the box, not to the HP printer. LP is telling you that LPD is not running on the local server, which it must connect to in order to queue the request for the remote printer. Check the output of ps ax to ensure that LPD is running properly. If it is, you should also check connectivity to your printer manually by Telneting to the IP address given by /etc/printcap. Finally, make sure you are selecting the correct print queue, and print a test job using lp from the command line rather than printing from an application.

—Chad Robinson,

How to Change Samba Passwords

I have configured Samba and my server shows up in Network Neighborhood on my Win98 workstations. I can see the folders on my server, yet it asks for a password to access the folders. I have tried resetting the password in Samba for that shared folder, but I can't seem to figure out where the right place is to set it.

—Dan Schmeh,

The standard installation uses /etc/passwd. If you use the standard installation you need to modify the registry on the browsing machine to allow for unencrypted passwords. Add the following key:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services \VxD\Vnetsup\EnablePlainTextPassword = 1

and reboot. There is a good discussion of encrypted vs. un-encrypted passwords in the Samba distribution. On Red Hat 7.0, the file is /usr/share/doc/samba-2.0.7/docs/textdocs/ENCRYPTION.txt.

—Christopher Wingert,

How to Start a Web Server Automatically

httpd doesn't automatically start during boot time. I have to start it manually from the /etc/rc.d/init.d/ directory. Which config file should I modify to make it start at boot time?

—W. Huang,

Run chkconfig --level 5 httpd on. This assumes you run in runlevel 5 (GUI in Red Hat). If you want other runlevels, just change the 5 to the number of the runlevel you wish to change.

—Ben Ford,



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Regressions in the installation programs of recent Linux distros

masinick's picture

I have a Compaq Presario, 2001 factory refurbished vintage. It comes with the Compaq OEM Internet keyboard (a USB keyboard), an OEM version of the Logitech basic Wheel Mouse, 64 MB memory, a 20 GB Quantum Fireball disk. To this, I have added another 20 GB Western Digital disk, a 3COM 905B series Ethernet adapter, and an additional 256 MB stick of memory, bringing memory capacity to 320 MB and disk capacity to 2- 20 GB disks.

I have installed several versions of Linux. Mandrake and Red Hat are two of my favorites. The 8.0 and 7.1 versions of each installed flawlessly. Recently, I installed the new 8.1 and 7.2 versions, respectively. The Mandrake 8.1 version now has problems using the mouse during installation, and the Red Hat 7.2 version cannot even detect the keyboard.

I have two questions:

Any ideas what cause these regressions?

Are there any good workarounds or fixes available for either distro?


Brian Masinick

Re: Regressions in the installation programs of recent Linux dis

Anonymous's picture

I have the exact same problem...

I have the new Presario 8000 serie with the AMD XP and the compaq USB internet keyboard. I tried to installed Redhat 7.2, but it couldn't detect the keyboard. Actually, I should say: it does detect it once in a while (once every 5 or 6 reboot).

It seems like before it loads the USB support from the kernel, the keyboard works fine (Numlock, caps lock works), but most of the time after the USB is loaded, the keyboard doesn't work aymore...

I don't know what's wrong, especially since I had Redhat 7.1 before on the same computer and it was working great!?

Thank you.