Subject: Re: Slip dialup script
To: James Burton <james@Snark.apana.org.au>
From: Tom W. Cutter <twcutter@mowgli.wr.usgs.gov>
List: port-i386
Date: 06/28/1995 08:30:54
Hi,
Here is the script I use to dial in:
sleep 30 < /dev/tty01&
sleep 1
stty 57600 crtscts cs8 -parenb istrip </dev/tty01
#stty -a </dev/tty01
chat -v ABORT "NO CARRIER" ABORT BUSY "" ATZ\\d\\d OK AT\\d OK ATDT5551212\
CONNECT "" ogin slip >/dev/tty01 </dev/tty01
slattach -h -s 57600 /dev/tty01
# turn on ip compression and add interface
ifconfig sl0 130.118.106.38 130.118.106.37 netmask 255.255.255.0 link0 -trailers
route add default 130.118.106.37
the /etc/ttys looks like :
tty01 "/usr/libexec/getty std.57600" pc3 off softcar local
Your internet numbers will vary. :-)
>>>>> Matthias writes:
> Hi,
> I'm searching for a SLIP dialup script (and settings for /etc/ttys if
> necessary) which takes care of the carrier handling and is able to dial
> multiple lines. Thanks in advance
- Tom