Re: Building kernel without some modules

2005-05-03 Thread ianchov

>>> Is it possible to build kernel without compiling unnecessary modules?
>>> My system - freebsd5.3.
>>> Thanks.
>>> --
Yes.
checkout make.conf and read the comments


-

http://www.atol.bg - Намери бившите си съученици и стари приятели!

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


Re: The FreeBSD Handbook, in Wiki form.

2005-05-03 Thread Giorgos Keramidas
On 2005-05-03 17:29, Benjamin Keating <[EMAIL PROTECTED]> wrote:
>On 5/3/05, Kris Kennaway <[EMAIL PROTECTED]> wrote:
>>On Tue, May 03, 2005 at 05:00:06PM -0700, Benjamin Keating wrote:
>>> Is there anything being done to help keep the handbook just a little
>>> more updated? It's a great handbook, if it's content wasn't so out of
>>> date.
>>
>> What is out of date?
>>
>> Generally, if you want to improve something in the handbook, just
>> submit a PR.
>
> A wiki would eliminate that bottle neck (PR).

A wiki comes with its own set of problems though.  It's not easy to
mirror, its markup language is arbitrarily defined (as opposed to
DocBook/SGML), it still requires constant review by a group of dedicated
freebsd-doc people, etc.

> Some parts are out of date. Others fail to mention FAQ , etc. that
> could really help. For instance, the NAT/DHCP articles could easily
> include a 'typical home user' HOWTO rather then tricking the user into
> reading that one line where it says you have to recompile your kernel
> with IPFIREWALL support.

Useful comments can always posted to freebsd-doc for discussion.
Helpful comments are not only those that contain patches, but also
comments of the form:

"This section sucks a bit.  I can't really understand what the
exact steps to rebuild my kernel are."

> Things like that bring noise to this mailing list.

It's ok.  This is part of the purpose of having the list :)

- Giorgos

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


Re: FreeBSD 5.3 NVIDIA-1.0.7174 GLX extension problem

2005-05-03 Thread Soheil Hassas Yeganeh
I had installed the nvidia-1.0.7174 from nvidia. 
I had used 1.0-6113 from ports. It works nice. But i wanted just to
upgrade to the new NVIDIA Version.

On 03 May 2005 12:08:40 -0400, Lowell Gilbert
<[EMAIL PROTECTED]> wrote:
> Soheil Hassas Yeganeh <[EMAIL PROTECTED]> writes:
> 
> > I have problem using NVIDIA-1.0.7174.
> > It failed to load GLX. What i can do for this?
> >
> > This is a warnings and errors of my X.org log
> >
> > (WW) NV(0): Option "CursorShadow" is not used
> > (EE) Failed to initialize GLX extension (NVIDIA X driver not found)
> > I have attached the complete X.org log
> 
> It turns out that you have not.
> 
> My guess is that you need to use the nvidia driver (available from
> ports) instead of the nv one that comes with X.org.
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


(no subject)

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


(no subject)

2005-05-03 Thread mtarelov
[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: Building kernel without some modules

2005-05-03 Thread Kris Kennaway
On Wed, May 04, 2005 at 09:03:49AM +0500, Vitaly Bogdanov wrote:
> Hi.
> Is it possible to build kernel without compiling unnecessary modules?
> My system - freebsd5.3.

See make.conf(5)

Kris


pgp6Yak9S91nj.pgp
Description: PGP signature


Building kernel without some modules

2005-05-03 Thread Vitaly Bogdanov
Hi.
Is it possible to build kernel without compiling unnecessary modules?
My system - freebsd5.3.
Thanks.
-- 
Vitaly Bogdanov
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Sendmail masquerading breaks local mail delivery

2005-05-03 Thread Paul A. Hoadley
Hi Charles,

On Tue, May 03, 2005 at 10:53:55PM -0400, Charles Swiger wrote:
> On May 3, 2005, at 10:36 PM, Paul A. Hoadley wrote:
> > This is in bert.coremedicalsolutions.com.submit.mc:
> 
> I'm not convinced it's a good idea to do MASQUERADE'ing in the
> submit.mc, use the normal sendmail.mc file for the MTA, not the MSA.

Every time I think I have a handle on Sendmail, I go and do something
like this.  Moving the masquerading to the local version of
sendmail.mc was sufficient to fix the problem.  Thanks.


-- 
Paul.

w  http://logicsquad.net/
h  http://paul.hoadley.name/


pgph3BexgPzKo.pgp
Description: PGP signature


RE: The FreeBSD Handbook, in Wiki form.

2005-05-03 Thread bob

Sure any public person can post junk to wiki and that is just what
is wrong with it for official handbook.  There would be no peer
review of info for correctness. There is no single person who knows
everything about FreeBSD  and has time to review all the personal
opinions posted to some wiki.  And if you search this questions
archives you will see that there is all ready an wiki for FreeBSD
and it has very little activity.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Benjamin
Keating
Sent: Tuesday, May 03, 2005 8:29 PM
To: Kris Kennaway
Cc: freebsd-questions@freebsd.org
Subject: Re: The FreeBSD Handbook, in Wiki form.


A wiki would eliminate that bottle neck (PR).
Some parts are out of date. Others fail to mention FAQ , etc. that
could really help. For instance, the NAT/DHCP articles could easily
include a 'typical home user' HOWTO rather then tricking the user
into
reading that one line where it says you have to recompile your
kernel
with IPFIREWALL support.

Things like that bring noise to this mailing list. Idon't know about
you but I'd rather just add my new found info to the site rather
find
a PR addy, submit it and wait for it to be added. We have software
that does this now. Lets use it! :)

- bpk

On 5/3/05, Kris Kennaway <[EMAIL PROTECTED]> wrote:
> On Tue, May 03, 2005 at 05:00:06PM -0700, Benjamin Keating wrote:
> > Is there anything being done to help keep the handbook just a
little
> > more updated? It's a great handbook, if it's content wasn't so
out of
> > date.
>
> What is out of date?
>
> Generally, if you want to improve something in the handbook, just
> submit a PR.
>
> Kris
>
>
>
___
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: dynamically limit ip connections to ports over time?

2005-05-03 Thread bob


ipfw has "limit src ip"  option.  
It's documented in the handbook's firewall section.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Alex Teslik
Sent: Tuesday, May 03, 2005 10:33 PM
To: freebsd-questions@freebsd.org
Subject: dynamically limit ip connections to ports over time?


Hi all,

I have been running a FreeBSD box for a few years. Over this time spammers
and other unfriendlies have found my box and have been attacking at a slowly
increasing rate. Every night the daily periodic scripts run and report to me
the number of rejected mail hosts. Last week, one of the rejected mail hosts
had the number of rejections listed at 3000. My hard drive has been getting
louder and louder as it gets busier rejecting and logging all of these and now
I would like to do something about it... but I'm not sure what I can do. When
the hard drive is at its busiest I see mail being virus and spam scanned at a
dizzying rate (tail -f /var/log/maillog), hence the hard drive grinding.
What I would LIKE to do is allow any ip to connect to a port for a
specified number of times per minute.  If they connect too many times than I
would like to freeze them out for a specified amount of time. This solution
should be dynamic so that I don't need to constantly monitor the offending ip
addresses.
Originally, I thought I would attach a sendmail milter to do this, since
mail cannons are my main problem right now. I looked at:

http://www.milter.info/milter-limit/index.shtml

but it requires manually adding a rule for each ip.

Then I considered grey-listing:

http://www.milter.info/milter-gris/index.shtml

but I don't want to reject messages and cause mail delivery delays on my
system.

Finally, it occurred to me that the firewall would probably be a better
solution and would have the nice side effect of limiting traffic to other
ports as well. To try to accomplish this I have been reading a lot of IPFilter
rules via google and lists, but I havn't found any that seems that it can do
what I describe above - limit by ip over time.
I'm sure this is not a unique problem - can someone point me in a helpful
direction?

Many Thanks

P.S.- please cc my email address as I am not subscribed.
___
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: make installworld (remotely)

2005-05-03 Thread Kris Kennaway
On Tue, May 03, 2005 at 08:50:47PM -0600, Pat Maddox wrote:
> Huh?  How about the many many production machines located at remote
> datacenters?  How do people upgrade those?

Personally speaking, by making sure I have a suitable backup plan for
when something unexpected happens (usually serial console).

> I've personally done hundreds of remote upgrades without ever
> rendering a machine unrecoverable.

Me too, but also some where something went wrong (power failure at
critical moment, change to kernel configuration I forgot to adapt for,
mis-merged /etc leading to sshd not starting, etc).

Kris


pgpDyCEk7F3LS.pgp
Description: PGP signature


Re: Sendmail masquerading breaks local mail delivery

2005-05-03 Thread Charles Swiger
On May 3, 2005, at 10:36 PM, Paul A. Hoadley wrote:
 This is in bert.coremedicalsolutions.com.submit.mc:
I'm not convinced it's a good idea to do MASQUERADE'ing in the 
submit.mc, use the normal sendmail.mc file for the MTA, not the MSA.

As a result of this, though, all the periodic mails and the output
from cron are now (I gather) having the local hostname stripped, and
being sent off to the MX-listed mailer for the wider domain at an ISP.
How do I get local mail delivered locally, while still masquerading
the domain name for non-local mail?
Local delivery is handled by class w, and you can put hostnames for 
which local delivery will happen into a file as well, typically 
/etc/mail/local-host-names.

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


Re: make installworld (remotely)

2005-05-03 Thread Pat Maddox
Huh?  How about the many many production machines located at remote
datacenters?  How do people upgrade those?

I've personally done hundreds of remote upgrades without ever
rendering a machine unrecoverable.  In fact, the only problems I've
run into are with a noexec /tmp, but that's easily fixable when doing
an upgrade.



On 5/3/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Doing a remote buildworld is just too dangerous for an production
> box and expensive in backups because you have all the source files
> to deal with. The more popular method of updating a remote system is
> to have an local development box that has same components and do a
> fresh install to a empty ata hard drive and them ship new HD to
> remote site and swap for old one. If needed, you recover by swapping
> old one back in. Or another popular way is after populating new HD,
> build an bootable system on a cdrom then ship cdrom to remote site
> and swap that.
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Lauri
> Anteploon / ctrl-L
> Sent: Tuesday, May 03, 2005 5:30 PM
> To: freebsd-questions@freebsd.org
> Subject: make installworld (remotely)
> 
> Hi.
> Im running FreeBSD 5.3-Release #0 and would like to do buildworld
> and
> buildkernel.
> The problem is that the machine is a remote one.
> Handbook states that to run "mergemaster" and "make installworld" I
> should
> boot into single user mode.
> That would mean that I can't access the machine remotely anymore am
> I
> correct?
> 
> Would it be okey to run make installworld when running in multiuser
> mode and
> being the only person whos logged on and maby shutting down most of
> the
> network services (leaving my sshd running though) ?
> 
> Lauri Anteploon
> HYPERLINK "mailto:[EMAIL PROTECTED]"[EMAIL PROTECTED]
> 5056999
> 
> HYPERLINK "http://www.bitifarm.ee/";
> 
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.308 / Virus Database: 266.11.2 - Release Date:
> 2.05.2005
> 
> ___
> 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]"


Sendmail masquerading breaks local mail delivery

2005-05-03 Thread Paul A. Hoadley
Hello,

Because of a bizarre email topology that exists at an office I have a
5.3 machine installed at, I have recently configured sendmail to
masquerade the hostname of outgoing mail to drop the machine name
part.  This is in bert.coremedicalsolutions.com.submit.mc:

