Telnet to a serial port

 
Thread Tools Search this Thread
Special Forums Windows & DOS: Issues & Discussions Telnet to a serial port
# 1  
Old 05-06-2010
Telnet to a serial port

Hello all.
I have an old computer with M$-DOS 7. I want to use it like a dumb terminal, with telnet. I need to connect it to my desktop These are my questions:
  1. How can i configure the serial port on dos?
  2. How can i telnet form dos to the serial port?
  3. How can i set up a telnet server on the desktop (ubuntu 9.10)?
  4. What kind of cable should I use? (db 29-m serial port on the old pc and the desktop)

Thanks for any answer.

Ps. I hope i'm posting in the correct item.
# 2  
Old 05-07-2010
Telnet is a network protocol. You would find setting up a simple serial connection easier.
Enable login on the serial port (ttyS0) by modifying /etc/inittab,
Get a DOS terminal emulation program, like kermit, which is available from
http://www.columbia.edu/kermit/msk314.html
Use a null modem cable, pin 2 connected to pin 3, pin 3 connected to pin 2, and pin 7 straight, for a direct connection, on a 25pin connector. Or buy a straight through cable, and a null modem adapter.
Try baud rates between 9600 and 38400.
# 3  
Old 05-07-2010
If you can find it, the old TELIX was a fantastic DOS serial program.
# 4  
Old 05-10-2010
Are you sure that you have MSDOS-7 ? A rare beast.
What does the "ver" command display?
# 5  
Old 05-10-2010
Set the communications protocol to x-on/x-off, rather than hardware control (cts/rts).
The cable requirements for hardware control are different, and without standards.
You might find this link useful.
TCP/IP network for MS-DOS
# 6  
Old 05-11-2010
Thanks to all! (and excuse me for the late reply...)
I'm trying this helpful suggestions! Smilie
This is a wonderful forum! I tried in other one but i received no answer...

Thanks again!!

P.s: I'm sure i have DOS-7. I downloaded it from http://ms-dos7.hit.bg ...

EDIT:

I have some problems.
1. My serial port has 9 pins. Not 25. Have I to buy another one? An adapter? Can I configure my terminal with the 9-pins serial port?
2. I don't know how to configure kermit. I'm looking for tutorials and howto.

Thanks for any reply!

Last edited by mghis; 05-11-2010 at 04:19 PM..
# 7  
Old 05-12-2010
This website has lots of good RS232 information. You do not need the rts/cts connections.
RS232 serial cable pinout information

Start by configuring kermit for 9600 baud, 8 bits, no parity, 1stop bit. Presumably you will be using COM1. If your DOS computer has two serial ports, you will have to determine which is COM1 and which is COM2.

Read the man pages for inittab, agetty, and if you have trouble sleeping termios.

You can use the 9 pin ports.

Last edited by jgt; 05-12-2010 at 11:12 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Cabling and adapters to communicate to service processor serial port from Windows PC with USB port.

Hello, I have an unloaded T5140 machine and want to access the ILOM for the first time and subsequently the network port after that., and then load Solaris 10 the final January 2011 build. The first part is what confuses me -the cabling. I am coming from a Windows machine (w/appropriate... (5 Replies)
Discussion started by: joboy
5 Replies

2. IP Networking

telnet for port 5433 is not working while it works for port 22

Hi, I am trying to set up a dev environment and I have Ubuntu server (10.16.1.92) and a CentOS VM (10.16.3.235) on this. On the CentOS I have a program running on port 5433. Now my problem is that I am unable to telnet this port from another Windows server whereas I can telnet port 22 from... (5 Replies)
Discussion started by: rishav
5 Replies

3. Solaris

How to enable Serial port on ILOM, when Network Port is enabled in parallel

Hi Everyone, In my environment, I have few T5220. On the iLOM Management Card, I have both Network and Serial port are cabled, I don't have any issues while I try to connect using Network Management port, but when I try to connect the serial port for the same server which is actually connected... (3 Replies)
Discussion started by: bobby320
3 Replies

4. Shell Programming and Scripting

Need help with serial port

Hi, I have a external board connected to my serial port. I need to execute "shutdown -r now" command when system boot up. When system boots up it requires a username ans password. Then I need to run my command. I can use rc script but that is rebooting system before it asks for username and... (0 Replies)
Discussion started by: charlie.arya
0 Replies

5. Ubuntu

Ubuntu 9.04 Serial application to telnet to serial device

Hello! I am working on an application which reads environmental instruments which have serial ports. The application requires a serial port to be present to talk to the device (i.e. /dev/ttyS0 ). In some instances the environmental devices will be 100's of yards away from the computer, so a... (5 Replies)
Discussion started by: mvona
5 Replies

6. AIX

Serial port in AIX

Hi, How can i configure my modem in AIX thru serial port (sa0-->tty0) I have two port serial card configured as sa0 I created tty1 which port is tty0 and which port is tty1 how can i know?? (1 Reply)
Discussion started by: pchangba
1 Replies

7. UNIX for Dummies Questions & Answers

Serial port redirector

I need make serial data from virtual serial ports available on a TCP/IP network. For communications with hardware COM ports to send and receive serial data over a local network or the Internet. Example: POSIX machine (/dev/ttyS0) <--- TCP/IP ---> Windows machine COM1 Please help! I try use... (0 Replies)
Discussion started by: steel98
0 Replies

8. Solaris

Serial Port Datalogger

Hi, I'm using Solaris workstation with 5.4 OS. I was wondering if there's a way that I could log the data incoming and outgoing on a certain serial port. Thanks in Advance! (1 Reply)
Discussion started by: uryuu
1 Replies

9. Solaris

disabled telnet now need port 23 or port 22

we disabled telnet on solaris 9 via previous a thread. We use CMS (call management system) supervisor which used port 23 (telnet). We cannot use telnet via local directive and it was shut down as stated when we shut down telnet in the inetd file. I cannot now log into the CMS box since port 23 is... (3 Replies)
Discussion started by: panzerkw
3 Replies

10. UNIX for Dummies Questions & Answers

serial port configuration

I am having trouble with a device connected through a serial port on my sun workstation ( I am running solaris 7). The seriel device works on an identical workstation running the same o/s version but when I move it to the initial workstation it doesn't work. I am using an rs232 serial cable and... (1 Reply)
Discussion started by: Henrik
1 Replies
Login or Register to Ask a Question