Hey!

> I have an EM7565 using the GobiNet and GobiSerial drivers but am just having 
> an issue actually connecting to the internet with it.  I am not familiar with 
> PPP, so I have a feeling I am probably missing something important.
>

The important part is that ModemManager doesn't properly support
modems using GobiNet and GobiSerial :) In particular, MM doesn't use
the network port at all and it doesn't even try to use QMI. The only
part that is recognized by MM as usable are the TTYs exposed by
GobiSerial, which is why PPP is the method being used to connect the
modem.

That said, I have absolutely no idea if the EM7565 can do PPP over the
TTY exposed by GobiSerial. I'd say there shouldn't be any issue, but I
also don't have much experience with GobiSerial either.

Just wondering, why are you not using qmi_wwan kernel driver instead
of GobiNet/GobiSerial? That would be the preferred way to connect this
modem when using ModemManager.

> =====================================================
>
> root@openwrt:/# ifconfig
>
> ppp0      Link encap:Point-to-Point Protocol
>           inet addr:10.93.91.145  P-t-P:10.64.64.64  Mask:255.255.255.255
>           UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
>           RX packets:4 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:692 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:3
>           RX bytes:52 (52.0 B)  TX bytes:43168 (42.1 KiB)
>
>
> =====================================================
>
> root@openwrt:/# route
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> default         10.64.64.64     0.0.0.0         UG    50     0        0 ppp0
> 10.64.64.64     *               255.255.255.255 UH    0      0        0 ppp0
> 192.168.100.0   *               255.255.255.0   U     0      0        0 br-lan
>
>
> =====================================================
>
> root@openwrt:/# mmcli -m 0
>   --------------------------------
>   General  |            dbus path: /org/freedesktop/ModemManager1/Modem/0
>            |            device id: <redacted>
>   --------------------------------
>   Hardware |         manufacturer: Sierra Wireless, Incorporated
>            |                model: EM7565
>            |    firmware revision: SWI9X50C_01.11.00.00 5ba42f jenkins 
> 2019/06/28 09:51:52
>            |            supported: gsm-umts, lte
>            |              current: gsm-umts, lte
>            |         equipment id: <redacted>
>   --------------------------------
>   System   |               device: 
> /sys/devices/platform/soc/8af8800.usb3/8a00000.dwc3/xhci-hcd.0.auto/usb1/1-1
>            |              drivers: GobiNet, gobiserial
>            |               plugin: Generic
>            |         primary port: ttyUSB2
>            |                ports: ttyUSB0 (qcdm), eth2 (net), ttyUSB2 (at)
>   --------------------------------
>   Status   |       unlock retries: sim-pin (3), sim-pin2 (3), sim-puk (10), 
> sim-puk2 (10)
>            |                state: connected
>            |          power state: on
>            |          access tech: lte
>            |       signal quality: 100% (recent)
>   --------------------------------
>   Modes    |            supported: allowed: 2g, 3g, 4g; preferred: none
>            |              current: allowed: 2g, 3g, 4g; preferred: none
>   --------------------------------
>   IP       |            supported: ipv4, ipv6, ipv4v6
>   --------------------------------
>   3GPP     |                 imei: <redacted>
>            |          operator id: 50501
>            |        operator name: 0054003
>            |         registration: home
>   --------------------------------
>   3GPP EPS | ue mode of operation: csps-2
>   --------------------------------
>   SIM      |            dbus path: /org/freedesktop/ModemManager1/SIM/0
>   --------------------------------
>   Bearer   |            dbus path: /org/freedesktop/ModemManager1/Bearer/1
>
>
>
> =====================================================
>
> root@openwrt:/# mmcli -b 1
>   --------------------------------
>   General            |  dbus path: /org/freedesktop/ModemManager1/Bearer/1
>                      |       type: default
>   --------------------------------
>   Status             |  connected: yes
>                      |  suspended: no
>                      |  interface: ttyUSB2
>                      | ip timeout: 20
>   --------------------------------
>   Properties         |        apn: telstra.internet
>                      |    roaming: allowed
>                      |    ip type: ipv4v6
>   --------------------------------
>   IPv4 configuration |     method: ppp
>                      |     prefix: 0
>   --------------------------------
>   IPv6 configuration |     method: ppp
>                      |     prefix: 0
>

All that looks good from my point of view, and pppd is even setting up
the ppp0 interface. No idea why it doesn't work further. Maybe someone
else has more experience with this kind of setup?

-- 
Aleksander
https://aleksander.es
_______________________________________________
ModemManager-devel mailing list
ModemManager-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

Reply via email to