[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Which port is tty A on the back of a sparc 20?



Hi,

Never mind, it's Debian bug #264626 apparently.

I, for now, chowned /dev/ttyS0 to uucp and it works.

http://www.debian-administration.org/users/simonw/weblog/36

cheers

bruce

On Tue, Mar 21, 2006 at 03:09:49PM +0000, Bruce O'Neel wrote:
> Hi,
> 
> Ok, I don't see why it doesn't work.
> 
>  cu -l /dev/ttyS0
> cu: open (/dev/ttyS0): Permission denied
> cu: /dev/ttyS0: Line in use
> 
> 
> but I've commented out the getty on it:
> 
>  grep tty /etc/inittab 
> # /sbin/getty invocations for the runlevels.
> # characters of the device (after "tty").
> # Note that on most Debian systems tty7 is used by the X Window System,
> # so if you want to add more getty's go ahead but skip tty7 if you run X.
> 1:2345:respawn:/sbin/getty 38400 tty1
> 2:23:respawn:/sbin/getty 38400 tty2
> 3:23:respawn:/sbin/getty 38400 tty3
> 4:23:respawn:/sbin/getty 38400 tty4
> 5:23:respawn:/sbin/getty 38400 tty5
> 6:23:respawn:/sbin/getty 38400 tty6
> # Example how to put a getty on a serial line (for a terminal)
> #T0:23:respawn:/sbin/getty -L ttyS0 9600 vt102
> #T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100
> # Example how to put a getty on a modem line.
> #T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS3
> 
> (and rebooted).
> 
> and a getty doesn't seem to be running.
> 
>  ps -efl | grep get
> 0 S root       576     1  0  69   0 -   402 read_c Mar20 tty1     00:00:00 /sbin/getty 38400 tty1
> 0 S root       577     1  0  69   0 -   402 read_c Mar20 tty2     00:00:00 /sbin/getty 38400 tty2
> 0 S root       578     1  0  69   0 -   402 read_c Mar20 tty3     00:00:00 /sbin/getty 38400 tty3
> 0 S root       579     1  0  69   0 -   402 read_c Mar20 tty4     00:00:00 /sbin/getty 38400 tty4
> 0 S root       582     1  0  69   0 -   402 read_c Mar20 tty5     00:00:00 /sbin/getty 38400 tty5
> 0 S root       583     1  0  69   0 -   402 read_c Mar20 tty6     00:00:00 /sbin/getty 38400 tty6
> 0 S root      1021   959  0  69   0 -   486 pipe_w 16:09 pts/0    00:00:00 grep get
> 
> 
> Thanks!
> 
> cheers
> 
> bruce
> 
> On Mon, Mar 20, 2006 at 08:38:47PM +0100, Jan-Benedict Glaw wrote:
> > On Mon, 2006-03-20 19:29:22 +0000, Bruce O'Neel <edoneel@sdf.lonestar.org> wrote:
> > > On other operating systems I have used 
> > > 
> > > cu -l /dev/tty??
> > > 
> > > to use the ttya port of my sparc20 as a console for another sparc system.
> > > 
> > > Um, what tty do I use for debian?
> > 
> > ttya maps to /dev/ttyS0 unter Linux, and ttyb is /dev/ttyS1
> > 
> > MfG, JBG
> > 
> > -- 
> > Jan-Benedict Glaw       jbglaw@lug-owl.de    . +49-172-7608481             _ O _
> > "Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg  _ _ O
> >  f?r einen Freien Staat voll Freier B?rger"  | im Internet! |   im Irak!   O O O
> > ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
> 
> 
> 
> -- 
> edoneel@sdf.lonestar.org
> SDF Public Access UNIX System - http://sdf.lonestar.org
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-sparc-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 

-- 
edoneel@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Reply to: