Re: Overwritten ldconfig default search path

2007-08-12 Thread Bahman M.
Well, after using the following directories as the default search path
and now the system is back to life!
/usr/lib
/usr/local/lib
/lib
/usr/X11R6/lib

And yes the -m switch is the solution :-)

Bahman

On 8/10/07, Bahman M. [EMAIL PROTECTED] wrote:
 Hi all,

 I issued the following command which as you may guess has overwritten
 ldconfig default search path.
 % sudo ldconfig -i /etc/ld.so.conf
 That ld.so.conf contained a few directories which I wanted to include
 in the search path. Now as a result the system has stopped
 functioning.
 Are there any workarounds? What is the default search path? Does it
 help if I feed ldconfig with the default search path?
 And for future to avoid this silly mistake: Should I use the -m switch
 in similar cases?

 Thanks in advance.
 Bahman

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


Re: subversion doesnt build: /usr/bin/ld: cannot find -lgssapi_krb5

2007-08-12 Thread Herbert J. Skuhra
Noah [EMAIL PROTECTED] wrote:
 Hi,

 subversion doesnt build: /usr/bin/ld: cannot find -lgssapi_krb5
 any clues why the gssapi_krb5 is not found.  where shall I find the 
 gssapi_krb5 library?  Shall I use the library from the linux 
 compatibility dirs?

security/krb5

I don't have libgssapi_krb5.so, but devel/subversion built fine.

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


ifconfig: SIOCIFCREATE: File exists ????

2007-08-12 Thread P.U.Kruppa

Hi,

today I tried to start cups with
	# /usr/local/etc/rc.d/cupsd start 
and receive this message:

ifconfig: SIOCIFCREATE: File exists
ifconfig: BRDGADD rl0: File exists
Starting cupsd.
What does this mean and why does it keep my printer from working?

Thanks,

Uli.



Peter Ulrich Kruppa
Wuppertal
Germany

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


Subversion --mod_dav_svn.so -

2007-08-12 Thread David Southwell
Hi

I am getting into problems compiling subversion with apache2.

subversion-1.4.4_1
apache-2.2.4_2

Could someone who is familier with subversion  apache please  confirm with me 
the configure and make command lines for both. 

I have what I believe to be the correct entries in httpd.conf:

LoadModule dav_module libexec/apache22/mod_dav.so
LoadModule dav_svn_module libexec/apache22/mod_dav_svn.so

Whatever I do not finish up with the required *so files after subversion is 
installed.

So
/usr/local/sbin/apachectl restart
reports:

httpd: Syntax error on line 88 of /usr/local/etc/apache22/httpd.conf: Cannot 
load /usr/local/libexec/apache22/mod_dav_svn.so into server: Cannot 
open /usr/local/libexec/apache22/mod_dav_svn.so

An up to date locate database does not find mod_dav_svn.so on the system.
whereis reports:
svn path is
svn: /usr/local/bin/svn
httpd path is:
httpd: /usr/local/sbin/httpd

Other *.so modules are in
/usr/local/libexec/apache22
and loading correctly


Thanks in advance

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


Re: subversion doesnt build: /usr/bin/ld: cannot find -lgssapi_krb5

2007-08-12 Thread Noah



Herbert J. Skuhra wrote:

Noah [EMAIL PROTECTED] wrote:

Hi,

subversion doesnt build: /usr/bin/ld: cannot find -lgssapi_krb5
any clues why the gssapi_krb5 is not found.  where shall I find the 
gssapi_krb5 library?  Shall I use the library from the linux 
compatibility dirs?


security/krb5

I don't have libgssapi_krb5.so, but devel/subversion built fine.




thanks Herbert,

what switches are you using at build time.  I added the following to me 
/etc/make.conf



WITH_MOD_DAV_SVN=yes
WITH_REPOSITORY_CREATION=yes


cheers,

Noah




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


Best practice for SMTP relay with user authentication

2007-08-12 Thread Erik Norgaard

Hi:

I have my postfix authenticate users before accepting mail for non-local 
delivery. Till now, users can connect to port 25 and 465 (smtps) use 
STARTTLS and authenticate.


But, I stumbled upon submission port 587 which is not reserved - it 
appeas - for a protocol but for a use?


I'd like to align my configuration with best practice. Should I just 
move postfix to bind to port 587 or did I misunderstand that submission 
is indeed a different protocol? Is there any best practice for which 
protocol should be used for submission?


Thanks, Erik

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


Re: ifconfig: SIOCIFCREATE: File exists ????

2007-08-12 Thread Wojciech Puchar
looks like there is an attempt to create bridge. but i have no idea why - 
see cupsd script.



On Sun, 12 Aug 2007, P.U.Kruppa wrote:


Hi,

today I tried to start cups with
# /usr/local/etc/rc.d/cupsd start and receive this message:
ifconfig: SIOCIFCREATE: File exists
ifconfig: BRDGADD rl0: File exists
Starting cupsd.
What does this mean and why does it keep my printer from working?

