Re: Resolution too high with 7-RC1, nVidia, xorg

2008-01-02 Thread Ashish Shukla आशीष शुक्ल
 Xn == Xn Nooby [EMAIL PROTECTED] writes:
Xn Well, after 15 hours of experimenting, I have 1024x768 working!
Xn Getting PreferredMode to work was the main thing, I think.  It was
Xn literally on my last try, before I reinstalled Ubuntu, that I got it
Xn to work, lol.  Maybe these note will be of value to another nooby.

Xn thanks again!

Xn There 3 things that I needed:
Xn 1) A modeline from the Modeline Calculator website
Xn 2) To use the RefreshRate in the PreferredMode option
Xn 3) To use the RefreshRate in the Modes line

Xn Section Monitor
Xn Identifier   Monitor0
Xn VendorName   Monitor Vendor
Xn ModelNameMonitor Model
Xn Modeline [EMAIL PROTECTED] 64.56 1024 1056 1296 1328 768 783 791 807
Xn Option PreferredMode [EMAIL PROTECTED]
Xn EndSection


Xn DefaultDepth 24
Xn SubSection Display
Xn Viewport   0 0
Xn Depth 24
Xn Modes [EMAIL PROTECTED]
Xn EndSubSection

This is great, congrats :).
-- 
Ashish Shukla आशीष शुक्ल  http://wahjava.wordpress.com/
·-- ·-  ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --


pgpU7gHarYvTr.pgp
Description: PGP signature


Re: pIII coppermine?

2008-01-02 Thread LtCdData
On Wednesday 02 January 2008 02:20, Chris Maness wrote:
I have an ABIT VP6 dual socket that I want to use as my FreeBSD server.
I only have one CPU installed, and I was told that if I were to add
another CPU that the serial numbers of the CPU had to be sequential.  Is
this true?  I see these processors on e-bay for $7 it would be nice to
be able to boost the power of this box.

Chris Maness
I have 2 PIII coppermine dual cpu boxes here, neither have sequential numbered 
cpus ... dont worry about it  

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


FreeBSD 7.0 ISO disk3 question

2008-01-02 Thread Predrag Punosevac

Dear All,
I noticed that 7.0 and 6.3 release candidates consist of three iso 
images. What is the content of the ISO disc3. (Additional language 
support or additional packages or something else?)


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


FreeBSD 7.0 ISO disc3 question

2008-01-02 Thread Predrag Punosevac

Dear All,
I noticed that 7.0 and 6.3 release candidates consist of three iso 
images. What is the content of the ISO disc3. (Additional language 
support or additional packages or something else?)


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


Re: Intel 3945 wpi driver doesn't seem to work ('cause of license problems???)

2008-01-02 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

vittorio wrote:

 legal.intel_wpi.license_ack=1 
 
 is in /boot/loader.conf 
 
 BUT
 1)
 it seems that sysctl is unable to find it and I have to set it via 
 kenv legal.intel_wpi.license_ack=1
 
 Shouldn't this variable be set by sysctl or by loader.conf?
 
 2)
 dhclient is unable to get an IP address (trying to set wpi0 up with a fixed 
 IP 
 makes wpi0 not associated to any AP)

Hmmm I have a similar setup.  In my case, it's a Dell D800 using
iwi:

% grep iwi /var/run/dmesg.boot 
iwi0: Intel(R) PRO/Wireless 2200BG mem 0xfafee000-0xfafeefff irq 9 at device 
3.0 on pci2
[...]

and a ZyXEL 660HW router:

 Menu 24.2.1 - System Maintenance - Information

Name: gate.infracaninophile.co.uk
Routing: IP
ZyNOS F/W Version: V3.40(ACI.7) | 10/18/2006
ADSL Chipset Vendor: DMT FwVer: 3.4.1.0_A_TC, HwVer: T14F7_+
Standard: Multi-Mode

However I have no problems setting legal.intel_iwi.license_ack=1
from /boot/loader.conf -- it could be something as stupid as no 
newline at end of file.  Try running 'od -c /boot/loader.conf'
or 'cat -e /boot/loader.conf' to verify.  

On the question of the DHCP service provided by this combination router
and wlan hardware, and indeed the whole performance at providing wireless
lan connectivity -- I'm not particularly impressed.  I'd restart the laptop
and everything would be fine for a few hours, but leave it running
overnight and it would lose the lease and end up without an IPv4 address.
IPv6 addresses autoconfigured with rtadvd and rtsol seem quite a lot more
stable but I've seen every combination of being able or not to ping or
ping6 the laptop from a wired machine.

In the end I found that setting the ZyXEL to do DHCP Relay and running
isc-dhcpd on a FBSD box with the lease times increased as so:

default-lease-time 3600;# 1 hour
max-lease-time 86400;   # 1 day

plus moving the laptop to within about 2m of the ZyXEL seems to have
made quite an improvement.  

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHe1w38Mjk52CukIwRCLkmAJ9VIYUgB1SHW+AUkvE7949OFnlbgACfUf4V
r8g3taRYYcBHLv9GIdOsKmc=
=+AU+
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 7.0 ISO disc3 question

2008-01-02 Thread Manolis Kiagias



Predrag Punosevac wrote:

Dear All,
I noticed that 7.0 and 6.3 release candidates consist of three iso 
images. What is the content of the ISO disc3. (Additional language 
support or additional packages or something else?)


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





The third disk contains packages.
By the way, this page:

http://www.pa.msu.edu/~tigner/bsddvd.html

describes an easy way to create a complete DVD from the CDs to avoid 
disk swapping (assuming you will install packages from the disks)
A FreeBSD machine is used to create the DVD, but the procedure can be 
easily adjusted for Linux. Needs only a minor tweak to accommodate for 
disc3.

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


Re: FreeBSD 7.0 ISO disc3 question

2008-01-02 Thread Predrag Punosevac

Manolis Kiagias wrote:



Predrag Punosevac wrote:

Dear All,
I noticed that 7.0 and 6.3 release candidates consist of three iso 
images. What is the content of the ISO disc3. (Additional language 
support or additional packages or something else?)


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





The third disk contains packages.
By the way, this page:

http://www.pa.msu.edu/~tigner/bsddvd.html

describes an easy way to create a complete DVD from the CDs to avoid 
disk swapping (assuming you will install packages from the disks)
A FreeBSD machine is used to create the DVD, but the procedure can be 
easily adjusted for Linux. Needs only a minor tweak to accommodate for 
disc3.


Thanks a lot for the info and the link. I will use FreeBSD machine to 
create a DVD. No Linux around here :-)

Best,
Predrag

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


RE: corporate backers of freebsd

2008-01-02 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Gary Smithe
 Sent: Monday, December 31, 2007 10:11 AM
 To: freebsd-questions@freebsd.org
 Subject: corporate backers of freebsd


 Good Day All and Happy New Year,

 I'm not looking to incite anyone, but here comes a BSD vs Linux
 question.  Yes, I tried searching the archives and found nothing.

 I used FreeBSD back in 2000 for a few firewalls, but due to certain
 influences I switched to Linux after a couple of years.

 I'm interested in getting back to the BSD's but have just one big concern.

 As most users Unix and it's clones, I prefer the free as in beer
 licensing model, but want to know that someone else is paying the big
 bills.

 In short, here's my question:

 Canonical, RedHat, IBM, Novell, and a slew of others are funding /
 supporting Linux development and pushing some of that development into
 the free community, so that all can benefit from full-time developers
 and the money that supports them.

 I've seen where Cisco and Juniper are using FreeBSD, and assuming
 there are other big names, do they directly fund or contribute to the
 community?


Gary,

  FreeBSD USED TO HAVE a single large corporate sponsor.  Walnut Creek.
Well, while the upside of this is that you have a pot of money that
can be used to fund advertising ventures, fund a position to act as
the public face of the project, etc.  the downside is that this ties
the project to the fortunes of that big money pot.

  When Walnut Creek went downhill it caused a LOT of people who were
using FreeBSD very much consternation.

  This is why today the project basically operates as a completely
distributed project.

  You might as well ask who the corporate sponsor of the Gnutella
network is.  Nobody, and Everybody.  Yet, that network carries
billions of bytes of pirat... I mean, valuable video data, and is
dependended on by many bootleggers.. I mean enterprenuers.  ;-)

  People look at Linux and say how great it is that Linux has RedHat
