From owner-freebsd-questions@FreeBSD.ORG Mon Nov 5 17:56:53 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 410C9FC8 for ; Mon, 5 Nov 2012 17:56:53 +0000 (UTC) (envelope-from paul@ifdnrg.com) Received: from smtp-imap.ifdnrg.com (smtp-imap.ifdnrg.com [193.200.98.78]) by mx1.freebsd.org (Postfix) with ESMTP id C8A7E8FC0A for ; Mon, 5 Nov 2012 17:56:52 +0000 (UTC) Received: from [192.168.1.103] (cpc12-sgyl31-2-0-cust160.18-2.cable.virginmedia.com [80.192.11.161]) (authenticated bits=0) by smtp-imap.ifdnrg.com (8.14.5/8.14.5) with ESMTP id qA5HWFox042695; Mon, 5 Nov 2012 17:32:15 GMT (envelope-from paul@ifdnrg.com) Message-ID: <5097F820.4040108@ifdnrg.com> Date: Mon, 05 Nov 2012 17:32:16 +0000 From: Paul Macdonald User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: s m Subject: Re: config multiport serial card References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Nov 2012 17:56:53 -0000 On 04/11/2012 14:42, s m wrote: > hello everybody > > i have a moxa 4-port serial card and installed it on freebsd8.2 > successfully. i have ttyu2-5 in /dev that are moxa ports. > > my question is how i can use these ports? i add the following lines to ttys > file: > ttyu2 "/usr/libexec/getty std.9600" vt100 on secure > ttyu3 "/usr/libexec/getty std.9600" vt100 on secure > ttyu4 "/usr/libexec/getty std.9600" dialup on secure > ttyu5 "/usr/libexec/getty std.9600" dialup on secure > > and restart my system. i connect another system to one of my moxa port by a > null modem cable and run putty in both side but i can't see any thing in > putty screens and leds on moxa card doesn't turn on. for my serial consoles i add: #in /boot.config -D #in /boot.conf (not sure if this is needed but it seems to do no harm) -h #in /boot/loader.conf #(match the 57600 to correct baud) comconsole_speed="57600" console="comconsole" In bios turn serial redirection on, i see nearly all of the bootloader process this way. Paul. > please let me know if i should do some configuration else in order to my > ports work correctly. should i use another application instead of putty to > work with these ttyus? > > thanks > sam > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- ------------------------- Paul Macdonald IFDNRG Ltd Web and video hosting ------------------------- t: 0131 5548070 m: 07970339546 e: paul@ifdnrg.com w: http://www.ifdnrg.com ------------------------- IFDNRG 40 Maritime Street Edinburgh EH6 6SA -------------------------