Nmcli c up myVPN shows error

I am trying to configure a connection on debian server

nmcli c add type gsm ifname cdc-wdm0 con-name myVPN apn vzwinternet user user1 password HCG2

nmcli c modify myVPN connection.autoconnect yes

nmcli r wwan on

nmcli c up myVPN
Error: Connection activation failed: No suitable device found for this connection.

How to solve this ?
also how to enable port forwarding as well ?

which module are you using?
does this mean it cannot find cdc-wdm0?

I am using EM7455. I am able to see cdc-wdm0 when running mmcli -m 0 command

Thanks,
Krishnadas

You can see this document on how to establish data connection:

I tried AT!SCACT= 1,1, but when looking for status at!scact?

at!scact?

!SCACT: 1,0

are you using Verizon FW?
is your username/password correct?
Have you setup correct APN in AT+CGDCONT?
Does the module register network in AT!GSTATUS?

  • I am using generic firmware

  • Yes, I have a question - how to add username and password, I added them on nmcli c add type gsm ifname cdc-wdm0 con-name myVPN apn lapn2.com user user1 password HCG2 command but on AT command I gave only the APN name - at+cgdcont = 1,“IPV4V6”,“lapn2.com”. Do I need to provide username and password with AT commands ?

  • AT!GSTATUS? provides the following status

!GSTATUS:
Current Time:  126947           Temperature: 33
Reset Counter: 2                Mode:        ONLINE
System mode:   LTE              PS state:    Attached
LTE band:      B3               LTE bw:      20 MHz
LTE Rx chan:   1617             LTE Tx chan: 19617
LTE CA st

Why you are not using Verizon FW?

for username/password, you can try the connection manager in MBPL SDK, OR you can try this AT command:

because, my connection is not Verizon, I am using EE UK

is this "vzwinternet " verizon APN?

Sorry, I changed that before posting to the forum.
I am using EE UK SIM with generic FW ( as EE FW is not available) and see my response for the AT commands.

at+cgdcont = 1,"IPV4V6","lapn2.com"
OK
AT$QCPDPP = 1,1,HCG2,user1 
OK
AT+COPS?
+COPS: 0,0,"EE",7

OK
AT!SCACT=1,1
+CME ERROR: no network service
at
OK
AT!SCACT=1,1
+CME ERROR: no network service
at
OK
AT!SCACT=1,1
+CME ERROR: no network service
at
OK
AT!SCACT=1,1
+CME ERROR: no network service
at
OK
AT!SCACT=1,1
+CME ERROR: no network service
at+cgdcont?
+CGDCONT: 1,"IPV4V6","lapn2.com","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0

OK
AT+CGPADDR
+CGPADDR: 1,10.127.169.35

did you follow the word document to type the following to allocate WDS client ID?
sudo qmicli --device=/dev/cdc-wdm0 --wds-noop --client-no-release-cid

Nope, I haven’t. I thought it’s for external usb type modems. ( I am using an OnLogic device with EM7455 installed internally) I can try that.

yes, also you need to install the driver.
Another way is to use the MBPL SDK connection manager application.

Thanks for that, I can try the SCACT command first, if it’s working I can try MBPL SDK.

  • I can add APN as well in MBPL SDK ?

I think so as I saw in the option list of the application, we can create and modify the profile :

Please select one of the following options or press <Enter> to exit:

1. Start data session

2. Start Multiple PDN data session

3. Stop the currently active data session

4. Display all the profiles stored on the device

5. Display the settings for a particular profile stored on the device

6. Create a profile on the device

7. Modify the settings of an existing profile stored on the device

8. Delete a profile stored on the device

9. Enable QOS Event

10. Disable QOS Event

11. Request QOS Expaded

12. Get QOS Information

13. Get Packet Statistics
1 Like

When I am checking I got connected to my gsm

user@sgsonlogic02:~$ sudo nmcli con
NAME                UUID                                  TYPE      DEVICE
eeVPN             3e53da3a-3d69-48c1-9a1d-2e5dd834da85  gsm       cdc-wdm0
Wired connection 1  4616ea76-6499-4d9d-a64e-4b25fafe9ab7  ethernet  --
user@sgsonlogic02:~$ nmcli device
DEVICE       TYPE      STATE      CONNECTION
cdc-wdm0     gsm       connected  eeVPN
docker0      bridge    unmanaged  --
eno1         ethernet  unmanaged  --
vethce68c60  ethernet  unmanaged  --
lo           loopback  unmanaged  --

Thanks for that.
Do you happened to know how to enable port forwarding ? can I access (SSH) this machine from my vpn end?

I managed to get that working. Thank you very much for your time and support.