Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!uwm.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!pipex!peernews.demon.co.uk!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail From: brian@awfulhak.demon.co.uk (Brian Somers) Newsgroups: comp.os.386bsd.questions Subject: Re: How to dial slip? Date: 31 Jan 1995 00:41:13 -0000 Organization: None Lines: 38 Message-ID: <3gk0v9$9a@awfulhak.demon.co.uk> References: <MARK.1368.2F1C885D@ardsley.business.uwo.ca> <3fjoc4$3eu@xanth.cs.odu.edu> <3gamtm$kh9@werple.mira.net.au> NNTP-Posting-Host: awfulhak.demon.co.uk X-Newsreader: TIN [version 1.2 PL2] Nick Langmaid (nick@werple.mira.net.au) wrote: : sturges@violet.cs.odu.edu (Jonathan Sturges) writes: : >Mark_Bramwell (MARK@ardsley.business.uwo.ca) wrote: : >: How does one dial for slip? : >: I have a slip account and will have to pass the username/password to the : >: terminal server. : >I'm sure there are ways to automate this, but I've never done it. : Take a look at the chat command. Redirect input and output to the : serial line in question. You can get slattach to run the chat : command autoatically whenever it detects that the line is down. : Make sure that the devices for the line are ttyd? and cua0? (see : /dev/MAKEDEV.) : Hope this helps, : Nick. An additional note :- when slattach runs the -u command (and -z command), stdin stdout and stderr are the port given to slattach. Things such as chat can then run nice & easily. Read the man page for chat, there are some nice examples. On the other hand, if you want to automate a kermit script things can be much nicer. You can do things such as retry BUSY lines etc. However, I can only get this to work using modems with a decent s25 register, one that will tell the modem to delay DTR transitions - giving you time to spawn slattach from the kermit script just be fore exiting so that slattach (which is hanging on open() (comcontrol dtrwait 0)) can raise DTR before your modem drops the line. Mail me if you want a demo script ! All the best. -- Brian <brian@awfulhak.demon.co.uk> Don't _EVER_ lose your sense of humour....