Linux HAM/Amateur Radio development
 help / color / mirror / Atom feed
* debugging KISS basics
@ 2008-11-27 14:10 Chris Kantarjiev
  2008-11-27 22:33 ` Ray Wells
  2009-08-29 22:25 ` Ray Wells
  0 siblings, 2 replies; 14+ messages in thread
From: Chris Kantarjiev @ 2008-11-27 14:10 UTC (permalink / raw)
  To: linux-hams

Sorry for the n00b questions, but: how do I go about debugging
the basic KISS functionality? As I said, I can talk to my
FTDI-based TNC with minicom and it works to control the radio
and pass packets in CONV mode. But any attempt to use, say,
the call program in KISS mode fails. 

Since it's a USB modem, I really don't have any good way to tap 
into the signal lines going to the TNC (and wouldn't know
how to interpret them). Are there options that I can use
to debug the communications?

And while I'm asking ... what's the typical way of putting
a TNC into KISS mode at boot time, and what do people use
to get things started from /etc/rc? I had sort of expected
to find a prototype /etc/init.d script for ax25d, but didn't...

73 de chris K6DBG

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: debugging KISS basics
  2008-11-27 14:10 debugging KISS basics Chris Kantarjiev
@ 2008-11-27 22:33 ` Ray Wells
  2009-08-29 22:25 ` Ray Wells
  1 sibling, 0 replies; 14+ messages in thread
From: Ray Wells @ 2008-11-27 22:33 UTC (permalink / raw)
  To: Chris Kantarjiev; +Cc: linux-hams

Chris,

Wade through this document http://rose.fpac.free.fr/MINI-HOWTO/

Although it's primarily aimed at fpac, the underlying stuff is valid for 
any ax25 application.

Ray vk2tv

Chris Kantarjiev wrote:
> Sorry for the n00b questions, but: how do I go about debugging
> the basic KISS functionality? As I said, I can talk to my
> FTDI-based TNC with minicom and it works to control the radio
> and pass packets in CONV mode. But any attempt to use, say,
> the call program in KISS mode fails. 
>
> Since it's a USB modem, I really don't have any good way to tap 
> into the signal lines going to the TNC (and wouldn't know
> how to interpret them). Are there options that I can use
> to debug the communications?
>
> And while I'm asking ... what's the typical way of putting
> a TNC into KISS mode at boot time, and what do people use
> to get things started from /etc/rc? I had sort of expected
> to find a prototype /etc/init.d script for ax25d, but didn't...
>
> 73 de chris K6DBG
> --
> To unsubscribe from this list: send the line "unsubscribe linux-hams" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
>   


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: debugging KISS basics
@ 2008-11-28 16:32 Chris Kantarjiev
  2008-11-30 11:13 ` Pidoux
  2009-08-29 22:26 ` Ray Wells
  0 siblings, 2 replies; 14+ messages in thread
From: Chris Kantarjiev @ 2008-11-28 16:32 UTC (permalink / raw)
  To: vk2tv; +Cc: linux-hams

> 
> 
> Wade through this document http://rose.fpac.free.fr/MINI-HOWTO/

Thanks, Ray - that was very useful for learning about config
and startup.

I'm still trying to figure out how to debug the fact that
my basic KISS commands won't cause the TNC to do anything...

73 de chris K6DBG

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: debugging KISS basics
  2008-11-28 16:32 Chris Kantarjiev
