FreeDOS Networking: differenze tra le versioni

Da GOLEM Wiki.
Nessun oggetto della modifica
Nessun oggetto della modifica
Riga 25: Riga 25:
Scaricate e scompattate [http://www.brutman.com/mTCP/ mTCP]
Scaricate e scompattate [http://www.brutman.com/mTCP/ mTCP]


mTCP utilizza un file di configurazione per assegnare un IP alla macchina, che deve essere esportato come variabile.
mTCP utilizza un file di configurazione per assegnare un IP alla macchina, tale file andrà poi esportato come variabile.


  set MTCPCFG=C:\MTCP\ETH.CFG
  set MTCPCFG=C:\MTCP\ETH.CFG


Nel mio caso il file era ''eth.cfg'' e si trovava nella directory ''C:\mtcp\''.
Nel mio caso il file era ''eth.cfg'' e si trovava nella directory ''c:\mtcp\''.


Anche questo comando può essere aggiunto all'AUTOEXEC.BAT
Anche questo comando può essere aggiunto all'AUTOEXEC.BAT
Riga 52: Riga 52:




L'mTCP fornisce le seguenti applicazioni
L'mTCP fornisce anche le seguenti applicazioni:
 
* dhcp.exe -- DHCP client
* dnstest.exe -- DNS resolver
* ftp.exe -- FTP client
* ftpsrv.exe -- FTP server
* htget -- program for downloading files/content from web (HTTP) servers
* httpserv -- HTTP server supporting HTTP 0.9, 1.0, 1.1
* ircjr.exe -- IRC client and
* nc.exe -- Netcat utility
* ping.exe -- Ping utility
* pkttool -- packet sniffer and diagnostic tool for packet drivers
* telnet.exe -- Telnet client
* sntp.exe -- NTP (Network Time Protocol) client
 
 
== Microsoft Client 3.0 ==
 
[[Image:msclient-full.jpg|left|thumb|MS Client 3.0]]
 
Microsoft's programs "LAN Manager" and "MS Client 3.0" are still popular among DOS users. They can be downloaded from Microsoft's ftp-site and are free for "internal use", but not for distribution.
 
* MS LAN Manager Client (1998) can be found at: ftp://ftp.microsoft.com/bussys/Clients/LANMAN/
* MS Client 3.0 (1995) can be found at: ftp://ftp.microsoft.com/bussys/Clients/MSCLIENT/
 
There are numerous webpages about the installation and usage especially of MS Client 3.0, so I won't reinvent the wheel here.
 


* dhcp.exe -- [[DHCP]] client
* ftpsrv.exe -- [[FTP]] server
* dnstest.exe -- [[DNS]] resolver
* ftp.exe -- [[FTP]] client
* ircjr.exe -- [[IRC]] client and
* nc.exe -- [[Netcat]] utility
* telnet.exe -- [[Telnet]] client
* sntp.exe -- [[NTP]] (Network Time Protocol) client
* ping.exe -- [[Ping]] utility




Riga 79: Riga 96:
More recent information and useful links about using NetWare with DOS can be found at "[http://www.dossolutions.pwp.blueyonder.co.uk/network.htm#nware DOS Solutions]".
More recent information and useful links about using NetWare with DOS can be found at "[http://www.dossolutions.pwp.blueyonder.co.uk/network.htm#nware DOS Solutions]".


== Microsoft "LAN Manager Client" and "MS Client 3.0" ==
[[Image:msclient-full.jpg|left|thumb|MS Client 3.0]]
Microsoft's programs "LAN Manager" and "MS Client 3.0" are still popular among DOS users. They can be downloaded from Microsoft's ftp-site and are free for "internal use", but not for distribution.
* MS LAN Manager Client (1998) can be found at: ftp://ftp.microsoft.com/bussys/Clients/LANMAN/
* MS Client 3.0 (1995) can be found at: ftp://ftp.microsoft.com/bussys/Clients/MSCLIENT/
There are numerous webpages about the installation and usage especially of MS Client 3.0, so I won't reinvent the wheel here.





Versione delle 16:19, 3 gen 2017

Introduzione

FreeDOS è un sistema operativo opensource 100% compatibile con MS-DOS. Ogni programma in grado di girare su MS-DOS potrà essere eseguito anche da FreeDOS (incluso Windows 3.x!).

Installare vecchi giochi DOS è un'operazione piuttosto semplice, non altrettanto immediata è la configurazione delle interfacce di rete per collegarsi ad Internet.

Networking

Esistono almeno 3 modi per collegare un sistema DOS ad Intenet:

  • Applicazioni TCP/IP: basate sui Packet driver, permettono di configurare servizi come ftp, http, telnet, ssh o NFS in stile "UNIX-like".
  • Microsoft Client 3.0": utilizza driver NDIS, permette di integrare un PC DOS ad una rete di macchine Windows / SMB workgroup.
  • Novell NetWare: utilizza driver ODI ed il protocollo TCP-IP, sviluppato per collegare fra loro macchine DOS e NetWare.


UNIX-like

Di default VirtualBox è configurata per utilizzare la scheda di rete AMD PCnet Fast III (Am79C973), il suo Packet Driver (PD) è reperibile a questo indirizzo: PCnetFast. Una lista completa di packet driver è reperibile a questo indirizzo.

Scaricate il driver, scompattatelo ed eseguitelo. Affinché sia caricato in automatico ad ogni riavvio del PC è possibile aggiungere la seguente riga all'AUTOEXEC.BAT

LH PCNTPK INT=0x60

Configurazione

Scaricate e scompattate mTCP

mTCP utilizza un file di configurazione per assegnare un IP alla macchina, tale file andrà poi esportato come variabile.

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


L'mTCP fornisce anche le seguenti applicazioni:

  • dhcp.exe -- DHCP client
  • dnstest.exe -- DNS resolver
  • ftp.exe -- FTP client
  • ftpsrv.exe -- FTP server
  • htget -- program for downloading files/content from web (HTTP) servers
  • httpserv -- HTTP server supporting HTTP 0.9, 1.0, 1.1
  • ircjr.exe -- IRC client and
  • nc.exe -- Netcat utility
  • ping.exe -- Ping utility
  • pkttool -- packet sniffer and diagnostic tool for packet drivers
  • telnet.exe -- Telnet client
  • sntp.exe -- NTP (Network Time Protocol) client


Microsoft Client 3.0

File:Msclient-full.jpg
MS Client 3.0

Microsoft's programs "LAN Manager" and "MS Client 3.0" are still popular among DOS users. They can be downloaded from Microsoft's ftp-site and are free for "internal use", but not for distribution.

There are numerous webpages about the installation and usage especially of MS Client 3.0, so I won't reinvent the wheel here.



Novell "NetWare DOS Client" and "TCP/IP Client"

http://www.georgpotthast.de/sioux/packet.htm

Novell, former market leader for local networks, hasn't forgotten it's DOS users. The company still provides software for DOS, that can be downloaded and used for free:

On the sites above Novell includes a warning that this software is neither maintained nor supported any longer.

Useful information about Novell's DOS clients can still be found at the newsgroup "novell.support.os.client.dos-win3x" which was active until 2004.

More recent information and useful links about using NetWare with DOS can be found at "DOS Solutions".








Bibliografia

http://freedos.sourceforge.net/wiki/index.php/Networking_FreeDOS_complete

http://wiki.freedos.org/wiki/index.php/VirtualBox_-_Chapter_6

http://www.georgpotthast.de/sioux/packet.htm

https://www.virtualbox.org/wiki/Sharing_files_with_DOS

http://freedos.sourceforge.net/wiki/index.php/Networking_FreeDOS_-_mTCP