How to change all /bin/bash at /etc/passwd to /sbin/nologin?

2006-10-09 Thread James Corteciano

Dear guru's:

How to change all word lines of /bin/bash at /etc/passwd file to
/sbin/nologin in just  a single line command?

I am looking forward for your great responses.

Thank you.

Regards,

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


Re: How to change all /bin/bash at /etc/passwd to /sbin/nologin?

2006-10-09 Thread Lothar Braun
Hi James,

On Monday 09 October 2006 09:24, James Corteciano wrote:
> How to change all word lines of /bin/bash at /etc/passwd file to
> /sbin/nologin in just  a single line command?

I think you can do this with:

sed 's!/bin/bash$!/sbin/nologin!' /etc/passwd > /etc/passwd

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


Re: How to change all /bin/bash at /etc/passwd to /sbin/nologin?

2006-10-09 Thread pbdlists
sed -i .backup "s,:/bin/bash$,:/sbin/nologin," /etc/passwd 

But at least on my FBSD systems bash is in /usr/local/bin/bash, not
/bin/bash! And what would you need this for?

Cheers,

Kurt

On Mon, Oct 09, 2006 at 03:24:30PM +0800, James Corteciano wrote:
> Dear guru's:
> 
> How to change all word lines of /bin/bash at /etc/passwd file to
> /sbin/nologin in just  a single line command?
> 
> I am looking forward for your great responses.
> 
> Thank you.
> 
> Regards,
> 
> -- 
> James G. Corteciano
> FreeBSD User
> ___
> 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: How to change all /bin/bash at /etc/passwd to /sbin/nologin?

2006-10-09 Thread Cristian Mijea

On 10/9/06, James Corteciano <[EMAIL PROTECTED]> wrote:

Dear guru's:

How to change all word lines of /bin/bash at /etc/passwd file to
/sbin/nologin in just  a single line command?

I am looking forward for your great responses.

Thank you.

Regards,

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




if you have mc (midnight commander) browse to /etc/passwd, edit -> replace
if you don't then
pkg_add -r mc

or
vi /etc/passwd
:%s//bin/bash//sbin/nologin/cg   (:%s/oldstring/newstring/cg)
ZZ
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to change all /bin/bash at /etc/passwd to /sbin/nologin?

2006-10-09 Thread Matthias Apitz
El día Monday, October 09, 2006 a las 09:41:38AM +0200, Lothar Braun escribió:

> Hi James,
> 
> On Monday 09 October 2006 09:24, James Corteciano wrote:
> > How to change all word lines of /bin/bash at /etc/passwd file to
> > /sbin/nologin in just  a single line command?
> 
> I think you can do this with:
> 
> sed 's!/bin/bash$!/sbin/nologin!' /etc/passwd > /etc/passwd

DONT DO THAT this way. The result would be that your actual
shell truncates the file '/etc/passwd' to zero length and
then launches the 'sed'.

In FreeBSD you must use 'vipw' (see its man page) and in the
vi launched by 'vipw' you may use something like:

:1,$s-/bin/bash$-/sbin/nologin-

Only do this if your familar with 'vi'.

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC PICA 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.oclcpica.org/ http://guru.UnixLand.de/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to change all /bin/bash at /etc/passwd to /sbin/nologin?

2006-10-09 Thread James Corteciano

Hi Lothar,

Thanks for your response. How about if all uid's that >=500 at passwd file
must change from /bin/bash to /sbin/nologin?

Thank you.

Best regards,

James C.
FreeBSD User


On 10/9/06, Lothar Braun <[EMAIL PROTECTED]> wrote:


Hi James,

On Monday 09 October 2006 09:24, James Corteciano wrote:
> How to change all word lines of /bin/bash at /etc/passwd file to
> /sbin/nologin in just  a single line command?

I think you can do this with:

sed 's!/bin/bash$!/sbin/nologin!' /etc/passwd > /etc/passwd

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





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


Re: How to change all /bin/bash at /etc/passwd to /sbin/nologin?

2006-10-09 Thread Lothar Braun
On Monday 09 October 2006 10:03, Matthias Apitz wrote:
> > sed 's!/bin/bash$!/sbin/nologin!' /etc/passwd > /etc/passwd
>
> DONT DO THAT this way. The result would be that your actual
> shell truncates the file '/etc/passwd' to zero length and
> then launches the 'sed'.

Damn. I just built the regexp but didn't check what the command does before i 
sent it to the list. Sorry for that. I hope nobody killed his pw-file because 
of my advice :/

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


RE: Make buildworld fail due to sendmail/sasl installation.

2006-10-09 Thread Jesse Geddis
Well my last copying the header files all over the place apparently helped
because now I'm down to the linker not being able to find the libraries.
Suggestions?

===> libexec/mail.local
cc -O -pipe  -I/usr/src/libexec/mail.local/../../contrib/sendmail/include
-I. -I/usr/local/include/sasl -DSASL=2  -c
/usr/src/libexec/mail.local/../../contrib/sendmail/mail.local/mail.local.c
cc -O -pipe  -I/usr/src/libexec/mail.local/../../contrib/sendmail/include
-I. -I/usr/local/include/sasl -DSASL=2   -L/usr/local/lib/sasl2 -o
mail.local mail.local.o
/usr/obj/usr/src/libexec/mail.local/../../lib/libsm/libsm.a -lsasl2
/usr/obj/usr/src/sparc64/usr/bin/ld: cannot find -lsasl2
*** Error code 1

Stop in /usr/src/libexec/mail.local.
*** Error code 1

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

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

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

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jesse Geddis
Sent: Sunday, October 08, 2006 4:36 PM
To: freebsd-questions@freebsd.org
Subject: Make buildworld fail due to sendmail/sasl installation.

Ever since I installed the package sendmail+tls+sasl2-8.13.8 I
haven't been able to make buildworld on my system. I get file not found
errors for some sasl header files. I'll attach the pertinent portion of the
failure below. Seems simple enough, however, I haven't been able to get
around it. It calls for the sasl files in the correct directory
ns1:/usr/local/include/sasl# ls
hmac-md5.h  md5global.h sasl.h  saslutil.h
md5.h   prop.h  saslplug.h
The files are there. Still nothing. I've tried copying them to various
places to get around it to no avail
/usr/src/contrib/sendmail/src
/usr/src/contrib/sendmail/src/sasl
/usr/src/contrib/sendmail/libmilter
/usr/src/contrib/sendmail/libmilter/sasl
/usr/local/include

Not sure what to do with this, seems to me it would probably make things
easier on a lot of folks if sendmail was treated similar to how perl is on
freebsd these days, where it isn't integral. Not using the integral sendmail
has been a bit of a nightmare. Thanks so much for any help

Jesse

mkdep -f .depend -a-I/usr/src/lib/libmilter/../../contrib/sendmail/src
-I/usr/src/lib/libmilter/../../contrib/sendmail/include -I. -DNOT_SENDMAIL
-Dsm_snprintf=snprintf -D_THREAD_SAFE -DNETINET6 -I/usr/local/include/sasl
-DSASL=2 /usr/src/lib/libmilter/../../contrib/sendmail/libmilter/main.c
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/engine.c
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/listener.c
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/handler.c
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/comm.c
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/smfi.c
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/signal.c
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/sm_gethost.c
/usr/src/lib/libmilter/../../contrib/sendmail/libsm/errstring.c
/usr/src/lib/libmilter/../../contrib/sendmail/libsm/strl.c
In file included from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/libmilter.h:31,
 from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/main.c:15:
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:134:25:
sasl/sasl.h: No such file or directory
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:135:29:
sasl/saslutil.h: No such file or directory
In file included from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/libmilter.h:31,
 from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/engine.c:14:
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:134:25:
sasl/sasl.h: No such file or directory
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:135:29:
sasl/saslutil.h: No such file or directory
In file included from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/libmilter.h:31,
 from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/listener.c:18:
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:134:25:
sasl/sasl.h: No such file or directory
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:135:29:
sasl/saslutil.h: No such file or directory
In file included from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/libmilter.h:31,
 from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/handler.c:14:
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:134:25:
sasl/sasl.h: No such file or directory
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:135:29:
sasl/saslutil.h: No such file or directory
In file included from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/libmilter.h:31,
 from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/comm.c:14:
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:134:25:
sasl/sasl.h: No such file or directory
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h

Re: How to change all /bin/bash at /etc/passwd to /sbin/nologin?

2006-10-09 Thread James Corteciano

Dear guru's,

Thanks all you guys for the great response. Now, I've done it using
text-editor of NANO and there is Find, and To Replace section which makes
big help to replacing the whole word.

Best regards,

James Corteciano
FreeBSD User


On 10/9/06, Lothar Braun <[EMAIL PROTECTED]> wrote:


On Monday 09 October 2006 10:03, Matthias Apitz wrote:
> > sed 's!/bin/bash$!/sbin/nologin!' /etc/passwd > /etc/passwd
>
> DONT DO THAT this way. The result would be that your actual
> shell truncates the file '/etc/passwd' to zero length and
> then launches the 'sed'.

