Best of Technical Support

Our experts answer your technical questions.
minicom Configuration Problem

My machine is a p75 with a Fujitsu hard drive and a Hayes Accura 56kflex external modem. I have 4 partitions: MS-DOS, Caldera, Red Hat and swap. I have a mouse on com1 and a modem on com2. The modem works fine in DOS. In Linux, when I go into X and start seyon, an AT returns “ok” and I can dial out and get a response from a BBS or my ISP.

When I go into minicom, it does not dial out. I wait for a couple of retries and then exit minicom. As soon as I exit, minicom dials out.

If I open minicom in a vt the same thing happens. In all cases the modem init light comes on, but there is no dialing until I exit from minicom.

Can someone please tell me where I am going wrong? No one has been able to help—not Hayes, not the Caldera help line, not any of the lists where I posed the question. Any suggestions will be much appreciated.

—Ted Wager

Ok, you have a problem with minicom's config somewhere. Now I could be more helpful if I knew if an init string came up or just the familiar “Press ctrl-A Z for help on special settings.” My advice to you is go through the settings and make sure minicom is set up as it should be. (Usually it is set to /dev/modem assuming /dev/modem is a symbolic link to /dev/cua1.) Check your serial port settings and check your init string.

—Mark Bishop, Vice President Southern Illinois Linux Users Group mark@vincent.silug.org

syslogd messages

On my home PC, the /var/adm/messages file was getting pretty big. I deleted it, then created a new one with touch. The new file's permissions are identical to the original.

But now, /usr/sbin/syslogd will not run for more than about two minutes. No data is logged to /var/adm/messages anymore. What have I done?

—Bill Cunningham Slackware

syslogd sometimes doesn't like it if the files it has open for writing are modified. Sending SIGHUP (kill -HUP) is usually enough to make it start writing to the file again.

Incidentally, I use the program logrotate to manage my syslog files. It trims them as necessary, archives old files and restarts syslogd as needed after working on the log files. It has made log file management much easier for me.

—Keith Stevenson k.stevenson@louisville.edu

Multi-threaded Applications

I want to program multi-threaded applications. Kernel threads are available, I know. But how about thread-safe versions of much used libraries (libc and tcpip communications)?

—Peter Boncz Generic

You can try the LinuxThreads library, which is a free, kernel-level implementation of POSIX 1003.1c threads under Linux (based on the clone system call). For information about compatible libraries, check out http://pauillac.inria.fr/~xleroy/linuxthreads/.

—Pierre Ficheux, Lectra Syst pierre@rd.lectra.fr

______________________

Webinar
One Click, Universal Protection: Implementing Centralized Security Policies on Linux Systems

As Linux continues to play an ever increasing role in corporate data centers and institutions, ensuring the integrity and protection of these systems must be a priority. With 60% of the world's websites and an increasing share of organization's mission-critical workloads running on Linux, failing to stop malware and other advanced threats on Linux can increasingly impact an organization's reputation and bottom line.

Learn More

Sponsored by Bit9

Webinar
Linux Backup and Recovery Webinar

Most companies incorporate backup procedures for critical data, which can be restored quickly if a loss occurs. However, fewer companies are prepared for catastrophic system failures, in which they lose all data, the entire operating system, applications, settings, patches and more, reducing their system(s) to “bare metal.” After all, before data can be restored to a system, there must be a system to restore it to.

In this one hour webinar, learn how to enhance your existing backup strategies for better disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible bare-metal recovery solution for UNIX and Linux systems.

Learn More

Sponsored by Storix