Thanks,

Uli.



Peter Ulrich Kruppa
Wuppertal
Germany

___
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: Disabling Shutdown Option On xfce4 Exit

2007-08-12 Thread Wojciech Puchar

2) Don't run X on a server


best way. no idea why to run X at all (and including wm+whole bunch of 
things) just to make him able to issue few commands.

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


Re: Best practice for SMTP relay with user authentication

2007-08-12 Thread Per olof Ljungmark

Erik Norgaard wrote:

Hi:

I have my postfix authenticate users before accepting mail for non-local 
delivery. Till now, users can connect to port 25 and 465 (smtps) use 
STARTTLS and authenticate.


But, I stumbled upon submission port 587 which is not reserved - it 
appeas - for a protocol but for a use?


I'd like to align my configuration with best practice. Should I just 
move postfix to bind to port 587 or did I misunderstand that submission 
is indeed a different protocol? Is there any best practice for which 
protocol should be used for submission?


I'm not an authority on the subject but we use it here for 
server-to-server. Here's a link to more reading:

http://www.faqs.org/rfcs/rfc2476.html

We use port 465 for authenticated MUA-to-MTA.

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


Help Pleasee: How to check FreeBSD's system characterset? How to change it to UTF-8?

2007-08-12 Thread VeeJay
 Hello fellows

How to check FreeBSD's system characterset?

How to change it to UTF-8?

I am unable to type a Ø Å Æ character


Please help!

-- 
Thanks!

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


Re: Help Pleasee: How to check FreeBSD's system characterset? How to change it to UTF-8?

2007-08-12 Thread David Southwell
On Sunday 12 August 2007 08:04:58 VeeJay wrote:
  Hello fellows

 How to check FreeBSD's system characterset?

 How to change it to UTF-8?

 I am unable to type a Ø Å Æ character


 Please help!

depending upon what you are doing one of the outputs from
#apropos utf8
may be helpful.

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


Install FreeBSD 6.2 with Intel Integrated RAID

2007-08-12 Thread Tamouh H.

Hi,

I've seen this question asked couple of times before but couldn't find a 
resolution for it. I'd appreciate any help on this subject.

I'm looking into getting a Supermicro board X7DVL-I which uses Intel chipset 
5000V and has integrated RAID through Intel ESB2 SATA 3.0Gbps Controller (Intel 
631xESB/632xESB)

When the system is configured for RAID, FreeBSD installer does not recognize 
the RAID setup instead it shows all the drives.

Is there a way to work around that ?

Thanks,

Tamouh Hakmi


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


Question on the IFS variable (not a FreeBSD question)

2007-08-12 Thread Rakhesh Sasidharan


Hi,

This isn't really a FreeBSD question. But I figure most people on this list 
would know the answer and so I'm asking. I've tried to get the answer out of 
Google, but I guess I am not asking it the right question and so not 
getting much hits.


I understand that the default value of the IFS variable in bash is space, tab, 
newline. For a script I am playing around with, I want to change IFS to be 
just newline. I tried the obvious like


IFS=\n
-or-
IFS='\n'

but that doesn't seem to do the trick coz then the letter n ends up being the 
separator.


A bit of Google searching got me the solution too. That I must set IFS this 
way:


IFS=$'\n'

I did that, and sure enough things work the way I want!

So my question is this: how come things work when I set IFS to $'\n' instead of 
just plain '\n'? I don't recollect seeing such a way of setting variables 
before, and so I'm curious about it.


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


Re: Subversion --mod_dav_svn.so -SOLVED

2007-08-12 Thread David Southwell
On Sunday 12 August 2007 05:24:19 David Southwell wrote:
 Hi

 I am getting into problems compiling subversion with apache2.

 subversion-1.4.4_1
 apache-2.2.4_2

 Could someone who is familier with subversion  apache please  confirm with
 me the configure and make command lines for both.

 I have what I believe to be the correct entries in httpd.conf:

 LoadModule dav_module libexec/apache22/mod_dav.so
 LoadModule dav_svn_module libexec/apache22/mod_dav_svn.so

 Whatever I do not finish up with the required *so files after subversion is
 installed.

 So
 /usr/local/sbin/apachectl restart
 reports:

 httpd: Syntax error on line 88 of /usr/local/etc/apache22/httpd.conf:
 Cannot load /usr/local/libexec/apache22/mod_dav_svn.so into server: Cannot
 open /usr/local/libexec/apache22/mod_dav_svn.so

 An up to date locate database does not find mod_dav_svn.so on the system.
 whereis reports:
 svn path is
 svn: /usr/local/bin/svn
 httpd path is:
 httpd: /usr/local/sbin/httpd

 Other *.so modules are in
 /usr/local/libexec/apache22
 and loading correctly


 Thanks in advance

 david
