Problems ax25 with 1270b (TF27 chip)
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..
Signature · 8 lines
Regards, Stef Daniels VK5HSX (OpenPGP:0x82BE2EB0) Amateur Radio Station Adelaide, South Australia E-mail: [email protected] Member Wireless Inst. of Aust. (www.wia.org.au) Proud Debian GNU\Linux User. (www.au.debian.org)
Quoted 17 lines · 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.
Quoted 5 lines
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
Quoted 1 line · Bernard Pidoux
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 ------------------------------
Quoted 1 line
73 de Bernard, f6bvp
Signature · 8 lines
Regards, Stef Daniels VK5HSX (OpenPGP:0x82BE2EB0) Amateur Radio Station Adelaide, South Australia E-mail: [email protected] Member Wireless Inst. of Aust. (www.wia.org.au) Proud Debian GNU\Linux User. (www.au.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Stef Daniels VK5HSX wrote the following:
<snipped>
Quoted 8 lines
/sbin/ifconfig2 44.136.176.220 netmask 255.255.255.0 \
# broadcast 44.136.176.255 arp
/sbin/ifconfig3 44.136.203.1 netmask 255.255.255.0 \
# broadcast 44.136.203.255 arp
/sbin/ifconfig4 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-----
Quoted 88 lines · Stef Daniels VK5HSX a écrit :
Quoted 2 lines · Bernard Pidoux
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
Quoted 16 lines
# echo "netrom daemon" /usr/sbin/netromd -i -t 45 # echo "axip daemon" /usr/sbin/axipd # # --------- End ------------------------------Quoted 2 lines
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html