Bringing up PPP after ModemManager is up

Ali Nematollahi alirezan1 at gmail.com
Mon Apr 20 16:55:14 PDT 2015


Hi guys

I finally got Modem Manager up and running, and set it up with my Modem.
It's working great and I learned a lot playing around with it.
My question right now is, I managed to bring up a context on the modem but
I'm not sure how to hook up the PPP to it. I have a hspa and hspa_chat that
I call but they fail to connect to the network:


pppd call hspa
{hspa_chat} Establishing Link...
Script /usr/sbin/chat -v -f /etc/ppp/peers/hspa_chat finished (pid 14633),
status = 0x0
Serial connection established.
using channel 3
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB3
ModemManager[4728]: <debug> [946952787.798597] [mm-base-manager.c:296]
device_added(): (net/ppp0): could not get port's parent device
Warning - secret file /etc/ppp/pap-secrets has world and/or group access
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x60506051> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x60506051> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x60506051> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x60506051> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x60506051> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x60506051> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x60506051> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x60506051> <pcomp> <accomp>]
LCP: timeout sending Config-Requests
Connection terminated.
Script /usr/sbin/chat -v -f /etc/ppp/peers/hspa_chat_down finished (pid
14788), status = 0x0
Serial link disconnected.
Modem hangup


My hspa:
debug
child-timeout 10
nodetach
maxfail 0
unit 0
ktune
/dev/ttyUSB3
115200
defaultroute
usepeerdns
mtu 496
mru 496

lcp-echo-failure 3
lcp-echo-interval 15
lcp-max-configure 8
lcp-max-failure 5
lcp-max-terminate 5

ipcp-max-failure 5
ipcp-max-configure 8
ipcp-max-terminate 5
ipcp-accept-local
ipcp-accept-remote

novj
noccp

noauth

nocrtscts
lock
connect '/usr/sbin/chat -v -f /etc/ppp/peers/hspa_chat'
disconnect '/usr/sbin/chat -v -f /etc/ppp/peers/hspa_chat_down'


 and hspa_chat:
SAY '{hspa_chat} Establishing Link...\n'
TIMEOUT 1


Any documentation on this?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/modemmanager-devel/attachments/20150420/a30e8e14/attachment.html>


More information about the ModemManager-devel mailing list