• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1792
  • Last Modified:

SMIT and network printers

I am trying to setup a couple of Printers (Hp 5's with jet direct and tcp/ip).

go to the SMIT command in AIX and it says that the term type is incorrect please set term type, etc.  I am using a wyse term and I set the term to wyse default and still no go.

so my question is
can SMIT be run from a telnet session on a PC or does it have to be on a 3151 on the rs/6000?

2. a quick, precise way to configure AIX to use these printers, so I can address them in PICK?

thanks for the help.
B.
0
bckwheat
Asked:
bckwheat
  • 2
  • 2
1 Solution
 
nickjeffreyCommented:
SMIT can be run from a telnet session, but it does require a terminal type that will support ANSI-style graphics (that's how smit displays those pretty menus).

It sounds like your terminal type will not run with smit.  However, this could work:

Most terminals are vt100 compatible, so you should be able to set your terminal type to vt100 and successfully run smit.  Here's the procedure:

1) telnet into AIX box
2) type this command: export TERM=vt100
3) run smit

NOTE: I am assuming that you are using the Korn Shell (it's the default on AIX).  If you're using the C or Bourne shells, the syntax is slightly different.
0
 
bckwheatAuthor Commented:
I did as suggested and this is what i got.

I am sure it is looking for an IBM 3151 terminal.  which  I don't have.  All I am trying to do is set up a couple of hp printers with jetdirect cards using tcp/ip.

root's Password:
*******************************************************************************
*                                                                             *
*                                                                             *
*  Welcome to AIX Version 4.3!                                                *
*                                                                             *
*                                                                             *
*  Please see the README file in /usr/lpp/bos for information pertinent to    *
*  this release of the AIX Operating System.                                  *
*                                                                             *
*                                                                             *
*******************************************************************************
Last unsuccessful login: Tue Mar  4 16:09:00 PST 2003 on /dev/pts/2 from 192.64.
1.71
Last login: Tue Mar  4 16:14:59 PST 2003 on /dev/pts/4 from 192.64.1.239

# term=vt100
# smit

The environment variable TERM is currently set to a terminal type that does
not support the full screen display capabilities required for SMIT.
Set TERM to an appropriate terminal type or use another terminal.
#ksh: login::  not found.
0
 
bckwheatAuthor Commented:
I did as suggested and this is what i got.

I am sure it is looking for an IBM 3151 terminal.  which  I don't have.  All I am trying to do is set up a couple of hp printers with jetdirect cards using tcp/ip.

root's Password:
*******************************************************************************
*                                                                             *
*                                                                             *
*  Welcome to AIX Version 4.3!                                                *
*                                                                             *
*                                                                             *
*  Please see the README file in /usr/lpp/bos for information pertinent to    *
*  this release of the AIX Operating System.                                  *
*                                                                             *
*                                                                             *
*******************************************************************************
Last unsuccessful login: Tue Mar  4 16:09:00 PST 2003 on /dev/pts/2 from 192.64.
1.71
Last login: Tue Mar  4 16:14:59 PST 2003 on /dev/pts/4 from 192.64.1.239

# term=vt100
# smit

The environment variable TERM is currently set to a terminal type that does
not support the full screen display capabilities required for SMIT.
Set TERM to an appropriate terminal type or use another terminal.
#ksh: login::  not found.
0
 
nickjeffreyCommented:
If you're using the Korn shell, simply typing term=vt100 is not enough.  To begin with, the "TERM" environment variable should be uppercase, and you need to "export" the environment variable for the Korn shell to see it.  Type this instead:

export TERM=vt100
smit
 
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now