Hanging on shutdown

2004-06-30 Thread Edd

Has anyone had any problems with thier (x86) machines taking ages to
shutdown after the syncing buffers stage?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


max concurrent scp sessions - and testing methodology for them...

2004-06-30 Thread Joe Schmoe
I have read several documents on the number of
concurrent  https sessions a FreeBSD system is capable
of.

However, I wonder how well this relates to how many
ssh sessions (scp file transfers, specifically) that a
FreeBSD server can handle.  Can anyone throw out some
basic numbers for this ?  Assuming a 1ghz p3 and 2gigs
of RAM, and assuming that everyone is transferring a
totally different file.  (so there is no amount of
cache hits - everything comes straight off the drives)

I would think the major bottleneck would be disk - you
would start chugging the disks far before you used up
all the CPU on a 1ghz p3 ... but what is the second
bottleneck ?  Is it cpu, or is it ram (or mbufs, etc.)

Would it be a reasonable test to just start up scp
sessions from the machine to itself and then divide
the number of sessions you can acceptably create by
the number 2 ?  Or is this somehow a flawed test ?

Any additional comments (kernel tunes, settings, war
stories) are greatly appreciated.




__
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


make clean all installed ports

2004-06-30 Thread Peter Risdon
I'm sure I saw recently on this list that it's possible to:
#cd /usr/ports
#make clean somethingorother
and clean just installed ports. A straight make clean in the root of the 
ports tree takes rather a long time.

But I can't seem to find the post anywhere. If this isn't the product of 
my feverish imagination, I'd be grateful for a reminder.

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


Re: amavisd-new postfix issue

2004-06-30 Thread Remko Lodder
Logan Ashby wrote:
On Mon, 28 Jun 2004 22:39:40 -0400, dave <[EMAIL PROTECTED]> wrote:

Jun 28 21:35:01 zeus amavis[68580]: (68580-01) WARN: all primary virus
scanners failed, considering backups
Jun 28 21:35:01 zeus postfix/smtpd[68669]: fatal: open dictionary: need
"type:name" form instead of: "#"
Jun 28 21:35:02 zeus postfix/master[68635]: warning: process
/usr/local/libexec/postfix/smtpd pid 68669 exit status 1
Jun 28 21:35:02 zeus postfix/master[68635]: warning:
/usr/local/libexec/postfix/smtpd: bad command startup -- throttling

My guess would be a misplaced comment in main.cf or master.cf.  Can
you post the relevant lines with a couple of lines of surrounding
context?
I would agree with Logan here,
There is an typo perhaps below the amavis statement in your 
smtp_recipients option (or however it was called ;-))
Could you show us those lines? (They dont contain any privileged 
information imho so it can be safely done)

