Howto set ax25 parameters on a tnc in kissmode.
/usr/local/sbin/kissattach /dev/ttyUSB0 1 44.137.31.85 > /tmp/ax25-config.tmp awk '/device/ { print $7 }' /tmp/ax25-config.tmp > /tmp/ax25-config-tmp Device=ax0 # Check for Device if [ -d /proc/sys/net/ax25/$Device ] then cd /proc/sys/net/ax25/$Device/ /etc/ax25/ax25parms echo -e "Port 1 attached to $Device" else echo -e "** Error setting $Device parms*" fi echo -e -n "$"
Below the file ax25parms. (chmod 755)
#! /bin/bash # Parms for a USER Port echo 5000 > t1_timeout # (Frack) echo 500 > t2_timeout # (RESPtime) echo 300000 > t3_timeout # (Check) echo 900000 > idle_timeout # Idle Timer echo 5 > standard_window_size # Outstanding Frames echo 8 > maximum_retry_count # Max Retrys echo 256 > maximum_packet_length # Paclen echo 0 > ax25_default_mode echo 0 > ip_default_mode echo 0 > backoff_type echo 2 > connect_mode #echo 180000 > dama_slave_timeout echo 32 > extended_window_size echo 0 > protocol