From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chuck Hast Subject: Re: Trying to get Ax25 running. Date: Sat, 16 Oct 2004 06:16:40 -0700 Sender: linux-hams-owner@vger.kernel.org Message-ID: <620c905704101606165716759@mail.gmail.com> References: <620c905704101518153ff636e@mail.gmail.com> <4170100F.F5F43579@free.fr> <1097864803.1290.14.camel@oh2bns.ampr.org> <4323.192.168.0.2.1097865189.squirrel@192.168.0.2> <1097866437.1290.30.camel@oh2bns.ampr.org> <620c9057041015125535932b34@mail.gmail.com> <620c90570410151618432401d1@mail.gmail.com> <200410160128.i9G1Sk2M028098@yagi.h-net.msu.edu> <1097930726.1287.1.camel@oh2bns.ampr.org> Reply-To: Chuck Hast Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1097930726.1287.1.camel@oh2bns.ampr.org> List-Id: Content-Type: text/plain; charset="us-ascii" To: Linux-hams List On Sat, 16 Oct 2004 15:45:27 +0300, Tomi Manninen wrote: > On Sat, 2004-10-16 at 04:28, Dennis Boone wrote: > > > echo -e "\r\033@K1\r" > /dev/ttyUSB0 > > modprobe ax25; modprobe kiss; modprobe mkiss > > /usr/sbin/kissattach -i 44.1.1.1 /dev/ptyz0 kiss0 > > /usr/sbin/kissparms -p kiss0 -r 254 -s 1 -l 10 -t 100 > > /usr/sbin/mkiss -c -l /dev/ttyUSB0 /dev/ttyz0 > > Kissparms should be called *after* mkiss. Otherwise the commands > won't reach the TNC... > I have done that, but I still have a problem. When I run the ax25-up file that is set up for for the mkiss line, it starts up ok the first time, but when I run the ax25-down file that ax25-config generates it does not shut down a mkiss entry if I do a ps -e I see a PID and mkiss if I do a ps -r I see that it is the attachment to the ttyz0 port that does not go away. If I go back to the original kiss set up the ax25-down script tears it down just fine. There is probably a lot of stuff that I do not need in that script right now that is just clouding things for me. Do you have a recommendation for a short script that will shut down the ax25 stuff?