Return to BSD News archive
Newsgroups: comp.unix.bsd.freebsd.misc Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!swidir.switch.ch!scsing.switch.ch!news.belwue.de!news.uni-stuttgart.de!uni-regensburg.de!fauern!news.tu-chemnitz.de!irz401!theatre.pandora.sax.de!mw From: mw@theatre.pandora.sax.de (Martin Welk) Subject: Re: Terminals on ttyd1 Organization: Private Site, Member of Individual Network e. V. Message-ID: <DDC3FF.95o@theatre.pandora.sax.de> References: <40ohn0$6mi@allnews.infi.net> Date: Tue, 15 Aug 1995 04:06:50 GMT Lines: 47 In article <40ohn0$6mi@allnews.infi.net>, Ryan Groth <snakec@news.infi.net> wrote: >I can not get getty to do it's work on ttyd1 (or any other serial terminal) >it reports no error and tdoes not show up in the process list. Is there >anything I need to do other then changing he 'no' to a yes' in the /etc/ttys >file. Yes: you have to tell the init daemon that it should re-read it's config files. init is also responsible for spawning (and respawning) the getty processes on your ttys. Try `kill -HUP 1' and check it with `ps -ax | grep getty' afterwards to see if the getty processes appear. You may also reboot your system but as you're trying to run some Un*x style operating system you should know that it is not necessary to do that just because of some configuration file change. And - it isn't just 'yes' or 'no' in /etc/ttys, it has something to do with 'on' and 'off'. Here's an example coming from my /etc/ttys file: console none unknown off secure # ttyv0 "/usr/libexec/getty Pc" pcvt25 on secure # Virtual terminals ttyv1 "/usr/libexec/getty Pc" pcvt25 on secure ttyv2 "/usr/libexec/getty Pc" pcvt25 on secure ttyv3 "/usr/libexec/getty Pc" pcvt25 on secure ttyv4 "/usr/libexec/getty Pc" pcvt25 off secure ttyv5 "/usr/libexec/getty Pc" pcvt25 off secure ttyv6 "/usr/libexec/getty Pc" pcvt25 off secure ttyv7 "/usr/libexec/getty Pc" pcvt25 off secure # Serial terminals ttyd0 "/usr/libexec/getty std.9600" unknown off secure ttyd1 "/usr/libexec/getty std.57600" unknown on insecure ttyd2 "/usr/libexec/getty std.38400" unknown off insecure ttyd3 "/usr/libexec/getty std.19200" vt100 on secure I don't want to RTFM you, but try `man ttys', this should also give you some useful information. Bye, Martin -- /| /| | /| / \ ,,You know, there's a lot of opportunities, / |/ | artin |/ |/ elk \ if you're knowing to take them, \ you know, there's a lot of opportunities, mw@pandora.sax.de \ if there aren't you can make them, Meissen, Germany, Europe \ make or break them!'' (Tennant/Lowe)