Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to know how to connect a Digital VT220 terminal to PC-Linux with Ubuntu 12.04 using a serial-USB device.

At the moment I did next steps:

  1. sudo vi ttyS1.conf (at /etc/init)

    # ttyS1 - getty
    start on stopped rc RUNLEVEL=[2345] and (
                not-container or
                container CONTAINER=lxc or
                container CONTAINER=lxc-libvirt)
    stop on runlevel [!2345]
    respawn
    exec /sbin/getty -8 19200 ttyS1
    
  2. sudo stty -F /dev/ttyS1 19200 cs8 crtscts -echo
share|improve this question
    
Do you actually have one of these that you're trying to connect to your more modern desktop computer? Are you insane? –  allquixotic Oct 7 '13 at 14:12
3  
Anyway......... lol... so you told us what you tried, but not what output you got. So that's pretty useless. Can you tell us what messages you got when you ran that stty command? Did anything show up in dmesg? Does anything print to the terminal? Throw us a bone, here... –  allquixotic Oct 7 '13 at 14:16
3  
This is a very superuser thing to be doing! –  Kevin Panko Oct 7 '13 at 14:43
    
@allquixotic: In dmesg you should see only messages related to the serial port not to the connected terminal. –  pabouk Oct 7 '13 at 14:51

1 Answer 1

On most systems I've had USB-to-RS232 adapters on, the device name shows up as /dev/ttyUSB0 not /dev/ttyS0. /dev/ttyS0 refers to the first motherboard serial port, if one is there. Look in your /dev directory to be sure.

Please note that if you connect more than one USB-to-RS232 serial adapter to your system, the filename may change (i.e. it may be /dev/ttyUSB1 the next time you connect it or reboot) so if you want it persistent look into modifying the appropriate udev rules.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.