Re: NFS v2? possible?

2003-11-09 Thread Chad Leigh -- Shire.Net LLC
Thanks!

Chad

On Nov 9, 2003, at 7:58 PM, Kris Kennaway wrote:
OK, so it was a manpage listed in the cross-references..see mountd.

Kris
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NFS v2? possible?

2003-11-09 Thread Tillman Hodgson
On Sun, Nov 09, 2003 at 07:48:53PM -0700, Chad Leigh -- Shire.Net LLC wrote:
 
 On Nov 9, 2003, at 4:28 AM, Kris Kennaway wrote:
 
  On Sun, Nov 09, 2003 at 01:33:23AM -0700, Chad Leigh -- Shire.Net LLC 
  wrote:
  Hi
 
  I have a linux server that needs to mount my FBSD server's web volume
  and the linux server only has v2 support right now (and I cannot make
  my own kernel since this is a UML kernel distributed as part of a
  product) and so I would like to run a v2 compatible nfs server on my
  FBSD server if possible.  Can I do this?  How?  Thanks
 
  Read the mount_nfs and/or nfsd manpages..the answer is right there.
 
 The mount_nfs is for mounting on FreeBSD.  I am serving from FreeBSD 
 and mounting on Linux, so that does not apply.  I read the nfsd man 
 page a few time before posting, and just did again, and I see nothing 
 in their about nfs versions except that the server listens on the port 
 as outlined in thge NFS v3 spec.  Please enlighten me on what I should 
 read in the nfsd man page.

The client needs to request the mount version. Check the Linux man page
for `mount`, under the Mount options for nfs section. man nfs(5) is
also informative.

It looks like the default for Linux NFS clients (at least on a fairly
recent RedHat box) is to use version 2.

As root, I just did the following on the RedHat client (served by my
4-STABLE NFS server, Athena):

# mount -t nfs -o nfsvers=2 athena:/exports/pub test

I then tested the results by running mount (results trimmed to only
relevant examples ... warning, the lines are long and may wrap):

# mount
athena:/exports/pub on /nfs/pub type nfs 
(rw,noexec,nosuid,nodev,mountvers=3,hard,intr,nolock,udp,wsize=8192,rsize=8192,addr=192.168.23.3)
athena:/exports/pub on /home/tillman/tmp/test type nfs (rw,nfsvers=2,addr=192.168.23.3)

The first line is my regular mount of the 'pub' export from Athena. It's
NFS version 3 because that's what I have in my /etc/fstab. The second
line is my 'test' mount of the same export ... it's NFSv2 because that
what I explicitly requested at the command line when running mount
manually (as shown above).

It's the same nfsd on the server side. I didn't do anything specify to
enable NFS version 2, my rc.conf entry says nfs_server_flags=-u -t -n
14 (the 14 is because it's a high-usage NFS server and my testing shows
that I consistently peak at around 12-14 nfsd's in use). You just have
to have the client request that version.

-T


-- 
One day, a student asked a master, Master, there is conflict between the
suits and the sysadmins. Which group has the Zen nature, and which group is
grieviously disturbing the stillness of the Tao? And the master said nothing,
but installed an operating system. And the student was enlightened. 
- A.S.R. quote (Anthony DeBoer)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NFS v2? possible?

2003-11-09 Thread Chad Leigh -- Shire.Net LLC
On Nov 9, 2003, at 8:03 PM, Dan Nelson wrote:
You can disable NFSv3 with the -2 option to mountd, but if you have to
do that, then your Linux distro is extremely broken and you should have
your vendor fix it.
Yes, thanks.  I am just trying to figure out the behavior of it and 
wanted to try that to see if it improved things.

Thanks
Chad
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ok, i give up; how acroread in mozilla???

2003-11-09 Thread parv
in message [EMAIL PROTECTED],
wrote Alex de Kruijff thusly...

 On Sat, Nov 08, 2003 at 02:45:01PM -0800, Gary Kline wrote:
 
  People,
 
  Setting up netscape to use realplayer and acroread took
  awhile but I finally got it.  I've been using mozilla
  more and more, but still haven't figured out howto get
  it to successfully spawn acroread.

 The online FreeBSD handbook has a chapter about brouwsers. I think it
 also contains how to do this.

Acroread comes up as desired in mozilla 1.5b  netscape navigator
4.8 when...

  - in ~/.mailcap i have...

  application/pdf; acroread %s


  - in netscape's Navigator-Application Helpers ...

  MIMEType: application/pdf
  Suffiexes: pdf

  Handled By-Application: acroread %s


and, similarly for mozilla (Navigator-Helper Applications).


I forgot if i had manually set the above settings or
mozilla/netscape just read ~/.mailcap  adjusted themselves.


  - Parv

--

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Mouse pointer problems in X

2003-11-09 Thread Eric F Crist
Hey all,

I recently changed my mouse from a Trackball explorer (7 buttons, w/wheel) to 
a wireless keyboard and mouse.  Now, in X windows, my pointer is about 8 
pixels to the right of where it's actually selected, if this makes sense.  It 
makes things difficult when you get many small buttons or checkboxes 
together.

I've googled and I can't find anything.  'Pointers' would help, haha.

TIA
-- 
Eric F Crist
AdTech Integrated Systems, Inc
(952) 403-9000


pgp0.pgp
Description: signature


Re: NFS v2? possible?

2003-11-09 Thread Chad Leigh -- Shire.Net LLC
On Nov 9, 2003, at 8:09 PM, Tillman Hodgson wrote:
It's the same nfsd on the server side. I didn't do anything specify to
enable NFS version 2, my rc.conf entry says nfs_server_flags=-u -t -n
14 (the 14 is because it's a high-usage NFS server and my testing 
shows
that I consistently peak at around 12-14 nfsd's in use). You just have
to have the client request that version.



My Linux is now mounting the FreeBSD served mounts, but it takes like 
10 minutes for the mount to happen.  The exports is simple

/local/web   -maproot=root  and an address to allow mounting from

The nfsd is the standard set of options as is the portmapper and mountd 
(mountd is -2r right now as a test though I am not sure that made a 
difference)

I am not up and how to debug nfs problems.  I would appreciate pointers 
on seeing why it takes forever.

thanks
Chad
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ok, i give up; how acroread in mozilla???

2003-11-09 Thread Gary Kline
On Sun, Nov 09, 2003 at 10:15:58PM -0500, parv wrote:
 in message [EMAIL PROTECTED],
 wrote Alex de Kruijff thusly...
 
  On Sat, Nov 08, 2003 at 02:45:01PM -0800, Gary Kline wrote:
  
 People,
  
 Setting up netscape to use realplayer and acroread took
 awhile but I finally got it.  I've been using mozilla
 more and more, but still haven't figured out howto get
 it to successfully spawn acroread.
 
  The online FreeBSD handbook has a chapter about brouwsers. I think it
  also contains how to do this.
 
 Acroread comes up as desired in mozilla 1.5b  netscape navigator
 4.8 when...
 
   - in ~/.mailcap i have...
 
   application/pdf; acroread %s
 

[[ ... ]]

Maybe I should reinstall and *hope*.  I'm running
linux-mozilla-devel-1.5RC2.  

In my ~/.mailcap is::

###application/pdf;/usr/local/bin/acroread %s  /dev/null 21
application/pdf;/usr/local/bin/acroread %s

The reasn for the full pathname above is that when I
first tried to read a .pdf file, the ERROR was that 
l-m-d couldn't find aacroread.  

thanks for your help,

gary

 

-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NFS v2? possible?

2003-11-09 Thread Tillman Hodgson
On Sun, Nov 09, 2003 at 08:49:58PM -0700, Chad Leigh -- Shire.Net LLC wrote:
 My Linux is now mounting the FreeBSD served mounts, but it takes like 
 10 minutes for the mount to happen.  The exports is simple
 
 /local/web   -maproot=root  and an address to allow mounting from
 
 The nfsd is the standard set of options as is the portmapper and mountd 
 (mountd is -2r right now as a test though I am not sure that made a 
 difference)
 
 I am not up and how to debug nfs problems.  I would appreciate pointers 
 on seeing why it takes forever.

For that sort of problem, I'd check your name resolution first.

-T


-- 
Your system does not appear to have GTK installed. Thus the Nmap X
Front End will not compile. You should still be able to use Nmap the
normal way (via text console). GUIs are for wimps anyway :)
- Error message seen while compiling nmap-fe
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ok, i give up; how acroread in mozilla???

2003-11-09 Thread Gary Kline
On Sun, Nov 09, 2003 at 08:17:04PM -0800, Gary Kline wrote:
 On Sun, Nov 09, 2003 at 10:15:58PM -0500, parv wrote:
  in message [EMAIL PROTECTED],
  wrote Alex de Kruijff thusly...
  
   On Sat, Nov 08, 2003 at 02:45:01PM -0800, Gary Kline wrote:
   
People,
   
Setting up netscape to use realplayer and acroread took
awhile but I finally got it.  I've been using mozilla
more and more, but still haven't figured out howto get
it to successfully spawn acroread.
  
   The online FreeBSD handbook has a chapter about brouwsers. I think it
   also contains how to do this.
  
  Acroread comes up as desired in mozilla 1.5b  netscape navigator
  4.8 when...
  
- in ~/.mailcap i have...
  
application/pdf; acroread %s
  
 
   [[ ... ]]
 
   Maybe I should reinstall and *hope*.  I'm running
   linux-mozilla-devel-1.5RC2.  
 
   In my ~/.mailcap is::
 
   ###application/pdf;/usr/local/bin/acroread %s  /dev/null 21
   application/pdf;/usr/local/bin/acroread %s
 
   The reasn for the full pathname above is that when I
   first tried to read a .pdf file, the ERROR was that 
   l-m-d couldn't find aacroread.  
 

Sorry for reposting atop my last post, but I just added the
full pathname to the Helper Applications filetypes window.
Now, no more errors, but  acroread disappears almost 
instantly once the pdf file is saved to the Cache.  I can
use acroread to read the pdf file by-hand.  Strange... .

gary



-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NFS v2? possible?

2003-11-09 Thread Chad Leigh -- Shire.Net LLC
On Nov 9, 2003, at 9:21 PM, Tillman Hodgson wrote:

For that sort of problem, I'd check your name resolution first.
I'll check it again, as that was an issue at one time.

Thanks
Chad
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NFS v2? possible?

2003-11-09 Thread Chad Leigh -- Shire.Net LLC
On Nov 9, 2003, at 9:56 PM, Chad Leigh -- Shire.Net LLC wrote:

On Nov 9, 2003, at 9:21 PM, Tillman Hodgson wrote:

For that sort of problem, I'd check your name resolution first.
I'll check it again, as that was an issue at one time.

It seems to be ok.  I don't know what the problem is, but it seems to 
be on the Linux end as I run mountd and portmap with verbose debugging, 
as appropriate to each, and mountd immediately returns a mount 
successful but Liunx take 10 minutes to return from the mount command.

Thanks all for the help.  I'll go find a Linux forum to ask dumb 
questions on :-)
Chad

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: build of cyrus-sasl2-saslauthd fails

2003-11-09 Thread Per olof Ljungmark
Per olof Ljungmark wrote:
4.9-RELEASE

Building from ports tree fails with:

cc -DHAVE_CONFIG_H 
-DSASLAUTHD_CONF_FILE_DEFAULT=\/usr/local/etc/saslauthd.conf\ -I. -I. 
-I.. -I./include -I../include  -I/usr/include  -Wall -W -Wall -O -pipe 
-c md5.c
cc  -Wall -W -Wall -O -pipe -L/usr/local/lib -R/usr/local/lib -L/usr/lib 
-L/usr/lib -o saslauthd  mechanisms.o auth_dce.o auth_getpwent.o 
auth_krb5.o  auth_krb4.o auth_pam.o auth_rimap.o auth_shadow.o 
auth_sia.o  auth_sasldb.o lak.o auth_ldap.o cache.o utils.o ipc_unix.o 
ipc_doors.o  saslauthd-main.o md5.o -lgssapi_krb5 -lkrb5 -lk5crypto 
-lcom_err  -lcrypt ../sasldb/.libs/libsasldb.al -lpam
/usr/libexec/elf/ld: cannot find -lgssapi_krb5
*** Error code 1

Stop in 
/usr/ports/security/cyrus-sasl2-saslauthd/work/cyrus-sasl-2.1.15/saslauthd.
*** Error code 1

Stop in /usr/ports/security/cyrus-sasl2-saslauthd.
Never mind, I was just in the wrong place, sorry.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


simpliest way to calculate octal?

2003-11-09 Thread Zhang Weiwu
Hello. Pretty newbie question again:)

Today I found I cannot calculate what is the octal form of 0xa04e.

First I thought xcalc should do the work, but it seems only deal with 
decimal.

I have perl, tcsh, python interprater. It is likely that they are all 
capable of this kind, but what are the commands for them? What's the most 
convenient way?

_
 MSN Explorer:   http://explorer.msn.com/lccn  

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NFS v2? possible?

2003-11-09 Thread Miguel Mendez
On Sun, 9 Nov 2003 22:32:38 -0700
Chad Leigh -- Shire.Net LLC [EMAIL PROTECTED] wrote:

Hi,

 It seems to be ok.  I don't know what the problem is, but it seems to 
 be on the Linux end as I run mountd and portmap with verbose
 debugging, as appropriate to each, and mountd immediately returns a
 mount successful but Liunx take 10 minutes to return from the mount
 command.

You probably want to use the 'nolock' option in Linux, that solved it
from me.

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: buildworld error

2003-11-09 Thread Jason
Ok, here is the last section of output and the error.  After this if I 
do ethier gzip command I get an error, but if I enter the makeinfo 
commands first the gzip command then works.  Could this be some kind of 
schedualling problem because  I normally use the command $time make -j4 
buildworld.  But it always stops at this point, so it must be something 
specific to the cvs/doc files.  I have emailed the maintiner listed in 
the make files and have gotten no response.  Anyone else have this 
experience?
Thanks,
Jason

=== gnu/usr.bin/cvs/doc
makeinfo --no-split -I /usr/src/gnu/usr.bin/cvs/doc -I 
/usr/src/gnu/usr.bin/cvs/doc/../../../../contrib/cvs/doc 
/usr/src/gnu/usr.bin/cvs/doc/../../../../contrib/cvs/doc/cvs.texinfo  -o 
cvs.info
makeinfo --no-split -I /usr/src/gnu/usr.bin/cvs/doc -I 
/usr/src/gnu/usr.bin/cvs/doc/../../../../contrib/cvs/doc 
/usr/src/gnu/usr.bin/cvs/doc/../../../../contrib/cvs/doc/cvsclient.texi  
-o cvsclient.info
gzip -cn cvsclient.info  cvsclient.info.gz
gzip -cn cvs.info  cvs.info.gz
1 error
*** Error code 2
1 error
*** Error code 2
1 error

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: buildworld error

2003-11-09 Thread Kris Kennaway
On Sun, Nov 09, 2003 at 07:32:57PM -0500, Jason wrote:
 Ok, here is the last section of output and the error.  After this if I 
 do ethier gzip command I get an error, but if I enter the makeinfo 
 commands first the gzip command then works.  Could this be some kind of 
 schedualling problem because  I normally use the command $time make -j4 
 buildworld.  But it always stops at this point, so it must be something 
 specific to the cvs/doc files.  I have emailed the maintiner listed in 
 the make files and have gotten no response.  Anyone else have this 
 experience?
 Thanks,
 Jason

Don't use -j when posting buildworld errors, because they are obscured
amongst other output.  Please retry without -j and post the actual
error.

Kris


pgp0.pgp
Description: PGP signature


<    1   2