RE: nfs cache

2004-04-16 Thread Henning, Brian


-Original Message-
From: Dan Nelson [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 16, 2004 11:34 AM
To: Brian Henning
Cc: [EMAIL PROTECTED]
Subject: Re: nfs cache


In the last episode (Apr 16), Brian Henning said:
 I am trying to get some info on the cache for nfs on the nfs client. I

 have looked at nfsstat
 
 where are the settings located for the nfs cache?

I think they're just part of the system's regular disk cache, except for
the sysctl below.
 
 the setattr percentages are really high on this server. The is the 
 main reason i want to know what is going on with the cache.

Getattr, you mean?  That just means that the client has stat()'ed a file
twice within the timeout specified by the vfs.nfs.access_cache_timeout
sysctl, and has pulled the value from its cache instead of querying the
server.

 Version 2: (185583924 calls)
 null  getattr   setattr   root  lookup
 0 0%  175265837 94% 66975 0%  0 0%  6407008 3%

So here, 94% of the getattr calls were pulled from cache.

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

Dan,
Sorry, you were right I did mean getattr.
Just curious, does this mean that 94% of the NFS calls made, where
getattr() calls (175265837/185583924 = .944)?
Thanks,

Brian



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


RE: cannot find windows driver for nic, please help

2004-03-25 Thread Henning, Brian
-Original Message-
From: Malcolm Kay [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 25, 2004 5:05 AM
To: Brian H; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: cannot find windows driver for nic, please help


On Thursday 25 March 2004 15:35, Brian H wrote:
 Greetings Bill,

 I own a linksys WMP11 with the following chipset.
 vendor   = 'Broadcom Corporation'
 device   = 'BCM4301 802.11b IEEE 802.11b WLAN client chipset'
 class= network

 I am trying to get it working in freebsd 5.2.1, so i figured I could 
 just goto the linksys website and download the windows driver.

 http://www.linksys.com/products/product.asp?grid=33scid=36prid=196

 the problem is the driver contains the bcmwl5.sys file, but it does 
 not contain the bcmwl5.ini file.


 You have me totally confused or am I missing something? How does a
windows 
 driver help you with freebsd 5.2.1 ?

 Malcolm


Project Evil (aka the NDISulator) is a special binary compatibility
layer for the FreeBSD kernel that lets you use Windows NDIS drivers
for network adapters with FreeBSD 5.2.1

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


RE: du

2004-03-16 Thread Henning, Brian
The only reason why I question it is when I lookup the size in windows
(the directory is shared with samba) I see it as less.
From bsd: 390 /home/henninb/jpg
From windows: 372KB windows

Is it because of the share or the change in platform?

thanks

-Original Message-
From: Matthew Seaman [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 16, 2004 11:33 AM
To: Chris
Cc: [EMAIL PROTECTED]
Subject: Re: du


On Tue, Mar 16, 2004 at 10:55:33AM -0600, Chris wrote:
 On Tuesday 16 March 2004 10:53 am, Chris wrote:
  On Tuesday 16 March 2004 10:51 am, Brian Henning wrote:
   does du return the size in KB by default?
   thanks
 
  You can try du -h
  That's listed in man du
 
 Sorry - I forgot to answer - Yes

Actually the answer is 'no, but...' -- by default du tells you the size
in disk blocks, ie. multiples of 512b.  However, the standard
/etc/login.conf on FreeBSD causes the environment setting:

BLOCKSIZE=K

to be made, causing all the numbers du outputs (unless told otherwise on
the command line) to appear in kilobytes.  This is all quite clearly
explained in the du(1) man page.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: qmail error

2004-03-01 Thread Henning, Brian
Chuck,
This is what I have.

~/.qmail

./Maildir/

drw-r--r--  6 root  wheel  512 Mar  1 13:01 /root/Maildir

This is how I send the email.
echo to: root | /var/qmail/bin/qmail-inject

Thanks,

brian
 

-Original Message-
From: Charles McManis [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 01, 2004 3:48 PM
To: Brian Henning; [EMAIL PROTECTED]
Subject: Re: qmail error


The protections are wrong on the mail directory. Qmail is very picky
about 
those. I believe they have to be 600 or 644. See the install docs for 
details.

Alternatively the Maildir might not exist, what is in the .qmail file of
that 
user?

--Chuck

On Monday 01 March 2004 11:58, Brian Henning wrote:
 Greetings:

 I get the following error in my mailog:
  /usr/local/qmailanalog/bin/matchup  /var/log/maillog

 #deferral: Unable_to_chdir_to_maildir._(#4.2.1)/

 Any thougts on howto resolve this?

 Thanks,

 Brian

  /var/qmail/bin/qmail-showctl

 qmail home directory: /var/qmail.
 user-ext delimiter: -.
 paternalism (in decimal): 2.
 silent concurrency limit: 120.
 subdirectory split: 23.
 user ids: 81, 82, 83, 0, 84, 85, 86, 87.
 group ids: 81, 82.

 badmailfrom: (Default.) Any MAIL FROM is allowed.

 bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.

 bouncehost: (Default.) Bounce host name is patriot.lotr.com.

 concurrencylocal: (Default.) Local concurrency is 10.

 concurrencyremote: (Default.) Remote concurrency is 20.

 databytes: (Default.) SMTP DATA limit is 0 bytes.

 defaultdomain: Default domain name is lotr.com.

 defaulthost: (Default.) Default host name is patriot.lotr.com.

 doublebouncehost: (Default.) 2B recipient host: patriot.lotr.com.

 doublebounceto: (Default.) 2B recipient user: postmaster.

 envnoathost: (Default.) Presumed domain name is patriot.lotr.com.

 helohost: (Default.) SMTP client HELO host name is patriot.lotr.com.

 idhost: (Default.) Message-ID host name is patriot.lotr.com.

 localiphost: (Default.) Local IP address becomes patriot.lotr.com.

 locals:
 Messages for patriot.lotr.com are delivered locally.

 me: My name is patriot.lotr.com.

 percenthack: (Default.) The percent hack is not allowed.

 plusdomain: Plus domain name is lotr.com.

 qmqpservers: (Default.) No QMQP servers.

 queuelifetime: (Default.) Message lifetime in the queue is 604800 
 seconds.

 rcpthosts:
 SMTP clients may send messages to recipients at patriot.lotr.com.

 morercpthosts: (Default.) No effect.

 morercpthosts.cdb: (Default.) No effect.

 smtpgreeting: (Default.) SMTP greeting: 220 patriot.lotr.com.

 smtproutes: (Default.) No artificial SMTP routes.

 timeoutconnect: (Default.) SMTP client connection timeout is 60 
 seconds.

 timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.

 timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.

 virtualdomains: (Default.) No virtual domains.

 defaultdelivery: I have no idea what this file does. 
 ___
 [EMAIL PROTECTED] mailing list 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]

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


RE: procmail

2004-02-27 Thread Henning, Brian
I tried removing everything in my recipes file, but that didn't work.
Any more thoughts?

Thanks,

brian

-Original Message-
From: albi [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 27, 2004 3:24 PM
To: [EMAIL PROTECTED]
Subject: Re: procmail


On Fri, 27 Feb 2004 14:56:50 -0600
Brian H [EMAIL PROTECTED] wrote:


 I am trying to get procmail to send email to my Maildir in my home
 directory, but
 it keeps putting it in /var/mail/henninb. I am sure I just missed a
 setting, can someone help point it out. here is how everything is
 setup currently.
-- cut for brevity --
 ~/.pmdir cat recipes
 :0:
 * ^FROM:.*(aol.com|spamsenders)
 /dev/null
 
 :0:
 Inbox/
 
 cat .qmail
 |preline /usr/bin/procmail -t ~/.procmailrc || exit 111
 
 
 cat .procmailrc
 VERBOSE=on
 MAILDIR=$HOME/Maildir/
 PMDIR=$HOME/.pmdir
 LOGFILE=$PMDIR/log

here's an example with postfix + procmail (looks like you should remove
the :0: Inbox lines :

$ less .forward 
|/usr/bin/procmail

$ less .procmailrc
VERBOSE=off
SHELL=/bin/sh
DEFAULT=$HOME/Maildir/
ORGMAIL=$HOME/Maildir/
MAILDIR=$HOME/Maildir/
PMDIR=$HOME/.procmail
LOGFILE=$PMDIR/log

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


RE: procmail

2004-02-27 Thread Henning, Brian
Hey Gary,

I gave that a try. 
echo ./Maildir/  /var/qmail/control/defaultdelivery
When I run:
gotmail --use-procmail --procmail-bin `which procmail` -u b1henning -p
password

It delivers in the mbox instead of the Maildir.
I tried you recipie changes you sugested and the .procmailrc changes.

Any other thoughts,

Thanks for the help,

Brian


-Original Message-
From: Gary [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 27, 2004 4:54 PM
To: FreeBSD
Subject: RE: procmail


Hi Brian,

--On Friday, February 27, 2004 04:36:51 PM -0600 Henning, Brian 
[EMAIL PROTECTED] wrote:

  cat /var/qmail/control/defaultdelivery
 cat: /var/qmail/control/defaultdelivery: No such file or directory

 Do I need to put maildir in here or something?

Yes, you need to tell qmail what type of mailbox system you have. It
will 
not deliver to Maildir if you do not have it..

I am assuming you have a stock setup of qmail with a /var/qmail/control
dir 
in place..

just make a defaultdelivery file in the control dir, and put in
./Maildir/ 
into it, to have a Maildir format..


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


RE: ntpd

2004-02-25 Thread Henning, Brian
-rw-r--r--  1 root  wheel  0 Feb 25 09:01 /etc/ntp.drift
The /etc/ntp.drift file is empty

What is the drift file for exactly? 
Why does it take up to two hours to sync? I am trying to do everything
local?

Thanks for your help.

brian


-Original Message-
From: Remko Lodder [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 25, 2004 12:41 PM
To: Brian H; [EMAIL PROTECTED]
Subject: RE: ntpd


Hi,

what's in the ntpd.drift file?
What are the permissions on the file (to be sure)

With my NTP server it takes a while for it to be synchronised. Perhaps
wait an hour or 2 and try again to sync, Cheers.


--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl Dutch community for helping newcomers on the
hackerscene

mrtg.grunn.org Dutch mirror of MRTG

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Brian H
Verzonden: woensdag 25 februari 2004 19:33
Aan: [EMAIL PROTECTED]
Onderwerp: ntpd


Greetings:
I am trying to setup my bsd box as a ntp server.
I basically want all machines on my local network to
sync times with this bsd time server. I start the server
with the command `ntpd -A -l /var/log/ntpd.log`. I verify
that the server is running with ps and `netstat -na | grep udp`, but
when I look in the logs i see the following

/var/log/ntpd.log

ntpd 4.1.0-a Mon Oct 27 14:55:18 GMT 2003 (1)
kernel time discipline status 2040
Un-parsable frequency in /etc/ntp.drift


Any thoughts on what I can do to get this server working.
when i try to sync from another machine on the network
I get the following error: no servers can be used, exiting.

Thanks,

Brian


setup
-
#i am not sure if i need to add anything to this ntp.drift file or not
touch /etc/ntp.drift touch /etc/ntp.conf

/etc/ntp.conf
-
driftfile /etc/ntp.drift
#bsd time server
server 192.168.0.3

_
Take off on a romantic weekend or a family adventure to these great U.S.
locations. http://special.msn.com/local/hotdestinations.armx

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

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


RE: ntpd

2004-02-25 Thread Henning, Brian
Chris,

I am trying to use the same setup as you have to get ntpd working.

touch /var/db/ntpd.drift

In my rc.conf file I have to use the following
xntpd_enable=YES
xntpd_program=/usr/sbin/ntpd
xntpd_flags=-c /etc/ntp.conf
xntpd_flags=-p /var/run/ntpd.pid -f /var/db/ntpd.drift


These didn't work for some reason.
ntpd_enable=YES
ntpd_program=/usr/sbin/ntpd
ntpd_flags=-c /etc/ntp.conf
ntpd_flags=-p /var/run/ntpd.pid -f /var/db/ntpd.drift

I am able to get the server started but, I still get the two error
messages in my log file.
kernel time discipline status 2040
Un-parsable frequency in /var/db/ntpd.drift


Is this because I have to let the server sit for a couple of hours to
sync with.
server time.nist.gov
server timekeeper.isi.edu


When I type:
ntpdate -u time.nist.gov  #my system clock is updated

When I type:
ntpdate time.nist.gov
25 Feb 14:22:32 ntpdate[254]: the NTP socket is in use, exiting


Any thoughts,

brian

-Original Message-
From: Chris [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 25, 2004 12:40 PM
To: [EMAIL PROTECTED]
Subject: Re: ntpd


On Wednesday 25 February 2004 12:33 pm, Brian H wrote:
 Greetings:
 I am trying to setup my bsd box as a ntp server.
 I basically want all machines on my local network to
 sync times with this bsd time server. I start the server
 with the command `ntpd -A -l /var/log/ntpd.log`. I verify that the 
 server is running with ps and `netstat -na | grep udp`, but when I 
 look in the logs i see the following

 /var/log/ntpd.log
 
 ntpd 4.1.0-a Mon Oct 27 14:55:18 GMT 2003 (1)
 kernel time discipline status 2040
 Un-parsable frequency in /etc/ntp.drift


 Any thoughts on what I can do to get this server working. when i try 
 to sync from another machine on the network I get the following error:

 no servers can be used, exiting.

 Thanks,

 Brian

My /etc/rc.conf looks like this - Compare it to yours.

ntpd_enable=YES  
ntpd_program=/usr/sbin/ntpd
ntpd_flags=-c /etc/ntp.conf
ntpd_flags=-p /var/run/ntpd.pid -f /var/db/ntpd.drift


Perhaps touch ntpd.drift in /var/db/ ?

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


RE: ntpd

2004-02-25 Thread Henning, Brian
When is the drift file created?
I rebooted and it does not exist, should I wait a while as suggested?
Is there anyway I can tell if my setup is correct?

Here is my log file now:
Feb 25 14:58:26 patriot ntpd[90]: ntpd 4.1.0-a Mon Oct 27 14:55:18 GMT
2003 (1)
Feb 25 14:58:26 patriot ntpd[90]: kernel time discipline status 2040

Thanks,

brian

-Original Message-
From: Jason Lixfeld [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 25, 2004 2:32 PM
To: Henning, Brian
Cc: Chris; [EMAIL PROTECTED]
Subject: Re: ntpd


kill ntpd, delete the drift file and restart.

On Feb 25, 2004, at 3:25 PM, Henning, Brian wrote:

 Chris,

 I am trying to use the same setup as you have to get ntpd working.

 touch /var/db/ntpd.drift

 In my rc.conf file I have to use the following xntpd_enable=YES
 xntpd_program=/usr/sbin/ntpd
 xntpd_flags=-c /etc/ntp.conf
 xntpd_flags=-p /var/run/ntpd.pid -f /var/db/ntpd.drift


 These didn't work for some reason.
 ntpd_enable=YES
 ntpd_program=/usr/sbin/ntpd
 ntpd_flags=-c /etc/ntp.conf
 ntpd_flags=-p /var/run/ntpd.pid -f /var/db/ntpd.drift

 I am able to get the server started but, I still get the two error
 messages in my log file.
 kernel time discipline status 2040
 Un-parsable frequency in /var/db/ntpd.drift


 Is this because I have to let the server sit for a couple of hours to
 sync with.
 server time.nist.gov
 server timekeeper.isi.edu


 When I type:
 ntpdate -u time.nist.gov  #my system clock is updated

 When I type:
 ntpdate time.nist.gov
 25 Feb 14:22:32 ntpdate[254]: the NTP socket is in use, exiting


 Any thoughts,

 brian

 -Original Message-
 From: Chris [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, February 25, 2004 12:40 PM
 To: [EMAIL PROTECTED]
 Subject: Re: ntpd


 On Wednesday 25 February 2004 12:33 pm, Brian H wrote:
 Greetings:
 I am trying to setup my bsd box as a ntp server.
 I basically want all machines on my local network to
 sync times with this bsd time server. I start the server
 with the command `ntpd -A -l /var/log/ntpd.log`. I verify that the
 server is running with ps and `netstat -na | grep udp`, but when I
 look in the logs i see the following

 /var/log/ntpd.log
 
 ntpd 4.1.0-a Mon Oct 27 14:55:18 GMT 2003 (1)
 kernel time discipline status 2040
 Un-parsable frequency in /etc/ntp.drift


 Any thoughts on what I can do to get this server working. when i try
 to sync from another machine on the network I get the following
error:

 no servers can be used, exiting.

 Thanks,

 Brian

 My /etc/rc.conf looks like this - Compare it to yours.

 ntpd_enable=YES
 ntpd_program=/usr/sbin/ntpd
 ntpd_flags=-c /etc/ntp.conf
 ntpd_flags=-p /var/run/ntpd.pid -f /var/db/ntpd.drift


 Perhaps touch ntpd.drift in /var/db/ ?

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

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


RE: ntpd

2004-02-25 Thread Henning, Brian
ntpq -c peer

 remote   refid  st t when poll reach   delay   offset
jitter

==
+time.nist.gov   .ACTS.   1 u   26   64  377   51.856  -41.364
20.284
*timekeeper.isi. .GPS.1 u   27   64  377   64.875  -25.463
20.041

I am assuming this is what you mean.
It looks like it is working.


-Original Message-
From: Carlos A. Carnero Delgado [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 25, 2004 3:09 PM
To: [EMAIL PROTECTED]
Subject: Re: ntpd


Hello,

On Wednesday 25 February 2004 04:03, Henning, Brian wrote:
 When is the drift file created?

Mine appeared a couple of hours after I set up NTP.

 I rebooted and it does not exist, should I wait a while as suggested? 
 Is there anyway I can tell if my setup is correct?

check NTP's peer status.

Best regards,
Carlos.

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


email

2002-07-15 Thread Henning, Brian

Hello-
I want to be able to send email outside my network using pine or just
regular mail. Right now I can only send email to users on my local network.
What do I need to do to sendmail to get it to send mail outside my network?
thanks,
brian

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message