Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-06-2004, 02:29 PM
|
#1
|
Member
Registered: Oct 2003
Location: East Anglia, England
Distribution: Dapper Drake / Slackware
Posts: 151
Rep:
|
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!
|
|
|
07-06-2004, 04:09 PM
|
#2
|
LQ Guru
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,398
|
"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
|
|
|
07-06-2004, 08:13 PM
|
#3
|
Senior Member
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918
Rep: 
|
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.
|
|
|
07-07-2004, 09:52 AM
|
#4
|
Member
Registered: Oct 2003
Location: East Anglia, England
Distribution: Dapper Drake / Slackware
Posts: 151
Original Poster
Rep:
|
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.
|
|
|
07-07-2004, 10:32 AM
|
#5
|
Member
Registered: Oct 2003
Location: East Anglia, England
Distribution: Dapper Drake / Slackware
Posts: 151
Original Poster
Rep:
|
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?
|
|
|
07-08-2004, 11:43 AM
|
#6
|
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 12:32 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|