Damn. I just built the regexp but didn't check what the command does
before i
sent it to the list. Sorry for that. I hope nobody killed his pw-file
because
of my advice :/

-- Lothar





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


Unix-Syslog Duplicate origin?

2006-10-09 Thread Yousef Raffah
Hello,

I just portsnap fetched my box and when I did a pkgdb -F it said I have
a duplicate origin of sysutils/p5-Unix-Syslog - bsdpan-Unix-Syslog
p5-Unix-Syslog-0.100

My question is, is it safe to unregister any of them? If yes, which one?


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


Re: sendmail + spamassassin

2006-10-09 Thread dick hoogendijk
On 08 Oct jdow wrote:
> From: "dick hoogendijk" <[EMAIL PROTECTED]>
> 
> >What is the best way to integrate spamassasin with sendmail?
> >MIMEDefang?
> 
> Best is horridly subjective. I use procmail here with considerable
> success. However, what works for me is not necessarily ideal for you.
> Maybe a better description of the intended use would help.

You're right. 'Best' is subjective.
I want a quick and well documented way of installing 'some' util that
interacts with sendmail, so I can use spamd. I have things running pretty
slick with the courier package (mailfilter) on one server, but I want to
change to sendmail on another and simply *need* spamassassin to run.
I don't use procmail(!) otherwise the question was not asked.
A .procmailrc file would take care of this quite as easy as my mailfilter
file does now. But as said, I run sendmail with lmpt to cyrus.
Spam_milter is mentioned; I guess this is just for spamassassin, while
MIMEDefang can also integrate a (future) use of virus filtering.
I'll study some more..

-- 
dick -- http://nagual.nl/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.1 +++ Solaris 10 6/06 ++
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Using portconf and /usr/local/etc/ports.conf

2006-10-09 Thread backyard


--- James Long <[EMAIL PROTECTED]> wrote:

> I am trying to migrate my
> /usr/local/etc/pkgtools.conf into 
> /usr/local/etc/ports.conf.  I'm not sure I have the
> ports.conf
> syntax correct, or that the entries I'm making are
> being 
> recognized.
> 
> I've installed the sysutils/portconf port
> successfully, and
> my make.conf is:
> 
> monitor : /root# cat /etc/make.conf
> CPUTYPE?=p3
> 
> NO_PROFILE= true
> USA_RESIDENT=YES
> 
> # 2005-12-19 to build sendmail without IPv6
> NO_INET6=YES
> 
> # added by use.perl 2006-01-05 14:23:56
> PERL_VER=5.8.7
> PERL_VERSION=5.8.7
> # Begin portconf settings
> # Do not touch these lines
> .if !empty(.CURDIR:M/usr/ports*) &&
> exists(/usr/local/libexec/portconf)
> _PORTCONF!=/usr/local/libexec/portconf
> .for i in ${_PORTCONF:S/|/ /g}
> ${i:S/%/ /g}
> .endfor
> .endif
> # End portconf settings
> 
> 
> I have this line in /usr/local/etc/ports.conf for
> ruby18:
> 
> lang/ruby18: WITHOUT_RDOC=1 | WITHOUT_IPV6=1
> 

if ruby uses ncurses, that blue menu thing, you have
to add BATCH=Yes as a build option to skip the menu
and build it with the options you have selected.

> 
> 
> I then get the build options dialogue box for ruby
> 1.8.5_1,1 with the
> tick boxes for IPV6 and RDOC checked, even though I
> have ports.conf
> entries to turn them off.
> 
> Is this my goof, or is something wrong with
> portconf?
> 

don't know much about portconf, I configure my ports
directly with make.conf and a seperate file ports.conf
that gets included in the build when in the ports tree
I am. But whith what you describe the batch option
needs to be set because the build dialog uses it's own
defaults separate from command line flags, and if your
setting command line flags there is no need to use the
dialog box.

-brian 


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


Re: sendmail + spamassassin

2006-10-09 Thread Robert Huff

dick hoogendijk writes:

>  Spam_milter is mentioned; I guess this is just for spamassassin,
>  while MIMEDefang can also integrate a (future) use of virus
>  filtering.

Unless you are majorly committed to a generalized solution, I
found integrating clamav no harder than integrating spamass_milter.


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


Upgrading firmware on Areca RAID card?

2006-10-09 Thread Bob Willcox
Hi All,

I would like to upgrade the firmware on my Areca ARC-1210 SATA RAID
card. Has anyone out there done this, and if so, do you have any advice
on doing it?

I have downloaded a program called archttp32 that appears to be a
FreeBSD 4.2 32-bit version of the Arec http proxy server but I really
need a 64-bit version (I suppose that would be called archttp64),
preferably build on FreeBSD 6.1 (or thereabouts).

Any tips, pointers, advice, or warnings would be greatly appreciated.

Thanks,
Bob

-- 
Bob Willcox   Possessions increase to fill the space
[EMAIL PROTECTED]available for their storage.
Austin, TX   -- Ryan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: RE : Re: RE : Re: cheapskate webmail interface

2006-10-09 Thread jan gestre

On 10/9/06, Desmond Coughlan <[EMAIL PROTECTED]> wrote:


Yep, I've got that .. I tried logging in, and it took me directly to
htdocs/index.html.

Is it because the db isn't configured properly ?.

D.



were you able to  install the roundcube database? did you configure
db.inc.php?
just follow this howto http://fak3r.com/?p=67 this is the same howto i've
used.

hth

*jan gestre <[EMAIL PROTECTED]>* a écrit :




On 10/8/06, jan gestre <[EMAIL PROTECTED]> wrote:
>
>
>
> On 10/6/06, Desmond Coughlan < [EMAIL PROTECTED]> wrote:
> >
> >
> >
> > you may want to try roundcube http://www.roundcube.net although it's
> > still on beta the interface's rocks, nothing you ever experienced before,
> > certainly cooler than squirrelmail with AJAX like interface.
> >
> >
> > Interesting... OK, I've got roundcube installed, the tables are
> > created, postgreSQL is running, apache is recompiled for PhP4 (which is
> > installed also) ... oh, and I've installed IMAP4.
> >
> > Now what ?
> >
> > My question, I suppose, is .. what is the address used to access the
> > web interface?
> >
> >
> you need to configure main.inc.php and db.inc.php, usually just your
> username will do but if you can't, try [EMAIL PROTECTED]
>

look for this part in roundcubemail/config/main.inc.php :

// Automatically add this domain to user names for login
// Only for IMAP servers that require full e-mail addresses for login
// Specify an array with 'host' => 'domain' values to support multiple
hosts
$rcmail_config['username_domain'] = '';

// This domain will be used to form e-mail addresses of new users
// Specify an array with 'host' => 'domain' values to support multiple
hosts
$rcmail_config['mail_domain'] = 'sample.org';

just replace sample.org with your fqdn and your done!

username: user1
password: *

HTH


--
Découvrez un nouveau moyen de poser toutes vos questions quel que soit le
sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos
opinions et vos expériences. Cliquez 
ici.




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


Re: sendmail + spamassassin

2006-10-09 Thread Dave McCammon


--- dick hoogendijk <[EMAIL PROTECTED]> wrote:

> What is the best way to integrate spamassasin with
> sendmail?
> MIMEDefang?
> 
> -- 

I use XamimeLT used with sendmail, clamav and
spamassassin. My mail server isn't very busy, about
2000 messages a day pass(or attempt to) through it and
I haven't had a problem with it.
It's no longer a port(used to be called "inflex"). But
the install is relatively easy.
XamimeLT's web site is http://pldaniels.com/xamimelt/.


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


RE : Re: RE : Re: RE : Re: cheapskate webmail interface

2006-10-09 Thread Desmond Coughlan
Yes, I did everything mentioned in that HOWTO.  Still no luck.  Following 
someone else's advice, I tried to install Thunderbird on another machine, and 
connect to the server on port 143.  It failed.
   
  D.

jan gestre <[EMAIL PROTECTED]> a écrit :
  

  On 10/9/06, Desmond Coughlan <[EMAIL PROTECTED]> wrote:Yep, I've got that 
.. I tried logging in, and it took me directly to htdocs/index.html.
   
  Is it because the db isn't configured properly ?.
   
  D.
  
were you able to  install the roundcube database? did you configure db.inc.php?
just follow this howto http://fak3r.com/?p=67 this is the same howto i've used.

hth 


jan gestre < [EMAIL PROTECTED]> a écrit :


  On 10/8/06, jan gestre <[EMAIL PROTECTED]> wrote:   

  On 10/6/06, Desmond Coughlan < [EMAIL PROTECTED]> wrote:  
you may want to try roundcube http://www.roundcube.net although it's still on 
beta the interface's rocks, nothing you ever experienced before, certainly 
cooler than squirrelmail with AJAX like interface. 
  
Interesting... OK, I've got roundcube installed, the tables are created, 
postgreSQL is running, apache is recompiled for PhP4 (which is installed also) 
... oh, and I've installed IMAP4. 
   
  Now what ?  
   
  My question, I suppose, is .. what is the address used to access the web 