divert(-1)
# Comments...
divert(0)dnl
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.submit.mc,v 1.1 2003/10/19 
00:03:13 gshapiro Exp $')
define(`confCF_VERSION', `Submit')dnl
define(`__OSTYPE__',`')dnl dirty hack to keep proto.m4 from complaining
define(`_USE_DECNET_SYNTAX_', `1')dnl support DECnet
define(`confTIME_ZONE', `USE_TZ')dnl
define(`confDONT_INIT_GROUPS', `True')dnl
define(`confBIND_OPTS', `WorkAroundBroken')dnl
dnl
dnl If you use IPv6 only, change [127.0.0.1] to [IPv6:::1]
MASQUERADE_AS(coremedicalsolutions.com)dnl
FEATURE(`masquerade_envelope')dnl
FEATURE(`msp', `[127.0.0.1]')dnl

As a result of this, though, all the periodic mails and the output
from cron are now (I gather) having the local hostname stripped, and
being sent off to the MX-listed mailer for the wider domain at an ISP.
How do I get local mail delivered locally, while still masquerading
the domain name for non-local mail?


-- 
Paul.

w  http://logicsquad.net/
h  http://paul.hoadley.name/


pgpWvXb9rn6qy.pgp
Description: PGP signature


dynamically limit ip connections to ports over time?

2005-05-03 Thread Alex Teslik
Hi all,

I have been running a FreeBSD box for a few years. Over this time spammers
and other unfriendlies have found my box and have been attacking at a slowly
increasing rate. Every night the daily periodic scripts run and report to me
the number of rejected mail hosts. Last week, one of the rejected mail hosts
had the number of rejections listed at 3000. My hard drive has been getting
louder and louder as it gets busier rejecting and logging all of these and now
I would like to do something about it... but I'm not sure what I can do. When
the hard drive is at its busiest I see mail being virus and spam scanned at a
dizzying rate (tail -f /var/log/maillog), hence the hard drive grinding.
What I would LIKE to do is allow any ip to connect to a port for a
specified number of times per minute.  If they connect too many times than I
would like to freeze them out for a specified amount of time. This solution
should be dynamic so that I don't need to constantly monitor the offending ip
addresses.
Originally, I thought I would attach a sendmail milter to do this, since
mail cannons are my main problem right now. I looked at:

http://www.milter.info/milter-limit/index.shtml

but it requires manually adding a rule for each ip.

Then I considered grey-listing:

http://www.milter.info/milter-gris/index.shtml

but I don't want to reject messages and cause mail delivery delays on my
system.

Finally, it occurred to me that the firewall would probably be a better
solution and would have the nice side effect of limiting traffic to other
ports as well. To try to accomplish this I have been reading a lot of IPFilter
rules via google and lists, but I havn't found any that seems that it can do
what I describe above - limit by ip over time.
I'm sure this is not a unique problem - can someone point me in a helpful
direction?

Many Thanks

P.S.- please cc my email address as I am not subscribed.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


external usb2 drive enclosure on 5.3

2005-05-03 Thread dave
Hello,
I've got a 5.3 box that i'd like to plug a usb2 drive enclosure in to. I'm
concerned about 5.3's detection of my usb ports, they're all usb2 ports, yet
some of them are showing up as only usb1. Here's my usb information:

uhci0:  port 0xde00-0xde1f irq 11 at device 16.0
on pci0
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1:  port 0xdf00-0xdf1f irq 11 at device 16.1
on pci0
usb1:  on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2:  port 0xe000-0xe01f irq 11 at device 16.2
on pci0
usb2:  on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3:  port 0xe100-0xe11f irq 11 at device 16.3
on pci0
usb3:  on uhci3
usb3: USB revision 1.0
uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0:  mem 0xe8115000-0xe81150ff irq 10 at
device 16.4 on pci0
ehci_pci_attach: companion usb0
ehci_pci_attach: companion usb1
ehci_pci_attach: companion usb2
ehci_pci_attach: companion usb3
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4:  on ehci0
usb4: USB revision 2.0
uhub4: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: single transaction translator
uhub4: 8 ports with 8 removable, self powered

The enclosure itself is for a 20 gb 2.5 inch laptop hard drive, and it has
two cables coming out of it, one for power the other data. I'm wondering if
it matters which controller one should plug them into or if that doesn't
matter at all? The enclosure was purchased from CompUSA and all i can say is
that at least this one shows up, the sandisk one, was a no show.
When i plug in the enclosure here's the output i get:

(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): MEDIUM ERROR info?:202020 asc:11,20
(da0:umass-sim0:0:0:0): Reserved ASC/ASCQ pair
(da0:umass-sim0:0:0:0): Retrying Command (per Sense Data)
(da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): MEDIUM ERROR info?:202020 asc:11,20
(da0:umass-sim0:0:0:0): Reserved ASC/ASCQ pair
(da0:umass-sim0:0:0:0): Retrying Command (per Sense Data)
(da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): MEDIUM ERROR info?:202020 asc:11,20

That repeats. Any help appreciated.
Thanks.
Dave.

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


Re: gcc issue in 5.3

2005-05-03 Thread Charles Swiger
On May 3, 2005, at 10:09 PM, Christopher M.Hobbs wrote:
I'm running a fresh install of 5.3-RELEASE.  Every time I attempt to 
install anything from the ports tree, gcc fails.  Nine times out of 
ten it states that there has been an internal error, and that I should 
submit a bug report.
Try building the port again; if it fails in a different place and 
you're seeing signal 11's (SIGSEGV), it's almost certainly hardware 
problems like poor cooling or bad memory, not a bug with GCC.

Try running memtest.org's checker overnight and see whether that shows 
any problems.

Otherwise, please provide more information including *which* port, and 
the exact error messages (give about 10 lines of context)...

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


Re: gcc issue in 5.3

2005-05-03 Thread Kris Kennaway
On Tue, May 03, 2005 at 09:09:19PM -0500, Christopher M. Hobbs wrote:
> Greetings list, I'm a first time poster.  I hope I get this right.
> 
> I'm running a fresh install of 5.3-RELEASE.  Every time I attempt to 
> install anything from the ports tree, gcc fails.  Nine times out of ten 
> it states that there has been an internal error, and that I should 
> submit a bug report.
> 
> I've considered building a different version of gcc, but I obviously 
> need a working C compiler to do that.  Are there gcc binaries for 
> FreeBSD (x86).
> 
> Right now I'm looking to move to a STABLE branch, but I'd rather fix my 
> current problem and move on.  Is this possible, or would a fresh 
> install be my best bet?

You almost certainly have bad hardware.  This is a FAQ.

Kris


pgpywPjxnfYUG.pgp
Description: PGP signature


gcc issue in 5.3

2005-05-03 Thread Christopher M . Hobbs
Greetings list, I'm a first time poster.  I hope I get this right.
I'm running a fresh install of 5.3-RELEASE.  Every time I attempt to 
install anything from the ports tree, gcc fails.  Nine times out of ten 
it states that there has been an internal error, and that I should 
submit a bug report.

I've considered building a different version of gcc, but I obviously 
need a working C compiler to do that.  Are there gcc binaries for 
FreeBSD (x86).

Right now I'm looking to move to a STABLE branch, but I'd rather fix my 
current problem and move on.  Is this possible, or would a fresh 
install be my best bet?

Thanks!!
--
C.M. Hobbs, KD5RYO
http://hobbsc.sdf-us.org


PGP.sig
Description: This is a digitally signed message part


Re: Sendmail with sasl2 build fails.

2005-05-03 Thread Richard McIntyre
Richard Mcintyre wrote:
Andy W. Clements wrote:
On Tue, 2005-05-03 at 19:10 -0400, Richard Mcintyre wrote:
 

I have installed cyrus-sasl2-saslauthd from ports.
I then added the following to /etc/make.conf:
# SASL (cyrus-sasl v2) sendmail build flags...
SENDMAIL_CFLAGS+= -I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS+= -L/usr/local/lib
SENDMAIL_LDADD+= -lsasl2
# Adding to enable alternate port (smtps) for sendmail...
SENDMAIL_CFLAGS+= -D_FFR_SMTP_SSL
  

I just went through this same process, however my flags are different
than yours:
SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2
But I don't think that is what is causing the error belowcontinue:
 

All return the same problem at the make on 
/usr/src/usr.sbin/sendmail...

cc -O -pipe  -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src 
-I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. 
-DNEWDB -DNIS -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 
-DSTARTTLS -D_FFR_TLS_1 -I/usr/local/include -DSASL=2 
-D_FFR_SMTP_SSL  -c 
/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/version.c
make: don't know how to make 
/usr/src/usr.sbin/sendmail/../../lib/libsmutil/libsmutil.a. Stop


Can anyone help out? Thanks in advance...
~REM
  

I have read somewhere that your source needs to be prestine in order for
the compile to work correctly.  I pulled the source directly from cvsup
just before attempting this manuver and it worked out all right.  When
did you last retrieve the source?
I did it on the same build as you:
zeppo:awc# uname -a
FreeBSD zeppo.candhsoftware.com 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri
Nov  5 04:19:18 UTC 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
Does the make at the end of libsmutil show the libsmutil.a file being
created?
--Andy
 

Actually I have just installed (using  diskettes over the network) 
last night. I am sure that doesn't mean that the src that was 
downloaded is 100% up todate. I am running a cvsup on src now, 
hopefully that will correct my problem.

PS - Yes the libsmutil.a file was created when running the make in 
libsmutil.

Thanks,
~Richard McIntyre

Okay, I ran a cvsup for src-all and did the same thing and it still 
fails with the same error...

make: don't know how to make 
/usr/src/usr.sbin/sendmail/../../lib/libsmutil/libsmutil.a. Stop

Any other suggesttions?
Thanks in advance...
~REM
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: unary operator expected

2005-05-03 Thread Chuck Robey
Clifton Royston wrote:
On Tue, May 03, 2005 at 05:13:47PM -0600, Chris Burchell wrote:
I'm working with a script written for Linux that has the following
lines:
# Check that networking is up.
[ ${NETWORKING} = "no" ] && exit 0

  I don't think it's a Linux/BSD issue.  This line won't work in sh if
NETWORKING is unset.  Then you get (after parameter expansion)
  [ = "no" ] && exit 0
which fails the syntax check.  
That's a very well known mistake you ran into ... you did it wrong.  You
assumed that $(NETWORKING) == NO is the same as $(NETWORKING) = "" 
(empty) and they are not equal.  You need to insure that $NETWORKING) 
eitgher always has a value, or you have to shortcircuit the test with a 
test for the variable's existence and length.

Being honest, if I were doing it, I would use NETWORKING as a macro 
value, something that could immediately test the network's viability, 
then operate upon that's results.

  I suspect "NETWORKING" always happened to be set in the Linux
environment you were running it under, or perhaps you were using a
different shell.
 

Can anyone help with suggestions or an alternate statement that will
work on FreeBSD 5.3-RELEASE?

  One time-honored idiom is:
  [ "X${NETWORKING}" = "Xno" ] && exit 0
  or you can just make sure that NETWORKING always gets set to some
value.
  -- Clifton
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: creating a local cvsup mirror.

2005-05-03 Thread Derrick MacPherson
On Mon, 2005-05-02 at 17:13 -0700, Derrick MacPherson wrote:
> I want to create a local mirror for my internal freebsd systems. I seem
> to be confusing articles that are 'how to mirror' and 'how to be a
> mirror'. Is there some details/info out there that could be of help? I
> would have thought it would be enough to be running ports/net/cvsup-
> mirror would be enough on the server, and then the clients here would
> use 'cvsup -h my_cvs_server ports-all' but I end up seeing:
> May  2 12:40:49 cvs cvsupd[57822]: =3 Unknown collection "ports-all"
> 
> So if someone can clarify/point/whatever, much appreciated.


Hmm. OK worked this time no problem.

my next Q, is what do I need to do to enable my 5.X box have the source
for a 4.X box?

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


daapd and high load averages

2005-05-03 Thread Bob Bomar
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
- -BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I am running 5.4-Prerelease with daapd 0.2.3d.  I notice that
the load average runs right at 1.0, and 0 if daapd is not running.
I was just wondering if this was normal.  I do have some
w4p files in my collection.
top:
57525 daapd1260 36624K 34356K RUN345.8H  32.78%  32.78%  
daapd

- - --
Bob Bomar
[EMAIL PROTECTED]
http://www.ibsd.us
- - ---
FreeBSD: The Power To Serve
http://www.FreeBSD.org
- -BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)
iD8DBQFCeBu29Jm/aTrtdKoRAuShAJ4yb0Q+1+SC6z/HT0CUPdmrTOAP5wCeK1qV
fk0kL0yoXkrJNS8CAjqjcO0=
=8PpI
- -END PGP SIGNATURE-
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)
iD8DBQFCeBvD9Jm/aTrtdKoRAqRgAKCUVTPJ34xZJQ/vDyqhcvdJgd4vCgCfYhU+
tjGOuMyFT3aDGeUnj/HBhhs=
=vkTt
-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: The FreeBSD Handbook, in Wiki form.

2005-05-03 Thread Benjamin Keating
A wiki would eliminate that bottle neck (PR).
Some parts are out of date. Others fail to mention FAQ , etc. that
could really help. For instance, the NAT/DHCP articles could easily
include a 'typical home user' HOWTO rather then tricking the user into
reading that one line where it says you have to recompile your kernel
with IPFIREWALL support.

Things like that bring noise to this mailing list. Idon't know about
you but I'd rather just add my new found info to the site rather find
a PR addy, submit it and wait for it to be added. We have software
that does this now. Lets use it! :)

- bpk

On 5/3/05, Kris Kennaway <[EMAIL PROTECTED]> wrote:
> On Tue, May 03, 2005 at 05:00:06PM -0700, Benjamin Keating wrote:
> > Is there anything being done to help keep the handbook just a little
> > more updated? It's a great handbook, if it's content wasn't so out of
> > date.
> 
> What is out of date?
> 
> Generally, if you want to improve something in the handbook, just
> submit a PR.
> 
> Kris
> 
> 
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Properly umounting a USB HDD

2005-05-03 Thread Benjamin Keating
Hey all,

I've noticed that a 'umount /mnt/portable' properly umounts the drive
like it should, but when I hold the drive in my hand and give it a
very gentle horizontal spin with my wrist, the reading head /
platter.. something, sounds loose, as if the arm wasn't properly
docked.

Is there any command in BSD that will allow me to properly shutdown a
portable disk? System disks don't have this sound at all but I'm not
sure what commands do it. Maybe it's a APIC/APM thing? That stuff is
greek to me.

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


Re: The FreeBSD Handbook, in Wiki form.

2005-05-03 Thread Kris Kennaway
On Tue, May 03, 2005 at 05:00:06PM -0700, Benjamin Keating wrote:
> Is there anything being done to help keep the handbook just a little
> more updated? It's a great handbook, if it's content wasn't so out of
> date.

What is out of date?

Generally, if you want to improve something in the handbook, just
submit a PR.

Kris


pgpZe0jH1II8e.pgp
Description: PGP signature


Re: IPFW uid filtering (UDP) (was (UID))

2005-05-03 Thread Kris Maglione
subject should read UDP
Kris Maglione wrote:
I have OpenVPN listening on an interface on UDP 1194.
It drops to openvpn:openvpn after it opens the socket. sockstat 
confirms this.

When I add a rule to allow packets in on udp 1194 with uid openvpn, 
they don't match.
The rule is:
1340 allow udp from any to me 1194 in recv dc0 uid openvpn

When I take out "uid openvpn", the packets match. When it's there, 
they don't.

Am I doing something wrong?
BTW, the same goes for the outgoing rule.
___
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]"


The FreeBSD Handbook, in Wiki form.

2005-05-03 Thread Benjamin Keating
Is there anything being done to help keep the handbook just a little
more updated? It's a great handbook, if it's content wasn't so out of
date.

A wiki would be a great way to acheive this. If there isn't a project
like it yet, I'd like to propose we set one up. I can contribute quite
a bit of time and resources towards this. Save me wiki.freebsd.org and
I'll get a move on!

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


Re: Sendmail with sasl2 build fails.

2005-05-03 Thread Richard Mcintyre
Andy W. Clements wrote:
On Tue, 2005-05-03 at 19:10 -0400, Richard Mcintyre wrote:
 

I have installed cyrus-sasl2-saslauthd from ports.
I then added the following to /etc/make.conf:
# SASL (cyrus-sasl v2) sendmail build flags...
SENDMAIL_CFLAGS+= -I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS+= -L/usr/local/lib
SENDMAIL_LDADD+= -lsasl2
# Adding to enable alternate port (smtps) for sendmail...
SENDMAIL_CFLAGS+= -D_FFR_SMTP_SSL
   

I just went through this same process, however my flags are different
than yours:
SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2
But I don't think that is what is causing the error belowcontinue:
 

All return the same problem at the make on /usr/src/usr.sbin/sendmail...

cc -O -pipe  -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src 
-I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB 
-DNIS -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS 
-D_FFR_TLS_1 -I/usr/local/include -DSASL=2 -D_FFR_SMTP_SSL  -c 
/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/version.c
make: don't know how to make 
/usr/src/usr.sbin/sendmail/../../lib/libsmutil/libsmutil.a. Stop


Can anyone help out? Thanks in advance...
~REM
   

I have read somewhere that your source needs to be prestine in order for
the compile to work correctly.  I pulled the source directly from cvsup
just before attempting this manuver and it worked out all right.  When
did you last retrieve the source?
I did it on the same build as you:
zeppo:awc# uname -a
FreeBSD zeppo.candhsoftware.com 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri
Nov  5 04:19:18 UTC 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
Does the make at the end of libsmutil show the libsmutil.a file being
created?
--Andy
 

Actually I have just installed (using  diskettes over the network) last 
night. I am sure that doesn't mean that the src that was downloaded is 
100% up todate. I am running a cvsup on src now, hopefully that will 
correct my problem.

PS - Yes the libsmutil.a file was created when running the make in 
libsmutil.

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


Re: Sendmail with sasl2 build fails.

2005-05-03 Thread Andy W. Clements
On Tue, 2005-05-03 at 19:10 -0400, Richard Mcintyre wrote:
> I have installed cyrus-sasl2-saslauthd from ports.
>
> I then added the following to /etc/make.conf:
> # SASL (cyrus-sasl v2) sendmail build flags...
> SENDMAIL_CFLAGS+= -I/usr/local/include -DSASL=2
> SENDMAIL_LDFLAGS+= -L/usr/local/lib
> SENDMAIL_LDADD+= -lsasl2
> # Adding to enable alternate port (smtps) for sendmail...
> SENDMAIL_CFLAGS+= -D_FFR_SMTP_SSL
>

I just went through this same process, however my flags are different
than yours:

SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2

But I don't think that is what is causing the error belowcontinue:

> All return the same problem at the make on /usr/src/usr.sbin/sendmail...
> 
> cc -O -pipe  -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src 
> -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB 
> -DNIS -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS 
> -D_FFR_TLS_1 -I/usr/local/include -DSASL=2 -D_FFR_SMTP_SSL  -c 
> /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/version.c
> make: don't know how to make 
> /usr/src/usr.sbin/sendmail/../../lib/libsmutil/libsmutil.a. Stop
> 
> 
> Can anyone help out? Thanks in advance...
> ~REM
> 

I have read somewhere that your source needs to be prestine in order for
the compile to work correctly.  I pulled the source directly from cvsup
just before attempting this manuver and it worked out all right.  When
did you last retrieve the source?

I did it on the same build as you:

zeppo:awc# uname -a
FreeBSD zeppo.candhsoftware.com 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri
Nov  5 04:19:18 UTC 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

Does the make at the end of libsmutil show the libsmutil.a file being
created?

--Andy


-- 
Andy Clements
Chief Engineer
C & H Software L.L.C.
[EMAIL PROTECTED]

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


php4-4.3.11 Port Question (mime_magic)

2005-05-03 Thread John Schneider
Newbie question, apologize in advance if I missed something obvious. I also
apologize if this is not the best forum for questions on specific ports. 

I installed the port php4-4.3.11. The purpose of using this port to ugprade
my working php4 install, was to be able to the horde 3.0 framework
(www.horde.org). Everything looks fine, but a test.php file in my horde
setup reports that mime_magic is not installed.

Everything I read says that mime_magic is installed by default with recent
versions of php4. I'm not sure why the port version of php4 hasn't installed
it, or how to specify it as a make option (I'm not even sure if this is
possible via the ports).

Any help or general guideance would be very much appreciate. Thanks in
advance.

- John

HERE IS THE REPORT FROM MY HORDE TEST.PHP FILE:


Horde Version

* Horde: 3.0.4

Horde Applications

* Horde: 3.0.4
* Imp: H3 (4.0.3) (run Imp tests)

PHP Version

* View phpinfo() screen
* View loaded extensions
* PHP Version: 4.3.11
* PHP Major Version: 4.3
* PHP Minor Version: 11
* PHP Version Classification: release
* You are running a supported version of PHP.

PHP Module Capabilities

* Ctype Support: No
* DOM XML Support: Yes
* FTP Support: Yes
* GD Support: Yes
* Gettext Support: Yes
* Iconv Support: Yes
* IMAP Support: Yes
* LDAP Support: No
* Mbstring Support: Yes
* MCAL Support: No
* Mcrypt Support: Yes
* MIME Magic Support (fileinfo): No
  The fileinfo PECL module or the mime_magic PHP extension (see below)
will most likely provide faster MIME Magic lookups than the built-in Horde
PHP magic code. See horde/docs/INSTALL for information on how to install
PECL/PHP extensions.
* MIME Magic Support (mime_magic): No
  The fileinfo PECL module (see above) or the mime_magic PHP extension
will most likely provide faster MIME Magic lookups than the built-in Horde
PHP magic code. See horde/docs/INSTALL for information on how to install
PECL/PHP extensions.
* MySQL Support: Yes
* OpenSSL Support: Yes
* PostgreSQL Support: No
* Session Support: Yes
* XML Support: Yes
* Zlib Support: Yes

Miscellaneous PHP Settings

* magic_quotes_runtime disabled: Yes
* memory_limit disabled: No
  If PHP's internal memory limit is turned on and if not set high enough
Horde will not be able to handle large data items (e.g. large mail
attachments in IMP). If possible, you should disable the PHP memory limit by
recompiling PHP without the "--enable-memory-limit" flag. If this is not
possible, then you should set the value of memory_limit in php.ini to a
sufficiently high value (Current value of memory_limit: 2400).
* file_uploads enabled: Yes
* safe_mode disabled: Yes
* session.use_trans_sid disabled: Yes
* session.auto_start disabled: Yes

Required Horde Configuration Files

* config/conf.php: Yes
* config/mime_drivers.php: Yes
* config/nls.php: Yes
* config/prefs.php: Yes
* config/registry.php: Yes

PHP Sessions

* Session counter: 4
* To unregister the session: click here

PEAR

* PEAR Search Path (PHP's include_path):
/usr/home/daum/www/htdocs/work/horde/lib:/usr/local/lib/php
* PEAR: Yes
* Recent PEAR: Yes
* Mail_RFC822: No
  Make sure you are using a recent version of PEAR which includes the
Mail_RFC822 class.
* Mail_Mime: Yes
* Log: Yes
* DB: Yes
* Net_Socket: Yes
* Date: Yes
* Auth_SASL: Yes
* HTTP_Request: Yes
* File: Yes
* Net_SMTP: Yes
* Services_Weather: Yes

Valid XHTML 1.0!


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


Re: unary operator expected

2005-05-03 Thread Clifton Royston
On Tue, May 03, 2005 at 05:13:47PM -0600, Chris Burchell wrote:
> I'm working with a script written for Linux that has the following
> lines:
> 
> # Check that networking is up.
> [ ${NETWORKING} = "no" ] && exit 0

  I don't think it's a Linux/BSD issue.  This line won't work in sh if
NETWORKING is unset.  Then you get (after parameter expansion)

  [ = "no" ] && exit 0

which fails the syntax check.  

  I suspect "NETWORKING" always happened to be set in the Linux
environment you were running it under, or perhaps you were using a
different shell.
 
> Can anyone help with suggestions or an alternate statement that will
> work on FreeBSD 5.3-RELEASE?

  One time-honored idiom is:

  [ "X${NETWORKING}" = "Xno" ] && exit 0

  or you can just make sure that NETWORKING always gets set to some
value.

  -- Clifton

-- 
  Clifton Royston  --  [EMAIL PROTECTED] 
 Tiki Technologies Lead Programmer/Software Architect
"I'm gonna tell my son to grow up pretty as the grass is green
And whip-smart as the English Channel's wide..."
-- 'Whip-Smart', Liz Phair
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mutt working throu NFS only in read-only

2005-05-03 Thread Benjamin Keating
You can also omit the client-side lockd and statd options if you
include the `-L` option when mounting the NFS export (man mount_nfs,
nfsd)

- bpk

On 3/8/05, Doug Poland <[EMAIL PROTECTED]> wrote:
> On Tue, Mar 08, 2005 at 11:37:19AM +0300, Eugene M. Minkovskii wrote:
> > Hello, I have some trouble in NFS configure. I need to read mail
> > through NFS. So I say on the server:
> >
> ...snip...
> >
> > System: FreeBSD 5.3-RELEASE-p5 (i386) [using ncurses 5.2]
> >
> On FreeBSD 5.x you need to run rpc lockd and statd on both the client
> and server.  Here's snippets from /etc/rc.conf on my boxes:
> 
> client:
> nfs_client_enable="YES"
> rpc_lockd_enable="YES"  # Run NFS rpc.lockd needed for
> rpc_statd_enable="YES"  # Run NFS rpc.statd needed for
> 
> server:
> nfs_server_flags="-u -n 10"
> nfs_server_enable="YES"
> rpc_lockd_enable="YES"  # Run NFS rpc.lockd needed for
> rpc_statd_enable="YES"  # Run NFS rpc.statd needed for
> 
> Implement those changes, reboot (or restart daemons), and you should be
> good to go.
> 
> --
> Regards,
> Doug
> ___
> 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]"


IPFW uid filtering (UID)

2005-05-03 Thread Kris Maglione
I have OpenVPN listening on an interface on UDP 1194.
It drops to openvpn:openvpn after it opens the socket. sockstat confirms 
this.

When I add a rule to allow packets in on udp 1194 with uid openvpn, they 
don't match.
The rule is:
1340 allow udp from any to me 1194 in recv dc0 uid openvpn

When I take out "uid openvpn", the packets match. When it's there, they 
don't.

Am I doing something wrong?
BTW, the same goes for the outgoing rule.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


unary operator expected

2005-05-03 Thread Chris Burchell
Hello:

I'm working with a script written for Linux that has the following
lines:

# Check that networking is up.
[ ${NETWORKING} = "no" ] && exit 0


Everything else in the script works okay, but this one bombs with the
following error:

line 35: [: =: unary operator expected


Can anyone help with suggestions or an alternate statement that will
work on FreeBSD 5.3-RELEASE?

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


Sendmail with sasl2 build fails.

2005-05-03 Thread Richard Mcintyre
All,
I've checked the mailing lists and it appears that this has been a 
problem for other people in the past, but I can't seem to fix the issue 
I'm having.

I have installed cyrus-sasl2-saslauthd from ports.
I then added the following to /etc/make.conf:
# SASL (cyrus-sasl v2) sendmail build flags...
SENDMAIL_CFLAGS+= -I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS+= -L/usr/local/lib
SENDMAIL_LDADD+= -lsasl2
# Adding to enable alternate port (smtps) for sendmail...
SENDMAIL_CFLAGS+= -D_FFR_SMTP_SSL
Then, I attempted to rebuild sendmail, I have tried both of the 
following steps...
First I tried:
   # cd /usr/src/usr.sbin/sendmail
   # make clean
   # make depend
   # make
   # make install

When that failed I tried:
   # cd /usr/src/lib/libsm
   # make obj
   # make depend
   # make
   # cd /usr/src/lib/libsmutil
   # make obj
   # make depend
   # make
   # cd /usr/src/usr.sbin/sendmail
   # make obj
   # make depend
   # make
   # make install
Finally when that failed I tried:
   # cd /usr/src/lib/libsm
   # make clean
   # cd /usr/src/lib/libsmutil
   # make clean
   # cd /usr/src/usr.sbin/sendmail
   # make clean
   # cd /usr/src/lib/libsm
   # make obj
   # make depend
   # make
   # cd /usr/src/lib/libsmutil
   # make obj
   # make depend
   # make
   # cd /usr/src/usr.sbin/sendmail
   # make obj
   # make depend
   # make
   # make install
All return the same problem at the make on /usr/src/usr.sbin/sendmail...

cc -O -pipe  -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src 
-I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB 
-DNIS -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS 
-D_FFR_TLS_1 -I/usr/local/include -DSASL=2 -D_FFR_SMTP_SSL  -c 
/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/version.c
make: don't know how to make 
/usr/src/usr.sbin/sendmail/../../lib/libsmutil/libsmutil.a. Stop


Can anyone help out? Thanks in advance...
~REM

tco1# uname -a
FreeBSD tco1.iaminsane.net 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Mon May  
2 22:32:50 EDT 2005 
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/TCO1.2005.05.02.001  i386

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


Re: NFS mounting

2005-05-03 Thread Benjamin Keating
So putting NFs mounts in the background, via fstab would look like this(?):

nfs.myserver.com:/usr/ports   /usr/ports   nfs   rw,-b   0   0

(is the -b in the right place? I don't have a test environment to
check this setting)

Thanks!
- bpk

On 4/29/05, Xian <[EMAIL PROTECTED]> wrote:
> On Friday 29 April 2005 12:52, Vyacheslav Druzhinin wrote:
> > Hello freebsd-questions,
> >
> >   I've added the nfs mounting point on my workstation to the /etc/fstab
> > like this: nfs.myserver.com:/usr/ports /usr/ports nfs 0 0
> >
> >   When nfs.myserver.com is reachable everything is ok. But if
> >   nfs.myserver.com is down my workstation can't startup and hangs on
> >   at boot screen until nfs.myserver.com become up.
> >
> >   Is it possible to skeep the mounting of nfs volume when nfs server
> >   is not reachable?
> >
> >
> > With best regards,  [MCP, MCSD]
> > Vyacheslav  mailto:[EMAIL PROTECTED]
> > Origin: <--=<< DVG_Lab >>=-->
> >
> 
> The bg option would background the mount and it would try every minute till it
> works. man mount_nfs explains all.
> 
> --
> /Xian
> 
> "Kind words can be short and easy to speek but their echos are truly endless"
> Mother Theresa
> ___
> 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: make installworld (remotely)

2005-05-03 Thread bob
Doing a remote buildworld is just too dangerous for an production
box and expensive in backups because you have all the source files
to deal with. The more popular method of updating a remote system is
to have an local development box that has same components and do a
fresh install to a empty ata hard drive and them ship new HD to
remote site and swap for old one. If needed, you recover by swapping
old one back in. Or another popular way is after populating new HD,
build an bootable system on a cdrom then ship cdrom to remote site
and swap that.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Lauri
Anteploon / ctrl-L
Sent: Tuesday, May 03, 2005 5:30 PM
To: freebsd-questions@freebsd.org
Subject: make installworld (remotely)


Hi.
Im running FreeBSD 5.3-Release #0 and would like to do buildworld
and
buildkernel.
The problem is that the machine is a remote one.
Handbook states that to run "mergemaster" and "make installworld" I
should
boot into single user mode.
That would mean that I can't access the machine remotely anymore am
I
correct?

Would it be okey to run make installworld when running in multiuser
mode and
being the only person whos logged on and maby shutting down most of
the
network services (leaving my sshd running though) ?


Lauri Anteploon
HYPERLINK "mailto:[EMAIL PROTECTED]"[EMAIL PROTECTED]
5056999



HYPERLINK "http://www.bitifarm.ee/";






--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.2 - Release Date:
2.05.2005



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


Re: make installworld (remotely)

2005-05-03 Thread Pat Maddox
http://layer0.layeredtech.com/showthread.php?t=2

Walks you through upgrading remotely.




On 5/3/05, Lauri Anteploon / ctrl-L <[EMAIL PROTECTED]> wrote:
> Hi.
> Im running FreeBSD 5.3-Release #0 and would like to do buildworld and
> buildkernel.
> The problem is that the machine is a remote one.
> Handbook states that to run "mergemaster" and "make installworld" I should
> boot into single user mode.
> That would mean that I can't access the machine remotely anymore am I
> correct?
> 
> Would it be okey to run make installworld when running in multiuser mode and
> being the only person whos logged on and maby shutting down most of the
> network services (leaving my sshd running though) ?
> 
> Lauri Anteploon
> HYPERLINK "mailto:[EMAIL PROTECTED]"[EMAIL PROTECTED]
> 5056999
> 
> HYPERLINK "http://www.bitifarm.ee/";
> 
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.308 / Virus Database: 266.11.2 - Release Date: 2.05.2005
> 
> 
> ___
> 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: make installworld (remotely)

2005-05-03 Thread Alex Zbyslaw
Kris Kennaway wrote:
On Wed, May 04, 2005 at 12:29:40AM +0300, Lauri Anteploon / ctrl-L wrote:
 

Would it be okey to run make installworld when running in multiuser mode and
being the only person whos logged on and maby shutting down most of the
network services (leaving my sshd running though) ?
   

It's possible to do this if everything goes 100% right, but if not
then you'll be left without a usable machine.  You really want a
serial console (and remotely-accessible power controller) for remote
machines, so you can recover them even if you make a mistake.
 

Or a machine which can boot off a network disk.  The you can boot off 
the network, mount your local disks and fix the problems.  If you can 
boot off a network disk, you might even be able to run installworld, but 
you'd have to figure out how to make it install into something like 
/mnt/usr instead of /usr.  Someone else will have to tell you if that's 
possible.

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


Language/codepage trouble

2005-05-03 Thread pps
Hello,
I've been having alot of problems with encodings/language etc.
In short, there's no such problem on winXP - in control panel/Reagional 
and Language Options I set this options:
Standards and Formats (locale): English
Language for non-unicode programs: Russian

and I'd like to get the same functionality on my freebsd, but I only got 
a ton of problems :)
In short, all I want is to have a usual english freebsd (with kde in 
english etc) but all 8-bit texts would be trated the same way they are 
treated on russian freebsd. It's easy to get the second thing - set 
lang=ru in ~/.login_conf or some other way to set env["LANG"], but it 
makes everything f**ked up - all kde and other apps become in russian, 
which I don't need! It seemed like setting default charset would solve 
the problem, but setting charset=CP1251 in ~/.login_conf doesn't solve 
this problems - it doesn't have any effect. Is there any way I can do 
what I want?

I tried to hack default locale files in en_US.ISO8859-1 long time ago 
and I think I made something bad. Is there a way to remove entire 
directory /usr/share/locale and then reinstal it?

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


Re: make installworld (remotely)

2005-05-03 Thread Kris Kennaway
On Wed, May 04, 2005 at 12:29:40AM +0300, Lauri Anteploon / ctrl-L wrote:
> Hi.
> Im running FreeBSD 5.3-Release #0 and would like to do buildworld and
> buildkernel.
> The problem is that the machine is a remote one.
> Handbook states that to run "mergemaster" and "make installworld" I should
> boot into single user mode.
> That would mean that I can't access the machine remotely anymore am I
> correct?
>  
> Would it be okey to run make installworld when running in multiuser mode and
> being the only person whos logged on and maby shutting down most of the
> network services (leaving my sshd running though) ?

It's possible to do this if everything goes 100% right, but if not
then you'll be left without a usable machine.  You really want a
serial console (and remotely-accessible power controller) for remote
machines, so you can recover them even if you make a mistake.

Kris


pgpI0SAYgTELa.pgp
Description: PGP signature


RE: Problems with user ppp

2005-05-03 Thread bob
Log has this
ppp[505]: tun0: IPCP:  PRIDNS[6] 10.155.201.22
which means your ISP has handed you ip 10.155.201.22 is dsn
server.
you say first line in /etc/resolv.conf  is 10.255.201.22
Are you sure you posted the correct stuff here. that number is to
close not to be typo.
Try deleting contents of /var/log/ppp.log and /etc/resolve.conf and
restart user-ppp to get good documented test.

Looks to me as your user ppp is functioning correctly.
Your firewall is not allowing out port 53 to ip 10.155.201.22 is
more likely cause of your problem.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Vittorio
Sent: Tuesday, May 03, 2005 6:36 PM
To: freebsd-questions@freebsd.org
Subject: Problems with user ppp


On my PC with the latest freebsd 5.4 I'm trying to connect to my ISP
"alice"
by means of user ppp. Here is my /etc/ppp/ppp.conf:
#
default:
 set log Phase Chat LCP IPCP CCP tun command
 ident user-ppp VERSION (built COMPILATIONDATE)
 set device /dev/cuaa0
 set speed 115200
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
           \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
 set timeout 180                        # 3 minute idle timer (the
default)

