old-www/HOWTO/IP-Masquerade-HOWTO/configuring-dos.html

264 lines
4.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML
><HEAD
><TITLE
>Configuring DOS using NCSA Telnet package</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="Linux IP Masquerade HOWTO"
HREF="index.html"><LINK
REL="UP"
TITLE="Configuring the other internal to-be MASQed machines "
HREF="configuring-clients.html"><LINK
REL="PREVIOUS"
TITLE="Configuring UNIX Based Systems"
HREF="configuring-unix.html"><LINK
REL="NEXT"
TITLE="Configuring MacOS Based System Running MacTCP"
HREF="configuring-mactcp.html"></HEAD
><BODY
CLASS="SECT1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Linux IP Masquerade HOWTO</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="configuring-unix.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 4. Configuring the other internal to-be MASQed machines</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="configuring-mactcp.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="CONFIGURING-DOS"
></A
>4.5. Configuring DOS using NCSA Telnet package</H1
><P
>&#13;<P
></P
><OL
TYPE="1"
><LI
><P
>If you haven't installed your network card, do so now. Descriptions to
perform this task is beyond the scope of this document.</P
></LI
><LI
><P
>Load the appropriate packet driver. For example: an NE2000 Ethernet card set
for I/O port 300 and IRQ 10, would need to be issued
<TT
CLASS="LITERAL"
>nwpd 0x60 10 0x300</TT
> </P
></LI
><LI
><P
>Make a new directory, and then unpack the NCSA Telnet package:
<TT
CLASS="LITERAL"
>pkunzip tel2308b.zip</TT
></P
></LI
><LI
><P
>Use a text editor to open the <TT
CLASS="LITERAL"
>config.tel</TT
> file</P
></LI
><LI
><P
>Set <TT
CLASS="LITERAL"
>myip=192.168.0.x</TT
> (1 &#60; x &#60; 255), and
netmask=255.255.255.0</P
></LI
><LI
><P
>In this example, you should set <TT
CLASS="LITERAL"
>hardware=packet, interrupt=10,
ioaddr=60</TT
> </P
></LI
><LI
><P
>You should have at least one individual machine specified as the gateway,
i.e. the Linux host:</P
><P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
> name=default
host=yourlinuxhostname
hostip=192.168.0.1
gateway=1</PRE
></FONT
></TD
></TR
></TABLE
></P
></LI
><LI
><P
>Have another specified as a domain name service: </P
><P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
> name=dns.domain.com ; hostip=123.123.123.123; nameserver=1</PRE
></FONT
></TD
></TR
></TABLE
></P
><P
>Note: substitute the appropriate information about the DNS according what your
Linux host uses</P
></LI
><LI
><P
>Save your <TT
CLASS="LITERAL"
>config.tel</TT
> file</P
></LI
><LI
><P
>As an initial test, <TT
CLASS="LITERAL"
>ping</TT
> the Linux MASQ server to test the
network connection: <TT
CLASS="LITERAL"
>ping 192.168.0.1</TT
> If you don't receive
any replies, please verify your network configuration.</P
></LI
></OL
>&#13;</P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="configuring-unix.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="configuring-mactcp.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Configuring UNIX Based Systems</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="configuring-clients.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Configuring MacOS Based System Running MacTCP</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>