FreeDOS Networking

Da GolemWiki.
Jump to navigation Jump to search

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, che deve essere 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 le seguenti applicazioni

  • 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


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".


Microsoft "LAN Manager Client" and "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.







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