On Wed, Mar 5, 2008 at 3:09 PM, eng. Anatoli Marinov <[EMAIL PROTECTED]> 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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bluetooth
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to