Questions about tncattach #159
-
if so .. my Q is if this s wrong spot please just close :) |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 12 replies
-
Fine to ask here, Can you explain more about what you are trying to achieve exactly? The |
Beta Was this translation helpful? Give feedback.
-
Yup understood, I was wondering if there is any legacy functionality at all (awg emulation) . I want to have a rpi on serial tnc useable by apps commonly encountered (xastir, winlink, terminal) or if this is only a kissattach replacement? was wondering if you had any ideas on it. Direwolf emulation is spot on for legacy apps, however passing off the packet to a chip via Bt is also cool not sure any facility for serial tnc |
Beta Was this translation helpful? Give feedback.
-
Isn’t the Functionality of the ax stack and kissattach to bring kiss and radio to tcp for legacy protocol, I’m confused now, your app lights up tcp for .. kiss but what’s the use case? If not for any legacy packet apps Why is this program exist just for theoretical p2p links? Have you set this up with a radio and tnc yourself? What p2p links is this useful for if not capable in aprs or 1200b vhf? |
Beta Was this translation helpful? Give feedback.
-
I am gong to collect a few different comments together here, and mark it as an aswer for future references on this topic: The tnattach program lets you attach TNC devices as generic Ethernet/IP interfaces. It is not for using with "legacy" AX.25 apps, but for using KISS TNCs as Ethernet adapters / IP bridges. Legacy packet apps don't use TCP in any way, they use AX.25. This is the case for all apps like Xastir, Winlink, etc. Practically all apps allow you to connect directly to a TNC using KISS framing over a serial port or similar. Some apps allow you to connect to the TNC itself over TCP, ie., the TNC uses a TCP connection to expose it's KISS port, instead of a USB/serial connection. Most legacy packet radio apps can also use AX.25 support built into the Linux kernel. In that case, the user-space programs talk to the kernel interface, usually called something like ax0 or ax1, and the kernel coordinates with the actual hardware TNC using KISS framing over either USB, serial or TCP. Windows did not have actual kernel support for AX.25, so a clever op, SV2AGW, made the AGW program as a hack for Windows to allow multiple programs to share the same physical/virtual TNC. Linux never needed this, since there was direct support for AX.25 and device/app multiplexing in the kernel. But now most distros are dropping the AX.25 layers from the kernel because the implementations are old, quite messy at this point, and more or less unmaintained. This means, that while most legacy packet radio apps will still work when directly talking to a TNC, it is no longer possible to set up a multiplexed environment with many apps talking to the same TNC, like with the old ax25-utils included in Linux, until recently. Reticulum of course let's you do this, and in a way much more flexible than the AX.25 stack ever did. The tncattach program was never meant to remedy this situation. In fact, it was more meant to help transition away from AX.25. While I have great respect for the pioneering work of AX.25, and all the utility and usefulness it has provided, I would also suggest moving away from it entirely by now. In AX.25, there is no actual routing, it is very inefficient with bandwidth, it is completely unreliable, since no packets can be verified or authenticated, it is completely open to modification of traffic, eavesdropping and tampering, you must have complete and full trust in all nodes on the network, and many more problems that are simply a deal-breaker for any real-world use, even for hobbyists. I think a much better solution is to use Reticulum, and help transition applications and use-cases to a much more modern, flexible and efficient packet-oriented stack instead. The tncattach program allows you to run full Ethernet over packet radio, or simpler IP-only P2P links if that is more suitable to the situation. That is the intention, and what it delivers. I am not trying to salvage AX.25, quite on the contrary. I am trying to help it be put to rest without causing too much disruption, because at this point, it is very much an outdated system. |
Beta Was this translation helpful? Give feedback.
I am gong to collect a few different comments together here, and mark it as an aswer for future references on this topic:
The tnattach program lets you attach TNC devices as generic Ethernet/IP interfaces. It is not for using with "legacy" AX.25 apps, but for using KISS TNCs as Ethernet adapters / IP bridges.
Legacy packet apps don't use TCP in any way, they use AX.25. This is the case for all apps like Xastir, Winlink, etc.
Practically all apps allow you to connect directly to a TNC using KISS framing over a serial port or similar. Some apps allow you to connect to the TNC itself over TCP, ie., the TNC uses a TCP connection to expose it's KISS port, instead of a USB/serial connection.
Mo…