alice:
 #
 # edit the next three lines and replace the items in caps with
 # the values which have been assigned by your ISP.
 #

 set phone "7020803380"
 set authname "[EMAIL PROTECTED]"
 set authkey "nonteladico"

 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 add default HISADDR                    # Add a (sticky) default
route
 enable dns                             # request DNS info (for
resolv.conf)

AND
in /etc/ppp/options

lock
noauth

Launching "ppp -background alice" I can connect with my ISP but
. names
are not resolved because PPP doesn't get the DNSs provided by the
peer and
uses the first DNS server in in /etc/resolv.conf ,10.255.201.22, of
a
previous  dhcp connection at office.
Here it is an extract of the connection log:

.
ppp[505]: tun0: Phase: deflink: his = CHAP 0x05, mine = none
ppp[505]: tun0: Phase: Chap Input: CHALLENGE (16 bytes from apx-rm5)
ppp[505]: tun0: Phase: Chap Output: RESPONSE ([EMAIL PROTECTED])
ppp[505]: tun0: Phase: Chap Input: SUCCESS
ppp[505]: tun0: IPCP: Using trigger address 0.0.0.0
ppp[505]: tun0: CCP: FSM: Using "deflink" as a transport
ppp[505]: tun0: CCP: deflink: State change Initial --> Closed
ppp[505]: tun0: CCP: deflink: LayerStart.
ppp[505]: tun0: CCP: MPPE: Not usable without CHAP81
ppp[505]: tun0: CCP: deflink: SendConfigReq(1) state = Closed
ppp[505]: tun0: CCP:  DEFLATE[4] win 15
ppp[505]: tun0: CCP:  PRED1[2]
ppp[505]: tun0: CCP: deflink: State change Closed --> Req-Sent
ppp[505]: tun0: Phase: deflink: lcp -> open
ppp[505]: tun0: Phase: bundle: Network
ppp[505]: tun0: IPCP: FSM: Using "deflink" as a transport
ppp[505]: tun0: IPCP: deflink: State change Initial --> Closed
ppp[505]: tun0: IPCP: deflink: LayerStart.
ppp[505]: tun0: IPCP: deflink: SendConfigReq(1) state = Closed
ppp[505]: tun0: IPCP:  IPADDR[6] 0.0.0.0
ppp[505]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot
compression
ppp[505]: tun0: IPCP:  PRIDNS[6] 10.155.201.22
                                                   ^
