[Xastir] Xastir iGate Setup

Andrew McKay aacmckay at gmail.com
Tue Sep 11 19:52:02 PDT 2018


I found the solution and I knew it was going to be a stupid one (on my
part)!  I know I likely missed it out of a simple how-to or email thread as
well.  But I'm wanting to put the solution out there just so if there are
others that have a brain fart like me they will get this fixed.  Under the
the File -> Configure -> defaults menu you must select "Allow RF to Inet
traffic only" under the igate options.  This setting overrides the
individual Interface settings.  In other words if you don't allow RF to
inet traffic here the TNC interface can't do it either even if it's enabled
on the specific interface.

Some commentary on the settings.  I do understand the rationale behind
this, but I think that the configuration could be more clear that this
particular setting is a global enable that overrides the individual
Interface settings.

Thanks everyone that took the time to reply to this thread.  I appreciate
the help!

On Tue, Sep 11, 2018 at 7:45 PM Andrew McKay <aacmckay at gmail.com> wrote:

> Well I tested to no avail.  Set up was:
>     Laptop 1: Xastir running soundmodem (tx only) through a sound card -
> Set up as station VA4XRY-1
>     Laptop 2: Xaster running connected to a Tiny Track 4 TNC - Set up as
> station VA4XRY
>
> When I hit transmit now on Laptop 1, Laptop 2 sees the station VA4XRY-1
> broadcast by Laptop 1.  New station is drawn on map.  Same issue as before
> I'm seeing the tnc.log and net.log populate, but no igate.log appears and
> the station is not showing up on aprs.fi.  I have confirmed the settings
> that you suggested.  But the raw config file reads as follows:
>
> Device 0 (KISS TNC):
>      DEVICE0_TYPE:10
>      DEVICE0_NAME:/dev/ttyUSB0
>      DEVICE0_RADIO_PORT:
>      DEVICE0_CONVERSE_CMD:k
>      DEVICE0_INTERFACE_COMMENT:
>      DEVICE0_HOST:
>      DEVICE0_PASSWD:
>      DEVICE0_FILTER_PARAMS:
>      DEVICE0_UNPROTO1:WIDE2-2
>      DEVICE0_UNPROTO2:
>      DEVICE0_UNPROTO3:
>      DEVICE0_UNPROTO_IGATE:WIDE2-1
>      DEVICE0_TNC_UP_FILE:
>      DEVICE0_TNC_DOWN_FILE:
>      DEVICE0_TNC_TXDELAY:40
>      DEVICE0_TNC_PERSISTENCE:63
>      DEVICE0_TNC_SLOTTIME:20
>      DEVICE0_TNC_TXTAIL:30
>      DEVICE0_TNC_FULLDUPLEX:0
>      DEVICE0_TNC_INIT_KISSMODE:0
>      DEVICE0_SPEED:14
>      DEVICE0_STYLE:0
>      DEVICE0_IGATE_OPTION:2
>      DEVICE0_TXMT:1
>      DEVICE0_RELAY_DIGIPEAT:1
>      DEVICE0_RECONN:0
>      DEVICE0_ONSTARTUP:1
>      DEVICE0_GPSRETR:5
>      DEVICE0_SETTIME:0
>      DEVICE0_TNCEXTRADELAY:0
>
> Device 1 (INET Server)
>      DEVICE1_TYPE:5
>      DEVICE1_NAME:
>      DEVICE1_RADIO_PORT:0
>      DEVICE1_CONVERSE_CMD:k
>      DEVICE1_INTERFACE_COMMENT:Core INET Servers
>      DEVICE1_HOST:rotate.aprs2.net
>      DEVICE1_PASSWD:17314
>      DEVICE1_FILTER_PARAMS:m/500
>      DEVICE1_UNPROTO1:
>      DEVICE1_UNPROTO2:
>      DEVICE1_UNPROTO3:
>      DEVICE1_UNPROTO_IGATE:WIDE2-1
>      DEVICE1_TNC_UP_FILE:
>      DEVICE1_TNC_DOWN_FILE:
>      DEVICE1_TNC_TXDELAY:40
>      DEVICE1_TNC_PERSISTENCE:63
>      DEVICE1_TNC_SLOTTIME:10
>      DEVICE1_TNC_TXTAIL:30
>      DEVICE1_TNC_FULLDUPLEX:0
>      DEVICE1_TNC_INIT_KISSMODE:0
>      DEVICE1_SPEED:14580
>      DEVICE1_STYLE:0
>      DEVICE1_IGATE_OPTION:0
>      DEVICE1_TXMT:1
>      DEVICE1_RELAY_DIGIPEAT:1
>      DEVICE1_RECONN:1
>      DEVICE1_ONSTARTUP:1
>      DEVICE1_GPSRETR:5
>      DEVICE1_SETTIME:0
>      DEVICE1_TNCEXTRADELAY:0
>
> I also ran Xastir with verbose settings to trace what software was doing.
> I can confirm that it authenticated with the server with a correct passcode:
>      Channel data on Port 1 [# logresp VA4XRY verified, server T2GREECE]
>      Channel data on Port 1
> [VE3LWR>APTT4,VE4EMB-3,WIDE1,VE4BCN-1,WIDE2*,qAO,VE4HEK:!4944.2930N/0920.5371W#PHG6480/W3,
> Rptr 147.03-]
>
> If I change the passcode it will say unverified instead.  Also the logs
> confirm that the VA4XRY-1 station was received correctly and added:
>      decode_info_field: done
>      decode_ax25_line: exiting
>      Display File Start
>      Display File Stop
>      Display File Start
>      Display File Stop
>      Channel data on Port 0 [‚ °dbb`¬‚h°¤²b®’ˆŠd at e
> ð=4950.57N/09709.05Wx/A=000963/Xastir Newbie]
>      tnc_data_clean: called to clean
> VA4XRY-1>APX211,WIDE2-2:=4950.57N/09709.05Wx/A=000963/Xastir Newbie
>      tnc_data_clean: clean result
> VA4XRY-1>APX211,WIDE2-2:=4950.57N/09709.05Wx/A=000963/Xastir Newbie
>      decode_ax25_line: start parsing
> VA4XRY-1>APX211,WIDE2-2:=4950.57N/09709.05Wx/A=000963/Xastir Newbie
>      c/p/i/o fr pt tp: Registering data VA4XRY-1 APX211,WIDE2-2
> =4950.57N/09709.05Wx/A=000963/Xastir Newbie  T 0 0
>      decode_info_field: c:VA4XRY-1 p:APX211,WIDE2-2
> m:=4950.57N/09709.05Wx/A=000963/Xastir Newbie f:T o:
>      decode_info_field: Past check
>      decode_info_field: ok_igate_net can be read
>      decode_info_field: = (position w/o timestamp)
>      data_add:
>           type: 1
>           call_sign: VA4XRY-1
>           path: APX211,WIDE2-2
>           data: 4950.57N/09709.05Wx/A=000963/Xastir Newbie
>           from: T
>           port: 0
>           origin:
>           third_party: 0
>      data_add: No existing station record found.
>      Setting ST_DIRECT for station VA4XRY-1
>
> I feel like I must be missing a really obvious setting.  But quick and
> dirty both interfaces are configured to transmit.  No transmit features are
> disabled, and I've tried setting igate setting to RF to inet only and to
> bidirectional.
>
>
>
> On Sun, Sep 9, 2018 at 1:59 PM Andrew McKay <aacmckay at gmail.com> wrote:
>
>>
>> Hi Dave,
>>
>> I'm going to spend a bit of time troubleshooting this today.  I have
>> Xastir set up on two laptops now.
>> One with a KISS TNC connected via serial port and the other using
>> soundmodem and an x25 port.
>> I should be able to get the two of them to talk to each other without
>> using radios just for testing
>> purposes.
>>
>>
>>>
>>>
>>> 1) In the Internet port configuration, do you have a passcode entered
>>> and is
>>> "Allow transmitting" checked?
>>>
>>
>> Correct I have added a passcode that I generated on:
>> https://apps.magicbug.co.uk/passcode/
>> Allow transmitting was checked on both.
>>
>>
>>> 2) If you're using the m/distance_in_KMs filter on your Internet port
>>> config, did you use the "move my station here" function to put your icon
>>> sorta near where you want it?
>>>
>>
>> I tested both with an the unfiltered port, and the filtered port with
>> filtered parameters set to m/500.
>> As for setting the location of my station, I didn't realize about the
>> right click method.  That said I went
>> to File -> Configuration -> Station and set the Lat and Long to my
>> position manually. I have also had
>> a USB GPS connected to the laptop and set it up as an interface to get my
>> position.  I assume that
>> either of those methods would work the same as the right click method.
>>
>> 3) Under "Interface" are any of the boxes checked (none should be).
>>>
>>
>> Settings confirmed, none are checked when I was testing
>>
>>
>>> #2 can be a real "gotcha".  If you don't have your Xastir icon where you
>>> want it then the "mine+distance" filter won't work right.  Also note that
>>> even if you have "use English units" selected, the m syntax is in
>>> Kilometers.
>>>
>>> "move my station here" can be accessed via right-clicking on the
>>> displayed
>>> map.
>>>
>>> Hope this helps.
>>>
>>> Dave
>>> KD7MYC
>>>
>>> -----Original Message-----
>>> From: Xastir [mailto:xastir-bounces at lists.xastir.org] On Behalf Of
>>> Andrew
>>> McKay
>>> Sent: Saturday, September 08, 2018 09:16
>>> To: xastir at lists.xastir.org
>>> Subject: Re: [Xastir] Xastir iGate Setup
>>>
>>> I had logging on and nothing is showing up in an igate.log file.  I'm
>>> seeing net.log and tnc.log fill up.
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Xastir mailing list
>>> Xastir at lists.xastir.org
>>> http://xastir.org/mailman/listinfo/xastir
>>>
>>


More information about the Xastir mailing list