Cheers
--
Kind regards,
Remko Lodder   |[EMAIL PROTECTED]
Reporter DSINet|[EMAIL PROTECTED]
Projectleader Mostly-Harmless  |[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sendmail +userdb + Release 4.10p1

2004-06-30 Thread vikashb
Greetings,

> > hostname.mc
> > ~`
> > dnl define(`confUSERDB_SPEC',/etc/mail/userdb.db)
> > Cwwormhole.pcs
> > MASQUERADE_AS(`bcx.co.za')dnl
> > FEATURE(masquerade_envelope)dnl
> > FEATURE(allmasquerade)dnl
> > FEATURE(nocanonify)dnl
> > FEATURE(genericstable, `hash -o /etc/mail/genericstable')dnl
> > GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')dnl
> > dnlFEATURE(nodns)dnl
> > define(`SMART_HOST', `172.21.63.2')
> > Dmwormhole.pcs
> > define(`confDOMAIN_NAME',`wormhole.pcs')dnl
> > define(`confDELIVERY_MODE',`deferred')dnl
> > MAILER(local)
> > MAILER(smtp)
> > 
> > ~~
> > wormhole# cat genericstable
> > vix [EMAIL PROTECTED]
> > vikashb [EMAIL PROTECTED]
> > ~~~
> 
>  From cf.README:
>  [...]
> genericstable This feature will cause unqualified addresses 
> (i.e., without
>   a domain) and addresses with a domain listed in 
> class {G}
>   to be looked up in a map and turned into 
> another ("generic")
>   form, which can change both the domain name and 
> the user name.
>   Notice: if you use an MSP (as it is default 
> starting with
>   8.12), the MTA will only receive qualified 
> addresses from the
>   MSP (as required by the RFCs).  Hence you need 
> to add your
>   domain to class {G}.  This feature is similar 
> to the userdb
>   functionality.
>  [...]
> 
> So in your genericstable try to add qualified addresses:
> 
> [EMAIL PROTECTED] [EMAIL PROTECTED]
> 

Tried that, still the same, domain name translates but username does not.

Thanks

-
This message was sent using MWEB Airmail.
JUST LIKE THAT
http://airmail.mweb.co.za/


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


Re: make clean all installed ports

2004-06-30 Thread epilogue
On Wed, 30 Jun 2004 09:10:15 +0100
Peter Risdon <[EMAIL PROTECTED]> wrote:

> I'm sure I saw recently on this list that it's possible to:
> 
> #cd /usr/ports
> #make clean somethingorother
> 
> and clean just installed ports. A straight make clean in the root of the 
> ports tree takes rather a long time.
> 
> But I can't seem to find the post anywhere. If this isn't the product of 
> my feverish imagination, I'd be grateful for a reminder.

i seem to recall having seen it in an onlamp article.  you may also have
seen it there.

just in case you're actually considering cleaning-up that way, you can save
yourself a _LOT_ of time by installing the portupgrade suite of tools then
simply...

portsclean -C

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


Re: Hanging on shutdown

2004-06-30 Thread Alastair G. Hogge
On Wednesday 30 June 2004 17:35, Edd wrote:
> Has anyone had any problems with thier (x86) machines taking ages to
> shutdown after the syncing buffers stage?
Yes I have. There was also a thread already discussing this somewhere on the 
current or questions mailing lists.

A proposed solution, which worked for me and others was to run sync, wait X 
amount of time, and run sync again then shutdown.

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


Re: Thunderbird and Postfix

2004-06-30 Thread MEZEI Tamas
cyrus? courier?) server? Could someone help or point me to documents 
that tells me how to set it up (a standalone IMAP server with no 
www.postfix.org has some nice docs. Or, you could just use google and 
search for the server of your needs. I used courier-imap, and it's 
working nicely. UW-imap just sucks (performance and the mbox-way of 
IMAP, not too cool ;)

Btw. if you're planning to *move* from mbox-stlye mailboxes to Maildir 
boxes, don't forget to convert the users' mailboxes with mb2md.pl 
(search google and follow the instructions).

I've heard about dovecot but just after I set courier up (that was a 
5-minute procedure).

I think the normal-base-whatever-you-call-it procmail cannot do anything 
with Maildirs. If I'm wrong, tell me.

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


[no subject]

2004-06-30 Thread Gregory Edigarov
[EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED]
Cc: 
Bcc: 
Subject: PPP Multilink, FreeBSD, Squid
Reply-To: 

Hello,

I have Squid-2.5 running on FreeBSD 5-Current. We have 2 ppp links,
and use them in multilink mode, through userlevel ppp.
If one or both links fail and then come up, say, if I just turn the
modem power off and on all the  web browsing becomes very slow squid.
It takes forever for squid to show a page which, in a normal
conditions, would take only a few seconds. Pings to those sites I am
trying to open are just fine.
Taking squid down and then up have no effect. The only thing help is rebooting 
the whole system. 

Is there anything I can do?
-- 
With best regards,
Gregory Edigarov
--
profi.kharkov.uaSystems Administrator
--
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Squid, FreeBSD, Multilink PPP

2004-06-30 Thread Gregory Edigarov
Hello,

I have Squid-2.5 running on FreeBSD 5-Current. We have 2 ppp links,
and use them in multilink mode, through userlevel ppp.
If one or both links fail and then come up, say, if I just turn the
modem power off and on all the  web browsing becomes very slow
squid.
It takes forever for squid to show a page which, in a normal
conditions, would take only a few seconds. Pings to those sites I am
trying to open are just fine.
Taking squid down and then up have no effect. The only thing help is
rebooting
the whole system.

Is there anything I can do?


-- 
With best regards,
Gregory Edigarov
--
profi.kharkov.uaSystems Administrator
--
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Fatal trap 12: page fault while in kernel mode

2004-06-30 Thread wrivera

I recently installed freebsd 5.2.1, which seemed to go well. But lately my 
system has been locking up and rebooting. I have included the error 
that is displayed each time my system locks.

Jun 29 20:37:09 candice syslogd: kernel boot file is /boot/kernel/kernel
Jun 29 20:37:09 candice kernel: 
Jun 29 20:37:09 candice kernel: 
Jun 29 20:37:09 candice kernel: Fatal trap 12: page fault while in kernel mode
Jun 29 20:37:09 candice kernel: cpuid = 0; apic id = 00
Jun 29 20:37:09 candice kernel: fault virtual address        = 0xc5f12321
Jun 29 20:37:09 candice kernel: fault code                = supervisor read, 
page not present
Jun 29 20:37:09 candice kernel: instruction pointer        = 0x8:0xc0694770
Jun 29 20:37:09 candice kernel: stack pointer                = 0x10:0xddd77a1c
Jun 29 20:37:09 candice kernel: frame pointer                = 0x10:0xddd77a28
Jun 29 20:37:09 candice kernel: code segment                = base 0x0, limit 
0xf, type 
0x1b
Jun 29 20:37:09 candice kernel: = DPL 0, pres 1, def32 1, gran 1
Jun 29 20:37:09 candice kernel: processor eflags        = interrupt enabled, 
resume, 
IOPL = 0
Jun 29 20:37:09 candice kernel: current process                = 21866 
(devinfo)
Jun 29 20:37:09 candice kernel: trap number                = 12
Jun 29 20:37:09 candice kernel: panic: page fault
Jun 29 20:37:09 candice kernel: cpuid = 0; 
Jun 29 20:37:09 candice kernel: 
Jun 29 20:37:09 candice kernel: syncing disks, buffers remaining... 3428 3428 
3427 3427 3427 3427 3427 3427 3427 3427 3427 3427 3427 3427 3427 3427 3427 342
7 
3427 3427 3427 3427 

Does anyone have an idea why this is happening?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Using xorg instead of XFree86

2004-06-30 Thread Axel S. Gruner
Hi,

i have written a howto for people willing to switch from XFree86 to 
xorg. Ok, at this time it is only available in german:

http://www.bsdforen.de/showthread.php?p=39983#post39983

But i also have some questions about switching to xorg. 

(1) Will xorg be the default X in future FreeBSD Releases?

(2) I have xorg running, without a problem, but if i install a new 
application with a XFree86 dependency i have to run "pkgdb -F" to fix 
the dependency to xorg stuff (and imake-6).
If i change /usr/ports/Mk/bsd.port.mk and the entries about XFree86 and 
imake-4 to xorg and imake-6, the change will not be permanent (cvsup 
will overwrite the change):

[...]
LIB_DEPENDS+=   X11.6:${PORTSDIR}/x11/xorg-libraries
[...]
.if defined(USE_IMAKE)
BUILD_DEPENDS+= ${X11BASE}/lib/X11/config/date.def:
${PORTSDIR}/devel/imake-6
RUN_DEPENDS+= mkhtmlindex:${PORTSDIR}/devel/imake-6
[...]

So, is there another way to fix that permanently or a work-around?

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


Re: Using xorg instead of XFree86

2004-06-30 Thread Matthew Seaman
On Wed, Jun 30, 2004 at 12:46:37PM +0200, Axel S. Gruner wrote:

> i have written a howto for people willing to switch from XFree86 to 
> xorg. Ok, at this time it is only available in german:
> 
> http://www.bsdforen.de/showthread.php?p=39983#post39983
> 
> But i also have some questions about switching to xorg. 
> 
> (1) Will xorg be the default X in future FreeBSD Releases?

Probably.  It seems that most of the Linux distros have switched or
are switching to it, and the Unix vendors like Sun always were behind
X.Org anyway.  

There is has been a discussion on the x11 and docs mailing lists
covering all of the whys and wherefores.  A good place to start is
here:

http://docs.freebsd.org/cgi/mid.cgi?200406051411.04259.linimon

> (2) I have xorg running, without a problem, but if i install a new 
> application with a XFree86 dependency i have to run "pkgdb -F" to fix 
> the dependency to xorg stuff (and imake-6).
> If i change /usr/ports/Mk/bsd.port.mk and the entries about XFree86 and 
> imake-4 to xorg and imake-6, the change will not be permanent (cvsup 
> will overwrite the change):
> 
> [...]
> LIB_DEPENDS+=   X11.6:${PORTSDIR}/x11/xorg-libraries
> [...]
> .if defined(USE_IMAKE)
> BUILD_DEPENDS+= ${X11BASE}/lib/X11/config/date.def:
> ${PORTSDIR}/devel/imake-6
> RUN_DEPENDS+= mkhtmlindex:${PORTSDIR}/devel/imake-6
> [...]
> 
> So, is there another way to fix that permanently or a work-around?

Eventually something like what you propose will be added to
bsd.port.mk or whichever makefile is appropriate.  Until then, you're
going to have to maintain your patches in parallel to the ordinary
development of the ports tree.

On the whole though, you can get by without fiddling in the makefiles
if you're prepared to run pkgdb(1) to fix up the dependencies after
the fact.

The X.Org stuff is still considered experimental at the moment.  As
more and more people start to use it and it gets well debugged, the
ports infrastructure around it will be improved.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpm3CjJ6ugV8.pgp
Description: PGP signature


Permissions setting

2004-06-30 Thread Россихин Алексей
Is it possible to set different permissions
on one file for 2 groups and set 'no access'
for other people? And how?

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


vi / EAGAIN Problem

2004-06-30 Thread Gustafson, Tim
Hello everyone.

I finally have the output of a ktrace of the problem where vi returns
"Error: input: Resource temporarily unavailable" to me.  It can be
downloaded from the following link.  Any information that can tell me what's
going on here and maybe what I can do to fix it would be greatly
appreciated.

http://www.meitech.com/fbsd/ktrace.out

Thanks a billion!

Tim

Tim Gustafson
MEI Technology Consulting, Inc
[EMAIL PROTECTED]
(516) 379-0001 Office
(516) 480-1870 Mobile/Emergencies
http://www.meitech.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Permissions setting

2004-06-30 Thread Jorn Argelo
ÐÐÑÑÐÑÐÐ ÑÐÐ wrote:
Is it possible to set different permissions
on one file for 2 groups and set 'no access'
for other people? And how?
  Alexxis Rossikhin
   [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
 

That almost sounds like NTFS permissions to me.
But the answer is no, you can't. You can change the file owner, the 
group owner the file belongs to (so not two), and what the persmission 
for everybody else is. You can always add the users of one group to the 
other one, so that you have one group. Then you can chmod it to 660 or 
770 or something. Correct me if I'm wrong though.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Alcatel PCi ADSL Modem

2004-06-30 Thread Matt
I have an "Alcatel PC" which is a PCi ADSL modem, I am trying to locate a  
driver for it and generally work out how to use it. My dmesg output which  
I think relates to it is:

pci0:  on pcib0
pci0:  (vendor=0x1471, dev=0x0188) at 7.0 irq 10
I rang the Alcatel help desk and they confirmed there is no linux driver  
or FreeBSD driver. Would it be possible to adapt a windows driver or to  
use the Speedtouch USB driver?

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


Re: Permissions setting

2004-06-30 Thread Gautam Gopalakrishnan
On Wed, 30 Jun 2004 16:58:59 + (GMT), ÐÐÑÑÐÑÐÐ ÑÐÐ
<[EMAIL PROTECTED]> wrote:
> 
> Is it possible to set different permissions
> on one file for 2 groups and set 'no access'
> for other people? And how?

http://ezine.daemonnews.org/200310/acl.html

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


Re: Using xorg instead of XFree86

2004-06-30 Thread Axel S. Gruner
Hi Matthew,

On Wednesday 30 June 2004 13:06, Matthew Seaman wrote:
> Probably.  It seems that most of the Linux distros have switched or
> are switching to it, and the Unix vendors like Sun always were behind
> X.Org anyway.
> There is has been a discussion on the x11 and docs mailing lists
> covering all of the whys and wherefores.  A good place to start is
> here:
> http://docs.freebsd.org/cgi/mid.cgi?200406051411.04259.linimon

thanks for your quick answer and that link. 

> Eventually something like what you propose will be added to
> bsd.port.mk or whichever makefile is appropriate.  Until then, you're
> going to have to maintain your patches in parallel to the ordinary
> development of the ports tree.
> On the whole though, you can get by without fiddling in the makefiles
> if you're prepared to run pkgdb(1) to fix up the dependencies after
> the fact.
> The X.Org stuff is still considered experimental at the moment.  As
> more and more people start to use it and it gets well debugged, the
> ports infrastructure around it will be improved.

Ok, fine. XFree86 is still fine for most of the users out there (and 
just a few of them looking at stuff like "licenses"...). 
So, i can live with a "pkgdb -F", or a temporary change of bsd.port.mk. 
Well, a second one, like a "bsd.port.mk.xorg" in the tree (which is 
also up-to date) would be also nice, renaming that one after a cvsup 
would made it a lot easier for the moment. 

Cheers,

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


Dell Poweredge 1750 - amr driver

2004-06-30 Thread moti
Hi , 
I was wondering if anyone runs freebsd on the above hardware ?
I managed to get freebsd installed with no problem , how ever  tried pulling a drive 
out of the raid 
i got npo alerts / messages in the log fles .
i was wondering anyone uses an amr based raid and can help me out .
this will be a prodcution system and i'd hate to not know if there are any problems 
with  the raid .
thanks you .

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


"ppp -auto" linkup without outgoing trafic

2004-06-30 Thread Mikhail TSaplin
HI ALL, 
I have freebsd 5.1 release and a litle problem: 
When i invoke "ppp -auto", it starts calling without outgoing packets (i used  
tcpdump to see it) and after some minutes it drops the line by timeout. 
 
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Thunderbird and Postfix

2004-06-30 Thread Gary
Hi MEZEI,
--On Wednesday, June 30, 2004 10:56:54 AM +0200 MEZEI Tamas
<[EMAIL PROTECTED]> wrote:
I think the normal-base-whatever-you-call-it procmail cannot do
anything with Maildirs. If I'm wrong, tell me.
Ok  The latest versions of procmail wlll deliver to Maildirs
without problems. .. Or.. you can use a very little program called
safecat in your deliver line of your recipe in procmail, to safely
deliver mail to a Maildir..
--
Gary
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: max concurrent scp sessions - and testing methodology for them...

2004-06-30 Thread Bill Moran
Joe Schmoe <[EMAIL PROTECTED]> wrote:
> I have read several documents on the number of
> concurrent  https sessions a FreeBSD system is capable
> of.
> 
> However, I wonder how well this relates to how many
> ssh sessions (scp file transfers, specifically) that a
> FreeBSD server can handle.  Can anyone throw out some
> basic numbers for this ?  Assuming a 1ghz p3 and 2gigs
> of RAM, and assuming that everyone is transferring a
> totally different file.  (so there is no amount of
> cache hits - everything comes straight off the drives)

I doubt that will pan out in reality.  Depending on the number of files
and how much RAM is available, there's always some % chance that a file
will be in cache.

However, overall, it's not a bad testing scheme, as you're trying to
get worst case scenerio.

> I would think the major bottleneck would be disk - you
> would start chugging the disks far before you used up
> all the CPU on a 1ghz p3 ... but what is the second
> bottleneck ?  Is it cpu, or is it ram (or mbufs, etc.)

I would suspect that as well, but with fast disks, it may not be the case
(there are a lot of different classes of disks out there.   Keep in mind,
also, that scp is heavy processor overhead because it's encrypting
everything, so you may find the CPU bottlenecks the throughput first.

> Would it be a reasonable test to just start up scp
> sessions from the machine to itself and then divide
> the number of sessions you can acceptably create by
> the number 2 ?  Or is this somehow a flawed test ?

This dodges the (remote) possibility that the NIC might be the bottleneck
(since it's using the loopback) ... I would start the parallel scps from
a different machine (just have them store the downloaded file in /dev/null
to avoid the download machine's HDD becomming the bottleneck)

You can then monitor the "server" using top/netstat/whatever and figure
out what causes the first bottleneck.

The difficult thing will be that different hardware will bottleneck at
different places.  You might even find that different brands of the
same speed CPU bottleneck differently.

I'm not aware of any published tests of this kind of thing, so your
results would probably be pretty interesting to the community.

If I were to guess ... I would expect that your prediction that the
disks would be the first bottleneck is probably right.  If you upgraded
to fast enough disks, I would expect the CPU to become the next bottleneck.

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


Re: Squid, FreeBSD, Multilink PPP

2004-06-30 Thread Brian Somers
On Wed, 30 Jun 2004 12:43:14 +0300, Gregory Edigarov <[EMAIL PROTECTED]> wrote:
> Hello,
> 
> I have Squid-2.5 running on FreeBSD 5-Current. We have 2 ppp links,
> and use them in multilink mode, through userlevel ppp.
> If one or both links fail and then come up, say, if I just turn the
> modem power off and on all the  web browsing becomes very slow
> squid.
> It takes forever for squid to show a page which, in a normal
> conditions, would take only a few seconds. Pings to those sites I am
> trying to open are just fine.
> Taking squid down and then up have no effect. The only thing help is
> rebooting
> the whole system.
> 
> Is there anything I can do?

How does ppp deal with the link loss - does it notice immediately ?  I
would expect very little latency if it does as it should be able to just
trash the existing queued data and continue using the other link.

I guess other connections suffer the same problems -- it's not just squid ?

It might be interesting doing a ``show mp'' or ``show bundle'' to determine
what sort of packet queuing and reassembly is happening after the link is
lost.

If the queues are large, you might get slightly better performance by
reducing the links mtu (set mtu max), but really, things should recover
ok even with a ~1500 MTU.

-- 
Brian <[EMAIL PROTECTED]><[EMAIL PROTECTED]>
     <[EMAIL PROTECTED]>
Don't _EVER_ lose your sense of humour !
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Pulling measurements of system memory?

2004-06-30 Thread Danny Howard
What's the easiest command to read to get good information on memory 
usage?  I played with "/sbin/sysctl -n hw.physmem hw.usermem vm.kvm_size 
vm.kvm_free" yesterday but I have the feeling that these are not the 
numbers I think they are, because they add up wrong.

There's some pretty good stuff at the top of top, but I'd be happier 
with output in raw numbers of bytes, to feed to my graphing program.  
This would also save the trouble of reinterpreting M into * 1024^2.

Thanks in advance for any tips.
Sincerely,
-danny
--
Danny Howard[EMAIL PROTECTED]
Technical Support Manager  (312)829- x235
Server Central Network   http://www.servercentral.net
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ISP Connection problem - ADSL

2004-06-30 Thread Steve Bertrand

> Many thanks for your help with this problem, you were
> right on the money. I followed your directions and it
> worked like a charm.

Great. Glad I could help ;o)

> If only I'd asked sooner I could
> have saved hours fiddling unsuccessfully with PPP
> settings, but it was a learning experience.

Agreed. I'll bet if you put your DSL modem in simple modem mode, you'd
have no problem at all getting that PPPoE link up and running. I believe
that it is worth trying ones self after RTFM for the experience, then ask
the questions when one is really stuck.

Cheers,

Steve

>
> Thanks very much! :)
>
> Bryce
>
> --- Steve Bertrand <[EMAIL PROTECTED]> wrote:
>>
>> > Im using an Alcatel Speedtouch 530 Modem connected
>> to
>> > Ethernet. My ADSL connection is fine in Windoze
>> > however the configuration for the modem is usually
>> set
>> > through a web-browser. Do the modem settings(done
>> via
>> > browser) affect the connection in FBSD or does the
>> > system simply take the settings from ppp.conf etc?
>> Im
>> > somewhat confused on this point. I can ping the
>> modem
>> > at 10.0.0.138 and can open the web interface in X.
>>
>> Do you have this modem set up to do the PPPoE
>> dialing for you? In Windows,
>> do you have to use any software to connect, or is
>> the connection made
>> automatically. It appears you have your modem set up
>> in routing mode,
>> which means the modem most likely does the
>> authentication to your ISP for
>> you.
>>
>> I have a strong suspicion that you do not even need
>> to use ppp on the
>> FreeBSD box.
>>
>> If your modem contains the login info for the ISP,
>> just set up your
>> /etc/rc.conf file with the following:
>>
>> ifconfig_nic="DHCP"
>>
>> and then run:
>>
>> # /etc/netstart
>>
>> You *should* get your info from the router (modem)
>> and should be up and
>> surfing.
>>
>> If that doesn't work, provide more info on your
>> setup, including the
>> output of 'ipconfig' on the windows machine.
>>
>> Steve
>>
>>
>> >
>> > The log reads:
>> >
>> > Jun 25 20:00:26 brycepc ppp[801]: tun1: Phase:
>> bundle:
>> > Establish
>> > Jun 25 20:00:26 brycepc ppp[801]: tun1: Phase:
>> > deflink: closed -> opening
>> > Jun 25 20:00:26 brycepc ppp[801]: tun1: Debug:
>> List of
>> > netgraph node ``sis0:'' (id 1) hooks:
>> > Jun 25 20:00:26 brycepc ppp[801]: tun1: Debug:
>> Found
>> > orphans -> ethernet
>> > Jun 25 20:00:26 brycepc ppp[801]: tun1: Debug:
>> > Connecting netgraph socket .:tun1 -> [3]::tun1
>> > Jun 25 20:00:26 brycepc ppp[801]: tun1: Debug:
>> Sending
>> > PPPOE_CONNECT to .:tun1
>> > Jun 25 20:00:26 brycepc ppp[801]: tun1: Debug:
>> Found
>> > the following interfaces:
>> > Jun 25 20:00:26 brycepc ppp[801]: tun1: Debug:
>> Index
>> > 1, name "sis0"
>> > Jun 25 20:00:26 brycepc ppp[801]: tun1: Debug:
>> Index
>> > 2, name "lp0"
>> > Jun 25 20:00:26 brycepc ppp[801]: tun1: Debug:
>> Index
>> > 3, name "lo0"
>> > Jun 25 20:00:26 brycepc ppp[801]: tun1: Debug:
>> Index
>> > 4, name "tun0"
>> > Jun 25 20:00:26 brycepc ppp[801]: tun1: Debug:
>> Index
>> > 5, name "tun1"
>> > Jun 25 20:00:26 brycepc ppp[801]: tun1: Phase:
>> > deflink: Connected!
>> > Jun 25 20:00:26 brycepc ppp[801]: tun1: Phase:
>> > deflink: opening -> dial
>> > Jun 25 20:00:26 brycepc ppp[801]: tun1: Chat:
>> deflink:
>> > Dial attempt 1 of 1
>> > Jun 25 20:00:26 brycepc ppp[801]: tun1: Phase:
>> > deflink: dial -> carrier
>> > Jun 25 20:00:26 brycepc ppp[801]: tun1: Debug:
>> Waiting
>> > for carrier
>> > Jun 25 20:00:30 brycepc last message repeated 4
>> times
>> > Jun 25 20:00:31 brycepc ppp[801]: tun1: Phase:
>> > deflink: Disconnected!
>> > Jun 25 20:00:31 brycepc ppp[801]: tun1: Phase:
>> > deflink: carrier -> hangup
>> > Jun 25 20:00:31 brycepc ppp[801]: tun1: Debug:
>> > deflink: Close
>> > Jun 25 20:00:31 brycepc ppp[801]: tun1: Phase:
>> > deflink: Connect time: 5 secs: 0 octets in, 0
>> octets
>> > out
>> > Jun 25 20:00:31 brycepc ppp[801]: tun1: Phase:
>> > deflink: 0 packets in, 0 packets out
>> >
>> > Any help is greatly appreciated I really would
>> like to
>> > end my reliance on M$ and get going with BSD :)
>> >
>> > Bryce
>> >
>> >
>> >
>> > __
>> > Do you Yahoo!?
>> > New and Improved Yahoo! Mail - Send 10MB messages!
>> > http://promotions.yahoo.com/new_mail
>> > ___
>> > [EMAIL PROTECTED] mailing list
>> >
>>
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> > To unsubscribe, send any mail to
>> > "[EMAIL PROTECTED]"
>> >
>>
>>
>>
>
>
>
>
> __
> Do you Yahoo!?
> New and Improved Yahoo! Mail - Send 10MB messages!
> http://promotions.yahoo.com/new_mail
>


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


failing to boot from mfsroot.gz

2004-06-30 Thread Richard P. Williamson
Hello all,

I have a 4.8 system that booted from flash using a kernel.gz and mfsroot.gz.
The ethernet parts were not fully supported by the fxp driver in 4.8,
so I was testing 4.10 to see if they were with that version of the OS.

I've replace the kernel.gz with a 4.10 version, and the mfsroot.gz
is built using 4.10 objects.  If I try to boot it, this is what I 
get:

...
md0: Preloaded mfs_root "/mfsroot> 50331648 bytes at 0xc02b2794
md1: malloc disk
...
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 in isa0
sio0: type 16550A, console
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0:  at port 0x3b0-0x3bb iomem 0xb-0xb7 on isa0
ad0: 30MB  [490/4/32] at ata0-master PI01
Mounting root from ufs:/dev/md0c

And then nothing.  Nada.  Zip.

No kernel panic message, no prompt, nothing.

Which leaves me in a bit of a pickle as to what to try.

If I use a 4.10 kernel with a 4.8 mfsroot.gz, it boots,
but tells me that proc is out of sync with the kernel.

Help?!

TIA

rip

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


kern.ipc.nmbclusters

2004-06-30 Thread Steve Bertrand
I have a machine that is rebooting with the following error:

"All mbuf clusters exhausted, please see tuning(7)."

Which through google and man tuning I was able to figure out that indeed,
mbufs were exhausted. So I tried to set kern.ipc.nmbclusters=4096 (which
should cover the load of the server), but found out after it is not a
run-time tunable parameter.

I searched google, and gathered that I should put this setting in
/boot/loader.conf.

This is contradictory of me usually putting kernel tweaks in
/etc/sysctl.conf.

>From your experience, where is the best place to load this variable from,
why is it a better location, and what will happen if I don't load it from
the proper place?

Tks.

Steve



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


Re: Squid, FreeBSD, Multilink PPP

2004-06-30 Thread Mark

Do you have a cache dns server running on your system, if not
start one add it to the resolve.conf pluse the upstream dns servers
then ## out the enable dns in the ppp.conf (you'll lose the ref to yours
in the resolv.conf each time you  reconnect if you don't).

SOunds to me squid is looking for a dns server that is not there, and waits for a time 
out.


On Wed, Jun 30, 2004 at 01:39:23PM +0100, Brian Somers wrote:
> On Wed, 30 Jun 2004 12:43:14 +0300, Gregory Edigarov <[EMAIL PROTECTED]> wrote:
> > Hello,
> > 
> > I have Squid-2.5 running on FreeBSD 5-Current. We have 2 ppp links,
> > and use them in multilink mode, through userlevel ppp.
> > If one or both links fail and then come up, say, if I just turn the
> > modem power off and on all the  web browsing becomes very slow
> > squid.
> > It takes forever for squid to show a page which, in a normal
> > conditions, would take only a few seconds. Pings to those sites I am
> > trying to open are just fine.
> > Taking squid down and then up have no effect. The only thing help is
> > rebooting
> > the whole system.
> > 
> > Is there anything I can do?
> 
> How does ppp deal with the link loss - does it notice immediately ?  I
> would expect very little latency if it does as it should be able to just
> trash the existing queued data and continue using the other link.
> 
> I guess other connections suffer the same problems -- it's not just squid ?
> 
> It might be interesting doing a ``show mp'' or ``show bundle'' to determine
> what sort of packet queuing and reassembly is happening after the link is
> lost.
> 
> If the queues are large, you might get slightly better performance by
> reducing the links mtu (set mtu max), but really, things should recover
> ok even with a ~1500 MTU.
> 
> -- 
> Brian <[EMAIL PROTECTED]><[EMAIL PROTECTED]>
>      <[EMAIL PROTECTED]>
> Don't _EVER_ lose your sense of humour !
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 
--
**
The information contained in this communication is confidential, private,
proprietary, or otherwise privileged and is intended only for the use of the
addressee.  Unauthorized use, disclosure, distribution or copying is strictly
prohibited and may be unlawful.  If you have received this communication in
error, please notify the sender immediately.
**
==

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


Re: kern.ipc.nmbclusters

2004-06-30 Thread Bill Moran
"Steve Bertrand" <[EMAIL PROTECTED]> wrote:

> I have a machine that is rebooting with the following error:
> 
> "All mbuf clusters exhausted, please see tuning(7)."
> 
> Which through google and man tuning I was able to figure out that indeed,
> mbufs were exhausted. So I tried to set kern.ipc.nmbclusters=4096 (which
> should cover the load of the server), but found out after it is not a
> run-time tunable parameter.
> 
> I searched google, and gathered that I should put this setting in
> /boot/loader.conf.
> 
> This is contradictory of me usually putting kernel tweaks in
> /etc/sysctl.conf.
> 
> >From your experience, where is the best place to load this variable from,
> why is it a better location, and what will happen if I don't load it from
> the proper place?

You have to put it in loader.conf because that value is set _very_ early
in the boot process (before sysctl.conf is used) and can not be changed
later.

You can also put this value in your kernel config and recompile your kernel.

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


Re: kern.ipc.nmbclusters

2004-06-30 Thread Steve Bertrand

>> >From your experience, where is the best place to load this variable
>> from,
>> why is it a better location, and what will happen if I don't load it
>> from
>> the proper place?
>
> You have to put it in loader.conf because that value is set _very_ early
> in the boot process (before sysctl.conf is used) and can not be changed
> later.
>
> You can also put this value in your kernel config and recompile your
> kernel.

Thanks Bill. It is not completely clear which syntax would be right for
the file...this:

kern.ipc.nmbclusters=4096

or this:

kern.ipc.nmbclusters="4096"

I certainly don't need an unbootable box with 1500 mail accounts on it :o)

Tks,

Steve

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


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


Re: WinKey doesn't work in X.org?

2004-06-30 Thread Geert Hendrickx
On Tue, Jun 29, 2004 at 08:27:40PM -0400, [EMAIL PROTECTED] wrote:
> On Wed, 30 Jun 2004 01:05:22 +0200
> Geert Hendrickx <[EMAIL PROTECTED]> wrote:
> 
> > One difference I noticed, after switching to X.org, is that my WinKey
> > doesn't work anymore.  I used it a lot for custom keybindings in IceWM.  
> > 
> > Any clue, anyone?  
> 
> by your question, it sounds as though you didn't set your custom key
> bindings in XFree directly, rather you did it via IceWM.  
> 
> this is just a guess, but you might want to reinstall Ice so that it
> compiles with the X.org libraries.(anyone ?)

I just recompiled IceWM (with X.org installed), but it still doesn't
work.  Maybe I should recompile other dependencies "between" IceWM and X
too, because XFree86-libraries still shows up when I do a make clean in
x11-wm/icewm: 

lori:/root # cd /usr/ports/x11-wm/icewm/
lori:icewm # make clean
===>  Cleaning for esound-0.2.34
===>  Cleaning for libaudiofile-0.2.6
===>  Cleaning for libiconv-1.9.1_3
===>  Cleaning for autoconf-2.57_1
===>  Cleaning for gettext-0.13.1_1
===>  Cleaning for glib-1.2.10_11
===>  Cleaning for gmake-3.80_2
===>  Cleaning for imake-4.3.0_2
===>  Cleaning for libgnugetopt-1.2
===>  Cleaning for libtool-1.3.5_2
===>  Cleaning for libtool-1.5.6
===>  Cleaning for m4-1.4_1
===>  Cleaning for p5-gettext-1.01_4
===>  Cleaning for pkgconfig-0.15.0_1
===>  Cleaning for imlib-1.9.14_2
===>  Cleaning for jpeg-6b_3
===>  Cleaning for libungif-4.1.3
===>  Cleaning for png-1.2.5_5
===>  Cleaning for tiff-3.6.1_1
===>  Cleaning for help2man-1.33.1
===>  Cleaning for freetype2-2.1.7_3
===>  Cleaning for expat-1.95.7
===>  Cleaning for fontconfig-2.2.2,1
===>  Cleaning for libXft-2.1.6
===>  Cleaning for gtk-1.2.10_12
===>  Cleaning for XFree86-libraries-4.3.0_7
===>  Cleaning for icewm-1.2.14
lori:icewm # 

Any clue which one(s)?  

Thanks for the suggestion anyway.  

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


5.2.1-rel install CD hangs Tecra 9100

2004-06-30 Thread xpi
-or-
Idiot user can't find the any key.


I have a Toshiba Tecra 9100 laptop 1700mhz/256m, I'd like 5.2.1-rel on it. 
Think I'm falling off the directions about disabling laptop pcibios ..but I'm out of 
FAQ's 

Boot(8) sucessfully loads a kernel and displays the  boot menu, and no matter 
how I tell the kernel to boot ( no APCI ) we hang after this... Sorry no serial cable 
dmesg =) Tell me if we need to type _the whole thing_.


agp0:  mem 0xe-0xefff at device 0.0 on pci0

and then nothing, no disk access, no kbd interaction only zuul. 

The faq  has a note about disabling pcibios by getting '-c' to the kernel via 
the boot> prompt. I can't seem to get at that prompt in any way. The suggested 
technique is to hit the any key at the boottrap spinner cursor; but those keystrokes 
are buffered until the loader's menu comes up. (Idiot user can't find the any key, tee 
hee)  Issuing boot -c to the loader prompt gets me to the same nowhere.

 Help. I'm ignorant of the magick of boot(8) and it's gang.  I don't belive 
that this machine has a text bios meny to tweak hw compatibility settings. 
Hmm.. I should give darwin a shot that this HW .
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Soundcard woes (help!)

2004-06-30 Thread Simon Barner
ORACLE . wrote:
> hey 
> i am usinf freebsd 5.0 and i added the line pcm to my
> kernel and sound card is working but same problem only
> one speaker(i have two speakers) is working and the
> there is too much noise when i play any mp3 can you
> tell me how can i fix that and i dont know about BIOS
> that much ..

Is your cabeling ok? Does it work on Linux or Windows.

You should also consider upgrading to 5.2.1, since a lot of stuff was
fixed (also sound stuff, IIRC).

Please keep the questions mailing list Cc'ed so other people can help
you, too. I'm quite short on time right now.

Simon


signature.asc
Description: Digital signature


Apache2 mod_auth_ldap (FreeBSD-specific problem?)

2004-06-30 Thread Todd Piket
I am seeing this same problem.  Have you heard about a solution yet?
Any information would be appreciated.
--
Regards,
 
| Todd Piket| Email: [EMAIL PROTECTED]|
| Programmer/Analyst| Phone: (906) 487-1720  |
| Distributed Computing Services||
| Michigan Technological University ||
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 5.2.1-rel install CD hangs Tecra 9100

2004-06-30 Thread Vince Hoffman


On Wed, 30 Jun 2004, xpi wrote:

>   -or-
> Idiot user can't find the any key.
>
>
>   I have a Toshiba Tecra 9100 laptop 1700mhz/256m, I'd like 5.2.1-rel on it. 
> Think I'm falling off the directions about disabling laptop pcibios ..but I'm out of 
> FAQ's
>
>   Boot(8) sucessfully loads a kernel and displays the  boot menu, and no matter 
> how I tell the kernel to boot ( no APCI ) we hang after this... Sorry no serial 
> cable dmesg =) Tell me if we need to type _the whole thing_.
>
>
> agp0:  mem 0xe-0xefff at device 0.0 on 
> pci0
>
> and then nothing, no disk access, no kbd interaction only zuul.
>
>   The faq  has a note about disabling pcibios by getting '-c' to the kernel via 
> the boot> prompt. I can't seem to get at that prompt in any way. The suggested 
> technique is to hit the any key at the boottrap spinner cursor; but those keystrokes 
> are buffered until the loader's menu comes up. (Idiot user can't find the any key, 
> tee hee)  Issuing boot -c to the loader prompt gets me to the same nowhere.
>
>Help. I'm ignorant of the magick of boot(8) and it's gang.  I don't belive 
> that this machine has a text bios meny to tweak hw compatibility settings.

erk your mailer doesnt wrap at a sensible length (hint hint)
to get to the bios on all the tosiba tecra laptops i've come across,
(8000,8100,8200) you hold the esc key as soon as you turn it on, wait for
it to say there is an error, then press F1 to check the bios settings.

havent played with the 9000 series much though, so not sure what, if any,
useful options the bios will have.

Vince

>   Hmm.. I should give darwin a shot that this HW .
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: failing to boot from mfsroot.gz

2004-06-30 Thread epilogue
On Wed, 30 Jun 2004 14:11:07 +0100
"Richard P. Williamson" <[EMAIL PROTECTED]> wrote:

> Hello all,
> 
> I have a 4.8 system that booted from flash using a kernel.gz and
> mfsroot.gz. The ethernet parts were not fully supported by the fxp driver
> in 4.8, so I was testing 4.10 to see if they were with that version of
> the OS.
> 
> I've replace the kernel.gz with a 4.10 version, and the mfsroot.gz
> is built using 4.10 objects.  If I try to boot it, this is what I 
> get:
> 
> ...
> md0: Preloaded mfs_root "/mfsroot> 50331648 bytes at 0xc02b2794
> md1: malloc disk
> ...
> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 in isa0
> sio0: type 16550A, console
> sio1 at port 0x2f8-0x2ff irq 3 on isa0
> sio1: type 16550A
> vga0:  at port 0x3b0-0x3bb iomem 0xb-0xb7 on
> isa0 ad0: 30MB  [490/4/32] at ata0-master PI01
> Mounting root from ufs:/dev/md0c
> 
> And then nothing.  Nada.  Zip.
> 
> No kernel panic message, no prompt, nothing.
> 
> Which leaves me in a bit of a pickle as to what to try.
> 
> If I use a 4.10 kernel with a 4.8 mfsroot.gz, it boots,
> but tells me that proc is out of sync with the kernel.

If i get you correctly, you're trying to run a 4.10 kernel on a 4.8
system.  (?)  if so, you're really on your own here and destined to bang
your head against the wall trying to get this to work.  rather unlike
linux, the FBSD system is an integrated whole, not mix and match.

if you want to take advantage of features available under 4.10, you will
need to upgrade your system.  the process is rather straightforward and
there is significant documentation covering the necessary steps (handbook
and google are good sources here -- though do _avoid_ the advice given at
bsdnews.org)

if i've misunderstand your intention, apologies.


cheers,
epi

 
> Help?!
> 
> TIA
> 
> rip
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: WinKey doesn't work in X.org?

2004-06-30 Thread epilogue
On Wed, 30 Jun 2004 12:59:29 +0200
Geert Hendrickx <[EMAIL PROTECTED]> wrote:

> On Tue, Jun 29, 2004 at 08:27:40PM -0400, [EMAIL PROTECTED] wrote:
> > On Wed, 30 Jun 2004 01:05:22 +0200
> > Geert Hendrickx <[EMAIL PROTECTED]> wrote:
> > 
> > > One difference I noticed, after switching to X.org, is that my WinKey
> > > doesn't work anymore.  I used it a lot for custom keybindings in
> > > IceWM.  
> > > 
> > > Any clue, anyone?  
> > 
> > by your question, it sounds as though you didn't set your custom key
> > bindings in XFree directly, rather you did it via IceWM.  
> > 
> > this is just a guess, but you might want to reinstall Ice so that it
> > compiles with the X.org libraries.(anyone ?)
> 
> I just recompiled IceWM (with X.org installed), but it still doesn't
> work.  Maybe I should recompile other dependencies "between" IceWM and X
> too, because XFree86-libraries still shows up when I do a make clean in
> x11-wm/icewm: 
> 
>   lori:/root # cd /usr/ports/x11-wm/icewm/
>   lori:icewm # make clean
>   ===>  Cleaning for esound-0.2.34
>   ===>  Cleaning for libaudiofile-0.2.6
>   ===>  Cleaning for libiconv-1.9.1_3
>   ===>  Cleaning for autoconf-2.57_1
>   ===>  Cleaning for gettext-0.13.1_1
>   ===>  Cleaning for glib-1.2.10_11
>   ===>  Cleaning for gmake-3.80_2
>   ===>  Cleaning for imake-4.3.0_2
>   ===>  Cleaning for libgnugetopt-1.2
>   ===>  Cleaning for libtool-1.3.5_2
>   ===>  Cleaning for libtool-1.5.6
>   ===>  Cleaning for m4-1.4_1
>   ===>  Cleaning for p5-gettext-1.01_4
>   ===>  Cleaning for pkgconfig-0.15.0_1
>   ===>  Cleaning for imlib-1.9.14_2
>   ===>  Cleaning for jpeg-6b_3
>   ===>  Cleaning for libungif-4.1.3
>   ===>  Cleaning for png-1.2.5_5
>   ===>  Cleaning for tiff-3.6.1_1
>   ===>  Cleaning for help2man-1.33.1
>   ===>  Cleaning for freetype2-2.1.7_3
>   ===>  Cleaning for expat-1.95.7
>   ===>  Cleaning for fontconfig-2.2.2,1
>   ===>  Cleaning for libXft-2.1.6
>   ===>  Cleaning for gtk-1.2.10_12
>   ===>  Cleaning for XFree86-libraries-4.3.0_7
>   ===>  Cleaning for icewm-1.2.14
>   lori:icewm # 
> 
> Any clue which one(s)?  

having not yet tinkered with x.org, i'm am not going to be able to provide
any concrete assistance.  hopefully, someone on the list will help (this
means 'you', list.  :).


> Thanks for the suggestion anyway.  
> 
> GH
> 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


How do I calculate the size and utilization of my VM from sysctl?

2004-06-30 Thread Danny Howard
Phil Schulz wrote:
Danny Howard wrote:
What's the easiest command to read to get good information on memory 
usage?  I played with "/sbin/sysctl -n hw.physmem hw.usermem 
vm.kvm_size vm.kvm_free" yesterday but I have the feeling that these 
are not the numbers I think they are, because they add up wrong.

There's some pretty good stuff at the top of top, but I'd be happier 
with output in raw numbers of bytes, to feed to my graphing program.  
This would also save the trouble of reinterpreting M into * 1024^2.

[...]
Are you looking for vmstat(8)?
Actually, I'm looking for:
"How do I calculate the size and utilization of my VM from sysctl?"
vm.kvm_size is not consistent with the size of swap output by top.  But 
then, I'm not sure what "kvm" is supposed to be anyway.  I've looked at 
vm.stats.vm.v_page_size * vm.stats.vm.v_page_count but that aint right 
either ... ?

Thanks,
-danny
--
Danny Howard[EMAIL PROTECTED]
Technical Support Manager  (312)829- x235
Server Central Network   http://www.servercentral.net
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Perl Syntax

2004-06-30 Thread Drew Tomlinson
I'm using perl 5.8.4 on a 4.9 machine.  I want to add code a perl script 
to check for value passed from command line.  If it is null, I want to 
exit with an error message.

First I tried this and got "Use of uninitialized value in string eq at 
./test.pl line 20."

if ($ARGV[0] eq "") {
 print "You must include the file name.";
 exit 1;
}
Next I tried this but get "Use of uninitialized value in length at 
./test.pl line 20."

if (length ($ARGV[0]) = "0") {  
 print "You must include the file name.";
 exit 1;
}

I've searched the web and all examples that I've found indicate that I'm 
doing things correctly but obviously I'm not.  What am I doing wrong?

Thanks,
Drew
--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books, & More!
http://www.alchemistswarehouse.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Perl Syntax

2004-06-30 Thread Steve Bertrand
> I'm using perl 5.8.4 on a 4.9 machine.  I want to add code a perl script
> to check for value passed from command line.  If it is null, I want to
> exit with an error message.
>
> First I tried this and got "Use of uninitialized value in string eq at
> ./test.pl line 20."
>
> if ($ARGV[0] eq "") {
>   print "You must include the file name.";
>   exit 1;
> }
>
> Next I tried this but get "Use of uninitialized value in length at
> ./test.pl line 20."
>
> if (length ($ARGV[0]) = "0") {
>   print "You must include the file name.";
>   exit 1;
> }
>
> I've searched the web and all examples that I've found indicate that I'm
> doing things correctly but obviously I'm not.  What am I doing wrong?
>

I know this works:

if ($ARGV[0] eq '') {
print "Debug Mode\n";
}

Cheers,

Steve

> Thanks,
>
> Drew
>
> --
> Visit The Alchemist's Warehouse
> Magic Tricks, DVDs, Videos, Books, & More!
>
> http://www.alchemistswarehouse.com
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
>


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


Re: Snapshot question

2004-06-30 Thread Cordula's Web
[Does a snapshot change between backup and verify?]

http://docs.freebsd.org/cgi/mid.cgi?20040629135105.GB27491

Kevin A. Pieckiel wrote:
> cd /
> mksnap_ffs /var /var/.snap/backup.snap
> mdconfig -a -t vnode -f /var/.snap/backup.snap -u 6
> mount -r /dev/md6 /mnt/backup/root.var
> tar -cvf ${BACKUP_DEVICE} --totals --preserve \
> --blocking-factor ${BACKUP_BLOCKSIZE} --block-number --multi-volume \
> --new-volume-script ${PROGROOT}/next.sh \
> --newer-mtime "${TIMESTAMP}" ${BACKUP_FLAGS} \
> ${BACKUP_PATHS} >> ${LOGFILE} 2>&1
> tar --compare -f ${BACKUP_DEVICE} --blocking-factor ${BACKUP_BLOCKSIZE} \
> --multi-volume --new-volume-script ${PROGROOT}/next.sh >> ${COMPAREFILE} 2>&1
> umount /mnt/backup/root.var
> mdconfig -d -u 6
> rm -f /var/.snap/backup.snap
> 
> Here, BACKUP_PATHS is set as follows:
> 
> BACKUP_PATHS="/mnt/backup"

Strange. I can't reproduce this bug. All snapshots I'm taking on
a very active FS are still 100% stable. Since you're mounting the
snapshot read-only, nothing _should_ change. Anyone else experiencing
this behaviour?

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/

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


Re: Perl Syntax

2004-06-30 Thread Drew Tomlinson
On 6/30/2004 10:04 AM Steve Bertrand wrote:
I'm using perl 5.8.4 on a 4.9 machine.  I want to add code a perl script
to check for value passed from command line.  If it is null, I want to
exit with an error message.
First I tried this and got "Use of uninitialized value in string eq at
./test.pl line 20."
if ($ARGV[0] eq "") {
 print "You must include the file name.";
 exit 1;
}
Next I tried this but get "Use of uninitialized value in length at
./test.pl line 20."
if (length ($ARGV[0]) = "0") {
 print "You must include the file name.";
 exit 1;
}
I've searched the web and all examples that I've found indicate that I'm
doing things correctly but obviously I'm not.  What am I doing wrong?
   

I know this works:
if ($ARGV[0] eq '') {
   print "Debug Mode\n";
}
Cheers,
Steve
Thanks for your reply.  I tried your suggestion and it seems to work but 
I get this output:

Use of uninitialized value in string eq at ./test.pl line 16.
You must include the file name.
I have "use warnings;" and "use strict;" in the script.  I assume the 
error comes from the "use warnings;" but why does perl see "eq" as a 
string and not an operator?  Or am I misinterpreting the message?

Thanks,
Drew
--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books, & More!
http://www.alchemistswarehouse.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Using syslog(3) after chroot-ing

2004-06-30 Thread Charles Swiger
On Jun 29, 2004, at 6:22 PM, Mikhail Teterin wrote:
Is there a similar trick to make it use the local timezone instead of
UTC? I'm surprised, the time is interpreted by the sender (rather than
by the syslogd-recipient), but it is -- and I want it to be local,
without copying /etc/localtime into the chroot tree.
What happens if you set TZ in the environment which syslogd is started 
up from?

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


