[H-GEN] Date: Tue, 28 Oct 1997 20:39:29 +1000

Christopher Biggs chris at stallion.oz.au
Tue Oct 28 16:52:54 EST 1997


John Boggon <John.B at mailbox.uq.edu.au> moved upon the face of the 'Net and spake thusly:

> Hi all
> 
> I seem to have got myself into trouble again !.
> 
> I have an external account at UQ and use Robert Brockway's excellent script
> to connect my machine to the Internet. So far so good. Telnet works, ftp
> works, I even got masquerading working so the windows machine didn't feel
> left out.
> 
> My  problem is the error strings returned by the script after it connects.
> The script reports the local and remote IP addresses ok but then prints an
> error message along the lines of "STTY : can't reset terminal" or something
> like that repeated about four times.. Sorry I can't be more specific

I had a problem like this once.

It sounds to me like you have something in your per-shell init file
(.bashrc, .kshrc or whatever's appropriate for your shell) that
expects to find a terminal.   When some shellscript (perhaps
your ip-up script) gets run it tries to source the shell init file
which fails because it contains inappropriate commands.

Anything that does terminal related stuff (eg. "stty erase ^H") should
be in your login-profile (.bash_profile or whatever) not your
per-shell init file.  

Chris.

--
| Christopher J.  Biggs | EMAIL: chris at stallion.oz.au (PGP and MIME OK)  |
| R&D Software Engineer | PHONE: +61 7 3270-4266  FAX: +61 7 3270-4245   |
| Stallion Technologies | Microsoft is not the Answer.                   |
\ Queensland, AUSTRALIA | Microsoft is the Question.  NO is the answer!  /

----------------------- HUMBUG General List --------------------------------
echo "unsubscribe general" | mail majordomo at humbug.org.au # To Unsubscribe



More information about the General mailing list