the mount command is clearly destined to fail unless you add another line with network=10.0.1 or you change the mask to mask=255.255.0.0
-- Todd Fries .. [EMAIL PROTECTED] _____________________________________________ | \ 1.636.410.0632 (voice) | Free Daemon Consulting, LLC \ 1.405.227.9094 (voice) | http://FreeDaemonConsulting.com \ 1.866.792.3418 (FAX) | "..in support of free software solutions." \ 250797 (FWD) | \ \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ 37E7 D3EB 74D0 8D66 A68D B866 0326 204E 3F42 004A http://todd.fries.net/pgp.txt Penned by Gregorio Arvilla on 20080417 16:00.19, we have: | Hi There, | | I'm trying to use NFS on OpenBSD 4.2 but I'm getting permission errors. | Here are the contents of the exports file: | | # $OpenBSD: exports,v 1.2 2002/05/31 08:15:44 pjanzen Exp $ | # | # NFS exports Database | # See exports(5) for more information. Be very careful: | misconfiguration | # of this file can result in your filesystems being readable by the | world. | /public_nfs -alldirs -ro -network=10.0.0 -mask=255.255.255.0 | | | Here are the contents of the rc.conf.local file: | | ntpd_flags= # enabled during install | nfs_server=YES | portmap=YES | | | And here are the contents of hosts file: | | # $OpenBSD: hosts,v 1.11 2002/09/26 23:35:51 krw Exp $ | # | # Host Database | # | # RFC 1918 specifies that these networks are "internal". | # 10.0.0.0 10.255.255.255 | # 172.16.0.0 172.31.255.255 | # 192.168.0.0 192.168.255.255 | # | ::1 localhost.epvgroup localhost | 127.0.0.1 localhost.epvgroup localhost | ::1 lappc2.epvgroup lappc2 | 127.0.0.1 lappc2.epvgroup lappc2 | 10.10.1.232 epv2.epvgroup.com epv2 | | >From the 10.10.1.232 machine I'm trying to mount the /public_nfs | directory, here is | the command and the output: | | [EMAIL PROTECTED] greg]# mount -t nfs 10.10.1.110:/public_nfs /home/greg/mnt | mount: 10.10.1.110:/public_nfs failed, reason given by server: | Permission denied | [EMAIL PROTECTED] greg]# | | | I'm wondering if you can tell me what settings do I have to modify to | give permissions | to mount the directory. | | Thank You | | Greg