OK Found it
# make -DWITH_MOD_DAV_SVN configure
#make -DWITH_MOD_DAV_SVN 
#make install
works


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


Question on the IFS variable (not a FreeBSD question)

2007-08-12 Thread Robert Huff

Rakhesh Sasidharan writes:

  I understand that the default value of the IFS variable in bash
  is space, tab, newline.

I believe this to be correct.

  For a script I am playing around with, I want to change IFS to be 
  just newline. I tried the obvious like
  
  IFS=\n
  -or-
  IFS='\n'
  
  but that doesn't seem to do the trick coz then the letter n
  ends up being the separator.
  
  A bit of Google searching got me the solution too. That I must set IFS this 
  way:
  
  IFS=$'\n'

It is also possible to use:

IFS=


with the default shell; this has been (personally) confirmed
within the least few weeks.


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


FreeBSD Embedded in 3rd Party Applications and Appliances?

2007-08-12 Thread Pervaiz Choudhry

Hello,

We are trying determine cost and benefits  of supporting  FreeBSD  
platform for OEM market.  Does any one have data on the installbase  
for FreeBSD Embedded in 3rd party applications and appliances?  We  
are looking for ball park numbers.


Thanks,

Pervaiz Choudhry
Director, Business Development, Splunk Inc.
Office:  415-848-8444 | Mobile: 415-215-6530
[EMAIL PROTECTED] | www.splunk.com

Splunk The IT Search engine.




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


FW: patches for the 6.2-RELEASE kernel

2007-08-12 Thread leticia lazarini



From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: RE: patches for the 6.2-RELEASE 
kernelDate: Wed, 27 Jun 2007 00:57:51 +


Pare de enviar e-mail pra mim...não te conheço, tá enchendo minha caixa.Parem , 
por favor !

 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; 
 freebsd-questions@freebsd.org Date: Wed, 27 Jun 2007 00:42:09 + CC:  
 Subject: RE: patches for the 6.2-RELEASE kernel  STOP   
 Date: Wed, 27 Jun 2007 00:33:27 +0200 From: [EMAIL PROTECTED] To: 
 freebsd-questions@freebsd.org Subject: Re: patches for the 6.2-RELEASE 
 kernel  On Tue, 26 Jun 2007 21:20:58 +0300 Manolis Kiagias [EMAIL 
 PROTECTED] wrote:   Jose Luis Alarcon Sanchez wrote:   Hi Folks.   
   I am FreeBSD 6.2-RELEASE user. i'm learning FreeBSD. Some 
 times, i see people have a system named 6.2-RELEASE-pxx, where   xx is a 
 number. I know that -pxx are security patches, or not only   security and 
 too are patches for solve bugs?. My dude is: is very convenient 
 have upgraded the kernel to this   patches. I'm a home user, not a 
 bussiness. Nothing important   depend on my system. My second 
 dude is: how is the upgrade process?, are there this patch   files in 
 any concrete web site and the user must download it and apply?,   are 
 there any automatized mechanism for get it?. One last question, 
 what is the number of the last patch applied?. Thanks you very 
 much, in advance. Regards. Jose. There 
 is a program called freebsd-update. It is part of the main  system, you 
 already have it.  Patching the system is usually as easy as this:  (as 
 root):  freebsd-update fetch  freebsd-update install  Recompiling the 
 kernel is an easy, straightforward and well documented  process (unless you 
 csup'd your system to STABLE, which you haven't  obviously)
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html
 Since, as you say, nothing important depends on your system, you 
 should  experiment and learn from it!  The current patch level is p5   
  ManolisManolis,  Thank you very much for your reply. You're very 
 kind. Thanks too to Jerry McAllister and Chuck Swiger.  This list is 
 fantastic.  Regards.  Jose.  --  http://www.lordofunix.org/  Not 
 Registered GNU/Hurd User. Registered BSD User 51101. Registered Linux User 
 #213309. Memories. You are talking about memories. Rick Deckard. Blade 
 Runner. ___ 
 freebsd-questions@freebsd.org mailing list 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, 
 send any mail to [EMAIL PROTECTED] 
 _ Conheça o 
 Windows Live Spaces, a rede de relacionamentos conectada ao Messenger! 
 http://spaces.live.com/signup.aspx___
  freebsd-questions@freebsd.org mailing list 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, 
 send any mail to [EMAIL PROTECTED]

Conheça o Windows Live Spaces, a rede de relacionamentos conectada ao 
Messenger! Crie já o seu! 
_
Conheça o Windows Live Spaces, a rede de relacionamentos conectada ao Messenger!
http://spaces.live.com/signup.aspx___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Backspace

2007-08-12 Thread Derek Ragona

At 10:54 PM 8/11/2007, d.Z. wrote:

Hello,

I'm a new user to FreeBSD and Unix. I used Solaris 10 last week in
lab, and found there is a difference between them.

