* Problems ax25 with 1270b (TF27 chip)
@ 2007-03-05 5:29 Stef Daniels VK5HSX
2007-03-05 12:13 ` Bernard Pidoux
0 siblings, 1 reply; 5+ messages in thread
From: Stef Daniels VK5HSX @ 2007-03-05 5:29 UTC (permalink / raw)
To: Linux-Hams Mailing List
Greetings,
A fellow sysop and myself have been working trying to get MFJ 1270b TNC
(using TF27 Hostmode chip) with Debian GNU\Linux (Stable). The problem
is the fact that when we try to use 'call' command on that port the
TNC's 'STA' led comes on and hangs. We have tried it with different O\S
(ie. Slackware, Debian), different kernels (2.4.33 & 2.6.14, 2.6.19)
without any luck. The TNC does work, as we have tested it on another
machine with packet. The only change from the last system that worked
was now we are using modems as apposed to DRSI cards.
Has anyone else come across this problem?
We are wondering if it has something to do with crc-mkiss or ax25. We
have compiled the ax25 libs, tools & apps from source and installed
binaries.
Any ideas, comments would be welcome.. ( I haven't given any scripts,
as the scripts were fine from last installation. However, it was more of
a question if someone else has come across this problem.
Thanks in advance..
--
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)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problems ax25 with 1270b (TF27 chip)
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
0 siblings, 1 reply; 5+ messages in thread
From: Bernard Pidoux @ 2007-03-05 12:13 UTC (permalink / raw)
To: vk5hsx; +Cc: Linux-Hams Mailing List
Stef Daniels VK5HSX wrote:
> Greetings,
>
> A fellow sysop and myself have been working trying to get MFJ 1270b TNC
> (using TF27 Hostmode chip) with Debian GNU\Linux (Stable). The problem
> is the fact that when we try to use 'call' command on that port the
> TNC's 'STA' led comes on and hangs. We have tried it with different O\S
> (ie. Slackware, Debian), different kernels (2.4.33 & 2.6.14, 2.6.19)
> without any luck. The TNC does work, as we have tested it on another
> machine with packet. The only change from the last system that worked
> was now we are using modems as apposed to DRSI cards.
>
> Has anyone else come across this problem?
>
> We are wondering if it has something to do with crc-mkiss or ax25. We
> have compiled the ax25 libs, tools & apps from source and installed
> binaries.
>
> Any ideas, comments would be welcome.. ( I haven't given any scripts,
> as the scripts were fine from last installation. However, it was more of
> a question if someone else has come across this problem.
>
> Thanks in advance..
Did you put your TNC into kiss mode and are you using mkiss driver ?
73 de Bernard, f6bvp
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problems ax25 with 1270b (TF27 chip)
2007-03-05 12:13 ` Bernard Pidoux
@ 2007-03-06 0:25 ` Stef Daniels VK5HSX
2007-03-06 0:40 ` Brett Mueller
2007-03-06 6:55 ` Bernard Pidoux
0 siblings, 2 replies; 5+ messages in thread
From: Stef Daniels VK5HSX @ 2007-03-06 0:25 UTC (permalink / raw)
To: Bernard Pidoux; +Cc: Linux-Hams Mailing List
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)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problems ax25 with 1270b (TF27 chip)
2007-03-06 0:25 ` Stef Daniels VK5HSX
@ 2007-03-06 0:40 ` Brett Mueller
2007-03-06 6:55 ` Bernard Pidoux
1 sibling, 0 replies; 5+ messages in thread
From: Brett Mueller @ 2007-03-06 0:40 UTC (permalink / raw)
To: vk5hsx; +Cc: linux-hams
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Stef Daniels VK5HSX wrote the following:
<snipped>
> /sbin/ifconfig 2 44.136.176.220 netmask 255.255.255.0 \
> # broadcast 44.136.176.255 arp
> /sbin/ifconfig 3 44.136.203.1 netmask 255.255.255.0 \
> # broadcast 44.136.203.255 arp
> /sbin/ifconfig 4 44.136.177.220 netmask 255.255.255.0 \
> # broadcast 44.136.177.255 arp
I don't know that this has anything to do with your problem, but I did notice
that the second line of all of your ifconfig commands is commented in this
script. Perhaps your text editor did this for you automatically? I suspect
it is not what you want.
73,
Brett, WA7V
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFF7Lhz+/Ps1x4JxWYRAoA+AKCs7qD6WdNyX7X3fdE5O26ok9vNbwCfU+EY
Iuphicms3Rmb49/Ysaiu0Xk=
=1epv
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problems ax25 with 1270b (TF27 chip)
2007-03-06 0:25 ` Stef Daniels VK5HSX
2007-03-06 0:40 ` Brett Mueller
@ 2007-03-06 6:55 ` Bernard Pidoux
1 sibling, 0 replies; 5+ messages in thread
From: Bernard Pidoux @ 2007-03-06 6:55 UTC (permalink / raw)
To: vk5hsx; +Cc: Linux-Hams Mailing List
Stef Daniels VK5HSX a écrit :
> 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
>>
>
>
>
Did you try to listen AX25 packets coming to that port with listen
application ?
73 de Bernard, f6bvp
-
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] 5+ messages in thread
end of thread, other threads:[~2007-03-06 6:55 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2007-03-06 0:40 ` Brett Mueller
2007-03-06 6:55 ` Bernard Pidoux
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.