@ 2008-11-30 11:13 ` Pidoux
  2008-11-30 20:37   ` Ray Wells
  2009-08-29 22:26 ` Ray Wells
  1 sibling, 1 reply; 14+ messages in thread
From: Pidoux @ 2008-11-30 11:13 UTC (permalink / raw)
  To: Chris Kantarjiev; +Cc: vk2tv, linux-hams

Chris,

When TNC is in KISS mode you cannot issue any more command to it.
Every data received are transparently transmitted (except the escape sequence for putting it back into TERMinal mode.)
Thus, you must set the TNC parameters (like the serial port speed, MYCALL, dual port mode if TNC3, and adjust different 
audio TX levels for once) before putting the TNC in kiss mode.
In addition, once AX25 driver is loaded, you cannot converse with TNC using your favorite Linux terminal communication 
program.
My option is to boot Linux system without AX25 drivers, configure TNC parameters, verify that you can listen to AX25 
traffic and connect to a local AX25 station using 1200 or 9600 baud port. Then, when you estimate your TNC is doing 
well, send it the escape sequence command to turn it into KISS mode.
You can leave it in KISS mode forever.
After that you are ready to load AX25 and mkiss drivers and run AX25 applications.
Listen utility will help you verify the TNC can pass through AX25 traffic.

73 de Bernard, f6bvp


Chris Kantarjiev a écrit :
>>
>> Wade through this document http://rose.fpac.free.fr/MINI-HOWTO/
> 
> Thanks, Ray - that was very useful for learning about config
> and startup.
> 
> I'm still trying to figure out how to debug the fact that
> my basic KISS commands won't cause the TNC to do anything...
> 
> 73 de chris K6DBG
> --
> To unsubscribe from this list: send the line "unsubscribe linux-hams" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


--
To unsubscribe from this list: send the line "unsubscribe linux-hams" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: debugging KISS basics
@ 2008-11-30 14:50 Chris Kantarjiev
  2008-11-30 20:28 ` Bill Vodall WA7NWP
  0 siblings, 1 reply; 14+ messages in thread
From: Chris Kantarjiev @ 2008-11-30 14:50 UTC (permalink / raw)
  To: f6bvp; +Cc: linux-hams, vk2tv

> 
> When TNC is in KISS mode you cannot issue any more command to it.

You missed my point, I think. I wasn't trying to issue "command mode"
commands to it - I was trying to send KISS commands to it, with no
effect.

But I seem to be past that now - I can use "call" and "listen"
and it seems to work. Great progress...

Is there some command I can use from a shell scrip to set the
speed of the TTY, so I can send the KISS initialization script? Right
now, my TNC doesn't seem to preserve KISS mode across power cycles,
so I want to make sure it gets initialized at reboot...

73 de chris K6DBG

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: debugging KISS basics
  2008-11-30 14:50 Chris Kantarjiev
@ 2008-11-30 20:28 ` Bill Vodall WA7NWP
  0 siblings, 0 replies; 14+ messages in thread
From: Bill Vodall WA7NWP @ 2008-11-30 20:28 UTC (permalink / raw)
  To: linux-hams

>> When TNC is in KISS mode you cannot issue any more command to it.
>
> You missed my point, I think. I wasn't trying to issue "command mode"
> commands to it - I was trying to send KISS commands to it, with no
> effect.

A new issue is showing up...    Fortunately we're getting new TNC's
that handle KISS..  Examples are the uTNT device Chris is using and
the OpenTracker 2.   Unfortunately these developers aren't following
the KISS specs and they're not completely standard.   Case in point is
the OpenTracker 2 KISS protocol which uses 3 Ctrl-C's to exit and
doesn't respond to any of the default KISS paramater setting commands.
  So the question here may be, does the uTNT follow the standard KISS
commands?

Bill - WA7NWP

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: debugging KISS basics
  2008-11-30 11:13 ` Pidoux
