old-www/LDP/nag2/x-087-2-ipx.othertools.html

483 lines
7.6 KiB
HTML

<HTML
><HEAD
><TITLE
>Exploring Some of the Other IPX Tools</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.57"><LINK
REL="HOME"
TITLE="Linux Network Administrators Guide"
HREF="index.html"><LINK
REL="UP"
TITLE="IPX and the NCP Filesystem"
HREF="x-087-2-ipx.html"><LINK
REL="PREVIOUS"
TITLE="Mounting a Remote NetWare Volume"
HREF="x-087-2-ipx.ncpfs.client.html"><LINK
REL="NEXT"
TITLE="Printing to a NetWare Print Queue"
HREF="x-087-2-ipx.ncpfs.printing.html"></HEAD
><BODY
CLASS="SECT1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Linux Network Administrators Guide</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="x-087-2-ipx.ncpfs.client.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 15. IPX and the NCP Filesystem</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="x-087-2-ipx.ncpfs.printing.html"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="X-087-2-IPX.OTHERTOOLS"
>15.7. Exploring Some of the Other IPX Tools</A
></H1
><P
>The <TT
CLASS="FILENAME"
>ncpfs</TT
> package contains a number of useful
tools that we haven't described yet. Many of these tools emulate the
tools that are supplied with NetWare. We'll look at the most useful
ones in this section.</P
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="AEN12205"
>15.7.1. Server List</A
></H2
><P
>&#13;
The <B
CLASS="COMMAND"
>slist</B
> command lists all of the fileservers accessible
to the host. The information is actually retrieved from the nearest
IPX router. This command was probably originally intended to allow users to
see what fileservers were available to mount. But it has become useful as a
network diagnosis tool, allowing network admins to see where SAP information
is being propagated:</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="SCREEN"
>$ slist
NPPWR-31-CD01 23A91330 000000000001
V242X-14-F02 A3062DB0 000000000001
QITG_284ELI05_F4 78A20430 000000000001
QRWMA-04-F16 B2030D6A 000000000001
VWPDE-02-F08 35540430 000000000001
NMCS_33PARK08_F2 248B0530 000000000001
NCCRD-00-CD01 21790430 000000000001
NWGNG-F07 53171D02 000000000001
QCON_7TOMLI04_F7 72760630 000000000001
W639W-F04 D1014D0E 000000000001
QCON_481GYM0G_F1 77690130 000000000001
VITG_SOE-MAIL_F4R 33200C30 000000000001</PRE
></TD
></TR
></TABLE
><P
><B
CLASS="COMMAND"
>slist</B
> accepts no arguments. The output displays
the fileserver name, the IPX network address, and the host address.</P
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="AEN12218"
>15.7.2. Send Messages to NetWare Users</A
></H2
><P
>&#13;
NetWare supports a mechanism to send messages to logged-in users. The
<B
CLASS="COMMAND"
>nsend</B
> command implements this feature in Linux. You must
be logged in to the server to send messages, so you need to supply the
fileserver name and login details on the command line with the destination
user and the message to send:</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="SCREEN"
># <TT
CLASS="USERINPUT"
><B
>nsend -S vbrew_f1 -U gary -P j0yj0y supervisor
&#8220;Join me for a lager before we do the print queues!&#8221;</B
></TT
></PRE
></TD
></TR
></TABLE
><P
>Here a user with login name <TT
CLASS="LITERAL"
>gary</TT
> sends a tempting
invitation to the person using the <TT
CLASS="LITERAL"
>supervisor</TT
>
account on the <TT
CLASS="LITERAL"
>ALES_F1</TT
> fileserver. Our default
fileserver and login credentials will be used if we don't supply them.</P
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="AEN12234"
>15.7.3. Browsing and Manipulating Bindery Data</A
></H2
><P
>&#13;Each NetWare fileserver maintains a database of information about its
users and configuration. This database is called the
<I
CLASS="EMPHASIS"
>bindery</I
>. Linux supports a set of tools that allow
you to read it, and if you have supervisor permissions on the server, to set
and remove it. A summary of these tools is listed in
<A
HREF="x-087-2-ipx.othertools.html#X-087-2-CHIX-BINDERYTOOLS"
>Table 15-3</A
>.</P
><DIV
CLASS="TABLE"
><A
NAME="X-087-2-CHIX-BINDERYTOOLS"
></A
><P
><B
>Table 15-3. Linux Bindery Manipulation Tools</B
></P
><TABLE
BORDER="1"
CLASS="CALSTABLE"
><THEAD
><TR
><TH
WIDTH="1"
ALIGN="LEFT"
VALIGN="TOP"
>Command Name</TH
><TH
WIDTH="3"
ALIGN="LEFT"
VALIGN="TOP"
>Command Description</TH
></TR
></THEAD
><TBODY
><TR
><TD
WIDTH="1"
ALIGN="LEFT"
VALIGN="TOP"
><B
CLASS="COMMAND"
>nwfstime</B
></TD
><TD
WIDTH="3"
ALIGN="LEFT"
VALIGN="TOP"
><P
>Display or set a NetWare server's date and time</P
></TD
></TR
><TR
><TD
WIDTH="1"
ALIGN="LEFT"
VALIGN="TOP"
><B
CLASS="COMMAND"
>nwuserlist</B
></TD
><TD
WIDTH="3"
ALIGN="LEFT"
VALIGN="TOP"
><P
>List users logged in at a NetWare server</P
></TD
></TR
><TR
><TD
WIDTH="1"
ALIGN="LEFT"
VALIGN="TOP"
><B
CLASS="COMMAND"
>nwvolinfo</B
></TD
><TD
WIDTH="3"
ALIGN="LEFT"
VALIGN="TOP"
><P
>Display info about NetWare volumes</P
></TD
></TR
><TR
><TD
WIDTH="1"
ALIGN="LEFT"
VALIGN="TOP"
><B
CLASS="COMMAND"
>nwbocreate</B
></TD
><TD
WIDTH="3"
ALIGN="LEFT"
VALIGN="TOP"
><P
>Create a NetWare bindery object</P
></TD
></TR
><TR
><TD
WIDTH="1"
ALIGN="LEFT"
VALIGN="TOP"
><B
CLASS="COMMAND"
>nwbols</B
></TD
><TD
WIDTH="3"
ALIGN="LEFT"
VALIGN="TOP"
><P
>List NetWare bindery objects</P
></TD
></TR
><TR
><TD
WIDTH="1"
ALIGN="LEFT"
VALIGN="TOP"
><B
CLASS="COMMAND"
>nwboprops</B
></TD
><TD
WIDTH="3"
ALIGN="LEFT"
VALIGN="TOP"
><P
>List properties of a NetWare bindery object</P
></TD
></TR
><TR
><TD
WIDTH="1"
ALIGN="LEFT"
VALIGN="TOP"
><B
CLASS="COMMAND"
>nwborm</B
></TD
><TD
WIDTH="3"
ALIGN="LEFT"
VALIGN="TOP"
><P
>Remove a NetWare bindery object</P
></TD
></TR
><TR
><TD
WIDTH="1"
ALIGN="LEFT"
VALIGN="TOP"
><B
CLASS="COMMAND"
>nwbpcreate</B
></TD
><TD
WIDTH="3"
ALIGN="LEFT"
VALIGN="TOP"
><P
>Create a NetWare bindery property</P
></TD
></TR
><TR
><TD
WIDTH="1"
ALIGN="LEFT"
VALIGN="TOP"
><B
CLASS="COMMAND"
>nwbpvalues</B
></TD
><TD
WIDTH="3"
ALIGN="LEFT"
VALIGN="TOP"
><P
>Print a NetWare bindery property's contents</P
></TD
></TR
><TR
><TD
WIDTH="1"
ALIGN="LEFT"
VALIGN="TOP"
><B
CLASS="COMMAND"
>nwbpadd</B
></TD
><TD
WIDTH="3"
ALIGN="LEFT"
VALIGN="TOP"
><P
>Set the value of a NetWare bindery property</P
></TD
></TR
><TR
><TD
WIDTH="1"
ALIGN="LEFT"
VALIGN="TOP"
><B
CLASS="COMMAND"
>nwbprm</B
></TD
><TD
WIDTH="3"
ALIGN="LEFT"
VALIGN="TOP"
><P
>Remove a NetWare bindery property</P
></TD
></TR
></TBODY
></TABLE
></DIV
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="x-087-2-ipx.ncpfs.client.html"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="x-087-2-ipx.ncpfs.printing.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Mounting a Remote NetWare Volume</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="x-087-2-ipx.html"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Printing to a NetWare Print Queue</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>