Best of Technical Support
I am new to the Linux world and have what I think is a fairly simple question. I would like to know how to get information from a CD using the X Window System. Can you help me with this? —Anthony, DrexelDG@aol.com
First, mount your CD-ROM using the command mount /cdrom if /etc/fstab is properly configured. Otherwise, as root use mount /dev/hdb /cdrom. Your distribution probably offers some graphic tools to help with the task; remember man mount is your friend. —Alessandro Rubini, firstname.lastname@example.org
First, in an xterm, log in as root (su -root and type in the root password when prompted). Then, create a directory where the CD will appear to be:
Next, insert the CD and mount it on the directory you created:
mount -t iso9660 -o ro /dev/hdd /mnt/cdromThen, you should be able to cd to /mnt/cdrom and use the files on the CD. When you're done, the command
umount /mnt/cdromwill tell Linux to “let go” of the CD so you can eject it and work on another. —Scott Maxwell, email@example.com
When LILO starts to boot Linux, I get an error message saying, “BIOS32 extension does not exist. Sorry, this release still depends on it!” I am unable to boot Linux because of this. What should I do? —Mark, firstname.lastname@example.org
LILO must be installed on your MBR (Master Boot Record), on a floppy disk or the first sector of your Linux partition. If you have an IDE drive, it must be located before the 540MB limit; if you have a SCSI drive, it must be lower than cylinder 1024. Is your LILO installed in the proper location? —Daniel Lafraia, email@example.com
This message is printed by a SCSI driver which is compiled in your default kernel and is benign as you don't have that SCSI controller. Most drivers don't print any message when they fail detecting the hardware; in my opinion, this is good. It looks as if your kernel is locking when probing for some other hardware, but I can't tell which one. You should try to remove any strange ISA device installed in your system, then compile your own kernel, leaving out everything of no interest to you.
Note that most modern distributions use modules for each device driver in order to avoid probing for uninstalled peripherals. —Alessandro Rubini, firstname.lastname@example.org
At what speed is my modem connecting? I have REPORT CONNECT in my chat script, but it always indicates I am connected at 57600. How do I query the modem or pppd to find out the speed at which I am actually connected? —James M. Pothering, email@example.com
You need to make a change in your modem settings. Consult your modem's manual to learn which string to send, then use a terminal program such as minicom to instruct your modem to return the modem-to-remote (DCE) speed, not the computer-to-modem (DTE) speed. For example, for my modem I would type ATW2&W. This turns on “Report connection rate only as CONNECT XXXX” (W2) and saves the settings for the next use (&W). —Chad Robinson, firstname.lastname@example.org
I've upgraded to glibc 2.1, but certain older applications (StarOffice in particular) don't want to run now. How do I either convince StarOffice to like the new glibc, or else keep the old 2.0.7 installed just for StarOffice's use? —Tim Pepper, email@example.com
Here's a shot in the dark... Instead of executing “soffice” by itself to start StarOffice, execute the following:
Be sure to have the 2.0.7 libraries in a directory separate from all the rest of your system libraries (they typically reside in /lib). The command above should make StarOffice look for shared libraries in the LD_LIBRARY_PATH first before moving on to look elsewhere. Note that you do not want this particular LD_LIBRARY_PATH variable to be permanent; you just want to execute it when you start StarOffice. (Of course, replace /glibc_libraries_path with the actual path to your glibc 2.0.7 libraries.) —Erik Ratcliffe, firstname.lastname@example.org
You can influence how any application searches for shared libraries by setting the LD_LIBRARY_PATH environment variable (don't forget to use export LD_LIBRARY_PATH=..., so the environment variable's value will be visible to applications you run). The value of this variable should be a colon-separated list of directories to be searched before the usual locations.
Writing a simple shell script will make life simpler. Do something like this:
#!/bin/bash export LD_LIBRARY_PATH=/path_old_glibc/ exec soffice
If necessary, you can also force the issue with LD_PRELOAD:
#!/bin/bash export LD_PRELOAD=/path_old_libc.so exec soffice—Scott Maxwell, email@example.com
Practical Task Scheduling Deployment
One of the best things about the UNIX environment (aside from being stable and efficient) is the vast array of software tools available to help you do your job. Traditionally, a UNIX tool does only one thing, but does that one thing very well. For example, grep is very easy to use and can search vast amounts of data quickly. The find tool can find a particular file or files based on all kinds of criteria. It's pretty easy to string these tools together to build even more powerful tools, such as a tool that finds all of the .log files in the /home directory and searches each one for a particular entry. This erector-set mentality allows UNIX system administrators to seem to always have the right tool for the job.
Cron traditionally has been considered another such a tool for job scheduling, but is it enough? This webinar considers that very question. The first part builds on a previous Geek Guide, Beyond Cron, and briefly describes how to know when it might be time to consider upgrading your job scheduling infrastructure. The second part presents an actual planning and implementation framework.
Join Linux Journal's Mike Diehl and Pat Cameron of Help Systems.
Free to Linux Journal readers.View Now!
|The Firebird Project's Firebird Relational Database||Jul 29, 2016|
|Stunnel Security for Oracle||Jul 28, 2016|
|SUSE LLC's SUSE Manager||Jul 21, 2016|
|My +1 Sword of Productivity||Jul 20, 2016|
|Non-Linux FOSS: Caffeine!||Jul 19, 2016|
|Murat Yener and Onur Dundar's Expert Android Studio (Wrox)||Jul 18, 2016|
- Stunnel Security for Oracle
- The Firebird Project's Firebird Relational Database
- Murat Yener and Onur Dundar's Expert Android Studio (Wrox)
- SUSE LLC's SUSE Manager
- Managing Linux Using Puppet
- My +1 Sword of Productivity
- Non-Linux FOSS: Caffeine!
- Doing for User Space What We Did for Kernel Space
- Google's SwiftShader Released
- SuperTuxKart 0.9.2 Released
With all the industry talk about the benefits of Linux on Power and all the performance advantages offered by its open architecture, you may be considering a move in that direction. If you are thinking about analytics, big data and cloud computing, you would be right to evaluate Power. The idea of using commodity x86 hardware and replacing it every three years is an outdated cost model. It doesn’t consider the total cost of ownership, and it doesn’t consider the advantage of real processing power, high-availability and multithreading like a demon.
This ebook takes a look at some of the practical applications of the Linux on Power platform and ways you might bring all the performance power of this open architecture to bear for your organization. There are no smoke and mirrors here—just hard, cold, empirical evidence provided by independent sources. I also consider some innovative ways Linux on Power will be used in the future.Get the Guide