When Solaris is installed, press backspace will give you ^H, you'll
have to stty erase ^H to solve this problem. But with FreeBSD 6.1,
when first installed, backspace is always bounded to erase last
character, even I have stty erase ^? and stty erase2 ^?, backspace
still deletes last character input. Does any body know why is this
happening?


Solaris by default uses csh for user accounts.  The backspace key 
assignment and for that matter, all key assignments are dependent on the 
both the shell and terminal definition.  Reassigning keys is typical for 
your shell's startup profile file .cshrc for csh and .bashrc for bash.




And strange thing is with default setting (before stty erase and
erase2 to ^?), when I use Emacs, C-h will give me back space, instead
of help. I know this is desirable for experts, but I'm really new so
just want to follow the instruction first.


Applications like the shell you use interpret the terminal definition and 
may or may not use the same key assignments.  Most applications like the 
shells in UNIX environments have startup files to customize the key 
assignments and in the case of editors even define macros.


Hope this helps.

-Derek

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

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


Re: Question on the IFS variable (not a FreeBSD question)

2007-08-12 Thread Derek Ragona

At 10:57 AM 8/12/2007, Rakhesh Sasidharan wrote:


Hi,

This isn't really a FreeBSD question. But I figure most people on this 
list would know the answer and so I'm asking. I've tried to get the answer 
out of Google, but I guess I am not asking it the right question and so 
not getting much hits.


I understand that the default value of the IFS variable in bash is space, 
tab, newline. For a script I am playing around with, I want to change IFS 
to be just newline. I tried the obvious like


IFS=\n
-or-
IFS='\n'

but that doesn't seem to do the trick coz then the letter n ends up 
being the separator.


A bit of Google searching got me the solution too. That I must set IFS 
this way:


IFS=$'\n'

I did that, and sure enough things work the way I want!

So my question is this: how come things work when I set IFS to $'\n' 
instead of just plain '\n'? I don't recollect seeing such a way of setting 
variables before, and so I'm curious about it.


This is dependent on the shell you use, and how it interprets character 
sequences looking for escape characters and such.  This will differ between 
shells.


-Derek

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

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


Re: subversion doesnt build: /usr/bin/ld: cannot find -lgssapi_krb5

2007-08-12 Thread Herbert J. Skuhra
On Sun, Aug 12, 2007 at 05:42:56AM -0700, Noah wrote:
 
 
 Herbert J. Skuhra wrote:
 Noah [EMAIL PROTECTED] wrote:
 Hi,
 
 subversion doesnt build: /usr/bin/ld: cannot find -lgssapi_krb5
 any clues why the gssapi_krb5 is not found.  where shall I find the 
 gssapi_krb5 library?  Shall I use the library from the linux 
 compatibility dirs?
 security/krb5
 I don't have libgssapi_krb5.so, but devel/subversion built fine.
 
 
 
 thanks Herbert,
 
 what switches are you using at build time.  I added the following to me 
 /etc/make.conf
 
 
 WITH_MOD_DAV_SVN=yes
 WITH_REPOSITORY_CREATION=yes

You have propably built www/neon when security/krb5 was installed on
your system and later removed the krb5 port. 

I assume neon-config --libs still returns 

-L/usr/local/lib -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -lneon
-lintl -lssl -lcrypto -lz -L/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib
-O2 -fno-strict-aliasing -pipe -march=pentium4 -lgssapi_krb5 -lkrb5
-lk5crypto -lcom_err -lexpat

on your system although libgssapi_krb5.so does no longer exist.

On my system neon-config --libs returns:

-L/usr/local/lib -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -lneon
-lintl -lssl -lcrypto -lz -L/usr/lib -lgssapi -lkrb5 -lasn1 -lcrypto
-lroken -lcrypt -lcom_err -lexpat

You either have to rebuild www/neon or re-install security/krb5.

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


Re: Question on the IFS variable (not a FreeBSD question)

2007-08-12 Thread Manolis Kiagias


Rakhesh Sasidharan wrote:

 Hi,

 This isn't really a FreeBSD question. But I figure most people on this
 list would know the answer and so I'm asking. I've tried to get the
 answer out of Google, but I guess I am not asking it the right
 question and so not getting much hits.

 I understand that the default value of the IFS variable in bash is
 space, tab, newline. For a script I am playing around with, I want
 to change IFS to be just newline. I tried the obvious like

 IFS=\n
 -or-
 IFS='\n'

 but that doesn't seem to do the trick coz then the letter n ends up
 being the separator.

 A bit of Google searching got me the solution too. That I must set IFS
 this way:

 IFS=$'\n'

 I did that, and sure enough things work the way I want!

 So my question is this: how come things work when I set IFS to $'\n'
 instead of just plain '\n'? I don't recollect seeing such a way of
 setting variables before, and so I'm curious about it.

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


The IFS=$'\n' is, as you found, correct for bash.
See some details for this in the following post:
http://osdir.com/ml/shells.bash.bugs/2004-10/msg00104.html

