From owner-freebsd-questions Tue Jul 21 14:27:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA17663 for freebsd-questions-outgoing; Tue, 21 Jul 1998 14:27:31 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA17603 for ; Tue, 21 Jul 1998 14:27:20 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.5/8.8.8) with SMTP id OAA29433; Tue, 21 Jul 1998 14:26:57 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Tue, 21 Jul 1998 14:26:56 -0700 (PDT) From: Doug White To: Kevin Kyeong-il CHOI cc: freebsd-questions@FreeBSD.ORG Subject: Re: How can I install NFS on FreeBSD ? In-Reply-To: <000401bdb4a8$d0eadc00$52099584@pc-choi.cst.cnes.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 21 Jul 1998, Kevin Kyeong-il CHOI wrote: > Hello everyone. > > I just installed FreeBSD 2.2.6 on my PC 486 DX4-100. > It works great, but I have couple of problems with my network. > Can anyone resolve these please.... :) > > (1) Network printing. > On the network, there is a HP LaserJet IIIsi Postscript, > which is connected as 132.149.9.39 and works alone. > How can I print from my FreeBSD machine which has > 132.149.9.86 as its IP address ? Sure; I do it all the time. > I tried with the following entry in /etc/printcap, but > the printer gave me only 3 lines printed for whatever the > file I sent onto (.ps, .txt or anything). These 3 lines are > +-----------------------------------------------------+ > | User: root | > | Host: pc-freebsd.cst.cnes.fr | > | Class: pc-freebsd.cst.cnes.fr | > | Job: tcpext.ps | > | | > +-----------------------------------------------------+ Standard JetDirect banner ... > For this, I made the printcap as follows; > +-----------------------------------------------------+ > | hp3si|pcl|laserjet|Hewlett Packard LaserJet 3Si:\ | > | :lp=raw@hp-lj3si%9100:\ | > | :sh:\ | > | :sd=/var/spool/output/hp3si: | > +-----------------------------------------------------+ > > In addition, this is done with LPRng 3.4.1, with or without, > the result is same. Send text output to `text@printer' and everything else to `lp@printer'. > (2) NFS mounting. > I want to use this machine as NFS server. > When I see the doc for NFS in FreeBSD handbook, it's just > a little bit ambiguious for me to understand. > Can anyone tell me a step by step guide for the installation > of NFS server and of client as well please. The easiest way is to enable the server in /etc/rc.conf, then read the exports(5) manpage on how to set up the /etc/exports file to define the filesystems available for mounting. Then restart the system and your filesystems should be available. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message