Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jul 1998 14:26:56 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        Kevin Kyeong-il CHOI <kevin.choi@cnes.fr>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: How can I install NFS on FreeBSD ?
Message-ID:  <Pine.BSF.4.00.9807211424480.8360-100000@resnet.uoregon.edu>
In-Reply-To: <000401bdb4a8$d0eadc00$52099584@pc-choi.cst.cnes.fr>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.00.9807211424480.8360-100000>