to make Linux look legitimate to the corporate world.  They forget
that as RedHat is a corporation, it is under a mandate to make a
profit every year.  Well, what happens if the day ever comes that
RedHat starts losing money?  Don't you think that people will suddenly
start thinking that Linux has run out of steam?  I do.

  There is no single corporation that is ever guarenteed to exist
forever, last forever, and remain profitable forever.  History is
littered with large, rich companies that people once upon a time
thought would never ever go out of business - yet they did anyway.

  By contrast, MOVEMENTS in history NEVER run out of steam.  There are
still, today, billions of people dumping billions of dollars every year
into the Catholic Church - despite it's sordid history and current
coverups of pedophiles - and that particular religious movement has been
around more than 2000 years.

  We want to keep FreeBSD operating as a movement.  As long as 1 person
still believes and maintains it, it won't die.  No matter how profitable
or unprofitable it is to run.

Ted

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


Panic on umount -f

2008-01-02 Thread Michael Lednev
Hello, freebsd-questions.

After the following actions:
1. Insert USB Flash
2. mount_msdosfs /dev/da0s1 /mnt
3. Remove USB Flash
4. umount -f /mnt

I have kernel panic every time. Is this a known issue? My system is
FreeBSD 7.0-RC1 from 1.01.2008.

-- 
Best regards,
 Michael  mailto:[EMAIL PROTECTED]

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


Re: Panic on umount -f

2008-01-02 Thread Kris Kennaway

Michael Lednev wrote:

Hello, freebsd-questions.

After the following actions:
1. Insert USB Flash
2. mount_msdosfs /dev/da0s1 /mnt
3. Remove USB Flash
4. umount -f /mnt

I have kernel panic every time. Is this a known issue? My system is
FreeBSD 7.0-RC1 from 1.01.2008.



Yes, long-standing issue with unexpected mounted device removal.  Don't 
do that :)


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


RE: Future development of Jail (was Re: corporate backers of freebsd)

2008-01-02 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Andy Dills
 Sent: Monday, December 31, 2007 5:52 PM
 To: Colin Percival
 Cc: Pollywog; Giorgos Keramidas; freebsd-questions@freebsd.org
 Subject: Future development of Jail (was Re: corporate backers of
 freebsd)


 Over the next 2-3 years, as cheap commodity hardware continues to explode
 with numerous processors with numerous cores and several gigs of memory,
 fast busses and standard multiple gige ports, inexpensive solid state
 disks...down the road I think it will become best common practice
 to setup
 any service on a virtual server, if for no other reason than to abstract
 the operating environment from the hardware to enable greater levels of
 redundancy and to better leverage the unused horsepower of these boxes in
 such a way that doesn't increase exposure and vulnerability.


I don't.  In the entire history of computers every time there has
been a horsepower increase, the normal software that people run
on the system has bloated to consume all available additional horsepower.

What you are doing is akin to saying that since the modern
CPU can virtualize hundreds of 1MB 8086 real-mode sessions
that we ought to be able to run hundreds of instances of
WordPerfect for DOS on a typical modern PC.  Well guess what - WE
COULD!  If someone wrote the software to do it, of course.

In the future I predict that ordinary standard desktop software is
going to require:

numerous processors with numerous cores and several gigs of memory,
fast busses and standard multiple gige ports, inexpensive solid state
disks

as a MINIMUM system configuration, and people will think NOTHING of
it.

Code always bloats to fill all available machine power.

 We seem to be very close to having the ability to completely
 segregate the
 control-plane from the data-plane (using router terminology).

We had that ability with commodity cheap desktop hardware a decade
ago.  But, nobody wrote software to take advantage of the commodity
cheap desktop hardware to do this back then, for the same reasons
that the jail developer lost interest today.

 This is such
 a huge improvement over the status quo that I'm a little bit sad and
 confused why it seems to be such a low priority with the developers. But
 they have their hands full and nobody seems to be driven to steer that
 particular ship.


In short, and don't take it wrongly, your a young pup.  You have not
had the experience with the computer business that someone older
and more jaded has.  Once you have another 20 years under your belt
and you start seeing that it's the same old, same old, you will
understand why this is a pipe dream.

The day will never come that a corporation can go to Kmart and buy
a $299 PC and use it as a server to run their entire 1000 person
operation.  Yet, a $299 commodity PC that you buy from Kmart today,
has about 100 times more power than a mainframe that this same
corporation was using 2 decades ago to run their entire 1000 person
operation.  Using your logic, the sensible thing would be to take
that 20 year old software and run it on the $299 PC today.  Yet,
nobody's doing this.  Think for a while about why this is and you
might begin to understand what is really going on.

Ted

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


Re: Panic on umount -f

2008-01-02 Thread Michael Lednev
Hello, Kris.

On 2 ?? 2008 ?., 14:07:36 you wrote:

KK Yes, long-standing issue with unexpected mounted device removal.  Don't
KK do that :)

Thanks, already found this PR, it's already 5 yo, wow :)

-- 
Best regards,
 Michael  mailto:[EMAIL PROTECTED]

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


Re: Panic on umount -f

2008-01-02 Thread Kris Kennaway

Michael Lednev wrote:

Hello, Kris.

On 2 ?? 2008 ?., 14:07:36 you wrote:

KK Yes, long-standing issue with unexpected mounted device removal.  Don't
KK do that :)

Thanks, already found this PR, it's already 5 yo, wow :)



There have been some recent partial workarounds committed in current, 
but this issue is quite difficult to fix completely.


Kris

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


Re: Problems with OpenOffice 2.3.1 on FreeBSD

2008-01-02 Thread Chris Whitehouse

Heiko Wundram (Beenic) wrote:

Am Dienstag, 1. Januar 2008 14:15:40 schrieb O. Hartmann:

I use OpenOffice 2.3.1 on several hardwareplatforms running FreeBSD
7.0-PRE/AMD64 and since I upgraded OpenOffice from OO 2.3.0 to 2.3.1 I
have massive problems, rendering OO unusuable! Before doing a PR I would
like to aks whethere there is a solution out.
Whenever I try to save a document in OO writer, OO gets stuck and I have
to kill it. The document gets saved, but I never can load it again
without rendering OO unusuable. Opening M$ Word docs or OO docs doesn't
matter.


Just to chime in: the problem has been identical for me since I upgraded to 
FreeBSD 7 some two months ago. Any OpenOffice.org build I did (2.3.0 and 
2.3.1) fails to save and load any form of documents with the exact same 
symptoms that you describe (i.e., the UI not being responsive anymore after 
trying to save or load from a file).


I used the Sun JDK source build (1.5) to compile OpenOffice.org, not the 
Diablo JDK by the way, and if anybody is willing to look at this problem 
deeper, search this list to see a post of mine where I attached gdb to the 
running (and hung) OpenOffice.org process and gave a backtrace of where the 
(100%) CPU time is being spent. IIRC it was in some input filter, but I don't 
really know anymore.


I've since moved on to KOffice, but if there's some fix for this, I'm more 
than happy to try it out.



Try upgrading your ports, it worked for me on i386.

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


Re: Changing work directory of port for make

2008-01-02 Thread Chad Kellerman
Yeah, Freebsd documents much better than most Unix's... if you know
where to look.  I read through the make man pages a hundred times thinking I
missed something in there.


Thanks for the help...

Chad

On Jan 1, 2008 7:09 PM, Erik Trulsson [EMAIL PROTECTED] wrote:

 On Tue, Jan 01, 2008 at 06:35:43PM -0500, Chad Kellerman wrote:
  Hey guys,
   I installed Freebsd 7 on a Dell laptop I have.  When I configured
 the
  /usr partition I only gave it 10GB of space figuring that would be
 plenty.
  Well now, since I don't see a pre-compiled version of OpenOffice for
  i386,
  looks like I have to compile it myself.  No big deal, except when I go
 to
  compile it I run out of disk space on /usr.
 
  Is there a way I can tell make to create it's work directory
 someplace
  else?  I have more space in home, so if I make a /home/work, can I
 compile
  OpenOffice to use the /home/work directory instead of
  /usr/port/editors/openoffice.org-2?
 
  I tried creating a link for the work directory but that appears to
 be
  over ridden.
 

 Sure.  Just set the WRKDIRPREFIX make variable in /etc/make.conf to point
 to
 the desired directory.
 This (and much else) is documented in the ports(7) manpage.


 --
 Insert your favourite quote here.
 Erik Trulsson
 [EMAIL PROTECTED]

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


