[FADCA] Disconnect Problem

Chuck Hast wchast at gmail.com
Mon May 15 14:44:59 EDT 2006


On 5/15/06, Doug Christ <kn4yt at yahoo.com> wrote:
> Chuck,
>
> I do not know how to check any settings on this system.
>
>

This is out of my ax25-up file, I do not know what Charlie is using right now
in the ax25 start  up but here is a excerpt out of mine that shows you two
ports
------------------------------------- Start snippit ax25-up file
----------------
# **** UHF Trunk Port *****
# 6pack-Ger� an /dev/ttyS0 als Port "6pac0" anbinden
/usr/sbin/spattach /dev/ttyS0 8 44.98.24.14
sleep 2
#
#
# Parameter einstellen: P=128, W=10, txtail 20 TX-Delay=60
/usr/sbin/kissparms -p 8 -r 128 -s 10 -l 20 -t 150
sleep 2
echo 100 > /proc/sys/net/ax25/sp0/t1_timeout
echo  30 > /proc/sys/net/ax25/sp0/t2_timeout
echo   0 > /proc/sys/net/ax25/sp0/t3_timeout
echo  10 > /proc/sys/net/ax25/sp0/maximum_retry_count
echo   4 > /proc/sys/net/ax25/sp0/standard_window_size
echo 256 > /proc/sys/net/ax25/sp0/maximum_packet_length
sleep 2
# End6pac0
#
# **** VHF User Port ****
# 6pac1 on /dev/ttyUSB0
/usr/sbin/spattach /dev/ttyUSB0 0 44.98.24.15
sleep 2
/usr/sbin/kissparms -p 0 -r 128 -s 10 -l 20 -t 200
sleep 2
echo 100 > /proc/sys/net/ax25/sp1/t1_timeout
echo  30 > /proc/sys/net/ax25/sp1/t2_timeout
echo   0 > /proc/sys/net/ax25/sp1/t3_timeout
echo  10 > /proc/sys/net/ax25/sp1/maximum_retry_count
echo   4 > /proc/sys/net/ax25/sp1/standard_window_size
echo 245 > /proc/sys/net/ax25/sp1/maximum_packet_length
sleep 2

---------------------------------- End snippit ------------------------
I think that the pice you are interested in is the t3_timeout. I had to set it
to zero or my links would just "go away" with no warning, they were timing
out.

If you will follow the path that the echo command is calling you will see
where each one of those params are being placed in the /proc/sys/net/ax25 areas
Here is what is in /proc/sys/net/ax25/sp1

---------- cat of /proc/sys/net/ax25/sp1
-----------------------------------------
root at fpac-dev:/proc/sys/net/ax25/sp1# ls -al
total 0
dr-xr-xr-x  2 root root 0 May 15 14:41 .
dr-xr-xr-x  5 root root 0 May 15 14:38 ..
-rw-r--r--  1 root root 0 May 15 14:41 ax25_default_mode
-rw-r--r--  1 root root 0 May 15 14:41 backoff_type
-rw-r--r--  1 root root 0 May 15 14:41 connect_mode
-rw-r--r--  1 root root 0 May 15 14:41 dama_slave_timeout
-rw-r--r--  1 root root 0 May 15 14:41 extended_window_size
-rw-r--r--  1 root root 0 May 15 14:41 idle_timeout
-rw-r--r--  1 root root 0 May 15 14:41 ip_default_mode
-rw-r--r--  1 root root 0 May 15 14:41 maximum_packet_length
-rw-r--r--  1 root root 0 May 15 14:41 maximum_retry_count
-rw-r--r--  1 root root 0 May 15 14:41 protocol
-rw-r--r--  1 root root 0 May 15 14:41 standard_window_size
-rw-r--r--  1 root root 0 May 15 14:41 t1_timeout
-rw-r--r--  1 root root 0 May 15 14:41 t2_timeout
-rw-r--r--  1 root root 0 May 15 14:41 t3_timeout
root at fpac-dev:/proc/sys/net/ax25/sp1#
-------------------------------------------------------------------------------------------------------------
Now if I do a cat of the the directory it will give me the actual value of each
lof the above parameters starting with ax25_default_mode:
root at fpac-dev:/proc/sys/net/ax25/sp1# cat *
0
1
2
18000
32
0
0
245
10
0
4
100
30
0
root at fpac-dev:/proc/sys/net/ax25/sp1#

Hope that helps some, keep this directed to the list so if I am off in the
weeds someone will catch it, or if I am off on a trip someone will still
catch it.... I included both fpac and fadca that way all who are working
on this will see it and correct or add anything needed.



-- 
Chuck Hast  -- KP4DJT --
To paraphrase my flight instructor;
"the only dumb question is the one you DID NOT ask resulting in my going
out and having to identify your bits and pieces in the midst of torn
and twisted metal."


More information about the FADCA mailing list