From: Tomi Manninen Subject: Re: Trying to get Ax25 running. Date: Fri, 15 Oct 2004 21:53:57 +0300 Sender: linux-hams-owner@vger.kernel.org Message-ID: <1097866437.1290.30.camel@oh2bns.ampr.org> References: <620c9057041015095771b236e0@mail.gmail.com> <620c9057041013094421cbf279@mail.gmail.com> <20041014025505.66938.qmail@web40824.mail.yahoo.com> <620c9057041014060070eeccf6@mail.gmail.com> <200410141313.i9EDDoah001022@yagi.h-net.msu.edu> <200410151737.i9FHbiZW031272@yagi.h-net.msu.edu> <4170100F.F5F43579@free.fr> <1097864803.1290.14.camel@oh2bns.ampr.org> <4323.192.168.0.2.1097865189.squirrel@192.168.0.2> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4323.192.168.0.2.1097865189.squirrel@192.168.0.2> List-Id: Content-Type: text/plain; charset="us-ascii" To: Linux-hams List On Fri, 2004-10-15 at 21:33, Pontus Falk wrote: > > True. Additionally I would recommend kissattaching the master side > > (ptyxx) and putting mkiss on the slave side (ttyxx). Then, as the > > master side always needs to be opened first, you need to first do > > kissattach and mkiss after that. > > Can you explain why you recommend to put kissattach in the master side and mkiss on > the slave side? It's because of the way pseudo-tty's work. If the process on the slave side dies for any reason, the master side is unaffected. If the process on the master side dies, the slave side dies too. So, you want to put the more stable process on the master side. It's next to impossible for kissattach to die due to any error (unless there is a problem with the kernel and then you are screwed anyway). So therefore I'd put it on the master side. Also if you think of maintenance work, it's more probable that you need to restart the mkiss process if you do any rearranging of reconfiguring in your system. Again, that is a reason to put mkiss on the slave side. That said, this is not something that will impact the performance of your system. It can make handling certain error and configuring situations easier. On the other hand, if one uses the windows method of system administartion, ie. reboot after any change, then it doesn't make much difference one way or the other... :) -- Tomi Manninen / OH2BNS / KP20ME04