All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Ranch <linux-hams@trinnet.net>
To: folkert <folkert@vanheusden.com>, linux-hams@vger.kernel.org
Subject: Re: [Linux-ham] netrom
Date: Sun, 10 Apr 2016 14:41:18 -0700	[thread overview]
Message-ID: <570AC87E.3030705@trinnet.net> (raw)
In-Reply-To: <20160410193639.GX25136@belle.intranet.vanheusden.com>


Hey Folkert,


> My script is as below. If I remove the modprobe/nrattach and then do
> that manually afterwards, then it does not work.

That's strange but to be honest, I would recommend you to do all your 
base infrastructure commands first (kissattach, netrom, ax25d, mheard, 
etc) FIRST.  Then start some of your AX.25 applications (axdigi, 
aprsdigi, etc) next and then your beacons last.


> /usr/sbin/kissattach /dev/ttyAMA0 axportr 192.168.45.8

Btw, after you run this command, check out the output of "ifconfig -a" 
and check the subnet mask.  I bet it's wrong.  You'll need to manually 
correct this with ifconfig after the fact.  This is what my packetrig.sh 
script does.



> /usr/sbin/aprsdigi --verbose \
>                  --kill_dupes \
>                  --kill_loops \
>                  --int ax25:FH1GOU-1:RELAY,WIDE,FOO,TRACE \
>                  --interface udp:172.29.0.40/9978/5 \
>                  --interface udp:cbaprs.de/27235/5 \
>          | tee -a /var/aprsigi.log


Please do not use the legacy RELAY syntax.  Only use WIDE and maybe 
TRACE.  I'm not very familiar with aprsdigi but have you seen Aprx?


> Maybe it has to do with the axlisten running in the bg. If Im right it
> opens the interfaces in promisquous mode, maybe that blocks nrattach.

That's possible but that would be a bug in my book.


> 4.1.12+ raspberry pi, raspbian
> ii  ax25-apps                             0.0.8-rc2+cvs20120204-2 armhf        AX.25 ham radio applications
> ii  ax25-node                             0.3.2-7.4 armhf        Amateur Packet Radio Node program
> ii  ax25-tools                            0.0.10-rc2+cvs20120204-3 armhf        tools for AX.25 interface configuration
> ii  ax25-xtools                           0.0.10-rc2+cvs20120204-3 armhf        tools for AX.25 interface configuration -- X11-based
> ii  libax25                               0.0.12-rc2+cvs20120204-2 armhf        ax25 library for hamradio applications
> ii  libax25-dev                           0.0.12-rc2+cvs20120204-2 armhf        ax25 library development files

Yeah.. that's OLD code (2012).  If you want to run the Official AX.25 
tools (not always the most current btw), I recommend you use the most 
current code in Git - http://www.linux-ax25.org/wiki/GIT

More recommended, try building VE7FET's version of the tools: 
https://github.com/ve7fet/linuxax25


> The one included in debian.

Not recommended (see above) as you are missing some key fixes 
(especially if you're going to be doing AMPR / IPIP net stuff)

--David

  reply	other threads:[~2016-04-10 21:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-01 18:40 [Linux-ham] netrom folkert
2016-04-01 19:37 ` David Ranch
2016-04-01 20:12   ` folkert
2016-04-01 21:20     ` David Ranch
2016-04-08  9:44       ` folkert
2016-04-08 15:03         ` David Ranch
2016-04-10 19:36           ` folkert
2016-04-10 21:41             ` David Ranch [this message]
2016-04-03 11:13   ` Miroslav Skoric
2016-04-03 16:41     ` David Ranch

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=570AC87E.3030705@trinnet.net \
    --to=linux-hams@trinnet.net \
    --cc=folkert@vanheusden.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.