From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.2.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=MgIV09B0z/TwA00ejz7oUIB7sODlVFA+xt5z4FggB/I=; b=BBntsrF9CyNhtxXwvdzu7OAeKzMPusJlHFA1LLgAI2YijClnGxWfaONUwe+P4z4fZs q4t3o02Fw+wuEnhn9M9VMlJzBLqPqf7T3DYoovgR0jEVvx3pZQLGSBOJcXB52wIN/TlM 42e+BpzH3F2DfQP4qzCCbei8Ved3JEDDU6tOE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=nbGGJlAgOg9eii0JCCmFR1eNFuLZYZw9Mb1GDugZcVzKDIyL5sBpUL0g/cuvqoL/o/ 4tgxVkZu3R+Yn3xm5YuWNk+qMSYVJdZ4bQ4HFiMNf4kTiVux/l6QxZ57mWDrGNtOwIwy rRYVtSjB2yK9mwYtGY7fiLvzdCZWlxwhtBgr8= Message-ID: <489C15D6.7050501@gmail.com> Date: Fri, 08 Aug 2008 12:45:58 +0300 From: Alexandr Ogurtsov User-Agent: Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: sysadmins@lists.altlinux.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Sysadmins] Pseudo nulmodem device for Linux X-BeenThere: sysadmins@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: iscander.alt@gmail.com, ALT Linux sysadmin discuss List-Id: ALT Linux sysadmin discuss List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Aug 2008 09:46:08 -0000 Archived-At: List-Archive: Уважаемые коллеги, возможно кто то уже сталкивался. Интересует есть ли в Linux аналог pseudo nulmodem device типа того что организуется в BSD средствами nmdm модуля. Цель - отладка программного обеспечения общающегося между клиент серверной частью посредством последовательного порта. Или же при отсутвии драйвера как возможно эмулировать для процессов наличие виртуальных последовательных портов связаных между собой? Позволю себе процетировать BSD man чтоб прояснить ситуацию чего собственно хочется: BSD mandoс: NAME nmdm - nullmodem terminal driver SYNOPSIS device nmdm DESCRIPTION The driver provides support for a device-pair termed a null modem pair A null modem pair is a pair of character devices. Each device provides to a process an interface identical to that described in tty(4). However, whereas most other devices which provide the interface described in tty(4) have a hardware device of some sort behind them, the device has, instead, another process manipulating it through the other half of the pair. That is, anything written on the first device is given to the second device as input and anything written on the second device is presented as input on the first device. FILES /dev/nmdm N [AB ] nullmodem device nodes. Where the A node has a matching B node.