Re: Problems with OpenOffice 2.3.1 on FreeBSD

2008-01-02 Thread Robert Huff

Folks:
If there's a problem with OpenOffice - and there surely is -
complaining here may feel good.
Complaining on [EMAIL PROTECTED], however, is _much_
more likely to get the attention necessary to get things fixed.
(Which may still take a while, but hopefully a shorter while.)
Follow-ups redirected,


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


Asus eee (was Re: G4 Quicksilver as Web Server?)

2008-01-02 Thread Ed Maste
On Tue, Jan 01, 2008 at 06:20:22PM +, James Jeffery wrote:

 Before i end the toipic, anyone got any feeback on the Asus Eee (mini
 laptops) with FreeBSD?

It works, but no drivers exist for the wireless or wired Ethernet ports.
The wireless is a newer Atheros part and ath(4) should gain support for
it, but I have no idea what the timeline will be.  The wired Ethernet
is an Atheros (formerly Attansic) L2 10/100, and I'm not aware of any
concrete plans for a driver for it.

I've used a Linksys USB200M USB ethernet (axe(4) driver) with mine and
that works well.

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


Re: Nagios + 6.3-RELEASE == Hung Process

2008-01-02 Thread Tom Judge

Michael Butler wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Marc G. Fournier wrote:

G'day ...

  Yesterday, I setup nagios to do some system monitoring ... installed the
latest version from ports into a jail, so that I could easily move it around
between machines as I upgrade, without losing data ... after about 30 minutes
running, I get a second nagios process running (fork?) that takes up ch CPU
time as is available, and just hangs there until I kill -9 it ...


[ .. ]


After searching the 'Net a bit, came across this thread:

http://www.nagiosexchange.org/nagios-users.34.0.html?tx_maillisttofaq_pi1%5Bmode%5D=1tx_maillisttofaq_pi1%5BshowUid%5D=7694

That recommends modifying libmap.conf with:

[/usr/local/bin/nagios]
libpthread.so.2 libthr.so.2
libpthread.so libthr.so


Thanks for pointing this out. I've had similar problems with nagios but
hadn't found a solution until I saw your pointer. Sadly, my expertise
with both thread libraries is sufficiently lacking that I have no clue
where to start looking for the cause :-(



I have also seen this issue, but have always put it down to the way that
we manage our nagios deployments with cfengine.  I will try to deploy
this change and monitor for the problem to see if it persists.

On a side note if you want to use broker modules with nagios from port
you need to change the following in the port Makefile in order to make
them load properly:

From:
USE_AUTOTOOLS=  autoconf:259
To:
SE_AUTOTOOLS=  autoconf:259 libltdl:15


I sent an email to the maintainer but got no response and my email did
not seem to have affected the last commit to upgrade to 2.10.


Tom

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


Re: Howcome mail deletion time varies?

2008-01-02 Thread Bill Moran
In response to Chuck Robey [EMAIL PROTECTED]:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 I use, for my imap-based mail, a combination of postfix, dovecot,
 thunderbird, enigmail (for gnupg), and openssl for browser security.  When
 I delete mail messages, the majority of them delete (what seems to me to
 be) instantaneously, but a small minority of mails takes quite a bit
 longer, about maybe 20 seconds.  Any idea what might be occurring on those
 mails, to trigger this really long delete time?

In my experience, this is most commonly caused by network glitches.

Keep in mind that most (perhaps all?) mailers do not delete an email
in a single step.  Have a look at how Sylpheed deletes an email on
a Cyrus-IMAP server:

[10:49:24] IMAP4 2697 UID COPY 137056 INBOX.TrashDontDelete
[10:49:25] IMAP4 2697 OK [COPYUID 1181242467 137056 39152] COPY completed.
[10:49:25] IMAP4 2698 UID STORE 137056 +FLAGS.SILENT (\Deleted)
[10:49:25] IMAP4 2698 OK STORE completed.
[10:49:25] IMAP4 2699 EXPUNGE
[10:49:25] IMAP4 * 258 EXPUNGE
[10:49:25] IMAP4 * 257 EXISTS
[10:49:25] IMAP4 * 0 RECENT
[10:49:25] IMAP4 2699 OK EXPUNGE completed
[10:49:25] IMAP4 2700 STATUS INBOX.TrashDontDelete (MESSAGES RECENT UIDNEXT 
UIDVALIDITY UNSEEN)
[10:49:25] IMAP4 * STATUS INBOX.TrashDontDelete (MESSAGES 39146 RECENT 0 
UIDNEXT 39153 UIDVALIDITY 1181242467 UNSEEN 26099)
[10:49:25] IMAP4 2700 OK STATUS Completed.

This is a lot of back/forth between the two systems.  If you network is
busy or lossy, you could easily get an odd delay in the overall process.

So, I'd start by investigating/ruling out network issues first.

Second, if the server in question is doing other things (it looks like it
is from your post) then you never know when an incoming email via postfix
has something locked, or the drives are busy, etc.  So, if your network
investigations come up empty, you may want to investigate just what's
going on with this machine and whether it may be more heavily loaded
than you think.

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


Question about a patch

2008-01-02 Thread Valerio Daelli
Hi

I am about to send a patch about a port. I would like to move a file
of the port, located in the
'files/' directory. Basically the file now is called netdisco.sh.in
and I would like to call it
netdisco.in.
If I use a normal 'diff -ruN' command to generate the patch, after I
apply the patch
the new file is created but the old file (netdisco.sh.in) is still
there, with zero size.
I wonder if I should generate a shar archive for this port instead of a patch.
Sorry if this question is so simple.
Bye

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


Re: Question about a patch

2008-01-02 Thread Beech Rintoul
On Wednesday 02 January 2008, Valerio Daelli said:
 Hi

 I am about to send a patch about a port. I would like to move a
 file of the port, located in the
 'files/' directory. Basically the file now is called netdisco.sh.in
 and I would like to call it
 netdisco.in.
 If I use a normal 'diff -ruN' command to generate the patch, after
 I apply the patch
 the new file is created but the old file (netdisco.sh.in) is still
 there, with zero size.
 I wonder if I should generate a shar archive for this port instead
 of a patch. Sorry if this question is so simple.
 Bye

 Valerio Daelli

That's normal. A unified diff is the preferred way. Whoever commits it 
will remove the file. You might make mention of the file in the 
comments just to be nice :-)

Beech


-- 
---
Beech Rintoul - FreeBSD Developer - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail   | http://www.freebsd.org
 X  - NO Word docs in e-mail | Latest Release:
/ \  - http://www.FreeBSD.org/releases/6.2R/announce.html
---



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


Re: Question about a patch

2008-01-02 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Valerio Daelli wrote:
 Hi
 
 I am about to send a patch about a port. I would like to move a file
 of the port, located in the
 'files/' directory. Basically the file now is called netdisco.sh.in
 and I would like to call it
 netdisco.in.
 If I use a normal 'diff -ruN' command to generate the patch, after I
 apply the patch
 the new file is created but the old file (netdisco.sh.in) is still
 there, with zero size.
 I wonder if I should generate a shar archive for this port instead of a patch.
 Sorry if this question is so simple.


Just send in the 'diff -Nur' output, but make a note in your PR
that the filename has been changed.  The committer will be able to
make it all right in CVS.

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHe78R8Mjk52CukIwRCMHAAKCDaQvbVkhCLBDw/Eb3yfKviT6dQgCeK3Bi
SIR3eFVV5Cn37PLMvST4JoI=
=5+GC
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Setting CPPFLAGS and LDFLAGS

2008-01-02 Thread jhall
I'm hoping I have missed something simple, but I am experiencing a problem
compiling OpenLDAP.

My BerkeleyDB files are in a non-standard location and I trying to set
CPPFLAGS and LDFLAGS to point to the correct location.

I am logged in as a normal user, and I am using the following commands to
set CPPFLAGS and LDFLAGS.

