From owner-freebsd-questions Thu Aug 9 20:55:26 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ren.sasknow.com (ren.sasknow.com [207.195.92.131]) by hub.freebsd.org (Postfix) with ESMTP id 4D6CE37B433 for ; Thu, 9 Aug 2001 20:55:15 -0700 (PDT) (envelope-from ryan@sasknow.com) Received: from localhost (ryan@localhost) by ren.sasknow.com (8.9.3/8.9.3) with ESMTP id VAA33719; Thu, 9 Aug 2001 21:54:43 -0600 (CST) (envelope-from ryan@sasknow.com) Date: Thu, 9 Aug 2001 21:54:43 -0600 (CST) From: Ryan Thompson To: Wing Tim Cc: alex@big-blue.net, bwatts@corp.netcom.ca, freebsd-questions@FreeBSD.ORG Subject: Re: Snoop configuration In-Reply-To: Message-ID: 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 List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Wing Tim wrote to alex@big-blue.net: > Hi, > Thank you very much! The snoop has started in my machine. > After typing "sh MAKEDEV snp0", it asked me to enter a device name, what > should I input? I input "snp0" but the error "watch: fatal: cannot attach to > tty" occurs. What does that "device name" mean actually? Is that the device > that buffers data? > By the way, according to my understanding, snoop protocol is something > that buffering data in a certain device. Does snoop in FreeBSD have similar > function? Hi Wing, Now that you've got the devices created, you need to tell watch(8) which tty you want to snoop on. It helps if you run the command "who" (or "finger", or "w" if you prefer), to see who is on-line, and on which ttys. root# who root ttyv0 Aug 8 12:03 ryan ttyv1 Aug 8 10:09 ryan ttyv3 Jul 27 10:41 darren ttyp0 Aug 7 13:31 wayne ttyp1 Aug 5 17:43 If you want to snoop on darren, who is logged on to "ttyp0", just enter "ttyp0" as the device to snoop in watch(8): root# watch ttyp0 > Thanks! > > Regards, > Wing -- Ryan Thompson Network Administrator, Accounts SaskNow Technologies - http://www.sasknow.com #106-380 3120 8th St E - Saskatoon, SK - S7H 0W2 Tel: 306-664-3600 Fax: 306-664-1161 Saskatoon Toll-Free: 877-727-5669 (877-SASKNOW) North America To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message