set connection to a modem
Ilya Kazakevich
kazakevichilya at gmail.com
Thu Nov 29 12:02:11 UTC 2012
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.
More information about the freebsd-questions
mailing list