old-www/HOWTO/AX25-HOWTO/x1958.html

241 lines
4.2 KiB
HTML

<HTML
><HEAD
><TITLE
>Configuring the user_call programs</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.63
"><LINK
REL="HOME"
TITLE="Linux Amateur Radio AX.25 HOWTO"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE="Configuring the pms"
HREF="x1914.html"><LINK
REL="NEXT"
TITLE="Configuring the ROSE Uplink and Downlink commands"
HREF="x1990.html"></HEAD
><BODY
CLASS="SECT1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Linux Amateur Radio AX.25 HOWTO</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="x1914.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="x1990.html"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="AEN1958"
>16. Configuring the <EM
>user_call</EM
> programs</A
></H1
><P
>The `<EM
>user_call</EM
>' programs are really called:
<EM
>ax25_call</EM
> and
<EM
>netrom_call</EM
>. They are very simple programs
designed to be called from <EM
>ax25d</EM
> to automate
network connections to remote hosts. They may of course be called from
a number of other places such as shell scripts or other daemons such
as the <EM
>node</EM
> program.</P
><P
>They are like a very simple <EM
>call</EM
> program. They don't do any meddling
with the data at all, so the end of line handling you'll have to worry about
yourself.</P
><P
>Let's start with an example of how you might use them. Imagine you have
a small network at home and that you have one linux machine acting as your
Linux radio gateway and another machine, lets say a BPQ node connected to it
via an ethernet connection.</P
><P
>Normally if you wanted radio users to be able to connect
to the BPQ node they would either have to digipeat through your linux node,
or connect to the node program on your linux node and then connect from it.
The <EM
>ax25_call</EM
> program can simplify this if it is called from the
<EM
>ax25d</EM
> program.</P
><P
>Imagine the BPQ node has the callsign <TT
CLASS="LITERAL"
>VK2KTJ-9</TT
> and that the linux
machine has the AX.25/ethernet port named `<TT
CLASS="LITERAL"
>bpq</TT
>'. Let us also imagine
the Linux gateway machine has a radio port called `<TT
CLASS="LITERAL"
>radio</TT
>'.</P
><P
>An entry in the <TT
CLASS="LITERAL"
>/etc/ax25/ax25d.conf</TT
> that looked like:</P
><P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
>[VK2KTJ-1 via radio]
default * * * * * * *
root /usr/sbin/ax25_call ax25_call bpq %u vk2ktj-9</PRE
></FONT
></TD
></TR
></TABLE
></P
><P
>would enable users to connect direct to `<TT
CLASS="LITERAL"
>VK2KTJ-1</TT
>'
which would actually be the Linux <EM
>ax25d</EM
> daemon
and then be automatically switched to an AX.25 connection to
`<TT
CLASS="LITERAL"
>VK2KTJ-9</TT
>' via the `<TT
CLASS="LITERAL"
>bpq</TT
>'
interface.</P
><P
>There are all sorts of other possible configurations that you might try.
The `<EM
>netrom_call</EM
>' and `<EM
>rose_call</EM
>' utilities work in
similar ways. One amateur has used this utility to make connections to a
remote BBS easier. Normally the users would have to manually enter a long
connection string to make the call so he created an entry that made the BBS
appear as though it were on the local network by having his <EM
>ax25d</EM
> proxy
the connection to the remote machine.</P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="x1914.html"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="x1990.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Configuring the <EM
>pms</EM
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Configuring the ROSE Uplink and Downlink commands</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>