Re: Perl Syntax

2004-06-30 Thread Matthew Seaman
On Wed, Jun 30, 2004 at 10:17:45AM -0700, Drew Tomlinson wrote:
> On 6/30/2004 10:04 AM Steve Bertrand wrote:

> >I know this works:
> >
> >if ($ARGV[0] eq '') {
> >   print "Debug Mode\n";
> >}

> Thanks for your reply.  I tried your suggestion and it seems to work but 
> I get this output:
> 
> Use of uninitialized value in string eq at ./test.pl line 16.
> You must include the file name.

Unless you supply at least one argument to the script, $ARGV[0] won't
exist.  There's a difference in perl between 'not defined' and an
empty string (or zero for numerical values). Try:

if ( @ARGV < 1 ) {
usage();
exit 1;
}

or

unless ( defined $ARGV[0] ) {
usage();
exit 1;
}



-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpssHs1DxyBx.pgp
Description: PGP signature


Re: OT: Cable management

2004-06-30 Thread Skylar Thompson
On Sat, Jun 26, 2004 at 01:38:55PM -0700, Kevin Stevens wrote:
> 
> If you're new to cable management, remember to tag both ends of the 
> cables BEFORE running them through any conduit.  Once they get bundled 
> together in any way, that's all you have to go by.

If you do get into a situation where you don't know which cable is which,
you can always tone them. It's a PITA and works best wiht two people, but
it works. It's not a bad idea to have a toner on hand, because even labeled
cables can run into trouble. The ink might rub off, or you might
accidentally cut off some excess slack without relableling.

-- 
-- Skylar Thompson ([EMAIL PROTECTED])
-- http://www.cs.earlham.edu/~skylar/


pgprbJ7ofyz0d.pgp
Description: PGP signature


Re: Forgot to add...

2004-06-30 Thread Skylar Thompson
On Sun, Jun 27, 2004 at 01:40:48PM -0400, Chuck Swiger wrote:
> 3BSD wrote:
> >One thing I forgot to add to be previous e-mail about hardware
> >compatibility was that I'm using the DVI port of my graphics card,
> >connected to an LCD display, will that pose any problems?
> 
> Generally not.  To the extent that your configuration of video card and 
> monitor can be treated as a generic (s)VGA display, FreeBSD will be 
> plug-and-play for text mode (booting, console), and will also work 
> genericly under X11.
> 
> Getting 3D hardware support going for fast OpenGL stuff, and/or doing a 
> multimonitor display mode are more complicated questions, but generally one 
> can get such things working after more tweaking and time spent on your part.

In the previous message, he mentioned using an nVidia geForce4. I've had
good experiences with a geForce2 in my FreeBSD 5-RELEASE box. nVidia has a
driver you can download from their website for FreeBSD, and I haven't had
any problems with it.

-- 
-- Skylar Thompson ([EMAIL PROTECTED])
-- http://www.cs.earlham.edu/~skylar/


pgpCv1xc8j0gK.pgp
Description: PGP signature


Re: Perl Syntax

2004-06-30 Thread Josh Paetzel
> >>I'm using perl 5.8.4 on a 4.9 machine.  I want to add code a perl script
> >>to check for value passed from command line.  If it is null, I want to
> >>exit with an error message.
> >>
> >>First I tried this and got "Use of uninitialized value in string eq at
> >>./test.pl line 20."
> >>
> >>if ($ARGV[0] eq "") {
> >> print "You must include the file name.";
> >> exit 1;
> >>}
> >>
> >>Next I tried this but get "Use of uninitialized value in length at
> >>./test.pl line 20."
> >>
> >>if (length ($ARGV[0]) = "0") {
> >> print "You must include the file name.";
> >> exit 1;
> >>}
> >>
> >>I've searched the web and all examples that I've found indicate that I'm
> >>doing things correctly but obviously I'm not.  What am I doing wrong?
> >>
> >>   
> >>
> >
> >I know this works:
> >
> >if ($ARGV[0] eq '') {
> >   print "Debug Mode\n";
> >}
> >
> >Cheers,
> >
> >Steve
> >
> Thanks for your reply.  I tried your suggestion and it seems to work but 
> I get this output:
> 
> Use of uninitialized value in string eq at ./test.pl line 16.
> You must include the file name.
> 
> I have "use warnings;" and "use strict;" in the script.  I assume the 
> error comes from the "use warnings;" but why does perl see "eq" as a 
> string and not an operator?  Or am I misinterpreting the message?
> 
> Thanks,
> 
> Drew
> 

#!/usr/bin/perl -w

if (!ARGV[0]) {
print "no arguements\n";
}

else {
print "found an arguement\n";
}

Josh Paetzel

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


Re: Perl Syntax -- SOLVED

2004-06-30 Thread Drew Tomlinson
On 6/30/2004 10:34 AM Matthew Seaman wrote:
On Wed, Jun 30, 2004 at 10:17:45AM -0700, Drew Tomlinson wrote:
 

On 6/30/2004 10:04 AM Steve Bertrand wrote:
   

 

I know this works:
if ($ARGV[0] eq '') {
 print "Debug Mode\n";
}
 

 

Thanks for your reply.  I tried your suggestion and it seems to work but 
I get this output:

Use of uninitialized value in string eq at ./test.pl line 16.
You must include the file name.
   

Unless you supply at least one argument to the script, $ARGV[0] won't
exist.  There's a difference in perl between 'not defined' and an
empty string (or zero for numerical values). Try:
   if ( @ARGV < 1 ) {
   usage();
   exit 1;
   }
or
   unless ( defined $ARGV[0] ) {
   usage();
   exit 1;
   }
 

Thank you very much for the explanation.  Now I understand why I was 
getting the error message.  I didn't quite understand how to use 
"usage();" but replaced it with a print statement.  It works perfectly!

Thanks,
Drew
--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books, & More!
http://www.alchemistswarehouse.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Virus Alert

2004-06-30 Thread iscan
The mail message (file: message.scr) you sent to <[EMAIL PROTECTED]> contains a virus 
(WORM_NETSKY.P).  The message has been deleted, so you may want to resend it without 
the virus payload.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: amavisd-new postfix issue

2004-06-30 Thread dave
Hello,
Alright, i am still having this issue, and now another has cropped up. I
am getting an error: "server dropped connection before sending the initial
smtp greeting."
The only thing i can think of is i changed some setting trying to get
this working. However like before that is the only message i'm getting in my
maillog. If anyone has any suggestions i've posted my configs for postfix
and amavisd at:
http://www.davemehler.com/postfix
Any suggestions welcome.
Thanks.
Dave.

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


Re: REPOST: Performance problems with FTP

2004-06-30 Thread Charles Swiger
On Jun 29, 2004, at 11:08 PM, Bill Moran wrote:
Charles Swiger <[EMAIL PROTECTED]> wrote:
Well, that does tend to rule out a bunch of issues.  Have you tried
changing the MTU of the FreeBSD box down to 1400 or so (or even 512),
just to see whether that does anything?
OK.  I've had a bit of success here ...
By setting the MTU down to ~650, I get the best performance I've seen
with this setup (about 27k/sec ... which isn't too bad)  I set
"SocketOptions maxseg 650" in the proftpd.conf file for now, which 
seems
to help a good bit.
Bingo, found something!  All should be easy from here on out...  :-)
But I'm really confused.  Why does reducing the MTU improve 
performance?
I would have thought it would hurt performance by increasing the # of
packets, thus increasing overhead.
Using a smaller MTU normally does hurt performance, as you have to send 
more packets (as you've said) and because the overhead (ratio of packet 
header size to data size) becomes larger.  However, using an MTU which 
is too big means packets have to be fragmented and reassembled, which 
slows things down a lot, too.

Anyway, it is likely that one of the networks involved in the 
connection has a smaller MTU than normal, which means large data 
packets get fragmented, resulting in delays.  FTP data connections tend 
to show this more than scp does, as the latter seems to vary the packet 
size more: perhaps a result of using compression/encryption within the 
SSH protocol.

I did some captures using Ethereal, and I'm seeing a weird pause (with
the MTU at the default) where the client will send three packets, 
there'll
be a pause, then the ack comes back, then three packets, pause, ack ...
That rings a bell.  Are you using path MTU discovery?  Is some firewall 
in place that might be blocking ICMP_UNREACH_NEEDFRAG messages (ICMP 
type 3, subtype 4)?

You should try doing a traceroute which can do pMTU testing; I'm not 
sure whether the stock FreeBSD traceroute can do this, but a search 
ought to dig up something.

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


Re: amavisd-new postfix issue

2004-06-30 Thread Remko Lodder
dave wrote:
Hello,
Alright, i am still having this issue, and now another has cropped up. I
am getting an error: "server dropped connection before sending the initial
smtp greeting."
The only thing i can think of is i changed some setting trying to get
this working. However like before that is the only message i'm getting in my
maillog. If anyone has any suggestions i've posted my configs for postfix
and amavisd at:
http://www.davemehler.com/postfix
Any suggestions welcome.
Thanks.
Dave.
As far as i can see they look okay (but since it involves a lot of lines 
i might overlooked something)

Again the question: What does the postfix mention when you add smtpd -v 
in the master.cf (The upper smtpd option that is)