interface?
   

you need to configure main.inc.php and db.inc.php, usually just your username 
will do but if you can't, try [EMAIL PROTECTED]


look for this part in roundcubemail/config/main.inc.php :

// Automatically add this domain to user names for login
// Only for IMAP servers that require full e-mail addresses for login
// Specify an array with 'host' => 'domain' values to support multiple hosts
$rcmail_config['username_domain'] = ''; 

// This domain will be used to form e-mail addresses of new users
// Specify an array with 'host' => 'domain' values to support multiple hosts 
$rcmail_config['mail_domain'] = ' sample.org';

just replace sample.org with your fqdn and your done! 

username: user1
password: *

HTH



  
-
  Découvrez un nouveau moyen de poser toutes vos questions quel que soit le 
sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions 
et vos expériences. Cliquez ici.   






-
 Découvrez un nouveau moyen de poser toutes vos questions quel que soit le 
sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions 
et vos expériences. Cliquez ici. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: RE : Re: RE : Re: RE : Re: cheapskate webmail interface

2006-10-09 Thread Chad Leigh -- Shire.Net LLC


On Oct 9, 2006, at 8:21 AM, Desmond Coughlan wrote:

Yes, I did everything mentioned in that HOWTO.  Still no luck.   
Following someone else's advice, I tried to install Thunderbird on  
another machine, and connect to the server on port 143.  It failed.


You need to have an IMAP server running before roundcube can  
connect.  It sounds like you do not have an IMAP server running on  
the system.  Port 143 is the IMAP port.  roundcube (horde/ 
squirrelmail, etc) are not IMAP servers, they are clients.


Chad

---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net





Re: Upgrading firmware on Areca RAID card?

2006-10-09 Thread Chad Leigh -- Shire.Net LLC


On Oct 9, 2006, at 7:35 AM, Bob Willcox wrote:


Hi All,

I would like to upgrade the firmware on my Areca ARC-1210 SATA RAID
card. Has anyone out there done this, and if so, do you have any  
advice

on doing it?

I have downloaded a program called archttp32 that appears to be a
FreeBSD 4.2 32-bit version of the Arec http proxy server but I really
need a 64-bit version (I suppose that would be called archttp64),
preferably build on FreeBSD 6.1 (or thereabouts).

Any tips, pointers, advice, or warnings would be greatly appreciated.


I've done it but under Solaris 10.  I basically followed the  
instructions that Areca has in the docs/website.  My card was an 1120  
8 port card (I also did an 1130 12 port card through its in-built  
ethernet port).


I went just now to their downloads and they only show the 32 bit  
archttp server.  Try that and see how it works since your amd should  
also run 32 bit programs, right?.  Otherwise, maybe you will have to  
boot a liveCD in 32bit mode or something and run it from that


Chad




Thanks,
Bob



---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net





Re: new pango screwing up my x11

2006-10-09 Thread kalin mintchev

thanks a lot for all the replies  so much help on this list

$ mozilla

(Gecko:79673): GLib-GObject-WARNING **: cannot register existing type
`GConfClie nt'

(Gecko:79673): GLib-GObject-CRITICAL **: g_object_new: assertion
`G_TYPE_IS_OBJE CT (object_type)' failed

(Gecko:79673): GLib-GObject-CRITICAL **: g_object_ref: assertion
`G_IS_OBJECT (o bject)' failed
Segmentation fault (core dumped)
$ firefox

(Gecko:79761): GLib-GObject-WARNING **: cannot register existing type
`GConfClient'

(Gecko:79761): GLib-GObject-CRITICAL **: g_object_new: assertion
`G_TYPE_IS_OBJECT (object_type)' failed

(Gecko:79761): GLib-GObject-CRITICAL **: g_object_ref: assertion
`G_IS_OBJECT (object)' failed
Segmentation fault (core dumped)

after i forced the old pango package off the 6 release iso i was able to
get xorg to work and have all the applications working fine except
mozilla... i rebuild firefox but every time i try to start it (or mozilla)
i get this crap.. which libraries are those. gnome's?!

ok. well lets see this time...  maybe somebody will actually read this...

thanks.


> hi all
> i just wanted to install gaim. did update the ports and then went on to
> install gaim wich installed a new pango that toally f-ed up my x. now i
> can not use it anymore. xorg starts and then when it comes to fire up
> gnome xorg crashes with some thread errors.
> i think the issue is the new pango libraries installed because
> gnome-session was looking for the old ones - i linked the new ones to the
> old names but i get the thread error. it sucks when new software is not
> backward compatible.
> my system is 6 release and it was running nicely before the f-ing pango
> screwd the whole thing up. i'm not interested right now in upgrading all
> the gnome and all the applications on top of it so i was wondering if i
> remove the new pango and install the old from the 6 iso disks would that
> make my life easier instead of upgrading gnome?
> because of all this crap i have to use lynx to send this mail..
> thanks
>
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
>


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


LSI SAS adapter

2006-10-09 Thread up

Can anyone verify that the LSI0100 PCI-X SAS RAID card will work with
6.X-STABLE?  The mfi driver says it supports LSI SAS MegaRAID, but this
isn't in the MegaRAID family (only does RAID 0 and 1, and I only need 1).

All experiences appreciated...please reply directly as I am not
subscribed.

Thanks!

James Smallacombe PlantageNet, Inc. CEO and Janitor
[EMAIL PROTECTED]   
http://3.am
=




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


How does useradd determine the default mailbox/maildir location for new users

2006-10-09 Thread Niek Dekker

Hi,

I am running Exim 4.62 MTA on FBSD 6.0_release.
When I create a new user using useradd, a mailbox file for the new user 
is created in /var/mail.

As I am using Maildir with maildirs in /var/mail, I do not want that.

My question is, where is this behavior of useradd configured?
I cannot find this in the handbook. There is no /etc/useradd.conf 
neither an /etc/pw.conf on my system and also the contents of 
/usr/share/skel do not seem to make a difference.


Many thanks i.a.
Niek




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


minimum requirements

2006-10-09 Thread free bsd
Thank you everyone for responding to my initial question.  
   
  In hindsight I realize I worded my original inquiry inaccurately.  What I am 
attempting to determine is how well or if ver 6.1 will work on a 4GB hard drive 
with a Pentium 4 - 3.06GHz cpu and 1GB ram?  The machine has a 232GB hard drive 
but I have another 4GB drive sitting around being unused that I was thinking of 
adding to the machine to configure in a dual boot setup with the 4GB drive 
being totally allocated to FreeBSD.  
   
  However, before attempting that task I am trying to determine whether or not 
it would be even feasible to use a 4GB drive to install v 6.1 or should I use a 
larger drive to install the many of FreeBSD's features?  And if a larger drive 
how large of a drive would I need to utilize many or any of its features 
without limiting myself to a bare bones setup?  Additionally, if the 4GB drive 
will work how limited would the install/capabilities/features be?  
   
  I am not at all opposed to using a larger drive but at the present time do 
not have a clue as to what size drive I should use for the most flexibility 
regarding type of installation options.
   
  -art


-
Do you Yahoo!?
 Everyone is raving about the  all-new Yahoo! Mail.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: minimum requirements

2006-10-09 Thread Andy Greenwood

On 10/9/06, free bsd <[EMAIL PROTECTED]> wrote:

Thank you everyone for responding to my initial question.

  In hindsight I realize I worded my original inquiry inaccurately.  What I am 
attempting to determine is how well or if ver 6.1 will work on a 4GB hard drive 
with a Pentium 4 - 3.06GHz cpu and 1GB ram?  The machine has a 232GB hard drive 
but I have another 4GB drive sitting around being unused that I was thinking of 
adding to the machine to configure in a dual boot setup with the 4GB drive 
being totally allocated to FreeBSD.


You certainly can do this. I used to have freebsd installed on a 4 GB
drive myself (6.0 and 6.1) Keep in mind thought, that you probably
won't be able to have a whole desktop environment with all the
ammenities. You could, however, install the base system on the smaller
drive, then mount the larger drive and install stuff on there.



  However, before attempting that task I am trying to determine whether or not 
it would be even feasible to use a 4GB drive to install v 6.1 or should I use a 
larger drive to install the many of FreeBSD's features?  And if a larger drive 
how large of a drive would I need to utilize many or any of its features 
without limiting myself to a bare bones setup?  Additionally, if the 4GB drive 
will work how limited would the install/capabilities/features be?


If you don't need a GUI or anything like that, you could probably do
lots with this drive, without touching the larger drive. I ran my 4 GB
machine as a router/firewall/apache/mysql server for months. Keep in
mind too, that my machine's specs were considerably below yours. It
all really depends on what you want to do with the machine. If you
want KDE, good luck, it's not going to happen. If you want a router or
something, it'll be easy.



  I am not at all opposed to using a larger drive but at the present time do 
not have a clue as to what size drive I should use for the most flexibility 
regarding type of installation options.

  -art


