On Wed, 9 Aug 2000, Kurth Bemis wrote:
> in RH 6.2 i use redhats dial up config manager to set up my modems
> and such.... the first time i connect fine.... then after i disconnect...i
> can't connect again!!!!! it just sits there waiting for the modem...
Either you don't have pppd configured to restart the connection, or pppd
isn't realizing the connection has dropped.
When it happens, do a "ps aux | grep ppp", and/or check your log files. Is
pppd still running, or is it exiting?
If it has exited, then it thinks it should not be reconnecting. On Red Hat
systems, this is configured in the /etc/sysconfig/network-scripts/ifcfg-ppp0
file. Change or add the line
PERSIST="yes"
to that file, and restart the PPP connection.
If pppd is still running, then it hasn't caught on to the fact that your
modem has hung-up. Most likely, this means your modem is configured to always
keep the DCD (Data Carrier Detect) line high, even when it isn't connected.
The exact way to change this depends on your modem, but most Hayes-compatible
modems use the "&C1" command. This will be sent as part of the chat(8)
conversation in the /etc/sysconfig/network-scripts/chat-ppp0 file. Look for a
section like the following
'ABORT' 'Login incorrect'
'' 'ATZ'
'OK' 'ATDT 555-1212'
and change it to look like
'ABORT' 'Login incorrect'
'' 'ATZ'
'OK' 'AT&C1'
'OK' 'ATDT 555-1212'
Add the lines if you need to. Then restart the connection.
If this doesn't work, let me know, and we'll try something else.
--
Ben Scott <[EMAIL PROTECTED]>
Net Technologies, Inc. <http://www.ntisys.com>
Voice: (800)905-3049 x18 Fax: (978)499-7839
**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************