KISS Over TCP/IP?

656 views
Skip to first unread message

Michael Wolthuis

unread,
Jan 8, 2021, 8:54:46 PM1/8/21
to pat-users
Has anyone written a KISS Over TCP/IP interface for PAT?

Trying to connect to a local BPQ TNC KISS port over IP.

Thanks,
Mike
kb8zgl

Martin Hebnes Pedersen

unread,
Jan 9, 2021, 5:01:58 AM1/9/21
to Michael Wolthuis, pat-users
Hi Michael,

Short answer: No, not directly.

But you could do it using the Linux AX.25 layer, just as with any other AX.25 app. You will need to find a way to attach a tcp KISS device rather than a tty device.

I am sure it has been done before, and you should be able to find some resources online :-)

-- 
73 de LA5NTA / Martin




--
You received this message because you are subscribed to the Google Groups "pat-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pat-users+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/pat-users/dcae78f5-3a66-4cd9-9234-b56dea8fae78n%40googlegroups.com.

Michael Wolthuis

unread,
Jan 9, 2021, 6:30:42 AM1/9/21
to Martin Hebnes Pedersen, pat-users
I’m running PAT on MAC.  It would be a great add-on.  I’ll read the issue links.
Mike 

Sent from my iPhone

On Jan 9, 2021, at 5:01 AM, Martin Hebnes Pedersen <martin.h...@gmail.com> wrote:



Doug Collinge

unread,
Jan 10, 2021, 7:56:59 PM1/10/21
to pat-users
I'm using Direwolf, a TCP/IP software modem interfaced through the Linux AX.25 layer. It works fine. I'm sure it would work for you too if there is a Mac port of the AX.25 network code.

Wiley Sanders

unread,
Apr 29, 2021, 7:42:36 PM4/29/21
to pat-users
I hate to bump an old topic, but a solution was never posted. I was looking for an answer to the same question, but only to avoid using kissattach as part of the pat startup process. 

The answer is to run direwolf with the -p flag:
$ direwolf -p
....
The answer is to run direwolf with Ready to accept AGW client application 0 on port 8000 ...                   
Ready to accept KISS TCP client application 0 on port 8001 ...              
Virtual KISS TNC is available on /dev/pts/4                                 
Created symlink /tmp/kisstnc -> /dev/pts/4 
....

The you must run kissattach:
kissattach /dev/pts/4 wl2k

Assuming the relevant alias and config in config.json:

kissattach /dev/pts/5 wl2k
  "connect_aliases": {
...
   "ax25test": "ax25:///{mycall}"
 },
...
  "ax25": {
    "port": "wl2k",
    "beacon": {
      "every": 3600,
      "message": "Winlink P2P",
      "destination": "IDENT"
    },
    "rig": ""
  },

~$ pat connect ax25test
2021/04/29 16:40:22 Connecting to KF6IIU (ax25)...
~$ pat connect ax25:///K6SOL-5
2021/04/29 16:42:17 Connecting to K6SOL-5 (ax25)...

etc


Wiley Sanders

unread,
Apr 29, 2021, 7:45:00 PM4/29/21
to pat-users
There were some issues with my cut and paste. Let me repost:

$ direwolf -p
....
Ready to accept AGW client application 0 on port 8000 ...                   
Ready to accept KISS TCP client application 0 on port 8001 ...              
Virtual KISS TNC is available on /dev/pts/4                                 
Created symlink /tmp/kisstnc -> /dev/pts/4 
....

Then you must run kissattach:
$ sudo kissattach /dev/pts/4 wl2k

Assuming the relevant alias and config in config.json:

  "connect_aliases": {
...
   "ax25test": "ax25:///{mycall}"
 },
...
  "ax25": {
    "port": "wl2k",
    "beacon": {
      "every": 3600,
      "message": "Winlink P2P",
      "destination": "IDENT"
    },
    "rig": ""
  },

~$ pat connect ax25test
2021/04/29 16:40:22 Connecting to KF6IIU (ax25)...
~$ pat connect ax25:///K6SOL-5
2021/04/29 16:42:17 Connecting to K6SOL-5 (ax25)...

etc
Reply all
Reply to author
Forward
0 new messages