On Tue, 31 Mar 1998, Podushkin Sergey V. wrote:

> slattach isn't in RH distribution, so i forced to use one from old
> slackware.
> 
> May be some of my work is bad?
> What i must use instead of slattach under RH?
> How to get sl interface independing from the state of the leased line
> (i've use -l option!!!)?

SLIP is getting old now, its probably best to use PPP now.  There is a
Leased Line FAQ on sunsite.  I use the following script for one of my
leased lines:

#!/bin/sh
/usr/bin/sleep 30

while true
do
        if ! ( /sbin/ifconfig | grep $REMOTE > /dev/null )
        then
                # PPP Died!
                logger "Remote PPP died ; restarted"
                /usr/local/sbin/Pleased.sh &
        fi
        sleep 300
done

My Pleased.sh is:
#!/bin/sh
( /usr/sbin/pppd /dev/ttyS0 115200 crtscts $LOCAL:$REMOTE persist ) &

You also have to setup the options files etc in the /etc/ppp directory.
If you can't find the Leased-line FAQ just send me an email and i'll send
you a copy :)

Regards,
Chris

--
  Regards, From Chris.

  --==== SysOp of Logics BBS ====--        irc Nickname: |Fingers|
         [EMAIL PROTECTED]               Tel:  +44 (0) 1432 370535
        ---================---             Data: +44 (0) 1432 278319
      http://www.uk.logics.com/            Pager:+44 (0) 1523 459522
         or [EMAIL PROTECTED]

...Software is like sex. It's better when it's free...


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to