Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Oct 1995 11:12:38 +0500 (GMT+0500)
From:      "Serge A. Babkin" <babkin@hq.icb.chel.su>
To:        jkh@time.cdrom.com (Jordan K. Hubbard)
Cc:        msmith@atrad.adelaide.edu.au, hackers@freebsd.org, ache@freebsd.org
Subject:   Re: startslip isn't just broken - it's EVIL!
Message-ID:  <199510250612.LAA02274@hq.icb.chel.su>
In-Reply-To: <11667.814539479@time.cdrom.com> from "Jordan K. Hubbard" at Oct 24, 95 05:57:59 am

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> > > 
> > > > 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.. :-(
> > 
> > I got it working under 2.0. There were some strange problems but in
> > common it worked. I remember that chat does not understand the dial-up
> > string in the command line, it needs a file with it.
> 
> No, that's not the problem here - I have my chat script in a file and
> that very same chat script works just fine with chat if I *don't run
> it from slattach*.  When run from slattach, chat blows up when it
> first tries to talk to the port.  I don't know what's wrong, but
> slattach clearly isn't setting up things correctly before invoking the
> external script.  I tried for quite a few days to get this to work
> and finally gave up in disgust.

I remember one more thing. Slattach worked without -z (forced redial) 
and -u (unit command) flag but hanged if they were set set. Exactly the
working configuration was:

/etc/start_if.sl0:
------------------
slattach -chs 38400 -r /etc/dialcmd cuaa0

/etc/dialcmd:
-------------
chat -t 50 -f /etc/scr >/dev/cuaa0 </dev/cuaa0

/etc/scr:
---------
"" atdp123456 ogin: branch word: "" name: sl123 word: password

This script was made for a strange configuration with two rlogin-based
gateways on the way.

		Serge Babkin

! (babkin@hq.icb.chel.su)
! Headquarter of Joint Stock Commercial Bank "Chelindbank"
! Chelyabinsk, Russia

		Serge Babkin

! (babkin@hq.icb.chel.su)
! Headquarter of Joint Stock Commercial Bank "Chelindbank"
! Chelyabinsk, Russia



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