ethernet connection between DOS and Linux

ethernet connection between DOS and Linux

Post by Perjan -The Nerd- Moo » Wed, 14 Sep 1994 09:16:01



Hello world!

I have a problem installing an ethernet connection between my DOS machine and
the Linux box. On the Dos machines, which are also in a novell network, I have
installed odipkt and tried to use CUTCP as well as TEL2305.

my NET.CFG looks like this:

Link Driver 3C505
        DMA  5
        PORT 300
        INT 9
        FRAME Ethernet_802.3
        FRAME Ethernet_II

NetWare DOS Requester
           FIRST NETWORK DRIVE = F
           USE DEFAULTS = OFF
           VLM = CONN.VLM
           VLM = IPXNCP.VLM
           VLM = TRAN.VLM
           VLM = SECURITY.VLM
        ;  VLM = NDS.VLM
           VLM = BIND.VLM
           VLM = NWP.VLM
           VLM = FIO.VLM
           VLM = GENERAL.VLM
           VLM = REDIR.VLM
           VLM = PRINT.VLM
           VLM = NETX.VLM
===============================================================================

the startnet part of my autoexec.bat:

SET NWLANGUAGE=ENGLISH
LH /L:2,9296 LSL
3C505.COM
LH /L:2,30576 IPXODI
LH /L:2,3440 ODIPKT 1
LH /L:2,76224 VLM

f:
login

===============================================================================

relevant part of config.tel:

#  Example host file for CUTCP/CUTE 2.2D and 2.2TN  REV -D
#  as well as Rutgers-Interm-1.0
#  07/07/93
#
#      Bugs to  cutcp-supp...@ftp-ns.rutgers.edu

myip=1.2.3.100                  #  (bootp)
                                #  myip types are:
                                #  bootp        - sends out a BOOTP request for your IP
                                #  rarp         - Uses reverse ARp to get your IP
                                #  xx.yy.zz.qq  - your IP address

vjc=no          # (no)
                                # set  vjc=yes if you're running slip and
                                # you want to use Van Jacobson TCP header
                                # compression

splayc=no       # (no) ack. splay compression w/ vjc.. don't
                                # use it, not standard, development option only

netmask=255.255.255.0  #  needed if not using BOOTP.
                       #  otherwise not needed because Bootp gets
                       #  your netmask for you

hardware=packet        # (packet)
                       # harware choices
                       #  3com         - 3com 3c501
                       #  3c523        - 3com 3c523
                       #  odi          - Novell's ODI stack
                       #  packet       - FTP packet Driver spec
                       # (currently only Ethernet and Slip class
                       # devices are supported)

interrupt=9            # hardware IRQ interrupt
address=0              # (0)
                       # base memory address or packet driver class
                       # if using packet driver (0 == default == ethernet)
                       # or class=6 for slip

ioaddr=0               # (0)
                       # I/O address  or packet int vector if using packet driver
                       # If = 0 and packet driver, telbin looks for first
                       # packet driver found between 60H and 7FH

noarpme=yes     # Don't arp for myself before running? (no)
                                # if yes, inhibits the initial arp request
                                # for this IP address. However, if yes, won't
                # warnyou if another user is using this IP
                                # address. For some token ring systems, you'll
                                # need noarpme=yes.

tek=yes         # (yes)
                                # yes to enable Tektronix emulation,
                                # otherwise No

ftp=no          # (yes)
                                # yes to allow incoming FTP sessions, no otherwise

rcp=no          # (no)
                                # Remote Copy, yes if you want to allow it
                # otherwise No.

domaintime=4                    # domain name lookup timeout (first retry)
domainretry=4                   # domain name max number of retries

        ## Also, the fewer suffixes in the domainslist
        ## the less time you will have to wait if you mis-type an entry.
        ## Finally, try not to use a suffix like   .  or .edu or .com this will
        ## waste a lot of time looking for a bogus host name if you mis-type an entry.

### Entries for tn3270 use ###
#map3270="c:\cutcp\map3270.tbl"       # you don't need this for version 2.2D
                                # and if don't want to change the default
                                # TN3270 keymaps then you don't need it either
                                # however, if you do want to change the
                                # default 3270 keymaps, create a key map file
                                # (see tn3270.tbl) for defaults, and point
                                # this parm to the file.

                                # NOTE: The format for the map3270 file has
                                # changed between versions TC-A and TC-B

tnmode=auto                     # tn3270 connection mode (auto)
                                # choices are
                                # auto - (default)
                                # flagged, notflagged, off
                                # see the manual (best to just use auto)
                                # also see machine specific flags variable

## ----------------------------------------------------------------- ##
##   BEGIN MACHINE SPECIFIC PARAMETERS...                            ##
## ----------------------------------------------------------------- ##

arptime=10                      # arp timeout in seconds
                                #

retrans=1                       # starting retransmit time out in ticks
                                #   1/18ths of sec MAX 100, min 1

mtu=1024                        # maximum transmit unit in bytes
                                #   outgoing packet size, MAX=1500

maxseg=1024                     # largest segment we can receive
                                #   whatever the hardware can take, MAX=4096
rwin=2048                       # most bytes we can receive without ACK
                                #   =TCP window size, MAX=4096

contime=20                      # timeout in seconds to try connection
                                #   before returning error to user

flags=0                         # OR the following values for override
                                # flags.. be careful. Flags are not
                                # copied from default, you must explicitly
                                # declare the flag values for each machine
                                # if desired. Flag values are in hex.!
                                #
                                # 8  - send transparent data to capture file
                      instead of tek screen
                                # 10 - always go into 3270 mode regardless of
                                #      tnmode
                                # 18 - do both of the above
                                # 400 - don't do binary mode when asked
                                # ie: flags=408 means, no binary and send trans
                                # data to capture file instead of tek screen.
                                # NOTE: DO NOT USE ANY OTHER VALUES THAN THOSE
                                # SHOWN ABOVE!

name=twilight
hostip=1.2.3.4

===============================================================================

I think on the DOS side of the connection everything works, but that's just
a guess.

On the Linux box I have a SLIP connection running, with ip nr 130.161.97.21
This is only a node address. I got no subnetwork assigned.

The local network I called 1.2.3.0. with 1.2.3.4 for the linux box and
1.2.3.100 for one of the dos machines.

My rc.net looks like this:

PATH=$PATH:/usr/net/bin
ifconfig lo 127.0.0.1 netmask 255.0.0.0 broadcast 127.255.255.255
route add 127.0.0.1
ifconfig eth0 1.2.3.4 netmask 255.255.255.0 broadcast 1.2.3.255
route add -net 1.2.3.0 gw 1.2.3.4
/usr/sbin/routed &
/usr/sbin/inetd &