ppp[505]: tun0: IPCP:  SECDNS[6] 255.255.255.255
ppp[505]: tun0: IPCP: deflink: State change Closed --> Req-Sent
ppp[505]: tun0: IPCP: deflink: RecvConfigReq(1) state = Req-Sent
ppp[505]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot
compression
ppp[505]: tun0: IPCP:  IPADDR[6] 80.21.255.5
ppp[505]: tun0: IPCP: deflink: SendConfigAck(1) state = Req-Sent
ppp[505]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot
compression
ppp[505]: tun0: IPCP:  IPADDR[6] 80.21.255.5
ppp[505]: tun0: IPCP: deflink: State change Req-Sent --> Ack-Sent
ppp[505]: tun0: LCP: deflink: RecvProtocolRej(3) state = Opened
ppp[505]: tun0: LCP: deflink: -- Protocol 0x80fd (Compression
Control
Protocol)
ppp[505]: tun0: CCP: deflink: State change Req-Sent --> Stopped
ppp[505]: tun0: IPCP: deflink: RecvConfigNak(1) state = Ack-Sent
ppp[505]: tun0: IPCP:  IPADDR[6] 212.216.149.154
ppp[505]: tun0: IPCP:  IPADDR[6] changing address: 0.0.0.0  -->
212.216.149.154
ppp[505]: tun0: IPCP:  PRIDNS[6] 10.155.201.22
                                                   ^^
ppp[505]: tun0: IPCP:  SECDNS[6] 255.255.255.255
ppp[505]: tun0: IPCP: Primary nameserver set to 10.155.201.22
ppp[505]: tun0: IPCP: deflink: SendConfigReq(2) state = Ack-Sent
ppp[505]: tun0: IPCP:  IPADDR[6] 212.216.149.154
ppp[505]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot
compression
ppp[505]: tun0: IPCP:  PRIDNS[6] 10.155.201.22
ppp[505]: tun0: IPCP:  SECDNS[6] 255.255.255.255
ppp[505]: tun0: IPCP: deflink: RecvConfigAck(2) state = Ack-Sent

...

What should I do?
Vittorio
___
freebsd-questions@freebsd.org

Re: Can't play CD / mount CDROM

2005-05-03 Thread Kent Stewart
On Monday 02 May 2005 08:42 pm, Michael Neeff wrote:
> when I try to mount the CD using the below it says: cd9660 /dev/acd0
> Input / Output error
>
> Thanks!
>
> >From: Lowell Gilbert <[EMAIL PROTECTED]>
> >To: "Michael Neeff" <[EMAIL PROTECTED]>
> >CC: freebsd-questions@freebsd.org
> >Subject: Re: Can't play  CD / mount CDROM
> >Date: 02 May 2005 16:07:45 -0400
> >
> > > I've tried : mount -t cd9660 /dev/acd0 /cdrom and several other
> > > combinations :
> > > mount cd9660 /dev/acd0 /cdrom; mount cd9660; mount_cd9660
> > > /dev/acd0 /cdrom; mount /cdrom  - still the same thing...
> >
> >What "same thing"?  What does it say when you type that?
> >Does anything get printed in the log?

My /etc/fstab on 4-stable has 
/dev/acd0c  /cdrom  cd9660  ro,noauto0   0

On 5-stable it is
/dev/acd0   /cdrom  cd9660  ro,noauto00

Since I have a directory called /cdrom, all I have to do is say 
"mount /cdrom". When I play a CDROM is have kscd setup to play 
the /dev/adc0.., which depends on the version of the OS.

Kent
> >
> >
> >--
> >Lowell Gilbert, embedded/networking software engineer, Boston area
> > http://be-well.ilk.org/~lowell/
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: swap space

2005-05-03 Thread Chad Leigh -- Shire.Net LLC
On May 3, 2005, at 3:20 PM, Kris Kennaway wrote:
On Tue, May 03, 2005 at 03:15:54PM -0600, Chad Leigh -- Shire.Net  
LLC wrote:

Thanks!
Well, on my production system, I am not dumping any kernels.  Once It
crashes, I reboot it and go back into production.  Anything dumped
would get wiped out.  Luckily I am pretty conservative and only move
to new versions of the OS when they have been released a while and so
my machines have not had panics in years.
It's up to you, of course, but it's been my experience that you might
regret the small expenditure of a few gigabytes one day when you do
run into a panic you need help to solve...
Of course, now that I have mentioned it, my luck will change and  
something  bad will happen.

I am not running cheap large IDE disks, but expensive fast high  
performance U320 disks on RAID controllers and so the extra GB does  
cost something.  If I get a repeating panic, I can boot off a  
recovery disk and add in extra swap I guess.

Thanks
I always learn a lot here  (I just wish someone could help me with  
the mail submission question I posted)
Chad

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


make installworld (remotely)

2005-05-03 Thread Lauri Anteploon / ctrl-L
Hi.
Im running FreeBSD 5.3-Release #0 and would like to do buildworld and
buildkernel.
The problem is that the machine is a remote one.
Handbook states that to run "mergemaster" and "make installworld" I should
boot into single user mode.
That would mean that I can't access the machine remotely anymore am I
correct?
 
Would it be okey to run make installworld when running in multiuser mode and
being the only person whos logged on and maby shutting down most of the
network services (leaving my sshd running though) ?
 

Lauri Anteploon
HYPERLINK "mailto:[EMAIL PROTECTED]"[EMAIL PROTECTED]
5056999

 

HYPERLINK "http://www.bitifarm.ee/";




 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.2 - Release Date: 2.05.2005
 
  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: IPFW custom rules file not loading

2005-05-03 Thread bob


You did not follow handbook instruction close enough.
Your rc.conf statements are not correct.
Use the ones from the handbook just like they are printed.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Nicholas
Henry
Sent: Tuesday, May 03, 2005 3:18 PM
To: freebsd-questions@freebsd.org
Subject: IPFW custom rules file not loading


FreeBSD 5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004

I'm a new BSD user installing the OS for the first time. Everything
is
running well except the firewall. IPFW is not loading the custom
rules
set I have created at startup/boot (although it does say it has but
when I ipfw list it only gives me the one default rule). I assume it
is related to this area that I received on the console:

May  3 14:25:22 babe kernel: firewall_enable: not found
May  3 14:25:22 babe kernel: ipfw2 initialized, divert disabled,
rule-based forwarding dis$
May  3 14:25:22 babe kernel: Flushed all rules.
May  3 14:25:22 babe kernel: Line 3:
May  3 14:25:22 babe kernel: bad command `ipfw'
May  3 14:25:22 babe kernel:
May  3 14:25:22 babe kernel: Firewall rules loaded, starting divert
daemons:
May  3 14:25:22 babe kernel: firewall_enable: not found
May  3 14:25:22 babe kernel: .
May  3 14:25:22 babe kernel: net.inet.ip.fw.enable:
May  3 14:25:22 babe kernel: 1
May  3 14:25:22 babe kernel: ->
May  3 14:25:22 babe kernel: 1

I'm refering to the "bad command 'ipfw'" line. I'm also concerned
about the "firewall_enable" not found message.

I have included the relevant rc.conf setting and the custom rules
file
(based on the ruleset from the handbook). I'm currently setting up a
firewall for this machine that is connected to a D-Link router.

My questions are: Why am I getting the bad command msg? Do I need to
be concerned about the "firewall_enabled: not found"

Any help would be much appreciated, thank you.

** start rc.conf snippet **

firewall_enable="YES"
firewall_script="/etc/rc.firewall"
firewall_type="/etc/ipfw.rules"
firewall_quiet="NO"
firewall_logging="NO"
firewall_flags=""

** send rc.conf snippet **

** start ipfw.rules **

#!/bin/sh
# Flush out the list before we begin.
ipfw -q -f flush

# Set rules command prefix
cmd="ipfw -q add"
skip="skipto 801"
pif="fxp0"  #found by doing a ifconfig or netstat -nr
# public interface name of NIC

#
# No restrictions on Inside LAN Interface for private network
# Change xl0 to your LAN NIC interface name
#
# $cmd 005 allow all from any to any via xl0
# don't have a separate interface so won't worry about this

#
# No restrictions on Loopback Interface
#
$cmd 010 allow all from any to any via lo0

#
# check if packet is inbound and nat address if it is
#
# $cmd 014 divert natd ip from any to any in via $pif

#
# Allow the packet through if it has previous been added to the
# the "dynamic" rules table by a allow keep-state statement.
#
$cmd 015 check-state

#
# Interface facing Public Internet (Outbound Section)
# Interrogate session start requests originating from behind the
# firewall on the private network or from this gateway server
# destine for the public Internet.
#

# Allow out access to my ISP's Domain name server.
# x.x.x.x must be the IP address of your ISP's DNS
# Dup these lines if your ISP has more than one DNS server
# Get the IP addresses from /etc/resolv.conf file
$cmd 020 $skip tcp from any to 24.153.22.67 53 out via $pif setup
keep-state
$cmd 020 $skip tcp from any to 24.153.22.66 53 out via $pif setup
keep-state


# Allow out access to my ISP's DHCP server for cable/DSL
configurations.
# This is for the internal router
$cmd 030 $skip udp from any to 198.168.1.1 67 out via $pif
keep-state

# Allow out non-secure standard www function
$cmd 040 $skip tcp from any to any 80 out via $pif setup keep-state
$cmd 040 $skip tcp from any to any 8989 out via $pif setup
keep-state

# Allow out secure www function https over TLS SSL
$cmd 050 $skip tcp from any to any 443 out via $pif setup keep-state

# Allow out send & get email function
$cmd 060 $skip tcp from any to any 25 out via $pif setup keep-state
$cmd 061 $skip tcp from any to any 110 out via $pif setup keep-state

# Allow out FreeBSD (make install & CVSUP) functions
# Basically give user root "GOD" privileges.
$cmd 070 $skip tcp from me to any out via $pif setup keep-state uid
root

# Allow out ping
$cmd 080 $sk

Re: swap space

2005-05-03 Thread Kris Kennaway
On Tue, May 03, 2005 at 03:15:54PM -0600, Chad Leigh -- Shire.Net LLC wrote:
> 
> On May 3, 2005, at 3:07 PM, Kris Kennaway wrote:
> 
> >On Tue, May 03, 2005 at 03:02:11PM -0600, Chad Leigh -- Shire.Net  
> >LLC wrote:
> >
> >>
> >>On May 3, 2005, at 2:45 PM, Kris Kennaway wrote:
> >>
> >>>Since it's a pain to add swap later you want to make
> >>>allowances for future expansion (e.g. you'd need 32GB of swap if you
> >>>ever plan to add 32GB of RAM).
> >>>
> >>
> >>I understand that people recommend as much swap as you have ram or
> >>more.  However, is this required and why?  I have a dual opteron
> >>system running i386 5.3-release (with released patches) and it has
> >>4GB RAM and only 2GB of swap, which is hardly ever touched, and when
> >>it is, just in small amounts.
> >>
> >>Why is this a problem?  (If it ever needs the 2gb of swap I am in
> >>trouble as the load at that time would be sky high and the machine
> >>not really responsive anyway)
> >>
> >
> >I explained in my email..you need it to dump the kernel.
> >
> 
> Thanks!
> 
> Well, on my production system, I am not dumping any kernels.  Once It  
> crashes, I reboot it and go back into production.  Anything dumped  
> would get wiped out.  Luckily I am pretty conservative and only move  
> to new versions of the OS when they have been released a while and so  
> my machines have not had panics in years.

It's up to you, of course, but it's been my experience that you might
regret the small expenditure of a few gigabytes one day when you do
run into a panic you need help to solve...

Kris


pgpjW0aET1d7B.pgp
Description: PGP signature


Re: swap space

2005-05-03 Thread Charles Swiger
On May 3, 2005, at 5:02 PM, Chad Leigh -- Shire.Net LLC wrote:
On May 3, 2005, at 2:45 PM, Kris Kennaway wrote:
Since it's a pain to add swap later you want to make
allowances for future expansion (e.g. you'd need 32GB of swap if you
ever plan to add 32GB of RAM).
I understand that people recommend as much swap as you have ram or 
more.  However, is this required and why?  I have a dual opteron 
system running i386 5.3-release (with released patches) and it has 4GB 
RAM and only 2GB of swap, which is hardly ever touched, and when it 
is, just in small amounts.
It's not required, but the system can't write a panic crash dump out 
unless there is slightly more swap space available than RAM in the box. 
 If your system doesn't crash, and your workload fits into RAM, having 
gigabytes of swap space set up is not very useful

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


Re: swap space

2005-05-03 Thread Chad Leigh -- Shire.Net LLC
On May 3, 2005, at 3:07 PM, Kris Kennaway wrote:
On Tue, May 03, 2005 at 03:02:11PM -0600, Chad Leigh -- Shire.Net  
LLC wrote:

On May 3, 2005, at 2:45 PM, Kris Kennaway wrote:
Since it's a pain to add swap later you want to make
allowances for future expansion (e.g. you'd need 32GB of swap if you
ever plan to add 32GB of RAM).
I understand that people recommend as much swap as you have ram or
more.  However, is this required and why?  I have a dual opteron
system running i386 5.3-release (with released patches) and it has
4GB RAM and only 2GB of swap, which is hardly ever touched, and when
it is, just in small amounts.
Why is this a problem?  (If it ever needs the 2gb of swap I am in
trouble as the load at that time would be sky high and the machine
not really responsive anyway)
I explained in my email..you need it to dump the kernel.
Thanks!
Well, on my production system, I am not dumping any kernels.  Once It  
crashes, I reboot it and go back into production.  Anything dumped  
would get wiped out.  Luckily I am pretty conservative and only move  
to new versions of the OS when they have been released a while and so  
my machines have not had panics in years.

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


fatal trap 12

2005-05-03 Thread Dan Langille
Hi folks.  My gateway has been getting this a few times a day for the 
past few days.

  Fatal trap 12: page fault while in kernel mode

More detail at http://www.langille.org/tmp/fatal-trap-12.txt

Conversations to date indicate a hardware problem.  Any 
recommendations/suggestions?
-- 
Dan Langille : http://www.langille.org/
BSDCan - The Technical BSD Conference - http://www.bsdcan.org/
   NEW brochure available at http://www.bsdcan.org/2005/advocacy/

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


Re: swap space

2005-05-03 Thread Clifton Royston
On Tue, May 03, 2005 at 03:02:11PM -0600, Chad Leigh -- Shire.Net LLC wrote:
> On May 3, 2005, at 2:45 PM, Kris Kennaway wrote:
> >Since it's a pain to add swap later you want to make
> >allowances for future expansion (e.g. you'd need 32GB of swap if you
> >ever plan to add 32GB of RAM).
> 
> I understand that people recommend as much swap as you have ram or  
> more.  However, is this required and why? 

  It's needed if you want to be able to collect a crash dump if the
system panics.

> I have a dual opteron  
> system running i386 5.3-release (with released patches) and it has  
> 4GB RAM and only 2GB of swap, which is hardly ever touched, and when  
> it is, just in small amounts.
 
  That's as it should be!

> Why is this a problem?  (If it ever needs the 2gb of swap I am in  
> trouble as the load at that time would be sky high and the machine  
> not really responsive anyway)

  Yes indeed, you do not want to be running your system with full swap. 
You want it only for emergencies.

  -- Clifton

-- 
  Clifton Royston  --  [EMAIL PROTECTED] 
 Tiki Technologies Lead Programmer/Software Architect
"I'm gonna tell my son to grow up pretty as the grass is green
And whip-smart as the English Channel's wide..."
-- 'Whip-Smart', Liz Phair
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: swap space

2005-05-03 Thread Kris Kennaway
On Tue, May 03, 2005 at 03:02:11PM -0600, Chad Leigh -- Shire.Net LLC wrote:
> 
> On May 3, 2005, at 2:45 PM, Kris Kennaway wrote:
> >Since it's a pain to add swap later you want to make
> >allowances for future expansion (e.g. you'd need 32GB of swap if you
> >ever plan to add 32GB of RAM).
> 
> I understand that people recommend as much swap as you have ram or  
> more.  However, is this required and why?  I have a dual opteron  
> system running i386 5.3-release (with released patches) and it has  
> 4GB RAM and only 2GB of swap, which is hardly ever touched, and when  
> it is, just in small amounts.
> 
> Why is this a problem?  (If it ever needs the 2gb of swap I am in  
> trouble as the load at that time would be sky high and the machine  
> not really responsive anyway)

I explained in my email..you need it to dump the kernel.

Kris


pgpMniqnmb5D6.pgp
Description: PGP signature


Re: IPFW custom rules file not loading

2005-05-03 Thread Giorgos Keramidas
On 2005-05-03 15:18, Nicholas Henry <[EMAIL PROTECTED]> wrote:
> May  3 14:25:22 babe kernel: firewall_enable: not found
> May  3 14:25:22 babe kernel: ipfw2 initialized, divert disabled, rule-based 
> forwarding dis$
> May  3 14:25:22 babe kernel: Flushed all rules.
> May  3 14:25:22 babe kernel: Line 3:
> May  3 14:25:22 babe kernel: bad command `ipfw'
> May  3 14:25:22 babe kernel:
> May  3 14:25:22 babe kernel: Firewall rules loaded, starting divert daemons:
> May  3 14:25:22 babe kernel: firewall_enable: not found
> May  3 14:25:22 babe kernel: .
> May  3 14:25:22 babe kernel: net.inet.ip.fw.enable:
> May  3 14:25:22 babe kernel: 1
> May  3 14:25:22 babe kernel: ->
> May  3 14:25:22 babe kernel: 1
>
> I'm refering to the "bad command 'ipfw'" line. I'm also concerned
> about the "firewall_enable" not found message.

