Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: can someone edit my autoexec.bat and config.sys please  (Read 16830 times)

0 Members and 1 Guest are viewing this topic.

nitsudm

    Topic Starter


    Rookie

    Re: can someone edit my autoexec.bat and config.sys please
    « Reply #30 on: March 29, 2009, 10:10:26 PM »
    Ok, so I think I have most of this figured out here :-\ all but one line I think? I've loaded the driver for the ethernet card but when I get past the startnet.bat - (I think) and I receive an error that: "Lantastic Redirector (REDIR) must be installed". If I place the redir.exe somewhere in the autoexec.bat I get the error: "Netbios is not present". What should I do with the redirector? Here's the config.sys, autoexec.bat, startnet.bat,

    Here is the Config.sys and it all seems to work:

    Code: [Select]
    DEVICE=C:\DOS\HIMEM.SYS
    DEVICE=C:\DOS\EMM386.EXE NOEMS novcpi /i=e000-efff
    DEVICE=C:\DOS\SETVER.EXE
    device=c:\lantasti\protman.dos /I:C:\lantasti
    device=c:\lantasti\pcind.dos
    DOS=UMB,HIGH
    BUFFERS=40
    FILES=199
    LASTDRIVE=Z
    FCBS=4,0
    SHELL=C:\COMMAND.COM /P /E:1024
    STACKS=9,256
    [COMMON]

    And here's the Autoexec.bat:

    Code: [Select]
    @ECHO OFF
    LH /L:0;1,45488 /S c:\dos\SMARTDRV.EXE /X
    LH /L:1,13984 c:\dos\share
    PROMPT $P$G
    set clipper=f085
    PATH \;C:\DOS;
    SET COMSPEC=c:\COMMAND.COM
    LH /L:0;1,50304 /S COMMAND /E:1024 /C\LANTASTI\STARTNET.BAT
    C:\LANTASTI\REDIR.EXE
    path=d:\vss;%path%
    d:\lantasti\net clock \\master
    SET VSSTERM=2
    D:

    And here is the Startnet.bat:

    Code: [Select]
    @echo off
    rem LANtastic  Version 6.00  installed 95/12/00 14:45:58
    rem (for DOS)

    C:
    cd C:\LANTASTI

    SET LAN_CFG=C:\LANTASTI

    rem If LANtastic is disabled, skip everything.
    IF EXIST DISABLED GOTO :STARTNET_DONE

    @echo ===== Begin LANtastic configuration =====

    PATH C:\LANTASTI;%PATH%
    SET LAN_DIR=C:\LANTASTI.NET

    LOADHIGH AI-NDIS BIND_TO=PCIND_NIF
    AILANBIO @STARTNET.CFG

    REDIR MASTER @STARTNET.CFG

    IF EXIST NOSHARE GOTO :NOSHARE
    SERVER C:\LANTASTI.NET @STARTNET.CFG
    NET LOGIN \\MASTER
    GOTO :CONTINUE

    :NOSHARE
    @echo LANtastic server was installed but turned off.

    :CONTINUE

    rem If CONNECT.BAT exists, run it to set up connections.
    IF EXIST CONNECT.BAT GOTO :CONNECT

    rem Otherwise set up connections specified during install.
    net use d: \\master\c-drive
    NET USE LPT1: \\MASTER\@PRINTER
    NET LPT TIMEOUT 10
    GOTO :CONNECT_DONE

    :CONNECT
    @echo Setting up LANtastic connections from CONNECT.BAT
    rem Build CONNECT.BAT like this: "NET SHOW/BATCH > C:\LANTASTI\CONNECT.BAT"
    rem   (or run the batch file SETNET.BAT)
    call CONNECT.BAT

    :CONNECT_DONE
    NET POSTBOX

    @echo ===== End LANtastic configuration =====

    :STARTNET_DONE
    cd \

    And when I boot up I F8 and do it line by line and I get this below:

    Code: [Select]
    Starting MS-Dos...

    MS-DOS will prompt you to confirm each Config.sys command.
    DOS=UMB,HIGH [Y,N]?Y
    DEVICE=C:\DOS\HIMEM.SYS [Y,N]?Y

    HIMEM is testing extended memory...done.
    DEVICE=C:\DOS\EMM386.EXE NOEMS NOVCPI /I=E000-EFFF [Y,N]?Y
    DEVICE=C:\DOS\SETVER.EXE [Y,N]?Y
    DEVICE=C:\LANTASTI\PROTMAN.DOS /I:C:\LANTASTI [Y,N]?Y

    MS DOS LAN Manager Protocol Manager v2.0
    DEVICE=C:LANTASTI\PCIND.DOS [Y,N]?Y
    Loading PCIND.DOS..........
    RTL8029 driver (V5.0) is installed

    BUFFERS=40 [Y,N]?Y
    FLIES=199 [Y,N]?Y
    LASTDRIVE=Z [Y,N]?Y
    FCBS=4,0 [Y,N]?Y
    SHELL=C:\COMMAND.COM /P /E:1024 [Y,N]?Y
    STACKS=9,256 [Y,N]?Y

    Process AUTOEXEC.BAT [Y,N]?Y
    ECHO OFF [Y,N]?Y
    LH /L:0;1,45488 /S c:\dos\SMARTDRV.EXE /X [Y,N]?Y
    LH /L:1,13984 c:\dos\share [Y,N]?Y
    PROMPT $P$G [Y,N]?Y
    set clipper=f085 [Y,N]?Y
    PATH \;C:\DOS; [Y,N]?Y
    SET COMSPEC=c:\COMMAND.COM [Y,N]?Y
    LH /L:0;1,50304 /S COMMAND /E:1024 /C\LANTASTI\STARTNET.BAT [Y,N]?Y
    C:\LANTASTI\REDIR.EXE [Y,N]?Y
    LANtastic (R) Redirector V6.00/AI - (C) Copyright 1994 ARTISOFT Inc.
    Serial Number FCA-122234 - 1  node license.

    ERROR: NETBIOS is not present
    path=d:\vss;\;D:\DOS; [Y,N]?Y
    d:\lantasti\net clock \\master [Y,N]?Y

    ERROR: LANtastic (R) Redirector (REDIR) must be installed
    SET VSSTERM=2 [Y,N]?Y
    D: [Y,N]?Y
    D:\>


    Can any one see what is wrong here? I want this computer (Acually the D: drive) to be shared by two terminals and I want this computer to be named MASTER. I don't understand the "redir" or the netbios part of this. Sorry this is so long but I feel like i'm really close. Thanks a lot
    « Last Edit: March 29, 2009, 10:20:53 PM by nitsudm »

    nitsudm

      Topic Starter


      Rookie

      Re: can someone edit my autoexec.bat and config.sys please
      « Reply #31 on: March 30, 2009, 10:18:20 AM »
      Anyone have any information on the Netbios setup in ms-dos 6.22? as above? :)

      Also on line 10 of the autoexec.bat I have:

      Code: [Select]
      path=d:\vss;%path%
      and when that runs in dos prompt it turns into:

      Code: [Select]
      path=d:\vss;\;D:\DOS;
      why does it do that?
      « Last Edit: March 30, 2009, 04:01:50 PM by nitsudm »