-
Do you Yahoo!?
 Everyone is raving about the  all-new Yahoo! Mail.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"




--
I'm nerdy in the extreme and whiter than sour cream
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: minimum requirements

2006-10-09 Thread backyard


--- free bsd <[EMAIL PROTECTED]> wrote:

> Thank you everyone for responding to my initial
> question.  
>
>   In hindsight I realize I worded my original
> inquiry inaccurately.  What I am attempting to
> determine is how well or if ver 6.1 will work on a
> 4GB hard drive with a Pentium 4 - 3.06GHz cpu and
> 1GB ram?  The machine has a 232GB hard drive but I
> have another 4GB drive sitting around being unused
> that I was thinking of adding to the machine to
> configure in a dual boot setup with the 4GB drive
> being totally allocated to FreeBSD.  
>
>   However, before attempting that task I am trying
> to determine whether or not it would be even
> feasible to use a 4GB drive to install v 6.1 or
> should I use a larger drive to install the many of
> FreeBSD's features?  And if a larger drive how large
> of a drive would I need to utilize many or any of
> its features without limiting myself to a bare bones
> setup?  Additionally, if the 4GB drive will work how
> limited would the install/capabilities/features be? 
> 
>
>   I am not at all opposed to using a larger drive
> but at the present time do not have a clue as to
> what size drive I should use for the most
> flexibility regarding type of installation options.
>
>   -art
> 
>   


4gb would get you a basic setup system with X. As long
as you use packages for your installation. Building
ports from source will likely run you out of space
during port builds especially for the larger ports. 

you should be able to get the system, X, KDE OR Gnome,
running and a few other ports here and there. You
would be better off installing something like Icewm or
XFCE as these would get you nice looking window
managers without all the bloat and would be able to
run the apps from the bigger desktops. once the
dependant libraries are installed.

the issue you may run into is in swap. With 1 gig or
RAM you will only need a small amount of swap, maybe
as little as 64Meg. This would only be an issue if you
plan on getting core dumps from the kernel, because
you will not have space. This is why typically it is
recommended to have swap equal to Ram plus 1 meg. And
this is for a single partition of swap. the core won't
split over two swaps.

All in all more hard drive space is probably a good
idea just for /usr and or /home space depending on
what your doing. It would be a must if you want to
build things from source. 

These base system itself will be about 500 megs, ports
will add on 300 megs or so, then its the ports you
choose. 4 gig would work ok, but would get frustrating
quick. I would go with at least 8 gig for a "loaded"
system which for me is about 4.5 gigs total and like
300 packages installed mostly science packages and the
dependancies of gnome2. If you want to build things I
run with 10-15g slices for more space. and outside of
building that is more then I generally need. Although
for fairness I usually have multi-boot modes and share
a data drive amongst the OSs.

a list of the ports you want to use would help
determine space because some use a ton, and some use
very little.

-brian






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


Re: stop ata drive rotation after umount

2006-10-09 Thread Michel Le Cocq

It works :-) the tempeture decrease of about 5 degres
but how can i detect that the drive is not use since for exemple 10min
I think to a cron which do a lsof on each drive i wanted to check, but 
is there something else ?


Michel

owell Gilbert a écrit :

Michel Le Cocq <[EMAIL PROTECTED]> writes:

  

is it impossible ?



Impossible?  Probably not.

Look at the ports collection; a quick search suggested ataidle and
smartmontools, but there are probably others...
___
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: minimum requirements

2006-10-09 Thread Jerry McAllister
On Mon, Oct 09, 2006 at 10:00:11AM -0700, free bsd wrote:

> Thank you everyone for responding to my initial question.  
>
>   In hindsight I realize I worded my original inquiry inaccurately.  What 
> I am attempting to determine is how well or if ver 6.1 will work on a 4GB 
> hard drive with a Pentium 4 - 3.06GHz cpu and 1GB ram?  The machine has 
> a 232GB hard drive but I have another 4GB drive sitting around being 
> unused that I was thinking of adding to the machine to configure in a 
> dual boot setup with the 4GB drive being totally allocated to FreeBSD.  
>
>   However, before attempting that task I am trying to determine whether or 
> not it would be even feasible to use a 4GB drive to install v 6.1 or 
> should I use a larger drive to install the many of FreeBSD's features?  
> And if a larger drive how large of a drive would I need to utilize many 
> or any of its features without limiting myself to a bare bones setup?  
> Additionally, if the 4GB drive will work how limited would the 
> install/capabilities/features be?  
>
>   I am not at all opposed to using a larger drive but at the present time 
> do not have a clue as to what size drive I should use for the most 
> flexibility regarding type of installation options.

I think you probably have your answer from other responses - that it depends
on what you want to do with it.   If it is just to have a FreeBSD running
to look it over, 4 GB is plenty of space.   You could put on FreeBSD
and Xwindows and use a very basic windows manager like AfterStep or some
other very lean ones.   You could probably even get Apache on it and
maybe a browser.   But those would have to install from packages and
not a build from ports.You would have trouble getting OpenOffice
on it, but maybe from the prebuilt package that is available from
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.0-release/editors/
  Grab the latest one.
But, you would not be able to build any of these with that little space.
Openoffice seems to take over 10 GB to do its build, for example.  Also,
you might get something like MySQL running, but would soon run out of
space for the database.

You could easily build the basic system, then put a big file system on
another disk and move some of the stuff that can grow big over there 
such as /usr/local, /usr/ports, /var/spool, /var/db, /var/log and make
symlinks to them as you need.   Also, you can put your web site over
in the big disk, just by changing a line in httpd.conf.

If you build on the small disk, I would still suggest making root
its own partition, as well as a reasonable sized separate /tmp and, 
of course, some swap space.  Although if you are just experimenting,
you could just make a swap and /tmp and leave everything else in root
it is better to keep root small in a real production system - in case
a recovery is needed.

jerry

>
>   -art
> 
> ___
> 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]"


Something Like Beagle

2006-10-09 Thread Tom Grove
Is there something like beagle that runs on FreeBSD?  If not is it 
something that people would like to see ported?


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


Re: Something Like Beagle

2006-10-09 Thread backyard


--- Tom Grove <[EMAIL PROTECTED]> wrote:

> Is there something like beagle that runs on FreeBSD?
>  If not is it 
> something that people would like to see ported?
> 
> -Tom


Beagle the personal data indexer, or open beagle the
evolutionary computation system?

The personel data indexer seems cool to me. the
evolutionary computation system isn't something I
would personally find useful.

my two cents


-brian

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


Re: minimum requirements

2006-10-09 Thread Eric Schuele

On 10/09/06 12:00, free bsd wrote:
Thank you everyone for responding to my initial question.  
   
  In hindsight I realize I worded my original inquiry inaccurately.  What I am attempting to determine is how well or if ver 6.1 will work on a 4GB hard drive with a Pentium 4 - 3.06GHz cpu and 1GB ram?  The machine has a 232GB hard drive but I have another 4GB drive sitting around being unused that I was thinking of adding to the machine to configure in a dual boot setup with the 4GB drive being totally allocated to FreeBSD.  


Well, as everyone has stated... It depends on what you are doing with 
the machine.


I have a 512MB USB device running 5.3-RELEASE, Xorg, Fluxbox, nessus, 
nmap, firefox, and a few other tidbits (no ports tree).  Its darn slow 
off USB, but it works.  So yeah, 4GB is sufficient... for some amount of 
functionality.


If *I* wanted to use a machine, say for a desktop, I'd want no less than 
20GB.  I have a 20GB disk for a machine, yet I ran out of space while 
trying to set it up the way I wanted.  I had most things setup, then 
tried to compile OO.  I fell back to the package though.


Either way, everyones point is... It depends.  But I think most would 
say to have a truly useful Desktop, 4GB is a bit slim.  My vote... 20GB+


HTH.

   
  However, before attempting that task I am trying to determine whether or not it would be even feasible to use a 4GB drive to install v 6.1 or should I use a larger drive to install the many of FreeBSD's features?  And if a larger drive how large of a drive would I need to utilize many or any of its features without limiting myself to a bare bones setup?  Additionally, if the 4GB drive will work how limited would the install/capabilities/features be?  
   
  I am not at all opposed to using a larger drive but at the present time do not have a clue as to what size drive I should use for the most flexibility regarding type of installation options.
   
  -art



-
Do you Yahoo!?
 Everyone is raving about the  all-new Yahoo! Mail.
___
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: strange DNS problem

2006-10-09 Thread pckizer

On 2006, Oct 6, at 04:02, Wojciech Puchar wrote:

one of my users reporting problem sending e-mail to @mil.be
sendmail reports host name lookup failure
host reports

[EMAIL PROTECTED] ~]$ host -t mx mil.be
mil.be mail is handled by 10 hermes01.mil.be.

[EMAIL PROTECTED] ~]$ host -t a hermes01.mil.be
hermes01.mil.be has address 194.7.21.40
hermes01.mil.be has address 193.191.219.40
Host hermes01.mil.be not found: 2(SERVFAIL)
^

where's a problem? while hostr is able to get IP addresses but then  
reports servfail?


What you are seeing is the IPv6  lookup:

# host -t  hermes01.mil.be
Host hermes01.mil.be not found: 2(SERVFAIL)

Make sure you have the Sendmail option turned on to ignore the  
SERVFAIL messages:


# grep  /etc/mail/freebsd.mc
define(`confBIND_OPTS', `WorkAroundBroken')

# grep  /etc/mail/sendmail.cf
O ResolverOptions=WorkAroundBroken

With that, mail should flow fine.


Though I have to admit I am having a similar problem except the host  
is randomly (with a very high probability of it doing so) failing to  
respond at all rather than at least answering SERVFAIL.  With no  
SERVFAIL it appears Sendmail/resolver consider the NS host to be down  
and do not fail through to try and lookup the A record.  [I'm still  
trying to verify that.]



-philip

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


Re: How to change all /bin/bash at /etc/passwd to /sbin/nologin?

2006-10-09 Thread up

I would not recommend using vipw or sed to change your users' shells.

I'd just create a file of users:

cat /etc/passwd | cut -f1 -d":" > userlist

(Edit out any users you don't want to include):

then a scipt using pw to change their shells

#!/bin/sh

user=`awk '{print $1}' ./userlist`
for user in $user
  do
pw usermod $user -s /sbin/nologin
  done

James Smallacombe PlantageNet, Inc. CEO and Janitor
[EMAIL PROTECTED]   
http://3.am
=


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


Cable Management software?

2006-10-09 Thread Kurt Buff

All,

Anyone know of an OSS package that can help with this - something
along the lines of Ulticam 2000 or NetDoc? Doesn't have to be quite so
capable, but I'm looking for something better than a series of
spreasheets.

My Google-fu is failing me, and I don't see anything in ports that
even remotely resembles this kind of thing.

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


IRQ conflicts on USB controlers

2006-10-09 Thread Erik Norgaard

Hi:

I have a problem with this buggy hardware (Sony VAIO, don't buy).

Background:

Booting with both acpi and apic enabled (if the system doesn't die with 
some fatal trap) the system grinds to a halt with 85% interrupt activity.


Booting with apic disabled solves that problem, but then the system 
freezes after a while and while the system is still functional there is 
3.5-4% interrupt when running top.


Disabling pci_link boots the system up stable, but not all devices are 
configured correctly. There are IRQ conflicts and interrupt storms.


Without pcilink irq's are not configured correctly and with the system 
eventually freezes. I do not know if I can assume the irq's assigned 
with pcilink enabled as I don't know if this is what causes the conflict.


The problem:

Without pcilink two UHCI controlers are not assigned valid irqs and USB 
is slow, a usb stick takes a long time before it appears as a mountable 
device.


There is an irq storm at irq 9, both with and without pcilink. The 
devices (with pcilink) which get irq 9 are the ichsmb and a USB 
controler (UHCI).


Things get more messy: There's a built in web cam (USB 2.0) attached to 
the usb port.


  addr 1: UHCI root hub, Intel
  addr 1: UHCI root hub, Intel
  addr 1: EHCI root hub, Intel
   addr 2: USB2.0 Web Camera, Vimicro Corp.

I believe irqs changes when I boot with/without pcilink:

with pcilink I have:

00:1d.0 USB Controller: USB UHCI #1 (rev 03) (prog-if 00 [UHCI])
Flags: bus master, medium devsel, latency 0, IRQ 5

00:1d.1 USB Controller: USB UHCI #2 (rev 03) (prog-if 00 [UHCI])
Flags: bus master, medium devsel, latency 0, IRQ 9

00:1d.2 USB Controller: USB UHCI #3 (rev 03) (prog-if 00 [UHCI])
Flags: bus master, medium devsel, latency 0, IRQ 3

00:1d.3 USB Controller: USB UHCI #4 (rev 03) (prog-if 00 [UHCI])
Flags: bus master, medium devsel, latency 0, IRQ 10

00:1d.7 USB Controller: USB2 EHCI (rev 03) (prog-if 20 [EHCI])
Flags: bus master, medium devsel, latency 0, IRQ 5

and without pcilink:

00:1d.0 USB Controller: USB UHCI #1 (rev 03) (prog-if 00 [UHCI])
Flags: bus master, medium devsel, latency 0, IRQ 5

00:1d.1 USB Controller: USB UHCI #2 (rev 03) (prog-if 00 [UHCI])
Flags: bus master, medium devsel, latency 0, IRQ 10

00:1d.2 USB Controller: USB UHCI #3 (rev 03) (prog-if 00 [UHCI])
Flags: bus master, medium devsel, latency 0, IRQ 255

00:1d.3 USB Controller: USB UHCI #4 (rev 03) (prog-if 00 [UHCI])
Flags: bus master, medium devsel, latency 0, IRQ 255

00:1d.7 USB Controller: USB2 EHCI (rev 03) (prog-if 20 [EHCI])
Flags: bus master, medium devsel, latency 0, IRQ 5

Question:

How do I assign IRQs to the usb controlers? pciconf shows the controlers 
on pci0:29:0 .. pci0:29:3 (UHCI) and pci0:29:7 (EHCI).


How do I determine which IRQs to assign - apart from trial and error?

Thansk for reading all the way down to the questions :) double up for 
any help :D


Cheers, Erik

--
Ph: +34.666334818  web: http://www.locolomo.org
X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9

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


Re: How does useradd determine the default mailbox/maildir location

2006-10-09 Thread up

What I do is remove FreeBSD's adduser script and make my own, which does
something like this:

pw useradd $USERNAME -g users -L users -m -s /bin/true -k /etc/skel \
|| exit
passwd $USERNAME
echo $USERNAME > /home/$USERNAME/.qmail-default
chmod 711 /home/$USERNAME

Of course, you need an /etc/skel with a properly set up Maildir (plus
.qmail, public_html or anything else you want) and edit those tags to suit
your requirements.

HTH,

James Smallacombe PlantageNet, Inc. CEO and Janitor
[EMAIL PROTECTED]   
http://3.am
=

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


requesting help to make sound work on thin/diskless client

2006-10-09 Thread Raymond Gibson
Hello,

I'm looking for help. I built a thin/diskless client that I boot via 
etherboot. After power up the client boots and gives me a login prompt. At 
that time I enter 'root' and I am presented with a command prompt. I then 
enter 'X -query ' and X starts and it works as expected.

I would like to add sound. Unfortunately, I can't find documentation 
describing this process. So, could someone explain to me how to configure the 
client/server? My server is FreeBSD 6.1-RELEASE.

BTW: I installed an ISA soundblaster sound and compiled these lines into my 
kernel. The kernel detects the sound card during boot-up.
 
# Add the generic audio driver
device  sound
device  snd_sbc
device  snd_sb16


Thank you for you help.

Raymond.

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


How-to maintain upgrade??

2006-10-09 Thread Gary Kline

Last night (08 Oct 06) pkgdb -Fv ran without errors.  This after
five weeks of rebuilding.  And now, I still haven't install
gnome-lite; still waiting to get the ports upgrade issue
resolved.

I do a ports cvsup nightly and would like to run, say, portupgrade
utils nightly as well.  Among  the upgraders-elite on this list,
which is the best way to cron this.  Just a few (5, 6) years ago
I only bothered with this weekly, sending myself weekend
reminders to "upgrade".   Now I want to put something into cron.
Suggestions on using port* and <> very welcome indeed!

thanks up front, people,

gary


-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: Upgrading firmware on Areca RAID card?

2006-10-09 Thread Mike Tancsa
On Mon, 9 Oct 2006 08:35:25 -0500, in sentex.lists.freebsd.questions
you wrote:

>Hi All,
>
>I would like to upgrade the firmware on my Areca ARC-1210 SATA RAID
>card. Has anyone out there done this, and if so, do you have any advice
>on doing it?
>
>Any tips, pointers, advice, or warnings would be greatly appreciated.

I have done a few through the web interface on FreeBSD and they worked
as expected.

both

arcmsr0: http://www.sentex.net
Providing Internet Access since 1994
[EMAIL PROTECTED], (http://www.tancsa.com)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


moving from startx to wdm -- how to make x11 not to listen on tcp ??

2006-10-09 Thread martinko
Hello,

I've been using startx / .xinitrc to start up X11 up till now and I made
sure startx ran X11 with "-nolisten tcp".
Now I'm moving to WDM and I'm not sure how to tell X11 not to listen on
port 6000. :-/
What is the best way to achieve this, please ?

Cheers,

Martin

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


Re: requesting help to make sound work on thin/diskless client

2006-10-09 Thread Tore Lund
Raymond Gibson wrote:
> Hello,
> 
> I'm looking for help. I built a thin/diskless client that I boot via 
> etherboot. After power up the client boots and gives me a login prompt. At 
> that time I enter 'root' and I am presented with a command prompt. I then 
> enter 'X -query ' and X starts and it works as expected.
> 
> I would like to add sound. Unfortunately, I can't find documentation 
> describing this process. So, could someone explain to me how to configure the 
> client/server? My server is FreeBSD 6.1-RELEASE.
> 
> BTW: I installed an ISA soundblaster sound and compiled these lines into my 
> kernel. The kernel detects the sound card during boot-up.
>  
> # Add the generic audio driver
> device  sound
> device  snd_sbc
> device  snd_sb16

It's unclear to me what does not work for you.  Have you tried to enter
the lines in device.hints suggested in section 7.2.1.1 of the handbook,
which uses the devices you mention as an example?

And if that does not work, does "kldload snd_driver" return any useful
information?
-- 
Tore

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


How-to maintain upgrade??

2006-10-09 Thread Gerard Seibert
On Monday 09 October 2006 17:53, Gary Kline wrote:

> Last night (08 Oct 06) pkgdb -Fv ran without errors.  This after
> five weeks of rebuilding.  And now, I still haven't install
> gnome-lite; still waiting to get the ports upgrade issue
> resolved.
>
> I do a ports cvsup nightly and would like to run, say,
> portupgrade utils nightly as well.  Among  the upgraders-elite on this
> list, which is the best way to cron this.  Just a few (5, 6) years ago I
> only bothered with this weekly, sending myself weekend reminders to
> "upgrade".   Now I want to put something into cron. Suggestions on using
> port* and <> very welcome indeed!
>
> thanks up front, people,

I kind of do the same thing on a weekly basis. I created a shell script that 
runs the following:

cd /usr/ports/distfiles # Change to ports distfile directory
rm -rdf *   # Clean it out
/usr/local/sbin/portsclean -CDLP# make sure the ports are clean
/usr/sbin/portsnap cron # Run portsnap from CRON
/usr/sbin/portsnap update   # Install new updated ports tree
/usr/local/bin/portmanager -u -l -y # Run portmanager to update the system

I only run this weekly. If something like Open Office needs to be updated 
alone with KDE for instance, my system would not complete the process in 24 
hours. Updating the ports tree while running an updating utility like 
portmanager or portupgrade is generally considered a bad thing.

-- 
Gerard Seibert
[EMAIL PROTECTED]

And that's the way it is...

Walter Cronkite


pgpa1C9pb7KzQ.pgp
Description: PGP signature


Re: LSI SAS adapter

2006-10-09 Thread up
On Mon, 9 Oct 2006 [EMAIL PROTECTED] wrote:
>
> Can anyone verify that the LSI0100 PCI-X SAS RAID card will work with
> 6.X-STABLE?  The mfi driver says it supports LSI SAS MegaRAID, but this
> isn't in the MegaRAID family (only does RAID 0 and 1, and I only need 1).
>
> All experiences appreciated...please reply directly as I am not
> subscribed.
>
> Thanks!

Oops, correction on the model number...the card itself is SAS3442X-R, the
part number above is for the kit.

TIA,

James Smallacombe PlantageNet, Inc. CEO and Janitor
[EMAIL PROTECTED]   
http://3.am
=

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


Re: Upgrading firmware on Areca RAID card?

2006-10-09 Thread Nikolas Britton

On 10/9/06, Bob Willcox <[EMAIL PROTECTED]> wrote:

Hi All,

I would like to upgrade the firmware on my Areca ARC-1210 SATA RAID
card. Has anyone out there done this, and if so, do you have any advice
on doing it?

I have downloaded a program called archttp32 that appears to be a
FreeBSD 4.2 32-bit version of the Arec http proxy server but I really
need a 64-bit version (I suppose that would be called archttp64),
preferably build on FreeBSD 6.1 (or thereabouts).

Any tips, pointers, advice, or warnings would be greatly appreciated.



IIRC the new driver (1.20.00.12) supports automatic firmware upgrades.
I have some patches floating around in the freebsd PR database that
will sync the default driver (version 1.20.00.02) in FreeBSD 6.x to
the latest areca sources, which is 1.20.00.12. I never tested this
feature... It may blow your card up :-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Upgrading firmware on Areca RAID card?

2006-10-09 Thread Nikolas Britton

On 10/9/06, Bob Willcox <[EMAIL PROTECTED]> wrote:

Hi All,

I would like to upgrade the firmware on my Areca ARC-1210 SATA RAID
card. Has anyone out there done this, and if so, do you have any advice
on doing it?

I have downloaded a program called archttp32 that appears to be a
FreeBSD 4.2 32-bit version


They work on FreeBSD 6.x/i386 with COMPAT_FREEBSD4
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


wxGlade error

2006-10-09 Thread Rod Person
When I try to run wxGlade on FreeBSD 7 Current I get the following
error:

Traceback (most recent call last):
  File "/usr/local/lib/python2.4/site-packages/wxglade/wxglade.py", line
148, in ?
run_main()
  File "/usr/local/lib/python2.4/site-packages/wxglade/wxglade.py", line
135, in run_main
import main
  File "/usr/local/lib/python2.4/site-packages/wxglade/main.py", line 9,
in ?
from wxPython.wx import *
ImportError: No module named wxPython.wx

wxPython is installed via the ports. Anyone have any ideas on how to
correct this??

-- 
Rod

"it takes an unusual mind to see the obvious."
- Alfred Whitehead


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


Re: mount_msdosfs 240G

2006-10-09 Thread Kevin Sanders

On 9/26/06, Alistair Sutton <[EMAIL PROTECTED]> wrote:

On 26/09/06, sanya <[EMAIL PROTECTED]> wrote:
> Hello
>
> I have a problem with mounting big fat32 partition.

I had a similar problem when trying to mount a 180G USB drive.

Recompiling my kernel with the MSDOSFS_LARGE option allowed me to
mount the drive.


I wonder why this isn't the default?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


AHCI support in 6.1-RELEASE?

2006-10-09 Thread Juha Saarinen

I'd like to set the ICH7 controller in a Gigabyte 8i955 Royal
motherboard in AHCI mode, as I understand this enables NCQ support for
SATA drives.

However, if I enable AHCI in BIOS, 6.1-RELEASE boots up but can't find
the hard drive in the system even though it shows up as the dmesg
scrolls past. I get a mountroot prompt and have to do a hard reset.

This happens with the GENERIC kernel as updated to p10 and from the
6.1-RELEASE CDs.

Googling hasn't thrown up anything useful yet, so pointers would be
appreciated. Would updating to 6.2-BETA-2 sort it out?


--

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


Re: AHCI support in 6.1-RELEASE?

2006-10-09 Thread Juha Saarinen

Hmm... ata-chipset.c says there is AHCI support.

#include 
__FBSDID("$FreeBSD: src/sys/dev/ata/ata-chipset.c,v 1.126.2.11 2006/03/16 21:28:
51 sos Exp $");

If so, what could be the reason for FreeBSD not finding the SATA hard
disk in the system in AHCI mode?

--

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


Re: How-to maintain upgrade??

2006-10-09 Thread Brian

Gary Kline wrote:

Last night (08 Oct 06) pkgdb -Fv ran without errors.  This after
five weeks of rebuilding.  And now, I still haven't install
gnome-lite; still waiting to get the ports upgrade issue
resolved.

I do a ports cvsup nightly and would like to run, say, portupgrade
utils nightly as well.  Among  the upgraders-elite on this list,
which is the best way to cron this.  Just a few (5, 6) years ago
I only bothered with this weekly, sending myself weekend
reminders to "upgrade".   Now I want to put something into cron.
Suggestions on using port* and <> very welcome indeed!

thanks up front, people,

gary


  
Some ports when you upgrade them require answers to questions, so I 
wouldn't portupgrade -aP via cron.


Brian

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


Re: AHCI support in 6.1-RELEASE?

2006-10-09 Thread Antony Mawer

On 10/10/2006 10:18 AM, Juha Saarinen wrote:

Hmm... ata-chipset.c says there is AHCI support.

#include 
__FBSDID("$FreeBSD: src/sys/dev/ata/ata-chipset.c,v 1.126.2.11 
2006/03/16 21:28:

51 sos Exp $");

If so, what could be the reason for FreeBSD not finding the SATA hard
disk in the system in AHCI mode?


Most likely this renumbers the drivers, so you go from your hard drive 
showing as eg. ad0 to ad4. You will need to edit /etc/fstab as 
appropriate to match what the drive is showing up as after changing to 
AHCI mode.


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


Re: requesting help to make sound work on thin/diskless client

2006-10-09 Thread Doug Poland
On Mon, Oct 09, 2006 at 04:00:23PM -0500, Raymond Gibson wrote:
> Hello,
> 
> I'm looking for help. I built a thin/diskless client that I boot via
> etherboot. After power up the client boots and gives me a login
> prompt. At that time I enter 'root' and I am presented with a command
> prompt. I then enter 'X -query ' and X starts and it works
> as expected.
> 
> I would like to add sound. Unfortunately, I can't find documentation
> describing this process. So, could someone explain to me how to
> configure the client/server? My server is FreeBSD 6.1-RELEASE.
> 
> BTW: I installed an ISA soundblaster sound and compiled these lines into my 
> kernel. The kernel detects the sound card during boot-up.
>  
> # Add the generic audio driver
> device  sound
> device  snd_sbc
> device  snd_sb16
> 
I have had good results using /usr/ports/audio/esound.  Install on both
the client and the server.  On the client, run something like this
before you start X:  

 client% esd -tcp -public -promiscuous -beeps -trust -bind 10.0.0.1
 
where 10.0.0.1 is the IP address of the client's network interface.

Connect to the server just as you have described.  When ever you run a
program that has esd support compiled in, the audio will be directed 
to the client.  
 
Programs compiled with ESD support appear to direct sound to the host
indicated by the DISPLAY environment variable.  That should set
correctly if the server you're attaching to is running xdm, gdm, or kdm.

You may also have to set ESPEAKER, but I've found that just DISPLAY
works for me.


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


Re: LSI SAS adapter

2006-10-09 Thread John Baldwin
[ cc's trimmed ]

On Monday 09 October 2006 11:12, [EMAIL PROTECTED] wrote:
> 
> Can anyone verify that the LSI0100 PCI-X SAS RAID card will work with
> 6.X-STABLE?  The mfi driver says it supports LSI SAS MegaRAID, but this
> isn't in the MegaRAID family (only does RAID 0 and 1, and I only need 1).
> 
> All experiences appreciated...please reply directly as I am not
> subscribed.

The mpt(4) driver supports several of the LSI SAS HBA's (the ones that
use the MPT/Fusion interface/firmware/whatever).  I don't know if it
specifically supports that adapter though as I can't find references to
that specific adapter.  If you had the PCI device ID that would be very
helpful.

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


Re: AHCI support in 6.1-RELEASE?

2006-10-09 Thread Juha Saarinen

On 10/10/06, Antony Mawer <[EMAIL PROTECTED]> wrote:

Most likely this renumbers the drivers, so you go from your hard drive
showing as eg. ad0 to ad4. You will need to edit /etc/fstab as
appropriate to match what the drive is showing up as after changing to
AHCI mode.


Yep... exactly like that - from ad0 to ad4. Worked perfectly. Thank
you very much, it didn't occur to me that there would be driver
renumbering when switching to AHCI.

Oddly enough, even though the drive is connected to SATA port 0 on the
motherboard, it shows up as being on ATA channel 2, Master.  According
to atacontrol, I have six ATA channels on the box, 0-5. Doesn't seem
quite logical that the driver should be renumbered as ad4, but... if
it works, I don't care.

--

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


Re: wxGlade error

2006-10-09 Thread Michael S
Have you just installed wxPython?
Maybe you need to execute the rehash command?

What if you try running python from the command line,
and try importing the package from within the
interpreter, i.e. typing "from wxPython.wx import *"?
Does it load the module?

--- Rod Person <[EMAIL PROTECTED]> wrote:

> When I try to run wxGlade on FreeBSD 7 Current I get
> the following
> error:
> 
> Traceback (most recent call last):
>   File
>
"/usr/local/lib/python2.4/site-packages/wxglade/wxglade.py",
> line
> 148, in ?
> run_main()
>   File
>
"/usr/local/lib/python2.4/site-packages/wxglade/wxglade.py",
> line
> 135, in run_main
> import main
>   File
>
"/usr/local/lib/python2.4/site-packages/wxglade/main.py",
> line 9,
> in ?
> from wxPython.wx import *
> ImportError: No module named wxPython.wx
> 
> wxPython is installed via the ports. Anyone have any
> ideas on how to
> correct this??
> 
> -- 
> Rod
> 
> "it takes an unusual mind to see the obvious."
> - Alfred Whitehead
> 

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


Re: AHCI support in 6.1-RELEASE?

2006-10-09 Thread Antony Mawer

On 10/10/2006 11:02 AM, Juha Saarinen wrote:

On 10/10/06, Antony Mawer <[EMAIL PROTECTED]> wrote:

Most likely this renumbers the drivers, so you go from your hard drive
showing as eg. ad0 to ad4. You will need to edit /etc/fstab as
appropriate to match what the drive is showing up as after changing to
AHCI mode.


Yep... exactly like that - from ad0 to ad4. Worked perfectly. Thank
you very much, it didn't occur to me that there would be driver
renumbering when switching to AHCI.

Oddly enough, even though the drive is connected to SATA port 0 on the
motherboard, it shows up as being on ATA channel 2, Master.  According
to atacontrol, I have six ATA channels on the box, 0-5. Doesn't seem
quite logical that the driver should be renumbered as ad4, but... if
it works, I don't care.


Usually I find that ad0/ad1 = primary IDE (master/slave), ad2/3 = 
secondary IDE (master/slave), and then the SATA connectors pick up from 
ad4 onwards...


The SATA ports seem to be numbered in increments of 2, presumably 
because every SATA port is a "master", so the usual "slave" position is 
unused... ie:


SATA 0 -> ad4
SATA 1 -> ad6
SATA 2 -> ad8
SATA 3 -> ad10

Presumably turning off ATA_STATIC_ID would just number them in the 
sequential order (ad0, ad1, ad2, ...) based on the devices that are 
actually connected... but this can mess things up when you connect 
additional drives at a later date somewhere in the middle of the chain!


I have a patch I wrote for sysinstall somewhere that allows you to do 
disk=auto in an install.cfg, and it picks the first device it comes 
across (eg. if ad4 is the first IDE disk, it picks it over ad10)... 
we've found this very handy for installation/deployment scenarios that 
are automated via install.cfg but may have different disk configurations...


If there's enough interest I might look at submitting it for inclusion...

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


Re: AHCI support in 6.1-RELEASE?

2006-10-09 Thread Juha Saarinen

On 10/10/06, Antony Mawer <[EMAIL PROTECTED]> wrote:

Usually I find that ad0/ad1 = primary IDE (master/slave), ad2/3 =
secondary IDE (master/slave), and then the SATA connectors pick up from
ad4 onwards...

The SATA ports seem to be numbered in increments of 2, presumably
because every SATA port is a "master", so the usual "slave" position is
unused... ie:

 SATA 0 -> ad4
 SATA 1 -> ad6
 SATA 2 -> ad8
 SATA 3 -> ad10


This is how it looks in dmesg now:

atapci0:  port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f
at device 31.1 on pci0
ata0:  on atapci0
ata1:  on atapci0

atapci1:  port
0xd000-0xd007,0xd400-0xd403,0xd800-0xd807,0xdc00-0
xdc03,0xe000-0xe00f mem 0xe2307000-0xe23073ff irq 19 at device 31.2 on pci0
ata2:  on atapci1
ata3:  on atapci1
ata4:  on atapci1
ata5:  on atapci1


Presumably turning off ATA_STATIC_ID would just number them in the
sequential order (ad0, ad1, ad2, ...) based on the devices that are
actually connected... but this can mess things up when you connect
additional drives at a later date somewhere in the middle of the chain!

I have a patch I wrote for sysinstall somewhere that allows you to do
disk=auto in an install.cfg, and it picks the first device it comes
across (eg. if ad4 is the first IDE disk, it picks it over ad10)...
we've found this very handy for installation/deployment scenarios that
are automated via install.cfg but may have different disk configurations...

If there's enough interest I might look at submitting it for inclusion...


Could be useful...

--

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


Re: RE : Re: RE : Re: RE : Re: cheapskate webmail interface

2006-10-09 Thread jan gestre

On 10/9/06, Desmond Coughlan <[EMAIL PROTECTED]> wrote:


Yes, I did everything mentioned in that HOWTO.  Still no luck.  Following
someone else's advice, I tried to install Thunderbird on another machine,
and connect to the server on port 143.  It failed.

D.



try to telnet port 143, if you can't connect it means you don't have an IMAP
server running, i suggest you use dovecot or courier-imap,  i prefer dovecot
though.

HTH

*jan gestre <[EMAIL PROTECTED]>* a écrit :




On 10/9/06, Desmond Coughlan <[EMAIL PROTECTED]> wrote:
>
> Yep, I've got that .. I tried logging in, and it took me directly to
> htdocs/index.html.
>
> Is it because the db isn't configured properly ?.
>
> D.
>

were you able to  install the roundcube database? did you configure
db.inc.php?
just follow this howto http://fak3r.com/?p=67 this is the same howto i've
used.

hth

 *jan gestre < [EMAIL PROTECTED]>* a écrit :
>
>
>
> On 10/8/06, jan gestre <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > On 10/6/06, Desmond Coughlan < [EMAIL PROTECTED]> wrote:
> > >
> > >
> > >
> > > you may want to try roundcube http://www.roundcube.net although it's
> > > still on beta the interface's rocks, nothing you ever experienced before,
> > > certainly cooler than squirrelmail with AJAX like interface.
> > >
> > >
> > > Interesting... OK, I've got roundcube installed, the tables are
> > > created, postgreSQL is running, apache is recompiled for PhP4 (which is
> > > installed also) ... oh, and I've installed IMAP4.
> > >
> > > Now what ?
> > >
> > > My question, I suppose, is .. what is the address used to access the
> > > web interface?
> > >
> > >
> > you need to configure main.inc.php and db.inc.php, usually just your
> > username will do but if you can't, try [EMAIL PROTECTED]
> >
>
> look for this part in roundcubemail/config/main.inc.php :
>
> // Automatically add this domain to user names for login
> // Only for IMAP servers that require full e-mail addresses for login
> // Specify an array with 'host' => 'domain' values to support multiple
> hosts
> $rcmail_config['username_domain'] = '';
>
> // This domain will be used to form e-mail addresses of new users
> // Specify an array with 'host' => 'domain' values to support multiple
> hosts
> $rcmail_config['mail_domain'] = ' sample.org';
>
> just replace sample.org with your fqdn and your done!
>
> username: user1
> password: *
>
> HTH
>
>
>  --
> Découvrez un nouveau moyen de poser toutes vos questions quel que soit
> le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos
> opinions et vos expériences. Cliquez 
ici.
>
>


--
Découvrez un nouveau moyen de poser toutes vos questions quel que soit le
sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos
opinions et vos expériences. Cliquez 
ici.




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


Re: mount_msdosfs 240G

2006-10-09 Thread Jonathan Horne
On Monday 09 October 2006 18:43, Kevin Sanders wrote:
> On 9/26/06, Alistair Sutton <[EMAIL PROTECTED]> wrote:
> > On 26/09/06, sanya <[EMAIL PROTECTED]> wrote:
> > > Hello
> > >
> > > I have a problem with mounting big fat32 partition.
> >
> > I had a similar problem when trying to mount a 180G USB drive.
> >
> > Recompiling my kernel with the MSDOSFS_LARGE option allowed me to
> > mount the drive.
>
> I wonder why this isn't the default?

because support for this is not deemed stable in environments that have X 
number of files in the file system, where X is "a number i cannot remember 
right now, but its a lot more than i have or ever will have".

hundreds of thousands or more.

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


Re: moving from startx to wdm -- how to make x11 not to listen on tcp ??

2006-10-09 Thread Eric Schuele

On 10/08/06 03:52, martinko wrote:

Hello,

I've been using startx / .xinitrc to start up X11 up till now and I made
sure startx ran X11 with "-nolisten tcp".
Now I'm moving to WDM and I'm not sure how to tell X11 not to listen on
port 6000. :-/
What is the best way to achieve this, please ?


If you didn't get an answer from freebsd-x11@ then try this link, might 
help.


http://lists.freebsd.org/pipermail/freebsd-security/2003-October/001173.html



Cheers,

Martin

___
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]"


Error building php5-pcre

2006-10-09 Thread Warren Liddell
Running FreeBSD6.2-PRERELEASE and im trying to build cacti with php5-pcre 
being a dependancy.



Below is the last few lines or so that error.
===     == 
cc -DEXPORT= -DNEWLINE=10 -DSUPPORT_UTF8 -DSUPPORT_UCP -DLINK_SIZE=2 
-DPOSIX_MALLOC_THRESHOLD=10 -DMATCH_LIMIT=1000 
-DMATCH_LIMIT_RECURSION=1000 
-I/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/pcrelib -I. 
-I/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre -DPHP_ATOM_INC 
-I/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/include 
-I/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/main 
-I/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre -I/usr/local/include/php 
-I/usr/local/include/php/main -I/usr/local/include/php/TSRM 
-I/usr/local/include/php/Zend -I/usr/local/include/php/ext -DHAVE_CONFIG_H -O2 
-fno-strict-aliasing -pipe -c 
/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c  -fPIC -DPIC -o 
.libs/php_pcre.o
/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1630: error: 
`fifth_arg_force_ref' undeclared here (not in a function)
/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1630: error: 
initializer element is not constant
/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1630: error: 
(near initialization for `pcre_functions[2].arg_info')
/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1630: error: 
initializer element is not constant
/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1630: error: 
(near initialization for `pcre_functions[2]')
/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1631: error: 
initializer element is not constant
/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1631: error: 
(near initialization for `pcre_functions[3].arg_info')
/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1631: error: 
initializer element is not constant
/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1631: error: 
(near initialization for `pcre_functions[3]')
/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1632: error: 
initializer element is not constant
/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1632: error: 
(near initialization for `pcre_functions[4]')
/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1633: error: 
initializer element is not constant
/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1633: error: 
(near initialization for `pcre_functions[5]')
/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1634: error: 
initializer element is not constant
/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1634: error: 
(near initialization for `pcre_functions[6]')
/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1635: error: 
initializer element is not constant
/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1635: error: 
(near initialization for `pcre_functions[7]')
*** Error code 1

Stop in /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre.
*** Error code 1

Stop in /usr/ports/devel/php5-pcre.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How-to maintain upgrade??

2006-10-09 Thread Gary Kline
On Mon, Oct 09, 2006 at 06:35:37PM -0400, Gerard Seibert wrote:
> On Monday 09 October 2006 17:53, Gary Kline wrote:
> 
> 
> I kind of do the same thing on a weekly basis. I created a shell script that 
> runs the following:
> 
> cd /usr/ports/distfiles   # Change to ports distfile 
> directory
> rm -rdf * # Clean it out


Why, exactly, you remove the distfiles?  (I'm thnking of times 
when I haven't moved the hard-to-retrieve files [JAVA, e.g]
to my other FBSD servers.)  Is there something lurking there 
than might muck up builds??

> /usr/local/sbin/portsclean -CDLP  # make sure the ports are clean

I do this after an upgrade.  ---Wouldn't hurt here, tho.

> /usr/sbin/portsnap cron   # Run portsnap from CRON
> /usr/sbin/portsnap update # Install new updated ports tree
> /usr/local/bin/portmanager -u -l -y   # Run portmanager to update the system
> 

I've come to prefer p'manager to portupgrade; each run takes
endless hours--at least three days.  Do you know if there is 
a way to upgrade only the dependencies that need it??  I used
-f and portmanager seemed to upgrade eerything.  Yes, it may 
have been my imagination!


> I only run this weekly. If something like Open Office needs to be updated 
> alone with KDE for instance, my system would not complete the process in 24 
> hours. Updating the ports tree while running an updating utility like 
> portmanager or portupgrade is generally considered a bad thing.


Thanks for your script ideas,

gary

> 
> -- 
> Gerard Seibert
> [EMAIL PROTECTED]
> 
> And that's the way it is...
> 
>   Walter Cronkite



-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: Using portconf and /usr/local/etc/ports.conf

2006-10-09 Thread James Long
> Date: Mon, 9 Oct 2006 05:15:28 -0700 (PDT)
> From: backyard <[EMAIL PROTECTED]>
> Subject: Re: Using portconf and /usr/local/etc/ports.conf
> To: freebsd-questions@freebsd.org
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=iso-8859-1
> 
> if ruby uses ncurses, that blue menu thing, you have
> to add BATCH=Yes as a build option to skip the menu
> and build it with the options you have selected.

You missed the point.  If I were to set batch mode on, then
it would just build WITHOUT the options I selected.  The fact
that the config box came up with RDOC and IPV6 still selected
suggests to me that portconf isn't recognizing my entries in 
ports.conf.

> don't know much about portconf

Thanks all the same.


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


NFS Client..attr caching..

2006-10-09 Thread Jeff Mohler

here at work we want to compile deep trees of code on Fbsd boxes, but
we are finding that the compiles on local disk are faster than via NFS
(very very fast/new Netapp boxes) on the FreeBSD boxes (single spindle
SATA drives).

However, cross-compiling the same code on a linux box over NFS to the
very same Netapp boxes is way faster than Fbsd on local disk.

Im trying of course to get the mount options/etc that the linux boxes
use, but any clues on how to mount a 150k file deep source tree to
most effectively cache getattr/readdir metadata which seems to be an
enourmous percentage of the total NFS calls in the compile process.

Thanks in advance..as I get more data.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Error upgrading python from ports

2006-10-09 Thread Heinrich Rebehn

Hi list,

/usr/ports/UPDATING reads:

20061009: 

  AFFECTS: users of any ports using Python 

  AUTHOR: [EMAIL PROTECTED] 




  After upgrading of lang/python, you must rebuild all its consumer 

  ports to make them get ready to Python 2.5. 




  To do this, you will need to: 

pkgdb -uf && cd /usr/ports/lang/python && make 
upgrade-site-packages



Doing this yields:

--->  Updating the pkgdb
[Rebuilding the pkgdb  in /var/db/pkg ... - 147 
packages found (-0 +147) 
... 
done]

Please install sysutils/portupgrade.
*** Error code 1

Stop in /usr/ports/lang/python.
[EMAIL PROTECTED] [/usr/ports/lang/python] # pkg_info -Ix portupgrade
portupgrade-2.1.3.3_1,2 FreeBSD ports/packages administration and 
management tool s



What's wrong?

--

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -

Phone : +49/421/218-4664
Fax   :-3341
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"