$ export CPPFLAGS=-I/usr/local/BerkelyDB/include
$ export LDFLAGS=-L/usr/local/BerkelyDB/lib

However, OpenLDAP still fails to compile with the following message.

Checking Berkeley DB version for BDB/HDB backends... no
configure: error: BDB/HDB: BerkeleyDB version incompatible

Am I correctly setting CPPFLAGS and LDFLAGS so they can be seen by
OpenLDAP's configuration script?

Thanks,



Jay

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


RE: Future development of Jail (was Re: corporate backers of freebsd)

2008-01-02 Thread Andy Dills
On Wed, 2 Jan 2008, Ted Mittelstaedt wrote:

 I don't.  In the entire history of computers every time there has
 been a horsepower increase, the normal software that people run
 on the system has bloated to consume all available additional horsepower.

Really? 

So how has the amount of horsepower required to handle centralized radius 
authentication, or provide DNS resolution, or static web service grown 
over the years?

I'm not talking about the normal software that people run on a system. 
I've watched for a decade as the load generated by certain services has 
stayed flat, however for security considerations they should not be 
combined onto the same operating envrionment.

Are you trying to tell me that your shell server's utilization has just 
continued to grow over the years, that you've had to continuously upgrade 
the hardware to keep up with the demands of pine, tin, emacs, mutt, vim, 
irc, eggdrop, ezbounce, or whatever your customers are running? Please.

 What you are doing is akin to saying that since the modern
 CPU can virtualize hundreds of 1MB 8086 real-mode sessions
 that we ought to be able to run hundreds of instances of
 WordPerfect for DOS on a typical modern PC.  Well guess what - WE
 COULD!  If someone wrote the software to do it, of course.

I'm talking about professionally hosted services, you're talking about 
WordPerfect. Amateur hour starts at 5PM, the signups are over there.

 In the future I predict that ordinary standard desktop software is
 going to require:
 
 numerous processors with numerous cores and several gigs of memory,
 fast busses and standard multiple gige ports, inexpensive solid state
 disks
 
 as a MINIMUM system configuration, and people will think NOTHING of
 it.
 
 Code always bloats to fill all available machine power.

Desktop software? Shouldn't you be posting on a linux mailing list? 

  We seem to be very close to having the ability to completely
  segregate the
  control-plane from the data-plane (using router terminology).
 
 We had that ability with commodity cheap desktop hardware a decade
 ago.  But, nobody wrote software to take advantage of the commodity
 cheap desktop hardware to do this back then, for the same reasons
 that the jail developer lost interest today.

Actually, somebody was paying the jail developer, and then wasn't. More to 
the point, no, we didn't have the ability a decade ago to seperate CP from 
DP. A decade ago we were dealing with silly things like the maximum size 
of a partition, how to handle USB, how to scale to multiple processors, 
how to acheive line rate on gige, etc.

  This is such
  a huge improvement over the status quo that I'm a little bit sad and
  confused why it seems to be such a low priority with the developers. But
  they have their hands full and nobody seems to be driven to steer that
  particular ship.
 
 
 In short, and don't take it wrongly, your a young pup.  You have not
 had the experience with the computer business that someone older
 and more jaded has.  Once you have another 20 years under your belt
 and you start seeing that it's the same old, same old, you will
 understand why this is a pipe dream.

In short, don't take it wrongly, but you're an arrogant has-been. If you 
were as wise as you claim, you would be more quick to consider one of the 
more interesting trends in professional computing: 

Legacy systems in a corporate envrionment that don't need to be upgraded 
whatsoever, but are running on failing hardware with no possible 
replacements, running on top of an ancient operating system. 

What are the smart technologists doing to resolve this? They're moving 
these services to a virtual environment running on top of some other 
platform. 

 The day will never come that a corporation can go to Kmart and buy
 a $299 PC and use it as a server to run their entire 1000 person
 operation.  Yet, a $299 commodity PC that you buy from Kmart today,
 has about 100 times more power than a mainframe that this same
 corporation was using 2 decades ago to run their entire 1000 person
 operation.  Using your logic, the sensible thing would be to take
 that 20 year old software and run it on the $299 PC today.  Yet,
 nobody's doing this.  Think for a while about why this is and you
 might begin to understand what is really going on.

It's clear from your post that you have no idea what I'm talking about.


If you really think what I'm suggesting is that bad of an idea, help me 
understand why the CTO of F5 immediately posted asking for a quote on 
developing this feature?

Andy

---
Andy Dills
Xecunet, Inc.
www.xecu.net
301-682-9972
---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: corporate backers of freebsd

2008-01-02 Thread Gary Smithe
On Jan 2, 2008 4:56 AM, Ted Mittelstaedt [EMAIL PROTECTED] wrote:


  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Gary Smithe
  Sent: Monday, December 31, 2007 10:11 AM
  To: freebsd-questions@freebsd.org
  Subject: corporate backers of freebsd
 
 
  Good Day All and Happy New Year,
 
  I'm not looking to incite anyone, but here comes a BSD vs Linux
  question.  Yes, I tried searching the archives and found nothing.
 
  I used FreeBSD back in 2000 for a few firewalls, but due to certain
  influences I switched to Linux after a couple of years.
 
  I'm interested in getting back to the BSD's but have just one big concern.
 
  As most users Unix and it's clones, I prefer the free as in beer
  licensing model, but want to know that someone else is paying the big
  bills.
 
  In short, here's my question:
 
  Canonical, RedHat, IBM, Novell, and a slew of others are funding /
  supporting Linux development and pushing some of that development into
  the free community, so that all can benefit from full-time developers
  and the money that supports them.
 
  I've seen where Cisco and Juniper are using FreeBSD, and assuming
  there are other big names, do they directly fund or contribute to the
  community?
 

 Gary,

   FreeBSD USED TO HAVE a single large corporate sponsor.  Walnut Creek.
 Well, while the upside of this is that you have a pot of money that
 can be used to fund advertising ventures, fund a position to act as
 the public face of the project, etc.  the downside is that this ties
 the project to the fortunes of that big money pot.

   When Walnut Creek went downhill it caused a LOT of people who were
 using FreeBSD very much consternation.

   This is why today the project basically operates as a completely
 distributed project.

   You might as well ask who the corporate sponsor of the Gnutella
 network is.  Nobody, and Everybody.  Yet, that network carries
 billions of bytes of pirat... I mean, valuable video data, and is
 dependended on by many bootleggers.. I mean enterprenuers.  ;-)

   People look at Linux and say how great it is that Linux has RedHat
 to make Linux look legitimate to the corporate world.  They forget
 that as RedHat is a corporation, it is under a mandate to make a
 profit every year.  Well, what happens if the day ever comes that
 RedHat starts losing money?  Don't you think that people will suddenly
 start thinking that Linux has run out of steam?  I do.

   There is no single corporation that is ever guarenteed to exist
 forever, last forever, and remain profitable forever.  History is
 littered with large, rich companies that people once upon a time
 thought would never ever go out of business - yet they did anyway.

   By contrast, MOVEMENTS in history NEVER run out of steam.  There are
 still, today, billions of people dumping billions of dollars every year
 into the Catholic Church - despite it's sordid history and current
 coverups of pedophiles - and that particular religious movement has been
 around more than 2000 years.

   We want to keep FreeBSD operating as a movement.  As long as 1 person
 still believes and maintains it, it won't die.  No matter how profitable
 or unprofitable it is to run.

 Ted




Thank you all for the responses.  I've tried to track down ways to
contribute funds, as my programming skills are just above that of an
intoxicated monkey.

I found the FreeBSD foundation, which seems like the best place to start.

I can't find, however, that any book, T-Shirt, or CD purchase from any
vendor (including BSDmall) will send money back to the project.

I understand there is value in evangelism from promoting FreeBSD via
T-Shrits, stickers etc., as well as showing the profitability of books
on BSD related topics to publishers (like No Starch).

Have I missed an avenue of getting monetary support to FreeBSD?

Thanks again.

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


Re: Future development of Jail (was Re: corporate backers of freebsd)

2008-01-02 Thread Karl Triebes
On Jan 2, 2008 9:28 AM, Andy Dills [EMAIL PROTECTED] wrote:
 If you really think what I'm suggesting is that bad of an idea, help me
 understand why the CTO of F5 immediately posted asking for a quote on
 developing this feature?