It's normal.  You're using firewall_type and yet you have written a
firewall _script_ in /etc/ipfw.rules.

> ** start rc.conf snippet **
> firewall_enable="YES"
> firewall_script="/etc/rc.firewall"
> firewall_type="/etc/ipfw.rules"
> firewall_quiet="NO"
> firewall_logging="NO"
> firewall_flags=""
> ** send rc.conf snippet **

Your firewall_type points to a pathname, so the file should contain
rules in the form:

check-state
add allow tcp from any to any 80 keep-state
add block ip from any to any

> ** start ipfw.rules **
>
> #!/bin/sh
> # Flush out the list before we begin.
> ipfw -q -f flush
>
> # Set rules command prefix
> cmd="ipfw -q add"
> skip="skipto 801"
> pif="fxp0"#found by doing a ifconfig or netstat -nr
>   # public interface name of NIC

Your ipfw.rules file is written in the form of a firewall_script.
The difference between the two is small but important.

A firewall_type file contains just a set of rules that ipfw(8) will
parse, without intervention by a shell.

A firewall_script is executed by the /bin/sh shell, as a normal shell
script.  One example of what can be used as a firewall_script is
/etc/rc.firewall (in pre-5.X versions) or /etc/rc.d/ipfw (in FreeBSD
5.X or later).

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


Re: swap space

2005-05-03 Thread Chad Leigh -- Shire.Net LLC
On May 3, 2005, at 2:45 PM, Kris Kennaway wrote:
Since it's a pain to add swap later you want to make
allowances for future expansion (e.g. you'd need 32GB of swap if you
ever plan to add 32GB of RAM).
I understand that people recommend as much swap as you have ram or  
more.  However, is this required and why?  I have a dual opteron  
system running i386 5.3-release (with released patches) and it has  
4GB RAM and only 2GB of swap, which is hardly ever touched, and when  
it is, just in small amounts.

Why is this a problem?  (If it ever needs the 2gb of swap I am in  
trouble as the load at that time would be sky high and the machine  
not really responsive anyway)

best
Chad

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


Re: swap space

2005-05-03 Thread Kris Kennaway
On Tue, May 03, 2005 at 08:32:54PM +0200, Chris Knipe wrote:
> Hi,
> 
> Simple question really... Can you ever have to much swap space?
> 
> We're sitting with quite a nifty P4 System with 1GB Ram.  We will more than 
> likely add another 2 or 3GB in the month to come as our applications 
> (mainly perl) are consuming vast amounts of memory and swap.
> 
> We made the mistake however of just allocating 512MB swap as we did not 
> know accurately at the time of installation what the resouce requires are 
> going to be (especially not that it would be this high).
> 
> Obviously reinstalling the entire OS / Applications is not really a option. 
> We may want to install a dedicated 40GB just for swap... Would this be 
> advisable, or will it actually slow the system down?  And to what extend?

You can't use more than 32GB in a single device on i386.  It shouldn't
cause problems, but unless you have the expectation of making use of
it, it is wasted space.  One use is that having more swap than RAM is
necessary if you ever run into a kernel panic, so that you'll be able
to dump the image of the system for developers to try to diagnose the
problem.  Since it's a pain to add swap later you want to make
allowances for future expansion (e.g. you'd need 32GB of swap if you
ever plan to add 32GB of RAM).

Kris

pgp4XVmhYDbGT.pgp
Description: PGP signature


Problems with user ppp

2005-05-03 Thread Vittorio
On my PC with the latest freebsd 5.4 I'm trying to connect to my ISP "alice" 
by means of user ppp. Here is my /etc/ppp/ppp.conf: 
#
default:
 set log Phase Chat LCP IPCP CCP tun command
 ident user-ppp VERSION (built COMPILATIONDATE)
 set device /dev/cuaa0
 set speed 115200
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
           \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
 set timeout 180                        # 3 minute idle timer (the default)

alice:
 #
 # edit the next three lines and replace the items in caps with
 # the values which have been assigned by your ISP.
 #

 set phone "7020803380"
 set authname "[EMAIL PROTECTED]"
 set authkey "nonteladico"

 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 add default HISADDR                    # Add a (sticky) default route
 enable dns                             # request DNS info (for resolv.conf)

AND
in /etc/ppp/options

lock
noauth

Launching "ppp -background alice" I can connect with my ISP but . names 
are not resolved because PPP doesn't get the DNSs provided by the peer and 
uses the first DNS server in in /etc/resolv.conf ,10.255.201.22, of a 
previous  dhcp connection at office.
Here it is an extract of the connection log:
.
ppp[505]: tun0: Phase: deflink: his = CHAP 0x05, mine = none
ppp[505]: tun0: Phase: Chap Input: CHALLENGE (16 bytes from apx-rm5)
ppp[505]: tun0: Phase: Chap Output: RESPONSE ([EMAIL PROTECTED])
ppp[505]: tun0: Phase: Chap Input: SUCCESS
ppp[505]: tun0: IPCP: Using trigger address 0.0.0.0
ppp[505]: tun0: CCP: FSM: Using "deflink" as a transport
ppp[505]: tun0: CCP: deflink: State change Initial --> Closed
ppp[505]: tun0: CCP: deflink: LayerStart.
ppp[505]: tun0: CCP: MPPE: Not usable without CHAP81
ppp[505]: tun0: CCP: deflink: SendConfigReq(1) state = Closed
ppp[505]: tun0: CCP:  DEFLATE[4] win 15
ppp[505]: tun0: CCP:  PRED1[2]
ppp[505]: tun0: CCP: deflink: State change Closed --> Req-Sent
ppp[505]: tun0: Phase: deflink: lcp -> open
ppp[505]: tun0: Phase: bundle: Network
ppp[505]: tun0: IPCP: FSM: Using "deflink" as a transport
ppp[505]: tun0: IPCP: deflink: State change Initial --> Closed
ppp[505]: tun0: IPCP: deflink: LayerStart.
ppp[505]: tun0: IPCP: deflink: SendConfigReq(1) state = Closed
ppp[505]: tun0: IPCP:  IPADDR[6] 0.0.0.0
ppp[505]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
ppp[505]: tun0: IPCP:  PRIDNS[6] 10.155.201.22
                                                   ^
ppp[505]: tun0: IPCP:  SECDNS[6] 255.255.255.255
ppp[505]: tun0: IPCP: deflink: State change Closed --> Req-Sent
ppp[505]: tun0: IPCP: deflink: RecvConfigReq(1) state = Req-Sent
ppp[505]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
ppp[505]: tun0: IPCP:  IPADDR[6] 80.21.255.5
ppp[505]: tun0: IPCP: deflink: SendConfigAck(1) state = Req-Sent
ppp[505]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
ppp[505]: tun0: IPCP:  IPADDR[6] 80.21.255.5
ppp[505]: tun0: IPCP: deflink: State change Req-Sent --> Ack-Sent
ppp[505]: tun0: LCP: deflink: RecvProtocolRej(3) state = Opened
ppp[505]: tun0: LCP: deflink: -- Protocol 0x80fd (Compression Control 
Protocol)
ppp[505]: tun0: CCP: deflink: State change Req-Sent --> Stopped
ppp[505]: tun0: IPCP: deflink: RecvConfigNak(1) state = Ack-Sent
ppp[505]: tun0: IPCP:  IPADDR[6] 212.216.149.154
ppp[505]: tun0: IPCP:  IPADDR[6] changing address: 0.0.0.0  --> 
212.216.149.154
ppp[505]: tun0: IPCP:  PRIDNS[6] 10.155.201.22
                                                   ^^
ppp[505]: tun0: IPCP:  SECDNS[6] 255.255.255.255
ppp[505]: tun0: IPCP: Primary nameserver set to 10.155.201.22
ppp[505]: tun0: IPCP: deflink: SendConfigReq(2) state = Ack-Sent
ppp[505]: tun0: IPCP:  IPADDR[6] 212.216.149.154
ppp[505]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
ppp[505]: tun0: IPCP:  PRIDNS[6] 10.155.201.22
ppp[505]: tun0: IPCP:  SECDNS[6] 255.255.255.255
ppp[505]: tun0: IPCP: deflink: RecvConfigAck(2) state = Ack-Sent
...

What should I do?
Vittorio
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Raid Array Over 2Tb on Samba

2005-05-03 Thread Charles Swiger
On May 3, 2005, at 4:13 PM, Philip Hallstrom wrote:
I would not recommend trying to use greater than 2GB partitions via 
Samba, or
   ^^^
You meant 2TB not 2GB right?  Cause I've been using samba with 8GB 
shares for a looong time...  I'm guessing so, just thought we should 
be sure :)
Ah, yes-- "TB" as in terabyte.  Sorry.  :-)
--
-Chuck
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: pkg_info output? 'homework' clarification sought...

2005-05-03 Thread David Armour
hello,

sorry: clicked wrong icon, & truncated my reply/question. i think.
i hope my lame-ish attempt at 'homework' doesn't screw with the list charter. 
i offer it in a spirit of open-source newbie encouragement.

[note from previous message, orphaned by my mistake: [a] In a context address, 
any character other than a backslash (``\'') or newline character may be used 
to delimit the regular expression. ]

> > pkg_info | sort | sed -e 's/-[0-9].*$//' | uniq -c | grep -v
> > '^[[:space:]]*1'
>1),>2),>3)... in previous mis-sent message.

> 4)  grep -v '^[[:space:]]*1'
> ... deletes lines where only 1 version exists, e.g.:

grep -v, --invert-match  # Invert the sense of matching, to select 
non-matching lines.

   A  bracket  expression is a list of characters enclosed by [ and ].  It
   matches any single character in that list; if the  first  character  of
   the  list is the caret ^ then it matches any character not in the list.
   ...
   Finally,  certain  predefined named  classes  of  characters are ...
   [:space:] 

   The caret ^ and the dollar sign $ are metacharacters that respectively
   match the empty string at the beginning and end of a line.

i'd assumed [bad!] that the '-v' represented 'verbose' as it does with several 
other commands. but the overall structure, if that's the right word, of the 
grep part of the tip seems a bit like a double negative, what with the '^'

HOMEWORK portion: 

> the script is not quite correct because these two packages are
> counted as two versions of xorg-fonts:
> xorg-fonts-100dpi-6.8.2
> xorg-fonts-75dpi-6.8.2

> > pkg_info | sort | sed -e 's/-[0-9].*$//' | uniq -c | grep -v
> > '^[[:space:]]*1'

so 2 hits out of 360 odd packages compromise otherwise informative results? 
and assuming, for the moment, that everyone here understands that the ideas 
expressed *here* are coming from about as far out in left field as is 
possible... ? 

as i understand things, so far: sed gets a list of sorted stuff that looks 
like: 

autoconf-6.8.2
borg-6.8.2
  ...
perl-6.8.2...
xorg-fonts-100dpi-6.8.2
xorg-fonts-75dpi-6.8.2

and uniq counts instances of duplication so the list now looks like:

 3 autoconf-6.8.2
 1 borg-6.8.2
...
 2 perl-6.8.2
 2 xorg-fonts-100dpi-6.8.2

the tip asks sed to look in a sorted list of installed packages for instances 
of hyphens followed by numerals between 0-9. i'm guessing that sed either 
needs to incorporate a check within its own results (maybe a set of brackets 
with a second sed -e 's/-[0-9].*$//' |)?, *before* uniq gets its hands on it, 
or some sort of if/then condition programming wizardry to scarf up potential 
stragglers. 

of course, at this stage in my travels in unix-land, i have no idea, clear or 
unclear how such twickery might occur. nonetheless, the natives appear 
friendly.

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


Re: Raid Array Over 2Tb on Samba

2005-05-03 Thread Philip Hallstrom
On May 3, 2005, at 3:14 PM, Richard Collyer wrote:
I plan on building a raid array of 8*400GB disks raid 5. Now as win2k cant 
support partitions over 2tb and I right in thinking that this is for the 
local machine only and that over samba (array in FreeBSD 5.4 machine [when 
it comes out]) it should be able to see all space or will I have to carve 
it up.
I would not recommend trying to use greater than 2GB partitions via Samba, or
   ^^^
You meant 2TB not 2GB right?  Cause I've been using samba with 8GB shares 
for a looong time...  I'm guessing so, just thought we should be sure :)


even natively, at this time.  There are significant issues, such as being 
able to run fsck against such large partitions without fsck's memory usage 
consuming excessive resources.

If you need to set up such a massive NAS fileserver, you really ought to 
consider dedicated products from companies like Auspex and NetApp.  Another 
alternative might be an Apple Xserve RAID with Xsan, but this doesn't have 
the track record of my earlier suggestions.

--
-Chuck
___
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: Kdm problem

2005-05-03 Thread Lowell Gilbert
"Ivailo Tanusheff" <[EMAIL PROTECTED]> writes:

> I have problem running kdm on a FreeBSD 5.3 server.
> When I start the kdm, I receive following error in /var/log/messages:
> 
> May  3 20:45:10 test kdm[567]: XDMCP socket creation failed, errno 43
> 
> I was not able to find any answer searching with google, so I hope you can
> help me.
> Kdm is set for broadcasting, allowing everyone to establish a communication.

You aren't running at a raised securelevel, are you?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: swap space

2005-05-03 Thread Glenn Dawson
At 11:32 AM 5/3/2005, Chris Knipe wrote:
Hi,
Simple question really... Can you ever have to much swap space?
We're sitting with quite a nifty P4 System with 1GB Ram.  We will more 
than likely add another 2 or 3GB in the month to come as our applications 
(mainly perl) are consuming vast amounts of memory and swap.

We made the mistake however of just allocating 512MB swap as we did not 
know accurately at the time of installation what the resouce requires are 
going to be (especially not that it would be this high).

Obviously reinstalling the entire OS / Applications is not really a 
option. We may want to install a dedicated 40GB just for swap... Would 
this be advisable, or will it actually slow the system down?  And to what 
extend?
There are practical limits to how much swap you can or want to have on your 
system.

Take a look at this for more info
http://kerneltrap.org/node/323?PHPSESSID=9c6e97871e0d3a3632de7ccff346b0c6
-Glenn

We're running FreeBSD 5.4-STABLE.
Thanks in advance.
--
Chris.
I love deadlines. I especially love the whooshing sound they make as they 
fly by..." - Douglas Adams, 'Hitchhiker's Guide to the Galaxy'
___
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]"


MIT Zephyr available on FreeBSD?

2005-05-03 Thread N.J. Thomas
Does anyone know if the MIT Zephyr Notification System (which included
the command "zwrite"), or some newer incarnation of it, is available on
FreeBSD? A glance at ports didn't show anything.

thanks,
Thomas

-- 
N.J. Thomas
[EMAIL PROTECTED]
Etiamsi occiderit me, in ipso sperabo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: swap space

2005-05-03 Thread Franco Bruno Borghesi
Time to upgrade then ;-)

2005/5/3, Chris Knipe <[EMAIL PROTECTED]>:
> 
> 
> > PS: Is there a FreeBSD 5.4 stable version?
> 
> FreeBSD pyro.acme.com  5.4-STABLE FreeBSD 5.4-STABLE#0: 
> Wed Apr 27 15:51:43
> SAST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PYRO i386
> 
> Guess so :)
> 
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: swap space

2005-05-03 Thread Chris Knipe

