Linux HAM/Amateur Radio development
 help / color / mirror / Atom feed
From: Tomi Manninen <oh2bns@sral.fi>
To: "Charles Boling (AD7UF)" <junk07+ham@boling.us>
Cc: linux-hams@vger.kernel.org
Subject: Re: ax.25 localhost?
Date: Sun, 22 Jul 2012 23:25:31 +0300	[thread overview]
Message-ID: <500C61BB.4090103@sral.fi> (raw)
In-Reply-To: <500B8DA9.5010803@boling.us>

On 07/22/2012 08:20 AM, Charles Boling (AD7UF) wrote:
>
>> But I know that NET/ROM in Linux does support loopback. You can connect
>> to any NET/ROM service on your system from your system.
>
> How does that work?  If I try connecting to myself, I just get:
> 	axcall: NET/ROM callsign or alias not found
>
> I then tried adding myself into my own node list using nrparms, but
> since it wants an AX.25 device, we're back to the same problem; it calls
> out on that device and doesn't find itself.

Yeah, I noticed that it doesn't work with axcall (wow, it's been
a while since I last typed "modprobe netrom" ... :)

After taking a quick look, it seems that axcall has it's own
function for looking up the nodes, and it only looks at the
kernel netrom routing table (/proc/net/nr_nodes).

LinuxNode uses the libax25 find_node() function which also
includes any local running netrom interfaces to the list
of nodes. So right now I guess this netrom loopback thing
only works from within LinuxNode (netrom_call also seems
to work but it's bit of pain to use from command line
as it doesn't translate the EOLs...)

/Tomi


  reply	other threads:[~2012-07-22 20:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-21 16:08 ax.25 localhost? folkert
2012-07-21 16:46 ` Charles Boling (AD7UF)
2012-07-21 21:12   ` Tomi Manninen
2012-07-21 22:17     ` folkert
2012-07-22  5:20     ` Charles Boling (AD7UF)
2012-07-22 20:25       ` Tomi Manninen [this message]
2012-07-21 22:10   ` folkert
  -- strict thread matches above, loose matches on Subject: below --
2012-12-15  4:44 Matt VK2RQ
2012-12-15  9:26 ` Thomas Osterried

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=500C61BB.4090103@sral.fi \
    --to=oh2bns@sral.fi \
    --cc=junk07+ham@boling.us \
    --cc=linux-hams@vger.kernel.org \
    /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