usb-serial and 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: 1mppp.c(2144): modbuf=ATZmppp.c(2180): Found what we expected=OK
initialized
Dialing 1111111, Speed 9600 ...mppp.c(2113): Attempt: 1mppp.c(2144): modbuf=ATX4DT1111111mppp.c(2144): modbufÊRRIERmppp.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 -detachmppp.c(1140): pppd args taken from cfg file mppp.c(1189): pppd id263mppp.c(1930): All Happy!!!!!!!!!!!! -done-
Connected! (Number 1111111) (Baud 9600)mppp.c(1971): g_quit=1mppp.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
Quoted 2 lines · Mohan V
I am using Triton board with linux-2.4.19-rmk7-pxa1.
Do you get the same thing with a more current PXA kernel using the more current USB drivers? Maybe 2.6.9 or so.
As a rule, for a kernel that old you're going to have to rely on your vendor to support you. You'd even have a hard time getting support for that on the ARM list... as was pointed out to you the LAST TIME you asked a question about 2.4.19-rmk7-pxa1 kernel and that driver.
- Dave