FreeDOS Networking
Introduzione
Nella seguente guida si farà riferimento a FreeDOS, un sistema operativo opensource 100% compatibile con MS-DOS.
Come hardware è stata utilizzata la macchina virtuale VirtualBox.
File Immagine
Potrà capitare che un programma di installazione vi chieda di caricare un floppy con i driver della scheda di rete. Nel caso create un immagine, montatela, copiateci i file necessari, smontatela. Così sarà poi possibile utilizzarla con Virtualbox.
$ mkfs.msdos -C floppyDOS.img 1440 $ sudo mount -o loop myfloppy.img /media/floppy/ $ sudo cp "file da copiare" /media/floppy
Lo stesso trucco può essere sfruttato per creare una ISO da montare come CD-ROM
$ mkisofs -o cdrom.iso [path]/directory_con_i_file_da_copiare/
Networking
Esistono almeno 3 modalità per collegare un sistema DOS alla rete:
- Applicazioni TCP/IP: packet driver e configurazione servizi standard come ftp, http, telnet, ssh o NFS in stile "UNIX".
- Microsoft Network: driver NDIS associato ai protocolli NetBEUI e/o TCP-IP, permette di condividere cartelle e stampanti in una rete Windows (o SAMBA).
- Novell NetWare: utilizza driver ODI ed i protocolli TCP-IP e/o IPX, sviluppato per collegare fra loro sistemi DOS e NetWare.
UNIX-way
Questo metodo si avvale di driver di scheda di rete chiamati "Packet Driver", la scheda di rete predefinita di VirtualBox è una AMD PCnet Fast III (Am79C973) ed è reperibile a questo indirizzo: PCnetFast. Di seguito una lista completa di altri driver.
Scaricate il pacchetto, scompattatelo ed eseguitelo. Affinché sia caricato in automatico ad ogni riavvio si consiglia di aggiungere la seguente riga all'AUTOEXEC.BAT
LH PCNTPK INT=0x60
mTCP
Scaricate e scompattate mTCP
mTCP utilizza un file di configurazione per assegnare un IP alla macchina
set MTCPCFG=C:\MTCP\ETH.CFG
Nel mio caso il file era eth.cfg e si trovava nella directory c:\mtcp\.
Anche questo comando può essere aggiunto all'AUTOEXEC.BAT
Un esempio di file di configurazione:
--- ETH.CFG --- PACKETINT 0x60 IPADDR 192.168.1.50 NETMASK 255.255.255.0 GATEWAY 192.168.1.1 NAMESERVER 192.168.1.1 MTU 1500
Se avete un server DHCP sulla vostra rete e non volete usare un IP statico è possibile usare una configurazione di questo tipo:
--- ETH.CFG --- PACKETINT 0x60 HOSTNAME lucados
dopodiché eseguire C:\MTCP\DHCP.EXE
mTCP fornisce le seguenti applicazioni:
- dhcp.exe -- DHCP client
- dnstest.exe -- DNS resolver
- ftp.exe -- FTP client
- ftpsrv.exe -- FTP server
- htget.exe -- programma per scaricare file dal web
- httpserv -- HTTP server
- ircjr.exe -- IRC client
- nc.exe -- Netcat utility
- ping.exe -- Ping utility
- pkttool -- packet sniffer and diagnostic tool per packet drivers
- telnet.exe -- Telnet client
- sntp.exe -- NTP (Network Time Protocol) client
NOS-KA9Q
NOS è un software, nato per soddisfare le esigenze dei radioamatori (TCP/IP over Radio), per fornire funzionalità di rete a DOS utilizzando il protocollo IPv4 ed i packet driver. La sigla KA9Q deriva dal nome dell'autore originale, Phil Karn. Possiede un sistema operativo interno multitasking, per questo può funzionare contemporaneamente da client, server e commutatore di pacchetto per i protocolli TCP\IP, NET/ROM e AX.25. Può fornire connettività PPP attraverso la porta seriale del modem, funzioni di instradamento router-gatway ed ha un server ftp integrato.
Nella directory utilizzata del sistema NOS andrà collocato il suo file di configurazione AUTOEXEC.NET
in cui sarà possibile precaricare i comandi da eseguire subito dopo la sua esecuzione attraverso il comando NET.EXE
.
Routing
Supponendo di avere due schede di rete compatibili NE2000 e che queste utilizzino rispettivamente IRQ 10, I/O 280 e IRQ 11, I/O 300, la configurazione del driver di pacchetto potrebbe essere quella seguente:
NE2000.COM 0x60 0x0a 0x280 NE2000.COM 0x61 0x0b 0x300
Supponendo che queste due schede servano a connettere le reti 192.168.1.* e 192.168.2.*, e supponendo anche che l'instradamento predefinito passi per il router 192.168.1.254, il file di configurazione di NOS potrebbe contenere in particolare le righe seguenti:
# Configurazione delle interfacce di rete. attach packet 0x60 ethernet0 8 1500 attach packet 0x61 ethernet1 8 1500
# Definizione degli indirizzi IP. ifconfig ethernet0 ipaddress 192.168.1.10 ifconfig ethernet0 netmask 255.255.255.0 ifconfig ethernet1 ipaddress 192.168.2.10 ifconfig ethernet1 netmask 255.255.255.0
# Instradamento. route add 192.168.1.0/24 ethernet0 route add 192.168.2.0/24 ethernet1 route add default ethernet0 192.168.1.254
Server ftp
Oltre ad eseguire il comando start ftp
occorre predisporre un file con i permessi per gli utenti: ftpusers. Andrà collocato nella stessa directory del servizio NOS. Il file deve contenere delle righe scomposte in quattro campi separati da uno o più spazi col seguente schema: utente password percorso permessi
tizio pswtizio \home\tizio 7 caio pswcaio \home\caio 7 sempronio pswsempronio \progetto 3 ftp * \pub 1 anonymous * \pub 1
Gli utenti tizio e caio hanno una loro directory personale in cui possono fare quello che vogliono; l'utente sempronio partecipa a un lavoro che si trova nella directory \PROGETTO\ e lì ha la possibilità di immettere file, senza cancellare o sovrascrivere quelli presenti. Infine, gli utenti ftp e anonymous accedono con una parola d'ordine qualunque alla directory \PUB\, con il solo permesso di lettura.
Microsoft (SMB)
NB: MS Network Client 3.0 richiede 230 KByte dei 640K della memoria convenzionale DOS, ciò potrebbe rendere il sistema instabile.
SMB (a differenza del TCP/IP) è un protocollo che negli anni ha subito aggiornamenti e modifiche, in pratica esistono molti "dialetti" non completamente intellegibili. Assicuratevi che il PC Windows che si dovrà collegare alla macchina DOS abbia attivato il protocollo SMB v1.0.
Prerequisiti
- MS Client 3.0 (1995) (3 file autoestraenti DSK3-1.EXE, DSK3-2.EXE, WG1049.EXE)
- Aggiornamenti NETSHAR.EXE,
Installazione
Creare una directory dove eseguire i file DSK3-1.EXE e DSK3-2.EXE, una volta scompattati lanciate il setup.exe.
Copiate in una directory temporanea anche il file WG1049.EXE, eseguitelo e spostatene il contenuto in C:\NET (precedentemente creata dal setup.exe del DSK3), si tratta di un aggiornamento.
Spostate in C:\NET anche il file NETSHAR.EXE ed il driver della scheda di rete pcntnd.dos.
Configurazione Client
- FreeDOS utilizza il file configurazione
C:\FDCONFIG.SYS
invece delCONFIG.SYS
dell'MS DOS, per cui dovremo inserirci manualmente la seguente riga
DEVICEHIGH=C:\NET\IFSHLP.SYS
- Per inizializzare la rete all'avvio modificare il file
AUTOEXEC.BAT
aggiungendo le seguenti righe:
LH C:\NET\NET.EXE INITIALIZE C:\NET\NETBIND.COM LH C:\NET\UMB.COM LH C:\NET\TCPTSR.EXE LH C:\NET\TINYRFC.EXE LH C:\NET\NMTSR.EXE C:\NET\EMSBFR.EXE
- Se si usa un IP dinamico si può saltare questo passaggio:
- Configurazione di un IP statico:
- Aggiornare il file
C:\NET\PROTOCOL.INI
con l'indirizzo di rete statico:
- Aggiornare il file
[TCPIP] ... DefaultGateway0=0 0 0 0 SubNetMask0=255 0 0 0 IPAddress0=0 0 0 0 DisableDHCP=1 ...
Gli indirizzi IP usano lo spazio, al posto del punto, come separatore.
Configurazione server
Modificare il file C:\net\system.ini
[network] filesharing=yes printsharing=yes autostart=basic,server [network_drivers] netcard=pcntnd.dos
Aggiungere la seguente linea alla fine del file C:\config.sys
install=C:\share.exe
Al successivo reboot il sistema chiederà di inserire password ed username per la condivisione della cartella.
For example, to share drive C: as \\DOS\drivec and give full access: net share drivec=C:\ /FULL
Comandi
- Lista dei computer connessi in rete
net view
- Montare una directory condivisa:
net use X: \\SERVER\SHARENAME
- Condividere la cartella
C:\condivisa
net share drivec=C:\condivisa /FULL
- Rimuovere la cartella dalla condivisione
net share drivec /d
FreeDOS boot disk MS-Client e MS-Server, USB/CDROM/NTFS/LPD
Novell NetWare
Per utilizzare i tool NetWare su DOS virtualizzato tramite Virtualbox occorrerà scaricare i driver ODI per la scheda di rete PCnet-FAST III: PCNTNW.COM
Altre programmi potenzialmente utili se usando hardware reale non doveste trovare il driver ODI per la vostra scheda di rete:
DIS_PKT9.DOS Trasforma i driver NDIS in packet driver.
ODIPKT.COM Trasforma i driver ODI driver in packet driver.
VLM
NetWare Client per DOS workstation v1.21
* Versione DOS/Win3X a 16-bit, IPX
Create una nuova directory (es. NOVFILES), copiateci i file scaricati e spacchettateli al suo interno. Se usate hardware reale sarà possibile scompattare gli archivi autoestraenti direttamente su floppy nel seguente modo:
C:\NOVFILES> VLMKT1 A: C:\NOVFILES> VLMKT2 A: C:\NOVFILES> VLMKT3 A: C:\NOVFILES> VLMKT4 A: C:\NOVFILES> VLMKT5 A: C:\NOVFILES> TCP16 A:
Installate il client nella directory C:\NWCLIENT ed il tcp16.exe in C:\TCP. Per comodità, si suggerisce di usare il seguente script di avvio. Nell'esempio è stato utilizzato il driver per schede di rete NE2000.
C:\NWCLIENT\startnet.bat
LH C:\NWCLIENT\LSL.COM LH C:\NWCLIENT\NE2000.COM LH C:\NWCLIENT\IPXODI.COM LH C:\TCP\tcpip.exe LH C:\NWCLIENT\VLM.EXE
A questo punto andiamo a creare il file di configurazione della rete
C:\NWCLIENT\net.cfg
Link Driver NE2000 Protocol IPX 0 ETHERNET_802.3 Frame ETHERNET_802.3 Frame Ethernet_II FRAME Ethernet_802.2
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
Link Support Buffers 8 1500 MemPool 4096
Protocol TCPIP PATH SCRIPT C:\NET\SCRIPT PATH PROFILE C:\NET\PROFILE PATH LWP_CFG C:\NET\HSTACC PATH TCP_CFG C:\NET\TCP ip_address 192.168.0.xxx ip_router 192.168.0.1
Inserire nel campo "ip_address" l'indirizzo IP che vogliamo dare alla macchina e nel campo "ip_router" l'indirizzo del gateway.
Infine creare il file per la configurazione del server DNS
C:\bin\resolv.cfg
SEARCH DNS HOSTS SEQUENTIAL NAMESERVER 1.1.1.1 NAMESERVER 8.8.8.8
FreeDOS boot disk Client 16-bit IPX, pkt driver, USB/CDROM/VC/LFN/, LPD Print Server, Ping
NLM
NetWare Client 5 per DOS workstation
* Versione DOS/Win3X a 32-bit, IP/IPX
NB: NetWare/IP non supporta più di una scheda di rete per PC
Per prima cosa, se non è già stato fatto, modificare il file CONFIG.SYS
per caricare la HIMEM
DEVICE=A:\HIMEM.SYS
Scompattare il Client32 in una directory vuota es. C:\NOVELL:
C:\NOVELL\dw271e.exe
Installare il Client e seguire le istruzioni
C:\NOVELL\INSTALL.EXE
Disco di Boot FreeDOS con Client NetWare 16/32, IP/IPX, CDROM, USB support, TinyHost
Netware Lite
Si tratta di un programma che permette la realizzazione di una rete peer-to-peer capace di gestire fino a 25 computer, utilizza i driver ODI e garantisce un sopporto completo alle reti Novell Netware. ATTENZIONE: Si possono riscontrare problemi con driver recenti che richiedono versioni più vecchie di LSL.COM (Link Support Layer).
Configurazione di Netware Lite
INTRODUCTION
NetWare Lite is a peer-to-peer network that enables users to share printers and disk drives. To have a better understanding of NetWare Lite itself, many users need to learn some new network concepts and terminology. This document is designed to help make this learning process easier.
LOADING THE NETWORK
NetWare Lite is a DOS based network. In other words, it relies on DOS to communicate with your computer hardware and software (as opposed to NetWare 2.x and 3.x that do not use DOS to perform these functions). NetWare Lite is made up of several terminate-and-stay resident programs (TSRs) that load themselves into memory. These programs can be divided into two general categories--those that deal with the network board and those that make up NetWare Lite.
Network Boards:
LSL <DOS ODI Driver> (Example: TRXNET.COM) IPXODI A
NetWare Lite:
SHARE (DOS Program) SERVER CLIENT
These programs are normally executed from a batch file called STARTNET.BAT.
STARTNET.BAT
When NetWare Lite is installed, a file called STARTNET.BAT is created. STARTNET.BAT loads the network software into memory by running certain programs one at a time. If a machine is setup to be both a server and a client, STARTNET.BAT will look like the following:
LSL <DOS ODI Driver> (Example: NE2000) IPXODI A SHARE SERVER CLIENT
Note: All of these files, with the exception of SERVER.EXE, can be loaded into upper memory.
These files can be run from a batch file or from the command line. Some people even add these commands into their AUTOEXEC.BAT. This will work; however, Novell recommends that you use a separate batch file (such as STARTNET.BAT) to run these programs. When the network programs are loaded from a separate batch file, problems are easier to troubleshoot. STARTNET can be called from your AUTOEXEC.BAT by inserting the following command into your AUTOEXEC.BAT file (usually near or at the end):
call startnet
LSL, the DOS ODI driver, and IPXODI are programs that enable the computer to interface with the network board.
Note: When you load IPXODI, you will do so with an A parameter (IPXODI A). This parameter causes the program to load itself without some of the overhead that is unnecessary for NetWare Lite to run, thus saving memory.
SHARE.EXE is a program that enables file sharing. Consequently, it must be loaded on servers (because they are likely to have files that other clients are trying to access concurrently).
SERVER.EXE must be loaded on each machine that has network resources (such as printers and disk drives) that need to be shared with other clients.
CLIENT.EXE must be loaded on each machine that will need to access network resources.
Example:
If a user wants to use COMPUTER-1 to print to a printer on COMPUTER-2, then COMPUTER-1 must have CLIENT.EXE loaded; and COMPUTER-2 must have SERVER.EXE loaded.
Likewise, if a user at COMPUTER-1 wants to access the hard disk located on COMPUTER-2, then COMPUTER-1 must have CLIENT.EXE loaded; and COMPUTER-2 must have SERVER.EXE loaded.
If a computer needs to have access to its own printer and SERVER.EXE has been loaded, then the computer will need to load CLIENT and capture a port because the printer has become a network printer.
USERS AND LOGGING IN
The supervisor can log in to the network by typing:
NET LOGIN SUPERVISOR
NetWare Lite allows network administrators to place limits on network access through passwords and directory access rights. The supervisor must create users so that individuals will be recognized by the network--then those users will be able to log in when they need network access.
Users can be added to the network by doing the following procedure:
1. Load the network (as explained above). 2. Type NET LOGIN SUPERVISOR 3. If requested, enter a password. 4. Type NET 5. Select "Supervise the Network." 6. Select "Users." 7. Press <Insert>. 8. Enter <username>. 9. Enter any information in about the user. For example, you can issue the user a password or give him supervisor privileges.
Now, a user can log in when desired from any machine.
NETWORK RESOURCES
Network resources are peripherals like printers, disk drives, and CD-ROMs that are made available to all users on the network. Local printers become network printers, and disk drives and CD-ROMs become network directories.
Novell suggest network directories and printers be given descriptive names.
Good names for network directories might be BORLANDC, WORDPERFECT, GAMES, GIFS, or PUBLIC.
Good names for network printers might be LASERJET-II, EPSON-DOT, or APPLE-LAS.
Names that might not be good are CDRIVE, PRINTER1, and PRINTER2. These names provide no indication of what applications or what kinds of printers are being made available.
Notice that during installation, NetWare Lite creates a CDRIVE network directory for you. When you become familiar with the product, this resource ought to be given a more descriptive name.
NETWORK DIRECTORIES
The first type of network resource that a NetWare Lite administrator can create is a network directory. These directories need to be created so that individuals can gain access to other users' hard drives. Network directories also give the network administrator power to regulate network access. Users can only access network directories that the network administrator gives them access to.
Create a network directory by doing the following steps:
1. Load the network (as explained above). 2. Type NET LOGIN SUPERVISOR 3. Enter a password if requested. 4. Type NET 5. Select "Supervise the Network." 6. Select "Network Directories." 7. Press <Insert>. 8. Select the server where the actual directory resides. 9. Type <directory name> (example: WP). 10. Type in the actual directory path (example: C:\WP51).
Assign rights by doing the following:
In the same Network Directories screen, you can change "default access rights" and "users with nondefault rights." Refer to the NetWare Lite manual for instructions on how to do this.
A user cannot access another user's machine unless he maps a drive letter to a network directory that has been set up. The following section explains mapping:
MAPPING
Each computer recognizes a certain number of disk drives. Normally, a machine will have two floppy drives (A: and B:) and one hard drive (C:). NetWare Lite communicates to DOS and your machine that there are more drives on your machine than these three. Mapping a drive letter takes unused DOS drive letters and assigns them to network directories so that users are able to access the directories. This can be done both through the NET utility (by typing NET) and through the NET MAP command.
To map a drive letter using the NET utility, do the following:
1) Type NET at the command line. 2) Select "Map drive letters." 3) Select the drive letter you wish to map (such as G:). 4) Select the network directory to which you wish to map.
To map a drive letter to a network directory from the command line, enter the following:
NET MAP <drive letter> <network directory>
Example:
After setting up a WORDPERFECT network directory, a user might enter the following command:
NET MAP G: WORDPERFECT
If the network directory WORDPERFECT is physically located on SERVER-1 in C:\WP51, then whenever the user goes to G: (assuming G: has been mapped to WORDPERFECT), he will see the contents of C:\WP51 on SERVER-3. The user will not be able to access any other directories (other than subdirectories underneath C:\WP51) using G:.
If SERVER-1 has the following directory structure and a user has mapped G: to C:\WP51, then that user will be able to access both the \USERS and the \DATA subdirectories. However, he will not be able to access the \BORLANDC directory.
C:\ |--WP51 | |--USERS | |--DATA | |--BORLANDC
LASTDRIVE
The LASTDRIVE= command in your CONFIG.SYS reserves extra DOS drive letters for NetWare Lite's use. For example, if you included the statement "LASTDRIVE=M" in your CONFIG.SYS and you had the above configuration (A:, B:, and C:), then you would have ten drive letters available for mapping (D: through M:).
NETWORK PRINTERS
The setup process is similar for network printers. Network printers can be created by doing the following steps:
1. Load the network (as explained above). 2. Type NET LOGIN SUPERVISOR 3. Enter a password if requested. 4. Type NET 5. Select "Supervise the network." 6. Select "Network printers." 7. Press <Insert>. 8. Select the server where the printer is actually connected. 9. Type <printer name>. 10. Select one of the "Available server ports." Make sure your printer is attached to the port that you select. 11. Press <Esc> to use the default settings (such as setup strings or CPS), or change as desired.
CAPTURING
Now, to print to this printer, the user only needs to capture one of the personal ports to the network printer. The user could do this by issuing the following command:
NET CAPTURE LPTX <network printer>
Example: NET CAPTURE LPT1 LASER-JET
Ports LPT1, LPT2, and LPT3 can be used to capture while any port (parallel or serial) can be used to physically attach a printer.
Note: There is a difference between a "captured" port and the port to which a printer is attached. A printer can be physically attached to any port (parallel or serial). This port is entered when a network printer is created so that NetWare Lite interprets where to send print jobs that are directed to that printer. After those printers are established, ports LPT1, LPT2, and LPT3 are freed so that they can be used to capture network printers. That means that a user could have a printer physically attached to LPT1 and could capture LPT2 to that printer. He could then capture LPT1 to a printer located on someone else's machine if desired.
EXAMPLE NETWORK SETUP
The following is a comprehensive example that will take the reader through the setup of an imaginary network. This example will involve three machines: KENDALL-386, DAVE-286, and JOEL-486.
KENDALL-386 is set up as a client only. DAVE-286 is set up as server only, and JOEL-486 is set up as a client/server. Because DAVE-286 is a server only, it will be unable use any network resources. Likewise, KENDALL-386, because it is set up as a client only, will not be able to allow others to use its drives or printers.
VERIFY NETWORK CONNECTIONS
"Verify network connections" should be run once after you have initially set up the network to ensure that you do not have any hardware or driver problems. It should also be run any time you think you might have a connection problem. See Fax Document 1200451 or KB 1200451 in the NSE Pro or on Support Connection Web Site (support.novell.com) for more details. Follow this procedure to "Verify network connections":
1. Load the network (as explained above). 2. Insert PROGRAM DISKETTE into a disk drive. 3. Type INSTALL 4. Select "Verify network connections." 5. Enter the name of each machine. 6. "Verify network connections" should be running on all machines. 7. Each screen should look something like the following (all machines that are running "Verify network connections" should show up):
NAME ADDRESS
JOEL-486 00001B1E6082 KENDALL-386 00002C3I4983 DAVE-286 00008B9N4440
Let "Verify network connections" run for about five minutes to make sure that none of the machines disappear or flicker on and off.
If "Verify network connections" fails, then you know that you either have a hardware problem or a driver problem. Please refer to Fax Document 1200451 or KB 1200451 in the NSE Pro or on Support Connection Web Site (support.novell.com) for possible solutions.
USER SETUP
Next, log in to the network to setup users. Follow the instructions above for setting up users. In the example, seven users have been set up:
Joel Kendall Dave Rebecca Kevin Steve Chad
Joel, Kendall, and Dave were given supervisor privileges, which means that they can perform the same functions as the supervisor.
REMOTE MANAGEMENT
If a server allows "Remote management," then users can change the server configuration from remote stations (clients). KENDALL-386 and JOEL-486 were set up so that they could not be remotely managed. DAVE-286 was set up so that it could be remotely managed by issuing the following commands:
1. Type NET at the DOS prompt. 2. Select "Supervise the network." 3. Select "Server configuration." 4. Select <server name>. 5. Arrow down to "Allow remote management," and select "Yes" or "No." 6. The change will take effect when the server has been rebooted.
SETTING UP NETWORK RESOURCES
Next, set up network printers and network directories. JOEL-486 has a printer attached to COM1. It is a HP Laserjet III called HPIII. DAVE-286 has a dot matrix printer attached to its LPT1 port called OKIDATA.
Any time someone on the network wants to print to one of these printers, they need to capture a port.
Remove all the CDRIVE directories that NetWare Lite created, and create the following four network directories:
WP51 DBASE COMMON DATA
WP51 is physically located on JOEL-486. Because JOEL-486 is set up as a server/client, the user who is using JOEL-486 can use the machine even though other user might be accessing WordPerfect from this machine.
DBASE is physically located on DAVE-286. Because DAVE-286 is set up as a server only, employees using DAVE-286 cannot access network resources; although, they will still be able to access their local drives (but not local printers).
COMMON and DATA are both located on DAVE-286.
KENDALL-386 cannot contain network directories because it is set up as a client only.
SAMPLE FILES
The following is an example of the files used to fine tune NetWare Lite followed by a list of configuration tips for each file:
CONFIG.SYS AUTOEXEC.BAT STARTNET.BAT LOG.BAT <NAME.BAT> NET.CFG
CONFIG.SYS
The server keeps track of all files that are open. As more workstations (clients) attempt to access a server, more files will be opened. The number of files that can be opened needs to be increased on any server that will be allowing clients to access files. Enter the following command somewhere in the CONFIG.SYS, or increase it if it is already there:
FILES=XX
AUTOEXEC.BAT
At the end of AUTOEXEC.BAT, the following command has been included so that the network will automatically be loaded when the computer is booted:
call STARTNET
STARTNET.BAT
The STARTNET.BAT file will be different on each machine depending on its configuration. The following is an example of the one machine set up. All lines that do not have a specific designation are included in all three versions of STARTNET.BAT. Other lines are only included in the STARTNET.BAT files for the designated machines:
lsl ne2000 ipxodi a share (on DAVE-286 and JOEL-486) ** server (on DAVE-286 and JOEL-486) client (on KENDALL-386 and JOEL-486)
- See Fax Document 1200393 or KB 1200393 in the NSE Pro or on Support Connection Web Site (support.novell.com) for information on configuring SHARE.EXE.
<NAME>.BAT
Create a batch file for each user that logs each user into the network. (For example: Rebecca logs in using a batch file called BEC.BAT.) An individual batch file might contain the following commands:
net login rebecca net map d: wp51 net map e: dbase net map f: common net map g: data net capture lpt1 HPIII net capture lpt2 OKIDATA
Make a directory on each machine where all of these batch files exist called \NETBATCH and include this directory in the path of each machine. Now, whenever Rebecca wants to log in to the network, she can go to any machine that has client loaded and type BEC, and she will be logged into the network. Remember, this only works because the BEC.BAT batch file was copied over to the \NETBATCH directory of each machine.
NET.CFG
This NET.CFG file was created by NetWare Lite at installation. It contains information specific to the network board on each machine. See Fax Document 1200451 or KB 1200451 in the NSE Pro or on Support Connection Web Site (support.novell.com) for more information on the NET.CFG file.
Bibliografia
http://freedos.sourceforge.net/wiki/index.php/Networking_FreeDOS_complete
http://legroom.net/howto/msdos