Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Oct 1995 09:39:43 +0300 (MSK)
From:      =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (aka Andrey A. Chernov, Black Mage) <ache@astral.msk.su>
To:        John-Mark Gurney <gurney_j@efn.org>, "Jordan K. Hubbard" <jkh@time.cdrom.com>
Cc:        hackers@FreeBSD.ORG, Michael Smith <msmith@atrad.adelaide.edu.au>
Subject:   Re: startslip isn't just broken - it's EVIL!
Message-ID:  <Jale8ZmC88@ache.dialup.demos.ru>
In-Reply-To: <Pine.NEB.3.91.951023230116.4783B-100000@nike.efn.org>; from John-Mark Gurney at Mon, 23 Oct 1995 23:03:32 -0700 (PDT)
References:  <Pine.NEB.3.91.951023230116.4783B-100000@nike.efn.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.NEB.3.91.951023230116.4783B-100000@nike.efn.org>
    John-Mark Gurney writes:

>On Mon, 23 Oct 1995, Jordan K. Hubbard wrote:

>> > Guys!  Use slattach and chat, and save yourselves the stress 8)
>> 
>> I've never managed to get that combo to work!  Chat just dies
>> immediately.. :-(

>if we need some example scripts I would be willing to submit mine...  I 
>found out that it is safest to use chat with a external script as it 
>eliminates the possiblity of a person seeing your password with "ps 
>axwww"...  I actually got it so slattach redials when busy or when my 
>provider didn't let me access certain lines (I hadn't payed)...  TTYL..

Well, here startslip example scripts (taken from -current):

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	sldown.sh
#	slip.sh
#	slup.sh
#
echo x - sldown.sh
sed 's/^X//' >sldown.sh << 'END-of-sldown.sh'
X#!/bin/sh
X/sbin/ifconfig $1 $2
X/sbin/route delete default
END-of-sldown.sh
echo x - slip.sh
sed 's/^X//' >slip.sh << 'END-of-slip.sh'
X#!/bin/sh
Xstartslip -b 57600 -U ./slup.sh -D ./sldown.sh \
X	-s atd<phone1> -s atd<phone2> -s atd<phone3> \
X	-h -t 60 -w 2 -W 20 /dev/cuaa1 <login> <password>
END-of-slip.sh
echo x - slup.sh
sed 's/^X//' >slup.sh << 'END-of-slup.sh'
X#!/bin/sh
Xmyname=<my.ip.address>
Xgateway=<gateway.ip.address>
Xnetmask=255.255.255.248
Xtune1="link0 -link2"    # force headers compression
Xtune2="mtu 296"         # for FreeBSD 1.x host
X
Xcase $LINE in
X	0) tune=$tune1;;        # 1st phone connected
X	1) tune=$tune2;;        # 2nd phone connected
X	*) tune=;;              # others
Xesac
X
X/sbin/ifconfig $1 $2 $tune
X/sbin/ifconfig $1 inet $myname $gateway netmask $netmask
X/sbin/route add default $gateway
END-of-slup.sh
exit

-- 
Andrey A. Chernov        : And I rest so composedly,  /Now, in my bed,
ache@astral.msk.su       : That any beholder  /Might fancy me dead -
http://dt.demos.su/~ache : Might start at beholding me,  /Thinking me dead.
RELCOM Team,FreeBSD Team :         E.A.Poe         From "For Annie" 1849



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