Linux HAM/Amateur Radio development
 help / color / mirror / Atom feed
From: Bernard Pidoux <pidoux@ccr.jussieu.fr>
To: Chuck Hast <wchast@gmail.com>
Cc: List for LINUX ROSE/FPAC network switch <fpac@f6fbb.org>,
	linux-hams <linux-hams@vger.kernel.org>
Subject: proposed mheardd and mheard patches
Date: Sun, 03 Jul 2005 22:27:45 +0200	[thread overview]
Message-ID: <42C84A41.7080308@ccr.jussieu.fr> (raw)
In-Reply-To: <620c90570507030818156ff53a@mail.gmail.com>

Chuck,

As you noticed, a number of ROSE / FPAC stations have difficulties with 
the mheard function and cannot display AX25 traffic statistics.

This is because mheard does not find mheard.dat database file.

This can occure if :

- the directory, where mheard.dat file should be, does not exist.
   (It is usually in  /var/ax25/mheard/ )
- or mheard.dat is written into another directory.

In the first case, presently, mheardd does not complain if 
/var/ax25/mheard/ directory has not been created before it is started.
This is probably a default in the make install procedure of ax25-tools 
and could be corrected.

However, I thought it would be more user friendly if both programs where 
more verbous when finding errors.

Thus, I made two small patches.

With the first one, mheardd will display the directory and file when the 
daemon fails to write mheard.dat file. If so it will exit.
User will know the directory to mkdir before starting mheardd again.

Modified mheard client, will also display the directory and file names 
if it does not find it.

The user will thus be able to understand the situation and solve it.

Proposed patch is here :
http://f6bvp.free.fr/logiciels/fpac/mheardd.diff

73 de Bernard, f6bvp

       reply	other threads:[~2005-07-03 20:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <620c9057050702182953bb166e@mail.gmail.com>
     [not found] ` <005301c57fa4$0b35da90$0700010a@jeanpaul>
     [not found]   ` <620c90570507030511123614d2@mail.gmail.com>
     [not found]     ` <6.2.1.2.2.20050703091801.01eb8778@mail.bellsouth.net>
     [not found]       ` <620c90570507030818156ff53a@mail.gmail.com>
2005-07-03 20:27         ` Bernard Pidoux [this message]
2005-07-03 21:00           ` proposed mheardd and mheard patches Chuck Hast

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42C84A41.7080308@ccr.jussieu.fr \
    --to=pidoux@ccr.jussieu.fr \
    --cc=fpac@f6fbb.org \
    --cc=linux-hams@vger.kernel.org \
    --cc=wchast@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox