Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Nov 2012 16:02:09 +0400
From:      Ilya Kazakevich <kazakevichilya@gmail.com>
To:        s m <sam.gh1986@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: set connection to a modem
Message-ID:  <CAHv=rM3AzHL5ketFwm3sUb8CLZxOcNu13aNCCA1QODkQhpEz0w@mail.gmail.com>
In-Reply-To: <CAA_1SgF4kFbcdjqY0zNd+oXg_KYp6HYBmAqxUoaXiH=ZkWrHYw@mail.gmail.com>
References:  <CAA_1SgGYhUO3TA8D_=rVLJZBpU4pNri-RPixCnBQ7X1tHeUzkA@mail.gmail.com> <20121128170525.c3fb92e8.freebsd@edvax.de> <CAA_1SgF4kFbcdjqY0zNd+oXg_KYp6HYBmAqxUoaXiH=ZkWrHYw@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Hello,

honestly, i should do it for my boss and don't know what he should want
> exactly to do but i am sure that he has an external serial modem and wants
> to config it by AT commands via a freebsd system; therefore i think our
> connection is dial-out.
>

1) Make sure your serial port and modem work. Try to talk to your modem
using some tool like minicom (/usr/ports/comms/minicom).
Try to send some AT commands to your modem:
ATZ (should return OK)
ATI7 (should return product info)
ATDT<SOME_PHONE> (should dial it)


2) To talk to your modem you  will use "chat" tool, so read "man chat"

3) To connect your PC to the internet via serial modem you use PPP.
So read
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ppp-and-slip.html

You should understand how PPP works to configure it so you may want to read
http://en.wikipedia.org/wiki/Point-to-point_protocol
or
http://tools.ietf.org/html/rfc1661

Ilya.



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