Solved

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

Posted on 2008-06-09
6
853 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
  • 3
  • 2
6 Comments
 
LVL 34

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 34

Expert Comment

by:Duncan Roe
ID: 21777337
Under 'single user mode', you can start what you like
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
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 34

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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

747 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now