@ 2008-11-30 20:37   ` Ray Wells
  0 siblings, 0 replies; 14+ messages in thread
From: Ray Wells @ 2008-11-30 20:37 UTC (permalink / raw)
  To: Pidoux; +Cc: Chris Kantarjiev, linux-hams

Pidoux wrote:
> Chris,
>
> When TNC is in KISS mode you cannot issue any more command to it.
> Every data received are transparently transmitted (except the escape 
> sequence for putting it back into TERMinal mode.)
> Thus, you must set the TNC parameters (like the serial port speed, 
> MYCALL, dual port mode if TNC3, and adjust different audio TX levels 
> for once) before putting the TNC in kiss mode.
> In addition, once AX25 driver is loaded, you cannot converse with TNC 
> using your favorite Linux terminal communication program.
> My option is to boot Linux system without AX25 drivers, configure TNC 
> parameters, verify that you can listen to AX25 traffic and connect to 
> a local AX25 station using 1200 or 9600 baud port. Then, when you 
> estimate your TNC is doing well, send it the escape sequence command 
> to turn it into KISS mode.
> You can leave it in KISS mode forever.
> After that you are ready to load AX25 and mkiss drivers and run AX25 
> applications.
> Listen utility will help you verify the TNC can pass through AX25 
> traffic.
>
> 73 de Bernard, f6bvp
>
>
> Chris Kantarjiev a écrit :
>>>
>>> Wade through this document http://rose.fpac.free.fr/MINI-HOWTO/
>>
>> Thanks, Ray - that was very useful for learning about config
>> and startup.
>>
>> I'm still trying to figure out how to debug the fact that
>> my basic KISS commands won't cause the TNC to do anything...
>>
>> 73 de chris K6DBG
>> -- 
>> To unsubscribe from this list: send the line "unsubscribe linux-hams" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>
>
>
Bernard,

You didn't mention kissparms (man 8), the description of which says ...
"Kissparms is used to dynamically configure KISS TNCs that have been set 
up for AX25 use by kissattach. This program uses the packet interface to 
allow it to communicate with the KISS TNC without interrupting the AX25 
data stream. Therefore the KISS parameters may be set at any time during 
the operation of the AX25 port.

Chris, if your TNC is TNC2 compatible you might consider a KISS only 
EPROM. Then you know it's always in KISS. Also, the KISS implementation 
in a native mode TNC2 EPROM has terrible timing issues (not sending data 
to the radio, and then sending over the top of a received station were 
two significant issues I found. The KISS only unit doesn't have these 
problems.


Ray vk2tv
--
To unsubscribe from this list: send the line "unsubscribe linux-hams" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: debugging KISS basics
@ 2008-11-30 23:34 Chris Kantarjiev
  2008-12-01  0:37 ` Bill Vodall WA7NWP
  0 siblings, 1 reply; 14+ messages in thread
From: Chris Kantarjiev @ 2008-11-30 23:34 UTC (permalink / raw)
  To: linux-hams


> 
> Chris, if your TNC is TNC2 compatible you might consider a KISS only 
> EPROM. Then you know it's always in KISS.

Thanks - an interesting idea, but it's not TNC2 hardware. This is
the second USB-connected TNC that Elcom Research did...

I'm trying to get them to tell me how via their support email list.
So far, I've got a script that tries to put it into KISS mode at boot.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: debugging KISS basics
  2008-11-30 23:34 Chris Kantarjiev
@ 2008-12-01  0:37 ` Bill Vodall WA7NWP
  0 siblings, 0 replies; 14+ messages in thread
From: Bill Vodall WA7NWP @ 2008-12-01  0:37 UTC (permalink / raw)
  To: linux-hams; +Cc: cak

Here's KISS chiseled in stone..   Ask Elcom which of the section 4
parameters it supports.   In particular, ask if it supports the
"required" parameters...

  http://www.ka9q.net/papers/kiss.html

On Sun, Nov 30, 2008 at 3:34 PM, Chris Kantarjiev <cak@dimebank.com> wrote:
>
>>
>> Chris, if your TNC is TNC2 compatible you might consider a KISS only
>> EPROM. Then you know it's always in KISS.
>
> Thanks - an interesting idea, but it's not TNC2 hardware. This is
> the second USB-connected TNC that Elcom Research did...
>
> I'm trying to get them to tell me how via their support email list.
> So far, I've got a script that tries to put it into KISS mode at boot.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: debugging KISS basics
  2008-11-27 14:10 debugging KISS basics Chris Kantarjiev
  2008-11-27 22:33 ` Ray Wells
@ 2009-08-29 22:25 ` Ray Wells
  2009-08-29 23:11   ` Alan Crosswell
  2009-08-29 23:50   ` Frank Smith
  1 sibling, 2 replies; 14+ messages in thread
From: Ray Wells @ 2009-08-29 22:25 UTC (permalink / raw)
  To: Chris Kantarjiev; +Cc: linux-hams

Chris,

I use KISS only EPROMs so can't offer any help re the TNC. You may find 
this HOWTO provides some useful kernel ax25 info.

http://rose.fpac.free.fr/MINI-HOWTO/

Don't be put off by the title.

Ray vk2tv

Chris Kantarjiev wrote:
> Sorry for the n00b questions, but: how do I go about debugging
> the basic KISS functionality? As I said, I can talk to my
> FTDI-based TNC with minicom and it works to control the radio
> and pass packets in CONV mode. But any attempt to use, say,
> the call program in KISS mode fails. 
>
> Since it's a USB modem, I really don't have any good way to tap 
> into the signal lines going to the TNC (and wouldn't know
> how to interpret them). Are there options that I can use
> to debug the communications?
>
> And while I'm asking ... what's the typical way of putting
> a TNC into KISS mode at boot time, and what do people use
> to get things started from /etc/rc? I had sort of expected
> to find a prototype /etc/init.d script for ax25d, but didn't...
>
> 73 de chris K6DBG
> --
> To unsubscribe from this list: send the line "unsubscribe linux-hams" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
>   


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: debugging KISS basics
  2008-11-28 16:32 Chris Kantarjiev
  2008-11-30 11:13 ` Pidoux
