Bringing up PPP after ModemManager is up

2015-04-20 Thread Ali Nematollahi
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 c

Re: Bringing up PPP after ModemManager is up

2015-04-21 Thread Dan Williams
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 s

Re: Bringing up PPP after ModemManager is up

2015-04-21 Thread Ali Nematollahi
Hi Dan Thanks for your response! TTYUSB2 is our AT command port and TTYUSB3 is our PPP port. The HSPA code I attached earlier was the code we have been using for a while without MM with no problem. I'm thinking maybe I need to tweak it to make it work with MM but I'm not sure what I need to be t

Re: Bringing up PPP after ModemManager is up

2015-04-21 Thread Aleksander Morgado
On Tue, Apr 21, 2015 at 6:36 PM, Ali Nematollahi wrote: > Script /usr/sbin/chat -v -f /etc/ppp/peers/hspa_chat finished (pid 4962), > status = 0x0 > Serial connection established. > using channel 1 > Using interface ppp0 > Connect: ppp0 <--> /dev/ttyUSB3 > ModemManager[3261]: [947011699.820755] [

Re: Bringing up PPP after ModemManager is up

2015-04-21 Thread Ali Nematollahi
Thanks!!! I removed those and ran it, still same response. It keeps coming back with this error: ModemManager[3261]: [947014996.794344] [mm-base-manager.c:296] device_added(): (net/ppp0): could not get port's parent device On Tue, Apr 21, 2015 at 9:50 AM, Aleksander Morgado < aleksan...@aleks

Re: Bringing up PPP after ModemManager is up

2015-04-21 Thread Dan Williams
On Tue, 2015-04-21 at 10:11 -0700, Ali Nematollahi wrote: > Thanks!!! > > I removed those and ran it, still same response. It keeps coming back with > this error: > > ModemManager[3261]: [947014996.794344] [mm-base-manager.c:296] > device_added(): (net/ppp0): could not get port's parent device