Do a little experiment (inspired from the post stated above):
#export IFS=\n
#printf '%s\n' $IFS | cat -vt
will give \n == not what you expect
#export IFS='\n'
#printf '%s\n' $IFS | cat -vt
will give \n == again, not what you expect
#export IFS=$'\n'
#printf '%s\n' $IFS | cat -vt
will give


definitely a new line character (finally...)
I am not certain of the explanation, but from the above it seems to me
the IFS does not evaluate special '\something' characters unless there
is a $ in front. That is, of course, what you would do to get the value
of a shell variable. It seems then these characters need to be evaluated
in the same way.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Recommended IDE-to-USB bridge chipsets and hard drive enclosures?

2007-08-12 Thread G. Mirov
Hi All,

which of the supported IDE-to-USB (USB-to-IDE) bridge chipsets work
best with FreeBSD 4.x and 6.x?

Which external IDE-to-USB hard drive enclosures (caddies, cases) would
you recommend?

Does anyone here use an Icy Box IC-351U with FreeBSD? What chipset
is it based on?

I've been searching for information on a reliable supported chipset with
decent performance in an enclosure that does not overheat easily, but
sadly haven't found the answers I need, therefore any recommendation
from personal experience will be welcome. Thank you.

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


Re: Subversion --mod_dav_svn.so -

2007-08-12 Thread Philip M. Gollucci

David Southwell wrote:

Hi

I am getting into problems compiling subversion with apache2.

subversion-1.4.4_1
apache-2.2.4_2

Could someone who is familier with subversion  apache please  confirm with me
the configure and make command lines for both.

cd /usr/ports/devel/subversion
sudo make WITH_MOD_DAV_SVN=yes install clean

There are several other quite useful flags for this port too.


--

Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Senior System Admin - Riderway, Inc. http://riderway.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: w3 web browser on freebsd v6.2-R

2007-08-12 Thread jonathan michaels
On Fri, Aug 10, 2007 at 06:47:02PM +1000, Norberto Meijome wrote:
 On Fri, 10 Aug 2007 18:04:07 +1000
 jonathan michaels [EMAIL PROTECTED] wrote:
 
 []
 
   
but i checked for gettext in teh index-6 and in my version,
either jul 2006 or jan 2007 ( freebsd toolkit or jan 2007 ), is
a fw revisions earlier than the right one.
   
   fair enough, i keep mine up to date. you can use 
   
   locate libintl.so 
   
   instead , and see if you have any version of libintl installed.
   
   If you do have a version of libintl in your system, (highly likely if you 
   have gettext installed), then you can try mapping the calls to 
   libintl.so.8 to libintl.so (which should be a soft link to your version 
   of libintl, ie,so.SOMETHING ). You do this by updating /etc/libmap.conf 
  
  i found usr/local/lib/libintl.so and /usr/local/lib/libintl.so.6
 
 yes, a few -RELEASE boxen i manage have that too

suggestion .. please, how (best) to keep a freebsd host 'up-to-date',
for me, for various reasons going down the -stable road is too
much work. currently i use -release untill i need to upgrade
for some (usually) serious reason.

the situation that i am in now is the natural conclusion of
that road ..  
 
  
  how about 
  
  libintl.so.8   libintl.so.6   ??? 
 
 sure - but if / when u upgrade libintl.so.6 to, say, .7. or .8, it will 
 break. .so (no version @ end) will still be there.
 
   
   should do the trick.
   
   TFM is @ man libmap.conf :)
  
  would this live in 
  
  /etc/libmap.conf ?? or in
  /usr/local/etc/libmap.conf ?? or somewhereelse ??
  
 
 good point, never tried with /usr/local/etc - it is /etc/libmap.conf , from 
 the man page:
 FILES
  /etc/libmap.confThe libmap configuration file.
  /etc/libmap32.conf  The libmap configuration file for 32-bit binaries on
  64-bit system.

ok, i will try that latter on today .. thanks norberto, hope
you had a good weekend ?

much appreciations/kind regards

jonathan

-- 

powered by ..
QNX, OS9 and freeBSD  --  http://caamora com au/operating system
 === appropriate solution in an inappropriate world === 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Backspace

2007-08-12 Thread Dick Hoogendijk
Derek Ragona [EMAIL PROTECTED] writes:

 Solaris by default uses csh for user accounts.

What kind of information is this?
Solaris does _not_ use csh. Not for root and not for user accounts.
Both use 'sh' This is for solaris 10
The developers and community editions use bash for their user logins.
I change that into ksh or zsh myself ;-)

-- 
Dick Hoogendijk -- PGP/GnuPG key: 01D2433D
++ http://nagual.nl/ + Solaris 11 05/07 ++
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Backspace

2007-08-12 Thread Jerry McAllister
On Sun, Aug 12, 2007 at 01:31:36PM -0500, Derek Ragona wrote:

 At 10:54 PM 8/11/2007, d.Z. wrote:
 Hello,
 
 I'm a new user to FreeBSD and Unix. I used Solaris 10 last week in
 lab, and found there is a difference between them.
 
 When Solaris is installed, press backspace will give you ^H, you'll
 have to stty erase ^H to solve this problem. But with FreeBSD 6.1,
 when first installed, backspace is always bounded to erase last
 character, even I have stty erase ^? and stty erase2 ^?, backspace
 still deletes last character input. Does any body know why is this
 happening?
 
 Solaris by default uses csh for user accounts.  The backspace key 
 assignment and for that matter, all key assignments are dependent on the 
 both the shell and terminal definition.  Reassigning keys is typical for 
 your shell's startup profile file .cshrc for csh and .bashrc for bash.
 
 
 And strange thing is with default setting (before stty erase and
 erase2 to ^?), when I use Emacs, C-h will give me back space, instead
 of help. I know this is desirable for experts, but I'm really new so
 just want to follow the instruction first.
 
 Applications like the shell you use interpret the terminal definition and 
 may or may not use the same key assignments.  Most applications like the 
 shells in UNIX environments have startup files to customize the key 
 assignments and in the case of editors even define macros.

And those startup files are:

   For csh and tcsh  (tcsh is the most common one in FreeBSD)  
   the startup file is .cshrc  in one's home directory.  You can also
   create a system-wide one.

   For SH and bash it is .profile  and for them don't forget to export
   any variables.

jerry

 
 Hope this helps.
 
 -Derek
 
 -- 
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.
 MailScanner thanks transtec Computers for their support.
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Network Monitor?

2007-08-12 Thread Jack Barnett


Is there a way to monitor what traffic is coming in/out of my network?
For example: so me how much bandwidth emails are taking, how much http 
traffic (both in and outgoing), etc.

I'd like a report broken down by traffic type like in windows.

FreeBSD-6.2 x86

Thanks.


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


Re: Network Monitor?

2007-08-12 Thread Bill Moran
Jack Barnett [EMAIL PROTECTED] wrote:

 
 Is there a way to monitor what traffic is coming in/out of my network?
 For example: so me how much bandwidth emails are taking, how much http 
 traffic (both in and outgoing), etc.
 I'd like a report broken down by traffic type like in windows.

Have a look at the ntop port.

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


Re: Network Monitor?

2007-08-12 Thread Modulok
On 8/12/07, Jack Barnett [EMAIL PROTECTED] wrote:

 Is there a way to monitor what traffic is coming in/out of my network?
 For example: so me how much bandwidth emails are taking, how much http
 traffic (both in and outgoing), etc.
 I'd like a report broken down by traffic type like in windows.

If you're using ipfw(8) on a machine acting as a gateway and your
ruleset is configured with one rule per port, you can read the packet
and byte counters for each rule:

(root)# ipfw show;

By knowing what standard services correlate to each port (http on port
80, FTP on port 21, etc), you can get a pretty good idea of traffic.
It's not exactly the ideal solution, but it's a thought.

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


Re: Network Monitor?

2007-08-12 Thread Kelly D. Grills
On Sun, Aug 12, 2007 at 06:54:57PM -0500, Jack Barnett wrote:
 
 Is there a way to monitor what traffic is coming in/out of my network?
 For example: so me how much bandwidth emails are taking, how much http 
 traffic (both in and outgoing), etc.
 I'd like a report broken down by traffic type like in windows.
 
 FreeBSD-6.2 x86


MRTG is in the ports collection, /usr/ports/net-mgmt/mrtg
  
[EMAIL PROTECTED]/usr/ports/net-mgmt/mrtg $ cat pkg-descr
The Multi Router Traffic Grapher (MRTG) is a tool to monitor the
traffic
load on network-links. MRTG generates HTML pages containing PNG
images which
provide a LIVE visual representation of this traffic. Check

WWW: http://oss.oetiker.ch/mrtg/

for an example. MRTG is based on Perl and C and works under UNIX and
Windows
NT.

MRTG is being successfully used on many sites around the net.
Check the MRTG-Site-Map, which is at:
http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/users.html

-- 
Kelly D. Grills
[EMAIL PROTECTED]




pgpxE9EkKJxdG.pgp
Description: PGP signature


Re: Network Monitor?

2007-08-12 Thread Hakan K
Bandwidth Monitor NG
http://sourceforge.net/projects/bwmng




Thanks
Hakan
http://primoris.com





On 8/12/07, Jack Barnett [EMAIL PROTECTED] wrote:


 Is there a way to monitor what traffic is coming in/out of my network?
 For example: so me how much bandwidth emails are taking, how much http
 traffic (both in and outgoing), etc.
 I'd like a report broken down by traffic type like in windows.

 FreeBSD-6.2 x86

 Thanks.


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

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


Re: Network Monitor?

2007-08-12 Thread Speedtoys

Has an etherman port ever surfaced?


Got brakes?
==
25hrs or one season with one pad set is possible.  Save money and pit  
time, compromise nothing.  Ask how.

TXT or Tone: [EMAIL PROTECTED]
http://www.speedtoys.com


On Aug 12, 2007, at 8:11 PM, Hakan K [EMAIL PROTECTED] wrote:


Bandwidth Monitor NG
http://sourceforge.net/projects/bwmng




Thanks
Hakan
http://primoris.com





On 8/12/07, Jack Barnett [EMAIL PROTECTED] wrote:



Is there a way to monitor what traffic is coming in/out of my  
network?
For example: so me how much bandwidth emails are taking, how much  
http

traffic (both in and outgoing), etc.
I'd like a report broken down by traffic type like in windows.

FreeBSD-6.2 x86

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] 


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


Re: Question on the IFS variable (not a FreeBSD question)

2007-08-12 Thread Rakhesh Sasidharan


Manolis Kiagias wrote:


Do a little experiment (inspired from the post stated above):
#export IFS=\n
#printf '%s\n' $IFS | cat -vt
will give \n == not what you expect
#export IFS='\n'
#printf '%s\n' $IFS | cat -vt
will give \n == again, not what you expect
#export IFS=$'\n'
#printf '%s\n' $IFS | cat -vt
will give




definitely a new line character (finally...)
I am not certain of the explanation, but from the above it seems to me
the IFS does not evaluate special '\something' characters unless there
is a $ in front. That is, of course, what you would do to get the value
of a shell variable. It seems then these characters need to be evaluated
in the same way.


Yup, that's what I too figured from my experiments. Strange.

Oh well ... good to know now that '\n' (even in double quotes etc) need 
not always refer to the newline. Sometimes the $ magic is required ... :-)


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


Re: Question on the IFS variable (not a FreeBSD question)

2007-08-12 Thread Rakhesh Sasidharan


Robert Huff wrote:

 A bit of Google searching got me the solution too. That I must set IFS this
 way:

 IFS=$'\n'


It is also possible to use:

IFS=


with the default shell; this has been (personally) confirmed
within the least few weeks


Hmm, yeah, that too should work. Will try that sometime.

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


ccache never hits on buildworld or buildkernel

2007-08-12 Thread Maxim Khitrov
Hello,

I'm using ccache to build FreeBSD source and ports. Ports work great,
I build something once and the second time just about everything is
found in the cache. For buildworld and buildkernel, however,
everything is a miss. Even when not a single thing changed about the
configuration or the actual source files.

Below is my make.conf configuration for ccache. Ccache is being used
via world-cc and world-c++ binaries for these two operations; I can
see the miss counter go up in 'ccache -s'. Why is it unable to
properly cache when building the source?

Thanks.

make.conf:

.if (!empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj*))  \
!defined(NOCCACHE)  exists(/usr/local/libexec/ccache)
CC= /usr/local/libexec/ccache/world-cc
CXX=/usr/local/libexec/ccache/world-c++
.endif

.if !empty(.CURDIR:M/usr/ports*)  !defined(NOCCACHE) \
 exists(/usr/local/libexec/ccache)
CC= /usr/local/libexec/ccache/cc
CXX=/usr/local/libexec/ccache/c++
.endif

uname -a:

FreeBSD -.-.- 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sun Aug 12 15:45:05
EDT 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/KERNEL  i386
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ccache never hits on buildworld or buildkernel

2007-08-12 Thread [EMAIL PROTECTED]
On 12/08/07, Maxim Khitrov [EMAIL PROTECTED] wrote:
 Hello,

 I'm using ccache to build FreeBSD source and ports. Ports work great,
 I build something once and the second time just about everything is
 found in the cache. For buildworld and buildkernel, however,
 everything is a miss. Even when not a single thing changed about the
 configuration or the actual source files.

 Below is my make.conf configuration for ccache. Ccache is being used
 via world-cc and world-c++ binaries for these two operations; I can
 see the miss counter go up in 'ccache -s'. Why is it unable to
 properly cache when building the source?

 Thanks.

 make.conf:

 .if (!empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj*))  \
 !defined(NOCCACHE)  exists(/usr/local/libexec/ccache)
 CC= /usr/local/libexec/ccache/world-cc
 CXX=/usr/local/libexec/ccache/world-c++
 .endif

 .if !empty(.CURDIR:M/usr/ports*)  !defined(NOCCACHE) \
  exists(/usr/local/libexec/ccache)
 CC= /usr/local/libexec/ccache/cc
 CXX=/usr/local/libexec/ccache/c++
 .endif

 uname -a:

 FreeBSD -.-.- 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sun Aug 12 15:45:05
 EDT 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/KERNEL  i386

I believe ccache checks the compiler itself before issuing
a hit.  Since the buildworld process rebuilds the compiler
ccache thinks it's a different compiler and issues a miss.

