[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: slink PPP hangup problem



Nikhil writes:
> I don't understand at all what you are trying to say. I was connected to
> the internet. And then when i kill -INT <pid of ppp> I get the error that
> the hangup chatscript failed....

Not the hangup chatscript: there is no such thing.  What is failing is your
'disconnect' script.  Somewhere you must be passing pppd the 'disconnect'
option, with an argument like "chat blah blah...".  The command in the
argument gets run after pppd has terminated the link, and in this instance
is garbled.

> When I use poff of this machine I can't get off the intenret instantly it
> takes a few minutes then puts some errors out to syslog (shown above), I
> was just wondering if anyone has nay idea how to fix this. Or what kind
> of problem this is... And once in a long while sometimes the modem won't
> hangup when i execute /usr/bin/poff and I am forced to reboot the box.

Sounds like the modem is either not responding to the hardware modem
control signals or they are for some reason not being sent.  Check the
modem configuration, and make sure that pppd is getting the 'modem' and
'crtscts' options.  If that doesn't work fix the disconnect script so that
it sends 'ATH' to the modem.  This disconnect line in
/etc/ppp/peers/provider will do so:

	disconnect "/usr/sbin/chat \'\' ATH"
-- 
John Hasler                This posting is in the public domain.
john@dhh.gt.org		   Do with it what you will.
Dancing Horse Hill         Make money from it if you can; I don't mind.
Elmwood, Wisconsin         Do not send email advertisements to this address.


Reply to: