View previous topic :: View next topic |
Author |
Message |
brcre n00b
Joined: 11 Jan 2004 Posts: 11 Location: Nampa, ID
|
Posted: Fri Feb 06, 2004 6:23 pm Post subject: Newbie needs help with PPP and wvdial |
|
|
I was hopiing that someone would be able to look at my settings and tell me what I've done wrong with my ppp connection.
I've:
emerge -k ppp
emerge -k wvdial
emerge -k pppoe
I then ran:
wvdialconf /etc/wvdial.conf
*Plus added Stupid Mode = 1 to the bottom
When I try to use Kppp or wvdial to connect it dials the number just fine, but then hangs up with an error message #2
The pppd daemon died unexpectedly!
Exit status: 2
See 'man pppd' for an explanation of the error codes or take a look at the kppp FAQ on http://devel-home.kde.org/~kppp/index.html
EXIT STATUS
2 An error was detected in processing the options given, such as two mutually exclusive options being used.
If you click on details when the message comes up there is nothing entered into the log.
Here is a look at the ppp directory:
ppp # ls -F
chap-secrets firewall-masq ip-down* options peers/ pppoe-server-options resolv.conf
chat-default firewall-standalone ip-up* pap-secrets plugins/ pppoe.conf rp-pppoe-gui/
/etc/ppp/pap-secrets
# Secrets for authentication using PAP
# client server secret IP addresses
"private@worldnet.att.net"*"password"
/etc/ppp/chap-secrets
# Secrets for authentication using CHAP
# client server secret IP addresses
"private@worldnet.att.net"*"password"
/etc/ppp/resolv.config
nameserver 209.244.0.3
nameserver 209.244.0.4
/etc/resolv.config
search worldnet.att.net
#search worldnet.att.net
nameserver 127.0.0.1
nameserver 209.244.0.3
nameserver 209.244.0.4
/etc/ppp/options
noipdefault
hide-password
defaultroute
persist
lock
/etc/ppp/options-pptp
#192.168.1.0:
netmask 255.255.255.0
#debug
#kdebug 1
lock
mtu 1490
mru 1490
proxyarp
auth
require-chap
passive
ipcp-accept-local
ipcp-accept-remote
lcp-echo-failure 3
lcp-echo-internal 5
deflate 0
#ms-dns 192.168.1.1
#ms-wins 192.168.1.1
ppp # 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.
--> Sending: ATDT3192010
--> Waiting for carrier.
ATDT3192010
CONNECT 46666/ARQ/x2/LAPM/V42BIS
--> Carrier detected. Waiting for prompt.
STATION ID - seawa10rh13hp019,seawa42ev
Welcome
Please Sign-on:
--> Looks like a login prompt.
--> Sending: private@worldnet.att.net
private@worldnet.att.net
~[7f]}#@!}! } }9}"}&} } } } }'}"}(}"}#}%B#}%}%}&[07]L}6W}7}]~
--> PPP negotiation detected.
--> Starting pppd at Fri Feb 6 11:01:04 2004
--> pid of pppd: 6112
--> Disconnecting at Fri Feb 6 11:01:05 2004
--> The PPP daemon has died: pppd options error (exit code = 2)
--> man pppd explains pppd error codes in more detail.
--> I guess that's it for now, exiting
--> The PPP daemon has died. (exit code = 2)
Thank You in advance. |
|
Back to top |
|
|
dblas n00b
Joined: 01 Nov 2002 Posts: 41
|
Posted: Mon Feb 09, 2004 8:47 pm Post subject: |
|
|
I haven't used ppp in many years, so take this with a grain of salt, but it appears that you have not started the pppd daemon. Also, double check that ppp is compiled into the kernel. |
|
Back to top |
|
|
brcre n00b
Joined: 11 Jan 2004 Posts: 11 Location: Nampa, ID
|
Posted: Tue Feb 10, 2004 4:40 am Post subject: |
|
|
Thank you for the reply. I've been trying to get this to work since before I compiled the kernel (I was hoping to use ck-sources, which I don't have on the installation disk) and I finally have a working connection, but I'm already into my KDE.
If anyone is interested in how I did it:
rm ppp
rm wvdial
rm /etc/ppp/*
rm /etc/resolv.conf
rm /etc/hosts
Then I
emerge -k ppp
emerge -k wvdial
emerge -k kde (from within KDE)
reboot
(At this point Kppp will dial and appears to connect, but I can't ping anything)
So I put back in place:
/etc/ppp/chap-secrets (same result)
/etc/ppp/pap-secrets (same result)
/etc/ppp/options (Exit status 2...so I delete the options again and leave this file with only "lock" in it)
/etc/resolv.conf
At this point it connects and I can use it. I've yet to try wvdial, because I don't want to break what I've finally got working, and I doubt it will work anyway, but you never know!!
Now I can get back to working on my original problem I had before I ruined that install and had to start over. (I'm sure with the right person at the keyboard they could have recovered from my error, however I happen to be the only typer at my address ) |
|
Back to top |
|
|
dblas n00b
Joined: 01 Nov 2002 Posts: 41
|
Posted: Tue Feb 10, 2004 7:20 pm Post subject: |
|
|
2 comments. First, what does wvdial do that kppp doesn't?
Second, when I first used linux in 1995 on a Slackware box, it was common to see comments in the forum about the advantages of 2 separate installs. One is the stable and one is the experimental. You use the experimental, and if it breaks, then boot into the stable (which you don't change), and fix the experimental, or you can also use it until you have time to mess with the broken experimental install. After a few months, the experimental becomes the stable system, and you do your upgrades to the former stable, now experimental, system. It's saved me several times, mostly because of my own mistakes, but the result is the same. I would suggest that you play around with wvdial on a system that you can afford to loose ppp on. Also, if you are using a modem you might want to try prozilla, a turbo downloader. You can check it out on Freshmeat. All I did with a cable modem is to emerge it and then uncomment the prozilla line in /etc/make.conf and it works just fine. Good luck. |
|
Back to top |
|
|
brcre n00b
Joined: 11 Jan 2004 Posts: 11 Location: Nampa, ID
|
Posted: Tue Feb 10, 2004 11:42 pm Post subject: |
|
|
I'm not going to be able to answer the question about the difference between wvdial and Kppp, other than when you enter all your information into kppp and run it, the files in /etc/ppp are created for you.
I'll take in consideration your suggestion. Ideally I'd like to upgrade my computer, which would free up the one I currently use so I can do more experimental type stuff. But honestly I only got into Linux so that I'd understand more of what I'm doing at work and I'd prefer if it would just work. It's currently a hobby that keeps me in doors way too often. If it just worked I could go back to being a user and not so much of a Linux hobbiest. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|