Linux-Hams archive - February 1997: Re: Problems with node & kernel

Re: Problems with node & kernel

Tom Mazouch (kwtzgbf@comcity.net)
Wed, 5 Feb 1997 09:45:06 +0100 (MET)


>
> > 2. I see many problem reports about calling netrom from node. In
> > node/gateway.c (function connect_to, case AF_NETROM) I changed
> >
> > /* Why on earth is this different from ax.25 ????? */
> > sprintf(path, "%s %s", nr_config_get_addr(NrPort), call);
> >
> > to
> >
> > /* Why on earth is this different from ax.25 ????? */
> > sprintf(path, "%s %s", nr_config_get_addr(NULL), call);
>
> Unless something has changed in the nrconfig library this change is not
> necessary. Please read the manuals and the HISTORY file every time you
> install a new version. There is a new parameter in node.conf that
> should be set to the name of the netrom interface (as defined in
> /etc/ax25/nrports) that is used for node in ax25d.conf.
>
> See "man node.conf" and the sample files in ax25-utils-xxx/node/etc.
>
> --
> ---Tomi Manninen / itwzru@barryshermer.com / OH2BNS @ OH2RBI.FIN.EU---
>
Thanks, you are right. But there is another little problem. I have ports
named ax0 ax1 ... and when user coming up on ax0 type C AX0 XX1XXX,
SSID of downlink connection is not inverted. The problem is port name typed
in UPPERCASE. Possibly the function strcmp in gateway.c, connect_to, case
AF_AX25 isn't the best choice. Maybe strncmp...?
Tom