search for: ttys

Displaying 20 results from an estimated 244 matches for "ttys".

Did you mean: tty
2006 Sep 02
6
[PATCH] Paravirt framebuffer use xvc as console [4/5]
This is the patch from Amos Waterland for the xenconsole to use /dev/xvc0 instead of taking over ttys. I''ve fixed a few places which needed to check for XVC mode in addition to serial mode. Also, until LANANA responds with an official minor, I''ve adjusted it to use char 250/187 (in the experimental range) as opposed to 204/187. (Should be identical to this patch from last time)...
2002 Mar 24
1
FreeBSD 4.x
On FreeBSD 4.x with HAVE_LOGIN_CAP defined the OpenSSH daemon doesn't properly follow standards. As stated in man 5 login.conf and the process followed by /usr/bin/login, "The ttys.allow and ttys.deny entries contain a comma-separated list of tty devices (without the /dev/ prefix) that a user in a class may use to access the system, and/or a list of ttygroups (See getttyent(3) and ttys(5) for information on ttygroups)." It appears that the OpenSSH Daemon...
2012 Jun 07
7
[PATCH] xen/hvc: Fix polling mode to work with kdb/kgdb
Fix the polling section of the hvc driver to use the global "last_hvc" variable, rather than the ttys. With this change debugging a xen dom0 kernel is possible via the following kernel parameter: kgdboc=hvc0 Signed-off-by: Ben Guthro <Benjamin.Guthro@citrix.com> diff --git a/drivers/tty/hvc/hvc_console.c b/drivers/tty/hvc/hvc_console.c index 2d691eb..3750e74 100644 --- a/drivers/tty/hvc/h...
2006 Sep 19
3
Error on DomU with xencons=ttyS
Hi all, I have a question on /etc/inittab for DomU booted with xencons parameter. I saw the following error messages when I appended xencons=ttyS to DomU boot option. INIT: Id "1" respawning too fast: disabled for 5 minutes INIT: Id "2" respawning too fast: disabled for 5 minutes INIT: Id "4" respawning too fast: disabled for 5 minutes INIT: Id "3" respawning too fast: disabled for 5 minutes...
2007 Nov 05
1
Programs run over ssh aren't getting real ttys.
...t three file descriptors are something like socket: [460]. The issue on this system is a number of tty related functions fail, greatly impairing my ability to use all but the simplest terminal programs. What is wrong? What must I do to enable programs run over ssh (such as bash) to get real pseudo-ttys and not simple sockets? Thank you for your time, James Steven Supancic III
2008 Nov 07
0
/etc/ttys oddity
I have the following line in /etc/ttys: ttyv8 "/usr/local/bin/kdm -nodaemon" xterm on insecure Because of X misconfiguration it constantly crashed, so: kdm-bin[1178]: Unable to fire up local display :0; disabling. So I fix xorg.conf, then I change on => off in ttys, then I do kill -1 1, and X gets started! Seems il...
2011 Nov 06
1
CentOS 6: /etc/init/start-ttys.conf ignored
hi why are tty3-tty6 started after this config change? i would like to have only tty1 finally becasue on a virtual machine there is no need for the other processes since CTRL+ALT+Fx is caught by the own system and remote console mostly not needed at all [root at centos ~]# cat /etc/init/start-ttys.conf # # This service starts the configured number of gettys. start on stopped rc RUNLEVEL=[2345] env ACTIVE_CONSOLES=/dev/tty[1-2] env X_TTY=/dev/tty1 task script . /etc/sysconfig/init for tty in $(echo $ACTIVE_CONSOLES) ; do [ "$RUNLEVEL" = "5&quot...
2007 Dec 06
1
Trouble getting all my com-ports (ttyS*)
...like only 4 ports are recognized, but I'm not sure if it's even working with those 4. >From 'dmesg' I see this: ... Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled ACPI: PCI Interrupt 0000:04:00.0[A] -> GSI 19 (level, low) -> IRQ 177 0000:04:00.0: ttyS0 at I/O 0xbf00 (irq = 177) is a 16550A 0000:04:00.0: ttyS1 at I/O 0xbf08 (irq = 177) is a 16550A 0000:04:00.0: ttyS2 at I/O 0xbe00 (irq = 177) is a 16550A 0000:04:00.0: ttyS3 at I/O 0xbe08 (irq = 177) is a 16550A Couldn't register serial port 0000:04:00.0: -28 ... [root at smse2e ~]# ls -la /d...
2007 May 08
1
hardened kernel and nut access to ttyS
Hi, I am running nut with megatec driver accessing ttyS0 as user nut on "standard" kernel (gentoo-sources). It works fine. However, I just built a hardened kernel on a new gentoo machine and have no experience with it. NUT (upsdrv) is failing because it says it doesn't have permission to access ttyS0 even though nut is within the appropri...
2007 Dec 21
3
CentOS-5 Need Help With Serial Ports
...stem from CDs but they were not. I have found various resources on the web and from them uncovered the setserial utility. What I need from somebody is guidance on how to use this utility to properly configure the ports. Currently in /dev/ I have: crw------- 1 uucp uucp 4, 64 Dec 21 12:14 ttyS0 crw------- 1 root root 4, 65 Dec 20 17:36 ttyS1 crw------- 1 root root 4, 66 Dec 20 17:36 ttyS2 crw------- 1 root root 4, 67 Dec 20 17:36 ttyS3 When I run setserial -g ttyS* I get this: # setserial -g ttyS* Cannot get serial info: Invalid argument ttyS1: No such device or addr...
2009 Jul 14
1
Custom udev rules to override defaults?
I'm trying to work out how to set up a custom udev rule to override permissions on serial ports (/dev/ttyS* and /dev/ttyUSB*) on CentOS 5.3 The default rule, in /etc/udev/rules.d/50-udev.rules has the line: KERNEL=="tty[A-Z]*", NAME="%k", GROUP="uucp", MODE="0660" and I would like the mode to be 0666 Various docs on web say that you shouldn't ch...
2011 Nov 11
3
COPILOT Glucose Meter COM problem
I am a 62 year old beginner in Ubuntu. Thanks for any help, guidance, suggestions on this problem! I have used commands like the following to be certain that I have an active com port: dmesg | grep ttyS rm com1 ln -s /dev/ttyS0 com1 So I suspect the solution lies somewhere in WINE. If all else fails I will get a USB to SERIAL converter cable and try that. My wife has an Abbott Labs Freestyle Lite Glucose meter which uploads to a program called COPILOT via RS232. I was only able to get it to wor...
2004 Jan 23
2
keyboard activity logging in FreeBSD
Hi, I would like to log all keyboard activities in all ttys in my FreeBSD 5.2 box. Is there anyway to do it? I read the watch man page and it seems like I should run watch with tty as many times as number of ttys. Am I right? Also is it possible to do the log in invisible way? The main reason is to log all commands typed in shell and tty and send the log t...
2006 Apr 05
2
/dev/ttyS1 on Xen (domain 0)
Hi, On a regular FC4 machine there are 76 device file for /dev/ttyS*. I tried running minicom on a Xen machine (domain 0) whose serial port is connected to a different machine (a machine with no VGA/Keyboard/Mouse). It gave the following error: minicom: WARNING: configuration file not found, using defaults Device /dev/ttyS1 access failed: No such file or direct...
2014 Jun 11
2
[PATCH] isatty(): use TCGETS instead of TIOCGPGRP, like dietlibc does
While all ?real? ttys may support TIOCGPGRP, /dev/console doesn?t; using TCGETS here allows Linux booted with init=/bin/mksh-static to have working interactive command line (PS1, editing, etc). Reported-by: Dominik George <d.george at tarent.de> Signed-off-by: Thorsten Glaser <t.glaser at tarent.de> --- us...
2005 Aug 11
2
Porting to Dynix 4.1.3...
...e followed the code in pty_make_controlling_tty and it seems to go as follows: 1. Starts with a controlling tty. 2. setsid works, no controlling tty. 3. open of tty works, however it doesn't become the controlling tty. 4. open of /dev/tty fails. I don't have a huge experience of pseudo ttys or controlling ttys but it looks to me like point 3 fails because there is already an open file handle pointing to the same device. As an aside, Dynix has a function called fvhangup (virtually hangup the specified controlling terminal) but if I insert a call to this then all slave terminals are h...
2019 Sep 16
2
ssh client is setting O_NONBLOCK on a pipe shared with other processes
> ssh has to set NONBLOCK otherwise it can, well, block - there's > no way for ssh to know a priori how much data it can write to a fd. I don't know anything about how ssh is structured, but I think it must be a bit more complicated than that. Ssh only sets O_NONBLOCK on an fd if isatty(fd) returns false, so it's able to function with blocking input and output if the relevant
2006 Aug 18
4
[PATCH] Paravirtual framebuffer use xvc for xenconsole [4/6]
This is the patch from Amos Waterland for the xenconsole to use /dev/xvc0 instead of taking over ttys. I''ve fixed a few places which needed to check for XVC mode in addition to serial mode. Also, until LANANA responds with an official minor, I''ve adjusted it to use char 250/187 (in the experimental range) as opposed to 204/187 Signed-off-by: Jeremy Katz <katzj@redhat.com>...
2010 Apr 20
7
Xen 4.0 - No console prompt after booting domU but functional SSH
Hello xen-users ! I am coming for help concerning the just released 4.0 version. Install has worked rather well on my Debian Lenny. I have just had a few bugs for which I have found the answer looking around on this list. I have created a Debian Lenny domU which boots up just fine. The only problem is that I am unable to get a console prompt when using "xm console nameofdomU". I do see
2011 Jan 14
5
Reading from serial port
Hello, I've got RFID card reader plugged in serial port. cat /dev/ttyS0 ...gives me ID of the card I'm using => that's OK As soon as I open the port with win32 appication via wine... I get no data from reader. Even cat /dev/ttyS0 does not work anymore afterwards. I thinks it's because as soon as application opens it via wine some tty flags change: (P...