Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
Hi everyone,
We are students at the University of Kansas trying to setup tcp/ip over ax25 between two linux (Debian) boxes. Each box is connected to a 2m radio (144.42 MHz) and a 1200 bps tnc. they are in the same room. Both linux boxes have ax.25 appls, tools and libraries installed and have the kernel appropriately configured. We use the kissattach command to create kiss network (ax0) interfaces and are trying to establish the TCP/IP network between them. While, ping works (around 50% loss), ssh (axssh client) is not working. It just hangs. We were wondering if the high packet loss is causing this. We would appreciate if someone with more experience in using SSH over AX.25 could help us out. Thanks in advance, Sriram |
#2
![]() |
|||
|
|||
![]()
On 18 Oct 2004 12:40:25 -0700, Sriram wrote:
Hi everyone, We are students at the University of Kansas trying to setup tcp/ip over ax25 between two linux (Debian) boxes. Each box is connected to a 2m radio (144.42 MHz) and a 1200 bps tnc. they are in the same room. Both linux boxes have ax.25 appls, tools and libraries installed and have the kernel appropriately configured. We use the kissattach command to create kiss network (ax0) interfaces and are trying to establish the TCP/IP network between them. While, ping works (around 50% loss), ssh (axssh client) is not working. It just hangs. We were wondering if the high packet loss is causing this. We would appreciate if someone with more experience in using SSH over AX.25 could help us out. Thanks in advance, Sriram Have you tried adjusting txdelay and possibly txtail (using kissparms)? The default ping interval is one second. You may need to increase this (ping -i 2). Do ftp and smtp also have problems? I haven't tried SSH over AX.25, but, but at one time it was pretty clear that it was not permitted by Part 97, because it obscured the meaning of a transmission. There were some extensive revisions to the rules a few years ago and this may have changed. 73, Bob N7XY |
#3
![]() |
|||
|
|||
![]()
On 18 Oct 2004 12:40:25 -0700, Sriram wrote:
Hi everyone, We are students at the University of Kansas trying to setup tcp/ip over ax25 between two linux (Debian) boxes. Each box is connected to a 2m radio (144.42 MHz) and a 1200 bps tnc. they are in the same room. Both linux boxes have ax.25 appls, tools and libraries installed and have the kernel appropriately configured. We use the kissattach command to create kiss network (ax0) interfaces and are trying to establish the TCP/IP network between them. While, ping works (around 50% loss), ssh (axssh client) is not working. It just hangs. We were wondering if the high packet loss is causing this. We would appreciate if someone with more experience in using SSH over AX.25 could help us out. Thanks in advance, Sriram Have you tried adjusting txdelay and possibly txtail (using kissparms)? The default ping interval is one second. You may need to increase this (ping -i 2). Do ftp and smtp also have problems? I haven't tried SSH over AX.25, but, but at one time it was pretty clear that it was not permitted by Part 97, because it obscured the meaning of a transmission. There were some extensive revisions to the rules a few years ago and this may have changed. 73, Bob N7XY |
#4
![]() |
|||
|
|||
![]()
Hi Bob,
Have you tried adjusting txdelay and possibly txtail (using kissparms)? We tried varying the values. But it did not make significant difference in the error rate or the ssh connection. The default ping interval is one second. You may need to increase this (ping -i 2). Do ftp and smtp also have problems? We tried telnet. Telenet is able to connect sometimes, not all the time. I haven't tried SSH over AX.25, but, but at one time it was pretty clear that it was not permitted by Part 97, because it obscured the meaning of a transmission. There were some extensive revisions to the rules a few years ago and this may have changed. Yes. SSH over AX.25 is allowed now. Thanks, Sriram 73, Bob N7XY |
#5
![]() |
|||
|
|||
![]()
Hi Bob,
Have you tried adjusting txdelay and possibly txtail (using kissparms)? We tried varying the values. But it did not make significant difference in the error rate or the ssh connection. The default ping interval is one second. You may need to increase this (ping -i 2). Do ftp and smtp also have problems? We tried telnet. Telenet is able to connect sometimes, not all the time. I haven't tried SSH over AX.25, but, but at one time it was pretty clear that it was not permitted by Part 97, because it obscured the meaning of a transmission. There were some extensive revisions to the rules a few years ago and this may have changed. Yes. SSH over AX.25 is allowed now. Thanks, Sriram 73, Bob N7XY |
#6
![]() |
|||
|
|||
![]()
Sriram
Okay you have to tackle this problem by layers. reading what you have wrote implies to me that a layer lower than that you see the trouble with is causing the problem. (The OSI 7 layer model is something to look at but you probably wont find any reference to amateur radio packet) I'd suspect the radio link/freq/modulation depth etc. Keep in mind that TCP/IP over radio is slow and if you are doing tests you must allow for this. Dont fill up the outbound buffer with data! TCP/IP for LANs is a lot faster than radio so the RTT discovery will put a flood of packets onto the interface when you first start a connection. This will only confuse the problem. You tried doing a ping test and Bob N7XY suggested increasing the wait time. Also increase the length of the packet (bytes) up to the interface MTU. This will prove if the RF path is flakey. (signal strength, modulation depth/deviation, same frequency etc) ie if you have a 1 in 40 bit error it is going to show up in far less packets of shorter length than of longer ones. If the signal strength is good I'd be upset if I was losing more than 5% of the packets. (This is why you use a much shorter packet length on HF radio as there is more likelihood of a packet error) Get the above worked out with pings until you even look at anything TCP (eg SSH/FTP) I use to adjust the TXdelay and TXtail by running a continuous long packet ping and changing them dynamically. When the errors starting happening I would back it off one notch. You can also do the same thing with setting deviation and adjusting freqeuency but it is better starting with RF/radio tests with suitable test equipment first. Cheers Bob VK2YQA Sriram wrote: Hi Bob, Have you tried adjusting txdelay and possibly txtail (using kissparms)? We tried varying the values. But it did not make significant difference in the error rate or the ssh connection. The default ping interval is one second. You may need to increase this (ping -i 2). Do ftp and smtp also have problems? We tried telnet. Telenet is able to connect sometimes, not all the time. I haven't tried SSH over AX.25, but, but at one time it was pretty clear that it was not permitted by Part 97, because it obscured the meaning of a transmission. There were some extensive revisions to the rules a few years ago and this may have changed. Yes. SSH over AX.25 is allowed now. Thanks, Sriram 73, Bob N7XY |
#7
![]() |
|||
|
|||
![]()
Sriram
Okay you have to tackle this problem by layers. reading what you have wrote implies to me that a layer lower than that you see the trouble with is causing the problem. (The OSI 7 layer model is something to look at but you probably wont find any reference to amateur radio packet) I'd suspect the radio link/freq/modulation depth etc. Keep in mind that TCP/IP over radio is slow and if you are doing tests you must allow for this. Dont fill up the outbound buffer with data! TCP/IP for LANs is a lot faster than radio so the RTT discovery will put a flood of packets onto the interface when you first start a connection. This will only confuse the problem. You tried doing a ping test and Bob N7XY suggested increasing the wait time. Also increase the length of the packet (bytes) up to the interface MTU. This will prove if the RF path is flakey. (signal strength, modulation depth/deviation, same frequency etc) ie if you have a 1 in 40 bit error it is going to show up in far less packets of shorter length than of longer ones. If the signal strength is good I'd be upset if I was losing more than 5% of the packets. (This is why you use a much shorter packet length on HF radio as there is more likelihood of a packet error) Get the above worked out with pings until you even look at anything TCP (eg SSH/FTP) I use to adjust the TXdelay and TXtail by running a continuous long packet ping and changing them dynamically. When the errors starting happening I would back it off one notch. You can also do the same thing with setting deviation and adjusting freqeuency but it is better starting with RF/radio tests with suitable test equipment first. Cheers Bob VK2YQA Sriram wrote: Hi Bob, Have you tried adjusting txdelay and possibly txtail (using kissparms)? We tried varying the values. But it did not make significant difference in the error rate or the ssh connection. The default ping interval is one second. You may need to increase this (ping -i 2). Do ftp and smtp also have problems? We tried telnet. Telenet is able to connect sometimes, not all the time. I haven't tried SSH over AX.25, but, but at one time it was pretty clear that it was not permitted by Part 97, because it obscured the meaning of a transmission. There were some extensive revisions to the rules a few years ago and this may have changed. Yes. SSH over AX.25 is allowed now. Thanks, Sriram 73, Bob N7XY |
#8
![]() |
|||
|
|||
![]()
In article ,
Sriram wrote: | I haven't tried SSH over AX.25, but, but at one time it was pretty | clear that it was not permitted by Part 97 .... | Yes. SSH over AX.25 is allowed now. Eh? I assume you're explicitly turning off the encryption? (Do any modern versions of ssh let you disable the encryption anymore? OpenSSH doesn't seem to ... ssh -c none doesn't do it.) With the encryption enabled, I don't see how ssh usage over a ham link of any sort could ever be legal (at least under part 97 rules.) Even with it disabled, I'd expect there to still be some encryption going on in the authentication part of the connection, and I'd expect that to make it illegal. -- Doug McLaren, , AD5RH `If a man ate a pound of pasta and a pound of antipasto, would they cancel out, leaving him still hungry?' --Dogbert |
#9
![]() |
|||
|
|||
![]()
In article ,
Sriram wrote: | I haven't tried SSH over AX.25, but, but at one time it was pretty | clear that it was not permitted by Part 97 .... | Yes. SSH over AX.25 is allowed now. Eh? I assume you're explicitly turning off the encryption? (Do any modern versions of ssh let you disable the encryption anymore? OpenSSH doesn't seem to ... ssh -c none doesn't do it.) With the encryption enabled, I don't see how ssh usage over a ham link of any sort could ever be legal (at least under part 97 rules.) Even with it disabled, I'd expect there to still be some encryption going on in the authentication part of the connection, and I'd expect that to make it illegal. -- Doug McLaren, , AD5RH `If a man ate a pound of pasta and a pound of antipasto, would they cancel out, leaving him still hungry?' --Dogbert |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Distance to Link Coupling in a Loop Antenna | Antenna | |||
Link coupling to a rotary incuctor | Antenna |