Since that gives verbose information it might tell you _what_ is wrong.
Please try that ;-)
Cheers
--
Kind regards,
Remko Lodder   |[EMAIL PROTECTED]
Reporter DSINet|[EMAIL PROTECTED]
Projectleader Mostly-Harmless  |[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: make clean all installed ports

2004-06-30 Thread Joe Altman
On Wed, Jun 30, 2004 at 09:10:15AM +0100, Peter Risdon wrote:
> I'm sure I saw recently on this list that it's possible to:
> 
> #cd /usr/ports
> #make clean somethingorother
> 
> and clean just installed ports. A straight make clean in the root of the 
> ports tree takes rather a long time.
> 
> But I can't seem to find the post anywhere. If this isn't the product of 
> my feverish imagination, I'd be grateful for a reminder.

Matthew Seaman recently posted this:

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


Re: WinKey doesn't work in X.org? (was Re: Guide to x.org update?)

2004-06-30 Thread Vulpes Velox
On Wed, 30 Jun 2004 01:05:22 +0200
Geert Hendrickx <[EMAIL PROTECTED]> wrote:

> One difference I noticed, after switching to X.org, is that my
> WinKey doesn't work anymore.  I used it a lot for custom keybindings
> in IceWM.  
> 
> Any clue, anyone?  

Check and make sure the kb is set correctly in the Xconfig or possible
IceWM bug?


I don't use IceWM, but fluxbox-devel... and mod4 works fine in both
xorg and xfree86


/me has not noticed any differces between them yet other than xorg
refuses to compile on his 4x box
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: amavisd-new postfix issue

2004-06-30 Thread dave
Hello,
Thanks, i did that. The adding of the -v option isn't giving me any
additional information, it's just saying what it said before, smtpd is dying
with exit status 1, and now the error "server did not send an smtp greeting.
I think my next move is to try a complete reinstall. I didn't want to do
this, but i'm not seeing the problem and as i said -v isn't really helping.
Thanks.
Dave.

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


Re: Using syslog(3) after chroot-ing

2004-06-30 Thread Charles Swiger
On Jun 30, 2004, at 3:00 PM, Mikhail Teterin wrote:
=What happens if you set TZ in the environment which syslogd is started
=up from?
That's an idea. Can I just call tzset() (or tzsetwall()?) prior to
chroot-ing?
I suspect that you could indeed.  Again, just to be clear: the 
timestamps are produced by syslogd, not by the program doing the 
logging, so you'd have to change syslogd itself.

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


port upgrades

2004-06-30 Thread Chris
*This message was transferred with a trial version of CommuniGate(tm) Pro*



5.2.1-RELEASE

I've started using 'portupgrade' to update several ports to the latest versions, but 
have an odd problem when it comes to certain ports.

For example:

server# pkg_version -v | grep Spam
bsdpan-Mail-SpamAssassin-2.63   <   needs updating (port has 2.63_2)

server# portupgrade bsdpan-Mail-SpamAssassin
--->  Skipping 'mail/p5-Mail-SpamAssassin' because it is held by user (specify -f to 
force)
server# portupgrade -f bsdpan-Mail-SpamAssassin


So I use the -f flag to force, and get several errors like:

===>   p5-MIME-Base64-3.01 is already installed
  You may wish to ``make deinstall'' and install this port again
  by ``make reinstall'' to upgrade it properly.
  If you really wish to overwrite the old port of converters/p5-MIME-Base64
  without deleting it first, set the variable "FORCE_PKG_REGISTER"
  in your environment or the "make install" command line.
*** Error code 1

Stop in /usr/ports/converters/p5-MIME-Base64.
*** Error code 1

Stop in /usr/ports/security/p5-Digest.
*** Error code 1

Stop in /usr/ports/security/p5-Digest-SHA1.
*** Error code 1

Stop in /usr/ports/security/p5-Digest-HMAC.
*** Error code 1

Stop in /usr/ports/dns/p5-Net-DNS.
*** Error code 1

Stop in /usr/ports/mail/p5-Mail-SpamAssassin.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade64155.0 make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! mail/p5-Mail-SpamAssassin (bsdpan-Mail-SpamAssassin-2.63) (unknown build 
error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed


I can successfully "install Mail::SpamAssassin" using cpan, but it never seems to show 
up as the latest version (always seems to need upgrading when looking at pkg_version).

Are there are two different ways to install (for example) SpamAssassin (and other perl 
related ports)?

I can use cpan OR the pkg_add / portupgrade commands but not both?


Thanks,
Chris
_
Email harvesters eat this: [EMAIL PROTECTED]

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


RE: em0 Intel Gigabit card, rc.conf processing on boot

2004-06-30 Thread Michael Clark
Still having frustrating problems with em0 intel card.
Here is a copy of the dmesg.  I have tried adding sleep statements
to the rc files, with no success.  The card still becomes active
after the rc.conf processing.


Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.2.1-RELEASE-p8 #0: Wed Jun 30 11:25:22 CDT 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Preloaded elf kernel "/boot/kernel/kernel" at 0xc09e3000.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (601.37-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x681  Stepping = 1
 
Features=0x383f9ff
real memory  = 268419072 (255 MB)
avail memory = 251097088 (239 MB)
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0:  on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Using $PIR table, 8 entries at 0xc00f0e70
pcib0:  at pcibus 0 on
motherboard
pci0:  on pcib0
pci_cfgintr: 0:4 INTD BIOS irq 5
pci_cfgintr: 0:9 INTA BIOS irq 5
pci_cfgintr: 0:10 INTA BIOS irq 10
pci_cfgintr: 0:11 INTA BIOS irq 11
agp0:  mem 0xe400-0xe7ff
at d
evice 0.0 on pci0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
pci1:  at device 0.0 (no driver attached)
isab0:  at device 4.0 on pci0
isa0:  on isab0
atapci0:  port 0xb800-0xb80f at device 4.1 on
pci
0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
uhci0:  port 0xb400-0xb41f irq 5 at
dev
ice 4.2 on pci0
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ums0: Logitech Optical USB Mouse, rev 2.00/3.40, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
piix0:  port 0xe800-0xe80f at device 4.3 on pci0
Timecounter "PIIX" frequency 3579545 Hz quality 0
fxp0:  port 0xb000-0xb03f mem
0xe180-0xe181fff
f,0xe200-0xe2000fff irq 5 at device 9.0 on pci0
fxp0: Ethernet address 00:07:e9:1b:a3:34
miibus0:  on fxp0
inphy0:  on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1:  port 0xa800-0xa83f mem
0xe080-0xe081fff
f,0xe100-0xe1000fff irq 10 at device 10.0 on pci0
fxp1: Ethernet address 00:07:e9:1b:a2:c4
miibus1:  on fxp1
inphy1:  on miibus1
inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
em0:  port
0xa400-0xa43f
 mem 0xdf80-0xdf81,0xe000-0xe001 irq 11 at device 11.0 on
pci0
em0:  Speed:N/A  Duplex:N/A
orm0:  at iomem
0xd4000-0xd4fff,0xd-0xd17ff,0xcc000-0xcd7ff,0xc
8000-0xcbfff,0xc-0xc7fff on isa0
pmtimer0 on isa0
atkbdc0:  at port 0x64,0x60 on isa0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
fdc0:  at port
0x3f7,0x3f
0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0:  at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0:  on ppc0
plip0:  on ppbus0
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
unknown:  can't assign resources (memory)
unknown:  can't assign resources (port)
Timecounter "TSC" frequency 601366049 Hz quality 800
Timecounters tick every 10.000 msec
GEOM: create disk ad0 dp=0xc2d82e60
ad0: 38166MB  [77545/16/63] at ata0-master UDMA33
acd0: CDROM <50X CD-ROM> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s1a
em0: Link is up 1000 Mbps Full Duplex
fxp1: promiscuous mode enabled

Michael Clark
Nemschoff Chairs Inc
mclark at nemschoff dot com
CompTIA A+, Network+, Server+, MCP
Voice: (920) 457 7726 x294
Fax:  (920) 453 6594


-Original Message-
From: Tom Parquette [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 29, 2004 12:50 AM
To: Michael Clark
Cc: [EMAIL PROTECTED]
Subject: Re: em0 Intel Gigabit card, rc.conf processing on boot


Michael Clark wrote:
> I have 2 fxp Intel 100mb cards in this machine that work fine.  I have ran
> it with 3 fxp 
> cards in the past.  I added an em0, Intel gigabit this morning.  The card
> displays a 
> non active status during the boot process.  RC.conf is processed and the
> card
> does not get an ip address, while the fxp cards do.  Later in the boot
> process
> in bright white letters it shows the card status has changed to active.  I
> believe my
> problems getting rc.conf to assign the IP address are related to this.
Any
> suggestions
> would be appreciated.
> 
> 5.2-p2 (feb)
> 
> 
> Michael Clark
> Nemschoff Chairs Inc
> mclark at nemschoff dot com
> CompTIA A+, Network+, Server+, MCP
> Voice: (920) 457 7726 x294
> Fax:  (920) 453 65

Re: OT: Cable management

2004-06-30 Thread Bill Campbell
On Wed, Jun 30, 2004, Skylar Thompson wrote:
>On Sat, Jun 26, 2004 at 01:38:55PM -0700, Kevin Stevens wrote:
>> 
>> If you're new to cable management, remember to tag both ends of the 
>> cables BEFORE running them through any conduit.  Once they get bundled 
>> together in any way, that's all you have to go by.
>
>If you do get into a situation where you don't know which cable is which,
>you can always tone them. It's a PITA and works best wiht two people, but
>it works. It's not a bad idea to have a toner on hand, because even labeled
>cables can run into trouble. The ink might rub off, or you might
>accidentally cut off some excess slack without relableling.

A pair of cheap walkie-talkies can also be invaluable for toning out cables
unless you love shouting.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``It's time to feed the hogs''
-- Unintended Consequences
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: kern.ipc.nmbclusters

2004-06-30 Thread Mark Terribile

Steve Bertrand <[EMAIL PROTECTED]> writes:

> I have a machine that is rebooting with the following error:
> 
> "All mbuf clusters exhausted, please see tuning(7)."
> 
> Which through google and man tuning I was able to figure out that indeed,
> mbufs were exhausted. So I tried to set kern.ipc.nmbclusters=4096 (which
> should cover the load of the server), but found out after it is not a
> run-time tunable parameter.

This doesn't answer the question asked, but it may be useful.  A few years
ago (and a few releases ago) I was working on a network box that had to run
under fairly heavy load.  This was a product, and we were not satisfied
with less than 100% CPU, about 6000 network stimuli/second, about 220
transaction/sec on each of five disks, etc.  (On a 1GHz PIII)

I discovered that I couldn't make the mbuf cluster number large enough,
and that the system was prone to panic under sufficiently heavy load.
Sufficiently heavy meant that we had tens of seconds of traffic queued.

The solution was to shorten the TCP listen/accept queues.  I cut them down
to six on each file descriptor, and used kqueue/kevent (then just introduced)
to schedule the work intelligently.  I was able to push the box to near
paralysis with 80% overload (most of it rejected because the input queues
were full) but the box always recovered, and it ran at 10% overload with
only a small latency degradation.

The max accept queue parameter may be worth a look; YMMV.

Mark Terribile




__
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: port upgrades

2004-06-30 Thread Phil Schulz
Chris wrote:
[...]
So I use the -f flag to force, and get several errors like:
[...]
From the portupgrade man page:
-r
--recursiveAct on all those packages depending on the given
   packages as well.
So I think you might want to run
#portupgrade -rf bsdpan-Mail-SpamAssassin
[...]
I can successfully "install Mail::SpamAssassin" using cpan, but it never seems to 
show up as the latest version (always seems to need upgrading when looking at pkg_version).
Are there are two different ways to install (for example) SpamAssassin (and other perl 
related ports)?
I can use cpan OR the pkg_add / portupgrade commands but not both?
Sorry, I don't know.
Phil.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Routing problem in IPv4/IPSec VPN environment

2004-06-30 Thread James P. Howard, II
As a personal favor, I am building a VPN for a small business.  I
have chosen FreeBSD for this due to my greater familiarity.  The
project will consist of linking four sites, each with a FreeBSD
system providing DHCP, NAT, and VPN services.  I have built DHCP and
NAT servers before, but the IPSec and VPN is new to me.

Right now, the first two systems are nearly complete.  The two
machines are named goldengate and waltwhitman.  Here's the IP
config, currently:

  goldengate:  external 192.168.1.101 internal 10.1.1.1
  waltwhitman: external 192.168.1.102 internal 10.1.2.1

The external interfaces are in the reserved space because testing is
taking place behind a cable/DSL router providing NAT services.  The
output of "gifconfig -a; ifconfig -a; netstat -rn" for each will be
provided at the end of this message.

IPSec, with Racoon, is properly exchanging keys.  From goldengate, I
can ping 10.1.2.1 and from waltwhitman I can ping 10.1.1.1.  

If a Windows computer is connected behind either system, they
receive an IP (10.1.x.254, where x is the network number).  

The problem is, if behind the 10.1.2.1 firewall, I cannot ping
10.1.1.1 and vice-versa.  I assume, at this point, this is some type
of routing issue and not a problem with IPSec.  This seems to be
confirmed by the fact tracerouting to the local internal interface
goes through the *other* internal interface first:

waltwhitman$ ifconfig bge1; traceroute 10.1.2.1
bge1: flags=8843 mtu 1500
options=3
inet 10.1.2.1 netmask 0xff00 broadcast 10.1.2.255
inet6 fe80::209:5bff:fe60:e508%bge1 prefixlen 64 scopeid 0x2
ether 00:09:5b:60:e5:08
media: Ethernet autoselect (10baseT/UTP )
status: active
traceroute to 10.1.2.1 (10.1.2.1), 64 hops max, 44 byte packets
 1  10.1.1.1 (10.1.1.1)  0.848 ms  0.736 ms  0.783 ms
 2  10.1.2.1 (10.1.2.1)  1.173 ms  1.262 ms  1.247 ms

The other machine behaves identically, except the numbers are
reversed.  At this point, I have reached the limits of my knowledge.
Any help would be appreciated.

Thank you, James

Notes on the output:  IPv6 info removed from netstat output.  There
is a third interface in WALTWHITMAN which may break off to a DMZ in
the future.  No descision has been made and won't be for some time.
The interface was given the IP 172.16.1.1.

GOLDENGATE:

goldengate$ gifconfig -a; ifconfig -a; netstat -rn
gif0: flags=8051 mtu 1280
inet 10.1.1.1 --> 10.1.2.1 netmask 0x
inet6 fe80::209:5bff:fe62:714e%gif0  prefixlen 64
physical address inet 192.168.1.101 --> 192.168.1.102
bge0: flags=8843 mtu 1500
options=3
inet 10.1.1.1 netmask 0xff00 broadcast 10.1.1.255
inet6 fe80::209:5bff:fe62:714e%bge0 prefixlen 64 scopeid 0x1
ether 00:09:5b:62:71:4e
media: Ethernet autoselect (100baseTX )
status: active
xl0: flags=8843 mtu 1500
options=1
inet6 fe80::2b0:d0ff:fe23:5b8d%xl0 prefixlen 64 scopeid 0x2
inet 192.168.1.101 netmask 0xff00 broadcast
192.168.1.255
ether 00:b0:d0:23:5b:8d
media: Ethernet autoselect (100baseTX )
status: active
lp0: flags=8810 mtu 1500
lo0: flags=8049 mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet 127.0.0.1 netmask 0xff00
faith0: flags=8002 mtu 1500
gif0: flags=8051 mtu 1280
tunnel inet 192.168.1.101 --> 192.168.1.102
inet 10.1.1.1 --> 10.1.2.1 netmask 0x
inet6 fe80::209:5bff:fe62:714e%gif0 prefixlen 64 scopeid 0x6
Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif
Expire
default192.168.1.1UGSc3 6082xl0
10.1.1/24  link#1 UC  20   bge0
10.1.1.1   00:09:5b:62:71:4e  UHLW0  306lo0
10.1.1.254 link#1 UHLW214933   bge0
10.1.2/24  10.1.2.0   UGSc015578xl0
10.1.2.1   10.1.1.1   UH  0 2060   gif0
127.0.0.1  127.0.0.1  UH  1   48lo0
192.168.1  link#2 UC  30xl0
192.168.1.100:0c:41:7f:8a:6e  UHLW42xl0
1042
192.168.1.100  00:30:65:2e:ae:f7  UHLW00xl0
1100
192.168.1.101  127.0.0.1  UGHS00lo0
192.168.1.102  00:b0:d0:a1:81:09  UHLW313842xl0
1054


WALTWHITMAN:

waltwhitman$ gifconfig -a; ifconfig -a; netstat -rn
gif0: flags=8051 mtu 1280
inet 10.1.2.1 --> 10.1.1.1 netmask 0x
inet6 fe80::209:5bff:fe62:1ab2%gif0  prefixlen 64
physical address inet 192.168.1.102 --> 192.168.1.101
bge0: flags=8843 mtu 1500
options=3
inet 172.16.1.1 netmask 0xff00 broadcast 172.16.1.255
inet6 fe80::209:5bff:fe62:1ab2%bge0 prefixlen 64 scopeid 0x1
ether 00:09:5b:62:1a:b2
media: Ethernet autoselec

Re: vi / EAGAIN Problem

2004-06-30 Thread Jonathan Chen
On Wed, Jun 30, 2004 at 07:24:57AM -0400, Gustafson, Tim wrote:
> Hello everyone.
> 
> I finally have the output of a ktrace of the problem where vi returns
> "Error: input: Resource temporarily unavailable" to me.  It can be
> downloaded from the following link.  Any information that can tell me what's
> going on here and maybe what I can do to fix it would be greatly
> appreciated.
> 
> http://www.meitech.com/fbsd/ktrace.out
> 
> Thanks a billion!

Please file a Problem Report with send-pr(1), including *all* the
details. This will make sure that it will be addressed (at some time).
Stuff do get lost on mailing lists.

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
   Do not take life too seriously.
   You will never get out of it alive.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Routing problem in IPv4/IPSec VPN environment

2004-06-30 Thread Micheal Patterson



- Original Message - 
From: "James P. Howard, II" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 29, 2004 2:57 PM
Subject: Routing problem in IPv4/IPSec VPN environment


> As a personal favor, I am building a VPN for a small business.  I
> have chosen FreeBSD for this due to my greater familiarity.  The
> project will consist of linking four sites, each with a FreeBSD
> system providing DHCP, NAT, and VPN services.  I have built DHCP and
> NAT servers before, but the IPSec and VPN is new to me.
>
> Right now, the first two systems are nearly complete.  The two
> machines are named goldengate and waltwhitman.  Here's the IP
> config, currently:
>
>   goldengate:  external 192.168.1.101 internal 10.1.1.1
>   waltwhitman: external 192.168.1.102 internal 10.1.2.1
>
> The external interfaces are in the reserved space because testing is
> taking place behind a cable/DSL router providing NAT services.  The
> output of "gifconfig -a; ifconfig -a; netstat -rn" for each will be
> provided at the end of this message.
>
> IPSec, with Racoon, is properly exchanging keys.  From goldengate, I
> can ping 10.1.2.1 and from waltwhitman I can ping 10.1.1.1.
>
> If a Windows computer is connected behind either system, they
> receive an IP (10.1.x.254, where x is the network number).
>
> The problem is, if behind the 10.1.2.1 firewall, I cannot ping
> 10.1.1.1 and vice-versa.  I assume, at this point, this is some type
> of routing issue and not a problem with IPSec.  This seems to be
> confirmed by the fact tracerouting to the local internal interface
> goes through the *other* internal interface first:



Not to be disrespectful, but did you do what I've done in the past and
forget to enable forwarding so the systems can route traffic?

[EMAIL PROTECTED]/>sysctl -a |grep forward
net.inet.ip.forwarding: 1

If not, make sure that gateway_enable="YES" in rc.conf and reboot, or sysctl
net.inet.ip.forwarding=1 from command line to enable it without a reboot.

--

Micheal Patterson
TSG Network Administration
405-917-0600

Confidentiality Notice:  This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.

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


Mail Server

2004-06-30 Thread Mike Hogsett

I am about to begin the process of building a replacement mail server
for our workgroup using FreeBSD and Sendmail.

In addition to receiving mail from our primary MX and sending mail out
our SMART_HOST, I would like the ability to enable our users to send and
receive email directly from this server while at remote locations.

My initial thought along the above lines is to enable smtps and/or
SSL/TLS for sendmail, and the imap-uw port for imaps/pops.

I have read section 21.10 in the FreeBSD handbook, but this only covers
SMTP Authentication.

I have also found and read
http://www.puresimplicity.net/~hemi/freebsd/sendmail.html and it appears
to cover most of what I need to do.

Additionally I want to integrate SpamAssassin into the mix.  I have
found, read, and implemented the SpamAssassin Milter instructions at
http://networking.ringofsaturn.com/Unix/spamassassin.php This appears to
work well.  Does anyone have any arguments about why I should do it this
way rather than the "invoke spamc via procmail" method we use now?

Lastly, this may seem silly, but how do I generate a certificate signing
request for my imaps/pops/sendmail servers?  I have generated a self
signed certificate and I can accept it and it appears to be working.
When I look at information regarding certificates at either Verisign or
Thawte I have only found information about web server certificates.  Is
there any effective difference between a cert used for Apache and
imaps/pops/sendmail?

If anyone has suggestions, experiences, or pointers to more information
I would greatly appreciate it.

Thanks,

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


How to make permanent in kernel

2004-06-30 Thread Tuc
Hi,

I had a problem with my mouse, and found the answer here :

 http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/x.html#PS2-X

which says :

11.14. Why does my PS/2 mouse misbehave under X?

Your mouse and the mouse driver may have somewhat become out of synchronization.

In rare cases the driver may erroneously report synchronization problem and you
may see the kernel message:

psmintr: out of sync ( != )

and notice that your mouse does not work properly.

If this happens, disable the synchronization check code by setting the driver fl
ags for the PS/2 mouse driver to 0x100. Enter UserConfig by giving the -c option
 at the boot prompt:

boot: -c

Then, in the UserConfig command line, type:

UserConfig> flags psm0 0x100
UserConfig> quit



Which is great. The problem is, I don't want to keep doing this
every time I reboot. This is a FreeBSD 5 system. In 4 I knew how to
do it with "device  psm0at atkbdc? irq 12", but now not sure
how do this in 5. I see something about a hints file, but not sure how
it plays in, if at all.

Thanks, Tuc/TTSG Internet Services, Inc.

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


RE: SASL and Sendmail

2004-06-30 Thread Eric Crist
Your line additions/changes to my config file worked!  I don't know what
the difference was, but I think it was the AUTH_OPTIONS A part.  Who
knows.  My server seems to be working fine now, with LOGIN.  Now to see
if I can get TLS or CRAM-MD5 working.

Thanks to all those that helped me.  I really appreciate it.

Eric F Crist
President
AdTech Integrated Systems, Inc
(612) 998-3588



> -Original Message-
> From: Chris Sechiatano [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 30, 2004 11:20 AM
> To: Eric Crist
> Subject: Re: SASL and Sendmail
>
>
> Here's what I added to my .mc file to get AUTH to finally
> work.  I had to do this to send mail to this list through my
> SBC DSL SMTP server.
>
> sendmail.mc file:
> --
> -
> FEATURE(`authinfo')dnl
> FEATURE(`authinfo',`hash -o /etc/mail/authinfo')
> define(`confAUTH_OPTIONS', `A') define(`confAUTH_MECHANISMS',
> `DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')
> TRUST_AUTH_MECH(`DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')
>
> authinfo file:
> --
> -
> AuthInfo:smtp.domain.com"U:smtp_username"
> "P:smtp_password" "M:PLAIN"
>
> Your mileage may vary...
>
>
>
> On Tue, Jun 29, 2004 at 07:53:54PM -0500, Eric Crist
> <[EMAIL PROTECTED]> wrote:
> > How, more specifically, do I enable TLS/SSL in sendmail, and where
> > does the 'p' go?
> >
> > Thanks for your help.
> >
> > Eric F Crist
> > President
> > AdTech Integrated Systems, Inc
> > (612) 998-3588
> >
> >
> >
>


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


Disk about to fail

2004-06-30 Thread Tuc
Hi,

Looks like my disk is about to fail YET AGAIN on my laptop :

ad0: FAILURE - READ_DMA status=51 error=40 LBA=25937067
ad0: FAILURE - READ_DMA status=51 error=40 LBA=25937067
ad0: FAILURE - READ_DMA status=51 error=40 LBA=25937067
ad0: FAILURE - READ_DMA status=51 error=40 LBA=25937067


The last 2 times however I found it was the /var partition, I
newfs'd it again, it happened again, re-newfs'd it, now its happening again.
How do I find out whats stored at that LBA, and either fix it, or do something
so it doesn't use that block or any bad block anymore?

Thanks, Tuc/TTSG Internet Services, Inc.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Routing problem in IPv4/IPSec VPN environment

2004-06-30 Thread Foster, ThomasX

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ipsec.html


Essentially, once the gif tunnel has been established you just need to
add an additional route for the specific gif interface from each server
to the other's remote subnet using the external IP of the remote subnet
as the gateway.  I also found that "gateway_enable" sysctl option was be
turned on for the packet traversal from behind a natted server.

Hope this helps
 
T

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of James P.
Howard, II
Sent: Tuesday, June 29, 2004 12:57 PM
To: [EMAIL PROTECTED]
Subject: Routing problem in IPv4/IPSec VPN environment

As a personal favor, I am building a VPN for a small business.  I
have chosen FreeBSD for this due to my greater familiarity.  The
project will consist of linking four sites, each with a FreeBSD
system providing DHCP, NAT, and VPN services.  I have built DHCP and
NAT servers before, but the IPSec and VPN is new to me.

Right now, the first two systems are nearly complete.  The two
machines are named goldengate and waltwhitman.  Here's the IP
config, currently:

  goldengate:  external 192.168.1.101 internal 10.1.1.1
  waltwhitman: external 192.168.1.102 internal 10.1.2.1

The external interfaces are in the reserved space because testing is
taking place behind a cable/DSL router providing NAT services.  The
output of "gifconfig -a; ifconfig -a; netstat -rn" for each will be
provided at the end of this message.

IPSec, with Racoon, is properly exchanging keys.  From goldengate, I
can ping 10.1.2.1 and from waltwhitman I can ping 10.1.1.1.  

If a Windows computer is connected behind either system, they
receive an IP (10.1.x.254, where x is the network number).  

The problem is, if behind the 10.1.2.1 firewall, I cannot ping
10.1.1.1 and vice-versa.  I assume, at this point, this is some type
of routing issue and not a problem with IPSec.  This seems to be
confirmed by the fact tracerouting to the local internal interface
goes through the *other* internal interface first:

waltwhitman$ ifconfig bge1; traceroute 10.1.2.1
bge1: flags=8843 mtu 1500
options=3
inet 10.1.2.1 netmask 0xff00 broadcast 10.1.2.255
inet6 fe80::209:5bff:fe60:e508%bge1 prefixlen 64 scopeid 0x2
ether 00:09:5b:60:e5:08
media: Ethernet autoselect (10baseT/UTP )
status: active
traceroute to 10.1.2.1 (10.1.2.1), 64 hops max, 44 byte packets
 1  10.1.1.1 (10.1.1.1)  0.848 ms  0.736 ms  0.783 ms
 2  10.1.2.1 (10.1.2.1)  1.173 ms  1.262 ms  1.247 ms

The other machine behaves identically, except the numbers are
reversed.  At this point, I have reached the limits of my knowledge.
Any help would be appreciated.

Thank you, James

Notes on the output:  IPv6 info removed from netstat output.  There
is a third interface in WALTWHITMAN which may break off to a DMZ in
the future.  No descision has been made and won't be for some time.
The interface was given the IP 172.16.1.1.

GOLDENGATE:

goldengate$ gifconfig -a; ifconfig -a; netstat -rn
gif0: flags=8051 mtu 1280
inet 10.1.1.1 --> 10.1.2.1 netmask 0x
inet6 fe80::209:5bff:fe62:714e%gif0  prefixlen 64
physical address inet 192.168.1.101 --> 192.168.1.102
bge0: flags=8843 mtu 1500
options=3
inet 10.1.1.1 netmask 0xff00 broadcast 10.1.1.255
inet6 fe80::209:5bff:fe62:714e%bge0 prefixlen 64 scopeid 0x1
ether 00:09:5b:62:71:4e
media: Ethernet autoselect (100baseTX )
status: active
xl0: flags=8843 mtu 1500
options=1
inet6 fe80::2b0:d0ff:fe23:5b8d%xl0 prefixlen 64 scopeid 0x2
inet 192.168.1.101 netmask 0xff00 broadcast
192.168.1.255
ether 00:b0:d0:23:5b:8d
media: Ethernet autoselect (100baseTX )
status: active
lp0: flags=8810 mtu 1500
lo0: flags=8049 mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet 127.0.0.1 netmask 0xff00
faith0: flags=8002 mtu 1500
gif0: flags=8051 mtu 1280
tunnel inet 192.168.1.101 --> 192.168.1.102
inet 10.1.1.1 --> 10.1.2.1 netmask 0x
inet6 fe80::209:5bff:fe62:714e%gif0 prefixlen 64 scopeid 0x6
Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif
Expire
default192.168.1.1UGSc3 6082xl0
10.1.1/24  link#1 UC  20   bge0
10.1.1.1   00:09:5b:62:71:4e  UHLW0  306lo0
10.1.1.254 link#1 UHLW214933   bge0
10.1.2/24  10.1.2.0   UGSc015578xl0
10.1.2.1   10.1.1.1   UH  0 2060   gif0
127.0.0.1  127.0.0.1  UH  1   48lo0
192.168.1  link#2 UC  30xl0
192.168.1.100:0c:41:7f:8a:6e  UHLW42xl0
1042
192.168.1.100  00:30:65:2e:ae:f7  UHLW0   

ksu not working as expected

2004-06-30 Thread Kirk Strauser
I've been migrating to Heimdal for authentication of the various services on 
my network.  Other kerberized commands (ssh, imtest, ldapsearch) work in 
the usual way, but I'm having problems getting ksu to play nicely.  First, 
yes, it is setuid on my system.

I currently have a TGT for the "[EMAIL PROTECTED]" principal:

$ klist
Credentials cache: FILE:/tmp/krb5cc_1000
Principal: [EMAIL PROTECTED]

I'm on the host "kanga.honeypot.net" which has a defined principal of 
"host/[EMAIL PROTECTED]" in /etc/krb5.keytab.  My user 
principal is present in .k5login in root's home directory:

# cat ~/.k5login
[EMAIL PROTECTED]
kirk/[EMAIL PROTECTED]

However, when I try to use ksu to become root, I get this error unless I 
enter a password:

$ ksu
root's password:
Sorry!

If I *do* enter root's real password, then I become root exactly as if I'd 
used su instead of ksu.  I'm kind of stuck at this point.  I have 
everything configured correctly from what I can tell, and this should 
certainly be a lot easier than, say, configuring OpenLDAP and SASL.  Any 
thoughts?
-- 
Kirk Strauser


pgpnYhVYlYlnX.pgp
Description: signature


RE: SASL and Sendmail

2004-06-30 Thread Eric Crist
The idea behind this is to prevent the all-too common "Relaying Denied"
message when sending a message from a location outside my network.
While there are a number of solutions to this, from VPN to using the
local SMTP server for where I am, smtp_auth seemed to fit the bill.

It allows me to send mail via my server from where ever I happen to be.
Now to make this an SSL/TLS connection instead.

Thanks again for everyone's help.

Eric F Crist
President
AdTech Integrated Systems, Inc
(612) 998-3588



> -Original Message-
> From: 'Chris Sechiatano' [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 30, 2004 5:16 PM
> To: Eric Crist
> Subject: Re: SASL and Sendmail
>
>
> the authinfo file is for making sendmail into a auth client.
> you put your username and password info in that file to
> authenticate you against a smtp server.  this is only for
> relaying mail through another smtp server.
>
> i'm not sure if you want to sendmail to be an auth client or
> auth server, but those lines are basically what you need in
> your .mc file.
>
>
> On Wed, Jun 30, 2004 at 04:27:58PM -0500, Eric Crist
> <[EMAIL PROTECTED]> wrote:
> > What is the stuff at the end about authinfo?
> >
> > Eric F Crist
> > President
> > AdTech Integrated Systems, Inc
> > (612) 998-3588
> >
> >
> >
> > > -Original Message-
> > > From: Chris Sechiatano [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, June 30, 2004 11:20 AM
> > > To: Eric Crist
> > > Subject: Re: SASL and Sendmail
> > >
> > >
> > > Here's what I added to my .mc file to get AUTH to finally
> work.  I
> > > had to do this to send mail to this list through my SBC DSL SMTP
> > > server.
> > >
> > > sendmail.mc file:
> > > --
> > > -
> > > FEATURE(`authinfo')dnl
> > > FEATURE(`authinfo',`hash -o /etc/mail/authinfo')
> > > define(`confAUTH_OPTIONS', `A') define(`confAUTH_MECHANISMS',
> > > `DIGEST-MD5 CRAM-MD5 LOGIN PLAIN') TRUST_AUTH_MECH(`DIGEST-MD5
> > > CRAM-MD5 LOGIN PLAIN')
> > >
> > > authinfo file:
> > > --
> > > -
> > > AuthInfo:smtp.domain.com"U:smtp_username"
> > > "P:smtp_password" "M:PLAIN"
> > >
> > > Your mileage may vary...
> > >
> > >
> > >
> > > On Tue, Jun 29, 2004 at 07:53:54PM -0500, Eric Crist
> > > <[EMAIL PROTECTED]> wrote:
> > > > How, more specifically, do I enable TLS/SSL in
> sendmail, and where
> > > > does the 'p' go?
> > > >
> > > > Thanks for your help.
> > > >
> > > > Eric F Crist
> > > > President
> > > > AdTech Integrated Systems, Inc
> > > > (612) 998-3588
> > > >
> > > >
> > > >
> > >
> >
>
> --
> Chris Sechiatano
> [EMAIL PROTECTED]
> www.chris-s.com
>
> PGP Key 0x0021EFA0
>


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


mini itx

2004-06-30 Thread arden
im collecting some bits to start a mini itx project
http://www.mini-itx.com/projects.asp
i have the need for a small silent pc 

has anyone used these boards with bds?

also is decss in the ports?

arden 

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


Ports Base

2004-06-30 Thread Lonnie Santella
Wondering if you could copy the ports base of a FreeBSD server to a CD, then 
copy the CD to another FreeBSD server of the same version.

I searched through many docs on CVSUP, but didn't find the answer to this 
question. I simply want to streamline the constant building and rebuilding 
of FreeBSD 4.10 servers. Each time I build one, I have to run the CVSUP to 
update several ports, etc. This really extends the build time of a server.

I figured if I could simply copy the ports tree structure to CD, then copy 
that to the other servers, I'd save some time. I don't have enough hardware 
to keep a constant CVSUP mirror locally, I already looked into that.

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


Re: mini itx

2004-06-30 Thread Aaron
arden wrote:
also is decss in the ports?
Yes.
To find it, and any other port:
http://www.freebsd.org/ports/
and search for decss (or whatever else you'll be looking for)
--
Aaron
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mini itx

2004-06-30 Thread Mike Woods
arden wrote:
im collecting some bits to start a mini itx project
http://www.mini-itx.com/projects.asp
i have the need for a small silent pc 

has anyone used these boards with bds?
 

I've got an m10k sitting next to me with 5.1 on, runs fine :)
If you're looking for silent the hush range is a good but slightly more 
expensive option, ignore the travlar cases as while they are good cases 
the inbuilt psu is cooled by a 60mm fan and it makes a fair noise so 
you'd need to swap it out :)

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


Re: Ports Base

2004-06-30 Thread Mike Hogsett

> Wondering if you could copy the ports base of a FreeBSD server to a CD, then 
> copy the CD to another FreeBSD server of the same version.
> 
> I searched through many docs on CVSUP, but didn't find the answer to this 
> question. I simply want to streamline the constant building and rebuilding 
> of FreeBSD 4.10 servers. Each time I build one, I have to run the CVSUP to 
> update several ports, etc. This really extends the build time of a server.
> 
> I figured if I could simply copy the ports tree structure to CD, then copy 
> that to the other servers, I'd save some time. I don't have enough hardware 
> to keep a constant CVSUP mirror locally, I already looked into that.

I don't see any reason why this would not work.  If the machines are all
running the same version of FreeBSD I don't think there will be any
problem.  

This doesn't seem to me to be any different than building/installing
ports on host A and then mounting /usr/ports on host B from host A via
NFS and doing a make install of the already built ports.

 - Mike


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


Re: Ports Base

2004-06-30 Thread Lonnie Santella
That's a good point, but I don't make a practice of running NFS, and often 
the servers are at different locations - not connected via any network.

So would I be correct in assuming that I would copy the entire contents 
beginning at the /usr/ports level and all subdirectories?

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


Re: USB controller external modem

2004-06-30 Thread Andrew L. Gould
On Monday 28 June 2004 08:56 pm, [EMAIL PROTECTED] wrote:
> Hi:
>
>  Can anyone recommend an USB external modem, that is controller
> based? I have looked at the FreeBSD laptop compatibility list and
> found none. I have also done a considerable amount of googling and
> only found ones that attach through and RS232 cable. My laptop does
> not have that. I am running FreeBSD 5.2 Current and want to use
> umodem.
>
>TIA
>Jonathan

Make sure you configure your kernel for both umodem and ucom.

I have a Zoom V90 USB Faxmodem, Model 2986L, that is recognized in 
FreeBSD 4.10 Stable and 5.2.1 Release as ucom0.  I haven't used it on 
these machines before, so I tested the following on FreeBSD 4.10 
desktop:

> cu -l/dev/ucom0 -s57600
Connected.

Use at your own risk.

Best of luck,

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


Re: Using syslog(3) after chroot-ing

2004-06-30 Thread horio shoichi
On Wed, 30 Jun 2004 15:06:39 -0400
Charles Swiger <[EMAIL PROTECTED]> wrote:
> On Jun 30, 2004, at 3:00 PM, Mikhail Teterin wrote:
> > =What happens if you set TZ in the environment which syslogd is started
> > =up from?
> >
> > That's an idea. Can I just call tzset() (or tzsetwall()?) prior to
> > chroot-ing?
> 
> I suspect that you could indeed.  Again, just to be clear: the 
> timestamps are produced by syslogd, not by the program doing the 
> logging, so you'd have to change syslogd itself.
> 
> -- 
> -Chuck
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

The tzset() alone doesn't fill the gap.

You need fill /chrootedplace/etc/localtime with valid local time information.

For syslogd to catch logs, the socket must be captured by it:
/chrootedplace/{dev/log,var/run/log}, depending on your preference.



horio shoichi

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


RulesDuJour for FreeBSD

2004-06-30 Thread Chris
If anyone has got a tweak RulesDuJour scripts 
(http://www.exit0.us/index.php/RulesDuJour) for FBSD/MailScanner/SA - I would 
really love to see them

-- 
Best regards,
Chris

-- 
This message has been scanned for viruses and dangerous 
content by MailScanner, and is believed to be clean.
ClamAV virus dat updated: Wed Jun 30 2004 at 03:04:42
daily.cvd is up to date (version: 375, sigs: 1096, f-level: 2, builder: trog)

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


Re: Ports Base

2004-06-30 Thread Ryan Thompson
Lonnie Santella wrote to [EMAIL PROTECTED]:

> That's a good point, but I don't make a practice of running NFS, and
> often the servers are at different locations - not connected via any
> network.
>
> So would I be correct in assuming that I would copy the entire
> contents beginning at the /usr/ports level and all subdirectories?

Sure. That will gain you the benefits of an up-to-date ports tree. It's
important that you do this before any ports are installed on the system,
though, or you'll likely have consistency and dependency issues. Once
you start installing ports, you have the pkgdb to deal with.

Personally, I would just use once fast/well-connected machine to keep
everything up to date and build packages for all of the ports you need.
Then, just copy those packages and their recursive dependencies (via CD,
or ftp/sftp/scp).  It's a *lot* less to transfer and maintain.

I use something like this to rapidly deploy new FreeBSD servers. Within
about 40 minutes from an empty RAID array, I can have a fully-configured
environment, the latest RELENG_4_9 (or 4_10 now), up-to-date ports, with
our own base ports already installed. We do use NFS and a cvsup server
to make life easy, but, in cases where I've done this remotely, I only
had to modify a few processes to make it work over SSH. Due to network
and system speeds, it took longer than 40 minutes (2-3 hours the last
time I tried.  The client bought me steak and a pint of beer at a local
restaurant while we waited), but it was still just one "make all" once
I got the first root prompt after the FTP install.

- Ryan

-- 
  Ryan Thompson <[EMAIL PROTECTED]>

  SaskNow Technologies - http://www.sasknow.com
  901-1st Avenue North - Saskatoon, SK - S7K 1Y4

Tel: 306-664-3600   Fax: 306-244-7037   Saskatoon
  Toll-Free: 877-727-5669 (877-SASKNOW) North America
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to make permanent in kernel

2004-06-30 Thread Phil Schulz
Tuc wrote:
Hi,
I had a problem with my mouse, and found the answer here :
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/x.html#PS2-X
which says :
11.14. Why does my PS/2 mouse misbehave under X?
Your mouse and the mouse driver may have somewhat become out of synchronization.
In rare cases the driver may erroneously report synchronization problem and you
may see the kernel message:
psmintr: out of sync ( != )
and notice that your mouse does not work properly.
If this happens, disable the synchronization check code by setting the driver fl
ags for the PS/2 mouse driver to 0x100. Enter UserConfig by giving the -c option
 at the boot prompt:
boot: -c
Then, in the UserConfig command line, type:
UserConfig> flags psm0 0x100
UserConfig> quit

Which is great. The problem is, I don't want to keep doing this
every time I reboot. This is a FreeBSD 5 system. In 4 I knew how to
do it with "device  psm0at atkbdc? irq 12", but now not sure
how do this in 5. I see something about a hints file, but not sure how
it plays in, if at all.
Mmmh, didn't I answer the very same question a while ago?
Anyways... add a line that reads
hint.psm.0.flags=0x100
to /boot/device.hints
Regards,
Phil.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: RulesDuJour for FreeBSD

2004-06-30 Thread Ryan Thompson
Chris wrote to FreeBSD Questions:

> If anyone has got a tweak RulesDuJour scripts
> (http://www.exit0.us/index.php/RulesDuJour) for FBSD/MailScanner/SA -
> I would really love to see them

What's to tweak?

Make sure you have bash installed. Edit the path to bash if needed in
the first line of the file. Do use the provided my_rules_du_jour, and
follow the usage instructions found therein. There are no FreeBSD-
specific tweaks to worry about.

- Ryan

-- 
  Ryan Thompson <[EMAIL PROTECTED]>

  SaskNow Technologies - http://www.sasknow.com
  901-1st Avenue North - Saskatoon, SK - S7K 1Y4

Tel: 306-664-3600   Fax: 306-244-7037   Saskatoon
  Toll-Free: 877-727-5669 (877-SASKNOW) North America
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: RulesDuJour for FreeBSD

2004-06-30 Thread Chris
On Wednesday 30 June 2004 07:24 pm, Ryan Thompson wrote:
> Chris wrote to FreeBSD Questions:
> > If anyone has got a tweak RulesDuJour scripts
> > (http://www.exit0.us/index.php/RulesDuJour) for FBSD/MailScanner/SA -
> > I would really love to see them
>
> What's to tweak?
>
> Make sure you have bash installed. Edit the path to bash if needed in
> the first line of the file. Do use the provided my_rules_du_jour, and
> follow the usage instructions found therein. There are no FreeBSD-
> specific tweaks to worry about.
>
> - Ryan

Gah! I missed that file. Ppfftt, sorry folks.

-- 
Best regards,
Chris

-- 
This message has been scanned for viruses and dangerous 
content by MailScanner, and is believed to be clean.
ClamAV virus dat updated: Wed Jun 30 2004 at 03:04:42
daily.cvd is up to date (version: 375, sigs: 1096, f-level: 2, builder: trog)

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


Re: Disk about to fail

2004-06-30 Thread Ryan Thompson
Tuc wrote to [EMAIL PROTECTED]:

> Hi,
>
>   Looks like my disk is about to fail YET AGAIN on my laptop :
>
> ad0: FAILURE - READ_DMA status=51 error=40 
> LBA=25937067
> ad0: FAILURE - READ_DMA status=51 error=40 
> LBA=25937067
> ad0: FAILURE - READ_DMA status=51 error=40 
> LBA=25937067
> ad0: FAILURE - READ_DMA status=51 error=40 
> LBA=25937067
>
>
>   The last 2 times however I found it was the /var partition, I
> newfs'd it again, it happened again, re-newfs'd it, now its happening again.
> How do I find out whats stored at that LBA, and either fix it, or do something
> so it doesn't use that block or any bad block anymore?

/var is typically quite a volatile filesystem; many reads/writes;
usually nothing stays for long. If you're getting those errors, it means
the failure is occurring in a portion of the disk you're actually using.
(i.e., blocks that are actually allocated to files). Try a recursive
grep of the entire filesystem and see which file(s) croak as unreadable.
:-)

Once, I had this happen, and actually found a 50MB file that was using
the bad region of the disk. The file wasn't essential to anything, so I
left it there. The rest of the disk still works fine. Needless to say, I
don't trust it very much, but at least the immediate problem is
confined.

If the bad space *isn't* actually used by a file, it's a bit tricker. If
you really want to track it down in that case, you could try filling up
your disk with files some multiple of blocksize and read them back in,
until you either get a hard error, or a consistency failure. Then,
delete all of the files that you created, except for the one(s) spanning
the bad blocks.

Note that *none* of these strategies are recommended where any data that
you care about is concerned.

Best? Get your data off the disk *yesterday*, in descending priority
order, and use the platters for wind chimes.

- Ryan

-- 
  Ryan Thompson <[EMAIL PROTECTED]>

  SaskNow Technologies - http://www.sasknow.com
  901-1st Avenue North - Saskatoon, SK - S7K 1Y4

Tel: 306-664-3600   Fax: 306-244-7037   Saskatoon
  Toll-Free: 877-727-5669 (877-SASKNOW) North America
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Milter and ClamAV

2004-06-30 Thread Eric Crist
Hey all,

Sorry for so many posts over the last few days, but I get on the
configuration binges, and it all goes downhill from there.  ;)

I've just installed ClamAV with Milter support.  I was wondering how I
would go about adding a signature at the bottom of outgoing mail to
indicate that it has been scanned?

Thanks a lot for all the help everyone on this list has provided me over
the past 8 years.

TIA

Eric F Crist
President
AdTech Integrated Systems, Inc
(612) 998-3588



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


stop in make buildworld

2004-06-30 Thread David Bear
I've submitted a bug report but thought I'd ask here for any possible
resolution. I installed release 4.10. After configuring and building
my own kernel (just removed references to hardware I don't have in the
config) I decided to cvsup to releng_4 (this is I think the way to get
any security fixes?)

However, after cvsuping I go to make buildworld and get the following:

./../usr.bin/cc/cc_tools
-I/usr/src/gnu/lib/libgcc/../../../contrib/gcc/config
-I/usr/src/gnu/lib/libgcc/../../../contrib/gcc -I.  -DL_divdi3 -o
_divdi3.o /usr/src/gnu/lib/libgcc/../../../contrib/gcc/libgcc2.c
/usr/src/contrib/gcc/libgcc2.c: In function `__divdi3':
/usr/src/contrib/gcc/libgcc2.c:757: internal compiler error:
Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html> for instructions.
*** Error code 1

Stop in /usr/src/gnu/lib/libgcc.
*** Error code 1

Stop in /usr/src.
*** Error code 1

I did a make clean and tried again.. got the same error.

Any advice?

-- 
David Bear
phone:  480-965-8257
fax:480-965-9189
College of Public Programs/ASU
Wilson Hall 232
Tempe, AZ 85287-0803
 "Beware the IP portfolio, everyone will be suspect of trespassing"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


page fault while in kernel mode

2004-06-30 Thread fred
Hi,

My FreeBSD machine dead at every monrning, and below is the error messages, could 
anyone help me?



pearl# uname -a
FreeBSD host1 5.0-DP1 FreeBSD 5.0-DP1 #0: Wed Aug 27 07:07:21 CST 2003 
root@:/usr/src/sys/i386/compile/PEARL  i386



Jun 26 14:38:06 pearl kernel:
Jun 26 14:38:06 pearl kernel: Fatal trap 12: page fault while in kernel mode
Jun 26 14:38:06 pearl kernel: fault virtual address = 0xfd1f1af1
Jun 26 14:38:06 pearl kernel: fault code= supervisor read, page not 
present
Jun 26 14:38:06 pearl kernel: inwtruction pointer   = 0x8:0xc028dd4c
Jun 26 14:38:06 pearl kernel: stack pointer  !"0= 0x10:0xda6c1b20
Jun 26 14:38:06 pearl kernel: frame pointer = 0x10:0xdi6c1b3c
Jun 26 14:38:06 pearl kernel: code segment  = base 0x0, limit 0xf, 
type 0x1b
Jun 26 14:38:06 pearl kernel: = DPL 0, pres 1\xac def32 1,!gran 1
Jun 26 14:38:06 pearl kernel: processor eflags  = interrupt enabled, resume, IOPL = 0


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


Re: Milter and ClamAV

2004-06-30 Thread Richard Stevenson
On Wed, 30 Jun 2004, Eric Crist wrote:
I've just installed ClamAV with Milter support.  I was wondering how I
would go about adding a signature at the bottom of outgoing mail to
indicate that it has been scanned?
I wouldn't bother, for two reasons:
1.  Clamav-milter adds a couple of X- headers to the message, saying it
was scanned.  This is what was in your message:
X-Virus-Scanned: clamd / ClamAV version 0.72, clamav-milter version 0.72
on grog.secure-computing.net
X-Virus-Status: Clean
2.  I'm not aware of any general way to add a note to the bottom of any
message, unless you ban all multipart messages and/or attachments from
passing through your system.  Your users/customers might complain
about that ;)
Personally, I think the idea of such a signature is just a "feel-good" 
thing and doesn't actually add anything other than a false sense of 
security.  Depending on how often you update your virus DB files, and 
which virus it is, a message containing a virus may get through the 
scanning without detection.  For example, I've got a copy of 
W32.Spybot.Worm sitting on my disk that clamav doesn't pick up, even 
though I submitted it to them when I first received a copy of it, several 
weeks ago.  Norton/Symantec, Trend, and F-Prot all detect the virus and 
try to delete/quarantine the file.

If you really want to go ahead and do this, read the clamav-milter manpage 
and look for --signature-file.  Personally, I see no value in it.

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


Re: Milter and ClamAV

2004-06-30 Thread Chris
On Wednesday 30 June 2004 08:22 pm, Richard Stevenson wrote:
> On Wed, 30 Jun 2004, Eric Crist wrote:
> > I've just installed ClamAV with Milter support.  I was wondering how I
> > would go about adding a signature at the bottom of outgoing mail to
> > indicate that it has been scanned?
>
> I wouldn't bother, for two reasons:
>
> 1.  Clamav-milter adds a couple of X- headers to the message, saying it
>  was scanned.  This is what was in your message:
>
>  X-Virus-Scanned: clamd / ClamAV version 0.72, clamav-milter version
> 0.72 on grog.secure-computing.net
>  X-Virus-Status: Clean
>
> 2.  I'm not aware of any general way to add a note to the bottom of any
>  message, unless you ban all multipart messages and/or attachments from
>  passing through your system.  Your users/customers might complain
>  about that ;)
>

You mean something like - Read below.

-- 
Best regards,
Chris

-- 
This message has been scanned for viruses and dangerous 
content by MailScanner, and is believed to be clean.
ClamAV virus dat updated: Wed Jun 30 2004 at 03:04:42
daily.cvd is up to date (version: 375, sigs: 1096, f-level: 2, builder: trog)

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


Re: Milter and ClamAV

2004-06-30 Thread Richard Stevenson
On Wed, 30 Jun 2004, Chris wrote:
On Wednesday 30 June 2004 08:22 pm, Richard Stevenson wrote:
2.  I'm not aware of any general way to add a note to the bottom of any
 message, unless you ban all multipart messages and/or attachments from
 passing through your system.  Your users/customers might complain
 about that ;)
You mean something like - Read below.
Exactly.  Now see what it does if you send a message with attachements, or 
one with multiple parts of type text/*.  If it can actually parse the MIME 
and put it in the right place, I'll be very surprised.

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


Gnome installing Mozilla by default

2004-06-30 Thread Bruce Hunter
Hello,

When I install the Gnome port, it installs Mozilla 1.6 as default. I
guess Epiphany 1.2.6 uses it. 

I have a few questions:

1) How do I get Epiphany to not use Mozilla and what performance hit
will I take for doing this, if any?

2) If Epiphany doesn't use mozilla, then what does it use?

3) Mozilla seems to be a system resource hog. At least this version that
is installed. I just need a browser that is fasssttt, doesn't mess up
the fonts, and is capable of viewing flash? I don't need all that other
stuff mozilla installs, such as, the email client, etc..

Any ideas or comments would be greatly appreciated.

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


Seti@Home Installation error

2004-06-30 Thread Bruce Hunter
I am trying to install the [EMAIL PROTECTED] from the ports collection:
When I run 

#portupgrade -N astro/setiahome/
I get this error

===>  Installing for compat4x-i386-5.2.1
===>   Generating temporary packing list
===>  Checking if misc/compat4x already installed
/bin/mkdir -p /usr/local/lib/compat /usr/local/etc/rc.d
install  -o root -g wheel -m 444
/usr/ports/misc/compat4x/work/usr/lib/compat/* /usr/local/lib/compat/
/bin/ln -sf libc_r.so.4.compat4x /usr/local/lib/compat/libc_r.so.4
/bin/ln -sf libperl.so.3.compat4x /usr/local/lib/compat/libperl.so.3
install  -o root -g wheel -m 555
/usr/ports/misc/compat4x/work/000.compat4x.sh /usr/local/etc/rc.d/
===>   Running ldconfig
/sbin/ldconfig -m /usr/local/lib/compat
ldconfig: /usr/local/lib/compat: ignoring group-writable directory
===>   Registering installation for compat4x-i386-5.2.1
===> SECURITY REPORT:
  This port has installed the following files which may act as
network
  servers and may therefore pose a remote security risk to the
system.
/usr/local/lib/compat/libc_r.so.4.compat4x
/usr/local/lib/compat/libfetch.so.2
/usr/local/lib/compat/libperl.so.3.compat4x
/usr/local/lib/compat/libc.so.4

  This port has installed the following startup scripts which may
cause
  these network services to be started at boot time.
/usr/local/etc/rc.d/000.compat4x.sh

  If there are vulnerabilities in these programs there may be a
security
  risk to the system. FreeBSD makes no guarantee about the security
of
  ports included in the Ports Collection. Please type 'make
deinstall'
  to deinstall the port if this is a concern.
===>   Returning to build of setiathome-3.08_3
Error: shared library "c.4" does not exist
*** Error code 1

Stop in /usr/ports/astro/setiathome.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade33298.0 make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! astro/setiathome  (dependent libraries)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed

any ideas?

Thanks
Bruce

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


Invalid RealAudio(RM)files after an mplayer -dumpstream session

2004-06-30 Thread Joachim Dagerot
Is there a "fixup" tool or something faulty rm files?


I earlier got the response that mplayer -dumpstream... can dump a
RealAudio file to disk and I tried it with very good result.

I then created a batch to download a whole lot of RM streams to disk
which took some days ofcourse.

But today when I wanted to transform the streams to PCM I realise that
the dumped streams must be errenous in som way, I can't even play the
streams as they are, though mplayer does recognise them.




An example stream could be 
"rtsp://lyssna.sr.se/P1/Sommar/Sommar-040616.rm";

which I dumped using 
"mplayer -dumpstream -dumpfile sommar040616.rm
rtsp://lyssna.sr.se/P1/Sommar/Sommar-040616.rm";

(It's long (90 -120 minutes) and takes up 20mb)


[Output from mplayer]
bash-2.05b$ mplayer sommar040615.rm
MPlayer 1.0pre4-3.2.2 (C) 2000-2004 MPlayer Team

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville 699.0 MHz
(Family: 6, Stepping: 1)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with
--disable-runtime-cpudetection.
Reading config file /usr/local/share/mplayer/mplayer.conf: No such
file or directory
Reading config file /home/jdagerot/.mplayer/config
Reading /home/jdagerot/.mplayer/codecs.conf: Can't open
'/home/jdagerot/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/share/mplayer/codecs.conf: 66 audio & 176 video
codecs
font: can't open file: /home/jdagerot/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using usleep() timing
Can't open input config file /home/jdagerot/.mplayer/input.conf: No
such file or directory
Input config file /usr/local/share/mplayer/input.conf parsed: 53 binds

Playing sommar040615.rm.
REAL file format detected.


MPlayer interrupted by signal 11 in module: demux_open
- MPlayer crashed by bad usage of CPU/FPU/RAM.
  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  disassembly. Details in
DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in
your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We
can't and
  won't help unless you provide this information when reporting a
possible bug.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Gnome installing Mozilla by default

2004-06-30 Thread Bill Moran
Bruce Hunter <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> When I install the Gnome port, it installs Mozilla 1.6 as default. I
> guess Epiphany 1.2.6 uses it. 
> 
> I have a few questions:
> 
> 1) How do I get Epiphany to not use Mozilla and what performance hit
> will I take for doing this, if any?

I think the performance hit will be that Epiphany won't work at all.  It
seems to me that Epiphany is using Mozilla's rendering engine, without
it, Epiphany is nothing more than a text viewer (it probably won't work
at all ... Ephiphany lists Mozilla as a "dependency")

> 2) If Epiphany doesn't use mozilla, then what does it use?

It uses Mozilla, period.

> 3) Mozilla seems to be a system resource hog. At least this version that
> is installed. I just need a browser that is fasssttt, doesn't mess up
> the fonts, and is capable of viewing flash? I don't need all that other
> stuff mozilla installs, such as, the email client, etc..

Not gonna happen.  The complex part of a modern browser is the rendering
engine that has to take the convoluted HTML/CSS standards and turn them
into something pretty on the screen.  You could install something like
Firefox ... which is the minimum pieces of Mozilla necessary to be a
browser, but you probably wouldn't save much as resources go.  You could
install something like dillo ... which is incredibly small and fast, but
it won't support all that fancy stuff like flash and "perfect fonts".

Simple fact is that HTML has been bastardized to be far more complex than
there's any need for, thus you need a huge program, powerful processor and
gigs of RAM to "surf the web" these days.

However, I would surf through all the browsers in the ports until you find
something as close to what you want as possible ... there's lots of choices,
and one of them is bound to be reasonably close to what you're looking for.

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


Re: Milter and ClamAV

2004-06-30 Thread Warren Block
On Wed, 30 Jun 2004, Eric Crist wrote:
I've just installed ClamAV with Milter support.  I was wondering how I
would go about adding a signature at the bottom of outgoing mail to
indicate that it has been scanned?
clamav-milter already adds an X-header indicating it's been scanned.  I 
think it adds this to outgoing mail, if you've got it set to scan 
outgoing mail.

That's less intrusive than the "scanned-by" signature.  Could be less of 
a liability when an undetected virus slips through, too.

-Warren Block * Rapid City, South Dakota USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Pulling measurements of system memory?

2004-06-30 Thread David Thakur
Take a look at rrdtool: http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/
It does graphs of system statistics. If you need to get just the variables,
check the shell scripts from this package http://www.ag0ny.com/graphs/
I use this on FreeBSD to generate graphs for my server.

Regards,
David

On Wed, 30 Jun 2004 07:49:32 -0500, Danny Howard <[EMAIL PROTECTED]> wrote:
> What's the easiest command to read to get good information on memory
> usage?  I played with "/sbin/sysctl -n hw.physmem hw.usermem vm.kvm_size
> vm.kvm_free" yesterday but I have the feeling that these are not the
> numbers I think they are, because they add up wrong.
> 
> There's some pretty good stuff at the top of top, but I'd be happier
> with output in raw numbers of bytes, to feed to my graphing program.
> This would also save the trouble of reinterpreting M into * 1024^2.
> 
> Thanks in advance for any tips.
> 
> Sincerely,
> -danny
> 
> --
> Danny Howard[EMAIL PROTECTED]
> Technical Support Manager  (312)829- x235
> Server Central Network   http://www.servercentral.net
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


[OT] fetchmail, procmail and mutt (oh my!)

2004-06-30 Thread Andrew L. Gould
Background:
When I travel, I use access a home server via ssh and deal with my email 
using console applications.  I obtain my email from several sources 
using fetchmail.  I have a .procmailrc file that properly puts the 
emails into specified mbox files -- so far so good.

Problem:
If I put 'mda /usr/local/bin/procmail' in the .fetchmailrc lines, 
procmail puts the emails in the correct mbox files; but mutt complains 
that the files are not valid email files and refuses to read them.

If I let fetchmail put the emails into my system mbox and use formail to 
process the emails, copies of the emails get put into the correct mbox 
files and mutt will open the files; but I have to go back and manually 
delete the emails in my system mail box.

How can I get both valid mbox files and without having to manually 
delete emails in my system folder?

Here's the top of .procmailrc and the freebsd recipe:


MAILDIR=/home/algould/pmail
LOGFILE=$MAILDIR/procmail.log
VERBOSE=1
DEFAULT=/home/algould/pmail/inbox

:0 :
* .*freebsd
/home/algould/pmail/freebsd


The other recipes differ only in criteria and mbox file name.

Any help would be appreciated.

Thanks,

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


Re: Using syslog(3) after chroot-ing

2004-06-30 Thread horio shoichi
On Thu, 1 Jul 2004 08:50:42 +0900
horio shoichi <[EMAIL PROTECTED]> wrote:
> On Wed, 30 Jun 2004 15:06:39 -0400
> Charles Swiger <[EMAIL PROTECTED]> wrote:
> > On Jun 30, 2004, at 3:00 PM, Mikhail Teterin wrote:
> > > =What happens if you set TZ in the environment which syslogd is started
> > > =up from?
> > >
> > > That's an idea. Can I just call tzset() (or tzsetwall()?) prior to
> > > chroot-ing?
> > 
> > I suspect that you could indeed.  Again, just to be clear: the 
> > timestamps are produced by syslogd, not by the program doing the 
> > logging, so you'd have to change syslogd itself.
> > 
> > -- 
> > -Chuck
> > 
> > ___
> > [EMAIL PROTECTED] mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> > 
> 
> The tzset() alone doesn't fill the gap.
> 
> You need fill /chrootedplace/etc/localtime with valid local time information.
> 
> For syslogd to catch logs, the socket must be captured by it:
> /chrootedplace/{dev/log,var/run/log}, depending on your preference.
> 
> 
> 
> horio shoichi
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

My keyboard seems too slippery today. Please read the whole of my message
as: syslog expresses local time through ctime_r() which means tzset() will
be done via /etc/localtime. So, it's sufficient to set /etc/localtime in
the chrooted environment.

(The second paragraph is completely redundant; it's only needed to bring
the syslog messages out of chrooted environment. Sorry.)


horio shoichi


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


  1   2   >