@ 2009-08-29 22:26 ` Ray Wells
  1 sibling, 0 replies; 14+ messages in thread
From: Ray Wells @ 2009-08-29 22:26 UTC (permalink / raw)
  To: Chris Kantarjiev; +Cc: linux-hams

Bugger, ignore my previous, I just replied to an old message.

We can't all be bright early Sunday morning.

Ray vk2tv

Chris Kantarjiev wrote:
>> Wade through this document http://rose.fpac.free.fr/MINI-HOWTO/
>>     
>
> Thanks, Ray - that was very useful for learning about config
> and startup.
>
> I'm still trying to figure out how to debug the fact that
> my basic KISS commands won't cause the TNC to do anything...
>
> 73 de chris K6DBG
>
>   


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: debugging KISS basics
  2009-08-29 22:25 ` Ray Wells
@ 2009-08-29 23:11   ` Alan Crosswell
  2009-08-29 23:54     ` Frank Smith
  2009-08-29 23:50   ` Frank Smith
  1 sibling, 1 reply; 14+ messages in thread
From: Alan Crosswell @ 2009-08-29 23:11 UTC (permalink / raw)
  To: Ray Wells; +Cc: Chris Kantarjiev, linux-hams@vger.kernel.org

Chris,

Have you considered using a soundmodem instead of that 1980's  
technology TNC?  With a sound card and parallel or serial port for PTT  
you can get better results than most TNCs.

I run 3, soon to be 4 digipeaters 7x24 with both PCI and USB sound  
cards.
/a


On Aug 29, 2009, at 6:25 PM, Ray Wells <vk2tv@exemail.com.au> wrote:

> Chris,
>
> I use KISS only EPROMs so can't offer any help re the TNC. You may  
> find this HOWTO provides some useful kernel ax25 info.
>
> http://rose.fpac.free.fr/MINI-HOWTO/
>
> Don't be put off by the title.
>
> Ray vk2tv
>
> Chris Kantarjiev wrote:
>> Sorry for the n00b questions, but: how do I go about debugging
>> the basic KISS functionality? As I said, I can talk to my
>> FTDI-based TNC with minicom and it works to control the radio
>> and pass packets in CONV mode. But any attempt to use, say,
>> the call program in KISS mode fails.
>> Since it's a USB modem, I really don't have any good way to tap  
>> into the signal lines going to the TNC (and wouldn't know
>> how to interpret them). Are there options that I can use
>> to debug the communications?
>>
>> And while I'm asking ... what's the typical way of putting
>> a TNC into KISS mode at boot time, and what do people use
>> to get things started from /etc/rc? I had sort of expected
>> to find a prototype /etc/init.d script for ax25d, but didn't...
>>
>> 73 de chris K6DBG
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux- 
>> hams" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux- 
> hams" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
>

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: debugging KISS basics
  2009-08-29 22:25 ` Ray Wells
  2009-08-29 23:11   ` Alan Crosswell
@ 2009-08-29 23:50   ` Frank Smith
  1 sibling, 0 replies; 14+ messages in thread
From: Frank Smith @ 2009-08-29 23:50 UTC (permalink / raw)
  To: Ray Wells; +Cc: Chris Kantarjiev, linux-hams@vger.kernel.org

Have you tried using 'strace' to see what data is being sent to and  
received from the TNC?

On 2009-08-29, at 7:25 PM, Ray Wells <vk2tv@exemail.com.au> wrote:

