LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   pppd daemon died un expectedly! (https://www.linuxquestions.org/questions/linux-software-2/pppd-daemon-died-un-expectedly-107766/)

KlutZ 10-23-2003 05:58 PM

pppd daemon died un expectedly!
 
I first posted this in the hardware section, because I thought it was my modem giving me the trouble. Now I'm not so sure. When I try to connect with kppp, the log says "OK OK", and on the bottom it says "Expecting: CONNECT". Then after about thirty seconds I get this error:

Quote:

pppd daemon died unexpectedly!
Exit status:17
See 'man pppd' for an explanation of the error or take a look at the FAQ on http://devel-home.kde.org/~kppp/index.html
Ihave tried some of the suggestions here but most of the time I get an "access denied" response. Yes, I am at root. As you have no doubt figured out by now, I am a complete newB with linux. If you could help me, I would appreciate it.

Thanks

darthtux 10-23-2003 09:57 PM

This is what I found on the error in question

https://secure.linuxports.com/howto/ppp/x1496.htm

dalek 10-23-2003 10:27 PM

Who is your ISP? It sounds like they are kicking you off line. Just curious.

Later

:D :D :D :D

KlutZ 10-24-2003 04:18 PM

My ISP is a local dial up service. I don't think it's even getting that far. I don't hear a dial tone or the modem dialing or anything. I guess, now that I think of it, that information would have been useful at first.

In response to:

Quote:

This is what I found on the error in question

https://secure.linuxports.com/howto/ppp/x1496.htm
How do I do that? Where do I find the "chat script", and, how do I edit it?

Thanks again.

dalek 10-24-2003 06:17 PM

It may be that you have Kppp pointing to the wrong port. Go under the device tab and see if it is pointing to /dev/ttyS0 or S1 if it is external or S4 or S5 if it is internal. You can also turn up the volume so that you can hear the dialing.

Back in a bit.

:D :D :D :D

KlutZ 10-24-2003 06:58 PM

Under the device tab, kppp is pointed to /dev/modem. Which is a symbolic link to ttyS4. I would like to point kppp to ttyS4, but it is not in the menu of options. The "setserial" command has got me nowhere.

dalek 10-24-2003 08:51 PM

Is this a winmodem by any chance? Did you turn up the volume and see if you can hear anything?

Trying to narrow this one down a bit. It sounds like it doesn't see the modem for some reason. Post model if you don't know if it is a winmodem or not. I'll search and see what I can find.

Also post the results of this from a console:

Code:

lspci
Let's see if it sees the modem. Cut n paste should work.

Later

:D :D :D :D

KlutZ 10-25-2003 08:37 AM

My modem is a 56K* V.92 Performance Pro Modem . The drivers are supposed to be built in the kernal. However, you can also download the RH drivers from the USR web site. I don't think it's a driver problem though. This modem did work, right out of the box, at one time. It just started giving me troubles, for no apparent reason. Thinking I would just start from scratch, I reinstalled linux. That's what any seasoned windows user would do.;) Anyway, that's where I am now.

lspci results:

Quote:

[klutz@localhost klutz]$ su
Password:
[root@localhost klutz]# lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133] (rev 03)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133 AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 40)
00:07.1 IDE interface: VIA Technologies, Inc. VT82C586/B/686A/B PIPC Bus Master IDE (rev 06)
00:07.2 USB Controller: VIA Technologies, Inc. USB (rev 1a)
00:07.3 USB Controller: VIA Technologies, Inc. USB (rev 1a)
00:07.4 Bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40)
00:07.5 Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97 Audio Controller (rev 50)
00:09.0 Serial controller: US Robotics/3Com 56K FaxModem Model 5610 (rev 01)
00:0a.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 0a)
00:0a.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 0a)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R250 If [Radeon 9000] (rev 01)
01:00.1 Display controller: ATI Technologies Inc Radeon R250 [Radeon 9000] (Secondary) (rev 01)
[root@localhost klutz]#

Thanks Again.

KlutZ 10-25-2003 08:41 AM

BTW, it doesn't matter how loud I have the volume. The sounds come from the modem itself, not the speakers. And, it's louder than any modem I've ever had. I don't know if that's useful, but I did forget to mention it.

dalek 10-25-2003 07:24 PM

Well it sees the modem is there so. Go into the setup of Kppp then the device tab. There should be a listing for the serial ports. Try each of them and see if it connects. If not go into Mandrake Control Center and then Network and Internet then DrakConnect. It should walk you through the setup.

Oh, in Kppp you can adjust the volume under the Modem tab. Put the slider in the middle. It is probably all the way to the right.

I don't have a internal modem but MCC should see it if nothing else does.

