Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

PPPD dying with HangUp (SIGHUP) in /var/log/messages

1,418 views
Skip to first unread message

Greg Williams

unread,
Apr 14, 2001, 7:43:20 AM4/14/01
to
Hi guys,

I have a problem with RedHat 6.1.

This seems to happen quite a lot.

When dialling up to the Internet, it connects ok, sometimes after a redial
or retrain (don't worry about that, i'll try some modem strings or
something). Sometimes it drops out. The log (/var/log/messages) doesn't
give an termination signal, it says Hangup (SIGHUP).

This doesn't happen when i'm in windows (on the same machine)

The pppd version is 2.3.10-3

If this isn't enough info, could you tell me what extra info you require.

Thanks for reading,

Greg Williams

goo...@logiclabs.spam

(replace .spam with .net)


Dean Thompson

unread,
Apr 14, 2001, 8:14:02 AM4/14/01
to

Hi Greg,

> I have a problem with RedHat 6.1.
>
> This seems to happen quite a lot.
> When dialling up to the Internet, it connects ok, sometimes after a redial
> or retrain (don't worry about that, i'll try some modem strings or
> something). Sometimes it drops out. The log (/var/log/messages) doesn't
> give an termination signal, it says Hangup (SIGHUP).

How long is the period between the connection and drop out ?
Do you actually form a internet connection at all, or is it a case of never
seeming to be connected although the modems talk to one another ?
Are you actually sending a chat script with PPP to tell the remote end your
username and password (if necessarily), and does your /var/log/messages at all
report a successful connection with a IP address being allocated to you ?

See ya

Dean Thompson

--
+____________________________+____________________________________________+
| Dean Thompson | E-mail - Dean.T...@csse.monash.edu.au |
| Bach. Computing (Hons) | ICQ - 45191180 |
| PhD Student | Office - <Off-Campus> |
| School Comp.Sci & Soft.Eng | Phone - +61 3 9903 2787 (Gen. Office) |
| MONASH (Caulfield Campus) | Fax - +61 3 9903 1077 |
| Melbourne, Australia | |
+----------------------------+--------------------------------------------+

Lynn Morrison

unread,
Apr 14, 2001, 9:01:54 AM4/14/01
to
> When dialling up to the Internet, it connects ok, sometimes after a redial
> or retrain (don't worry about that, i'll try some modem strings or
> something). Sometimes it drops out. The log (/var/log/messages) doesn't
> give an termination signal, it says Hangup (SIGHUP).
>

Do you have an idle timeout set on that connection?

Lynn

Bill Unruh

unread,
Apr 14, 2001, 10:33:41 AM4/14/01
to
In <3ad83846@grissom> "Greg Williams" <goo...@logiclabs.spam> writes:

>When dialling up to the Internet, it connects ok, sometimes after a redial
>or retrain (don't worry about that, i'll try some modem strings or
>something). Sometimes it drops out. The log (/var/log/messages) doesn't
>give an termination signal, it says Hangup (SIGHUP).

That is the signal it gets from the serial port driver that the remote
side has hung up. If you have line noise, retraining etc, this is what
you would expect. Yes, try new modem strings, etc.
but I do not expect it to help.

Clifford Kite

unread,
Apr 14, 2001, 11:37:04 AM4/14/01
to
Greg Williams <goo...@logiclabs.spam> wrote:

> When dialling up to the Internet, it connects ok, sometimes after a redial
> or retrain (don't worry about that, i'll try some modem strings or
> something). Sometimes it drops out. The log (/var/log/messages) doesn't
> give an termination signal, it says Hangup (SIGHUP).

> This doesn't happen when i'm in windows (on the same machine)

This sounds like a difference in modem configuration, or speed
used between the computer and modem. Or, maybe, a device file
misconfiguration.

> The pppd version is 2.3.10-3

The is a RH modified pppd, which could add bugs.

--
Clifford Kite <kite@inet% port.com> Not a guru. (tm)

Greg Williams

unread,
Apr 14, 2001, 7:11:14 PM4/14/01
to
I don't have any idle timeout settings. It seems to drop out at random
times, even if i'm in the middle of downloading something. It seems to be
retraining a lot lately. This problem has only come up recently. I work
for the ISP so i'll see what I can do about the modem strings. Thanks for
the tip. I was thinking that another process was sending the SIGHUP. Would
I need to get a new modem or a new phone line? (I know that sounds like a
stupid question, coming from an ISP employee)

Greg Williams
goonerw@logiclabs,spam
(replace ,spam with .net)

"Bill Unruh" <un...@physics.ubc.ca> wrote in message
news:9b9n45$rv9$1...@nntp.itservices.ubc.ca...

Bill Unruh

unread,
Apr 17, 2001, 2:41:27 PM4/17/01
to
In <3ad8d912@grissom> "Greg Williams" <goo...@logiclabs.spam> writes:

]I don't have any idle timeout settings. It seems to drop out at random


]times, even if i'm in the middle of downloading something. It seems to be
]retraining a lot lately. This problem has only come up recently. I work
]for the ISP so i'll see what I can do about the modem strings. Thanks for
]the tip. I was thinking that another process was sending the SIGHUP. Would
]I need to get a new modem or a new phone line? (I know that sounds like a
]stupid question, coming from an ISP employee)

The phone company will blame your modem, the modem company the phone
line. Try a few modems. Make sure that the options to your modem are
appropriate. etc. Then complain to the phone company. about a noisy
line.

Joachim Aurbacher

unread,
Apr 20, 2001, 5:24:55 PM4/20/01
to
Hello,

i 've got a similar problem as Bill as well.
My system ist RH 6.2 with kernel 2.2.5-15 and pppd 2.3.7 with KDE (kppp
1.6.10).
When dialing up with kppp pppd dies unexpectedly without any obvious reason few
seconds after connect.
(/var/log/messages: Hangup (SIGHUP)) This ist the same with all providers.

I have tryed everything the kppp-help says (kppp and pppd setuid root, no lock,
/dev/ttyS0 instead of /dev/modem, wait 1 second, send ppp ) but it still does
not work.

I can although dial up to just one provider (ras.uni-hohenheim.de) with netcfg
but all the other providers don't work in this manner neither. Within
MS-Windows everything works well.

What can I still do? I would appreciate any help

Joachim Aurbacher

Dean Thompson

unread,
Apr 22, 2001, 6:22:56 AM4/22/01
to Joachim Aurbacher

Hi Joachim,

> i 've got a similar problem as Bill as well.
> My system ist RH 6.2 with kernel 2.2.5-15 and pppd 2.3.7 with KDE (kppp
> 1.6.10). When dialing up with kppp pppd dies unexpectedly without any
> obvious reason few seconds after connect.
> (/var/log/messages: Hangup (SIGHUP)) This ist the same with all providers.
>
> I have tryed everything the kppp-help says (kppp and pppd setuid root, no
> lock, /dev/ttyS0 instead of /dev/modem, wait 1 second, send ppp ) but it
> still does not work.
>
> I can although dial up to just one provider (ras.uni-hohenheim.de) with
> netcfg but all the other providers don't work in this manner neither.
> Within MS-Windows everything works well.

I would personally check your chat scripts to ensure that you are transmitting
the right information at the right point in time. You might also want to
check to see whether or not you are using the correct authentication method as
well.

Check in your logs and see whether or not you are actually forming a PPP
connection at all. If you aren't seeing an IP number being allocated to you,
then you should check to make sure that the right password and username are
being sent and that the right prompts are being answered.

0 new messages