Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ttysrv(8) [debian man page]

TTYSRV(8)						      System Manager's Manual							 TTYSRV(8)

NAME
ttysrv - connect to a serial port and log output SYNOPSIS
ttysrv [-o option] [-s sock] [-l log] -t tty [-b baud] [-p parity] [-w wordsize] [-i pidfile] DESCRIPTION
ttysrv is the backend for rconsole. It connects to the serial port, handles the log file and waits for connections from rconsole to view what's happening on the serial console. OPTIONS
-t tty Specify which device to connect to. -s sock The name of the socket to listen for connections from rconsole on. -o option Specify any ttyios options to open the port with. Currently only nolocal is supported. -l log The logfile to write to. If not set then no log is kept. -b baud Set the baud rate to talk to the port at. Defaults to 9600. -p parity Set the parity for the serial port. Defaults to none. -w wordsize Set the word size for the serial port. Defaults to 8 bits. -i pidfile The file to write the pid of ttysrv to. If not specified no such file is written. SEE ALSO
rconsole(1), remote-tty(1). AUTHOR
rtty was written by Paul Vixie <vixie@isc.org>. This manual page was written by Jonathan McDowell <noodles@earth.li> for the Debian project (but may be used by others). May 23, 2006 TTYSRV(8)

Check Out this Related Man Page

STARTSRV(8)						      System Manager's Manual						       STARTSRV(8)

NAME
startsrv - invoke ttysrv for a particular host. SYNOPSIS
startsrv host DESCRIPTION
startsrv fires up ttysrv for a given host. It will kill any already running instance for that host, then read /etc/remote- tty/opt/<host>.srv for any options to pass to ttysrv (defaulting to those that set 9600,8n1), /etc/remote-tty/prot/<host>.sock for the per- missions the socket should be set to (default 660), /etc/remote-tty/owner/<host>.sock for the owner of the socket (default rttymgr:dialout) and /etc/remote-tty/prot/<host>.log for the permissions of the logfile (default 640). The device node used is /etc/remote-tty/dev/<host>. This will normally be a symlink to the correct file in /dev. ttysrv is configured to log to /var/log/remote-tty/<host>/<host>, with a pidfile at /var/run/remote-tty/pid/<host> and the socket at /var/run/remote-tty/sock/<host>. SEE ALSO
remote-tty(1), ttysrv(8). AUTHOR
rtty was written by Paul Vixie <vixie@isc.org>. This manual page was written by Jonathan McDowell <noodles@earth.li> for the Debian project (but may be used by others). May 23, 2006 STARTSRV(8)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

console access via serial port - settings

looking for the answer to console port access via 25pin serial. Can i tip in from another unix box for access? (5 Replies)
Discussion started by: simplimarvelous
5 Replies

2. UNIX for Dummies Questions & Answers

Solaris Sparc5 and connecting with a PC via Hyper terminal

I am trying to connect to a sparc5 with my PC via a null modem cable from serial port to serial port. I do not have a sun monitor so I am trying to use my PC. I am unsuccessful in even making the basic connection to the sparc box. Any ideas on how to work around this? (7 Replies)
Discussion started by: adrian
7 Replies

3. UNIX for Dummies Questions & Answers

Hyperterminal

Dear all, I unable to connect my sun machnie through hyperterminal . when I am trying , the screen (hyperterminal )shows all the key letters (like !@#$%^ ... 12345.... abcd...ABCD..) but i unable get login screen. Sun ultra enterprise 3000 / serial port cable 9-9 pin. can any one... (4 Replies)
Discussion started by: sbaloo
4 Replies

4. UNIX for Dummies Questions & Answers

serial port device path

hi. Im trying to install a switch. And the manual says i should type a command including a SerialPortDevicePath. which is the filepath to serial port used for connection. However.. nothing about how to find this info. Could anyone help me where to find this path? thx mr.T (6 Replies)
Discussion started by: tyskertøs
6 Replies

5. UNIX for Dummies Questions & Answers

Linux and SUN micro System question

I have linux OS and i am trying to connect to a Sun microsystem Netra, i am using RJ45 to serial port connector, what telnet device can i use to remotely connect to the netra, if anybody could help i will really appreciate it. (5 Replies)
Discussion started by: Gueso
5 Replies

6. Solaris

connecting laptop to V240 serial port

Well...I hope I am in the right forum to post this question. Here is what I am trying to do. I have a laptop (Dell I believe) running Windows. I am trying to connect this laptop to a V240 serial port (the port with l0l0l). Here lies the problem, I am not sure if I have the correct cable. I do... (6 Replies)
Discussion started by: bluridge
6 Replies

7. Programming

Programming serial port

Hello! Can someone advice me which method I will use if I want to communicate with device via RS232 serial port with this requirements: 1. Serial port is opened in non-canonical mode. 2. All the time I need to check is there something to read. 3. If I have to write something I need to write it... (6 Replies)
Discussion started by: jvrlic
6 Replies

8. Solaris

T5240 netmgmt port not blinking

I was trying to configure the netmgmt from the serial and set commitpending to true. However, the netmgmt port is not up and blinking. I tried to connect using my notebook directly to the netmgmt port and am not able to ping as well. Previouly i was doing the firmware upgrade using the webconsole.... (20 Replies)
Discussion started by: incredible
20 Replies

9. Solaris

Solaris; tip

plz explain TIP in solaris in detail. (11 Replies)
Discussion started by: karman0931
11 Replies

10. Windows & DOS: Issues & Discussions

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: How can i configure the serial port on dos? How can i telnet form dos to the serial port? How can i set up a telnet server on the... (12 Replies)
Discussion started by: mghis
12 Replies

11. Programming

unable to send read and write serial port

hey frns pls help me out !! i hav a code of c that i have to include in my project. i am using a device (geomeda) that has unix based OS. it also support SIM card for connecting to server . I need to send SMS to user from this device.. below code is not working .. i am unable to send sms and the... (7 Replies)
Discussion started by: yashwantkumar
7 Replies

12. Debian

Reading data from a serial port

Dear List - I am trying to capture data from a serial port and write it to a file. /var/www$ cat /dev/ttyS0 > scale_value.html cat: /dev/ttyS0: Device or resource busy /var/www# cat /proc/tty/driver/serial serinfo:1.0 driver revision: 0: uart:16550A port:000003F8 irq:4 tx:90... (11 Replies)
Discussion started by: Meow613
11 Replies

13. Web Development

Setup Serial Port

I need to set a serial port to 9600 7E1. How do I accomplish this? I've tried every combination, with no luck. (6 Replies)
Discussion started by: Meow613
6 Replies

14. AIX

Connect GPS to serial port AIX 5.x

HI, Does anyone installed a GPS from his Serial port to an IBM Server serial port with AIX 5.X I would like the rs232 configuration you used on the GPS, and the ttys configuration from your server. Thanks in advance !!! (8 Replies)
Discussion started by: trevian3969
8 Replies

15. Linux

Connect from USB to serial port of switch

I have someone wanting to connect to the serial management port of a switch from a PC running CentOS6. The management port on the switch is apparently baud 9600, 8 data bits, 1 stop bit & no parity They have plugged in a cable to connect and the output from lsusb is:-Bus 001 Device 001: ID... (7 Replies)
Discussion started by: rbatte1
7 Replies