Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

wvdial problem - unable to connect

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
pigsfoot
Posts: 1
Joined: 2016-02-20 18:46

wvdial problem - unable to connect

#1 Post by pigsfoot »

Hi,

I'm trying to get WVdial working on debian ( Kali ) installed on a Raspberry Pi2. I am using a Huawei E3131 USB Modem.

My wvdial.config is as follows

Code: Select all

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0
Modem Type = Analog Modem
Phone = *99#
ISDN = 0
Username = giffgaff
Password = "blank"
Modem = /dev/ttyUSB0
;Baud = 9600
Baud = 460800
stupid mode = 1
Init3 = AT+CGDCONT=1,"IP","giffgaff.com"
When i run wvdial i get the following response

Code: Select all

--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0
OK
--> Sending: AT+CGDCONT=1,"IP","giffgaff.com"
AT+CGDCONT=1,"IP","giffgaff.com"
OK
AT+CSQ
+CSQ: 12,99
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
CONNECT 236800
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Sat Feb 20 18:28:14 2016
--> Pid of pppd: 469
--> Using interface ppp0
--> pppd: pÈÎ
--> pppd: pÈÎ
--> pppd: pÈÎ
--> pppd: pÈÎ
--> pppd: pÈÎ
--> pppd: pÈÎ
--> pppd: pÈÎ
--> Disconnecting at Sat Feb 20 18:28:17 2016
--> The PPP daemon has died: A modem hung up the phone (exit code = 16)
--> man pppd explains pppd error codes in more detail.
--> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
--> Auto Reconnect will be attempted in 5 seconds
My /Var/log/messages shows as

Code: Select all

 
Feb 20 18:28:16 Drone-ID4 kernel: [   68.400107] PPP generic driver version 2.4.2
Feb 20 18:28:16 Drone-ID4 pppd[469]: pppd 2.4.6 started by root, uid 0
Feb 20 18:28:16 Drone-ID4 pppd[469]: Using interface ppp0
Feb 20 18:28:16 Drone-ID4 pppd[469]: Connect: ppp0 <--> /dev/ttyUSB0
Feb 20 18:28:16 Drone-ID4 pppd[469]: CHAP authentication succeeded: Welcome!!
Feb 20 18:28:16 Drone-ID4 pppd[469]: CHAP authentication succeeded
Feb 20 18:28:16 Drone-ID4 pppd[469]: LCP terminated by peer
Feb 20 18:28:16 Drone-ID4 pppd[469]: Modem hangup
Feb 20 18:28:16 Drone-ID4 pppd[469]: Connection terminated.
I have tried looking up LCP terminated by host but can not seem to find anything related to my issue

I have also changed usernames and passwords in the wvdial.conf file and it doesn't seem to make any difference so i get the feeling authentication may be the issue

Reading the various posts on here and generally on the net everybody seems to have very little issues and it just seems to work. I'm not sure is this is a config problem or hardware.

If anyone has a working system I would be very grateful if i could see your etc/wvdial.conf, etc/ppp/ peers/wvdial settings and also know what hardware you are using.

Many Thanks

Post Reply