LPWA - Dial-up network connections with WvDial

USB Connect LPWA can perform dial-up network (DUN) connections supporting the Point-to-Point Protocol (PPP). Below we give an example of how you can connect to the Internet using app WvDial. WvDial is a Point-to-Point Protocol Dialer: it dials a modem and starts PPP in order to connect to the Internet.

Step 1: Install wvdial

sudo apt install wvdial

Step 2: Edit /etc/wvdial.conf for the follows

[Dialer Defaults] Init1 = ATZ Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 Init3 = AT+CGDCONT=1,"IP","lpwa.vodafone.com" Username = gdsp Password = gdsp Phone = *99***1# New PPPD = yes Modem Type = Analog Modem Stupid Mode = 1 CarrierCheck = No Check DNS = 1 Dial Command = ATD Modem = /dev/ttyUSB1 ISDN = 0 Baud = 115200 ; Phone = <Target Phone Number> ; Password = <Your Password> ; Username = <Your Login Name>

Change APN lpwa.vodafone.com and modem port /dev/ttyUSB1 to your own

Step 3: Start connection via command

The module must be attached to the network before starting the WvDial.

sudo wvdial

Step 4: Wait for connection

To exit the connection, enter the command CTRL+C

Troubleshooting

Sometimes it may happen that WvDial exits without closing the PPP interface. This means that when WvDial is restarted, it will no longer work properly. The following application helps restart USB Connect LPWA to close the PPP interface.

Step 1: Install libqmi-utils

Step 2: Reset USB Connect LPWA