Just for the record, I'm not the same person as the CTO of F5. I had
someone ask this questions the other day as well. I'm happy as I am.

I hope this doesn't dilute any arguments being put forth.

Cheers,

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


Re: sendmail is broken, how do I fix

2008-01-02 Thread Andrew Falanga


 While you think there is nothing on that port something is running not
 letting that socket connection.  Try rebooting the system and see if the
 problem is still there.

  -Derek


I did try that too.  Didn't work.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Howcome mail deletion time varies?

2008-01-02 Thread Peter Schuller
 I use, for my imap-based mail, a combination of postfix, dovecot,
 thunderbird, enigmail (for gnupg), and openssl for browser security.  When
 I delete mail messages, the majority of them delete (what seems to me to
 be) instantaneously, but a small minority of mails takes quite a bit
 longer, about maybe 20 seconds.  Any idea what might be occurring on those
 mails, to trigger this really long delete time?

Suggestion: Thunderbird does local compacation of the mailstor, and deletions 
that hit the threshold and trigger this may be slower than others.

(I have a vague sense thunderbird does this; I could be wrong. Assuming the 
server is using Maildir I don't see why this should happen on the serverside, 
nor have I had that experience even with large folders (large enough that no 
mail client can handle them properly)).

-- 
/ Peter Schuller

PGP userID: 0xE9758B7D or 'Peter Schuller [EMAIL PROTECTED]'
Key retrieval: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org



signature.asc
Description: This is a digitally signed message part.


Re: Extremely slow authentication via SSH on FreeBSD 6.0

2008-01-02 Thread Edson Noboru Yamada
Your last hint suggests that this is, in fact, a dns reverse resolution
issue.

Log into your server which is slow and try to resolve the ip address
of the host you trying to connect from (for instance, if you trying to
connect from
10.0.0.1 to 199.1.1.1, log into 199.1.1.1 and execute something like
nslookup 10.0.0.1).
If the command times out, you found the issue.

hth



On Jan 1, 2008 4:03 PM, Forrest Aldrich [EMAIL PROTECTED] wrote:

 First, thank you to others who posted about this issue.

 I altered /etc/ssh/sshd_config for UseDNS no, and noticed I get the
 prompt right away, however it still takes about 15 seconds after
 authentication to get a shell prompt.

 This is FreeBSD version:  FreeBSD 6.3-PRERELEASE #7: Sat Dec 22 11:12:15
 EST 2007

 I noticed this behavior after the last system build and install.  Prior
 to that, I didn't see problems like this.

 I don't see this problem with httpd (apache) etc.

 The DNS servers my ISP provides are quickly reachable and appear to be
 caching very well, so I doubt that's the issue.

 Conversely, and perhaps this is a hint, the GW I log in to has this
 problem, but if I log in from there to an internal system using the same
 exact version of FreeBSD, I don't have any problems like this at all.
 The difference being I also use internal DNS as well as /etc/hosts
 entries.


 Thanks.

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

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


Re: sendmail is broken, how do I fix

2008-01-02 Thread Derek Ragona

At 03:03 PM 1/2/2008, Andrew Falanga wrote:



 While you think there is nothing on that port something is running not
 letting that socket connection.  Try rebooting the system and see if the
 problem is still there.

  -Derek


I did try that too.  Didn't work.


Have you tried telnet to the IP and port 25?  If it is sendmail, you can 
see that from the banner, also you can watch the maillog file in /var/log.


I suspect you have another process tying up that port.

-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: Nagios + 6.3-RELEASE == Hung Process

2008-01-02 Thread Jarrod Sayers

On 03/01/2008, at 1:56 AM, Tom Judge wrote:
I have also seen this issue, but have always put it down to the way  
that

we manage our nagios deployments with cfengine.  I will try to deploy
this change and monitor for the problem to see if it persists.


I hope I can confirm your frustrations.  There is a threading issue  
with Nagios when it's binaries are linked against libpthread(3)  
threading library, the default on recent FreeBSD 5.x releases and all  
6.x releases. The issue is random and extremely difficult to track  
down with the symptoms being a second Nagios process sitting on the  
system hanging a CPU.  Be rest assured that I have been working on it,  
and have seen it on one system of mine.


Changes have been submitted for net-mgmt/nagios-devel (aka Nagios  
3.0.r1)) to force the build process to link against libthr(3) where  
available, removing the need to map libpthread() out with /etc/ 
libmap.conf.  If this goes well, as stated in the PR, i'll back-port  
it to net-mgmt/nagios (aka Nagios 2.10) in the next few days.


If anyone out there is running net-mgmt/nagios-devel and feels like  
trying it for me, see ports/119246 and drop me an email with a before  
and after ldd /usr/local/bin/nagios.



On a side note if you want to use broker modules with nagios from port
you need to change the following in the port Makefile in order to make
them load properly:

From:
USE_AUTOTOOLS=  autoconf:259
To:
SE_AUTOTOOLS=  autoconf:259 libltdl:15

I sent an email to the maintainer but got no response and my email did
not seem to have affected the last commit to upgrade to 2.10


I did receive that email and the changes went in with the last commit  
of net-mgmt/nagios-devel to test.  No issues have arisen so i'll be  
back-porting it to net-mgmt/nagios soon for you.  There also has been  
a rather large ports freeze which delayed the upgrade to Nagios 2.10,  
that PR was submitted on the 1st of November and committed on the 13th  
of December.  Unfortunately your email fell somewhere in the middle,  
apologies for not letting you know.


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


FreeBSD question

2008-01-02 Thread Administrator ZSK

Hello
I am Polish FreeBSD system administrator, I would like to participate 
in the course and get a certificate of achievement of FreeBSD system and 
in the future, if possible, I would like to become a trainer of FreeBSD. 
What do I have to do to get a certificate of an administrator and how 
can I become a trainer?


Best regards,
Michal Lewandowski
ZSK Poznan
Poland
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Intel 3945 wpi driver doesn't seem to work ('cause of license problems???)

2008-01-02 Thread vittorio
What I really need is an explanation **step by step** on how to set up a wpi 
connection. Step by step .

Ciao
Vittorio 

Il Wednesday 02 January 2008 10:41:11 Matthew Seaman ha scritto:
 vittorio wrote:
  legal.intel_wpi.license_ack=1
 
  is in /boot/loader.conf
 
  BUT
  1)
  it seems that sysctl is unable to find it and I have to set it via
  kenv legal.intel_wpi.license_ack=1
 
  Shouldn't this variable be set by sysctl or by loader.conf?
 
  2)
  dhclient is unable to get an IP address (trying to set wpi0 up with a
  fixed IP makes wpi0 not associated to any AP)

 Hmmm I have a similar setup.  In my case, it's a Dell D800 using
 iwi:

 % grep iwi /var/run/dmesg.boot
 iwi0: Intel(R) PRO/Wireless 2200BG mem 0xfafee000-0xfafeefff irq 9 at
 device 3.0 on pci2 [...]

 and a ZyXEL 660HW router:

  Menu 24.2.1 - System Maintenance - Information

 Name: gate.infracaninophile.co.uk
 Routing: IP
 ZyNOS F/W Version: V3.40(ACI.7) | 10/18/2006
 ADSL Chipset Vendor: DMT FwVer: 3.4.1.0_A_TC, HwVer:
 T14F7_+ Standard: Multi-Mode

 However I have no problems setting legal.intel_iwi.license_ack=1
 from /boot/loader.conf -- it could be something as stupid as no
 newline at end of file.  Try running 'od -c /boot/loader.conf'
 or 'cat -e /boot/loader.conf' to verify.

 On the question of the DHCP service provided by this combination router
 and wlan hardware, and indeed the whole performance at providing wireless
 lan connectivity -- I'm not particularly impressed.  I'd restart the laptop
 and everything would be fine for a few hours, but leave it running
 overnight and it would lose the lease and end up without an IPv4 address.
 IPv6 addresses autoconfigured with rtadvd and rtsol seem quite a lot more
 stable but I've seen every combination of being able or not to ping or
 ping6 the laptop from a wired machine.

 In the end I found that setting the ZyXEL to do DHCP Relay and running
 isc-dhcpd on a FBSD box with the lease times increased as so:

 default-lease-time 3600;# 1 hour
 max-lease-time 86400;   # 1 day

 plus moving the laptop to within about 2m of the ZyXEL seems to have
 made quite an improvement.

   Cheers,

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


