On Sun, 2 Dec 2012 09:41:12 +0330, s m wrote:
> thanks chris
> 
> ppp is used when you want connect to internet via modem.

Basically yes, but it can do more than that.



> i just want to
> config my modem by AT command.

This is _exactly_ what PPP does (among other things). :-)

Refer to the example I've provided in an earlier message on
how you can use /etc/ppp/ppp.conf to define the settings for
speed and flow control which will then be processed by PPP,
it will send the _proper_ AT commands using chat (see "man chat"
for details).

On the other hand, if you use a program like minicom, there
will be a config file provided where you can put your settings
and custom AT commands (if required) into it. I haven't been
using it for long time, but if I remember correctly, the
config file is /usr/local/etc/minirc.something... ???



> when my ppp.conf file is empty, i can talk to my modem so this config file
> do nothing what you want talk to your modem.

The file is only relevant to PPP. If you're using a different
program, it will be ignored. Only PPP reads it at startup.



> if i want to talk to my modem by a specific speed, which config file should
> be changed?

That depends on the _program_ you use to talk to the modem.

Again: If you use ppp, put "set speed 115200" (or whatever speed
you need) in ppp.conf's section for your connection. If you are
using a different program, check its documentation to find out
which config file it uses. There is no system-wide configuration
file for what you need.





-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to