Linux HAM/Amateur Radio development
 help / color / mirror / Atom feed
From: Stef Daniels VK5HSX <vk5hsx@wia.org.au>
To: Bernard Pidoux <pidoux@ccr.jussieu.fr>
Cc: Linux-Hams Mailing List <linux-hams@vger.kernel.org>
Subject: Re: Problems ax25 with 1270b (TF27 chip)
Date: Tue, 06 Mar 2007 10:55:54 +1030	[thread overview]
Message-ID: <1173140754.7002.2.camel@localhost.localdomain> (raw)
In-Reply-To: <45EC0987.7020009@ccr.jussieu.fr>

On Mon, 2007-03-05 at 13:13 +0100, Bernard Pidoux wrote:
> Did you put your TNC into kiss mode and are you using mkiss driver ?

kiss mode.

# ! /bin/bash
#
# This is /etc/init.d/ax25
#
# VK5TTY BBS AX25 Script
# by Stef Daniels VK5HSX and Geoff Madden VK5KMG.
# in January 2007.
#----------------------------------------------------
# Date and person making changes to script
#----------------------------------------------------
#    Date      Who     	Changes
#----------------------------------------------------
# 12/01/2007   SJD    	Created script
# 13/01/2007   SJD    	Added kissattach for ptyqa & b
#
#----------------------------------------------------
#
# Firmware-TNC's placed into kiss mode
echo "... MFJ 1270b TNC Placed into kiss mode"
#
stty 9600 < /dev/ttyS0
#
# MFJ 1270b in kiss with TF27 chip
echo -e "\r\033@K1\r" > /dev/ttyS0
#
# MFJ 1270b in kiss with TNC2 chip
#echo -e "kisson\rrestart\r" > /dev/ttyS0
#
sleep 3
#
# setting baud rate to 4800bd device (PK232).
setserial /dev/ttyS1 base_baud 4800
#
echo "Starting modules...."
# starting modules
/sbin/modprobe ax25
/sbin/modprobe mkiss
/sbin/modprobe netrom
/sbin/modprobe rose
#
echo "... configuring 'ax25' ports"
sleep 1
#
echo -n "port 2 '144.900 port'"
# com1 1200bd user port 144.900MHz
/usr/sbin/kissattach -m 255 /dev/ttyS0 2 44.136.176.220
/sbin/ifconfig 2 44.136.176.220 netmask 255.255.255.0 \
#		broadcast 44.136.176.255 arp
#
echo -n "port 3 '434.050 port'"
# com2 4800bd backbone port 434.050MHz
/usr/sbin/kissattach -m 255 /dev/ttyS1 3 44.136.203.2
/sbin/ifconfig 3 44.136.203.1 netmask 255.255.255.0 \
# 		broadcast 44.136.203.255 arp
#
echo -n "port4 '439.075 port'"
# com3 4800bd user port 439.075MHz
/usr/sbin/kissattach -m 255 /dev/ttyS2 4 44.137.177.220
/sbin/ifconfig 4 44.136.177.220 netmask 255.255.255.0 \
#		broadcast 44.136.177.255 arp
#
# configuring loopback ports 'loop0' & 'loop1'"
/usr/sbin/kissnetd /dev/ptyq1 /dev/ptyq2 &
#
sleep 3
#
echo -n "loop0 loop1"
/usr/sbin/kissattach /dev/ttyq1 10.0.0.1 loop0
/usr/sbin/kissattach /dev/ttyq2 10.0.0.2 loop1
#
echo -n "... configuring 'netrom'"
#
/usr/sbin/nrattach 44.136.176.220 -m 236 netrom
/usr/sbin/nrattach 44.136.176.220 -m 236 nrbb
/usr/sbin/nrattach 44.136.176.220 -m 235 nrdxc
#
#
echo -n "Starting ax25 & netrom daemons:"
#
echo "ax25 daemon"
/usr/sbin/ax25d
#
echo "netrom daemon"
/usr/sbin/netromd -i -t 45
#
echo "axip daemon"
/usr/sbin/axipd
#
# --------- End ------------------------------


> 73 de Bernard, f6bvp


-- 
Regards,

Stef Daniels VK5HSX             (OpenPGP:0x82BE2EB0)
Amateur Radio Station
Adelaide, South Australia
E-mail: vk5hsx@wia.org.au
Member Wireless Inst. of Aust.  (www.wia.org.au)
Proud Debian GNU\Linux User.    (www.au.debian.org)



  reply	other threads:[~2007-03-06  0:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-05  5:29 Problems ax25 with 1270b (TF27 chip) Stef Daniels VK5HSX
2007-03-05 12:13 ` Bernard Pidoux
2007-03-06  0:25   ` Stef Daniels VK5HSX [this message]
2007-03-06  0:40     ` Brett Mueller
2007-03-06  6:55     ` Bernard Pidoux

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1173140754.7002.2.camel@localhost.localdomain \
    --to=vk5hsx@wia.org.au \
    --cc=linux-hams@vger.kernel.org \
    --cc=pidoux@ccr.jussieu.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox