buildworld failes on 7.0-RC1

2008-02-14 Thread nollan
Hi all,

I get a buildworld error on 7.0-RC1, and I'd appreciate some help.

I've tried the following:
-

* Built w/o /etc/make.conf

* 'rm /usr/obj/*' - 'rm /usr/src/*'

* Tried RELENG_7 and RELENG_7_0.

* Done 'mergemaster -p' before build.


My 'uname -a':
--

fbsdlap# uname -a
FreeBSD fbsdlap.opt.se 7.0-RC1 FreeBSD 7.0-RC1 #0: Mon Dec 24 12:18:24
UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
i386 
fbsdlap#


Here is the error I get:


===> gnu/lib/csu (all)
cc -O2 -fno-strict-aliasing -pipe  -DIN_GCC -DHAVE_LD_EH_FRAME_HDR
-DDT_CONFIG -D__GLIBC__=3 -finhibit-size-directive
-fno-inline-functions  -fno-exceptions -fno-zero-initialized-in-bss
-fno-zero-initialized-in-bss -fno-toplevel-reorder
-I/usr/src/gnu/lib/csu/../../../contrib/gcclibs/include
-I/usr/src/gnu/lib/csu/../../../contrib/gcc/config
-I/usr/src/gnu/lib/csu/../../../contrib/gcc -I.
-I/usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools -std=gnu89  -g0
-DCRT_BEGIN  -c -o
crtbegin.o /usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c In file
included from ./tm.h:4,
from /usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c:70: ./options.h:891:
error: redeclaration of enumerator 'OPT_w' ./options.h:889: error:
previous definition of 'OPT_w' was here 
*** Error code 1 S

top in /usr/src/gnu/lib/csu. 
*** Error code 1 

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

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

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

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


Re: VM Options

2008-02-14 Thread David Schulz
i think it uses kemu, but its really a simple installation process,  
the whole thing is just a package, contained in the iso image i linked  
earlier.


On Feb 15, 2008, at 3:48 PM, Wojciech Puchar wrote:

noone mentioned www.win4bsd.com , win4bsd can be used to run a  
windows machine from within freebsd nicely. performance is pretty  
good also.


does it need special requirements on kernel versions, modules etc?


On Jan 25, 2008, at 4:54 AM, neal wrote:


On Thursday 24 January 2008, Jack Barnett wrote:

So Jail, Qemu and VMWare crossed off the list, any other
options?

I'm planning to do something similar but have moved to
Kubuntu to run VMWare, then I can run PCBSD as a
vm 'thingy' ;).
neal.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED] 
"


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



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


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


Re: VM Options

2008-02-14 Thread Wojciech Puchar
noone mentioned www.win4bsd.com , win4bsd can be used to run a windows 
machine from within freebsd nicely. performance is pretty good also.


does it need special requirements on kernel versions, modules etc?


On Jan 25, 2008, at 4:54 AM, neal wrote:


On Thursday 24 January 2008, Jack Barnett wrote:

So Jail, Qemu and VMWare crossed off the list, any other
options?


I'm planning to do something similar but have moved to
Kubuntu to run VMWare, then I can run PCBSD as a
vm 'thingy' ;).


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


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


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


Re: VM Options

2008-02-14 Thread David Schulz

Hey,

to download it:
For Win4BSD: ftp://ftp.vbridges.com/pub/releases/bsd/pro/1.1/Win4BSD-1.1.iso
I think you can try the trial for 30 days, after that, its 29.99USD

Thanks,
David


On Feb 15, 2008, at 12:57 PM, Jack Barnett wrote:



Hrm... I can't find it in the ports or a download version of it?
I don't mind paying for it, but want to see if it actually works  
well before buying it.



David Schulz wrote:
noone mentioned www.win4bsd.com , win4bsd can be used to run a  
windows machine from within freebsd nicely. performance is pretty  
good also.

On Jan 25, 2008, at 4:54 AM, neal wrote:


On Thursday 24 January 2008, Jack Barnett wrote:

So Jail, Qemu and VMWare crossed off the list, any other
options?


I'm planning to do something similar but have moved to
Kubuntu to run VMWare, then I can run PCBSD as a
vm 'thingy' ;).


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


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

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


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


Re: VM Options

2008-02-14 Thread Jack Barnett


Hrm... I can't find it in the ports or a download version of it?
I don't mind paying for it, but want to see if it actually works well 
before buying it.



David Schulz wrote:
noone mentioned www.win4bsd.com , win4bsd can be used to run a windows 
machine from within freebsd nicely. performance is pretty good also.

On Jan 25, 2008, at 4:54 AM, neal wrote:


On Thursday 24 January 2008, Jack Barnett wrote:

So Jail, Qemu and VMWare crossed off the list, any other
options?


I'm planning to do something similar but have moved to
Kubuntu to run VMWare, then I can run PCBSD as a
vm 'thingy' ;).


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


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

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


Re: VM Options

2008-02-14 Thread David Schulz
noone mentioned www.win4bsd.com , win4bsd can be used to run a windows  
machine from within freebsd nicely. performance is pretty good also.

On Jan 25, 2008, at 4:54 AM, neal wrote:


On Thursday 24 January 2008, Jack Barnett wrote:

So Jail, Qemu and VMWare crossed off the list, any other
options?


I'm planning to do something similar but have moved to
Kubuntu to run VMWare, then I can run PCBSD as a
vm 'thingy' ;).


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


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


Re: LDAP user authentication?

2008-02-14 Thread Jonathan Chen
On Fri, Feb 15, 2008 at 09:45:23AM +0700, Olivier Nicole wrote:
> Hi,
> 
> >  >I have googled for a very long time, but I haven't found any useful
> >  > howto on this issue. Well, there is
> >  > 
> > http://www.cultdeadsheep.org/FreeBSD/docs/Quick_and_dirty_FreeBSD_5_x_and_nss_ldap_mini-HOWTO.html
> >  > but that seems to be a bit confusing an not up-to-date. I guess it
> >  > _should_ be possible - and indeed very useful (especially combinde
> >  > with Samba PDC and an easily maintainlable mail server). So please, if
> 
> I read through the link you gave. My first impression is:
> 
> - pam-ldap is used for authentication: allow the user to login to the
>   machine
> 
> - nss-ldap is used by the system when it needs to resolve things like
>   gid<->group name, user home directory, etc.
> 
> I will give it a try soon.
> 
> Though I am looking one step ahead, how to allow a user to
> authenticate to this machine and not that machine, using the same ldap
> directory.

This can be done by setting "pam_check_host_attr" in ldap.conf for
pam_ldap.

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
---
"One, with God, is always a majority, but many a martyr has been burned
   at the stake while the votes were being counted."  -- Thomas B. Reed
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


QEMU Windows and X forwarding

2008-02-14 Thread David Schulz

Hello,

my Goal is to setup a FreeBSD Server that hosts about 5 Images of  
(licensed) Windows XP, which i made either using QEMU or Win4BSD.  
Those Images then i want to make accessible to old Macintosh PowerPC  
Machines, so the Users can access one or two Applications that only  
run under Windows XP. I would like to know from anyone in a similar  
situation how to accomplish this best.


Currently, I pretty much have it setup for myself, so when i open X11  
on my PowerPC Machine, and type in ssh -X server_address windows_xp ,  
i do get an instance of Windows XP on my PowerPC Machine.


The trouble here for now is server and network performance. I would  
like to know if anyone of you has any suggestions for me on how i can  
make the network load as little as possible. I read that freenx is  
offering really good responsiveness, but unfortunately it is marked as  
broken on my System using FreeBSD Version 6.3.


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


Re: LDAP user authentication?

2008-02-14 Thread Olivier Nicole
Hi,

>  >I have googled for a very long time, but I haven't found any useful
>  > howto on this issue. Well, there is
>  > 
> http://www.cultdeadsheep.org/FreeBSD/docs/Quick_and_dirty_FreeBSD_5_x_and_nss_ldap_mini-HOWTO.html
>  > but that seems to be a bit confusing an not up-to-date. I guess it
>  > _should_ be possible - and indeed very useful (especially combinde
>  > with Samba PDC and an easily maintainlable mail server). So please, if

I read through the link you gave. My first impression is:

- pam-ldap is used for authentication: allow the user to login to the
  machine

- nss-ldap is used by the system when it needs to resolve things like
  gid<->group name, user home directory, etc.

I will give it a try soon.

Though I am looking one step ahead, how to allow a user to
authenticate to this machine and not that machine, using the same ldap
directory.

Bests,

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


Via EDEN Chipset?

2008-02-14 Thread Karl Denninger

Hi folks;

I have an interesting little box here that *SHOULD*, in theory, look 
like an i386 PC to FreeBSD.


It is using the VIA EDEN Chipset.

I can PXE boot it and get as far as loading the kernel - it goes and 
gets the ACPI module.


It never prints the banner however.

But - I do know the code is starting, because it clears the keyboard - 
so it is definitely beginning execution, and it sets the cursor to a 
block - so it IS starting up.  At that point, however, its mostly "dead" 
- the keyboard is still active (num and caps toggle properly, but I have 
no video beyond that point)


I'm not sure what I'm looking for here - if I have a machine that is 
actually up but has had a heart attack with the built-in video (which 
allegedly is a VGA like thing), or what?


It WILL boot and run Windows NT 4 and XP without anything "special", so 
in theory, I should be able to at least boot FreeBSD on it I'd think.


Anyone tried one of these monsters?  Its one of the "mini-ITX" boards

Would some sort of backtrace help (and if so, any ideas how to get it 
from HERE?)


Sent to both -Questions and -Embedded because its not really an embedded 
system (it supports a regular IDE hard disk, etc)


Thanks in advance.

--
Karl Denninger ([EMAIL PROTECTED])
http://www.denninger.net




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


Re: archiving all IMAP mail?

2008-02-14 Thread Jack Barnett

   Wael Nasreddine wrote:

This One Time, at Band Camp, C Thala [1]<[EMAIL PROTECTED]> said, On Thu, Feb 14
, 2008 at 04:15:03AM -0500:


On Thu, Feb 14, 2008 at 02:38:46AM -0600, Jack Barnett wrote:


This is the setup I use:




external accounts (pop, imap, etc) <->fetchmail -> procmail ->
filter&archive -> imap
local accounts -> procmail -> filter&archive -> imap




Then my imap clients connect to the imap server.




Please explain what you mean by "local accounts".




If I'm not mistaken from reading your reply, this implies one of two
things:




1. That I have two IMAP servers, one where I get all my mail, and a
   second one where I push mail after I have filtered/archived it.
   The first one should only by used by fetchmail, the second one is
   read by my various IMAP MUAs.




2. That I somehow have write access to the backend of my IMAP
   server, so I can pull all the mail from INBOX, do my
   archiving/filtering, and then repush to various folders and read
   from there.




Is that correct?


This isn't how I have it, I suppose Jack has a similar setup to mine,
I'll detail my setup:

First I have postfix installed with sasl/mysql backend, in MySQL I
have all the virtual accounts for various domains, for example I have
an entry for [EMAIL PROTECTED] which states that it's a normail
Mailbox, not an alias it also guides postfix/courier-imap to the
folder where the e-mails are stored.

When you send an email to [EMAIL PROTECTED], it goes to the vmail
folder, Now using the package courier-imap which BTW provides both
IMAP and POP3 Server, the email received by postfix can be checked
using POP3 and the username [EMAIL PROTECTED] (Full username because
this way I can have virtual domains, and the second most important
reason is below)

