From owner-freebsd-newbies@FreeBSD.ORG Sun Jun 20 17:45:47 2004 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 119DD16A4CE for ; Sun, 20 Jun 2004 17:45:47 +0000 (GMT) Received: from hotmail.com (sea1-f101.sea1.hotmail.com [207.68.163.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDCCD43D1F for ; Sun, 20 Jun 2004 17:45:46 +0000 (GMT) (envelope-from crollins666@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 20 Jun 2004 10:45:39 -0700 Received: from 216.19.22.118 by sea1fd.sea1.hotmail.msn.com with HTTP; Sun, 20 Jun 2004 17:45:39 GMT X-Originating-IP: [216.19.22.118] X-Originating-Email: [crollins666@hotmail.com] X-Sender: crollins666@hotmail.com From: "clayton rollins" To: freebsd-newbies@freebsd.org Date: Sun, 20 Jun 2004 17:45:39 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 20 Jun 2004 17:45:39.0992 (UTC) FILETIME=[66C9C180:01C456EE] cc: drewunf@hotmail.com Subject: Re: watch: fatal: cannot open snoop device X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jun 2004 17:45:47 -0000 On June 20, 2004 "drew schulman" wrote: > >How do I enable this program in FreeBSD 5.2.1? > >It was working fine before I reinstalled. > >-su-2.05b# watch -co p2 >watch: snp module not available: Operation not permitted >watch: fatal: cannot open snoop device > Before I say anything else, I should say that all questions should be sent to freebsd-questions@freebsd.org. I'm not allowed to actually answer your question here, but maybe I can point you to some doc.s to help you out. According to 'man watch': "The watch utility allows the user to examine all data coming through a specified tty using the snp(4) device." According to 'man snp': "The kernel must be compiled with device snp or the snp device must be loaded, for these devices to be available." (Refer to the original man pages for more info.) Given those statements, refer to the following section of the handbook for advice on compiling a kernel and/or checking what configuration you used: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html Alternately, refer to the kld man page for information on loading kernel modules. The above links are just my guess of what may be happening. If you do already have the snp device available and/or continue to have trouble getting it to work, you're encouraged to write freebsd-questions@. (And, please include information on your kernel configuration, etc.) Regards, Clayton Rollins _________________________________________________________________ Get fast, reliable Internet access with MSN 9 Dial-up – now 3 months FREE! http://join.msn.click-url.com/go/onm00200361ave/direct/01/