Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Nov 1995 18:14:45 -0800
From:      "Jordan K. Hubbard" <jkh@time.cdrom.com>
To:        Nate Williams <nate@rocky.sri.MT.net>
Cc:        Michael Smith <msmith@atrad.adelaide.edu.au>, current@FreeBSD.ORG, jhs@FreeBSD.ORG
Subject:   Re: startslip 
Message-ID:  <25298.816488085@time.cdrom.com>
In-Reply-To: Your message of "Wed, 15 Nov 1995 18:29:20 MST." <199511160129.SAA07869@rocky.sri.MT.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> I *think* I might have a clue why it works for me and doesn't work other
> folks.  I didn't get it work until I setup a getty on my new box running
> on ttydX, where X is the same port (cuaaX) I was trying to use startslip
> on.  Why it works that way I don't know, but having the getty running is
> a nice backup solution.  If/when slattach dies on my box, I can dial in
> remotely and start it backup. :)

Just tried it.  No difference - the start script cycles over and over
and over, as usual.  Bleh.

Maybe someone can spot a bogon.

First, I have the following in /etc/start_if.sl0

#!/bin/sh
slattach -c -h -r /etc/ppp/slip-dial -s 115200 cuaa1

And /etc/ppp/slip-dial is as follows:

#!/bin/sh
# Slip dialer (that doesn't work)

PHONE=#1740
USER=jkh-slip
PASSWORD=haha,asifIwouldleavethathere
DEVICE=cuaa1

# Wait just a little for the line to settle down
sleep 10

(if chat -v ABORT "NO CARRIER" ABORT BUSY "" ATH OK ATD$PHONE CONNECT "" ogin: $
USER ssword: \\q$PASSWORD
then
    exit 0
else
    exit 1
fi
) < /dev/$DEVICE > /dev/$DEVICE

That's it.  Any ideas?

					Jordan

P.S.  Yes, the phone number is correct..  That's what a centrex ISDN
phone number looks like.. :)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?25298.816488085>