I use the Ericsson N5321 gw card in my Lenovo Thinkpad T440s to connect to T-Mobile (resold by debitel) with the following /etc/wvdial.conf
(on debian sid x64):
[Dialer Defaults]
Modem = /dev/ttyACM2
Baud = 460800
Phone = *99#
Username = t-mobile
Password = tm
Stupid Mode = 1
Modem Type = USB Modem
New PPD = yes
Dial Command = ATDT
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","internet.t-mobile"
However, when I try to connect, ppd fails with code 16 and log:
Aug 3 09:47:01 t4 pppd[3592]: CHAP authentication succeeded:
Congratulations!
Aug 3 09:47:01 t4 pppd[3592]: CHAP authentication succeeded
Aug 3 09:47:01 t4 pppd[3592]: LCP terminated by peer
Aug 3 09:47:01 t4 pppd[3592]: Modem hangup
How do I make the connection work?