ZaphodB
Posts: 4
Joined: Sat Aug 13, 2016 7:55 pm

Huawei E1762 problems with wvdial and ppp

Sat Aug 13, 2016 8:04 pm

Hi there,

I use this wvdial.conf to setup a Huawei E1762 modem:

Code: Select all

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Username = blah
Password = blah
Ask Password = off
Check Def Route = on
Abort on No Dialtone = on
apn = gprs.swisscom.ch
Idle Seconds = 0
Modem Type = Analog Modem
Stupid Mode = on
Baud = 9600
Auto DNS = on
Dial Command = ATM1L3D
Modem = /dev/ttyUSB0
ISDN = 0
Phone = *99#
Carrier Check = On

[pin]
Init3 = AT+CPIN=1234
It works fine on my Laptop and I have successfully surfed the web with it. But on a RaspberryPi 1 with Raspbian Jessie it does not:

Code: Select all

pi@raspberrypi:~ $ sudo wvdial
--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATM1L3D*99#
--> Waiting for carrier.
ATM1L3D*99#
CONNECT
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Fri May 27 19:22:45 2016
--> Pid of pppd: 884
--> Disconnecting at Fri May 27 19:22:46 2016
--> The PPP daemon has died: pppd options error (exit code = 2)
--> man pppd explains pppd error codes in more detail.
--> I guess that's it for now, exiting
--> The PPP daemon has died. (exit code = 2)
Any ideas what the problems could be? Where could I continue searching? Its very hard to find good information on wvdial.

Thanks in advance!

Return to “Advanced users”