PS: Is there a FreeBSD 5.4 stable version?
FreeBSD pyro.acme.com 5.4-STABLE FreeBSD 5.4-STABLE #0: Wed Apr 27 15:51:43 
SAST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PYRO  i386

Guess so :) 

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


Re: Raid Array Over 2Tb on Samba

2005-05-03 Thread Charles Swiger
On May 3, 2005, at 3:14 PM, Richard Collyer wrote:
I plan on building a raid array of 8*400GB disks raid 5. Now as win2k 
cant support partitions over 2tb and I right in thinking that this is 
for the local machine only and that over samba (array in FreeBSD 5.4 
machine [when it comes out]) it should be able to see all space or 
will I have to carve it up.
I would not recommend trying to use greater than 2GB partitions via 
Samba, or even natively, at this time.  There are significant issues, 
such as being able to run fsck against such large partitions without 
fsck's memory usage consuming excessive resources.

If you need to set up such a massive NAS fileserver, you really ought 
to consider dedicated products from companies like Auspex and NetApp.  
Another alternative might be an Apple Xserve RAID with Xsan, but this 
doesn't have the track record of my earlier suggestions.

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


Re: swap space

2005-05-03 Thread Franco Bruno Borghesi
Actually having a separated disk for swap should increase your performance.
But my opinion is that if you really need *all* the 40 GB of swap when your 
system's ram is 3 GB, you won't see the difference: most of the data your 
system needs is swapped out!

You could add a partition to your new disk (let's say 2 or 3 times the 
amount of ram), and leave the rest unpartitioned. You could use that extra 
space later for nightly backups, emergencies, etc. without loosing your 
performance gain.

Hope it helps.

PS: Is there a FreeBSD 5.4 stable version?


2005/5/3, Chris Knipe <[EMAIL PROTECTED]>:
> 
> Hi,
> 
> Simple question really... Can you ever have to much swap space?
> 
> We're sitting with quite a nifty P4 System with 1GB Ram. We will more than
> likely add another 2 or 3GB in the month to come as our applications 
> (mainly
> perl) are consuming vast amounts of memory and swap.
> 
> We made the mistake however of just allocating 512MB swap as we did not 
> know
> accurately at the time of installation what the resouce requires are going
> to be (especially not that it would be this high).
> 
> Obviously reinstalling the entire OS / Applications is not really a 
> option.
> We may want to install a dedicated 40GB just for swap... Would this be
> advisable, or will it actually slow the system down? And to what extend?
> 
> We're running FreeBSD 5.4-STABLE.
> 
> Thanks in advance.
> 
> --
> Chris.
> 
> I love deadlines. I especially love the whooshing sound they make as they
> fly by..." - Douglas Adams, 'Hitchhiker's Guide to the Galaxy'
> 
> ___
> 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: swap space

2005-05-03 Thread Chris Knipe
We made the mistake however of just allocating 512MB swap as we did not
know accurately at the time of installation what the resouce requires are
going to be (especially not that it would be this high).
 A traditional rule of thumb is to have 1x - 2x the total RAM size in
swap space.  This assures that you can do a crash dump and that you can
deal with peak load of 2x the normal maximum number of processes by
swapping them out.  Beyond that, you are probably better off with the
system just refusing to fork more processes or allocate them memory.
i.e. 4GB Ram, approx 8GB Swap?  In that case we'll need to install a 
secondary HDD in any case.  The current drive is already partitioned and 
what not, so reinstall isn't a option.  Having 2 or more swap partitions 
should also not be a big deal?  And this might be a extremely stupid 
question, but both are used at the same time right?

Some of our other high end perl systems use allot of memory as well.  We 
normally use stuff like SYSVSHM, SYSVMSG and SYSVSEM (Plus allot of 
parameters / options for it which I do not currently have with me 
unfortunately).  Me personally, are not 100% on what the drawbacks or 
benefits are, but would this make a difference?  In some of our production 
environments, we have applications terminating within seconds of reaching 
peak load without SYSV + "magic" options in the kernel.  This is not because 
of bad code, but because of severe load (thousands of concurrent 
connections). The server in question right now is basically a high end 
anti-spam / anti-virus solution (which by nature is extremely resource 
intensive - look at big SA installations for example).

We are already running with MAXUSERS 512 and NMBCLUSTERS=65535 as "advanced" 
features in the kernel currently.  I suppose I should recompile and add SYSV 
(after I got the "magic" options again).  Those two options are also so far 
the only options I found to "tune" for a high performance FBSD config... If 
anyone have additional resources, please feel free to share... :)

I'm talking under correction, but I believe the "magic" options to the SYSV 
stuff is related to specifying the ammounts of ram to use, etc.

Thanks for all the answers and suggestions!!!
--
Chris.

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


IPFW custom rules file not loading

2005-05-03 Thread Nicholas Henry
FreeBSD 5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004

I'm a new BSD user installing the OS for the first time. Everything is
running well except the firewall. IPFW is not loading the custom rules
set I have created at startup/boot (although it does say it has but
when I ipfw list it only gives me the one default rule). I assume it
is related to this area that I received on the console:

May  3 14:25:22 babe kernel: firewall_enable: not found
May  3 14:25:22 babe kernel: ipfw2 initialized, divert disabled,
rule-based forwarding dis$
May  3 14:25:22 babe kernel: Flushed all rules.
May  3 14:25:22 babe kernel: Line 3:
May  3 14:25:22 babe kernel: bad command `ipfw'
May  3 14:25:22 babe kernel: 
May  3 14:25:22 babe kernel: Firewall rules loaded, starting divert daemons:
May  3 14:25:22 babe kernel: firewall_enable: not found
May  3 14:25:22 babe kernel: .
May  3 14:25:22 babe kernel: net.inet.ip.fw.enable:
May  3 14:25:22 babe kernel: 1
May  3 14:25:22 babe kernel: ->
May  3 14:25:22 babe kernel: 1

I'm refering to the "bad command 'ipfw'" line. I'm also concerned
about the "firewall_enable" not found message.

I have included the relevant rc.conf setting and the custom rules file
(based on the ruleset from the handbook). I'm currently setting up a
firewall for this machine that is connected to a D-Link router.

My questions are: Why am I getting the bad command msg? Do I need to
be concerned about the "firewall_enabled: not found"

Any help would be much appreciated, thank you.

** start rc.conf snippet **

firewall_enable="YES"   
firewall_script="/etc/rc.firewall" 
firewall_type="/etc/ipfw.rules"
firewall_quiet="NO" 
firewall_logging="NO"  
firewall_flags=""  

** send rc.conf snippet **

** start ipfw.rules **

#!/bin/sh
# Flush out the list before we begin.
ipfw -q -f flush

# Set rules command prefix
cmd="ipfw -q add"
skip="skipto 801"
pif="fxp0"  #found by doing a ifconfig or netstat -nr
# public interface name of NIC

#
# No restrictions on Inside LAN Interface for private network
# Change xl0 to your LAN NIC interface name
#
# $cmd 005 allow all from any to any via xl0
# don't have a separate interface so won't worry about this

#
# No restrictions on Loopback Interface
#
$cmd 010 allow all from any to any via lo0

#
# check if packet is inbound and nat address if it is
#
# $cmd 014 divert natd ip from any to any in via $pif

#
# Allow the packet through if it has previous been added to the
# the "dynamic" rules table by a allow keep-state statement.
#
$cmd 015 check-state

#
# Interface facing Public Internet (Outbound Section)
# Interrogate session start requests originating from behind the
# firewall on the private network or from this gateway server
# destine for the public Internet.
#

# Allow out access to my ISP's Domain name server.
# x.x.x.x must be the IP address of your ISP's DNS
# Dup these lines if your ISP has more than one DNS server
# Get the IP addresses from /etc/resolv.conf file
$cmd 020 $skip tcp from any to 24.153.22.67 53 out via $pif setup keep-state
$cmd 020 $skip tcp from any to 24.153.22.66 53 out via $pif setup keep-state


# Allow out access to my ISP's DHCP server for cable/DSL configurations.
# This is for the internal router
$cmd 030 $skip udp from any to 198.168.1.1 67 out via $pif keep-state

# Allow out non-secure standard www function
$cmd 040 $skip tcp from any to any 80 out via $pif setup keep-state
$cmd 040 $skip tcp from any to any 8989 out via $pif setup keep-state

# Allow out secure www function https over TLS SSL
$cmd 050 $skip tcp from any to any 443 out via $pif setup keep-state

# Allow out send & get email function
$cmd 060 $skip tcp from any to any 25 out via $pif setup keep-state
$cmd 061 $skip tcp from any to any 110 out via $pif setup keep-state

# Allow out FreeBSD (make install & CVSUP) functions
# Basically give user root "GOD" privileges.
$cmd 070 $skip tcp from me to any out via $pif setup keep-state uid root

# Allow out ping
$cmd 080 $skip icmp from any to any out via $pif keep-state

# Allow out Time
$cmd 090 $skip tcp from any to any 37 out via $pif setup keep-state

# Allow out nntp news (i.e. news groups)
$cmd 100 $skip tcp from any to any 119 out via $pif setup keep-state

# Allow out secure FTP, Telnet, and SCP
# This function is using SSH (secure shell)
$cmd 110

Raid Array Over 2Tb on Samba

2005-05-03 Thread Richard Collyer
Hello,
I plan on building a raid array of 8*400GB disks raid 5. Now as win2k 
cant support partitions over 2tb and I right in thinking that this is 
for the local machine only and that over samba (array in FreeBSD 5.4 
machine [when it comes out]) it should be able to see all space or will 
I have to carve it up.

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


Re: Where can i d/l VMware-workstation-3.2.1-2242.tar.gz

2005-05-03 Thread Dick Hoogendijk
On 03 May Warren wrote:
> I ended up finding it, but where would i find a list of various mirror
> sites and where would i add them into the list of mirrors to check as
> i often come across the problem of pkgs not found.

Do you really mean this? The *only* file not found that I get using the
ports _is_ the vmware package. I saved it for later days for that reason
alone. As said though, google is your friend.

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11 ++ FreeBSD 5.3
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: swap space

2005-05-03 Thread Clifton Royston
On Tue, May 03, 2005 at 08:32:54PM +0200, Chris Knipe wrote:
> Simple question really... Can you ever have to much swap space?
 
  Only if there are better things you can do with that disk (or money.)
In this case, RAM might be a better priority, see below.

> We're sitting with quite a nifty P4 System with 1GB Ram.  We will more than 
> likely add another 2 or 3GB in the month to come as our applications 
> (mainly perl) are consuming vast amounts of memory and swap.
 
  You might want to look at your application architecture as to why you
are using all that virtual memory and whether you could change
something so as not to be using so much at once.

> We made the mistake however of just allocating 512MB swap as we did not 
> know accurately at the time of installation what the resouce requires are 
> going to be (especially not that it would be this high).
> 
> Obviously reinstalling the entire OS / Applications is not really a option. 
> We may want to install a dedicated 40GB just for swap... Would this be 
> advisable, or will it actually slow the system down?  And to what extend?
 
  Having lots of swap space shouldn't slow a system down.  However,
*using* it will.  If your applications are hitting the swap any more than
occasionally under peak load, you should assume that your system is
running a good order of magnitude slower than it needs to (i.e. at
least a factor of 10.)

  A traditional rule of thumb is to have 1x - 2x the total RAM size in
swap space.  This assures that you can do a crash dump and that you can
deal with peak load of 2x the normal maximum number of processes by
swapping them out.  Beyond that, you are probably better off with the
system just refusing to fork more processes or allocate them memory.

  Sometimes unbounded swap usage reflects the system "falling off a
cliff" as the result of an inbound transaction request rate which
exceeds the transaction service rate.  If the outstanding transactions
build up to the point that the system starts to swap a little bit, then
the system performance drops dramatically as the system needs to page
data out/in to run some processes.  This causes the transaction service
rate to drop sharply (e.g. by an order of magnitude as I mentioned
above.) As a direct result the number of outstanding processes shoots
up and the VM and swap usage goes through the roof.

  If this is the scenario, you should definitely add more RAM before
worrying about adding more swap.  The swap won't hurt, but the RAM is
what will actually benefit your system.  (Depending on your
application, software changes may have the most benefit of all.)

  There's my free advice, worth every penny.
  -- Clifton

-- 
  Clifton Royston  --  [EMAIL PROTECTED] 
 Tiki Technologies Lead Programmer/Software Architect
"I'm gonna tell my son to grow up pretty as the grass is green
And whip-smart as the English Channel's wide..."
-- 'Whip-Smart', Liz Phair
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Ignorance and file suffixes

2005-05-03 Thread Jonathan Chen
On Mon, May 02, 2005 at 08:03:26PM -0700, [EMAIL PROTECTED] wrote:

[...]
> On running cvsup I received an error message
> < Realease not specified for collection "ports-all">
[...]

My working file for -STABLE + ports looks like this:

# Defaults that apply to all the collections
#
*default  host=cvsup.FreeBSD.org
*default  base=/var/db
*default  prefix=/usr
*default  release=cvs
*default  delete use-rel-suffix

*default compress

*default  tag=RELENG_5
src-all

*default tag=.
ports-all

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
The Internet: an empirical test of the idea that a million monkeys
banging on a million keyboards can produce Shakespeare
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: pkg_info output? ... 'homework' clarification sought!

2005-05-03 Thread David Armour
hello,

thanks v. much for your kind reply. sorry for my delay in responding. i was 
heading off to work when i first saw your message. the translation of the tip 
segments helps immensely. as for the "homework", well... i'm not 'there,' 
yet. some possible suspects:

> On Sat, Apr 30, 2005 at 11:48:35PM -0700, David Armour wrote:
> > pkg_info | sort | sed -e 's/-[0-9].*$//' | uniq -c | grep -v
> > '^[[:space:]]*1'
>
> 0) pkg_info<=  list all packages installed. yep
> 1) sort<= sort resulting list by package name. gotcha.
> 2) sed -e 's/-[0-9].*$//' <=  delete everything after a dash 
   followed by a number 
   followed by everything else. 
   (autoconf-2.59_2 >> autoconf)

... my understanding starts to go south 'round about here. 

i can see from sed's manpage(s): sed [-Ean] [-e command] ...that
the command, the characters between the apostrophes, [a] appends
"the editing commands specified by the command argument to the list of 
commands." nowhere on the manpage, however, can i find any reference to the 
'delete' you mention. 

Waay down the page, in a thicket of sed "functions", i run across:

[2addr]s/regular expression/replacement/flags
 *S*ubstitute the replacement string for the first instance of the
 regular expression in the pattern space.  
 
 A line can be split by substituting a newline character into it.
 To specify a newline character in the replacement string, precede
 it with a backslash.

... which, going out on the limb of my understanding, here, seems to match the 
intent, at least, of the 'delete' you point to. admittedly, i'm mostly 
grasping at straws in terms of what the '$' and the '//' are doing in there.

and the warning in the "bugs" section...

 Multibyte characters containing a byte with value 0x5C (ASCII `\') may be
 incorrectly treated as line continuation characters in arguments to the
 ``a'', ``c'' and ``i'' commands.  *Multibyte characters cannot be used as
 delimiters with the ``s'' and ``y'' commands.*

... seems to introduce the possibility, at least for 'homework' purposes, that 
the 'textbook' might have a typo as far as the "s" command. ???

> 3) uniq -c<= believe it or not, but earlier i had got a 'command not
 found' message when i tried to man uniq. after i saw 
 your message  i re-tried it and, of course, it worked. 
 no idea what *that's* about!
>  -c  Precede each output line with the count of the number of times
>  the line occurred in the input, followed by a single space.

i see the sense of '-c' mapping to 'count'. i'm less clear about where the 
'space', single or otherwise, comes in. [except that that's the spec!] 

> > pkg_info | sort | sed -e 's/-[0-9].*$//' | uniq -c | grep -v
> > '^[[:space:]]*1'

> so counts how often autoconf is in the list resulting from 2)
>
> 4)  grep -v '^[[:space:]]*1'
>
> delete every line starting (^) with one or more space characters " "
> followed by 1 in the list resulting from 3)
>
> this deletes lines where only 1 version exists, e.g.:
>
>  1 borg
>
> >3 autoconf
> >3 automake
> >6 docbook
> >2 gcc
> >2 glib
> >2 gtk
> >2 libtool
> >2 perl
> >2 xorg-fonts
>
> so there are 3 versions of autoconf installed, 3 versions of
> automake and so on.
>
> the script is not quite correct because these two packages are
> counted as two versions of xorg-fonts:
>
> xorg-fonts-100dpi-6.8.2
> xorg-fonts-75dpi-6.8.2
>
> homework: find a version that works :-)
>
> hth,

[a] In a context address, any character other than a backslash (``\'')
  or newline character may be used to delimit the regular expression.

> toni
> --
> Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
> mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
> -- Max Planck |
>
> --
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Multiple routes