Now I have a normal UNIX user account 'wael' which has fetchmail that
downloads emails from many accounts, Gmail, Hotmail, Yahoo, and local
accounts (Which Jack mentioned as well and it's [EMAIL PROTECTED]
for my case), fetchmail spits the mail out to procmail which do all
the filtering and deliver the email to /home/wael/.mail folder (If
you left the courier-imap config files as they are then you should
deliver to Mailfolder instead of .mail, check /usr/local/etc/courier-imap/*)

For the IMAP part, When I Use 'wael' instead of '[EMAIL PROTECTED]'
it doesn't use the vmail but the UNIX user instead (see below) so it
delivers whatever is under /home/wael/.mail :)

The trick is that courier-imap has authlib backend (authdaemon) , and
authlib has mysql/pam backends, so when u request mails for
[EMAIL PROTECTED] it matches mysql qnd goes to virtual mail dir,
when you send wael it matches pam and so mail on home folder

If you need more assistance don't hesitate to ask...



   By local accounts, I mean mail that is delivered directly to the
   server (instead of getting pulled in via fetchmail).
   And yep, that is basically my setup to.
   I use sendmail and don't have a mysql backend, but the concept is the
   same.
   Have one imap server and then pull/push all emails from all accounts
   into that imap account
   The benefits of this, is that all your email is in one location and
   you have access to it all, regardless of what workstation or client
   you are using to connect to that server.
   Once place to filter, backup, search, etc.
   It can take awhile to setup if your not familiar with mail server
   software, but once it's working it's very easy to manage a lot of
   different email accounts/addresses.
   -J

References

   1. mailto:[EMAIL PROTECTED]
   2. mailto:[EMAIL PROTECTED]
   3. mailto:[EMAIL PROTECTED]
   4. mailto:[EMAIL PROTECTED]
   5. mailto:[EMAIL PROTECTED]
   6. mailto:[EMAIL PROTECTED]
   7. mailto:[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Start of a FreeBSD Setup Guide for AFS (Server and Client)

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


I've been meaning to get this started for awhile now, but time never is what
one would like it to be: endless.



Is a *very* basic start ... right now, its just a pointer to Arla (client) and
OpenAFS (server) ports for FreeBSD created by Alex Koss, and a link to some
NetBSD specific setup instructions.  I'm going to work on FreeBSD specific
ones, using that as a base, that will be on the Wiki itself ...

If anyone else does start working through the NetBSD instructions and wants to
submit stuff, just email me and I'll gladly add it .. kerberos, at least, is
something that I've *never* setup, so I'm starting from complete ground zero on
this ..

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

iD8DBQFHtO1q4QvfyHIvDvMRAjhqAKCvz5FqgcDl/pwb3Sj0faY+kSgZbwCdHYAq
+d3oV/GmYens4pm/D02XhxU=
=3u+o
-END PGP SIGNATURE-

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


Re: Some ideas for FreeBSD

2008-02-14 Thread Chad Perrin
On Thu, Feb 14, 2008 at 12:16:52AM +, RW wrote:
> On Wed, 13 Feb 2008 16:02:45 -0700
> Chad Perrin <[EMAIL PROTECTED]> wrote:
> 
> > On Wed, Feb 06, 2008 at 10:32:16PM -0800, Jason C. Wells wrote:
> > > 
> > > One could mount an md filesystem and then use that as swap.  That
> > > way you wouldn't need to use any disc space.  As a plus, the
> > > performance would be way better than disc.
> > 
> > Okay, I'm confused.  Are we talking about using md(4) to create a
> > virtual disk in RAM, then putting your swap there?  If so . . . why?
> > 
> > Do you just lack understanding of what swap is?
> 
> I think it was intended as a joke.

I certainly hope so.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Patrick J. LoPresti: "Emacs has been replaced by a shell script which 1)
Generates a syslog message at level LOG_EMERG; 2) reduces the user's disk
quota by 100K; and 3) RUNS ED!!"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


To sourceforge or not to sourceforge

2008-02-14 Thread Danny Pansters
Hi folks,

II would like to sollicit opinions and advice on whether or not to put a 
project on sourceforge or perhaps somewhere else (better?)

I have put kbtv1 on sourceforge as well as on my own website. Apart from 
getting to use sf.net as the first download location in its port I can't 
really say that it has been useful in any way. And updating it is a pain.

Now that I'm starting to distribute kbtv2 (beta) I find myself wondering 
whether I should continue to use sf.net or just use my own site (and possibly 
some secondary location in one of our committers' webspaces under freebsd.org 
(easy to add to port).

My primary objective with hosting my source (and to a lesser extend docs) 
elsewhere is availability (and to a lesser extend offloading data traffic). 
You know, just the simple thought "what if I drop dead tomorrow".

Are there better/simpler/faster alternatives to SF that people recommend?

One thing I noticed with SF is that there's all sorts of "me-too" (that is 
marketing) websites that just scrape SF and then forever have outdated info 
and downloads. I don't find this desirable at all. And besides, if you're 
using FreeBSD you're going to use ports not some external stale copy of the 
source. BUT it appears that there *are* people downloading old crud from such 
sites.

I tend to have the feeling that simply hosting it my damn self will work 99% 
of the time and cause fewest headaches, but I'm open to any suggestions.

Cheers,

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


Re: archiving all IMAP mail?

2008-02-14 Thread Nick Rout
try imapsync, it will synchronise your mail to a local machine, which
can be your backup, while leaving the mail on your provider's server
for you to access via various clients.

On Fri, Feb 15, 2008 at 11:13 AM, Wael Nasreddine <[EMAIL PROTECTED]> wrote:
> This One Time, at Band Camp, C Thala <[EMAIL PROTECTED]> said, On Thu, Feb 
> 14, 2008 at 04:47:33PM -0500:
>
> > >  > From the sound of it, it seems like you have control of your MTA and
>  > >  > the backend of your IMAP server. I have neither.
>
>  > >  You don't own the server? you don't have an IMAP server of your own?
>  > >  where do you backup your email then??
>
>  > I use fetchmail/getmail to grab my email off the IMAP server, and copy
>  > it to various places
>
>  And you would like to serve what you have archived via IMAP? Or you
>  would like to forward what you have archived to another email(s)?? For
>  IMAP you're looking for courier-imap if forwarding then you're looking
>  for a small procmail configuration. If neither are the case you're
>  looking for then please expand your 1st e-mail, I couldn't
>  understand what exactly you're looking for.
>
>
>
>
>  --
>  Wael Nasreddine
>  http://wael.nasreddine.com
>  PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2
>
>  .: An infinite number of monkeys typing into GNU emacs,
>would never make a good program. (L. Torvalds 1995) :.
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


how can i save IMAP indexed mail via username?

2008-02-14 Thread Gary Kline

About two months ago my mail system fell apart and a thoughtful network fellow 
helped me re-organize things.  Everything, including using a small server as 
a firewall.   We set up three services on another box, that included using 
IMAP (with sendmail).   IMAP indexes things on my mailserver logically, by an 
integer scheme.  When I look for an old file I have to scp to the server and 
grep through the entire list before I find what I'm looking for.  Previously, 
I  [[ usually ]] remembered the sender's name so that here, in ~/Mail, I 
could easily view the file with vi + a few keystrokes.

S, is there a way to make symlinks or copies of all  of my *saved* mail--
wherever?   In other words, if the message is in a file called
144567912456777878.556778990-67812989900 sent by user jqs, I would be able to 
view that message by just typing

% vi jqs. 

thanks,

gary
  
-- 
Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Evolution just sluggish, slow and slow

2008-02-14 Thread E. J. Cerejo

sergio lenzi wrote:

Em Qua, 2008-02-13 às 22:51 -0500, E. J. Cerejo escreveu:

I never had this problem before with evolution, but since upgrading to 
FBSD 6.3 from 6.2, evolution just takes about a minute to start and 
consumes 98% of my CPU.  I recently rebuild it from source but still too 
slow, no improvement.  Any ideas?  Second time posting this problem. 
There are no errors when I start it from terminal.

It usually only took 3 seconds to start.
___



Humm interesting...  can you please explain what do you mean
from "start it from terminal" ???

I can trace the problem if I have a working situation 



Thanks for your attention,

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



I deinstalled the one compiled from ports and installed the package 
version and it is still slow and I'm getting this now (if I run 
evolution from terminal):


CalDAV Eplugin starting up ...
** (evolution:14622): DEBUG: mailto URL command: evolution %s
** (evolution:14622): DEBUG: mailto URL program: evolution

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


Re: LDAP user authentication?

2008-02-14 Thread Jon Theil Nielsen
2008/2/14, Jonathan Chen <[EMAIL PROTECTED]>:
> On Wed, Feb 13, 2008 at 08:10:57PM +0100, Jon Theil Nielsen wrote:
>  > I have googled for a very long time, but I haven't found any useful
>  > howto on this issue. Well, there is
>  > 
> http://www.cultdeadsheep.org/FreeBSD/docs/Quick_and_dirty_FreeBSD_5_x_and_nss_ldap_mini-HOWTO.html
>  > but that seems to be a bit confusing an not up-to-date. I guess it
>  > _should_ be possible - and indeed very useful (especially combinde
>  > with Samba PDC and an easily maintainlable mail server). So please, if
>  > you have any experiences or knowledge of a useful description..!
>
>
> The first thing for you to do is to set up your LDAP tree, with your
>  users using objectClass=posixAccount, and your groups with
>  objectClass=posixGroup.
>
>  Then make the following changes to /etc/nsswitch.conf:
> group: files ldap
> passwd: files ldap
>
>  You then have to install the ports net/nss_ldap and security/pam_ldap.
>  The strategy you should adopt is to first get nss_ldap working before
>  looking at pam_ldap.
>
>  To configure nss_ldap:
> cp /usr/local/etc/nss_ldap.conf.sample /usr/local/etc/nss_ldap.conf
>
>  When editing the nss_ldap.conf, the entries of particular interest
>  are "bind_timelimit" and "bind_policy", which will need to be changed
>  so that the system will still allow you login locally even if the LDAP
>  server is not running. I've got mine set to:
> bind_timelimit 3
> bind_policy soft
>
>  Make sure your "nss_base_passwd" and "nss_base_group" are set correctly.
>  I foudn that I didn't need have to set "rootbinddn" or provide a ldap.secret
>  file, YMMV.
>
>  You can then test with "getent group" or "getent passwd". However,
>  getent(1) is only available with FreeBSD-7 onwards. If you aren't
>  using FreeBSD-7, the simplest way to test is to create a file whose
>  user and group ownership refers to the LDAP entries, and then see if
>  a simple "ls -l" displays correctly.
>
>  Once you've verified that this is working, you can then configure
>  pam_ldap:
> cp /usr/local/etc/ldap.conf.dist /usr/local/etc/ldap.conf
>
>  Again, set the bind_timelimit and bind_policy to ensure you don't hang
>  your system if the LDAP server isn't up.
>
>  To configure PAM, you have to add a reference to pam_ldap in the
>  appropriate PAM files in /etc/pam.d. Here's my snippet in
>  /etc/pam.d/login to allow a console login:
>
> # auth
> auth sufficient  pam_self.so no_warn
> auth sufficient  /usr/local/lib/pam_ldap.so  no_warn try_first_pass
> auth include system
> ...
>
>  The pam_ldap.so reference will need to be added to other pamd.d files
>  as required, eg: imap, gdm, kde, xdm.
>
>  Hope this helps.
>
> --
>  Jonathan Chen <[EMAIL PROTECTED]>

Well, I must say that this is almost more than I could imagine to get
out of my request..! I will absolutely try this method as soon as
possible. I hope I can make it work, and I will report back with
experiences (and hopefully not) problems/questions.

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


Re: Evolution just sluggish, slow and slow

2008-02-14 Thread E. J. Cerejo

sergio lenzi wrote:


Em Qua, 2008-02-13 às 22:51 -0500, E. J. Cerejo escreveu:
I never had this problem before with evolution, but since upgrading to 
FBSD 6.3 from 6.2, evolution just takes about a minute to start and 
consumes 98% of my CPU.  I recently rebuild it from source but still too 
slow, no improvement.  Any ideas?  Second time posting this problem. 
There are no errors when I start it from terminal.

It usually only took 3 seconds to start.
___


Humm interesting...  can you please explain what do you mean
from "start it from terminal" ???

I can trace the problem if I have a working situation


Thanks for your attention,

Sergio


I mean just open up the terminal, xterm, aterm or gnome-terminal and 
just type evolution.

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


Re: Trying to recover data from FreeBSD 4.11 system

2008-02-14 Thread Roland Smith
On Thu, Feb 14, 2008 at 03:55:42PM -0500, Joe Demeny wrote:

> Actually, I can now mount my old 4.x boot drive cleanly when I hook up this 
> drive in a 6.2 machine.
> 
> However, I think I need to get the old boot drive to be able to boot, so I 
> could then get to my other old drives, which are Vinum RAID-1.
> 
> I don't know if and how could I mount 4.x Vinum partitions under 6.2...

Have you tried gvinum(8)? Try loading geom_vinum.ko and see if any
devices appear in /dev/gvinum. IIRC, the on-disk metadata hasn't changed
between vinum and gvinum.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpO8dOtOcxae.pgp
Description: PGP signature


Re: archiving all IMAP mail?

2008-02-14 Thread Wael Nasreddine
This One Time, at Band Camp, C Thala <[EMAIL PROTECTED]> said, On Thu, Feb 14, 
2008 at 04:47:33PM -0500:
> >  > From the sound of it, it seems like you have control of your MTA and
> >  > the backend of your IMAP server. I have neither.

> >  You don't own the server? you don't have an IMAP server of your own?
> >  where do you backup your email then??

> I use fetchmail/getmail to grab my email off the IMAP server, and copy
> it to various places

And you would like to serve what you have archived via IMAP? Or you
would like to forward what you have archived to another email(s)?? For
IMAP you're looking for courier-imap if forwarding then you're looking
for a small procmail configuration. If neither are the case you're
looking for then please expand your 1st e-mail, I couldn't
understand what exactly you're looking for.


-- 
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
   would never make a good program. (L. Torvalds 1995) :.


pgpHBVRQ2hwr3.pgp
Description: PGP signature


MIDI with snd_cmi.ko in FreeBSD 7.0-PRERELEASE

2008-02-14 Thread Mario Lobo
Hi;

I know this has been asked here before but all the answers I could find 
referred to older freebsd versions. 

I have a pcm0:  port 0xac00-0xacff irq 19 at device 5.0 
and it has a midi interface (which is fully functional).
When I had 6.2, MIDI was working fine. I had /dev/sequencer, etc The 
devices showed up, but now they're gone.

Peeking through cmi.c, I found  TODO: MIDI. 

BUT i also found:

static DEFINE_CLASS(cmi_mpu, cmi_mpu_methods, 0);
static void cmi_midiattach(struct sc_info *sc)

and mpu init functions.

After a long googling session, I found that some people managed to get it 
working  by "loading a separate module (midi.ko ?? or mpu401.ko??)" but I 
could not find any info on how they compiled those separetly or made them 
work. Nor any other specifics on the subject.

I tried both device midi and device mpu401 on the kernel but none was 
recognized.

The reason for that is that I use Ardour (great studio) but I am unable to 
record midi, which is the only thing missing to use it fully.

Would anyone have a direction for me to research further?

If I rewrite this driver with a new name, what should I do include it in a 
kernel compilation?


Thanks
-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winedows FREE)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: archiving all IMAP mail?

2008-02-14 Thread C Thala
>  > From the sound of it, it seems like you have control of your MTA and
>  > the backend of your IMAP server. I have neither.
>
>  You don't own the server? you don't have an IMAP server of your own?
>  where do you backup your email then??

I use fetchmail/getmail to grab my email off the IMAP server, and copy
it to various places
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: archiving all IMAP mail?

2008-02-14 Thread Wael Nasreddine
This One Time, at Band Camp, C Thala <[EMAIL PROTECTED]> said, On Thu, Feb 14, 
2008 at 02:35:23PM -0500:
> On Thu, Feb 14, 2008 at 10:43:38AM +0100, Wael Nasreddine wrote:
> > First I have postfix installed with sasl/mysql backend

> > fetchmail spits the mail out to procmail which do all
> > the filtering and deliver the email to /home/wael/.mail folder

> From the sound of it, it seems like you have control of your MTA and
> the backend of your IMAP server. I have neither.

You don't own the server? you don't have an IMAP server of your own?
where do you backup your email then??

-- 
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
   would never make a good program. (L. Torvalds 1995) :.


pgpWwimKdkUeP.pgp
Description: PGP signature


Re: downloading video from http://video.google.com/googleplayer.swf?docId=...

2008-02-14 Thread Mark Kane
On Thu, Feb 14, 2008, at 13:34:03 +0100, Matthias Apitz wrote:
> The resulting *.flv files play fine with mplayer. I wanted to
> convert them to *.swf file and stumbled over the port
> multimedia/p5-FLV-Info. Installed it and flvinfo works fine:
> 
> $ flvinfo RicardoAlarcnconlosestudiantescubanos1parte.flv 
> File name  RicardoAlarcnconlosestudiantescubanos1parte.flv
> File size  21521449 bytes
> Duration   about 878.942 seconds
> Video  13185 frames
>   codecSorenson H.263
>   height   240
>   type interframe/keyframe
>   width320
> Audio  33648 packets
>   format   MP3
>   rate 22050 Hz
>   size 16 bit
>   type mono
> Meta   3 events
> 
> but the converter flv2swf fails with:
> 
> $ flv2swf -v RicardoAlarcnconlosestudiantescubanos1parte.flv
> RicardoAlarcnconlosestudiantescubanos10parte.swf Cannot set metadata
> at /usr/local/lib/perl5/site_perl/5.8.8/FLV/MetaTag.pm line 143.
> 
> any idea or any other converter? thx
> 
>   matthias

I personally have not needed to do much converting from flv, however I
installed the current version of the multimedia/p5-FLV-Info port (0.18)
and tried flv2swf out on your file which seemed to work fine.

I would suggest making sure you have an up to date ports tree and
then try again with the latest version of p5-FLV-Info as it completes
without error here.

-Mark

-- 
Internet Radio:
Party107 (Trance/Electronic) - http://www.party107.com
Rock 101.9 The Edge (Rock) - http://www.rock1019.net

IRC:
MIXXnet IRC Network - irc.mixxnet.net (Nick: MIXX941)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Trying to recover data from FreeBSD 4.11 system

2008-02-14 Thread Joe Demeny
On Thursday 14 February 2008 03:46:14 pm Tim Daneliuk wrote:
> Joe Demeny wrote:
> > On Thursday 14 February 2008 12:04:11 pm you wrote:
> >> On Thu, Feb 14, 2008 at 01:08:35AM -0500, Joe Demeny wrote:
> >> [...]
> >>
> >> Use fdisk to find out how it sees the drive.  Do fdisk ad1
> >> and check out what it says.   Especially look to see what slices
> >> that fdisk thinks it has.   Maybe there is only an  s1  active
> >> with anything in it.  That would be easiest and very common.
> >>
> >> Then use bsdlabel to look at what partitions are defined in any
> >> of the slices. do ad1s1  (for slice 1,  ad1d2  as well
> >> if there is a slice 2 being used, etc)
> >> From root, do  bsdlabel ad1d1 and see what partitions are defines.
> >> Remember that partition 'c' is not a real partition, but a label to
> >> define the whole slice to the system (it will have a type of 'unused')
> >> and that in most cases partition 'b' is used for swap (and will have
> >> a type of 'swap'), though it does not have to be swap.
> >> The other partitions; a, d, e, f, g, h, could be real partitions with
> >> something on them.   Almost certainly the 'a' partition will be root
> >> on a bootable slice.
> >
> > It turns out that I mixed up my drives. I found the boot drive - it could
> > not boot with my old custom kernel (unknown processor class...). I fell
> > back on kernel.GENERIC, which booted - to a point. It seems to bog down
> > when it tries to recognize the keyboard.
> >
> > I guess at this point my choices are:
> >
> > 1) build a new 4.x kernel on the new hardware
> > 2) find a working old computer and try my boot drive.
> >
> > Thank you all for your help...
>
> Another possible path:  Boot Freesbie or PC-BSD from CD-ROM and mount your
> old drives from there.  It might take running an fsck to clean up the old
> filesystems (depending on whether or not you clobbered them while trying to
> get this all to work).  'Just a thought - I take no responsibility if you
> hose your data though :)

Actually, I can now mount my old 4.x boot drive cleanly when I hook up this 
drive in a 6.2 machine.

However, I think I need to get the old boot drive to be able to boot, so I 
could then get to my other old drives, which are Vinum RAID-1.

I don't know if and how could I mount 4.x Vinum partitions under 6.2...

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


Re: LDAP user authentication?

2008-02-14 Thread Jonathan Chen
On Wed, Feb 13, 2008 at 08:10:57PM +0100, Jon Theil Nielsen wrote:
> I have googled for a very long time, but I haven't found any useful
> howto on this issue. Well, there is
> http://www.cultdeadsheep.org/FreeBSD/docs/Quick_and_dirty_FreeBSD_5_x_and_nss_ldap_mini-HOWTO.html
> but that seems to be a bit confusing an not up-to-date. I guess it
> _should_ be possible - and indeed very useful (especially combinde
> with Samba PDC and an easily maintainlable mail server). So please, if
> you have any experiences or knowledge of a useful description..!

The first thing for you to do is to set up your LDAP tree, with your
users using objectClass=posixAccount, and your groups with
objectClass=posixGroup.

Then make the following changes to /etc/nsswitch.conf:
group: files ldap
passwd: files ldap

You then have to install the ports net/nss_ldap and security/pam_ldap.
The strategy you should adopt is to first get nss_ldap working before
looking at pam_ldap.

To configure nss_ldap:
cp /usr/local/etc/nss_ldap.conf.sample /usr/local/etc/nss_ldap.conf

When editing the nss_ldap.conf, the entries of particular interest
are "bind_timelimit" and "bind_policy", which will need to be changed
so that the system will still allow you login locally even if the LDAP
server is not running. I've got mine set to:
bind_timelimit 3
bind_policy soft

Make sure your "nss_base_passwd" and "nss_base_group" are set correctly.
I foudn that I didn't need have to set "rootbinddn" or provide a ldap.secret
file, YMMV.

You can then test with "getent group" or "getent passwd". However,
getent(1) is only available with FreeBSD-7 onwards. If you aren't
using FreeBSD-7, the simplest way to test is to create a file whose
user and group ownership refers to the LDAP entries, and then see if
a simple "ls -l" displays correctly.

Once you've verified that this is working, you can then configure
pam_ldap:
cp /usr/local/etc/ldap.conf.dist /usr/local/etc/ldap.conf

Again, set the bind_timelimit and bind_policy to ensure you don't hang
your system if the LDAP server isn't up.

To configure PAM, you have to add a reference to pam_ldap in the
appropriate PAM files in /etc/pam.d. Here's my snippet in
/etc/pam.d/login to allow a console login:

# auth
auth sufficient  pam_self.so no_warn
auth sufficient  /usr/local/lib/pam_ldap.so  no_warn try_first_pass
auth include system
...

The pam_ldap.so reference will need to be added to other pamd.d files
as required, eg: imap, gdm, kde, xdm.

Hope this helps.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
  Opportunities are seldom labeled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Trying to recover data from FreeBSD 4.11 system

2008-02-14 Thread Tim Daneliuk

Joe Demeny wrote:

On Thursday 14 February 2008 12:04:11 pm you wrote:

On Thu, Feb 14, 2008 at 01:08:35AM -0500, Joe Demeny wrote:
[...]



Use fdisk to find out how it sees the drive.  Do fdisk ad1
and check out what it says.   Especially look to see what slices
that fdisk thinks it has.   Maybe there is only an  s1  active
with anything in it.  That would be easiest and very common.

Then use bsdlabel to look at what partitions are defined in any
of the slices. do ad1s1  (for slice 1,  ad1d2  as well
if there is a slice 2 being used, etc)
From root, do  bsdlabel ad1d1 and see what partitions are defines.
Remember that partition 'c' is not a real partition, but a label to
define the whole slice to the system (it will have a type of 'unused')
and that in most cases partition 'b' is used for swap (and will have
a type of 'swap'), though it does not have to be swap.
The other partitions; a, d, e, f, g, h, could be real partitions with
something on them.   Almost certainly the 'a' partition will be root
on a bootable slice.


It turns out that I mixed up my drives. I found the boot drive - it could not 
boot with my old custom kernel (unknown processor class...). I fell back on 
kernel.GENERIC, which booted - to a point. It seems to bog down when it tries 
to recognize the keyboard.


I guess at this point my choices are:

1) build a new 4.x kernel on the new hardware
2) find a working old computer and try my boot drive.

Thank you all for your help...



Another possible path:  Boot Freesbie or PC-BSD from CD-ROM and mount your
old drives from there.  It might take running an fsck to clean up the old 
filesystems (depending on whether or not you clobbered them while trying to

get this all to work).  'Just a thought - I take no responsibility if you
hose your data though :)



--

Tim Daneliuk [EMAIL PROTECTED]
PGP Key: http://www.tundraware.com/PGP/

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


Re: LDAP user authentication?

2008-02-14 Thread Jon Theil Nielsen
2008/2/14, Dave <[EMAIL PROTECTED]>:
> Hi,
> Actually i'm only using jails, because i haven't got all the bugs worked
>  out yet and when i do i'm going to just copy the files over and go
>  production. Other than that these files will work for a freebsd system. In
>  brief you'll need openldap server and client ports, i'm using 2.4, pam_ldap
>  port and nss_ldap port. Go configure all that and that'll do it, take it in
>  stages, slapd first, the ldap client next, then either pam_ldap or nss_ldap,
>  one thing you'll definitely want is tls encryption, can't help with that as
>  i'm still trying to get that working.
> If you need any help let me know, i'll do what i can.
>
> Dave.
Hi again,
I don't know what happened, but now I found some seemingly useful
descriptions of LDAP authentication on FreeBSD. The one that appeared
must relevant is this one:
http://www.bsdforums.org/forums/archive/index.php/t-49221.html
Maybe it could be useful for you too. Obviously, I haven't had the
time to work trough the description yet, but I will give it a try.

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


Re: Trying to recover data from FreeBSD 4.11 system

2008-02-14 Thread Joe Demeny
On Thursday 14 February 2008 12:04:11 pm you wrote:
> On Thu, Feb 14, 2008 at 01:08:35AM -0500, Joe Demeny wrote:
> [...]

> Use fdisk to find out how it sees the drive.  Do fdisk ad1
> and check out what it says.   Especially look to see what slices
> that fdisk thinks it has.   Maybe there is only an  s1  active
> with anything in it.  That would be easiest and very common.
>
> Then use bsdlabel to look at what partitions are defined in any
> of the slices. do ad1s1  (for slice 1,  ad1d2  as well
> if there is a slice 2 being used, etc)
> From root, do  bsdlabel ad1d1 and see what partitions are defines.
> Remember that partition 'c' is not a real partition, but a label to
> define the whole slice to the system (it will have a type of 'unused')
> and that in most cases partition 'b' is used for swap (and will have
> a type of 'swap'), though it does not have to be swap.
> The other partitions; a, d, e, f, g, h, could be real partitions with
> something on them.   Almost certainly the 'a' partition will be root
> on a bootable slice.

It turns out that I mixed up my drives. I found the boot drive - it could not 
boot with my old custom kernel (unknown processor class...). I fell back on 
kernel.GENERIC, which booted - to a point. It seems to bog down when it tries 
to recognize the keyboard.

I guess at this point my choices are:

1) build a new 4.x kernel on the new hardware
2) find a working old computer and try my boot drive.

Thank you all for your help...

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


Re: archiving all IMAP mail?

2008-02-14 Thread C Thala
On Thu, Feb 14, 2008 at 10:43:38AM +0100, Wael Nasreddine wrote:
> First I have postfix installed with sasl/mysql backend
>
> fetchmail spits the mail out to procmail which do all
> the filtering and deliver the email to /home/wael/.mail folder

>From the sound of it, it seems like you have control of your MTA and
the backend of your IMAP server. I have neither.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Curses problem with keymapping in screen and debugging curses

2008-02-14 Thread Derek Ragona

At 12:06 PM 2/14/2008, Martin Cracauer wrote:

I have the following problem when using screen sessions between
FreeBSD and Linux:

The pageup/pagedown keys stop working when I re-attach a session that
was started under FreeBSD to a console that is Linux driven and vice
versa.  All other keys, including alt/meta and some supposedly more
complicated keys continue to work.  I haven't verified this in detail
but it seems that while programs like mutt seem affected often emacs
seems to be happy.

I know NIL about curses.  How would I go about debugging this? I would
need something like "xev" for curses to see what keys I get from the
different consoles and then I'd need something to find out what a
given session expects.

Where do I start looking?

Also, I see screen on FreeBSD emit line noise on a regular basis, both
when attaching before the session comes up and after deattaching.
Dunno whether this helps.  Example:
# session running, press detach key
[detached]
-en \033]0; grisu:ttype:~\007

Martin


Martin,

In the past I have had issues with reading some keys with curses too.

I would read the keys and if they were unknown I'd print out the value.  I 
used a large case statement and if the key fell through I printed out the 
value.


You also need to remember in curses most of the extra keys, function and 
movement keys are compound sequences where first ESC is sent, then the 
actual keycode is in the next two bytes.  You have to get those two bytes 
and put them together to decode the actual keycode.


You can debug your program in any debugger, I used xxgdb from the ports.

-Derek


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

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


Re: FreeBSD6.2 What is the easiest Way to Capture RS-232 Serial Data?

2008-02-14 Thread Martin McCormick
Warren Block writes:
> Depending on the switch, you may find that the /usr/ports/comms utilities
> atslog or cdr_read will do the work for you.

Derek Ragona writes:
>You still need to handle when the cord is unplugged, or put the server in a 
>secure location away from other people.

>If you want the program to be more capable of staying running you can have 
>the program fork a child and if the child dies, fork a new child.  This is 
>the method used for many running services.  Just be sure if the child dies 
>the log file is closed and that same file is opened by the new child.

Excellent ideas from both! Thank you.

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


Re: LDAP user authentication?

2008-02-14 Thread Jon Theil Nielsen
2008/2/14, Dave <[EMAIL PROTECTED]>:
> Hi,
> Actually i'm only using jails, because i haven't got all the bugs worked
>  out yet and when i do i'm going to just copy the files over and go
>  production. Other than that these files will work for a freebsd system. In
>  brief you'll need openldap server and client ports, i'm using 2.4, pam_ldap
>  port and nss_ldap port. Go configure all that and that'll do it, take it in
>  stages, slapd first, the ldap client next, then either pam_ldap or nss_ldap,
>  one thing you'll definitely want is tls encryption, can't help with that as
>  i'm still trying to get that working.
> If you need any help let me know, i'll do what i can.
>
> Dave.
>
>  - Original Message -
>  From: "Jon Theil Nielsen" <[EMAIL PROTECTED]>
>
> To: "Dave" <[EMAIL PROTECTED]>
>  Cc: 
>  Sent: Thursday, February 14, 2008 7:20 AM
>  Subject: Re: LDAP user authentication?
>
>
>  >>  >I have googled for a very long time, but I haven't found any useful
>  >>  > howto on this issue. Well, there is
>  >>  >
>  >> 
> http://www.cultdeadsheep.org/FreeBSD/docs/Quick_and_dirty_FreeBSD_5_x_and_nss_ldap_mini-HOWTO.html
>  >>  > but that seems to be a bit confusing an not up-to-date. I guess it
>  >>  > _should_ be possible - and indeed very useful (especially combinde
>  >>  > with Samba PDC and an easily maintainlable mail server). So please, if
>  >>  > you have any experiences or knowledge of a useful description..!
>  >>  >
>  >>  > Regards,
>  >>  > Jon Theil Nielsen
>  >
>  >
>  > 2008/2/14, Dave <[EMAIL PROTECTED]>:
>  >> Hi,
>  >> I am far from an expert, in fact i'm still learning. I don't know a
>  >> lot
>  >>  of the jargon, that is i still get the more intense terms mixed up, but
>  >> i've
>  >>  been banging my head against ldap for about a month now and am starting
>  >> to
>  >>  show results. Right now i'm using ldap in jails on freebsd 6.2 as i
>  >> don't
>  >>  have all the bugs worked out to go production. I've got a directory that
>  >> is
>  >>  a user addressbook as well as handles authentication of users, both for
>  >> the
>  >>  jailed ldap server, but for two other jailed environments, one the ldap
>  >>  client, the other just a test machine. I've also authenticated a linux
>  >> box
>  >>  against this server that works fine with a few tweaks. Right now i've
>  >> got a
>  >>  jail specifically for testmail setup i'm going to try to hook in email
>  >>  services, pop/imap, smtp, etc. in to ldap.
>  >> If you have im abilities i can talk more there, but basically it's
>  >>  definitely not trivial to get going, in my opinion others might differ.
>  >>  Dave.
>  >>
Thanks a lot. That might be interesting. TLS might not be that vital,
since I'm mostly thinking of a solution on my own servers and
primarily only on the central one. When I was on Linux, PAM was almost
a most, but I think it is different on FreeBSD, so I guess I would
prefer the solution with nss_ldap.
Your are right, nothing severe will happen if I try to get the LDAP
server and client up and running in the first place. As far as I
remember, the most critical issue was how to initialize the database
and how to make a reasonable structure suited for both user
authentication, Samba and some mail server. Right now I have to
parallel structures, one for Samba/system users and one for (virtual)
mail users.
I still wonder why a "universal" implementation of LDAP authentication
on FreeBSD is not described anywhere. But if I find the time and
energy, I migth try to experiment on my own and might also return to
you if a have more specific issues.

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


Curses problem with keymapping in screen and debugging curses

2008-02-14 Thread Martin Cracauer
I have the following problem when using screen sessions between
FreeBSD and Linux:

The pageup/pagedown keys stop working when I re-attach a session that
was started under FreeBSD to a console that is Linux driven and vice
versa.  All other keys, including alt/meta and some supposedly more
complicated keys continue to work.  I haven't verified this in detail
but it seems that while programs like mutt seem affected often emacs
seems to be happy.

I know NIL about curses.  How would I go about debugging this? I would
need something like "xev" for curses to see what keys I get from the
different consoles and then I'd need something to find out what a
given session expects.

Where do I start looking?

Also, I see screen on FreeBSD emit line noise on a regular basis, both
when attaching before the session comes up and after deattaching.
Dunno whether this helps.  Example:
# session running, press detach key
[detached]
-en \033]0; grisu:ttype:~\007

Martin
-- 
%%%
Martin Cracauer <[EMAIL PROTECTED]>   http://www.cons.org/cracauer/
FreeBSD - where you want to go, today.  http://www.freebsd.org/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD6.2 What is the easiest Way to Capture RS-232 Serial Data?

2008-02-14 Thread Derek Ragona

At 11:55 AM 2/14/2008, Martin McCormick wrote:

I wrote a C program several years ago that works and
logs output from a telephone switch to a file and runs in
FreeBSD4.x.

I just opened /dev/ttyd0 for reading and it has run for
up to 1,000 days at a time, but it also
has issues as one might expect.

It can be killed if one of the incoming characters
happens to be an EOF (4) which is quite possible if somebody
umplugs or plugs in the cable and creates garbage on the line.


If you use fread to read the stream, you can test using feof or ferror and 
conditionally keep reading depending on the condition.


You should add signal handling so the program is only killed when you want 
it to be.




The data from the switch is ASCII with carriage
return/linefeed sequences so nothing really harsh goes on, but I
need to make it as bullet-proof as possible.

In addition, the actual data are 7-bit, odd parity with
1 stop. I basically ignored that fact last time and masked off
the MSB of each character and that's how it has been for 5
years.

Now, I am writing a similar program to log different
data from that same telephone switch and I want to do better
this time, but not reen vent any wheels I don't have to.

What is the best way to use as much of the existing UNIX
environment as possible to listen to /dev/ttyd[x] with no
interpretation of incoming data?

The data will be dumped at the end of each line, stored
in a file, and other action may be taken but normally, the
program will just be in a receive-blocked mode, waiting to hear
something new.

About the only thing I am doing differently this time is
trying to set the tty such that it doesn't look for any EOF or
other control codes in the data. The data will be treated as raw
and what ever comes across is okay. The program will clean it up
to make it good for the file.


You still need to handle when the cord is unplugged, or put the server in a 
secure location away from other people.



As I stated, the standard /dev/ttyd device has done
amazingly well in FreeBSD4.7, but some of that has been dumb
luck. We shouldn't have to warn people in the area that they
could kill the logger by unplugging the cable since they
wouldn't be aware that they stopped it until we found out later
when there was nothing in the file.

Searching archives dealing with serial communications
produced good information about dialup lines and terminals, but
this is actually less complex.

Many thanks for any good advice about stty or anything
else that will allow one to use standard devices for this
project.


If you want the program to be more capable of staying running you can have 
the program fork a child and if the child dies, fork a new child.  This is 
the method used for many running services.  Just be sure if the child dies 
the log file is closed and that same file is opened by the new child.


-Derek

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

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


Re: FreeBSD6.2 What is the easiest Way to Capture RS-232 Serial Data?

2008-02-14 Thread Warren Block

On Thu, 14 Feb 2008, Martin McCormick wrote:


I wrote a C program several years ago that works and
logs output from a telephone switch to a file and runs in
FreeBSD4.x.

...

Many thanks for any good advice about stty or anything
else that will allow one to use standard devices for this
project.


Depending on the switch, you may find that the /usr/ports/comms 
utilities atslog or cdr_read will do the work for you.


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


FreeBSD6.2 What is the easiest Way to Capture RS-232 Serial Data?

2008-02-14 Thread Martin McCormick
I wrote a C program several years ago that works and
logs output from a telephone switch to a file and runs in
FreeBSD4.x.

I just opened /dev/ttyd0 for reading and it has run for
up to 1,000 days at a time, but it also 
has issues as one might expect.

It can be killed if one of the incoming characters
happens to be an EOF (4) which is quite possible if somebody
umplugs or plugs in the cable and creates garbage on the line.

The data from the switch is ASCII with carriage
return/linefeed sequences so nothing really harsh goes on, but I
need to make it as bullet-proof as possible.

In addition, the actual data are 7-bit, odd parity with
1 stop. I basically ignored that fact last time and masked off
the MSB of each character and that's how it has been for 5
years.

Now, I am writing a similar program to log different
data from that same telephone switch and I want to do better
this time, but not reen vent any wheels I don't have to.

What is the best way to use as much of the existing UNIX
environment as possible to listen to /dev/ttyd[x] with no
interpretation of incoming data?

The data will be dumped at the end of each line, stored
in a file, and other action may be taken but normally, the
program will just be in a receive-blocked mode, waiting to hear
something new.

About the only thing I am doing differently this time is
trying to set the tty such that it doesn't look for any EOF or
other control codes in the data. The data will be treated as raw
and what ever comes across is okay. The program will clean it up
to make it good for the file.

As I stated, the standard /dev/ttyd device has done
amazingly well in FreeBSD4.7, but some of that has been dumb
luck. We shouldn't have to warn people in the area that they
could kill the logger by unplugging the cable since they
wouldn't be aware that they stopped it until we found out later
when there was nothing in the file.

Searching archives dealing with serial communications
produced good information about dialup lines and terminals, but
this is actually less complex.

Many thanks for any good advice about stty or anything
else that will allow one to use standard devices for this
project.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Network Operations Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Trying to recover data from FreeBSD 4.11 system

2008-02-14 Thread Joe Demeny
On Thursday 14 February 2008 04:49:05 am you wrote:
> > possibly try fsck - i don't know (my first FreeBSD was 5.*) but maybe UFS
> > changed a bit?
>
> Nope, I have had machines that I upgraded from 4 to 5 and 6 without
> changing the hard disk, and without changing the file system.
>
> > So, I installed this drive as the second hard drive in a FreeBSD 6.2
> > system and I tried to mount it, but I got "incorrect super block".
>
> With no old disk installed, what is your mounted disks/partitions?
> Result of mount -p.

Old disk is installed, but nothing is mounted from it:

# mount -p
/dev/ad0s2a /   ufs rw  1 1
devfs   /devdevfs rw0 0
/dev/ad0s2e /tmpufs rw  2 2
/dev/ad0s2f /usrufs rw  2 2
/dev/ad0s2d /varufs rw  2 2

> If you have it what was the result of mount -p on the old machine.

I don't have that, unfortunately.

> What is the result of "fdisk /dev/ad0" ?

# fdisk /dev/ad0
*** Working on device /dev/ad0 ***
parameters extracted from in-core disklabel are:
cylinders=310101 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=310101 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX)
start 63, size 40965687 (20002 Meg), flag 0
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 40965750, size 271610955 (132622 Meg), flag 80 (active)
beg: cyl 1023/ head 255/ sector 63;
end: cyl 1023/ head 254/ sector 63
The data for partition 3 is:

The data for partition 4 is:


> Install the old hard disk, what is the result of "fdisk /dev/ad1" ?

# fdisk /dev/ad1
*** Working on device /dev/ad1 ***
parameters extracted from in-core disklabel are:
cylinders=13232 heads=15 sectors/track=63 (945 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=13232 heads=15 sectors/track=63 (945 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 12498507 (6102 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 777/ head 254/ sector 63
The data for partition 2 is:

The data for partition 3 is:

The data for partition 4 is:


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


Problem with the tor instalation

2008-02-14 Thread jakob.zink

Hi users!

Im tried to install Tor with DesktopBSD Manager and he tell me the 
follow output:


[Gathering depends for security/tor 
./usr/local/sbin/portupgrade:839:in `get_all_depends': 
recursive dependency (RecursiveDependencyError)

   from /usr/local/sbin/portupgrade:862:in `get_all_depends'
   from /usr/local/lib/ruby/1.8/set.rb:189:in `each'
   from /usr/local/lib/ruby/1.8/set.rb:189:in `each_key'
   from /usr/local/lib/ruby/1.8/set.rb:189:in `each'
   from /usr/local/sbin/portupgrade:861:in `get_all_depends'
   from /usr/local/sbin/portupgrade:862:in `get_all_depends'
   from /usr/local/lib/ruby/1.8/set.rb:189:in `each'
   from /usr/local/lib/ruby/1.8/set.rb:189:in `each_key'
... 20 levels...
   from /usr/local/lib/ruby/1.8/optparse.rb:785:in `initialize'
   from /usr/local/sbin/portupgrade:229:in `new'
   from /usr/local/sbin/portupgrade:229:in `main'
   from /usr/local/sbin/portupgrade:2170





Can someone help me please.
Thanks.
Ps. Sorry for my bad english, im from Austria!
Thanks

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


Re: Trying to recover data from FreeBSD 4.11 system

2008-02-14 Thread Jerry McAllister
On Thu, Feb 14, 2008 at 01:08:35AM -0500, Joe Demeny wrote:

> I have an old Cyrix computer which doesn't post any more.
> 
> It had 3 hard drives. The boot drive had the / partition as well as /usr 
> and /var, and the other 2 drives were configured with Vinum RAID 1 for /home.
> 
> I hooked up what used to be the boot drive in a new system and it showed what 
> looked like some hex numbers and then the error message "BTX halted".
> 
> So, I installed this drive as the second hard drive in a FreeBSD 6.2 system 
> and I tried to mount it, but I got "incorrect super block".
> 
> Looks like I have /dev/ad1, /dev/ad1s1, /dev/ad1s1c, and /dev/ad1s1e.

That sounds very unlikely because /dev/ad1, /dev/ad1s1 and /dev/ad1s1c
overlap each other in naming/identity.   

My first question would be which FreeBSD version was used to create
that disk?   If it is not too old 2.xxx or later, then there should 
be no problem.

Use fdisk to find out how it sees the drive.  Do fdisk ad1
and check out what it says.   Especially look to see what slices
that fdisk thinks it has.   Maybe there is only an  s1  active
with anything in it.  That would be easiest and very common.

Then use bsdlabel to look at what partitions are defined in any 
of the slices. do baslabel ad1s1  (for slice 1,  ad1d2  as well
if there is a slice 2 being used, etc)
>From root, do  bsdlabel ad1d1 and see what partitions are defines.
Remember that partition 'c' is not a real partition, but a label to
define the whole slice to the system (it will have a type of 'unused')
and that in most cases partition 'b' is used for swap (and will have
a type of 'swap'), though it does not have to be swap.
The other partitions; a, d, e, f, g, h, could be real partitions with
something on them.   Almost certainly the 'a' partition will be root
on a bootable slice.

Do an fsck on each real partition.  'fsck /dev/ad1s1a'  etc

Then create a mount point and try to mount it.

  mkdir /olda(the name is arbitrary, just needs to be unigue)

  mount /dev/ad1s1a /olda

If this all doesn't work, then problems are more serious and you may
not be able to recover the data.   Anyway, you will need to try more
extreme measures.

jerry



> 
> Is there a way to mount these filesystems?
> 
> -- 
> Joe Demeny
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Fwd: mysqlclient upgrade

2008-02-14 Thread Dan Nelson
In the last episode (Feb 14), Wouter Oosterveld said:
> Hello people,
> 
>  Doe anyone have experience upgrading the mysqlclient-4.0.x to
>  mysqlclient-5.0.x while retaining mysqlserver-4.0.x and linking
>  php4-mysql-4.4.2_1 against mysqlclient-5.0.x.
> 
>  How would I do this? I got some clue about setting PREFIX and
>  configure option but not much.

portupgrade -o databases/mysql50-client mysql-client-4.0.26_1
portupgrade -f php4-mysql-4.4.2_1 

should be all you need, I think.  You'll probably want to portupgrade
anything else linked to the old mysql client libs too, just to keep
everything at the same version.  Why not upgrade mysql-server, too?

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


Fwd: mysqlclient upgrade

2008-02-14 Thread Wouter Oosterveld
Sorry, I mean linking  php4-mysql-4.4.2_1 against mysqlclient-5.0.x.

Groetjes,

Wouter

-- Forwarded message --
From: Wouter Oosterveld <[EMAIL PROTECTED]>
Date: 14 feb. 2008 17:29
Subject: mysqlclient upgrade
To: freebsd-questions@freebsd.org


Hello people,

 Doe anyone have experience upgrading the mysqlclient-4.0.x to
 mysqlclient-5.0.x while retaining mysqlserver-4.0.x and linking
 php4-mysql-4.4.2_1 against mysqlclient-5.0.x.

 How would I do this? I got some clue about setting PREFIX and
 configure option but not much.

 FreeBSD example.com 5.4-STABLE FreeBSD 5.4-STABLE #0: Fri Oct 21
 13:11:05 CEST 2005
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/STOEPTEGEL  i386

 mod_auth_mysql-2.20_7 Allows users to use MySQL databases for user
 authentication
 mysql-client-4.0.26_1 Multithreaded SQL database (client)
 mysql-server-4.0.26_1 Multithreaded SQL database (server)
 p5-DBD-mysql-3.0002 MySQL driver for the Perl5 Database Interface (DBI)
 php4-mysql-4.4.2_1  The mysql shared extension for php

 Regards,


 Wouter Oosterveld


-- 
[
  [EMAIL PROTECTED] is binnenkort niet meer,
[EMAIL PROTECTED] is mijn nieuwe email-adres.
]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Network Help

2008-02-14 Thread Victor Farah
Alright, I have the machine up to 6.3-STABLE #1 now.  I've changed 
subnets on the one card that pushes the traffic.  There is a run down of 
the machine now.  The machine is still having the weird network traffic 
problem of capping at around 100mbps and then dropping to 10~20mbps the 
next minute.  Any suggestions?


em0: flags=8843 mtu 1500
options=1b
inet 192.168.X.X netmask 0xff00 broadcast 192.168.1.255
ether 00:1b:fc:ef:34:de
media: Ethernet autoselect (1000baseTX )
status: active
em1: flags=8843 mtu 1500
options=1b
inet X.X.X.X netmask 0xff80 broadcast X.X.X.127
ether 00:1b:fc:ef:34:df
media: Ethernet 1000baseTX 
status: active
plip0: flags=108810 mtu 1500
lo0: flags=8049 mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff00

Derek Ragona wrote:

At 10:01 AM 2/13/2008, Victor Farah wrote:

I'm updating the system to 6.3-release now.

All 13 machines are on the same subnet but they are scattered across 
different switchs.


netstat -m:
7716/399/8115 mbufs in use (current/cache/total)
7388/326/7714/25600 mbuf clusters in use (current/cache/total/max)
7380/41 mbuf+clusters out of packet secondary zone in use (current/cache)
0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max)
0/0/0/0 9k jumbo clusters in use (current/cache/total/max)
0/0/0/0 16k jumbo clusters in use (current/cache/total/max)
16705K/751K/17456K bytes allocated to network (current/cache/total)
0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
0/0/0 requests for jumbo clusters denied (4k/9k/16k)
0/6/6656 sfbufs in use (current/peak/max)
0 requests for sfbufs denied
0 requests for sfbufs delayed
0 requests for I/O initiated by sendfile
193374 calls to protocol drain routines

ifconfig -a:
em0: flags=8843 mtu 1500
options=b
inet 192.168.X.X netmask 0xff00 broadcast 192.168.X.255
ether 00:1b:fc:ef:34:de
media: Ethernet autoselect (1000baseTX )
status: active
em1: flags=8843 mtu 1500
options=b
inet X.X.X.X netmask 0xff00 broadcast X.X.X.255
ether 00:1b:fc:ef:34:df
media: Ethernet 1000baseTX 
status: active
plip0: flags=108810 mtu 1500
lo0: flags=8049 mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff00


What IP's are you trying to configure on em0 and em1?  These cannot be 
on the same subnet unless you are trying to bond them, which I don't 
believe is available in 6.X.


-Derek


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


mysqlclient upgrade

2008-02-14 Thread Wouter Oosterveld
Hello people,

Doe anyone have experience upgrading the mysqlclient-4.0.x to
mysqlclient-5.0.x while retaining mysqlserver-4.0.x and linking
php4-mysql-4.4.2_1 against mysqlclient-4.0.x.

How would I do this? I got some clue about setting PREFIX and
configure option but not much.

FreeBSD example.com 5.4-STABLE FreeBSD 5.4-STABLE #0: Fri Oct 21
13:11:05 CEST 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/STOEPTEGEL  i386

mod_auth_mysql-2.20_7 Allows users to use MySQL databases for user
authentication
mysql-client-4.0.26_1 Multithreaded SQL database (client)
mysql-server-4.0.26_1 Multithreaded SQL database (server)
p5-DBD-mysql-3.0002 MySQL driver for the Perl5 Database Interface (DBI)
php4-mysql-4.4.2_1  The mysql shared extension for php

Regards,

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


Re: Network Help

2008-02-14 Thread Derek Ragona

At 09:50 AM 2/14/2008, Victor Farah wrote:
Alright, I have the machine up to 6.3-STABLE #1 now.  I've changed subnets 
on the one card that pushes the traffic.  There is a run down of the 
machine now.  The machine is still having the weird network traffic 
problem of capping at around 100mbps and then dropping to 10~20mbps the 
next minute.  Any suggestions?


em0: flags=8843 mtu 1500
options=1b
inet 192.168.X.X netmask 0xff00 broadcast 192.168.1.255
ether 00:1b:fc:ef:34:de
media: Ethernet autoselect (1000baseTX )
status: active
em1: flags=8843 mtu 1500
options=1b
inet X.X.X.X netmask 0xff80 broadcast X.X.X.127
ether 00:1b:fc:ef:34:df
media: Ethernet 1000baseTX 
status: active
plip0: flags=108810 mtu 1500
lo0: flags=8049 mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff00


If your switch this system is connected to is managed, you can check the 
ports these connect to for collisions of other issues.


When ethernet throughput degrades it can be caused by many factors like the 
stream sending the packets slowing down, or transmit errors causing 
retransmission of packets.  Often once there are errors, they grow 
exponentially because of retransmission etc.


You should try to isolate the exact conditions you have when you see the 
traffic flow degrade.


-Derek

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

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


RE: PHP,Apache question

2008-02-14 Thread Darryl Hoar

On Wed, 13 Feb 2008, Darryl Hoar wrote:

> when I try to start apache using:
> #/usr/local/sbin/apachectl start
> I get the following:
> Syntax error on line 241 of /usr/local/etc/apache/httpd.conf:
> Cannot load /usr/local/libexec/apache/libphp4.so into server: Cannot open
> "/usr/local/libexec/apache/libphp4.so"
> /usr/local/sbin/apachectl start: httpd could not be started
> when I look in the /usr/local/libexec/apache directory, I do not see
> libphp4.so
>
> What do I need to do to fix this ?

I'll answer my own question.  When I installed php4, I failed
to select build apache module from the config screen.  Once I did this,
libphp4.so was built.  Copied it to the correct location
(/usr/local/libexec/apach) and apache was happy again.


>>try installing lang/php4.  Have you checked out the Apache section of the
>>handbook?  There's a section on setting up Apache and PHP:

>>>You'll notice in my original email that one of the steps I performed was
>>>installing
>>>lang/php4.

>>http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/network-apache.h
tml

>>Also, unless you're needing to stick with older version for compatibility
>>reasons newer version of Apache and PHP available in your ports tree.

>>>Yes, I am going with the 'older' version for some compatability issues
with
>>>software I will be using.

>>Kevin


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


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.20.4/1276 - Release Date: 2/13/2008
9:41 AM


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


Re: tar backup script

2008-02-14 Thread Derek Ragona

At 09:57 PM 2/13/2008, Steel City Phantom wrote:

this isn't really bsd specific but i still need help with it.  im writing a
backup script  a clip from that script is this:

find /usr/local/www/data-dist/ -name config.php >
/usr/local/backupScript/include
find /usr/local/www/data-dist/ -name ClientFiles >>
/usr/local/backupScript/include

tar cvf /usr/local/backupScript/files/www-client-files.tar -I
/usr/local/backupScript/include /usr/local/www/data-dist

obviously im creating an include file from a directory.  when the tar runs,
it correctly adds all the files in the include file.  but once that is
finished, for some reason tar then goes back and adds all the files that are
in the /usr/local/www/data-dist directory, even the ones in the include
file.  i was under the impression that the -I command would add ONLY the
files that are listed in the include.  why is it adding those and then after
finishing that, adding all the others?


As you have found -I which is the same as -T will read the file, and in 
create mode add those files to the tar volume, but then the next param is 
read as another pattern to archive.  Why not do just:

tar cvf /usr/local/backupScript/files/www-client-files.tar -I
/usr/local/backupScript/include

-Derek

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

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


Re: Help with su on 6.3

2008-02-14 Thread Derek Ragona

At 08:16 AM 2/14/2008, Alex Zbyslaw wrote:

Derek Ragona wrote:

I usually just set the shell to /usr/bin/false or /usr/sbin/nologin for 
users like these.  Of course you can't test these interactively with 
su.  If you want to do that, give the account a valid login shell, test 
it, then set it to false or nologin.
It's not clear to me what you mean by "you can't test these interactively 
with su".  If you mean you can't su to them and get a shell; that's wrong.


su -m account_with_fake_shell

--Alex


Alex,

What I meant to say was that you can:
su -m account_with_fake_shell

But you can't:
su - account_with_fake_shell

and then test any command and scripts in the user's environment.

-Derek

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

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


Re: llmozlib fails to build (unofficial port)

2008-02-14 Thread Aline de Freitas
Em Thursday 14 February 2008 11:25:28 Aline de Freitas escreveu:
> I'm triyng to build llmozlib (which is a dependency for secondlife viewer)
> from the port provided in
> http://wiki.secondlife.com/wiki/Compiling_the_viewer_(FreeBSD).
>
> The build fails in a way that looks very easy to solve, but I couldn't
> manage it.
>
> The error message:
> /usr/bin/ld: cannot find -lmozjs
>
> c++ is invoked with:
> -L../../dist/bin -lmozjs
>
> and in the ../dist/bin directory we have:
> [EMAIL PROTECTED]
> /usr/ports/local/llmozlib/work/llmozlib/build_mozilla/objdir-mozilla-freebs
>d/dist/bin]# ls -lh libmozjs.so.1.0
> lrwxr-xr-x  1 root  wheel28B 14 Fev 10:30
> libmozjs.so.1.0 -> ../../js/src/libmozjs.so.1.0
>
> The link is not broken and the permissions looks right to me:
>
> [EMAIL PROTECTED]
> /usr/ports/local/llmozlib/work/llmozlib/build_mozilla/objdir-mozilla-freebs
>d/js/src]# ls -lh libmozjs.so.1.0
> -rwxr-xr-x  1 root  wheel   693K 14 Fev 10:30 libmozjs.so.1.0
>
> Does any one have any idea about what may be wrong here?
>
> Thanks in advance.

Replying to myself I've solved with

ln -s libmozjs.so.1.0 libmozjs.so

This is because I realized in the ld manpage that the linker when invoked 
with -larchive looks for a library libarchive.so But a question remains. How 
could I link a library which name is libarchive.so.1.0 ?

-- 
Aline de Freitas - Chave pública: ID DE632016 / keys.indymedia.org
gpg --keyserver keys.indymedia.org --recv-keys DE632016


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


Re: tar backup script

2008-02-14 Thread Lowell Gilbert
"Steel City Phantom" <[EMAIL PROTECTED]> writes:

> this isn't really bsd specific but i still need help with it.  im writing a
> backup script  a clip from that script is this:
>
> find /usr/local/www/data-dist/ -name config.php >
> /usr/local/backupScript/include
> find /usr/local/www/data-dist/ -name ClientFiles >>
> /usr/local/backupScript/include
>
> tar cvf /usr/local/backupScript/files/www-client-files.tar -I
> /usr/local/backupScript/include /usr/local/www/data-dist
>
> obviously im creating an include file from a directory.  when the tar runs,
> it correctly adds all the files in the include file.  but once that is
> finished, for some reason tar then goes back and adds all the files that are
> in the /usr/local/www/data-dist directory, even the ones in the include
> file.  i was under the impression that the -I command would add ONLY the
> files that are listed in the include.  why is it adding those and then after
> finishing that, adding all the others?

You specified /usr/local/www/data-dist on the command line, so you get
the directory and everything in it.  The -I command *does* add just
the files in the include file, but then specifying data-dist
explicitly gets everything in it.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: tar backup script

2008-02-14 Thread The MadDaemon
I believe the -T switch in tar is for "include the files in {file}"

tar cvf myfile.tar -T path/to/include


On 2/14/08, Wael Nasreddine <[EMAIL PROTECTED]> wrote:
> This One Time, at Band Camp, Steel City Phantom <[EMAIL PROTECTED]> said,
> On Wed, Feb 13, 2008 at 10:57:22PM -0500:
> > this isn't really bsd specific but i still need help with it.  im writing
> a
> > backup script  a clip from that script is this:
>
> > find /usr/local/www/data-dist/ -name config.php >
> > /usr/local/backupScript/include
> > find /usr/local/www/data-dist/ -name ClientFiles >>
> > /usr/local/backupScript/include
>
> > tar cvf /usr/local/backupScript/files/www-client-files.tar -I
> > /usr/local/backupScript/include /usr/local/www/data-dist
>
> > obviously im creating an include file from a directory.  when the tar
> runs,
> > it correctly adds all the files in the include file.  but once that is
> > finished, for some reason tar then goes back and adds all the files that
> are
> > in the /usr/local/www/data-dist directory, even the ones in the include
> > file.  i was under the impression that the -I command would add ONLY the
> > files that are listed in the include.  why is it adding those and then
> after
> > finishing that, adding all the others?
>
> Why won't you just do it this way??
>
> $ tar cvf /usr/local/backupScript/files/www-client-files.tar $( cat
> /usr/local/backupScript/include )
>
> --
> Wael Nasreddine
> http://wael.nasreddine.com
> PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2
>
> .: An infinite number of monkeys typing into GNU emacs,
>would never make a good program. (L. Torvalds 1995) :.
>


-- 
It said "use Linux 2.4 kernel or better" so I installed FreeBSD.  Now
everything runs better.  Why didn't they just tell me to do that to
begin with?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Help with su on 6.3

2008-02-14 Thread Alex Zbyslaw

Derek Ragona wrote:

I usually just set the shell to /usr/bin/false or /usr/sbin/nologin 
for users like these.  Of course you can't test these interactively 
with su.  If you want to do that, give the account a valid login 
shell, test it, then set it to false or nologin.


It's not clear to me what you mean by "you can't test these 
interactively with su".  If you mean you can't su to them and get a 
shell; that's wrong.


su -m account_with_fake_shell

--Alex

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


RE: PHP,Apache question

2008-02-14 Thread Darryl Hoar
Subject: Re: PHP,Apache question


On Wed, 13 Feb 2008, Darryl Hoar wrote:

> when I try to start apache using:
> #/usr/local/sbin/apachectl start
> I get the following:
> Syntax error on line 241 of /usr/local/etc/apache/httpd.conf:
> Cannot load /usr/local/libexec/apache/libphp4.so into server: Cannot open
> "/usr/local/libexec/apache/libphp4.so"
> /usr/local/sbin/apachectl start: httpd could not be started
> when I look in the /usr/local/libexec/apache directory, I do not see
> libphp4.so
>
> What do I need to do to fix this ?

>>try installing lang/php4.  Have you checked out the Apache section of the
>>handbook?  There's a section on setting up Apache and PHP:

You'll notice in my original email that one of the steps I performed was
installing
lang/php4.

>>http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/network-apache.h
tml

>>Also, unless you're needing to stick with older version for compatibility
>>reasons newer version of Apache and PHP available in your ports tree.

Yes, I am going with the 'older' version for some compatability issues with
software I will be using.

>>Kevin


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


llmozlib fails to build (unofficial port)

2008-02-14 Thread Aline de Freitas
I'm triyng to build llmozlib (which is a dependency for secondlife viewer) 
from the port provided in 
http://wiki.secondlife.com/wiki/Compiling_the_viewer_(FreeBSD).

The build fails in a way that looks very easy to solve, but I couldn't manage 
it.

The error message:
/usr/bin/ld: cannot find -lmozjs

c++ is invoked with:
-L../../dist/bin -lmozjs

and in the ../dist/bin directory we have:
[EMAIL PROTECTED] 
/usr/ports/local/llmozlib/work/llmozlib/build_mozilla/objdir-mozilla-freebsd/dist/bin]#
 
ls -lh libmozjs.so.1.0 
lrwxr-xr-x  1 root  wheel28B 14 Fev 10:30 
libmozjs.so.1.0 -> ../../js/src/libmozjs.so.1.0

The link is not broken and the permissions looks right to me:

[EMAIL PROTECTED] 
/usr/ports/local/llmozlib/work/llmozlib/build_mozilla/objdir-mozilla-freebsd/js/src]#
 
ls -lh libmozjs.so.1.0
-rwxr-xr-x  1 root  wheel   693K 14 Fev 10:30 libmozjs.so.1.0

Does any one have any idea about what may be wrong here?

Thanks in advance.
-- 
Aline de Freitas - Chave pública: ID DE632016 / keys.indymedia.org
gpg --keyserver keys.indymedia.org --recv-keys DE632016


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


SACK retransmit single packet although ack announces multiple gaps

2008-02-14 Thread 刘真

HI; 

thanks in advance!

I am doing my test with SACK on FreeBSD 7.  When the sender receives ACKs with 
sack information, even if there are multiple gaps in the sack information, 
after 3 duplicate ACKs, the sender only retransmit 1 packet during that RTT.  
there are something may need to be set properly :

net.inet.sack.maxholes(default value :128)
net.inet.sack.globalholes(0)
net.inet.sack.globalmaxholes(65536)

but i found no instructions on how to set them, so i just keep their default 
values. is the performance related to these parameters, how can i set them... ? 
if not, who knows what would be the problem...

thanks!

yhen
_
天凉了,添衣了,心动了,“七件”了 
http://get.live.cn
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Evolution just sluggish, slow and slow

2008-02-14 Thread sergio lenzi

Em Qua, 2008-02-13 às 22:51 -0500, E. J. Cerejo escreveu:

> I never had this problem before with evolution, but since upgrading to 
> FBSD 6.3 from 6.2, evolution just takes about a minute to start and 
> consumes 98% of my CPU.  I recently rebuild it from source but still too 
> slow, no improvement.  Any ideas?  Second time posting this problem. 
> There are no errors when I start it from terminal.
> It usually only took 3 seconds to start.
> ___


Humm interesting...  can you please explain what do you mean
from "start it from terminal" ???

I can trace the problem if I have a working situation 


Thanks for your attention,

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


Re: downloading video from http://video.google.com/googleplayer.swf?docId=...

2008-02-14 Thread Matthias Apitz
El día Thursday, February 14, 2008 a las 09:22:21AM +0100, Matthias Apitz 
escribió:

> Thx for your hint. I've had to fetch the port by hand because
> it's not in 6.2R and as well the urlgrabber www/py-urlgrabber;
> 
> but now it's working as I wanted; thx again;

The resulting *.flv files play fine with mplayer. I wanted to
convert them to *.swf file and stumbled over the port
multimedia/p5-FLV-Info. Installed it and flvinfo works fine:

$ flvinfo RicardoAlarcnconlosestudiantescubanos1parte.flv 
File name  RicardoAlarcnconlosestudiantescubanos1parte.flv
File size  21521449 bytes
Duration   about 878.942 seconds
Video  13185 frames
  codecSorenson H.263
  height   240
  type interframe/keyframe
  width320
Audio  33648 packets
  format   MP3
  rate 22050 Hz
  size 16 bit
  type mono
Meta   3 events

but the converter flv2swf fails with:

$ flv2swf -v RicardoAlarcnconlosestudiantescubanos1parte.flv 
RicardoAlarcnconlosestudiantescubanos10parte.swf
Cannot set metadata at /usr/local/lib/perl5/site_perl/5.8.8/FLV/MetaTag.pm line 
143.

any idea or any other converter? thx

matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: LDAP user authentication?

2008-02-14 Thread Jon Theil Nielsen
>  >I have googled for a very long time, but I haven't found any useful
>  > howto on this issue. Well, there is
>  > 
> http://www.cultdeadsheep.org/FreeBSD/docs/Quick_and_dirty_FreeBSD_5_x_and_nss_ldap_mini-HOWTO.html
>  > but that seems to be a bit confusing an not up-to-date. I guess it
>  > _should_ be possible - and indeed very useful (especially combinde
>  > with Samba PDC and an easily maintainlable mail server). So please, if
>  > you have any experiences or knowledge of a useful description..!
>  >
>  > Regards,
>  > Jon Theil Nielsen


2008/2/14, Dave <[EMAIL PROTECTED]>:
> Hi,
> I am far from an expert, in fact i'm still learning. I don't know a lot
>  of the jargon, that is i still get the more intense terms mixed up, but i've
>  been banging my head against ldap for about a month now and am starting to
>  show results. Right now i'm using ldap in jails on freebsd 6.2 as i don't
>  have all the bugs worked out to go production. I've got a directory that is
>  a user addressbook as well as handles authentication of users, both for the
>  jailed ldap server, but for two other jailed environments, one the ldap
>  client, the other just a test machine. I've also authenticated a linux box
>  against this server that works fine with a few tweaks. Right now i've got a
>  jail specifically for testmail setup i'm going to try to hook in email
>  services, pop/imap, smtp, etc. in to ldap.
> If you have im abilities i can talk more there, but basically it's
>  definitely not trivial to get going, in my opinion others might differ.
>  Dave.
>
I have some experience with FreeBSD but not with running in jails. I
migth be a solution, but I don't know. What I would really like was a
thorough desription of setting LDAP authentication up for the wholw
system. But I might read up on jails. Thanks anyway.

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


Re: Trying to recover data from FreeBSD 4.11 system

2008-02-14 Thread Olivier Nicole
> possibly try fsck - i don't know (my first FreeBSD was 5.*) but maybe UFS 
> changed a bit?

Nope, I have had machines that I upgraded from 4 to 5 and 6 without
changing the hard disk, and without changing the file system.

> So, I installed this drive as the second hard drive in a FreeBSD 6.2 system
> and I tried to mount it, but I got "incorrect super block".

With no old disk installed, what is your mounted disks/partitions?
Result of mount -p.

If you have it what was the result of mount -p on the old machine.

What is the result of "fdisk /dev/ad0" ?

Install the old hard disk, what is the result of "fdisk /dev/ad1" ?

Olivier

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


Re: archiving all IMAP mail?

2008-02-14 Thread Wael Nasreddine
This One Time, at Band Camp, C Thala <[EMAIL PROTECTED]> said, On Thu, Feb 14, 
2008 at 04:15:03AM -0500:
> On Thu, Feb 14, 2008 at 02:38:46AM -0600, Jack Barnett wrote:
> > This is the setup I use:

> > external accounts (pop, imap, etc) <->fetchmail -> procmail ->
> > filter&archive -> imap
> > local accounts -> procmail -> filter&archive -> imap

> > Then my imap clients connect to the imap server.

> Please explain what you mean by "local accounts".

> If I'm not mistaken from reading your reply, this implies one of two
> things:

> 1. That I have two IMAP servers, one where I get all my mail, and a
>second one where I push mail after I have filtered/archived it.
>The first one should only by used by fetchmail, the second one is
>read by my various IMAP MUAs.

> 2. That I somehow have write access to the backend of my IMAP
>server, so I can pull all the mail from INBOX, do my
>archiving/filtering, and then repush to various folders and read
>from there.

> Is that correct?

This isn't how I have it, I suppose Jack has a similar setup to mine,
I'll detail my setup:

First I have postfix installed with sasl/mysql backend, in MySQL I
have all the virtual accounts for various domains, for example I have
an entry for [EMAIL PROTECTED] which states that it's a normail
Mailbox, not an alias it also guides postfix/courier-imap to the
folder where the e-mails are stored.

When you send an email to [EMAIL PROTECTED], it goes to the vmail
folder, Now using the package courier-imap which BTW provides both
IMAP and POP3 Server, the email received by postfix can be checked
using POP3 and the username [EMAIL PROTECTED] (Full username because
this way I can have virtual domains, and the second most important
reason is below)

Now I have a normal UNIX user account 'wael' which has fetchmail that
downloads emails from many accounts, Gmail, Hotmail, Yahoo, and local
accounts (Which Jack mentioned as well and it's [EMAIL PROTECTED]
for my case), fetchmail spits the mail out to procmail which do all
the filtering and deliver the email to /home/wael/.mail folder (If
you left the courier-imap config files as they are then you should
deliver to Mailfolder instead of .mail, check /usr/local/etc/courier-imap/*)

For the IMAP part, When I Use 'wael' instead of '[EMAIL PROTECTED]'
it doesn't use the vmail but the UNIX user instead (see below) so it
delivers whatever is under /home/wael/.mail :)

The trick is that courier-imap has authlib backend (authdaemon) , and
authlib has mysql/pam backends, so when u request mails for
[EMAIL PROTECTED] it matches mysql qnd goes to virtual mail dir,
when you send wael it matches pam and so mail on home folder

If you need more assistance don't hesitate to ask...

-- 
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
   would never make a good program. (L. Torvalds 1995) :.


pgpBm0JZhX3ju.pgp
Description: PGP signature


RE: howto use Konqueror as root while another user ?

2008-02-14 Thread Da Rock



> Date: Thu, 14 Feb 2008 09:30:51 +
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> CC: [EMAIL PROTECTED]
> Subject: Re: howto use Konqueror as root while another user ?
> 
>>
>> hi
>>
>> howto use Konqueror as root while another user from the wheel group ?
>> I've tried kdesu konqueror, but it doesn't work and I get a lot of errors.
>> I'm using freeBSD 6.3 with KDE 3.5
>>
> 
> There's an item on the KDE menu for this. I'm at work now so can't check
> exactly where, but one of the items near the bottom of the main menu -
> Useful Links or something IIRC. It's on the second, or even thrid level
> menu and the item is called something like ''File Manager (Superuser)''.
> Selecting it pops up a dialogue asking for the root password.
> 
> Alternatively, on the Run dialogue there is an option (checkbox?) to run
> as a different user.
> 
> HTH
> 
> Regards,
> 
> Mark
> 
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

I believe its under system->file or utilities. And yes, it is few levels deep 
so look for it carefully.
_
Your Future Starts Here. Dream it? Then be it! Find it at www.seek.com.au
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Eseek%2Ecom%2Eau%2F%3Ftracking%3Dsk%3Ahet%3Ask%3Anine%3A0%3Ahot%3Atext&_t=764565661&_r=OCT07_endtext_Future&_m=EXT___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: archiving all IMAP mail?

2008-02-14 Thread C Thala
On Thu, Feb 14, 2008 at 02:38:46AM -0600, Jack Barnett wrote:
> This is the setup I use:
>
> external accounts (pop, imap, etc) <->fetchmail -> procmail ->
> filter&archive -> imap
> local accounts -> procmail -> filter&archive -> imap
>
> Then my imap clients connect to the imap server.

Please explain what you mean by "local accounts".

If I'm not mistaken from reading your reply, this implies one of two
things:

1. That I have two IMAP servers, one where I get all my mail, and a
   second one where I push mail after I have filtered/archived it.
   The first one should only by used by fetchmail, the second one is
   read by my various IMAP MUAs.

2. That I somehow have write access to the backend of my IMAP
   server, so I can pull all the mail from INBOX, do my
   archiving/filtering, and then repush to various folders and read
   from there.

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


Re: Trying to recover data from FreeBSD 4.11 system

2008-02-14 Thread Wojciech Puchar


So, I installed this drive as the second hard drive in a FreeBSD 6.2 system
and I tried to mount it, but I got "incorrect super block".

Looks like I have /dev/ad1, /dev/ad1s1, /dev/ad1s1c, and /dev/ad1s1e.


no ad1s1a?



Is there a way to mount these filesystems?


possibly try fsck - i don't know (my first FreeBSD was 5.*) but maybe UFS 
changed a bit?


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


Re: archiving all IMAP mail?

2008-02-14 Thread Wael Nasreddine
This One Time, at Band Camp, Jack Barnett <[EMAIL PROTECTED]> said, On Thu, Feb 
14, 2008 at 02:38:46AM -0600:
>
> This is the setup I use:
>
> external accounts (pop, imap, etc) <->fetchmail -> procmail -> 
> filter&archive -> imap
> local accounts -> procmail -> filter&archive -> imap
>
> Then my imap clients connect to the imap server.
>
> The imap server I use is courier-imap (has ssl which is nice)
> then use Thunderbird for the clients (runs multiply platforms)
>
> This setup works well, everything is auto-archived and also can get access 
> to my mail from anyplace and it's the "same".
> It scales well too, fairly secure and have once place to back up all my 
> emails.
This is exactly my setup as well, Except I use Mutt for a client, or
If I'm not on my PC I use horde which is on my server as well, so
whereever I am, my e-mail is always organised, I never lose an email,
plus the whole .mail folder is rsynced to another server so that's my
extra backup.


>
> C Thala wrote:
>> I need to strictly archive all mail sent to me.

>> For some time I've been using fetchmail/getmail from ports to suck down
>> (every 5 minutes or so) the IMAP mail sent by my ISP and send it through
>> procmail where I make a copy and then archive it (I also do my filtering
>> into various mailboxes in procmail).

>> I then use my mail user agent to read the mail from a local machine.

>> This has worked fine all these years, but now I am switching to the
>> paradigm where I am checking mail from multiple clients, so I plan on
>> using IMAP-aware user agents.

>> As I understand it, these IMAP-aware user agents operate directly on the
>> IMAP spool. How can I archive my mail before it reaches them? Also, how
>> do I do my filtering to various mailboxes?
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to 
>> "[EMAIL PROTECTED]"

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

-- 
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
   would never make a good program. (L. Torvalds 1995) :.


pgp0aXSKzipOq.pgp
Description: PGP signature


Re: OffTopic: FreeBSD Lists doesn't add Reply-to Header, workaround?

2008-02-14 Thread Wael Nasreddine
This One Time, at Band Camp, Erwan David <[EMAIL PROTECTED]> said, On Thu, Feb 
14, 2008 at 09:03:06AM +0100:
> Le 02/14/08 08:50, Wael Nasreddine a écrit:
>> Hello,
>> First of all I am so sorry to send this here, but it doesn't fit in
>> any mailing list, Not procmail nor mutt, So I apologize again for
>> being that off-topic.
>> All FreeBSD Lists does not add the header Reply-to to the e-mail sent
>> and thus when I receive an email from the List and hit reply, it
>> replies to the sender not the list, and If I choose reply to all, it
>> replies to the Sender and Cc to the list, this is not at all good,
>> I'll explain below.
>> I've almost the setup of every command-line lover, fetchmail+procmail
>> as backend, and Mutt to read the email, procmail Automatically detects
>> the e-mail coming from a Mailing list due to the following set of
>> rules[1], anyway the problem I am having is not good because everyone
>> who has a similar setup as me, will receive the Reply that I have sent
>> outside the List folder because none of the rules above matches this
>> email.
>> Probable solution: I thought of expanding the rules above to, before
>> sending the email to the folder, check if Reply-to is present, if not
>> Add the e-mail with the header "X-BeenThere" to a new Reply-to header
>> using formail and then move it to the folder...
>> So what do you think guys? Could this be a good solution? Any
>> easier/better solution? How do you handle it guys??
>
> Since you use mutt you can use the subscribes option, then hit L 
> (reply-to-list).
Thanks that actually worked out nicely...

I see you have the same problem I used to have, your e-mail has not
been sent to the list at all :)

-- 
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
   would never make a good program. (L. Torvalds 1995) :.


pgpVvCn1Mqdoc.pgp
Description: PGP signature


Re: archiving all IMAP mail?

2008-02-14 Thread Jack Barnett


This is the setup I use:

external accounts (pop, imap, etc) <->fetchmail -> procmail -> 
filter&archive -> imap

local accounts -> procmail -> filter&archive -> imap

Then my imap clients connect to the imap server.

The imap server I use is courier-imap (has ssl which is nice)
then use Thunderbird for the clients (runs multiply platforms)

This setup works well, everything is auto-archived and also can get 
access to my mail from anyplace and it's the "same".
It scales well too, fairly secure and have once place to back up all my 
emails.



C Thala wrote:

I need to strictly archive all mail sent to me.

For some time I've been using fetchmail/getmail from ports to suck down
(every 5 minutes or so) the IMAP mail sent by my ISP and send it through
procmail where I make a copy and then archive it (I also do my filtering
into various mailboxes in procmail).

I then use my mail user agent to read the mail from a local machine.

This has worked fine all these years, but now I am switching to the
paradigm where I am checking mail from multiple clients, so I plan on
using IMAP-aware user agents.

As I understand it, these IMAP-aware user agents operate directly on the
IMAP spool. How can I archive my mail before it reaches them? Also, how
do I do my filtering to various mailboxes?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
  

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


archiving all IMAP mail?

2008-02-14 Thread C Thala
I need to strictly archive all mail sent to me.

For some time I've been using fetchmail/getmail from ports to suck down
(every 5 minutes or so) the IMAP mail sent by my ISP and send it through
procmail where I make a copy and then archive it (I also do my filtering
into various mailboxes in procmail).

I then use my mail user agent to read the mail from a local machine.

This has worked fine all these years, but now I am switching to the
paradigm where I am checking mail from multiple clients, so I plan on
using IMAP-aware user agents.

As I understand it, these IMAP-aware user agents operate directly on the
IMAP spool. How can I archive my mail before it reaches them? Also, how
do I do my filtering to various mailboxes?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: downloading video from http://video.google.com/googleplayer.swf?docId=...

2008-02-14 Thread Matthias Apitz
El día Wednesday, February 13, 2008 a las 06:46:37PM -0600, Mark Kane escribió:

> Hi.
> 
> Try multimedia/clive which does YouTube, Google, and some others as
> well. I just tried it on the URL you provided and the video downloaded
> fine. 
> 
> Hope that helps,

Thx for your hint. I've had to fetch the port by hand because
it's not in 6.2R and as well the urlgrabber www/py-urlgrabber;

but now it's working as I wanted; thx again;

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"