Gemalto is now part of the Thales Group, find out more.

You are here

Thales IoT Developer Community

Configure Linux ModemManager to Work with PLS62-W

Tutorial, April 19, 2021 - 9:01pm, 43 views

This article describes how to setup/configure Ubuntu Linux's ModemManager to do dial-up with PLS62-W.

PLS62-W supports PDN connection via PPP dial-up, WAN port setup through AT^SWWAN command, or MBIM; however, for Linux ModemManager, it can only work with PLS62-W through ppp dial-up; and even ppp dial-up is usable, it still requires some manual teak to make them co-work nicely. Below is a step-by-step how-to guide for anyone to bring PLS62-W up on a Ubuntu Desktop Linux.

First, copy the /lib/udev/rules.d/77-mm-cinterion-port-types.rules to /etc/udev/rules.d directory.

$~ sudo cp /lib/udev/rules.d/77-mm-cinterion-port-types.rules /etc/udev/rules.d

 

Then edit the file 77-mm-cinterion-port-types.rules under /etc/udev/rules.d, add these lines before the last line containing LABEL="mm_cinterion_port_types_end"

# Settings to support PLS62-W ppp dial-up
ATTRS{idVendor}=="1e2d", ATTRS{idProduct}=="005b", ENV{.MM_USBIFNUM}=="00", ENV{ID_MM_PORT_TYPE_AT_PPP}="1"
ATTRS{idVendor}=="1e2d", ATTRS{idProduct}=="005b", ENV{.MM_USBIFNUM}=="02", ENV{ID_MM_PORT_TYPE_AT_PRIMARY}="1"
ATTRS{idVendor}=="1e2d", ATTRS{idProduct}=="005b", ENV{.MM_USBIFNUM}=="04", ENV{ID_MM_PORT_IGNORE}="1"
ATTRS{idVendor}=="1e2d", ATTRS{idProduct}=="005b", ENV{.MM_USBIFNUM}=="06", ENV{ID_MM_PORT_IGNORE}="1"
ATTRS{idVendor}=="1e2d", ATTRS{idProduct}=="005b", ENV{.MM_USBIFNUM}=="08", ENV{ID_MM_PORT_IGNORE}="1"
ATTRS{idVendor}=="1e2d", ATTRS{idProduct}=="005b", ENV{.MM_USBIFNUM}=="10", ENV{ID_MM_PORT_IGNORE}="1"
ATTRS{idVendor}=="1e2d", ATTRS{idProduct}=="005b", ENV{.MM_USBIFNUM}=="12", ENV{ID_MM_PORT_IGNORE}="1"

 

Save the file, run 

$~ sudo udevadm control --reload

 

Now you can plug-in the PLS62-W, using the NetworkManager GUI to configure a Mobile Broadband Connection and request it to connect. Everything should just work.

 

antonyshen