> Chris,
>
> I use KISS only EPROMs so can't offer any help re the TNC. You may  
> find this HOWTO provides some useful kernel ax25 info.
>
> http://rose.fpac.free.fr/MINI-HOWTO/
>
> Don't be put off by the title.
>
> Ray vk2tv
>
> Chris Kantarjiev wrote:
>> Sorry for the n00b questions, but: how do I go about debugging
>> the basic KISS functionality? As I said, I can talk to my
>> FTDI-based TNC with minicom and it works to control the radio
>> and pass packets in CONV mode. But any attempt to use, say,
>> the call program in KISS mode fails.
>> Since it's a USB modem, I really don't have any good way to tap  
>> into the signal lines going to the TNC (and wouldn't know
>> how to interpret them). Are there options that I can use
>> to debug the communications?
>>
>> And while I'm asking ... what's the typical way of putting
>> a TNC into KISS mode at boot time, and what do people use
>> to get things started from /etc/rc? I had sort of expected
>> to find a prototype /etc/init.d script for ax25d, but didn't...
>>
>> 73 de chris K6DBG
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux- 
>> hams" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux- 
> hams" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: debugging KISS basics
  2009-08-29 23:11   ` Alan Crosswell
@ 2009-08-29 23:54     ` Frank Smith
  0 siblings, 0 replies; 14+ messages in thread
From: Frank Smith @ 2009-08-29 23:54 UTC (permalink / raw)
  To: Alan Crosswell; +Cc: Ray Wells, Chris Kantarjiev, linux-hams@vger.kernel.org

I second that. I like the USB audio dongles in particular. My current  
project is to get soundmodem running on an Asus router (one with a USB  
port).

On 2009-08-29, at 8:11 PM, Alan Crosswell <alan@columbia.edu> wrote:

> Chris,
>
> Have you considered using a soundmodem instead of that 1980's  
> technology TNC?  With a sound card and parallel or serial port for  
> PTT you can get better results than most TNCs.
>
> I run 3, soon to be 4 digipeaters 7x24 with both PCI and USB sound  
> cards.
> /a
>
>
> On Aug 29, 2009, at 6:25 PM, Ray Wells <vk2tv@exemail.com.au> wrote:
>
>> Chris,
>>
>> I use KISS only EPROMs so can't offer any help re the TNC. You may  
>> find this HOWTO provides some useful kernel ax25 info.
>>
>> http://rose.fpac.free.fr/MINI-HOWTO/
>>
>> Don't be put off by the title.
>>
>> Ray vk2tv
>>
>> Chris Kantarjiev wrote:
>>> Sorry for the n00b questions, but: how do I go about debugging
>>> the basic KISS functionality? As I said, I can talk to my
>>> FTDI-based TNC with minicom and it works to control the radio
>>> and pass packets in CONV mode. But any attempt to use, say,
>>> the call program in KISS mode fails.
>>> Since it's a USB modem, I really don't have any good way to tap  
>>> into the signal lines going to the TNC (and wouldn't know
>>> how to interpret them). Are there options that I can use
>>> to debug the communications?
>>>
>>> And while I'm asking ... what's the typical way of putting
>>> a TNC into KISS mode at boot time, and what do people use
>>> to get things started from /etc/rc? I had sort of expected
>>> to find a prototype /etc/init.d script for ax25d, but didn't...
>>>
>>> 73 de chris K6DBG
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe linux- 
>>> hams" in
>>> the body of a message to majordomo@vger.kernel.org
>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>>
>>>
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux- 
>> hams" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>>
> --
> To unsubscribe from this list: send the line "unsubscribe linux- 
> hams" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2009-08-29 23:54 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-27 14:10 debugging KISS basics Chris Kantarjiev
2008-11-27 22:33 ` Ray Wells
2009-08-29 22:25 ` Ray Wells
2009-08-29 23:11   ` Alan Crosswell
2009-08-29 23:54     ` Frank Smith
2009-08-29 23:50   ` Frank Smith
  -- strict thread matches above, loose matches on Subject: below --
2008-11-28 16:32 Chris Kantarjiev
2008-11-30 11:13 ` Pidoux
2008-11-30 20:37   ` Ray Wells
2009-08-29 22:26 ` Ray Wells
2008-11-30 14:50 Chris Kantarjiev
2008-11-30 20:28 ` Bill Vodall WA7NWP
2008-11-30 23:34 Chris Kantarjiev
2008-12-01  0:37 ` Bill Vodall WA7NWP

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox