You are not logged in.

#1 2015-07-04 18:39:58

vizipok
Member
Registered: 2011-03-26
Posts: 23

pppd error 16 rcvd [LCP TermReq id=0x1] with wvdial

I am trying to connect to UK giffgaff 3g network with the built in USB modem of my ThinkPad X240.

The modem should be Ericsson H5321gw, lsusb shows:

~ $ lsusb
Bus 001 Device 069: ID 0bdb:193e Ericsson Business Mobile Networks BV

Relevant section of /etc/wvdial.conf:

[Dialer giffgaff]
Modem = /dev/ttyACM0
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","giffgaff.com"
Stupid mode = 1
phone= *99#
Username = giffgaff
Password = "blank"

In /etc/ppp/peers/wvdial:

noauth
name wvdial
usepeerdns
noccp
debug

Invoking wvdial giffgaff results the following error:

--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &D2 +FCLASS=0
OK
--> Sending: AT+CGDCONT=1,"IP","giffgaff.com"
AT+CGDCONT=1,"IP","giffgaff.com"
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
~[7f]}#@!}!}!} }=}#}%B#}%}(}"}'}"}!}$}%\}"}&} } } } }%}&VKXDi~~
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Sat Jul  4 19:28:31 2015
--> Pid of pppd: 6994
--> Using interface ppp0
--> Authentication (CHAP) started
--> Authentication (CHAP) successful
--> Terminate Request
--> ***** no quoted text found in `rcvd [LCP TermReq id=0x1]' *****
--> Disconnecting at Sat Jul  4 19:28:31 2015
--> The PPP daemon has died: A modem hung up the phone (exit code = 16)

The service provider explicitly states that the APN is giffgaff.com, the username is giffgaff, the password should be left blank. As I read, wvdial processes the string "blank" as an empty password, however I tried also with Password = *. I tried with APN names "giffgaff", "internet", also with my giffgaff username and password, with no success.

I am not sure where to look for the origin of this error: both the modem and the service provider is new for me. Reading another forums this error might occure because wrong APN name or username, or problems with compression control protocol.

My system has been fully updated couple of days ago:

~ $ uname -a  
Linux xx 4.0.6-1-ARCH #1 SMP PREEMPT Tue Jun 23 14:25:08 CEST 2015 x86_64 GNU/Linux

I would very much appreciate if you could give some hints where to search further, is this problem related to the modem, the connection settings, or the pppd options? And also, how to get more informative debug messages?

Thanks!

Offline

Board footer

Powered by FluxBB