Re: FreeBSD question

2008-01-02 Thread Bill Moran
In response to Administrator ZSK [EMAIL PROTECTED]:

 Hello
  I am Polish FreeBSD system administrator, I would like to participate 
 in the course and get a certificate of achievement of FreeBSD system and 
 in the future, if possible, I would like to become a trainer of FreeBSD. 
 What do I have to do to get a certificate of an administrator and how 
 can I become a trainer?

This seems to be the best place for certification at this time:
http://www.bsdcertification.org/

You may want to join their mailing list and ask there.  I'm sure the
group would love to have some instructors in Poland.

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


Re: Nagios + 6.3-RELEASE == Hung Process

2008-01-02 Thread Tom Judge

Jarrod Sayers wrote:

On 03/01/2008, at 1:56 AM, Tom Judge wrote:

I have also seen this issue, but have always put it down to the way that
we manage our nagios deployments with cfengine.  I will try to deploy
this change and monitor for the problem to see if it persists.


I hope I can confirm your frustrations.  There is a threading issue with 
Nagios when it's binaries are linked against libpthread(3) threading 
library, the default on recent FreeBSD 5.x releases and all 6.x 
releases. The issue is random and extremely difficult to track down with 
the symptoms being a second Nagios process sitting on the system hanging 
a CPU.  Be rest assured that I have been working on it, and have seen it 
on one system of mine.




Not sure if this is related at all but out of the 3 nagios deployments 
we have here I have only ever seen it on one (It currently has 2 nagios 
threads spinning CPU time atm).


The differences on that server are:

* It is amd64 compared to i386
* It also runs ndo2db from ndoutils 1.4b7

All the systems run 6.2-RELEASE-p5 and nagios-2.9_1, they are also all 
patched with gnu libltdl patch below.


Don't know if that info is of any use to you.

Changes have been submitted for net-mgmt/nagios-devel (aka Nagios 
3.0.r1)) to force the build process to link against libthr(3) where 
available, removing the need to map libpthread() out with 
/etc/libmap.conf.  If this goes well, as stated in the PR, i'll 
back-port it to net-mgmt/nagios (aka Nagios 2.10) in the next few days.


If anyone out there is running net-mgmt/nagios-devel and feels like 
trying it for me, see ports/119246 and drop me an email with a before 
and after ldd /usr/local/bin/nagios.



On a side note if you want to use broker modules with nagios from port
you need to change the following in the port Makefile in order to make
them load properly:

From:
USE_AUTOTOOLS=  autoconf:259
To:
SE_AUTOTOOLS=  autoconf:259 libltdl:15

I sent an email to the maintainer but got no response and my email did
not seem to have affected the last commit to upgrade to 2.10


I did receive that email and the changes went in with the last commit of 
net-mgmt/nagios-devel to test.  No issues have arisen so i'll be 
back-porting it to net-mgmt/nagios soon for you.  There also has been a 
rather large ports freeze which delayed the upgrade to Nagios 2.10, that 
PR was submitted on the 1st of November and committed on the 13th of 
December.  Unfortunately your email fell somewhere in the middle, 
apologies for not letting you know.




Thanks for this,  I currently maintain the patch on our build servers.

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


Re: Nagios + 6.3-RELEASE == Hung Process

2008-01-02 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



- --On Wednesday, January 02, 2008 22:54:33 + Tom Judge [EMAIL PROTECTED] 
wrote:

 Not sure if this is related at all but out of the 3 nagios deployments we
 have here I have only ever seen it on one (It currently has 2 nagios threads
 spinning CPU time atm).

 The differences on that server are:

   * It is amd64 compared to i386

I never tried on i386, but in my case it was an amd64 system as well ... not 
sure if that is relevant or not ... has anyone seen this problem *with* i386?

- 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFHfB0s4QvfyHIvDvMRAudqAKCuiXkAYPL5goXbmlvJjylpMlqUIwCgiRfM
m15NQlmqpRtO/MtEXR7m+RU=
=utJ9
-END PGP SIGNATURE-

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


Re: pIII coppermine?

2008-01-02 Thread Rob

Chris Maness wrote:
I have an ABIT VP6 dual socket that I want to use as my FreeBSD server.  
I only have one CPU installed, and I was told that if I were to add 
another CPU that the serial numbers of the CPU had to be sequential.  Is 
this true?  I see these processors on e-bay for $7 it would be nice to 


I assume you mean BP6.  It's best that they be the same stepping 
number;  this is like an engineering revision level in Intelese. 
Usually looks like SLQ7 or similar.  But it wasn't required on those 
boards.  Of course Intel never sanctioned Dual Celerons, which is what 
made it so cool :)  I still have one of those with very low hours that I 
keep thinking I should dust off and recommission for sumpthin'.


I hope you're not using this machine for any critical applications.  All 
the ABIT boards of that day (circa 1999) had really low quality 
electrolytic capacitors in the voltage regulators that are notorious for 
failing.  And the BP6 had one cap that got a totally wrong value 
installed on the board.  Google BP6 capacitors and you'll find lots. 
Also www.BP6.com  Have fun.


  -Rob  [don't cc me; this is a bit-bucket address]


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


Re: pIII coppermine?

2008-01-02 Thread Erik Trulsson
On Wed, Jan 02, 2008 at 07:11:42PM -0500, Rob wrote:
 Chris Maness wrote:
 I have an ABIT VP6 dual socket that I want to use as my FreeBSD server.  I 
 only have one CPU installed, and I was told that if I were to add another 
 CPU that the serial numbers of the CPU had to be sequential.  Is this 
 true?  I see these processors on e-bay for $7 it would be nice to 
 
 I assume you mean BP6.

Why?  The Abit BP6 and Abit VP6 both exist, and are two different
motherboards, with the VP6 being newer and supporting faster CPUs.

I see no reason to not believe he did mean VP6. 



  It's best that they be the same stepping 
 number;  this is like an engineering revision level in Intelese. Usually 
 looks like SLQ7 or similar.  But it wasn't required on those boards.  Of 
 course Intel never sanctioned Dual Celerons, which is what made it so cool 
 :)  I still have one of those with very low hours that I keep thinking I 
 should dust off and recommission for sumpthin'.
 
 I hope you're not using this machine for any critical applications.  All 
 the ABIT boards of that day (circa 1999) had really low quality 
 electrolytic capacitors in the voltage regulators that are notorious for 
 failing.  And the BP6 had one cap that got a totally wrong value installed 
 on the board.  Google BP6 capacitors and you'll find lots. Also www.BP6.com 
  Have fun.

Both the BP6 and VP6 have a reputation for bad capacitors (the VP6 even more
so than the BP6.)



-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Nagios + 6.3-RELEASE == Hung Process

2008-01-02 Thread Greg Byshenk
On Wed, Jan 02, 2008 at 07:24:28PM -0400, Marc G. Fournier wrote:
 - --On Wednesday, January 02, 2008 22:54:33 + Tom Judge [EMAIL 
 PROTECTED] wrote:

  Not sure if this is related at all but out of the 3 nagios deployments we
  have here I have only ever seen it on one (It currently has 2 nagios threads
  spinning CPU time atm).

  The differences on that server are:
 
  * It is amd64 compared to i386

 I never tried on i386, but in my case it was an amd64 system as well ... not 
 sure if that is relevant or not ... has anyone seen this problem *with* i386?

Yes.

We run Nagios on an i386 machine (dual Athlon MP 1800+), and I first saw this
problem with a build of 6-STABLE as of 2007-10-04, and it continues (if I don't
use the libmap.conf settings) with the running system of 6.3-PRERLEASE as of
2007-12-18 and nagios-2.10 (from ports of same date).

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


Re: Nagios + 6.3-RELEASE == Hung Process

2008-01-02 Thread Jarrod Sayers

On Wed, 2 Jan 2008, Tom Judge wrote:

Jarrod Sayers wrote:
I hope I can confirm your frustrations.  There is a threading issue 
with Nagios when it's binaries are linked against libpthread(3) 
threading library, the default on recent FreeBSD 5.x releases and all 
6.x releases. The issue is random and extremely difficult to track down 
with the symptoms being a second Nagios process sitting on the system 
hanging a CPU.  Be rest assured that I have been working on it, and 
have seen it on one system of mine.


Not sure if this is related at all but out of the 3 nagios deployments 
we have here I have only ever seen it on one (It currently has 2 nagios 
threads spinning CPU time atm).


The differences on that server are:

* It is amd64 compared to i386
* It also runs ndo2db from ndoutils 1.4b7

All the systems run 6.2-RELEASE-p5 and nagios-2.9_1, they are also all 
patched with gnu libltdl patch below.


Don't know if that info is of any use to you.


That's actually good to know, as you're now (unless I am mistaken) the 
first user to contact me about this problem on non-i386 systems.  One 
user, plus myself, have also seen the issue under Nagios 3.x, both on i386 
systems though.


I also have a net-mgmt/ndoutils port in the works (less the database 
support for now) which also has the same issue so using broker modules 
doesn't seem to affect the outcome.


My gut feeling is that it's not an architecture issue but more an 
interoperability issue between the Nagios threading code and the 
libpthread() threading library.


[yoink]

I did receive that email and the changes went in with the last commit 
of net-mgmt/nagios-devel to test.  No issues have arisen so i'll be 
back-porting it to net-mgmt/nagios soon for you.  There also has been a 
rather large ports freeze which delayed the upgrade to Nagios 2.10, 
that PR was submitted on the 1st of November and committed on the 13th 
of December. Unfortunately your email fell somewhere in the middle, 
apologies for not letting you know.


Thanks for this, I currently maintain the patch on our build servers.


No worries, I will look at bundling in the change with the libthr() fix 
over the next few days.  Thanks for pointing that out too as it was a bug 
instead of a feature request, as on systems where the library was 
available, the build process would link to it.  Hmm...


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


Re: pIII coppermine?

2008-01-02 Thread Rob

Erik Trulsson wrote:

I assume you mean BP6.


Why?  The Abit BP6 and Abit VP6 both exist, and are two different
motherboards, with the VP6 being newer and supporting faster CPUs.
I see no reason to not believe he did mean VP6. 


Yes, thanks, I stand corrected.  I googled and found the VP6.  Hadn't 
heard of that one.  By about that time (2001) I'd come full circle and 
was disgusted with ABIT's products, and was building AMD systems anyway.


  -Rob

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


Re: Nagios + 6.3-RELEASE == Hung Process

2008-01-02 Thread Michael Butler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Marc G. Fournier wrote:
 I never tried on i386, but in my case it was an amd64 system as well ... not 
 sure if that is relevant or not ... has anyone seen this problem *with* i386?

When I read about it, I was in the middle of upgrading the problem
machine to 7-stable - which now reports as follows:

FreeBSD 7.0-PRERELEASE #0: Tue Jan  1 22:12:02 EST 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/AARON
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel Pentium III (701.59-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x681  Stepping = 1

Features=0x387f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE
real memory  = 1073479680 (1023 MB)
avail memory = 1041297408 (993 MB)
kbd1 at kbdmux0
acpi0: INTEL TR440BXA on motherboard
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFHfDKWQv9rrgRC1JIRAgTzAJ0T4HwQcR8kSj+iuKL90S2oz5EWMACeLPqd
pBkMfN9J08zv+ibT3TgcYHA=
=vmkg
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Nagios + 6.3-RELEASE == Hung Process

2008-01-02 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



- --On Thursday, January 03, 2008 11:05:16 +1030 Jarrod Sayers 
[EMAIL PROTECTED] wrote:

 That's actually good to know, as you're now (unless I am mistaken) the first
 user to contact me about this problem on non-i386 systems.  One user, plus
 myself, have also seen the issue under Nagios 3.x, both on i386 systems
 though.

 I also have a net-mgmt/ndoutils port in the works (less the database support
 for now) which also has the same issue so using broker modules doesn't seem
 to affect the outcome.

 My gut feeling is that it's not an architecture issue but more an
 interoperability issue between the Nagios threading code and the libpthread()
 threading library.

As noted in my original report, this isn't a nagios issue per se ... my first 
experience with this issue was with Azureus/java ... so its a 'threading issue 
in general' ...

- 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFHfDm94QvfyHIvDvMRAtZkAKCf4z6csc+YaXBS1/UMurQ3NIqXDgCeLCif
jplg0JQzX4xKQEgJsVy/nGY=
=dA7G
-END PGP SIGNATURE-

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


Swap partition

2008-01-02 Thread Eugen Udma
Hello,



I have FreeBSD installed on my desktop, with 2 GB of RAM and

4 GB swap partition and this swap partition is very seldom

touched by the system and then only 2-3% used.






I want to install FreeBSD on a laptop with 4 GB of RAM and a
hard disk of 100 GB. Should I waste 8 GB for a swap partition,
as it is recommended in the handbook?

Thanks for any advice,


Eugen



  Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/

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


Re: Swap partition

2008-01-02 Thread RW
On Wed, 2 Jan 2008 17:13:28 -0800 (PST)
Eugen Udma [EMAIL PROTECTED] wrote:
 I want to install FreeBSD on a laptop with 4 GB of RAM and a
 hard disk of 100 GB. Should I waste 8 GB for a swap partition,
 as it is recommended in the handbook?


Probably not. The twice the ram rule is for people who may need to
debug kernel panics.

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


Re: pIII coppermine?

2008-01-02 Thread Chris Maness

Erik Trulsson wrote:

On Wed, Jan 02, 2008 at 07:11:42PM -0500, Rob wrote:
  

Chris Maness wrote:

I have an ABIT VP6 dual socket that I want to use as my FreeBSD server.  I 
only have one CPU installed, and I was told that if I were to add another 
CPU that the serial numbers of the CPU had to be sequential.  Is this 
true?  I see these processors on e-bay for $7 it would be nice to 
  

I assume you mean BP6.



Why?  The Abit BP6 and Abit VP6 both exist, and are two different
motherboards, with the VP6 being newer and supporting faster CPUs.

I see no reason to not believe he did mean VP6. 




  
 It's best that they be the same stepping 
number;  this is like an engineering revision level in Intelese. Usually 
looks like SLQ7 or similar.  But it wasn't required on those boards.  Of 
course Intel never sanctioned Dual Celerons, which is what made it so cool 
:)  I still have one of those with very low hours that I keep thinking I 
should dust off and recommission for sumpthin'.


I hope you're not using this machine for any critical applications.  All 
the ABIT boards of that day (circa 1999) had really low quality 
electrolytic capacitors in the voltage regulators that are notorious for 
failing.  And the BP6 had one cap that got a totally wrong value installed 
on the board.  Google BP6 capacitors and you'll find lots. Also www.BP6.com 
 Have fun.



Both the BP6 and VP6 have a reputation for bad capacitors (the VP6 even more
so than the BP6.)



  
I built the machine in 2000 and used it with no problems all the way up 
to 2005.  I lucked out.  It just so happens they have the same 
stepping number, so they should work perfect together.  I am going to 
be using it as a file server/backup server.  If it runs stable, I might 
make it my main server, because with both processors running it will be 
better than  the other oldie I have as my main server.  I used the VP6 
as my main desktop for 5 years before Photoshop got too bloated to run 
fast enough for my photography business.  If something was going to give 
as far as the caps on the board, would they still be a high risk if the 
board has been very reliable thus far?


I just use the main server to host a couple of small traffic web sites 
from my house.  It has been running fine for almost 8 years, and I only 
recently added a hard drive as a precaution.


Thanks,

--
Chris Maness
(909) 223-9179
http://www.chrismaness.com

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


What's in boot.catalog?

2008-01-02 Thread deeptech71
What information do the ISO files' boot.catalog contain, and how does 
the boot code use it? Because they're differing in a couple of bytes 
(-bootonly.iso VS -disc1.iso VS -livefs.iso)...


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


mplayer and x11 libs

2008-01-02 Thread Dave

Hello,
   I've installed the mplayer port previously i used the WITHOUT_X11 option 
because i didn't want x11 support as well as didn't want gtk2 and the libs 
it brings in. Yet, a porgupgrade of this box pulled in those libs. I've 
corrected this by uninstalling mplayer and it's dependencies with 
pkg_cutleaves and reinstalling. How do i prevent this in the future?