Later

:D :D :D :D

KlutZ 10-27-2003 07:42 PM

Thanks for responding guys.
It has always seen the modem, and correctly identified it.
I've already tried all that in kppp and MCC, with no results. I got this from one of the many sites that I've been to while searching for answers:

Quote:

/usr/sbin/pppd /dev/ttyS4 57600 debug connect "/usr/sbin/chat -v '' 'AT&F0' OK ATD5555555 CONNECT '\d\c' "vv
5555555= my dial in #.

When I do this the modem does dial, but of course, doesn't sign in. My assumption is that the modem is working if it can dial out. But, still in kppp it doesn't dial. I just get the original error that I posted. Does anyone have any other ideas. I'm starting to think that I can't use linux on this computer.:cry:

dalek 10-27-2003 10:24 PM

I'm still curious, does your ISP let you connect using Linux? There are some that do not. If it is dialing but not actually connecting, it may be a ISP problem. Make sure your login and password are correct.

It should also give a error message. When it disconnects tell Kppp you want those details. If you can, post them here. That will help us figure out what is going on. I can't do much more without some more info.

Post back what you can.

Later

:D :D :D :D

KlutZ 10-28-2003 05:25 PM

OK, this is where I'm at:
Under the device tab in kppp, it is set to /dev/modem. If I query modem in kppp, it goes through the thing where it goes "ATI 1, ATI 2, etc." Then at the end it comes up with the results, and my modem is listed, along with all the other things that you get after a query. If I use any of the other settings for the query, I get either "modem not detected" or " modem doesn't respond". When I try to connect using kppp, the conection log says "OK OK', and at the very bottom, in the status bar, it says "expecting connect". After thirty secondes I get this error:

Quote:

pppd daemon died unexpectedly!
Exit status:17
See 'man pppd' for an explanation of the error or take a look at the FAQ on http://devel-home.kde.org/~kppp/index.html
I have two options. I can click on cancel or details. I click on details, and I get another error box that says something along the lines of "ppp log file is not activated. Do I want to activate it now?" I click on yes, and that box goes away, and I click on details again on the original error box and get this:

Quote:

Oct 18 17:06:32 localhost pppd[2807]: pppd 2.4.1 started by klutz, uid 501
Oct 18 17:06:32 localhost pppd[2807]: Using interface ppp0
Oct 18 17:06:32 localhost pppd[2807]: Connect: ppp0 <--> /dev/tts/4
Oct 18 17:06:36 localhost pppd[2807]: Serial line is looped back.
Oct 18 17:06:36 localhost pppd[2807]: Connection terminated.
Oct 18 17:06:36 localhost pppd[2807]: Exit.
At the bottom of this box, it says:

Quote:

kppp's diagnosos (just guessing)
You have not started the PPP software on the peer system
I don't know what that means, but it doesn't sound good. Now that ppp logging is active, I try to connect again. I get the same "OK OK expecting connect" thing as I did in the first connection log. After thirty seconds, I get the original error message again:

Quote:

pppd daemon died unexpectedly!
Exit status:17
See 'man pppd' for an explanation of the error or take a look at the FAQ on http://devel-home.kde.org/~kppp/index.html
This time when I click on details I get this:

Quote:

Oct 18 17:12:35 localhost pppd[2863]: pppd 2.4.1 started by klutz, uid 501
Oct 18 17:12:35 localhost pppd[2863]: using channel 6
Oct 18 17:12:35 localhost pppd[2863]: Using interface ppp0
Oct 18 17:12:35 localhost pppd[2863]: Connect: ppp0 <--> /dev/tts/4
Oct 18 17:12:36 localhost pppd[2863]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3b0c4dd4> <pcomp> <accomp>]
Oct 18 17:12:36 localhost pppd[2863]: rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3b0c4dd4> <pcomp> <accomp>]
Oct 18 17:12:36 localhost pppd[2863]: sent [LCP ConfNak id=0x1 <magic 0xa5286f19>]
Oct 18 17:12:36 localhost pppd[2863]: rcvd [LCP ConfNak id=0x1 <magic 0xa5286f19>]
Oct 18 17:12:36 localhost pppd[2863]: sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0x709dfcd> <pcomp> <accomp>]
Oct 18 17:12:36 localhost pppd[2863]: rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0x709dfcd> <pcomp> <accomp>]
Oct 18 17:12:36 localhost pppd[2863]: sent [LCP ConfNak id=0x2 <magic 0xeca2d07a>]
Oct 18 17:12:36 localhost pppd[2863]: rcvd [LCP ConfNak id=0x2 <magic 0xeca2d07a>]
Oct 18 17:12:36 localhost pppd[2863]: sent [LCP ConfReq id=0x3 <asyncmap 0x0> <magic 0x49fbcc19> <pcomp> <accomp>]
Oct 18 17:12:36 localhost pppd[2863]: rcvd [LCP ConfReq id=0x3 <asyncmap 0x0> <magic 0x49fbcc19> <pcomp> <accomp>]
Oct 18 17:12:36 localhost pppd[2863]: sent [LCP ConfNak id=0x3 <magic 0xcae420fd>]
Oct 18 17:12:36 localhost pppd[2863]: rcvd [LCP ConfNak id=0x3 <magic 0xcae420fd>]
Oct 18 17:12:36 localhost pppd[2863]: sent [LCP ConfReq id=0x4 <asyncmap 0x0> <magic 0xa8e7f60b> <pcomp> <accomp>]
Oct 18 17:12:36 localhost pppd[2863]: rcvd [LCP ConfReq id=0x4 <asyncmap 0x0> <magic 0xa8e7f60b> <pcomp> <accomp>]
Oct 18 17:12:36 localhost pppd[2863]: sent [LCP ConfNak id=0x4 <magic 0x20933635>]
Oct 18 17:12:36 localhost pppd[2863]: rcvd [LCP ConfNak id=0x4 <magic 0x20933635>]
Oct 18 17:12:36 localhost pppd[2863]: sent [LCP ConfReq id=0x5 <asyncmap 0x0> <magic 0x18ee7f6d> <pcomp> <accomp>]
Oct 18 17:12:36 localhost pppd[2863]: rcvd [LCP ConfReq id=0x5 <asyncmap 0x0> <magic 0x18ee7f6d> <pcomp> <accomp>]
Oct 18 17:12:36 localhost pppd[2863]: sent [LCP ConfNak id=0x5 <magic 0x89244400>]
Oct 18 17:12:36 localhost pppd[2863]: rcvd [LCP ConfNak id=0x5 <magic 0x89244400>]
Oct 18 17:12:36 localhost pppd[2863]: sent [LCP ConfReq id=0x6 <asyncmap 0x0> <magic 0x25ab5f48> <pcomp> <accomp>]
Oct 18 17:12:36 localhost pppd[2863]: rcvd [LCP ConfReq id=0x6 <asyncmap 0x0> <magic 0x25ab5f48> <pcomp> <accomp>]
Oct 18 17:12:36 localhost pppd[2863]: sent [LCP ConfNak id=0x6 <magic 0xb067c2cf>]
Oct 18 17:12:36 localhost pppd[2863]: rcvd [LCP ConfNak id=0x6 <magic 0xb067c2cf>]
Oct 18 17:12:36 localhost pppd[2863]: sent [LCP ConfReq id=0x7 <asyncmap 0x0> <magic 0xf2ce18f> <pcomp> <accomp>]
Oct 18 17:12:36 localhost pppd[2863]: rcvd [LCP ConfReq id=0x7 <asyncmap 0x0> <magic 0xf2ce18f> <pcomp> <accomp>]
Oct 18 17:12:36 localhost pppd[2863]: sent [LCP ConfNak id=0x7 <magic 0x7c4170d0>]
Oct 18 17:12:36 localhost pppd[2863]: rcvd [LCP ConfNak id=0x7 <magic 0x7c4170d0>]
Oct 18 17:12:36 localhost pppd[2863]: sent [LCP ConfReq id=0x8 <asyncmap 0x0> <magic 0x21f6f20c> <pcomp> <accomp>]
Oct 18 17:12:36 localhost pppd[2863]: rcvd [LCP ConfReq id=0x8 <asyncmap 0x0> <magic 0x21f6f20c> <pcomp> <accomp>]
Oct 18 17:12:36 localhost pppd[2863]: sent [LCP ConfNak id=0x8 <magic 0xb73f76a4>]
Oct 18 17:12:36 localhost pppd[2863]: rcvd [LCP ConfNak id=0x8 <magic 0xb73f76a4>]
Oct 18 17:12:36 localhost pppd[2863]: sent [LCP ConfReq id=0x9 <asyncmap 0x0> <magic 0xd615d1ff> <pcomp> <accomp>]
Oct 18 17:12:36 localhost pppd[2863]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x3b0c4dd4> <pcomp> <accomp>]
Oct 18 17:12:36 localhost pppd[2863]: rcvd [LCP ConfAck id=0x7 <asyncmap 0x0> <magic 0xf2ce18f> <pcomp> <accomp>]
Oct 18 17:12:36 localhost pppd[2863]: rcvd [LCP ConfAck id=0x8 <asyncmap 0x0> <magic 0x21f6f20c> <pcomp> <accomp>]
Oct 18 17:12:36 localhost pppd[2863]: rcvd [LCP ConfAck id=0x9 <asyncmap 0x0> <magic 0xd615d1ff> <pcomp> <accomp>]
Oct 18 17:12:39 localhost pppd[2863]: sent [LCP ConfReq id=0x9 <asyncmap 0x0> <magic 0xd615d1ff> <pcomp> <accomp>]
Oct 18 17:12:39 localhost pppd[2863]: rcvd [LCP ConfReq id=0x9 <asyncmap 0x0> <magic 0xd615d1ff> <pcomp> <accomp>]
Oct 18 17:12:39 localhost pppd[2863]: sent [LCP ConfNak id=0x9 <magic 0xa2e3cc9a>]
Oct 18 17:12:39 localhost pppd[2863]: rcvd [LCP ConfNak id=0x9 <magic 0xa2e3cc9a>]
Oct 18 17:12:39 localhost pppd[2863]: sent [LCP ConfReq id=0xa <asyncmap 0x0> <magic 0x188ef749> <pcomp> <accomp>]
Oct 18 17:12:39 localhost pppd[2863]: rcvd [LCP ConfReq id=0xa <asyncmap 0x0> <magic 0x188ef749> <pcomp> <accomp>]
Oct 18 17:12:39 localhost pppd[2863]: sent [LCP ConfNak id=0xa <magic 0xc9eecb82>]
Oct 18 17:12:39 localhost pppd[2863]: rcvd [LCP ConfNak id=0xa <magic 0xc9eecb82>]
Oct 18 17:12:39 localhost pppd[2863]: Serial line is looped back.
Oct 18 17:12:39 localhost pppd[2863]: sent [LCP TermReq id=0xb "Loopback detected"]
Oct 18 17:12:39 localhost pppd[2863]: rcvd [LCP TermReq id=0xb "Loopback detected"]
Oct 18 17:12:39 localhost pppd[2863]: sent [LCP TermAck id=0xb]
Oct 18 17:12:39 localhost pppd[2863]: rcvd [LCP TermAck id=0xb]
Oct 18 17:12:39 localhost pppd[2863]: Connection terminated.
Oct 18 17:12:39 localhost pppd[2863]: Exit.
Before all this happened, when I connected using kppp, the connection log would say more than just "OK OK". It's been so long since it worked properly that I don't recall exactly what it said, but it was something like "OK AT ATZ OK". That's not right, but something similar.
Now, I did call my ISP, just to be sure that they allowed linux users. The guy almost sounded offended that I would even ask. His response was "Of course we allow linux users. We're not partial to any operating system that you want to use, and we don't care what you use. I do myself use Suse from time to time." I guess that answered my question. But, he didn't know how to fix my particular problem. However, the problem seems to be (to me anyways) associated with the "Serial line is looped back" error that I posted previously in the ppp log. But I don't know. Does this error, for example, prevent my modem from dialing in kppp? I am assuming that it does, because this modem did work.

