linux-ppp.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* usb-serial and PPP
@ 2004-12-15 14:17 Mohan V
  2004-12-15 16:29 ` [linux-usb-devel] " David Brownell
  0 siblings, 1 reply; 2+ messages in thread
From: Mohan V @ 2004-12-15 14:17 UTC (permalink / raw)
  To: linux-ppp

Hello all,

I am using Triton board with linux-2.4.19-rmk7-pxa1. I am using 
usb-serial driver to get the ppp interface on the board. On the host 
(Mandrake 10, 2.6.3 kernel), I am using the MPPP client for dialing.

I give the command on the host and I get the following:

mppp -quit 0

Initializing Modem ...mppp.c(2113): Attempt:   1
mppp.c(2144): modbuf=ATZ
mppp.c(2180): Found what we expected=OK
initialized
Dialing 1111111, Speed 9600 ...mppp.c(2113): Attempt:   1
mppp.c(2144): modbuf=ATX4DT1111111
mppp.c(2144): modbufÊRRIER
mppp.c(2144): modbufmppp.c(2180): Found what we expected=CONNECT
 -done-
Initiating send-expect sequence ... -done-
Negotiating ppp handshake...
mppp.c(1129): smpppd->pppd-args=noauth nodefaultroute passive debug 
nocrtscts noccp nomp nocdtrcts -detach
mppp.c(1140): pppd args taken from cfg file
mppp.c(1189): pppd id263
mppp.c(1930): All Happy!!!!!!!!!!!!  -done-

Connected! (Number 1111111) (Baud 9600)
mppp.c(1971): g_quit=1
mppp.c(1974): g_quit_time=0, exiting in 5 seconds

using channel 1
Using interface ppp0
Connect: ppp0 <--> /dev/usb/acm/0
Looking for secret in /etc/ppp/pap-secrets for client mohan server (null)
Looking for secret in /etc/ppp/chap-secrets for client mohan server (null)
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xb9a13aff> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xb9a13aff> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xb9a13aff> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xb9a13aff> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xb9a13aff> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xb9a13aff> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xb9a13aff> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xb9a13aff> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xb9a13aff> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xb9a13aff> <pcomp> <accomp>]
LCP: timeout sending Config-Requests

On the device side, I am using an application, which on receiving ATDT 
command starts the pppd with the following options:
pppd /dev/usbser 192.168.100.1: 192.168.100.2 9600 noccp nomp -detach 
nocrtscts nocdtrcts noauth proxyarp passive debug
I am getting the following messages:

using channel 1
Using interface ppp0
Connect: ppp0 <--> /dev/usbser
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xca162569> <pcomp> <accomp>
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xca162569> <pcomp> <accomp>
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xca162569> <pcomp> <accomp>
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xca162569> <pcomp> <accomp>
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xca162569> <pcomp> <accomp>
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xca162569> <pcomp> <accomp>
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xca162569> <pcomp> <accomp>
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xca162569> <pcomp> <accomp>
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xca162569> <pcomp> <accomp>
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xca162569> <pcomp> <accomp>

LCP: timeout sending Config-Requests

If i do ifconfig I get the ppp0 interface but with no inet and P-to-P 
address.

Thanks for ur time.

regards,
mohan



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-12-15 16:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-15 14:17 usb-serial and PPP Mohan V
2004-12-15 16:29 ` [linux-usb-devel] " David Brownell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).