LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-06-2004, 02:29 PM   #1
Hal
Member
 
Registered: Oct 2003
Location: East Anglia, England
Distribution: Dapper Drake / Slackware
Posts: 151

Rep: Reputation: 30
wvdial and pppd exit code 10


I did post a little while back with a ppp error, now that was when I was using kppp. I decided to have a look at wvdial.

Right, so I ran wvdialconfig to create this in /etc/wvdial.conf:

[Dialer Defaults]
Modem = /dev/ttyS0
Baud = 115200
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
Phone = 147008089916080
Username = ####.freeserve.co.uk
Password = ####

Where the hashes are my user name and password.

I then run wvdial, my external modem makes the usual noise:

--> 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.
--> Sending: ATDT147008089916080
--> Waiting for carrier.
ATDT147008089916080
CONNECT 115200
--> Carrier detected. Waiting for prompt.
~[7f]}#@!}!}!} !}!}$}%\}"}&} }*} } }#}%B#}%}%}&}3jgA}'}"}(}"}1}$}%b0i~
--> PPP negotiation detected.
--> Starting pppd at Tue Jul 6 20:03:25 2004
--> pid of pppd: 3000
--> Disconnecting at Tue Jul 6 20:03:58 2004
--> 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)

Exit status 10 means "The PPP negotiation failed, that is, it didn’t reach the point where at least one network protocol (e.g. IP) was running."

My internet connection is the only thing bringing me back to XP, please help me out so I can migrate!
 
Old 07-06-2004, 04:09 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"The PPP daemon has died: PPP negotiation failed (exit code = 10)"

You could try placing the Stupid Mode parameter in /etc/wvdial.conf:

Stupid Mode = 1

Place it between Modem and Phone, although I think it will work anywhere.

Stupid Mode tells pppd to ignore minor problems with the connect protocol and just go ahead as if connect worked OK.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 07-06-2004, 08:13 PM   #3
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
Quote:
Username = ####.freeserve.co.uk
My ISP would require USERNAME@freeserve.co.uk rather than USERNAME.freeserve.co.uk
Maybe this is just a typo?
Some ISPs would want just the USERNAME part.
 
Old 07-07-2004, 09:52 AM   #4
Hal
Member
 
Registered: Oct 2003
Location: East Anglia, England
Distribution: Dapper Drake / Slackware
Posts: 151

Original Poster
Rep: Reputation: 30
Thank you jailbait and 2damncommon for your comments.

I will try the stupid mode in the /etc/wvdial.conf file. The username wasn't a typo, I just use the same username as in windows, which is ###.freeserve.co.uk. But thanks for that anyway.
 
Old 07-07-2004, 10:32 AM   #5
Hal
Member
 
Registered: Oct 2003
Location: East Anglia, England
Distribution: Dapper Drake / Slackware
Posts: 151

Original Poster
Rep: Reputation: 30
Ok, I tried using Stupid Mode = 1 in various places in the /etc/wvdial.conf file, including between the modem and the phone. I no longer see the exit 10, but instead an exit 16 "A modem hung up the phone". I also get a No Carrier! message sometimes and it keeps redialling.

Freeserve is now known as Wanadoo, have any other Brits connected up with their modem to Wanadoo successfully?
 
Old 07-08-2004, 11:43 AM   #6
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
2damncommon made a good point about the username. I use Wanadoo and both of the usernames for our accounts end with @fs
$USERNAME@fs
It's worth a shot, but I've a feeling that may just be for broadband accounts. It should be the same in Windows though so stick with what works there.
Also, what do you have in /etc/ppp/options? Try adding these options, if they're not already there.

noauth
passive
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with wvdial returning exit code 15 bossmonkey666 Linux - Networking 0 08-09-2004 04:17 AM
pppd died: pppd options error (exit code 2 taveirac Linux - Networking 1 02-12-2004 10:17 AM
pppd exit code = 10 eduac Linux - Hardware 1 10-20-2003 02:57 AM
winmodem wvdial pppd died exit code 16 nakkaya Linux - Hardware 1 06-07-2003 06:59 PM
pppd died: pppd options error (exit code 2) ianwest Linux - Newbie 2 07-31-2002 08:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration