Home > Archive > alt.os.linux > July 2002 > PPP deamon has died! (exit code = 127) - Using a winmodem.





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author PPP deamon has died! (exit code = 127) - Using a winmodem.
ASBJØRN OLAV NESHEIM

2002-07-29, 5:25 pm

I have a Rockwell modem (yes it's a winmodem), and I'm
running the HSF driver from www.mbsi.ca/cnxtilndrw. Now, the modem
seams to be running fine (though I suspect the winmodem is the
trouble maker here), but when I try dialing up I get the exit code
127 right after starting the pppd deamon (see exsact output below).
I use ppp-2.4.1 (remake 3 for RH, though I'm actually on a slackware
box).

I've read the PPP-Howto, Linmodem Howto and the Conextangt+Rockwell
Howto, but no luck there. I've also greped through the PPP-FAQ for
exit code 127 and various other search words, but no luck there
either. A quick google search didn't make me any wiser as well.

This is the output from running WvDial:
-----------------------------------------
--> WvDial: Internet dialer version 1.41
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT 150221312190
--> Waiting for carrier.
ATDT 150221312190
CONNECT 115200
--> Carrier detected. Waiting for prompt.
~[7f]}#@!}!}$} }8}"}&} }*} } }#}$@#}%}&^7[7f]}4}'}"}(}""}3~
--> PPP negotiation detected.
--> Starting pppd at Mon Jul 29 18:50:40 2002
--> PPP daemon has died! (exit code = 127)
--> Disconnecting at Mon Jul 29 18:50:40 2002
--> Auto Reconnect will be attempted in 5 seconds
--> pppd error! Look at files in /var/log for an explanation.
--------------------------------------------
And when I tried using Kppp I got the same error:
PPP deamon has died! (exit code = 127).
--------------------------------------------

The pppd man page contains info on exit codes from 0-19, not 127. And a
grep through /var/log for ppp didn't give me any valuable info.

So if anyone can give me a clue as to where I could countinue my search
or knows what exit code 127 means then please let me know.

Thank you for your time - Rune Nesheim(r.nesheim.c2i.net).


Robert Newson

2002-07-30, 4:25 am

ASBJØRN OLAV NESHEIM wrote:

> I have a Rockwell modem (yes it's a winmodem), and I'm
> running the HSF driver from www.mbsi.ca/cnxtilndrw. Now, the modem
> seams to be running fine (though I suspect the winmodem is the
> trouble maker here), but when I try dialing up I get the exit code
> 127 right after starting the pppd deamon (see exsact output below).
> I use ppp-2.4.1 (remake 3 for RH, though I'm actually on a slackware
> box).
>
> I've read the PPP-Howto, Linmodem Howto and the Conextangt+Rockwell
> Howto, but no luck there. I've also greped through the PPP-FAQ for
> exit code 127 and various other search words, but no luck there
> either. A quick google search didn't make me any wiser as well.
>
> This is the output from running WvDial:
> -----------------------------------------
> --> WvDial: Internet dialer version 1.41
> --> Initializing modem.
> --> Sending: ATZ
> ATZ
> OK
> --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0
> ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0
> OK
> --> Modem initialized.
> --> Sending: ATDT 150221312190
> --> Waiting for carrier.
> ATDT 150221312190
> CONNECT 115200
> --> Carrier detected. Waiting for prompt.
> ~[7f]}#@!}!}$} }8}"}&} }*} } }#}$@#}%}&^7[7f]}4}'}"}(}""}3~
> --> PPP negotiation detected.
> --> Starting pppd at Mon Jul 29 18:50:40 2002
> --> PPP daemon has died! (exit code = 127)
> --> Disconnecting at Mon Jul 29 18:50:40 2002
> --> Auto Reconnect will be attempted in 5 seconds
> --> pppd error! Look at files in /var/log for an explanation.
> --------------------------------------------
> And when I tried using Kppp I got the same error:
> PPP deamon has died! (exit code = 127).
> --------------------------------------------
>
> The pppd man page contains info on exit codes from 0-19, not 127. And a
> grep through /var/log for ppp didn't give me any valuable info.
>
> So if anyone can give me a clue as to where I could countinue my search
> or knows what exit code 127 means then please let me know.
>
> Thank you for your time - Rune Nesheim(r.nesheim.c2i.net).


I've just had a look at the source for pppd 2.3.7 (the first source I could
find) and exit code 127 appears to be a reception of a "bad_signal - We've
caught a fatal signal", namely one of: SIGABRT, SIGALRM, SIGFPE, SIGILL,
SIGPIPE, SIGQUIT, SIGSEGV, SIGBUS, SIGEMT, SIGPOLL, SIGPROF, SIGSYS,
SIGTRAP, SIGVTALRM, SIGXCPU, SIGXFSZ (this may be a different list in
2.4.1). Are you *SURE* there is nothing in, say, /var/log/messages
regarding the pppd failure? Whenever I use WvDial and ppp, I get logs from
both programs in there:

# more /var/log/messages
....
Jul 30 09:45:25 localhost WvDial: OK
Jul 30 09:45:25 localhost WvDial: Sending: ATM1L3
Jul 30 09:45:25 localhost WvDial: ATM1L3
Jul 30 09:45:25 localhost WvDial: OK
Jul 30 09:45:25 localhost WvDial: Modem initialized.
Jul 30 09:45:25 localhost WvDial: Sending: ATDT ******
Jul 30 09:45:25 localhost WvDial: Waiting for carrier.
Jul 30 09:45:25 localhost WvDial: ATDT *****
Jul 30 09:45:52 localhost WvDial: CONNECT 115200
Jul 30 09:45:52 localhost WvDial: Carrier detected. Waiting for prompt.
Jul 30 09:45:54 localhost WvDial: login:
Jul 30 09:45:54 localhost WvDial: Looks like a login prompt.
Jul 30 09:45:54 localhost WvDial: Sending: (username)
Jul 30 09:45:54 localhost WvDial: (username)
Jul 30 09:45:54 localhost WvDial: password:
Jul 30 09:45:54 localhost WvDial: Looks like a password prompt.
Jul 30 09:45:54 localhost WvDial: Sending: (password)
Jul 30 09:45:54 localhost WvDial: Exiting shell, and starting PPP session.
Jul 30 09:45:57 localhost WvDial: ~[7f]}#@!}!}!} }<}!}$}%\}"}&} }*} }
}%}&[02][0b]k\}'}"}(}"}1}$}%bWm~
Jul 30 09:45:57 localhost WvDial: PPP negotiation detected.
Jul 30 09:45:57 localhost pppd[13674]: Serial connection established.
Jul 30 09:45:57 localhost pppd[13674]: Using interface ppp0
Jul 30 09:45:57 localhost pppd[13674]: Connect: ppp0 <--> /dev/ttyS0
Jul 30 09:46:00 localhost kernel: PPP BSD Compression module registered
Jul 30 09:46:00 localhost kernel: PPP Deflate Compression module registered
Jul 30 09:46:04 localhost pppd[13674]: local IP address 1.2.3.4
Jul 30 09:46:04 localhost pppd[13674]: remote IP address 1.2.3.5
Jul 30 09:46:04 localhost pppd[13674]: primary DNS address 1.2.3.6
Jul 30 09:46:04 localhost pppd[13674]: secondary DNS address 1.2.3.7

(some details have been changed to protect the guilty <grin> )

Bill Unruh

2002-07-30, 4:25 am

Well, I do not like wvdial or kppp. It they work they are fine, it not
they usually leave you up the famous creek without a paddle.

I have no idea what error code 127 is, but what you need to do is to
enable pppd logging ( put the line
debug
into /etc/ppp/options, and put the line
daemon.*;local2.* /var/log/ppplog
into /etc/syslog.conf and then do
killall -1 syslogd
(remember the -1 or you will turn off all logging)

Now try running pppd and look at the output in /var/log/ppplog
It may give you some clues as to where the problems are. IF the modem
actually dials out to the remote system, then the problem usually is not
the modem.


"ASBJØRN OLAV NESHEIM" <aon@c2i.net> writes:

]I have a Rockwell modem (yes it's a winmodem), and I'm
]running the HSF driver from www.mbsi.ca/cnxtilndrw. Now, the modem
]seams to be running fine (though I suspect the winmodem is the
]trouble maker here), but when I try dialing up I get the exit code
]127 right after starting the pppd deamon (see exsact output below).
]I use ppp-2.4.1 (remake 3 for RH, though I'm actually on a slackware
]box).

]I've read the PPP-Howto, Linmodem Howto and the Conextangt+Rockwell
]Howto, but no luck there. I've also greped through the PPP-FAQ for
]exit code 127 and various other search words, but no luck there
]either. A quick google search didn't make me any wiser as well.

]This is the output from running WvDial:
]-----------------------------------------
] --> WvDial: Internet dialer version 1.41
] --> Initializing modem.
] --> Sending: ATZ
] ATZ
] OK
] --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0
] ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0
] OK
] --> Modem initialized.
] --> Sending: ATDT 150221312190
] --> Waiting for carrier.
] ATDT 150221312190
] CONNECT 115200
] --> Carrier detected. Waiting for prompt.
] ~[7f]}#@!}!}$} }8}"}&} }*} } }#}$@#}%}&^7[7f]}4}'}"}(}""}3~
] --> PPP negotiation detected.
] --> Starting pppd at Mon Jul 29 18:50:40 2002
] --> PPP daemon has died! (exit code = 127)
] --> Disconnecting at Mon Jul 29 18:50:40 2002
] --> Auto Reconnect will be attempted in 5 seconds
] --> pppd error! Look at files in /var/log for an explanation.
]--------------------------------------------
]And when I tried using Kppp I got the same error:
] PPP deamon has died! (exit code = 127).
]--------------------------------------------

]The pppd man page contains info on exit codes from 0-19, not 127. And a
]grep through /var/log for ppp didn't give me any valuable info.

]So if anyone can give me a clue as to where I could countinue my search
]or knows what exit code 127 means then please let me know.

]Thank you for your time - Rune Nesheim(r.nesheim.c2i.net).


Sponsored Links





Free Braindumps | MCSE braindumps software forum

Copyright 2003 - 2008 examnotes.net