Thanks again!

p.s. To quote myself:

Quote:

I'm starting to think that I can't use linux on this computer.
It did work, and will work again. I'm not about to give up on this. I know that I'm missing something simple here. Just remember that I'm a new B!;)

KlutZ 10-28-2003 05:30 PM

BTW, the modem isn't even trying to connect. No sounds out of the modem what-so-ever. That's why I don't believe that it's my ISP.

dalek 10-28-2003 06:16 PM

OK, I found out that you should not have the serial loopback feature turned on. I'm trying to find out how to cut that "feature" off.

Meantime, check these:

Click setup then open the account you have setup. In the Dial tab make sure Authentication is set to 'PAP'. IP tab, Check 'Dynamic IP address'. Gateway tab, Check 'default gateway' and check 'Assign the default' thingy. DNS tab, Your domain will likely be localhost or blank. Check 'automatic'. Login script tab, Select 'expect' rest should be blank. Execute tab, blank, nothing here.

Now back to the main setup page. Device tab, modem device, which ever works and tries to connect to the modem. Flow control is Hardware [CRTSCTS], Line termination 'CR', Connection speed is 115200. That is the serial port not the modem over the phone line. :cry: Modem tab, whatever makes you happy here. Graph tab, what ever. Don't matter. Misc tab, pppd timeout 60 seconds. Show clock on caption and Disconnect on X server shutdown are both checked. Nothing else.

See if yours matches that since mine works and it sounds like the ISP is supportive of Linux.

While you are checking that, I'll be diggin around seeing how to turn off the 'feature' that is the problem.

Post back if that helps. I'll put my shovel away then.

Later

:D :D :D :D


All times are GMT -5. The time now is 03:04 PM.