Date: Wed, 5 Mar 2008 15:23:26 -0800 From: "Maksim Yevmenkin" <maksim.yevmenkin@gmail.com> To: "eng. Anatoli Marinov" <tolisoft@gmail.com> Cc: freebsd-bluetooth@freebsd.org Subject: Re: DUN over bluethoot Message-ID: <bb4a86c70803051523k5294d5c4u9177f0c6ae1cdb87@mail.gmail.com> In-Reply-To: <335adcd30803051509i5758f7a0o4463dac139431d49@mail.gmail.com> References: <335adcd30803050335k162b5014kac786a2442f06e10@mail.gmail.com> <bb4a86c70803050924p7c615cd4y486db34703678391@mail.gmail.com> <bb4a86c70803050956he7235aen4613e4b6ab27eecd@mail.gmail.com> <335adcd30803051345v2cd6952ak5ba0dc11577b69ab@mail.gmail.com> <bb4a86c70803051408q107cb7bcod2a6276b614d2ecf@mail.gmail.com> <335adcd30803051509i5758f7a0o4463dac139431d49@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 5, 2008 at 3:09 PM, eng. Anatoli Marinov <tolisoft@gmail.com> 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<cr>", 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bb4a86c70803051523k5294d5c4u9177f0c6ae1cdb87>