From: Mohan V <mohanv@aftek.com>
To: linux-ppp@vger.kernel.org
Subject: usb-serial and PPP
Date: Wed, 15 Dec 2004 14:17:32 +0000 [thread overview]
Message-ID: <41C044AC.2020304@aftek.com> (raw)
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
next reply other threads:[~2004-12-15 14:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-15 14:17 Mohan V [this message]
2004-12-15 16:29 ` [linux-usb-devel] usb-serial and PPP David Brownell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=41C044AC.2020304@aftek.com \
--to=mohanv@aftek.com \
--cc=linux-ppp@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).