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"
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
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 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