LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   pppd exit code = 10 (https://www.linuxquestions.org/questions/linux-hardware-18/pppd-exit-code-%3D-10-a-106048/)

eduac 10-19-2003 05:13 PM

pppd exit code = 10
 
Guys,


Anyone can help?

I try to connect with wvdial and appears the follow error message:


--> Looks like a login prompt.
--> Sending: eduac@uol.com.br
eduac@uol.com.br
password:
--> Looks like a password prompt.
--> Sending: (password)
Exiting shell, and starting PPP session.
~[7f]}#@!}!}!} }8}!}$}%\}"}&} }*} } }%}&,Pix}'}"}(}"B>~
--> PPP negotiation detected.
--> Starting pppd at Sun Oct 19 17:26:28 2003
--> pid of pppd: 479
--> Disconnecting at Sun Oct 19 17:26:34 2003
--> The PPP daemon has died: PPP negotiation failed (exit code = 10)
--> man pppd explains pppd error codes in more detail.
--> I guess that's it for now, exiting
--> The PPP daemon has died. (exit code = 10)



lachlan 10-20-2003 02:57 AM

Exit code=10 means that the PPP negotiation failed,have a look at man pppd.
It's possible that your /etc/wvdial.conf is not set up properly,mines looks like this:

Baud = 57600
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2
Phone =
Username =
Password =
Ask Password = 0
Dial Command = ATDT
Stupid Mode = 1
Compuserve = 0
Idle Seconds = 300
ISDN = 0
Auto DNS = 1

[Dialer Defaults]
Modem = /dev/ttySLT0
Baud = 115200
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0

When I run wvdial this is the output:

[root@localhost lachlan]# wvdial
--> WvDial: Internet dialer version 1.53
--> 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.
--> Idle Seconds = 300, disabling automatic reconnect.
--> Sending: ATDT<ISP TEL. No.>
--> Waiting for carrier.
ATDT<ISP TEL No.>
CONNECT 52000 V42bis
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Mon Oct 20 20:39:56 2003
--> pid of pppd: 1848

Hope this is of some help.

Lachlan


All times are GMT -5. The time now is 09:17 PM.