2005-05-03 Thread Tomas Quintero
On 5/3/05, Andrei Iarus <[EMAIL PROTECTED]> wrote:
> How can I have multiple gateways, and, all the packets
> to be sent using all the gateways simultaneously under
> FreeBSD 4.11? Is this possible only modyfing the
> kernel? :) Thank you very much for your help.

Under 5.3-RELEASE I have 3 DSL connections set to round-robin using
PF. Under 4.11 I had used IPF and IPNAT and had half of the net range
set to utilize one gateway, the other half to use another. I find the
PF round-robin solution to be much more effective. I am unsure if you
can use IPF/IPFW to round-robin nat, at least as easily as PF.

In short though, you won't need to modify your kernel, short of
including whichever firewall module you choose to utilize.

I'm curious, when you say simultaneously, do you mean you want the
same duplicated data to be sent out all of your gateways at the same
time?

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


swap space

2005-05-03 Thread Chris Knipe
Hi,
Simple question really... Can you ever have to much swap space?
We're sitting with quite a nifty P4 System with 1GB Ram.  We will more than 
likely add another 2 or 3GB in the month to come as our applications (mainly 
perl) are consuming vast amounts of memory and swap.

We made the mistake however of just allocating 512MB swap as we did not know 
accurately at the time of installation what the resouce requires are going 
to be (especially not that it would be this high).

Obviously reinstalling the entire OS / Applications is not really a option. 
We may want to install a dedicated 40GB just for swap... Would this be 
advisable, or will it actually slow the system down?  And to what extend?

We're running FreeBSD 5.4-STABLE.
Thanks in advance.
--
Chris.
I love deadlines. I especially love the whooshing sound they make as they 
fly by..." - Douglas Adams, 'Hitchhiker's Guide to the Galaxy' 

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


Re: OPEN SOURCE MASTERPLANS

2005-05-03 Thread Joshua Tinnin
On Tue 3 May 05 10:47, "Fafa Hafiz Krantz" <[EMAIL PROTECTED]> wrote:
> Right now any example will do.
> Thank you for your worthy input!

I admire your enthusiasm, but perhaps this would be better in advocacy@ 
or [EMAIL PROTECTED]

http://lists.freebsd.org/mailman/listinfo/freebsd-advocacy

http://lists.freebsd.org/mailman/listinfo/freebsd-chat

FWIW, it doesn't help your cause to be starting several new threads on 
the same subject, particularly when they're replies to other people (so 
it should be one thread), and on a tech help list.

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


Kdm problem

2005-05-03 Thread Ivailo Tanusheff
Hi,

I have problem running kdm on a FreeBSD 5.3 server.
When I start the kdm, I receive following error in /var/log/messages:

May  3 20:45:10 test kdm[567]: XDMCP socket creation failed, errno 43

I was not able to find any answer searching with google, so I hope you can
help me.
Kdm is set for broadcasting, allowing everyone to establish a communication.

Regards,
Ivailo Tanusheff

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


OPEN SOURCE MASTERPLANS

2005-05-03 Thread Fafa Hafiz Krantz

Hello Joel!

> Pardon the top post, but master plans are for totalitarian governments 
> and bureaucracies. Their sole purpose is to assist in perpetuating 
> established institutions. (No institution is going to plan it's own 
> demise. Oh, and how well they serve their purpose is a subject of some 
> debate.)

I meant the sort of masterplans that are for people to follow.
And maybe, in some cases, democratic governments in countries where
there is no such thing as established institutions. 3rd world governments
have by now realized that it is wiser to privatize rather than to
perpetuate -- which again brings up plans for people to follow.

> Maybe what you should be asking for is examples of business plans, 
> although those are all too often used by the powers that be to keep 
> small businesses from growing and threatening the status quo. Informal 
> operating policies and such might also be of interest.

Right now any example will do.
Thank you for your worthy input!

--

Fafa Hafiz Krantz
  Senior Designer @ http://www.home.no/barbershop
  Furious @ http://www.home.no/barbershop/smart/sharon.pdf


-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


mail/sendmail submit question

2005-05-03 Thread Chad Leigh -- Shire.Net LLC
Hi
I am trying to allow mail submission and sending on a 5.3-RELEASE box  
from inside a jail, but not a running MTA...

I have the following in the rc.conf
sendmail_enable="NO"
sendmail_submit_enable="NO"# Start a localhost-only MTA for mail  
submission
sendmail_outbound_enable="YES"  # Dequeue stuck mail (YES/NO).
sendmail_msp_queue_enable="YES" # Dequeue stuck clientmqueue mail  
(YES/NO).

Since you cannot bind to localhost only in a jail I have that set to  
NO.  The /etc/mail/README file says to change the freebsd.submit.mc  
file and remake things so that it submits to another host.  I have  
done that by doing the "Change the FEATURE(msp) line to FEATURE(msp,  
hostname) where hostname is the fully qualified hostname of the  
alternative host." and then "'make install-submit-cf' in /etc/mail/".

When I try to do a mail on the command line, I get:
[EMAIL PROTECTED]:/home/chad# can not chdir(/var/spool/clientmqueue/):  
Permission denied
Program mode requires special privileges, e.g., root or TrustedUser.

Where do I set this TrustedUser and how do I make the mail program  
work as a TrustedUser?

I grepped TrustedUser in /etc/mail/* and got
freebsd.cf:#O TrustedUser=root
freebsd.submit.cf:O TrustedUser=smmsp
machine.com.submit.cf:O TrustedUser=smmsp
sendmail.cf:#O TrustedUser=root
submit.cf:O TrustedUser=smmsp
so it seems to be set to smmsp which is a valid user in the password  
file.

Thanks for any help or pointers on getting this to work.
Thanks
Chad
---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
[EMAIL PROTECTED]

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

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


USB GPS Receiver

2005-05-03 Thread Alexandre Biancalana
Hi List,

I shiped and usb gps receiver
(http://www.deluoelectronics.com/customer/product.php?productid=60&cat=0&page=),
he is detected as ugen but not attached with ucom:

May  3 14:29:38 AleStation kernel: ugen0: Prolific Technology PL2303
Serial adapter (ATEN/IOGEAR UC232A), rev 1.10/2.02, addr 2

My system:
AleStation:/home/ale $ uname -a
FreeBSD AleStation 5.4-STABLE FreeBSD 5.4-STABLE #3: Mon May  2
01:14:29 UTC 2005
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/AleStation  i386


usb in my kernel:
# USB support
device  uhci# UHCI PCI->USB interface
device  ohci# OHCI PCI->USB interface
device  usb # USB Bus (required)
device  ugen# Generic
device  uhid# "Human Interface Devices"
device  ulpt# Printer
device  umass   # Disks/Mass storage - Requires scbus and da
device  ums # Mouse
device  ucom


Some ideas ?

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


Re: Looking for a KATE replacement

2005-05-03 Thread Shantanoo Mahajan
+++ Clement Twine [02-05-05 14:24 +0200]:
| Shantanoo Mahajan wrote the following on 05/01/2005 04:58 AM:
| >+++ Frank Staals [freebsd] [30-04-05 10:35 +0200]:
| >| Hey everyone,
| >| 
| >| When I started using FreeBSD for desktop usage ( about a year ago ) I 
| >| used KDE as desktop manager, but now I am using XFCE4.2.1 for that 
| >| purpose. But when writing html pages, scripts, programs etc I still use 
| >| KATE ( KDE Advanced Text Editor ), the thing is that it starts up realy 
| >| slow ( probably because it has to load a lot of basic kde stuff ).
| >| 
| >| So the question was does anyone know a good graphical replacement for 
| >| Kate, I esspecially like the bar on the left which lets you easily 
| >| switch between multiple files, and the build in terminalclient on the 
| >| bottom. I tried looking in the ports/editors section but there are that 
| >| many editors I realy don't know what to use. I am looking for a 
| >| graphical editor, not commandline ( therefor I allready use joe ).
| >
| >gvim, (x)emacs, bluefish, ...
| 
| is gvim the same as kvim (apart from one being for KDE ane the other 
| for GNOME?) Do they offer same functionality? It seems (not sure 
| though) that KDE apps are more refined than GNOME apps.
| 
| Clem.

After going through the kvim's homepage, http://www.freehackers.org/kvim/,
it not being maintained. I suggest using gvim instead of it.

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


Re: How does one bootstrap DNS

2005-05-03 Thread Svein Halvor Halvorsen

* Me:
>  > <>[1] One could argue that I should have at least two name servers, but why
>  > should I need greater redundancy on my name servers, than I have on my
>  > other services? If my dns is down, so is my mail, and am in the mercy of
>  > the sender to keep retrying anyway.  

* Jim Freeze [2005-05-03 10:33 -0500]
>  Yes, exactly. Is it permissable for ns1 and ns2 to point to the same IP
>  address?


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


Multiple routes

2005-05-03 Thread Andrei Iarus
How can I have multiple gateways, and, all the packets
to be sent using all the gateways simultaneously under
FreeBSD 4.11? Is this possible only modyfing the
kernel? :) Thank you very much for your help.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: firefox doesn't show up

2005-05-03 Thread Trey Sizemore
On Wed, 27 Apr 2005 01:53:29 -0400
jason henson <[EMAIL PROTECTED]> wrote:

> Trey Sizemore wrote:
> 
> >On Fri, 01 Apr 2005 00:40:43 -0800
> >Ben Munat <[EMAIL PROTECTED]> wrote:
> >
> >  
> >
> >>Did you try running it from the command line? That way you can see
> >>if it prints errors when it fails.
> >>
> >>b
> >>
> >>
> >
> >My Firefox will no longer work as a normal user (no page loads and
> >buttons are unresponsive), although it does as root.  Starting from
> >the command line produces the following output (both as root and my
> >normal user account):
> >
> >[EMAIL PROTECTED]> firefox
> >LoadPlugin: failed to initialize shared library /usr/compat/linux/
> >usr/ local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so [Shared
> >object "libc.so.6" not found, required by "nppdf.so"] *** Failed to
> >load overlay chrome://useragentswitcher/content/menu.xul
> >
> >Any ideas on how to fix this?
> >
> >
> >  
> >
> Looks like your adobe plugin is a linux port.  You need 
> emulators/linux_base-8.  But you shouldn't unless you have a linux 
> binary.  I didn't see a adobe plugin in the ports system so I am 
> guessing this is where you went wrong.  Did you tell firefox to
> install a linux or unix plugin for pdfs or acrobat reader?  Remove
> the adobe plugin and see if firefox works right.  Also did you
> install the native firefox from ports?

How do I remove the offending plugin?  I've tried to remove and
reinstall Firefox 1.0.3, but the same behavior occurs.  The root user
can open and use firefox, but my normal account cannot.

-- 
Cheers,
Trey

 
Bumper sticker:

"All the parts falling off this car are of the very finest British
manufacture"
 
FreeBSD 5.3-STABLE i386 i386 GENERIC
12:55PM  up 9 mins, 0 users, load averages: 0.12, 0.17, 0.13
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: OPEN SOURCE MASTERPLANS

2005-05-03 Thread bob
hay nut case.  take this bull shut some place else.  this is not the
place to be saying lies like that. You are so full of your own shit
I can smell your rotten stink over the internet

You have no idea what you are talking about. grow up and become a
real member of the world

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Timo
Schoeler
Sent: Tuesday, May 03, 2005 11:57 AM
To: Fafa Hafiz Krantz
Cc: misc@openbsd.org; [EMAIL PROTECTED];
debian-user@lists.debian.org
Subject: Re: OPEN SOURCE MASTERPLANS


please stop posting this!

Nice ASCII logo.
>
> I work for poor people through UNDP.

one more proof that there i) are wrong people in the wrong places
and
ii) much money is being wasted.

> I am not a government nor Microsoft employee.

shouldn't make a difference as money rules the world (*cough*)... so
your employer is meaningless (even if it's any UN subsidiary -- the
UN
is meaningless, please look at the US spreading war all over the
world,
the UN doing nothing against it. and no, it's not the 'terror'
they're
fighting -- the real terror comes from the US -- it's the fight for
'their oil'... bastards)!

>
> (Ask Bill)
>
>
>>A lot of people in poor and developing countries are already
>>aware that they should move towards open source, and they
>>themselves keep up with those master plans everyday ...
>
>
> That is true.
>
> They know they should move. But they do not really know how.
> I have seen the quality of many 3rd world country masterplans.
> They are poorly presented; their language and formatting is
> bad; and most of them aren't based on facts.
>
> Western masterplans are more decent and sustainable. If they
> were to be adapted to 3rd world conditions, perhaps the
> situation would progress angular, and 3rd world people
> wouldn't have to struggle to keep up with their masterplans.
>

blabla.

it's not the lame presentation of even lamer masterplans that makes
hundreds of thousands of people in the 3rd world die of hunger and
deseases every month, no, it's that fucking capitalism!

you are in one of many key positions to change this. do something!
and
please stop driveling!

>
> --
>
> Fafa Hafiz Krantz
>   Senior Designer @ http://www.home.no/barbershop
>   Furious @ http://www.home.no/barbershop/smart/sharon.pdf

cheers,

timo (communist, vegetarian, open source dev, blablabla)

--
Timo Schoeler | http://macfinity.net/~tis |
[EMAIL PROTECTED]
//macfinity -- finest IT services | http://macfinity.net
Key fingerprint = F844 51BE C22C F6BD 1196  90B2 EF68 C851 6E12 2D8A

There are 10 types of people in the world. Those who understand
binary
and those who don't.
___
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: OPEN SOURCE MASTERPLANS

2005-05-03 Thread Joel Rees
Fafa Hafiz,
Pardon the top post, but master plans are for totalitarian governments 
and bureaucracies. Their sole purpose is to assist in perpetuating 
established institutions. (No institution is going to plan it's own 
demise. Oh, and how well they serve their purpose is a subject of some 
debate.)

Maybe what you should be asking for is examples of business plans, 
although those are all too often used by the powers that be to keep 
small businesses from growing and threatening the status quo. Informal 
operating policies and such might also be of interest.

On 2005.5.4, at 01:05 AM, Fafa Hafiz Krantz wrote:
Timo,
please stop posting this!
Get your weak wood out of my wheels!
I fight poverty to avoid ending up like you.
I work for poor people through UNDP.
one more proof that there i) are wrong people in the wrong places and
ii) much money is being wasted.
There are good people in the UNDP.
it's not the lame presentation of even lamer masterplans that makes
hundreds of thousands of people in the 3rd world die of hunger and
deseases every month, no, it's that fucking capitalism!
Masterplans don't kill people!
Masterplans help them survive!
you are in one of many key positions to change this. do something! and
please stop driveling!
Stop trolling.
--
Joel Rees
Getting involved in the neighbor's family squabbles is dangerous.
But if the abusive partner has a habit of shooting through his/her 
roof,
the guy who lives upstairs is in a bit of a catch-22.

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


Re: OPEN SOURCE MASTERPLANS

2005-05-03 Thread Timo Schoeler
LAW (Lawyers Are Wimps)

>>please stop posting this!
> 
> 
> Get your weak wood out of my wheels!
> I fight poverty to avoid ending up like you.
> 
> 
>>>I work for poor people through UNDP.
>>
>>one more proof that there i) are wrong people in the wrong places and
>>ii) much money is being wasted.
> 
> 
> There are good people in the UNDP.
> 
> 
>>it's not the lame presentation of even lamer masterplans that makes
>>hundreds of thousands of people in the 3rd world die of hunger and
>>deseases every month, no, it's that fucking capitalism!
> 
> 
> Masterplans don't kill people!
> Masterplans help them survive!
> 
> 
>>you are in one of many key positions to change this. do something! and
>>please stop driveling!
> 
> 
> Stop trolling.
> 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [Mimedefang] Installing on FreeBSD

2005-05-03 Thread Toomas Aas
Lisa Casey wrote:
Ok but this basically sucks. I'm sure I should be installing from ports. 
Me too.
But I don't seem to be able to do that, and I do know how to install 
source files.

When I try  to do a pkg_add to install the mimedefang  port that I've 
downloaded from freebsd.org, I get this:
pkg_add installs package (a pre-compiled binary), not port.
radius# pkg_add -r mimedefang.tar.gz
Error: FTP Unable to get 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4
-stable/Latest/mimedefang.tar.gz.tgz: File unavailable (e.g., file not 
found, no
access)
pkg_add: unable to fetch 
`ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-
4-stable/Latest/mimedefang.tar.gz.tgz' by URL
I have rarely, if ever at all, used pkg_add (I prefer ports), but I 
don't think that using argument 'mimedefang.tar.gz' is correct.

So I moved the tarball over to /usr/ports/distfiles, extracted it and 
ran make. 
If you have decided to install from source tarball, you should perform 
the installation outside the ports tree.

That resulted in:
radius# more distinfo
MD5 (mimedefang-2.51.tar.gz) = 9c4df4ec349e414f893c940ff563bea5
SIZE (mimedefang-2.51.tar.gz) = 302006
radius# make
"Makefile", line 53: Malformed conditional (${PERL_LEVEL} < 500601)
"Makefile", line 53: Need an operator
"Makefile", line 55: if-less endif
"Makefile", line 55: Need an operator
make: fatal errors encountered -- cannot continue
You are probably trying to run BSD make against a GNU makefile. If you 
really want to install from source tarball, use gmake.

At this rate it'll be forever before I get mimedefang installed and in 
the meantime I have customers upset because they are receiving 
unacceptable levels of spam. Surely someone can help me out with 
installing mimedefang from source 
At this stage I'd still recommend using ports. Just read 'man ports', as 
well as Section 4.5 of the Handbook, to get your confusion cleared up :-)

--
Toomas Aas 
|arvutivõrgu peaspetsialist | head specialist on computer networks|
|Tartu Linnakantselei   | Tartu City Office   |
- +372 736 1274
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [Mimedefang] Installing on FreeBSD

2005-05-03 Thread Lisa Casey
Hi,
Ok but this basically sucks. I'm sure I should be installing from ports. But 
I don't seem to be able to do that, and I do know how to install source 
files.

When I try  to do a pkg_add to install the mimedefang  port that I've 
downloaded from freebsd.org, I get this:

radius# pkg_add -r mimedefang.tar.gz
Error: FTP Unable to get 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4
-stable/Latest/mimedefang.tar.gz.tgz: File unavailable (e.g., file not 
found, no
access)
pkg_add: unable to fetch 
`ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-
4-stable/Latest/mimedefang.tar.gz.tgz' by URL

So I moved the tarball over to /usr/ports/distfiles, extracted it and ran 
make. That resulted in:

radius# more distinfo
MD5 (mimedefang-2.51.tar.gz) = 9c4df4ec349e414f893c940ff563bea5
SIZE (mimedefang-2.51.tar.gz) = 302006
radius# make
"Makefile", line 53: Malformed conditional (${PERL_LEVEL} < 500601)
"Makefile", line 53: Need an operator
"Makefile", line 55: if-less endif
"Makefile", line 55: Need an operator
make: fatal errors encountered -- cannot continue
At this rate it'll be forever before I get mimedefang installed and in the 
meantime I have customers upset because they are receiving unacceptable 
levels of spam. Surely someone can help me out with installing mimedefang 
from source and getting this sendmail stuff I have questions about working.

Of course, if someone  wants to tell me what I'm doing wrong in trying to 
install this as a package and howe to do it right, that would be OK too :-)

I'm going to CC  this to the FreeBSD list in case someone on that list might 
be able to help.

Thanks,
Lisa Casey

- Original Message - 
From: "ADNET Ghislain" <[EMAIL PROTECTED]>
To: 
Sent: Monday, May 02, 2005 6:28 PM
Subject: Re: [Mimedefang] Installing on FreeBSD


Lisa Casey wrote:
> Hi,
>
> I need to install Mimedefang on a FreeBSD 4.6 system as the Redhat
> system I was running my mail server on crashed. I've  upgraded perl to
> 5.8.6 (it was 5.001 or something like that) and installed the
> necessary perl modules for mimedefang. I have a couple of questions
> though about installing on FreeBSD (this is different from the way my
> Red Hat system was).
>
> I have Sendmail 8.13 on here. According to the Mimedefang instructions
> I need to make sure I have a queue runner. Does anyone know if
> Sendmail 8.13 will do this automatically? In the mimedefang
> instructions I was reading it said to do this by adding sendmail -Ac
> -qp5m to the init script for Sendmail. On my Red Hat system this was
> in /etc/init.d. I can't find where I should specify this on FreeBSD.
>
> When I installed my radius server on this FreeBSD system, I put the
> init script for it in /usr/local/etc/rc.d (there's  no sendmail script
> therre). Is this where I should put my mimedefang init script? How
> will I know if this stops & starts mimedefang at the right times? I
> believe mimedefang should start up after Sendmail does and should be
> stopped before Sendmail is.
>
> Thanks,
>
> Lisa Casey
>
>
>
>
Hi lisa,
  You should use the port system to install it on freeBSD, think of it
like the rpm for redhat... :)
regards,
Ghislain.
--
AQUEOS - Service Informatique
1, Rue Albert Einstein
77420 Champs sur marne
Service technique :  [EMAIL PROTECTED]
Service commercial :  [EMAIL PROTECTED]
Tel : 06.63.79.27.38 /  01.64.02.99.37
___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
MIMEDefang@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.0 - Release Date: 4/29/2005

--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.2 - Release Date: 5/2/2005


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.2 - Release Date: 5/2/2005
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 5.3 NVIDIA-1.0.7174 GLX extension problem

2005-05-03 Thread Lowell Gilbert
Soheil Hassas Yeganeh <[EMAIL PROTECTED]> writes:

> I have problem using NVIDIA-1.0.7174.
> It failed to load GLX. What i can do for this?
> 
> This is a warnings and errors of my X.org log
> 
> (WW) NV(0): Option "CursorShadow" is not used
> (EE) Failed to initialize GLX extension (NVIDIA X driver not found)
> I have attached the complete X.org log

It turns out that you have not.

My guess is that you need to use the nvidia driver (available from
ports) instead of the nv one that comes with X.org.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Domain Name in postfix on a Local Network

2005-05-03 Thread Lowell Gilbert
"Bill Schmitt (SW)" <[EMAIL PROTECTED]> writes:

> I've been struggling through setting up a mail server on my home
> network, with the goal to be running an imap server. As I've indicated
> on some other related postings I've made, networking is probably my
> weakest side and I need a little help.
> 
> I have no real internet name for the box, which I call "schfrbsd"
> (named with a dot at the end in rc.conf hostname="schfrbsd."). Using
> that name, I've managed to get Samba working and a local web server,
> but when I come to mail, I get confused. The network is made up of a
> bunch of XP Home Machines, the FreeBSD 4.9 machine, and a Netgear
> Router/Firewall that also runs DHCP. I don't think it's relevant here,
> but the workgroup name I use for Samba and Windows Peer Networking is
> "olympia". The router is called schrout, if that helps.

If the router can do DNS as well as DHCP, that will help you out a lot.

> When I come to configuring postfix, there are entries for myhostname
> and mydomain. I believe myhostname should be schbsd. What do I use for
> mydomain? Where should I be naming the domain?

"myhostname" will default to whatever hostname(1) says.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


OPEN SOURCE MASTERPLANS

2005-05-03 Thread Fafa Hafiz Krantz

Timo,

> please stop posting this!

Get your weak wood out of my wheels!
I fight poverty to avoid ending up like you.

> > I work for poor people through UNDP.
> 
> one more proof that there i) are wrong people in the wrong places and
> ii) much money is being wasted.

There are good people in the UNDP.

> it's not the lame presentation of even lamer masterplans that makes
> hundreds of thousands of people in the 3rd world die of hunger and
> deseases every month, no, it's that fucking capitalism!

Masterplans don't kill people!
Masterplans help them survive!

> you are in one of many key positions to change this. do something! and
> please stop driveling!

Stop trolling.

--

Fafa Hafiz Krantz
  Senior Designer @ http://www.home.no/barbershop
  Furious @ http://www.home.no/barbershop/smart/sharon.pdf


-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


createing users homedir on first login

2005-05-03 Thread Gerhard Schmidt
Hi,

I have set up some FreeBSD 5 Workstations and configured nss to get the 
accounts from ldap. Pam is also set up to work with ldap. Everything so 
far is runningnperfectly smooth. The problem is the workstations don`t have
a shared filesystem. Each user should have an seperate homedir on every 
workstation. 

I tried to use pam_exec to create the homedir on the first login. But it
seams there is now way of knowing who is logging. I've even tried 
to use pw usershow -a to get all users and create all homedirs but 
pw usershow -a don't report any users when started from a shellscript 
called by the pam_exec module. 

Anyone successfully implemented a system to create homedirs on the fly. 

bye
Estartu


Gerhard Schmidt| Nick : estartu  IRC : Estartu  |
Fischbachweg 3 ||  PGP Public Key
86856 Hiltenfingen | E-Mail: [EMAIL PROTECTED] |   auf Anfrage/
Germany||on request



pgp7vWPDIuOPS.pgp
Description: PGP signature


sound absent

2005-05-03 Thread Eugene M. Minkovskii
Hello people!

I'm using HP motherboard with integrated audio chipset, and I
made statically kernel.

So, I wrote in my kernel configuration:

device  sound
device  snd_ich

and

NO_MODULES=yes

in /etc/make.conf.  Then I make kernel and reboot.

Now I see following:

$ dmesg | grep pcm0
pcm0:  port 0xd400-0xd43f,0xd800-0xd8ff mem 
0xfe77b400-0xfe77b4ff,0xfe77b800-0xfe77b9ff irq 17 at device 31.5 on pci0
pcm0: [GIANT-LOCKED]
pcm0: 
pcm0:  port 0xd400-0xd43f,0xd800-0xd8ff mem 
0xfe77b400-0xfe77b4ff,0xfe77b800-0xfe77b9ff irq 17 at device 31.5 on pci0
pcm0: [GIANT-LOCKED]
pcm0: 

I have not idea about why this information present in dmesg two
times... But it's not important, perhaps.

$ pciconf -lv
...
[EMAIL PROTECTED]:31:5: class=0x040100 card=0x218114a4 chip=0x24d58086 rev=0x02 
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller'
class= multimedia
subclass = audio
...

and finally:

$ cat /dev/sndstat 
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0:  at io 0xfe77b800, 0xfe77b400 irq 17 bufsz 16384  
(1p/1r/0v channels duplex default)

Great! It seemes to all be okay!

But there are silenice in my headphones :( Have you any idea?


-- 
Sensory  yours, Eugene  Minkovskii
Сенсорно ваш,   Евгений Миньковский
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: OPEN SOURCE MASTERPLANS

2005-05-03 Thread Timo Schoeler
please stop posting this!

Nice ASCII logo.
> 
> I work for poor people through UNDP.

one more proof that there i) are wrong people in the wrong places and
ii) much money is being wasted.

> I am not a government nor Microsoft employee.

shouldn't make a difference as money rules the world (*cough*)... so
your employer is meaningless (even if it's any UN subsidiary -- the UN
is meaningless, please look at the US spreading war all over the world,
the UN doing nothing against it. and no, it's not the 'terror' they're
fighting -- the real terror comes from the US -- it's the fight for
'their oil'... bastards)!

> 
> (Ask Bill)
> 
> 
>>A lot of people in poor and developing countries are already
>>aware that they should move towards open source, and they 
>>themselves keep up with those master plans everyday ...
> 
> 
> That is true.
> 
> They know they should move. But they do not really know how.
> I have seen the quality of many 3rd world country masterplans.
> They are poorly presented; their language and formatting is
> bad; and most of them aren't based on facts.
> 
> Western masterplans are more decent and sustainable. If they
> were to be adapted to 3rd world conditions, perhaps the
> situation would progress angular, and 3rd world people
> wouldn't have to struggle to keep up with their masterplans.
> 

blabla.

it's not the lame presentation of even lamer masterplans that makes
hundreds of thousands of people in the 3rd world die of hunger and
deseases every month, no, it's that fucking capitalism!

you are in one of many key positions to change this. do something! and
please stop driveling!

> 
> --
> 
> Fafa Hafiz Krantz
>   Senior Designer @ http://www.home.no/barbershop
>   Furious @ http://www.home.no/barbershop/smart/sharon.pdf

cheers,

timo (communist, vegetarian, open source dev, blablabla)

-- 
Timo Schoeler | http://macfinity.net/~tis | [EMAIL PROTECTED]
//macfinity -- finest IT services | http://macfinity.net
Key fingerprint = F844 51BE C22C F6BD 1196  90B2 EF68 C851 6E12 2D8A

There are 10 types of people in the world. Those who understand binary
and those who don't.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: backup with tar: Which dirs

2005-05-03 Thread Roland Smith
On Tue, May 03, 2005 at 09:32:10AM +0200, [EMAIL PROTECTED] wrote:
> I have a large usb harddisk with a 60GB freebsd slice that I want to use
> to backup the FreeBSD 5.4 installation on my laptop once in a while.
> I think that tar is the right tool for this purpuse.

You could also use dump, combined with bzip2. If you want to use tar,
use gtar with the  --one-file-system option.

> Now I ask:
> What directories do *** NOT *** require to be backed up?
> I know this is the case of /tmp 
> but what about /dev? and /var?

The /dev/ directory is filled automagically. You don't have to back it
up. I would make a backup of /var, since things like your ports database
and mail queue reside there.

In short; back up /, /usr and /var, and /home if you have that on a
seperate slice.

Roland
-- 
R.F. Smith   /"\ASCII Ribbon Campaign
r s m i t h @ x s 4 a l l . n l  \ /No HTML/RTF in e-mail
http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail
public key: http://www.keyserver.net / \Respect for open standards


pgpYtDvHxscXI.pgp
Description: PGP signature


Re: My BIND is tWisted!!!

2005-05-03 Thread Fafa Hafiz Krantz

> Please do __NOT__ post your reply on top of a long quoted part of the
> original.  Both top-posting and failing to trim quoted material to the
> absolutely minimum necessary size are considered "bad netiquette" on
> this list.

Sorry!


> Having said that, you can check your /var/log/messages for interesting
> bits sent there by the named process as it starts:
> 
>   # tail -f /var/log/messages | grep named
> 
> Then, restart your named and watch for interesting output.
> 
> For extra bonus points, you can add a special "named" entry in your
> /etc/syslog.conf file:
> 
>   !named
>   *.* /var/log/named.log
> 
> which will direct only the messages from named to a special log file.
> Remember to restart syslogd after you add this to syslog.conf and then
> use tail -f on the named.log file to watch for named output.
> 
> Then, after having all the necessary information from a named reload,
> you may have more hints and/or clues about what's wrong.

There has never been anything interesting in /var/log, I am afraid.
My world and kernel are making to solve this problem, though :)

http://lists.freebsd.org/pipermail/freebsd-questions/2005-May/085943.html

--

Fafa Hafiz Krantz
  Senior Designer @ http://www.home.no/barbershop
  Furious @ http://www.home.no/barbershop/smart/sharon.pdf


-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


OPEN SOURCE MASTERPLANS

2005-05-03 Thread Fafa Hafiz Krantz

Mario,

Nice ASCII logo.

I work for poor people through UNDP.
I am not a government nor Microsoft employee.

(Ask Bill)

> A lot of people in poor and developing countries are already
> aware that they should move towards open source, and they 
> themselves keep up with those master plans everyday ...

That is true.

They know they should move. But they do not really know how.
I have seen the quality of many 3rd world country masterplans.
They are poorly presented; their language and formatting is
bad; and most of them aren't based on facts.

Western masterplans are more decent and sustainable. If they
were to be adapted to 3rd world conditions, perhaps the
situation would progress angular, and 3rd world people
wouldn't have to struggle to keep up with their masterplans.

Thank you for replying, Mario.

--

Fafa Hafiz Krantz
  Senior Designer @ http://www.home.no/barbershop
  Furious @ http://www.home.no/barbershop/smart/sharon.pdf


-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: My BIND is tWisted!!!

2005-05-03 Thread Giorgos Keramidas
On 2005-05-01 14:57, Fafa Diliha Romanova <[EMAIL PROTECTED]> wrote:
>"Ed Stover" <[EMAIL PROTECTED]> wrote:
 First off, what have you done with that machine before it stopped
 working? when you try to start named does it produce any error
 messages?
>>
>> You are not being helpful. lol, try this
>> /usr/local/etc/rc.d/bind start
>> ps -ax |grep named
>>   Now is there a named running?
>
> Hehe :) Yeah  named is running.
>
> /etc/rc.d/named start && ps -ax | grep named:
>
>   247  ??  Ss 0:00.79 /usr/sbin/syslogd -l /var/run/log -l 
> /var/named/var/run/log -s
>   261  ??  Ss 0:37.36 /usr/sbin/named -u bind -t /var/named

Please do __NOT__ post your reply on top of a long quoted part of the
original.  Both top-posting and failing to trim quoted material to the
absolutely minimum necessary size are considered "bad netiquette" on
this list.

Having said that, you can check your /var/log/messages for interesting
bits sent there by the named process as it starts:

# tail -f /var/log/messages | grep named

Then, restart your named and watch for interesting output.

For extra bonus points, you can add a special "named" entry in your
/etc/syslog.conf file:

!named
*.* /var/log/named.log

which will direct only the messages from named to a special log file.
Remember to restart syslogd after you add this to syslog.conf and then
use tail -f on the named.log file to watch for named output.

Then, after having all the necessary information from a named reload,
you may have more hints and/or clues about what's wrong.

- Giorgos

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


  1   2   >