From owner-freebsd-questions@FreeBSD.ORG Wed Nov 28 11:44:38 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 1152C223 for ; Wed, 28 Nov 2012 11:44:38 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 947EE8FC14 for ; Wed, 28 Nov 2012 11:44:36 +0000 (UTC) Received: from [89.204.154.208] (helo=tiny.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Tdg44-0003sw-LF; Wed, 28 Nov 2012 12:44:29 +0100 Received: from tiny.Sisis.de (localhost [127.0.0.1]) by tiny.Sisis.de (8.14.5/8.14.3) with ESMTP id qASBiQCb001576; Wed, 28 Nov 2012 12:44:26 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de (8.14.5/8.14.3/Submit) id qASBiPoD001575; Wed, 28 Nov 2012 12:44:25 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Wed, 28 Nov 2012 12:44:25 +0100 From: Matthias Apitz To: s m Subject: Re: set connection to a modem Message-ID: <20121128114424.GA1553@tiny.Sisis.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 10.0-CURRENT r226986 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.154.208 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Nov 2012 11:44:38 -0000 El día Wednesday, November 28, 2012 a las 01:44:18PM +0330, s m escribió: > hello guys, > > i want to connect my freebsd system to modem and configure it via my > freebsd. i thought that i should change /etc/ttys file to set speed and > other configuration. in order to check if i am right or not, i comment ttyu > line in ttys file and expect the modem got disconnected but the modem still > works and can access to it. > > i googled and found that there are three files in /etc that we can edit > them to configure our devices: /etc/ttys, /etc/gettytab and > /etc/rc.d/serial.sh. moreover we can edit init file for each device in /dev > to set default speed and other configuration by stty command. > > now i am confused and don't know which file i should edit to set speed and > flow control and other setting to have a connection to my modem. i mean > from which file i can configure my connection? i know it's too easy but > please clear it for me. The answer higly depends on what you want todo with your modem; if you want to dial-out, you do not need the above files; your terminal application (for example 'kermit') will do this; or the ppp/chat will do; if you want to offer dial-in service (for fax or for data/login), check the ports for 'HylaFAX' or for 'mgetty' and follow the installation guide; HIH matthias -- Sent from my FreeBSD netbook Matthias Apitz | - No system with backdoors like Apple/Android E-mail: guru@unixarea.de | - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | - No proprietary attachments phone: +49-170-4527211 | - Respect for open standards