Thanks.
Dave.

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


mplayer and x11 libs

2008-01-02 Thread Robert Huff

Dave writes:

  I've installed the mplayer port previously i used the
  WITHOUT_X11 option because i didn't want x11 support as well as
  didn't want gtk2 and the libs it brings in. Yet, a porgupgrade of
  this box pulled in those libs. I've corrected this by
  uninstalling mplayer and it's dependencies with pkg_cutleaves and
  reinstalling. How do i prevent this in the future?

If you are using portupgrade, then man pkgtools.conf.


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


Re: IPFW: Blocking me out. How to debug?

2008-01-02 Thread W. D.
At 08:34 12/30/2007, Ian Smith, wrote:
On Sat, 29 Dec 2007, W. D. wrote:
  At 08:49 12/22/2007, Ian Smith wrote:
  Warning: overlong message.

  access to only your LAN.  Will this webserver later have a public IP
  address, or run behind NAT with port forwarding? 
  
  Public IP.

So will your LAN also have access to services on this machine?  ie will
this box have an address on your LAN also?  alias on the same interface?

Nope.  Will have to go through the public IP.


   # FTP:
   add allow tcp from any to any ftp in setup
   add allow tcp from any to any ftp\-data in setup
   add allow tcp from any ftp\-data to any setup out
  
Mmm, I prefer using and enforcing FTP passive mode, but YMMV.

How would I do that?  This guy doesn't think it's even 
possible:
http://tinyurl.com/2z6ynr
  
  Mmm, ok.  Passive mode needs allowing connections to this port range
net.inet.ip.portrange.hifirst: 49152
net.inet.ip.portrange.hilast: 65535
  which is adjustable, but I'm unsure of my ground regarding ftp - pass.
  
  How would I write this as a rule?

I did try to pass ..

# ipfw add allow tcp from any to me 49152-65535 in setup

but that's only safe if you'll run no other services in that range. 

Below in your new ruleset you specify as a range:

  # FTP Passive (Ports 1-65000):
  add allow tcp from me to any 1-65000 in setup

but I think you mean 'any to me'?, and the range is unnecesarily larger
than ftpd uses, ie .hifirst to .hilast and you can probably limit your
range further - I'm unsure how hard passive mode ftpd hunts for free
ports to bind to, or what.  Maybe someone else can help out here .. ?


OK:

# FTP Passive (Ports 49152-65535):
add allow tcp from any to me 49152-65535 in setup

There seems to be very sparse documentation on these higher
ports, passive FTP, and /etc/sysctl.conf.  I am hoping
that these settings for sysctl.conf are proper:

  net.inet.ip.portrange.lowfirst=1023
  net.inet.ip.portrange.lowlast=600
  net.inet.ip.portrange.first=32768
  net.inet.ip.portrange.last=49151
  net.inet.ip.portrange.hifirst=49152
  net.inet.ip.portrange.hilast=65535




Am using this link, since man ipfw doesn't work on 6.2.  (I dare
someone to explain to me how to get it to work):
http://www.freebsd.org/cgi/man.cgi?query=ipfwsektion=8
  
  That's weird.  Does man work for others in section 8, eg man mount ? 
  
  Nope.  How to get working?

(re)install the manpages and doc distributions from the distribution CD,
or by FTP or whatever you used or want to use.

You can use sysinstall / configure / distributions, select manpages and
doc, select media when asked, visit options if you need to set anything
else, then install.  Don't go _anywhere near_ partitioning or labelling
disks or mess with anything else, even for a peek, in my experience.

Hmmm.  I guess sysinstall didn't do this to begin with.  Did this:

  sysinstall - Configure - Distributions - man - OK - FTP -
  Primary #12 (ftp12.freebsd.org) - 
  Running multi-user, assume that the network is already configured?
  - Yes
  
Extracting manpages into / directory... 

  Exit out, then test:
  
man ipfw


  # Stop, then restart ipfw:
  #   ipfw disable firewall; /etc/rc.d/ipfw start

Or '/etc/rc.d/ipfw stop; /etc/rc.d/ipfw start' which includes the
dis/enabling.  '/etc/rc.d/ipfw restart' probably works too, modulo
caveats in ipfw(8) about doing these sorts of things remotely.

Yeppers.  What I use (ipfw disable firewall; /etc/rc.d/ipfw start)
seems to not lock out my remote connection.  The others do.


  # List firewall hits:
  #   ipfw -a -S -N -t list

-S is overkill/noise unless actually using sets.  -N can be slow if any
addresses prove hard to resolve, but I guess that info may be useful :)

OK:

  # List firewall hits:
  #   ipfw -a -N -t list



  # Zero out hits counter:
  #   ifpw zero

shudder  I'd never use this command without including rule number/s,
but then I use counters for um, accounting.  Fine while testing .. 

OK:

# Zero out hits for a specific rule number:
ipfw zero 05200

# Zero out hits counter for ALL rules:
ifpw zero


Additions:

# Log Viewing/Searching/Studying:
#tail  -f   /var/log/ipfw/ipfw.log

# Study:
less -S /var/log/ipfw/ipfw.log*

# With grep filtering:
cat /var/log/ipfw/ipfw.log | grep 192.168.1.103 | grep UDP | more



  # Allow anything on the local loopback:
  add allow all from any to any via lo0
 
  # Disallow Spoofers: =
  # For more info, see: 
  #  RFC3330
  #  http://en.wikipedia.org/wiki/Private_network

# If you are actually using a particular
# subnet, then be sure to comment out 
# the appropriate section.

  #
  # This Network:
  add deny log ip from any to 0.0.0.0/8 in
  add deny log ip from 0.0.0.0/8 to any in
.
.
.
  # Class E Reserved:
  add deny log ip from any to 240.0.0.0/4 in
  add deny log ip from 240.0.0.0/4 to any 

OSX NFS-Server FreeBSD NFS Client

2008-01-02 Thread Konrad Heuer


I observe a serious problem with NFS exports from a Mac OS X 10.4 server 
to FreeBSD 6.2 NFS clients (itself running on DELL PowerEdge 2850 server 
hardware).


We use the StorNext distributed file system in which FreeBSD cannot 
participate straightly (sorry to say). But OS X can do using the XSAN 
software from Apple, so we integrated the OS X server into the StorNext 
environment.


We want OS X to NFS export the filesystems to FreeBSD clients, which by 
itself for example act as SMB servers using Samba 3.0.x.


After exporting and mounting, everything seems to work well. But when the 
system gets under some real life load, NFS-mounted file systems begin 
sporadically to hang on the FreeBSD clients without any error message.


On the NFS clients, although some processes are blocked in kernel mode 
when accessing files, others still can work successfully. But with 
increasing time, the situation becomes worse and worse until we have to 
restart the operating system by ungently switching the power off and on 
again.


The OS X server seems to be unimpressed by all this.

I'd greatly appreciate any hint or idea what to do. Of course, I did some 
experimenting with NFS mount options (-rsize,-wsize,-L), but got no 
improvement.


Best regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to not start syslogd

2008-01-02 Thread [EMAIL PROTECTED]
On 31/12/2007, DAve [EMAIL PROTECTED] wrote:

 Small hint shown to me many years ago when enabling things in rc.conf.
 If I want to startup ipfilter for example (trimmed to avoid wrapping).

 bash-2.05b# cat /etc/defaults/rc.conf | grep ^ipfilter

 Returns the following,
 ipfilter_enable=NO# Set to YES to enable ipfilter
 ipfilter_program=/sbin/ipf# where the ipfilter program lives
 ipfilter_rules=/etc/ipf.rules # rules definition file for ipfilter,
 ipfilter_flags=   # additional flags for ipfilter

 If it looks like what you want then write it into your running rc.conf,

 cat /etc/defaults/rc.conf | grep ^ipfilter  /etc/rc.conf


cat not needed, as grep accepts filenames
and  as in
grep ^ipfilter /etc/defaults/rc.conf
or the above with | $PAGER appended
grep ^ipfilter /etc/defaults/rc.conf  /etc/rc.conf
grep ^allsc  /etc/defaults/rc.conf | less

sorry, just trying to prevent cat abuse

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