Bringing up PPP after ModemManager is up
Dan Williams
dcbw at redhat.com
Tue Apr 21 07:45:20 PDT 2015
On Mon, 2015-04-20 at 16:55 -0700, Ali Nematollahi wrote:
> 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:
Modems typically have different ports for different things; are you
absolutely sure that ttyUSB3 is the right port for PPP? Which TTY port
is ModemManager reporting the "CONNECT" response on?
Dan
> 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!
> _______________________________________________
> ModemManager-devel mailing list
> ModemManager-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/modemmanager-devel
More information about the ModemManager-devel
mailing list