Mailing List
Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Installation - Getting started with Red Hat Linux
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 8.0 - Discussion of Red Hat Linux 8.0 (Psyche)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.1 - Discussion of Red Hat Linux 7.1 (Seawolf)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
pppd does not persist enough, gives up after 10 attempts

pppd does not persist enough, gives up after 10 attempts

2004-03-01       - By Rodolfo J. Paiz

 Back
Reply:     1     2     3     4     5  

Hi!

Hopefully someone has a clue-by-four with which to hit me on this one. I
have an RHL-9 box (Shrike) with all updates and ppp-2.4.1-10 installed.
This box is properly configured to dial out to my ISP on an ISDN line
(external modem via serial port), and works beautifully in all ways but
one: if pppd experiences 10 hang-ups, it exits and does not restart. Here
are the relevant files:

-- ---- ---- ---- ---- ---- ---- ------

### /etc/ppp/peers/terra

demand
persist
ttyS1 crtscts 115200
user 'rpaiz1@(protected) '
connect '/usr/sbin/chat -v -f /etc/ppp/peers/terra-chat '

### /etc/ppp/peers/terra-chat

TIMEOUT 5
ABORT '\nBUSY\r '
ABORT '\nNO ANSWER\r '
ABORT '\nRINGING\r\n\r\nRINGING\r '
' ' '\rAT '
'OK-+++\C-OK ' ATH
TIMEOUT 60
OK AT
OK ATB40E1\&H3\&J3Q0X5
OK ATDT4709999
CONNECT ' '

### /etc/rc.d/rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don 't
# want to do the full Sys V style init stuff.

pppd call terra
touch /var/lock/subsys/local

-- ---- ---- ---- ---- ---- ---- ------

As you can see, both the "demand " and "persist " options have been specified
and in fact work as advertised... up until pppd sees that 10th hangup.
Then, it 's gone.

Can anyone tell me how to instruct pppd in the fine art of redialing until
hell freezes over? I don 't want it to *ever* be off-line for more than the
2 seconds it takes to redial. And it 's disturbing to go away on business,
then not be able to connect back to the house because pppd got bored.

Thanks in advance for any help!


--
Rodolfo J. Paiz
rpaiz@(protected)
http://www.simpaticus.com


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list