Solved

How to create the one more terminal tty device  on the single user mode ???

Posted on 2008-06-09
6
883 Views
Last Modified: 2013-12-15
How to create the one more terminal tty device on the single user mode ..


Preferably I want create this device over the serial  usb...

such tty, ttyS0 device I able to create in other run level using the serial port(null modem cable). But whether it is possible to create it using usb

0
Comment
Question by:arulkumarabi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 35

Accepted Solution

by:
Duncan Roe earned 500 total points
ID: 21750180
I assume from your Q that in multi-user mode, you can plug in the serial to USB adapter and an entry is created for it in /dev. Is that right?
Supposing the device in /dev/is called ttyUSB0 and is a symbolic link. To see where the link and any subsequent links point, use ls's -L option, e.g.

ls -lL /dev/ttyUSB0

You will see an entry similar to:

crw-rw----  1 root tty 3, 10 2008-06-11 06:50 /dev/ttypa

ttypa is not a USB device but I hope it gives you the idea. A simple "ls -l" of it gives:

lrwxrwxrwx  1 root root 7 2008-06-11 06:50 /dev/ttypa -> pty/s10

The important items to note from ls -Ll are the 2 numbers after the group (tty), and the fact that the entry starts with "c". "c" means it's a character device (the alternative being "b" for block) with major number 3 and minor number 10. In single-user mode, you could re-create this device (using whatever name you like, say ttyS0) with the mknod command:

mknod ttyS0 c 3 10
0
 
LVL 7

Expert Comment

by:stephenhoekstra
ID: 21774459
I'ld think because it says 'single user mode', it's only going to allow console access, not terminal connections of any type.
0
 
LVL 35

Expert Comment

by:Duncan Roe
ID: 21777337
Under 'single user mode', you can start what you like
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
LVL 5

Author Comment

by:arulkumarabi
ID: 21819407
We  will keep it in the runlevel 2 (multiuser without network )..

Using null modem cable (com port) it is possible to create tty terminal in the windows using hyper terminal,  putty etc., Whether it is possible to create same thing using the usb cable or usb device..




0
 
LVL 35

Expert Comment

by:Duncan Roe
ID: 21821487
Should be - as long as you have a USB to serial converter and have the modules that support it. Haven't actually tried it yet myself.
0
 
LVL 5

Author Comment

by:arulkumarabi
ID: 21828744
ok thanx - I will try and get back to you
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question