From man ccache:

 CCACHE_NOHASH_SIZE_MTIME
  This tells ccache to not hash the real compiler's size and modi-
  fication time. Normally this is the mechanism to detect compiler
  upgrades.  There are situations however, where even  though  the
  compiler's  size or modification time has changed you can safely
  use the cached objects (e.g. if as part of your build system the
  compiler  is  built  as  well  and the compiler's source has not
  changed; or if the compiler has only changes that do not  affect
  code generation). Use this feature only if you know what you are
  doing.

I hope this helps?

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


Re: ccache never hits on buildworld or buildkernel

2007-08-12 Thread Maxim Khitrov
On 8/13/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 On 12/08/07, Maxim Khitrov [EMAIL PROTECTED] wrote:
  Hello,
 
  I'm using ccache to build FreeBSD source and ports. Ports work great,
  I build something once and the second time just about everything is
  found in the cache. For buildworld and buildkernel, however,
  everything is a miss. Even when not a single thing changed about the
  configuration or the actual source files.
 
  Below is my make.conf configuration for ccache. Ccache is being used
  via world-cc and world-c++ binaries for these two operations; I can
  see the miss counter go up in 'ccache -s'. Why is it unable to
  properly cache when building the source?
 
  Thanks.
 
  make.conf:
 
  .if (!empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj*))  \
  !defined(NOCCACHE)  exists(/usr/local/libexec/ccache)
  CC= /usr/local/libexec/ccache/world-cc
  CXX=/usr/local/libexec/ccache/world-c++
  .endif
 
  .if !empty(.CURDIR:M/usr/ports*)  !defined(NOCCACHE) \
   exists(/usr/local/libexec/ccache)
  CC= /usr/local/libexec/ccache/cc
  CXX=/usr/local/libexec/ccache/c++
  .endif
 
  uname -a:
 
  FreeBSD -.-.- 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sun Aug 12 15:45:05
  EDT 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/KERNEL  i386

 I believe ccache checks the compiler itself before issuing
 a hit.  Since the buildworld process rebuilds the compiler
 ccache thinks it's a different compiler and issues a miss.

 From man ccache:

  CCACHE_NOHASH_SIZE_MTIME
   This tells ccache to not hash the real compiler's size and modi-
   fication time. Normally this is the mechanism to detect compiler
   upgrades.  There are situations however, where even  though  the
   compiler's  size or modification time has changed you can safely
   use the cached objects (e.g. if as part of your build system the
   compiler  is  built  as  well  and the compiler's source has not
   changed; or if the compiler has only changes that do not  affect
   code generation). Use this feature only if you know what you are
   doing.

 I hope this helps?

Ah... good point, I did not consider this. Indeed setting that
environment variable cut the kernel compile time from 30 minutes to 8
with only 2 misses. Now I just have to remember to disable this
whenever the compiler actually does change. Wish there was a way to
have installworld only copy the compiler over if it is actually
different. Oh well, thank you for the tip.

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


Re: FreeBSD as host OS for VMware

2007-08-12 Thread Matthias Apitz
El día Tuesday, August 07, 2007 a las 12:09:43PM -0400, Maxim Khitrov escribió:

...
 
 I'm still waiting for the day when I can run FreeBSD as my main
 desktop OS, and have a virtual machine with Win XP and 3D acceleration
 for gaming. Don't like dual-boot setups, but I don't see any progress
 being made for the VM solution.

I'm running FreeBSD 6.2R and KDE3.5 on my laptop as my main
desktop OS and have a virtual machine Qemu with WinXP if I'm
forced to use some M$ stuff; works quite nice (for years now),
for what you are waiting exactly?

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://www.UnixArea.de/
b http://gurucubano.blogspot.com/
OCLC PICA GmbH, Geschaeftsfuehrer: Christine Magin-Weeger, Norbert Weinberger
Sitz der Gesellschaft: Oberhaching, HRB Muenchen: 113261
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD as host OS for VMware

2007-08-12 Thread Maxim Khitrov
On 8/13/07, Matthias Apitz [EMAIL PROTECTED] wrote:
 El día Tuesday, August 07, 2007 a las 12:09:43PM -0400, Maxim Khitrov 
 escribió:

 ...
 
  I'm still waiting for the day when I can run FreeBSD as my main
  desktop OS, and have a virtual machine with Win XP and 3D acceleration
  for gaming. Don't like dual-boot setups, but I don't see any progress
  being made for the VM solution.

 I'm running FreeBSD 6.2R and KDE3.5 on my laptop as my main
 desktop OS and have a virtual machine Qemu with WinXP if I'm
 forced to use some M$ stuff; works quite nice (for years now),
 for what you are waiting exactly?

What is the performance like and have you tried using VMGL for 3D
acceleration? Right now I'm actually in the process of installing
FreeBSD 7.0 on my laptop just to play around with it. I might give
Qemu a try. If I recall correctly, I tried Qemu in the past and the
performance was very poor compared to something like VMWare. Perhaps
things changed.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]