Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Nov 2012 12:44:25 +0100
From:      Matthias Apitz <guru@unixarea.de>
To:        s m <sam.gh1986@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: set connection to a modem
Message-ID:  <20121128114424.GA1553@tiny.Sisis.de>
In-Reply-To: <CAA_1SgGYhUO3TA8D_=rVLJZBpU4pNri-RPixCnBQ7X1tHeUzkA@mail.gmail.com>
References:  <CAA_1SgGYhUO3TA8D_=rVLJZBpU4pNri-RPixCnBQ7X1tHeUzkA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121128114424.GA1553>