From owner-freebsd-questions@FreeBSD.ORG Sun Dec 2 08:37:48 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2D532333 for ; Sun, 2 Dec 2012 08:37:48 +0000 (UTC) (envelope-from peter@vereshagin.org) Received: from mx1.skyriver.ru (ns1.skyriver.ru [89.108.118.221]) by mx1.freebsd.org (Postfix) with ESMTP id B17058FC0C for ; Sun, 2 Dec 2012 08:37:46 +0000 (UTC) Received: from localhost (tor20.anonymizer.ccc.de [31.172.30.3]) by mx1.skyriver.ru (Postfix) with ESMTPSA id 598185A8C for ; Sun, 2 Dec 2012 12:29:58 +0400 (MSK) Date: Sun, 2 Dec 2012 12:28:59 +0400 From: Peter Vereshagin To: freebsd-questions@freebsd.org Subject: Re: set connection to a modem Message-ID: <20121202082857.GB13568@external.screwed.box> References: <20121128170525.c3fb92e8.freebsd@edvax.de> <50B7D85F.5040900@a1poweruser.com> <50BA6652.8090005@sdf.org> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: Organization: ' X-Face: 8T>{1owI$Byj]]a; ^G]kRf*dkq>E-3':F>4ODP[#X4s"dr?^b&2G@'3lukno]A1wvJ_L(~u 6>I2ra/<,j1%@C[LN=>p#_}RIV+#:KTszp-X$bQOj,K X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Dec 2012 08:37:48 -0000 Hello. 2012/12/02 09:41:12 +0330 s m => To Chris Petrik : sm> thanks chris sm> sm> ppp is used when you want connect to internet via modem. What if your (or someone else's) ISP use dial-back? This way ppp(8) can't be used because it's not you want to connect to internet but internet wants to connect you? I believe ppp is an equal peers' peer-to peer (point-to-point) protocol. And it can be used for dial-in conections. > i just want to sm> config my modem by AT command. ppp(8) makes the use of chat(8) to send the Hayes-fashioned AT commands to the modem. sm> when my ppp.conf file is empty, i can talk to my modem Which way requiring emptyness of your ppp.conf you can talk to your modem? Is it a command by mean of which you talk to modem? > so this config file sm> do nothing what you want talk to your modem. But it can contain the command line for chat(8) to prepare your modem for ppp(8) usage. sm> sm> if i want to talk to my modem by a specific speed, which config file should sm> be changed? sm> sm> please let me know if you have any guidance. sm> thanks sm> sm> On Sat, Dec 1, 2012 at 11:49 PM, Chris Petrik wrote: sm> sm> > On 12/1/2012 12:38 AM, saeedeh motlagh wrote: sm> > > thanks Ilya for your reply. i'm using putty to connect to my modem sm> > > and also/dev/cuauo as the config file. i can co sm> > > nnect to my modem and it responses to AT commands that you suggest so sm> > every sm> > > thing is ok. sm> > > sm> > > sm> > > my question is: this connection via /dev/cuau0 can be configured, doesn't sm> > > it? and if yes, through which config file i can set these settings such sm> > as sm> > > speed, flow control, etc. for this connection? for example, my modem sm> > > works just sm> > > with a specific speed. how i can tell /dev/cuau0 device to talk to my sm> > > modem with this speed? as i have no idea how to config the connection sm> > speed sm> > > for this /dev/cuau0 device.. sm> > > sm> > > any guidance would be really appreciated. sm> > > thanks sm> > > sm> > > sm> > > On Fri, Nov 30, 2012 at 1:19 AM, Fbsd8 wrote: sm> > > sm> > >> s m wrote: sm> > >> sm> > >>> thanks guys for your replies, sm> > >>> sm> > >>> now i understand two types of connections are available by modem, sm> > dial-in sm> > >>> and dial-out. sm> > >>> honestly, i should do it for my boss and don't know what he should want sm> > >>> exactly to do but i am sure that he has an external serial modem and sm> > wants sm> > >>> to config it by AT commands via a freebsd system; therefore i think our sm> > >>> connection is dial-out. sm> > >>> sm> > >>> now which files i should edit? just ppp.conf? and because our modem sm> > >>> supports specific speed and flow control, is it necessary to set these sm> > >>> parameters in my freebsd? and if yes, how i can do that? please help sm> > me sm> > >>> to sm> > >>> do that sm> > >>> sm> > >>> thanks sm> > >>> sm> > >>> sm> > >> There are very detailed ppp configuration instructions here sm> > >> www.a1poweruser.com sm> > >> sm> > >> sm> > >> ______________________________**_________________ sm> > >> freebsd-questions@freebsd.org mailing list sm> > >> http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions< sm> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions> sm> > >> To unsubscribe, send any mail to "freebsd-questions-** sm> > >> unsubscribe@freebsd.org " sm> > >> sm> > > _______________________________________________ sm> > > freebsd-questions@freebsd.org mailing list sm> > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions sm> > > To unsubscribe, send any mail to " sm> > freebsd-questions-unsubscribe@freebsd.org" sm> > I am just poking about so sorry if im off topic but you can possibly use sm> > ppp to do this? sm> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/userppp.html sm> > _______________________________________________ sm> > freebsd-questions@freebsd.org mailing list sm> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions sm> > To unsubscribe, send any mail to " sm> > freebsd-questions-unsubscribe@freebsd.org" sm> > sm> _______________________________________________ sm> freebsd-questions@freebsd.org mailing list sm> http://lists.freebsd.org/mailman/listinfo/freebsd-questions sm> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Peter Vereshagin (http://vereshagin.org) pgp: A0E26627