Автор: KennyDies
У меня получилось связать Win2000/XP c XT по COM-кабелю. Кабель был изготовлен по этой шпаргалке - http://support.microsoft.com/kb/151981 из витой пары UTP/STP.
Код: Выделить всё
MSKB: How to set up a remote debug session using a null modem cable (Q151981)
9-Pin NULL Modem Cabling
Remote host
serial port connector Host system
serial port connector
Signal
3 2 Transmit Data
2 3 Receive Data
7 8 Request to Send
8 7 Clear to Send
6, 1 4 Data Set Ready and Carrier Detect
5 5 Signal Ground
4 6, 1 Data Terminal Ready
25-Pin NULL Modem Cabling
2 3 Transmit Data
3 2 Receive Data
4 5 Request to Send
5 4 Clear to Send
6 20 Data Set Ready and Carrier Detect
7 7 Signal Ground
20 6 Data Terminal Ready
1. На Win2000/WinXP поднимаются Входящие подключения. И ставится "драйвер" Нульмодемного кабеля. Также НЕОБХОДИМО разрешить внешние подключения с пустым паролем ( если он у Вас - пустой ) в свойствах "Входящих подключений" и в локальных политиках безопасности.
Для соединения на XT использовались:
а) PPPD for DOS 0.6 beta Copyright © 1997 Antonio Lopez Molero / dosppp06.zip / :
Код: Выделить всё
The code is compiled for an 8088 CPU, so it should run on XT class
machines. I have no access to any XT machine, so I was unable to test
it on one. However, users of the previous release reported success in
using DOS PPPD on XT hardware.
The 16550AFN UART is supported, allowing reliable communications up to
115200 baud speed. The chip is autodetected and the FIFO enabled with
an 8 byte receiver threshold. The transmitter is set up for a 16 byte
output FIFO.
The drivers conforms to FTP packet driver specification 1.09, same as
the ones in the superb CRYNWR packet driver collection.
Код: Выделить всё
115200
local
user Administrator
crtscts
192.168.100.2:192.168.100.1
mtu 1500
mru 1500
connect "chat -v -e '' CLIENTCLIENT CLIENTSERVER"
Код: Выделить всё
PPPD.EXE COM1
Код: Выделить всё
termin 0x60
/ lsppp10.zip / ( chat0.exe берём из dosppp06.zip ) :
батник:
Код: Выделить всё
@echo off
chat0 -p COM1 -s 115200 -v -e '' CLIENTCLIENTCLIENT CLIENTSERVER
lsppp /l /B:115200 /n:1 /U:Administrator /F:14,14 /m:1500,1500
Для 80386-486 ( а также при отсутствии FIFO буфера ) лучше поставить меньшую скорость - 57600-38400-19200-9600.
Для XT лучше поставить меньшую скорость - 9600.
После этого любая DOS-прога работающая через пакетный интерфейс (PC/TCP Packet Driver Specification) - http://www.crynwr.com/packet_driver.html , запустится на ура. Например, DOSRDP XP ( Клиент служб терминалов удалённого рабочего стола для DOS ).
Остальные детали настроек подробно описаны в документации к этим двум PPP пакетам. На мой взгляд LSPPP "быстрее" DOSPPP.