Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Nov 2012 15:47:51 +0400
From:      Ilya Kazakevich <kazakevichilya@gmail.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Fwd: set connection to a modem
Message-ID:  <CAHv=rM3NyMRT84WMZHo8ArsAeeWbmc4+EHiNPY6pxHF=YDA9Ww@mail.gmail.com>
In-Reply-To: <CAHv=rM1VU-M_UqcOP=2YpQm1ivNLOXJBZdXFt1A=qC=hRPY3Vw@mail.gmail.com>
References:  <CAA_1SgGYhUO3TA8D_=rVLJZBpU4pNri-RPixCnBQ7X1tHeUzkA@mail.gmail.com> <CAHv=rM1VU-M_UqcOP=2YpQm1ivNLOXJBZdXFt1A=qC=hRPY3Vw@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
> 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.
>
> yours,
> 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"
>

Hello,

Modem configuration itself has nothing to do with getty and ttys
(terminals).
You only need them if you want to configure modem for plain dial-in: i.e.
somebody dials you, FreeBSD starts getty on this line, and lets your peer
enter your system.

If you want your peer to use PPP (to use IP over it, for example) you would
not need to configure ttys also.

And you do not need it  if you want to dial-up somewhere too.

What exactly you want to do?

Ilya.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?CAHv=rM3NyMRT84WMZHo8ArsAeeWbmc4+EHiNPY6pxHF=YDA9Ww>