From owner-freebsd-bluetooth@FreeBSD.ORG Wed Mar 5 23:23:28 2008 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA0C1106566B for ; Wed, 5 Mar 2008 23:23:28 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by mx1.freebsd.org (Postfix) with ESMTP id 3BBE78FC15 for ; Wed, 5 Mar 2008 23:23:28 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so1590215fgg.35 for ; Wed, 05 Mar 2008 15:23:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=gxunY4hWBUC9FoEk5dmHFwtayPoZVH92urGrzk5YSSU=; b=eBe5Ctm/hsa9m3CJmZZhItThrP9I4Y3fPKXwDQCaang6xudEVtMgo5sXiToUGgb9z6WJ+70SruEjtO/zqtWwquAniIEybjdKGGeUIjITbxWgaBSXyiIeTWtn6LxNbnqxbIBMh6eX7eBrcyT6P0u/PqjTCUbK8SL9St89iiEQ76o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rFYMuvcoO26TQ9QAToAzvKly9qSiMoVODjv5zGeMcoNKQAnYS1X1M4aFApLWfqXq/89K5w+2dtLmXZ+IzYbfFFO9l5PEu1Y2TyDwjqyful7hbk7VwwLB90kFtZ/G4frS4D0jqbatXyNQCv+a5eAjD5VvHKvJnjEeXND1eroxSFY= Received: by 10.86.51.2 with SMTP id y2mr3624892fgy.15.1204759406972; Wed, 05 Mar 2008 15:23:26 -0800 (PST) Received: by 10.86.23.12 with HTTP; Wed, 5 Mar 2008 15:23:26 -0800 (PST) Message-ID: Date: Wed, 5 Mar 2008 15:23:26 -0800 From: "Maksim Yevmenkin" To: "eng. Anatoli Marinov" In-Reply-To: <335adcd30803051509i5758f7a0o4463dac139431d49@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <335adcd30803050335k162b5014kac786a2442f06e10@mail.gmail.com> <335adcd30803051345v2cd6952ak5ba0dc11577b69ab@mail.gmail.com> <335adcd30803051509i5758f7a0o4463dac139431d49@mail.gmail.com> Cc: freebsd-bluetooth@freebsd.org Subject: Re: DUN over bluethoot X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Mar 2008 23:23:28 -0000 On Wed, Mar 5, 2008 at 3:09 PM, eng. Anatoli Marinov wrote: > How I can see what chat command I receive on ppp server? > I enabled ppp debug with > set log All > in my default section. I could not find chat strings here. I am going > to prepare chat script but first have to see what AT command I will > receive (how many AT commands) at the ppp server. [...] > Mar 6 01:05:31 free ppp[30227]: tun1: Physical: read > Mar 6 01:05:31 free ppp[30227]: tun1: Physical: 41 54 26 46 0d > AT&F. here is the first command that your remote client sends, i.e "AT&F", i.e. restore factory defaults. > Mar 6 01:05:31 free ppp[30227]: tun1: Debug: deflink: DescriptorRead: > read 5/2048 from 0 > Mar 6 01:05:31 free ppp[30227]: tun1: Async: Read > Mar 6 01:05:31 free ppp[30227]: tun1: Async: 41 54 26 46 0d > AT&F. and here is another attempt from the client to send AT&F. your chat script should respond "OK\r\n" before client will send another command. if you can control modem initialization string on your client side you can put something simple there. thanks, max