From owner-freebsd-questions Thu Apr 19 13: 4:59 2001 Delivered-To: freebsd-questions@freebsd.org Received: from home.sasknow.net (stimpy.sasknow.net [207.195.92.134]) by hub.freebsd.org (Postfix) with ESMTP id AAD4A37B621 for ; Thu, 19 Apr 2001 13:04:48 -0700 (PDT) (envelope-from ryan@sasknow.com) Received: from localhost (ryan@localhost) by home.sasknow.net (8.11.3/8.11.3) with ESMTP id f3JE4ke06947; Thu, 19 Apr 2001 14:04:50 GMT (envelope-from ryan@sasknow.com) X-Authentication-Warning: home.sasknow.net: ryan owned process doing -bs Date: Thu, 19 Apr 2001 14:04:46 +0000 (GMT) From: Ryan Thompson X-X-Sender: To: dennis williamson Cc: Subject: Re: FreeBSD 2.2.6 problems w/getty reading ports on /dev/ttyv* In-Reply-To: <3ADE3FA5.9F96CA34@iprg.nokia.com> Message-ID: <20010419135459.N6772-100000@home.sasknow.net> Organization: SaskNow Technologies [www.sasknow.com] MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG dennis williamson wrote to freebsd-questions@FreeBSD.ORG: > I was getting console messages that indicated getty not seeing > /dev/ttyv[45678]. > Those devices didn't exist, so I created them on FreeBSD 2.2.6 with the > following command: > > cd /dev > mknod ttyv4 c 12 4 > ... > upto #8. Now I get the following messages: That's correct, but why not use MAKEDEV? cd /dev && sh MAKEDEV vty12 It will run mknod for you, and set the permissions appropriately. > Apr 18 18:27:42 ntc2 getty[502]: tcsetattr /dev/ttyv4: Inappropriate > ioctl for device This is probably due to a lenient umask when you ran mknod. What are the permissions on /dev/ttyv4? chmod 0600 all of your new vtys and try again. (MAKEDEV does this automatically). I don't know what your current setup is, or how feasable it might be for you, but if possible, you would definitely want to give thought to upgrading. 2.2.6 is far from active maintenance right now, so security holes, bugfixes, etc, will probably never be corrected. > Apr 18 18:27:43 ntc2 getty[506]: tcsetattr /dev/ttyv5: Inappropriate > > Not sure what to do. Please advise. Thanks in advance. > > dennisw > > - Ryan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message