Cinterion PLS8 E internet connection problem | Telit Cinterion IoT Developer Community
March 17, 2017 - 5:59am, 4368 views
Hi,
I'm trying to establish internet connection using the below wvdial.conf using PLS8 E LTE modem
[Dialer Defaults]
Phone = *99#
Username = None
Password = None
Stupid Mode=1
Dial Command = ATDT
Modem Type=Analog Modem
[Dialer innocomm]
Modem=/dev/ttyACM0
Baud=921600
Init1=ATZ
Init2=ATQ0 &F &D2 &C1 S0=0
Init3=AT+CGDCONT=1,"IP","internet"
ISDN=0
But got the below error.
--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
--> Modem not responding.
Hence I modified the Modem to /dev/ttyACM1 and then I got below error.
--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: ATZ
ATZ
--> Sending: ATQ0
ATQ0
OK
--> Re-Sending: ATZ
ATZ
OK
--> Sending: ATQ0 &F &D2 &C1 S0=0
ATQ0 &F &D2 &C1 S0=0
--> Sending: ATQ0
ATQ0
OK
--> Re-Sending: ATQ0 &F &D2 &C1 S0=0
ATQ0 &F &D2 &C1 S0=0
OK
--> Sending: AT+CGDCONT=1,"IP","internet"
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
--> Timed out while dialing. Trying again.
ATDT*99#
+CME ERROR: phone adaptor link reserved
--> Invalid dial command.
--> Disconnecting at Wed Mar 15 15:45:44 2017
Kindly help me to solve this issue.
-Avinash.
Hello,
The error "+CME ERROR: phone adaptor link reserved" suggests that you are not using the modem interface but application interface for the connection. Please query the port type with AT^SQPORT? command. Please use the modem port for the connection. You can also configure the ports with AT^SSRVSET command.
Regards,
Bartłomiej
Hi,
I am trying something similar. No luck with sending commands on the modem port of PLS8-E modem. However application port is accessible.
sudo ***** - /dev/ttyACM1,crnl
ATI
Cinterion
PLS8-E
REVISION 02.011
OK
AT^SQPORT
^SQPORT: Application
OK
When I try same over the modem port ttyACM0 - I don't get any response
^Cnis-linux-user@CIOO-NIX-LINUX:~/experiments$ sudo ***** - /dev/ttyACM0,crnl
ATI
Below you can see the strace output, according to it, there's no data coming on receive buffer
"recvfrom(3, 0x7ffcdcb91080, 519, MSG_DONTWAIT, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
recvfrom(3, 0x7ffcdcb90b00, 519, MSG_DONTWAIT, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
read(0, "ATI\n", 8192) = 4
recvfrom(3, 0x7ffcdcb90b00, 519, MSG_DONTWAIT, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
recvfrom(3, 0x7ffcdcb91000, 519, MSG_DONTWAIT, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
write(5, "ATI\r\n", 5) = 5
recvfrom(3, 0x7ffcdcb91000, 519, MSG_DONTWAIT, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
recvfrom(3, 0x7ffcdcb91080, 519, MSG_DONTWAIT, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(6, [0 5], [5], [], NULL"
"AT^SSRVSET" is unrecognised command in this particular modem.
system is
"uname -ra
Linux CIOO-NIX-LINUX 4.4.0-71-generic #92 SMP Thu Mar 30 17:48:54 IST 2017 x86_64 x86_64 x86_64 GNU/Linux"
Hello,
This is quite strange what you write because in release 2 the AT^SSRVSET command should exist.
Besides USB1 and USB0 interfaces there should also be USB2 and ASC0. It is possible that the modem interface is configured on one of them.
Please also try them. And please check the detailed firmware version with ATI1.
Regards,
Bartłomiej
Hi Bartłomiej,
Thanks for some leads, while I try these things, I thought I will give some more debug information
dmesg output once the device is inserted - the kernel messages are pasted below
[ 2459.124072] usb 2-1: new high-speed USB device number 7 using ehci-pci
[ 2459.257467] usb 2-1: New USB device found, idVendor=1e2d, idProduct=0061
[ 2459.257473] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2459.257475] usb 2-1: Product: LTE Modem
[ 2459.257477] usb 2-1: Manufacturer: Cinterion
[ 2459.360859] cdc_acm 2-1:1.0: ttyACM0: USB ACM device
[ 2459.365917] cdc_acm 2-1:1.2: ttyACM1: USB ACM device
[ 2459.370220] cdc_acm 2-1:1.4: ttyACM2: USB ACM device
[ 2459.371882] cdc_acm 2-1:1.6: ttyACM3: USB ACM device
[ 2459.374631] cdc_acm 2-1:1.8: ttyACM4: USB ACM device
[ 2459.377361] usbcore: registered new interface driver cdc_acm
[ 2459.377365] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 2459.432634] cdc_acm 2-1:1.8: failed to set dtr/rts
[ 2459.484697] cdc_ether 2-1:1.10 usb0: register 'cdc_ether' at usb-0000:00:1d.7-1, CDC Ethernet Device, de:ad:be:ef:00:00
[ 2459.494717] cdc_ether 2-1:1.12 usb1: register 'cdc_ether' at usb-0000:00:1d.7-1, CDC Ethernet Device, de:ad:be:ef:00:01
[ 2459.498702] usbcore: registered new interface driver cdc_ether
[ 2459.517542] cdc_ether 2-1:1.10 enp0s29f7u1i10: renamed from usb0
[ 2459.529447] cdc_ether 2-1:1.12 enp0s29f7u1i12: renamed from usb1
[ 2459.544907] IPv6: ADDRCONF(NETDEV_UP): enp0s29f7u1i10: link is not ready
[ 2459.545077] cdc_ether 2-1:1.10 enp0s29f7u1i10: kevent 12 may have been dropped
[ 2459.545085] cdc_ether 2-1:1.10 enp0s29f7u1i10: kevent 12 may have been dropped
[ 2459.570624] IPv6: ADDRCONF(NETDEV_UP): enp0s29f7u1i12: link is not ready
[ 2459.571006] cdc_ether 2-1:1.12 enp0s29f7u1i12: kevent 12 may have been dropped
[ 2459.572470] cdc_ether 2-1:1.10 enp0s29f7u1i10: CDC: unexpected notification 01!
[ 2459.573456] cdc_ether 2-1:1.12 enp0s29f7u1i12: CDC: unexpected notification 01!
[ 2459.604471] cdc_ether 2-1:1.10 enp0s29f7u1i10: CDC: unexpected notification 01!
[ 2459.605464] cdc_ether 2-1:1.12 enp0s29f7u1i12: CDC: unexpected notification 01!
[ 2459.636465] cdc_ether 2-1:1.10 enp0s29f7u1i10: CDC: unexpected notification 01!
[ 2459.637459] cdc_ether 2-1:1.12 enp0s29f7u1i12: CDC: unexpected notification 01!
Just wondering if I am using the right driver.
Hello,
The driver should be integrated in the kernel.
Have you already tried other ports? Please also check AT^SCFG? and ATI1 output.
Regards,
Bartłomiej