Re: fastest raw device copy?

2008-11-03 Thread Jeremy Chadwick
On Mon, Nov 03, 2008 at 09:04:47AM +0100, Wojciech Puchar wrote:
 Would there be anything wrong in

  cat /dev/ad0  /dev/da0

 ?

 small block size, IMHO 4kB with cat

Not to mention, doesn't cat operate on a character level and not a block
level?

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

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


Re: fastest raw device copy?

2008-11-03 Thread Wojciech Puchar

Would there be anything wrong in

 cat /dev/ad0  /dev/da0

?


small block size, IMHO 4kB with cat
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: about vi editor and turkish char

2008-11-03 Thread Matthias Apitz
El día Saturday, November 01, 2008 a las 09:37:01PM +0200, Yavuz Maslak 
escribió:

 
 Hello,
 
 Where do I have to specify LANG ...  expression to support  any language 
 in VI ?
 
 Ok. I have no problem in many editors about that but I wish to learn for vi 
 .

in sh or bash:

$ LANG=es_ES.UTF-8 export LANG
$ vim yourFileHere

HIH

matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
A computer is like an air conditioner, it stops working when you open Windows
Una computadora es como aire acondicionado, deja de funcionar si abres Windows
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: updating from 6.3 to 7, mirror problems

2008-11-03 Thread alasdair

-- Original Message --
Date: Sun, 2 Nov 2008 19:37:29 -0500
From: matt donovan [EMAIL PROTECTED]
To: andrew clarke [EMAIL PROTECTED]
Subject: Re: updating from 6.3 to 7, mirror problems
Cc: [EMAIL PROTECTED], freebsd-questions@freebsd.org


On Sun, Nov 2, 2008 at 11:37 AM, andrew clarke [EMAIL PROTECTED] wrote:

 On Fri 2008-10-31 08:11:49 UTC+1100, [EMAIL PROTECTED] (
 [EMAIL PROTECTED]) wrote:

  localhost# /usr/sbin/freebsd-update --debug fetch
  Looking up update1.FreeBSD.org mirrors... none found.
  Fetching public key from update1.FreeBSD.org...
  fetch: http://update1.FreeBSD.org/6.3-STABLE/i386/pub.ssl: Not Found

 Ah, this is not a DNS problem.

 You are trying to run freebsd-update from 6.3-STABLE.  This isn't
 supported.  From the freebsd-update(8) manpage:

 The FreeBSD Security Team only builds updates for releases shipped in
 binary form by the FreeBSD Release Engineering Team, e.g., FreeBSD
 6.1-RELEASE and FreeBSD 6.2-RC1, but not FreeBSD 6.2-STABLE or FreeBSD
 7.0-CURRENT.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]


yeah I should have noticed the 6.3-STABLE but I did not

Ok I see. How do I update from 6.3 STABLE to 7.0 STABLE ? I imagine there
is a tool for that? Short of down loading the iso files and doing it from
discs.

Thanks for your patience!!

Regards,

Alasdair

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


Re: updating from 6.3 to 7, mirror problems

2008-11-03 Thread (-K JohnNy
 Ok I see. How do I update from 6.3 STABLE to 7.0 STABLE ? I imagine there
 is a tool for that? Short of down loading the iso files and doing it from
 discs.

Don't know if there is a tool for this, but the usual way is to make a
RELENG-7 supfile, csup the 7-STABLE sources  and build them. More on
this subject in the handbook.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html

 Thanks for your patience!!
 
 Regards,
 
 Alasdair

-- 
(-K JohnNy alias Partial Derivative ∂
[home] http://johnny64.fixinko.sk/
[icq] 338328204 [abandoned]
[jabber] [EMAIL PROTECTED]
[skype] JohnNy64-konik [abandoned]


pgpoBoltbRRLO.pgp
Description: PGP signature


RE: Broken quoting (was Re: XFCE4)

2008-11-03 Thread Bob McConnell
On Behalf Of Jonathan McKeown
On Monday 03 November 2008 08:38:07 joeb wrote:

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Eitan Adler
 Sent: Monday, November 03, 2008 12:14 PM
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED] ORG
 Subject: Re: XFCE4

 Thank you for your random guess, but research of the ports system
seem to
 indicate a whole suite of ports are needed to build a complete
working
 environment.
 Waiting for a real user to fill in the details of what combination of
ports
 they used to build their XFCE4 desktop.
 
 I don't know whether it's you or your email client, but your quoting
is 
 hideously broken. Please fix it.

It's his email client. Microsoft Lookout will no longer do standard
quoting and forces top posting of replies. I am also required to use it
by our IT department policies and have to manually reformat each message
I reply to. There used to be an option that could be set to get angle
bracket quoting, but that disappeared in the update from MS-Office 2000
to 2003.

The top line, -Original Message-, is the clue that he is using
the Microsoft client. That is its standard separator for all replies.
Yes, it is a major pain. I really do prefer Thunderbird.

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


Question: the stable edition of Freebsd

2008-11-03 Thread Alex Zhang
Dear Support:

 

I'm a newcomer and want to install FreeBSD for study. Could you pls let me
know which the stable edition of FreeBSD now? 

And let me know how to subscribe the QA list that I prefer.

Thanks in advance.

 

BR

Alex 

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


raid tool

2008-11-03 Thread Brent Clark

Hiya

New to BSD, Using FreeBSD 7.
I need to build a test fileserver,  but I want it to use Raid 5. 
Googling says I must use vinum.


Looking in the ports I see its not available. The links / sites google 
suggests were moderately old, so my question is, whats the tool for raid?


TIA

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


Re: Broken quoting (was Re: XFCE4)

2008-11-03 Thread Jonathan McKeown
On Monday 03 November 2008 16:17:20 Bob McConnell wrote:

[Jonathan to joeb via freebsd-questions]
  I don't know whether it's you or your email client, but your quoting
  is hideously broken. Please fix it.

 It's his email client. Microsoft Lookout will no longer do standard
 quoting and forces top posting of replies. I am also required to use it
 by our IT department policies and have to manually reformat each message
 I reply to. There used to be an option that could be set to get angle
 bracket quoting, but that disappeared in the update from MS-Office 2000
 to 2003.

 The top line, -Original Message-, is the clue that he is using
 the Microsoft client. That is its standard separator for all replies.
 Yes, it is a major pain. I really do prefer Thunderbird.

I'm used to seeing the original message starting with its headers in the 
Outlook style - that's not what's confusing me here.

joeb, I don't mean to be rude but I find your posts hard to read (and I've 
seen others comment so as well), because instead you somehow end up with the 
original headers AFTER the original message, which is unexpected, and your 
response after that again - looking as though it belongs to the original 
header block.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question: the stable edition of Freebsd

2008-11-03 Thread Andreas Rudisch
On Mon, 3 Nov 2008 22:01:21 +0800
Alex Zhang [EMAIL PROTECTED] wrote:

 I'm a newcomer and want to install FreeBSD for study. Could you pls let me
 know which the stable edition of FreeBSD now? 

http://www.freebsd.org/
http://www.freebsd.org/releases/7.0R/announce.html

 And let me know how to subscribe the QA list that I prefer.

http://www.freebsd.org/community/mailinglists.html
http://lists.freebsd.org/mailman/listinfo/freebsd-questions

Andreas
--
GnuPG key  : 0x2A573565|http://www.gnupg.org/howtos/de/
Fingerprint: 925D 2089 0BF9 8DE5 9166  33BB F0FD CD37 2A57 3565


pgpFi55vDLfTe.pgp
Description: PGP signature


RE: Question: the stable edition of Freebsd

2008-11-03 Thread Johan Hendriks
Dear Support:

I'm a newcomer and want to install FreeBSD for study. Could you pls let me
know which the stable edition of FreeBSD now? 

And let me know how to subscribe the QA list that I prefer.

Thanks in advance.

 
BR
Alex
 
The latest stable version is a release like 7.0 or 6.3
Both are at the final stages of being replaced by 7.1 and 6.4

You subscribe to the mailing list by going to the following URL:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/eresources.html#ERESOURCES-MAIL
 
Select the list and on that page you'll see Subscribing to freebsd-(listname)

Fill in your e-mailadres and follow the instructions


Regards,
Johan Hendriks

No virus found in this outgoing message.
Checked by AVG - http://www.avg.com 
Version: 8.0.175 / Virus Database: 270.8.5/1763 - Release Date: 2-11-2008 19:08
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Broken quoting (was Re: XFCE4)

2008-11-03 Thread Frank Steinborn


That's wrong.


Am 03.11.2008 um 15:59 schrieb Jonathan McKeown [EMAIL PROTECTED] 
:



On Monday 03 November 2008 16:17:20 Bob McConnell wrote:

[Jonathan to joeb via freebsd-questions]

I don't know whether it's you or your email client, but your quoting
is hideously broken. Please fix it.


It's his email client. Microsoft Lookout will no longer do standard
quoting and forces top posting of replies. I am also required to  
use it
by our IT department policies and have to manually reformat each  
message

I reply to. There used to be an option that could be set to get angle
bracket quoting, but that disappeared in the update from MS-Office  
2000

to 2003.

The top line, -Original Message-, is the clue that he is  
using

the Microsoft client. That is its standard separator for all replies.
Yes, it is a major pain. I really do prefer Thunderbird.


I'm used to seeing the original message starting with its headers in  
the

Outlook style - that's not what's confusing me here.

joeb, I don't mean to be rude but I find your posts hard to read  
(and I've
seen others comment so as well), because instead you somehow end up  
with the
original headers AFTER the original message, which is unexpected,  
and your
response after that again - looking as though it belongs to the  
original

header block.
___
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: raid tool

2008-11-03 Thread John Nielsen
On Monday 03 November 2008 09:19:45 am Brent Clark wrote:
 New to BSD, Using FreeBSD 7.
 I need to build a test fileserver,  but I want it to use Raid 5.
 Googling says I must use vinum.

You have a few options, but strictly speaking the best-supported way to do 
RAID5 in FreeBSD is to use gvinum (vinum's GEOM-ified successor). It is 
part of the base system and not in ports.

There is also an unofficial geom_raid5 module, but last I was aware it 
still had some issues (and you'd have to grab the source and built it 
manually).

 Looking in the ports I see its not available. The links / sites google
 suggests were moderately old, so my question is, whats the tool for
 raid?

If you replace raid5 with redundancy and n-1 capacity then you could 
also look at geom_raid3, which is much simpler to configure than gvinum 
and also part of the base system. Additionally, FreeBSD 7.x has 
experimental support for ZFS (again in the base system and not in ports). 
That includes raidz, which is designed to have all of the good features 
of raid5 and none of the bad. I use it and it works well but you will 
need to do some reading and some manual tuning of your system. You'll 
also want a system with plenty of RAM and preferrably running 
FreeBSD-amd64 (vs FreeBSD-i386).

If you want to look in to RAID1 or RAID1+0 see geom_mirror and 
geom_stripe, also in the base system.

JN

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


Re: Broken quoting (was Re: XFCE4)

2008-11-03 Thread Frank Steinborn
On Mon, Nov 3, 2008 at 4:07 PM, Frank Steinborn [EMAIL PROTECTED] wrote:

 That's wrong.


 Am 03.11.2008 um 15:59 schrieb Jonathan McKeown
 [EMAIL PROTECTED]:

 On Monday 03 November 2008 16:17:20 Bob McConnell wrote:

 [Jonathan to joeb via freebsd-questions]

 I don't know whether it's you or your email client, but your quoting
 is hideously broken. Please fix it.

 It's his email client. Microsoft Lookout will no longer do standard
 quoting and forces top posting of replies. I am also required to use it
 by our IT department policies and have to manually reformat each message
 I reply to. There used to be an option that could be set to get angle
 bracket quoting, but that disappeared in the update from MS-Office 2000
 to 2003.

 The top line, -Original Message-, is the clue that he is using
 the Microsoft client. That is its standard separator for all replies.
 Yes, it is a major pain. I really do prefer Thunderbird.

 I'm used to seeing the original message starting with its headers in the
 Outlook style - that's not what's confusing me here.

 joeb, I don't mean to be rude but I find your posts hard to read (and I've
 seen others comment so as well), because instead you somehow end up with
 the
 original headers AFTER the original message, which is unexpected, and your
 response after that again - looking as though it belongs to the original
 header block.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

I'm sorry, this was not intended to go to you Jonathan, nor to the
list. I messed something up here. Sorry.

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


Re: raid tool

2008-11-03 Thread Brent Clark

John Nielsen wrote:
If you replace raid5 with redundancy and n-1 capacity then you could 
also look at geom_raid3, which is much simpler to configure than gvinum 
and also part of the base system. Additionally, FreeBSD 7.x has 
experimental support for ZFS (again in the base system and not in ports). 
That includes raidz, which is designed to have all of the good features 
of raid5 and none of the bad. I use it and it works well but you will 
need to do some reading and some manual tuning of your system. You'll 
also want a system with plenty of RAM and preferrably running 
FreeBSD-amd64 (vs FreeBSD-i386).


If you want to look in to RAID1 or RAID1+0 see geom_mirror and 
geom_stripe, also in the base system.


JN


Hiya

Thanks for this. I was looking at ZFS and I am impress with what I read, 
unfortunately no AMD 64 and I only have 1Gig Ram.


Thanks again.

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


Re: raid tool

2008-11-03 Thread Jeremy Chadwick
On Mon, Nov 03, 2008 at 05:19:29PM +0200, Brent Clark wrote:
 John Nielsen wrote:
 If you replace raid5 with redundancy and n-1 capacity then you 
 could also look at geom_raid3, which is much simpler to configure than 
 gvinum and also part of the base system. Additionally, FreeBSD 7.x has  
 experimental support for ZFS (again in the base system and not in 
 ports). That includes raidz, which is designed to have all of the good 
 features of raid5 and none of the bad. I use it and it works well but 
 you will need to do some reading and some manual tuning of your system. 
 You'll also want a system with plenty of RAM and preferrably running  
 FreeBSD-amd64 (vs FreeBSD-i386).

 If you want to look in to RAID1 or RAID1+0 see geom_mirror and  
 geom_stripe, also in the base system.

 JN

 Hiya

 Thanks for this. I was looking at ZFS and I am impress with what I read,  
 unfortunately no AMD 64 and I only have 1Gig Ram.

You can use ZFS on i386 and with 1GB RAM.

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

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


Re: raid tool

2008-11-03 Thread (-K JohnNy
 Thanks for this. I was looking at ZFS and I am impress with what I read, 
 unfortunately no AMD 64 and I only have 1Gig Ram.

I can tell you I'm using ZFS on an i386 desktop with 1 GB RAM and it
is working flawlessly after some tuning, more specifically:

# For ZFS
vm.kmem_size=521M
vm.kmem_size_max=512M
vfs.zfs.arc_min=16M
vfs.zfs.arc_max=64M
vfs.zfs.vdev.cache.size=5M
vfs.zfs.debug=1
vfs.zfs.prefetch_disable=1

in /boot/loader.conf.local

Today it finished the compilation openoffice.org-alllangs-3.0.0
successfully (after 1 day and 14:42:21). Before tuning the options
I have, there were some problems and the machine used to hang after
some 3 or 4 hours of compilation but from the moment I added the
options on I didn't have a single crash of the machine.
So maybe you could still give it a try...? (-;

Michal Petrucha

 Thanks again.
 
 Regards
 Brent Clark

-- 
(-K JohnNy alias Partial Derivative ∂
[home] http://johnny64.fixinko.sk/
[icq] 338328204 [abandoned]
[jabber] [EMAIL PROTECTED]
[skype] JohnNy64-konik [abandoned]


pgpuT92bE44X9.pgp
Description: PGP signature


Re: XFCE4

2008-11-03 Thread Jerry McAllister
On Mon, Nov 03, 2008 at 02:38:07PM +0800, joeb wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 FBSD1 wrote:
  What port names need to be installed to create a XFCE4 desktop
 environment?
  I was looking for a mega port like kde3 has but could not identify one.
  Thanks in advance.
 
 I'm going to rake a random guess: x11-wm/xfce4 ?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Eitan Adler
 Sent: Monday, November 03, 2008 12:14 PM
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED] ORG
 Subject: Re: XFCE4
 
 Thank you for your random guess, but research of the ports system seem to
 indicate a whole suite of ports are needed to build a complete working
 environment.
 Waiting for a real user to fill in the details of what combination of ports
 they used to build their XFCE4 desktop.

If there are dependancies, then, if you install/build from ports, it
should pull in all the dependancies, build and install them automatically
from the xfce4 port build.That is what is so nice with the port
system - or one of the big things anyway.

Other than that, I don't understand what you could be asking.

jerry


 
 ___
 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: Is KDE4 usable on FreeBSD?

2008-11-03 Thread Bob McConnell
On Behalf Of Bruce Cran

 And what about OS X? To me it seems it's a combination of the
 user-friendliness of Windows with the power of *NIX.  And lots of
 people have moved over to using it.

Yes, it appears to be very nice. The programmer in the next cube bought
his own laptop just so he can use it, with MS-Windows running in a VM.
But it can only be run on overpriced hardware available from a single
supplier. Until there are multiple sources, I don't consider it worth
evaluating.

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


Re: XFCE4

2008-11-03 Thread Mel
On Monday 03 November 2008 07:38:07 joeb wrote:


 Waiting for a real user to fill in the details of what combination of ports
 they used to build their XFCE4 desktop.

Xfce is not much more then a window manager. It does not come with a suite of 
various desktop applications like gnome and KDE. So, x11-wm/xfce4 is the 
right meta port.

Others have suggested some additional applications and gnome/kde applications 
will work with Xfce seamlessly.
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD on Eeepc 1000h

2008-11-03 Thread Sven
On 11/3/08, Pyun YongHyeon [EMAIL PROTECTED] wrote:
 In clear text: at the moment there is no driver available? Is this
 correct?

 That's not true anymore. There *IS* a driver, ale(4). See below.
  I've sent CFT to CURRENT ML and waiting for feedbacks from users.
  http://marc.info/?t=12253398883r=1w=2
  (For unknown reason archiving service of CURRENT ML does'nt seem to
  work. :-( )
  I'm not subscribed to questions@ so please CC to me.

Hi Pyun

Thanks for the information and your contribution. I will test the
driver next weekend.

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


Re: MySQL not restarted after portupgrade

2008-11-03 Thread Andrew Berry

On 3-Nov-08, at 1:16 AM, Yuri Pankov wrote:


Apache and Courier IMAP are just not stopped during deinstall stage
(IIRC). You can use AFTERINSTALL in /usr/local/etc/pkgtools.conf to
start MySQL after upgrade.


Thanks! There's even an example using mysql-server in the file. My  
AFTERINSTALL is now:


 AFTERINSTALL = {
   # Re-enable the X wrapper
   'x11-servers/XFree86-4-Server' = sprintf(
'cd %s/bin  if [ -x Xwrapper-4 ]; then ln -sf Xwrapper-4 X; fi',
x11base()),

# Automatically start MySQL server
'databases/mysql51-server' = proc { |origin|
  cmd_enable_rc(origin) + ';' + cmd_start_rc(origin)
},
 }

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


Re: Is KDE4 usable on FreeBSD?

2008-11-03 Thread Thomas Abthorpe
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On November 2, 2008 08:01:38 pm FBSD1 wrote:
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Chad Perrin
 Sent: Sunday, November 02, 2008 12:40 PM
 To: freebsd-questions@freebsd.org
 Subject: Re: Is KDE4 usable on FreeBSD?


 Ok now that you have all let off steam about the off topic of desktop
 verses ms/windows lets return the meaning of the  original poster.


   I spent this weekend playing with kde4 as root and had problems with it
 not working.
   Could not change the displayed time to from 20.00.00 to 8:00PM
 When I changed the resolution from the default to 800x600 and the refresh
 rate to 60.0 many of the applications did not auto fit to the new setting
 and the change would not carry over between logons.
 Some times the desktop just froze up and had to do alt-ctrl-backspace to
 force return to command line.
 When I changed the font type and size to use, the change would not carry
 over between logons.
 Could not find a way to remove items from the menu.
 Some icons would not display at all.
 Koffice was missing.
 Not all the application use the new window format which has the option to
 return to menu that launched it. Only has x out to return to desktop
 screen.

 Bottom line is imho kde4 is not stable, is not ready for general use. Needs
 more development and testing. Should only be contained in the development
 ports category.



I submit to the court of pulic opinion that KDE4 *IS* stable on FreeBSD. I 
would encourage you to check out the following resources

http://freebsd.kde.org
http://wiki.freebsd.org/KDE4

Certainly, if my word is not good enough, the nice folks over at PC-BSD, 
http://www.pcbsd.org, sure have bundled up a nice package based on FreeBSD 7 
and KDE4.


Thomas


- -- 
Thomas Abthorpe | FreeBSD Committer
[EMAIL PROTECTED]   | http://people.freebsd.org/~tabthorpe
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkkPKQ0ACgkQ5Gm/jNBp8qDLVQCdFw1phHPuvEn4bCaScIKzQfXs
OY0AnAzXFKTql/rM/uPFIcmKVqutv8zE
=X40c
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fastest raw device copy?

2008-11-03 Thread Wojciech Puchar

?


small block size, IMHO 4kB with cat


Not to mention, doesn't cat operate on a character level and not a block
level?

it just do 4kB read. that's all
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: raid tool

2008-11-03 Thread Wojciech Puchar

New to BSD, Using FreeBSD 7.
I need to build a test fileserver,  but I want it to use Raid 5. Googling 
says I must use vinum.


there is geom_raid5 available but not integrated with FreeBSD

google,download,compile,use



Looking in the ports I see its not available. The links / sites google 
suggests were moderately old, so my question is, whats the tool for raid?


TIA

Regards
Brent Clark
___
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: raid tool

2008-11-03 Thread Wojciech Puchar

If you replace raid5 with redundancy and n-1 capacity then you could
also look at geom_raid3, which is much simpler to configure than gvinum


and slower with random reads.

if he needs it for large files, then it's excellent.


and also part of the base system. Additionally, FreeBSD 7.x has
experimental support for ZFS (again in the base system and not in ports).
That includes raidz, which is designed to have all of the good features
of raid5 and none of the bad.


it gives performance of raid3 rather than raid5.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question: the stable edition of Freebsd

2008-11-03 Thread Jerry McAllister
On Mon, Nov 03, 2008 at 10:01:21PM +0800, Alex Zhang wrote:

 Dear Support:
  
 I'm a newcomer and want to install FreeBSD for study. Could you pls let me
 know which the stable edition of FreeBSD now? 
 
 And let me know how to subscribe the QA list that I prefer.
 
 Thanks in advance.
 

All of this is well documented on the FreeBSD website (www.freebsd.org)

For informatino on the mailing lists, go to:
  http://www.freebsd.org/community/mailinglists.html
or
  http://lists.FreeBSD.org/mailman/listinfo 
and look around.

The version setup in FreeBSD can be a little confusing for newcomers
because the terms stable and current are used in very specific ways - 
formally defined rather than in the more loose general conversation
way we often use them.

Current is the bleeding edge of development work - nothing is guaranteed
and stable is the development branch that is actually intended to eventually
become the next new version -- rather than current being the official 
present version out or stable being the most reliable version as one might 
guess from just the words before studying the documentation..
Check this part of the handbook:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html

If you are a FreeBSD beginning, what you want is a RELEASE version.
The latest at the moment are 6.3 and 7.0In the present form of
the web page, the latest RELEASEs plus the next two are listed right
there on the first page.

Other information on upcoming releases can be found on the Release
Engineering page:
   http://www.freebsd.org/releng/index.html

By the way, releng stands for Release Engineering here and when
you track a version for security updates you track a RELENG version.

So, if you installed FreeBSD 7.1, then in your csupfile you would put:

  *default tag=RELENG_7_1

That would get you the security updates for FreeBSD 7.1

If you wanted to jump up to stable you would put:

  *default tag=RELENG_7

and that would be the stable version of the FreeBSD 7 branch.
But, the funny thing about it is that the STABLE line is not mean
that it is actually stable.   They try to assure that it compiles
and builds.   And, usually it is pretty good.   But it hasn't gone
through all the official builds and been run against all the known
problem sets as has a RELEASE when it is 'released'.

So, for now, just install a RELEASE - probably 7.1 if you can wait
or 7.0 right now and track the security fixes by csup-ing to RELENG_7_1
or RELENG_7_0

Have fun,

jerry
   

jerry
  
 
 BR
 
 Alex 
 
 ___
 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]


copying 'holey' files ...

2008-11-03 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


I have a disk img for qemu that is 4G, but disk usage is only 650M ... due to 
how the image is created, it will grow to 4G, but only uses as much as it needs 
... but, if I run a simple 'cp' on the file, it goes from:

image: debian.img
file format: raw
virtual size: 4.0G (4294967296 bytes)
disk size: 652M

to:

image: dtc.img
file format: raw
virtual size: 4.0G (4294967296 bytes)
disk size: 4.0G

Is there a way of moving things around such that it *maintains* the holes, 
instead of fills them in?

Thx


- -- 
Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkkPKWEACgkQ4QvfyHIvDvNJIwCeOTgfxMEf/g/7bnFehXlDZAva
dCwAoJL8sNsCD+h3PnJAAzebAQFsHhfa
=fcAm
-END PGP SIGNATURE-

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


Re: copying 'holey' files ...

2008-11-03 Thread Matt
On Mon, Nov 3, 2008 at 10:40 AM, Marc G. Fournier [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1


 I have a disk img for qemu that is 4G, but disk usage is only 650M ... due to
 how the image is created, it will grow to 4G, but only uses as much as it 
 needs
 ... but, if I run a simple 'cp' on the file, it goes from:

 image: debian.img
 file format: raw
 virtual size: 4.0G (4294967296 bytes)
 disk size: 652M

 to:

 image: dtc.img
 file format: raw
 virtual size: 4.0G (4294967296 bytes)
 disk size: 4.0G

 Is there a way of moving things around such that it *maintains* the holes,
 instead of fills them in?

The qemu-img program using the convert command should do what you
want it to.  I've used it to make copies of qcow-format disks without
having them grow to their max-size.

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


Re: copying 'holey' files ...

2008-11-03 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Sweet, never even thought about doing that ... thank you ...

- --On Monday, November 03, 2008 11:04:22 -0600 Matt [EMAIL PROTECTED] wrote:

 On Mon, Nov 3, 2008 at 10:40 AM, Marc G. Fournier [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1


 I have a disk img for qemu that is 4G, but disk usage is only 650M ... due to
 how the image is created, it will grow to 4G, but only uses as much as it
 needs ... but, if I run a simple 'cp' on the file, it goes from:

 image: debian.img
 file format: raw
 virtual size: 4.0G (4294967296 bytes)
 disk size: 652M

 to:

 image: dtc.img
 file format: raw
 virtual size: 4.0G (4294967296 bytes)
 disk size: 4.0G

 Is there a way of moving things around such that it *maintains* the holes,
 instead of fills them in?

 The qemu-img program using the convert command should do what you
 want it to.  I've used it to make copies of qcow-format disks without
 having them grow to their max-size.

 Matt



- -- 
Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkkPMP4ACgkQ4QvfyHIvDvOvRACgyVOSp3nqJgqFQE7Ilm4IXbUZ
d+YAnj2lddYnGcLMBzSkXjbk0onRfnZY
=+Ft+
-END PGP SIGNATURE-

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


Re: Is KDE4 usable on FreeBSD?

2008-11-03 Thread Jerry
On Mon, 3 Nov 2008 12:38:30 -0400
Thomas Abthorpe [EMAIL PROTECTED] wrote:

I submit to the court of pulic opinion that KDE4 *IS* stable on
FreeBSD. I would encourage you to check out the following resources

Stable != Usable

-- 
Jerry
[EMAIL PROTECTED]

My own business always bores me to death; I prefer other people's.

Oscar Wilde


signature.asc
Description: PGP signature


CVSup update nagios-3.0.4_1

2008-11-03 Thread Gian Paolo Buono
Hi,
from web ports I have see   (
http://www.freebsd.org/cgi/ports.cgi?query=nagios-3stype=allsektion=all)
that is relased the version nagios-3.0.4_1 of nagios but I have on my system
the version nagios-3.0.3.

Now if i try to update nagios from cvsup I run the follow comands:

cd /usr/ports/ ; make update ; make fetchindex

When the upgrade is finished, i run:
portversion -l '' -v | grep nagios

but nagios-3.0.4_1 is not present.

This is my /etc/make.conf file:

#make.conf#
CPUTYPE=i686
CFLAGS= -O -pipe
INSTALL=install -C
SUP_UPDATE= yes
SUP=/usr/local/bin/cvsup
SUPFLAGS=   -g -L 2
SUPHOST=cvsup18.FreeBSD.org
SUPFILE=/usr/share/examples/cvsup/stable-supfile
PORTSSUPFILE=   /usr/share/examples/cvsup/ports-supfile
DOCSUPFILE= /usr/share/examples/cvsup/doc-supfile
WRKDIRPREFIX=   /var/tmp
WITHOUT_GNOME=  true
WANT_OPENSSL_MANPAGES=  true
MAKE_IDEA=  YES
WITH_OPTIMIZED_CFLAGS=  yes
PERL_ARCH=  mach
NOPERL= yo
NO_PERL=yo
NO_PERL_WRAPPER=yo
#make.conf#


cvsup18.FreeBSD.org has not yet updated ? Have you an idea ?

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


Re: Is KDE4 usable on FreeBSD?

2008-11-03 Thread Mark Moellering

Thomas Abthorpe wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On November 2, 2008 08:01:38 pm FBSD1 wrote:
  

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Chad Perrin
Sent: Sunday, November 02, 2008 12:40 PM
To: freebsd-questions@freebsd.org
Subject: Re: Is KDE4 usable on FreeBSD?


Ok now that you have all let off steam about the off topic of desktop
verses ms/windows lets return the meaning of the  original poster.


I spent this weekend playing with kde4 as root and had problems with it
not working.
Could not change the displayed time to from 20.00.00 to 8:00PM
When I changed the resolution from the default to 800x600 and the refresh
rate to 60.0 many of the applications did not auto fit to the new setting
and the change would not carry over between logons.
Some times the desktop just froze up and had to do alt-ctrl-backspace to
force return to command line.
When I changed the font type and size to use, the change would not carry
over between logons.
Could not find a way to remove items from the menu.
Some icons would not display at all.
Koffice was missing.
Not all the application use the new window format which has the option to
return to menu that launched it. Only has x out to return to desktop
screen.

Bottom line is imho kde4 is not stable, is not ready for general use. Needs
more development and testing. Should only be contained in the development
ports category.





I submit to the court of pulic opinion that KDE4 *IS* stable on FreeBSD. I 
would encourage you to check out the following resources


http://freebsd.kde.org
http://wiki.freebsd.org/KDE4

Certainly, if my word is not good enough, the nice folks over at PC-BSD, 
http://www.pcbsd.org, sure have bundled up a nice package based on FreeBSD 7 
and KDE4.



Thomas

  
I have used KDE-4   While some of the graphics are much better looking, 
I thought it lacked some functionality.  These are minor issues but 
several of the old (KDE 3.5.X) control panel options were not available 
(or I couldn't find them) and figuring out where to set certain options 
was not that intuitive for me.  I never found a central location for 
settings, it seemed that each control (menu, taskbar, etc) had it's own 
'right click' sort of settings page.
The small thing that truly bugged me is that I normally only display 
programs for the current desktop in the taskbar, but there was a small 
control that you could select that would display all windows on all 
desktops (I forget its official name).  I used it alot to make sure I 
didn't forget something running, etc.  I couldn't find this taskbar 
control in KDE 4.
The other problems I had dealt with thrid-party programs.  There is no 
(at least as of a few months ago) K3B for KDE-4 and no FreeBSD port of 
Ktorrent for KDE-4.  I tried the linux port but had lots of problems.
Also, to start you need to give an explicit path, something like 
/usr/local/kde-4/bin/startkde in the .xinitrc file.  (at least I could 
never get anything else to work)
I ultimately changed back to the 3.5.9(?) version from packages.  I am 
using an intel quad core running amd64 FreeBSD 7.0 Release


Hope this helps.

Mark Moellering

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


Re: Is KDE4 usable on FreeBSD?

2008-11-03 Thread mdh
--- On Mon, 11/3/08, Mark Moellering [EMAIL PROTECTED] wrote:
 From: Mark Moellering [EMAIL PROTECTED]
 Subject: Re: Is KDE4 usable on FreeBSD?
 To: freebsd-questions@freebsd.org
 Date: Monday, November 3, 2008, 12:08 PM

 The other problems I had dealt with thrid-party programs. 
 There is no (at least as of a few months ago) K3B for KDE-4
 and no FreeBSD port of Ktorrent for KDE-4.  I tried the
 linux port but had lots of problems.
 Also, to start you need to give an explicit path, something
 like /usr/local/kde-4/bin/startkde in the .xinitrc file. 
 (at least I could never get anything else to work)
 I ultimately changed back to the 3.5.9(?) version from
 packages.  I am using an intel quad core running amd64
 FreeBSD 7.0 Release

The standard ports for ktorrent and k3b work just fine.  They use the KDE3 
libraries, but there's nothing to stop them from running great under a KDE4 
desktop.  I use them both regularly with KDE4 as my desktop.  In order for them 
to use the KDE4 libraries, the authors of those applications will have to come 
up with new versions for KDE4.  That has nothing to do with FreeBSD.  

I also use a lot of GTK based applications as well, and these run on a KDE 
desktop as well.  The X UI library used by an application does not matter to 
the desktop environment/wm application except that you may get a little more 
integration given certain combinations in terms of them pulling theming data 
from the same sources, etc.  

- mdh



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


Re: Is KDE4 usable on FreeBSD?

2008-11-03 Thread Mel
On Monday 03 November 2008 18:08:38 Mark Moellering wrote:

 The other problems I had dealt with thrid-party programs.  There is no
 (at least as of a few months ago) K3B for KDE-4 and no FreeBSD port of
 Ktorrent for KDE-4.  I tried the linux port but had lots of problems.
 I ultimately changed back to the 3.5.9(?) version from packages.  I am
 using an intel quad core running amd64 FreeBSD 7.0 Release

We had a similar experience and for this reason patched the kernel, using 
instructions found here:
http://lists.freebsd.org/pipermail/freebsd-jail/2008-March/000217.html

Then have set up a jail with an updated kde-4 installed there. Every once in a 
while, we copy over the home dirs and run the jailed version, so that configs 
on the host system are untouched, but we still get a full experience test.

 Also, to start you need to give an explicit path, something like
 /usr/local/kde-4/bin/startkde in the .xinitrc file.  (at least I could
 never get anything else to work)

This is easily worked around by adding /usr/local/kde4/bin 
and /usr/local/kde4/sbin to your PATH in .profile, /etc/profile 
or /etc/login.conf.

Lastly another annoyance is having to click the app menu for it to move to the 
next category, but I'm sure that's configurable somewhere (I hope).
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: MySQL not restarted after portupgrade

2008-11-03 Thread RW
On Sun, 2 Nov 2008 22:21:53 -0800
Jeremy Chadwick [EMAIL PROTECTED] wrote:

 On Mon, Nov 03, 2008 at 12:52:53AM -0500, Andrew Berry wrote:
  For some reason, after running portupgrade
  databases/mysql51-server, MySQL is brought down, but not restarted.
  It's not a huge issue, as I just have to remember to run the rc.d
  script after upgrading, but I was wondering if anyone else had seen
  this? portupgrade seems to work fine with other daemons such as
  Apache and Courier IMAP.
 
 This is a per-port thing, unless portupgrade provides some form of
 rc.subr script restarting itself.  There is no standard for this.

You can setup BEFOREDEINSTALL and/or AFTERINSTALL in
pkgtools.conf to run rc.d scripts per port.

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


Java and FreeBSD

2008-11-03 Thread Spiros Papadopoulos
Hi,

It is now more than eight months that i am not able to use FreeBSD. FreeBSD

version 6.1 was the last.

Back then trying to work with Eclipse and java on FreeBSD was quite tricky.

Can anyone please tell me what the current status is? For example can i use

ports to install everything and start working with Eclipse straight away...?
Or

is Linux a better option?

What versions of FreeBSD and Eclipse would you recommend? Please feel free

to provide with as much information as you want.

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


Re: updating from 6.3 to 7, mirror problems

2008-11-03 Thread Steven Susbauer

(-K JohnNy wrote:

Ok I see. How do I update from 6.3 STABLE to 7.0 STABLE ? I imagine there
is a tool for that? Short of down loading the iso files and doing it from
discs.


Don't know if there is a tool for this, but the usual way is to make a
RELENG-7 supfile, csup the 7-STABLE sources  and build them. More on
this subject in the handbook.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html


Thanks for your patience!!

Regards,

Alasdair

This is correct. The tool freebsd-update may be used to update between
releases (and release candidates) with binaries, but not between the
development trees.

  -Steve


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


Re: Question: the stable edition of Freebsd

2008-11-03 Thread Steven Susbauer

Jerry McAllister wrote:

On Mon, Nov 03, 2008 at 10:01:21PM +0800, Alex Zhang wrote:


Dear Support:
 I'm a newcomer and want to install FreeBSD for study. Could you pls let 
me

know which the stable edition of FreeBSD now?

And let me know how to subscribe the QA list that I prefer.

Thanks in advance.



All of this is well documented on the FreeBSD website (www.freebsd.org)

For informatino on the mailing lists, go to:
  http://www.freebsd.org/community/mailinglists.html
or
  http://lists.FreeBSD.org/mailman/listinfo and look around.

The version setup in FreeBSD can be a little confusing for newcomers
because the terms stable and current are used in very specific ways - 
formally defined rather than in the more loose general conversation

way we often use them.

Current is the bleeding edge of development work - nothing is guaranteed
and stable is the development branch that is actually intended to 
eventually
become the next new version -- rather than current being the official 
present version out or stable being the most reliable version as one might 
guess from just the words before studying the documentation..

Check this part of the handbook:
 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html


If you are a FreeBSD beginning, what you want is a RELEASE version.
The latest at the moment are 6.3 and 7.0In the present form of
the web page, the latest RELEASEs plus the next two are listed right
there on the first page.

Other information on upcoming releases can be found on the Release
Engineering page:
   http://www.freebsd.org/releng/index.html

By the way, releng stands for Release Engineering here and when
you track a version for security updates you track a RELENG version.

So, if you installed FreeBSD 7.1, then in your csupfile you would put:

  *default tag=RELENG_7_1

That would get you the security updates for FreeBSD 7.1

If you wanted to jump up to stable you would put:

  *default tag=RELENG_7

and that would be the stable version of the FreeBSD 7 branch.
But, the funny thing about it is that the STABLE line is not mean
that it is actually stable.   They try to assure that it compiles
and builds.   And, usually it is pretty good.   But it hasn't gone
through all the official builds and been run against all the known
problem sets as has a RELEASE when it is 'released'.

So, for now, just install a RELEASE - probably 7.1 if you can wait
or 7.0 right now and track the security fixes by csup-ing to RELENG_7_1
or RELENG_7_0

Have fun,

jerry

If using a release, can he not use freebsd-update to keep current on
fixes rather than rebuilding everything? On a slow system, the more
binary the better.

 -Steve


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


Re: Question: the stable edition of Freebsd

2008-11-03 Thread Polytropon
On Mon, 03 Nov 2008 12:53:52 -0600, Steven Susbauer [EMAIL PROTECTED] wrote:
 If using a release, can he not use freebsd-update to keep current on
 fixes rather than rebuilding everything? On a slow system, the more
 binary the better.

Of course he can, I mean, that's what freebsd-update is intended for.
At least, it's very useful if you want to follow the RELEASE path
and only install the various security patches, so you don't have
7-STABLE, but, for example, 7.1-RELEASE-p5. This is a situation
you will usually find on servers.



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Java and FreeBSD

2008-11-03 Thread mdh
--- On Mon, 11/3/08, Spiros Papadopoulos [EMAIL PROTECTED] wrote:
 From: Spiros Papadopoulos [EMAIL PROTECTED]
 Subject: Java and FreeBSD
 To: freebsd mailing list freebsd-questions@freebsd.org
 Date: Monday, November 3, 2008, 1:26 PM
 Hi,
 
 It is now more than eight months that i am not able to use
 FreeBSD. FreeBSD
 
 version 6.1 was the last.
 
 Back then trying to work with Eclipse and java on FreeBSD
 was quite tricky.
 
 Can anyone please tell me what the current status is? For
 example can i use
 
 ports to install everything and start working with Eclipse
 straight away...?
 Or
 
 is Linux a better option?
 
 What versions of FreeBSD and Eclipse would you recommend?
 Please feel free
 
 to provide with as much information as you want.

My advice is to install the following ports in the following order:  

java/jdk16
java/eclipse-devel

eclipse-devel worked much better for me than did java/eclipse.  I also had 
trouble without getting jdk16 installed first.  It's been a while now, so I'm 
not exactly sure what all, but I think if you install those ports in that 
order, Eclipse will work for you.  You may also want to make a symlink from 
/usr/local/eclipse to /usr/local/eclipse-devel - this allows the Eclipse plugin 
ports to install properly.  Without it, they will not.  I've got several (Perl, 
Ruby, and a couple of others) installed from ports against eclipse-devel and 
they work fine once that symlink is in place.  

- mdh



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


Images-only webserver, lighttpd vs NginX

2008-11-03 Thread Francis Dubé

Hi everyone,

I posted last week about my webserver hitting the kernel's max process 
allowed (error : collecting pv entries -- suggest increasing 
PMAP_SHPGPERPROC).


As a part of the solution, I decided to build a jail with a light 
webserver dedicated to images requests, the biggest part of the requests 
the server have to process. Most of the websites hosted on the server 
have approximately 200 small images with a size between 1k and 32k each. 
I'm currently hesitating between NginX and lighttpd, which both seems to 
offer similar benchmarks for this job. The questions :


Is someone doing something similar to this with one of the two ?
Which one do you suggest and why ?
I've read about a memory leak in lighttpd, is anyone is having issues 
with this under FreeBSD ?


Any ideas regarding our situation is appreciated,

Thanks !


Francis Dube
R  D
Optik Securite
www.optiksecurite.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: copying 'holey' files ...

2008-11-03 Thread Fabian Keil
Marc G. Fournier [EMAIL PROTECTED] wrote:

 I have a disk img for qemu that is 4G, but disk usage is only 650M ... due to 
 how the image is created, it will grow to 4G, but only uses as much as it 
 needs 
 ... but, if I run a simple 'cp' on the file, it goes from:
 
 image: debian.img
 file format: raw
 virtual size: 4.0G (4294967296 bytes)
 disk size: 652M
 
 to:
 
 image: dtc.img
 file format: raw
 virtual size: 4.0G (4294967296 bytes)
 disk size: 4.0G
 
 Is there a way of moving things around such that it *maintains* the holes, 
 instead of fills them in?

Quoting dd(1):

| conv=value[,value ...]
|  Where value is one of the symbols from the following list.
[...]
|  sparse   If one or more output blocks would consist solely of
|   NUL bytes, try to seek the output file by the required
|   space instead of filling them with NULs, resulting in a
|   sparse file.

I haven't actually tested it with qemu images, though.

Fabian


signature.asc
Description: PGP signature


Re: Question: the stable edition of Freebsd

2008-11-03 Thread Jerry McAllister
On Mon, Nov 03, 2008 at 12:53:52PM -0600, Steven Susbauer wrote:

 Jerry McAllister wrote:
 On Mon, Nov 03, 2008 at 10:01:21PM +0800, Alex Zhang wrote:
 
 Dear Support:
  I'm a newcomer and want to install FreeBSD for study. Could you pls let 
 me
 know which the stable edition of FreeBSD now?
 
 And let me know how to subscribe the QA list that I prefer.
 
 Thanks in advance.
 
 
 All of this is well documented on the FreeBSD website (www.freebsd.org)
 
 For informatino on the mailing lists, go to:
   http://www.freebsd.org/community/mailinglists.html
 or
   http://lists.FreeBSD.org/mailman/listinfo and look around.
 
 The version setup in FreeBSD can be a little confusing for newcomers
 because the terms stable and current are used in very specific ways - 
 formally defined rather than in the more loose general conversation
 way we often use them.
 
 Current is the bleeding edge of development work - nothing is guaranteed
 and stable is the development branch that is actually intended to 
 eventually
 become the next new version -- rather than current being the official 
 present version out or stable being the most reliable version as one might 
 guess from just the words before studying the documentation..
 Check this part of the handbook:
  
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html
 
 If you are a FreeBSD beginning, what you want is a RELEASE version.
 The latest at the moment are 6.3 and 7.0In the present form of
 the web page, the latest RELEASEs plus the next two are listed right
 there on the first page.
 
 Other information on upcoming releases can be found on the Release
 Engineering page:
http://www.freebsd.org/releng/index.html
 
 By the way, releng stands for Release Engineering here and when
 you track a version for security updates you track a RELENG version.
 
 So, if you installed FreeBSD 7.1, then in your csupfile you would put:
 
   *default tag=RELENG_7_1
 
 That would get you the security updates for FreeBSD 7.1
 
 If you wanted to jump up to stable you would put:
 
   *default tag=RELENG_7
 
 and that would be the stable version of the FreeBSD 7 branch.
 But, the funny thing about it is that the STABLE line is not mean
 that it is actually stable.   They try to assure that it compiles
 and builds.   And, usually it is pretty good.   But it hasn't gone
 through all the official builds and been run against all the known
 problem sets as has a RELEASE when it is 'released'.
 
 So, for now, just install a RELEASE - probably 7.1 if you can wait
 or 7.0 right now and track the security fixes by csup-ing to RELENG_7_1
 or RELENG_7_0
 
 Have fun,
 
 jerry
 If using a release, can he not use freebsd-update to keep current on
 fixes rather than rebuilding everything? On a slow system, the more
 binary the better.

As far as I know.

But, somehow I feel cleaner doing the whole thing.
I haven't found the builds to take all that long.   This system
is not blindingly fast but, I suppose there are others that are
much slower.

jerry

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


Bizarre:: blank screen [on KVM] refuses to come back...

2008-11-03 Thread Gary Kline

A couple of things may be related to this behavior. When I have
left my keyboard for more than a few hours, FreeBSD with X11
running KDE3 remains blanck/blank.  No amount of moving my
mouse of tapping keys will bring back the display.  (I'm writing 
this ssh'd in my via Ubuntu [KDE?].)

I noticed--via top--that the system was loaded at above 2.00 
while otherwise idle; I've killed off a bunch of processes but
cannot get the load below 1.00.   I'm running 7.0, on a
Dell-8200, 1G RAM.  

So:  any suggestions how to get my screen back? Has anybody seen
this before?  Why the heavy load:: any ideas?  And, is there any
way I can turn off screen blanking *completely*?  I almost always
turn off the display anyway if I'm gone for  15-20 minutes.

thanks for any clues.  i hate to keep rebooting. ...

gary


-- 
 Gary Kline  [EMAIL PROTECTED]  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


Re: Images-only webserver, lighttpd vs NginX

2008-11-03 Thread Matthew Seaman

Francis Dubé wrote:

As a part of the solution, I decided to build a jail with a light 
webserver dedicated to images requests, the biggest part of the requests 
the server have to process. Most of the websites hosted on the server 
have approximately 200 small images with a size between 1k and 32k each. 
I'm currently hesitating between NginX and lighttpd, which both seems to 
offer similar benchmarks for this job. The questions :


Is someone doing something similar to this with one of the two ?


I've had very good results with nginx for doing this sort of thing.


Which one do you suggest and why ?


I originally chose nginx because it did what I wanted and it didn't conflict with Apache (ie. by installinga binary called 'httpd') on the 
same machine.  However I wasn't aware of lighttpd at that point.  By 
the time I did find out about lighttpd, there was no compelling reason 
to change from nginx.


I think you'll find either is adequate to your needs.  Unless you're
trying to squeeze the absolute last drop of performance out of your 
hardware, consider other things than raw speed.  Do you find the 
configuration files easy to understand and deal with?  Can you strip 
down the server to the absolute minimum necessary to serve your needs, 
and if so which of the two is smaller?  Which server name do you find 
easier to type?


I've read about a memory leak in lighttpd, is anyone is having issues 
with this under FreeBSD ?


H... That would disqualify it from serious contention straight 
away.  But http://www.lighttpd.net/security/lighttpd_sa_2008_07.txt

shows the memleak bug fixed in the latest version 1.4.20, which is
in ports.

Haven't had any stability problems ever with nginx.


Any ideas regarding our situation is appreciated,


I think either of these packages will probably serve you well.  If
you really can't choose between them, then toss a coin.  


Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: copying 'holey' files ...

2008-11-03 Thread Wojciech Puchar


I have a disk img for qemu that is 4G, but disk usage is only 650M ... due to
how the image is created, it will grow to 4G, but only uses as much as it needs
... but, if I run a simple 'cp' on the file, it goes from:


tar have options for that



image: debian.img
file format: raw
virtual size: 4.0G (4294967296 bytes)
disk size: 652M

to:

image: dtc.img
file format: raw
virtual size: 4.0G (4294967296 bytes)
disk size: 4.0G

Is there a way of moving things around such that it *maintains* the holes,
instead of fills them in?

Thx


- --
Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkkPKWEACgkQ4QvfyHIvDvNJIwCeOTgfxMEf/g/7bnFehXlDZAva
dCwAoJL8sNsCD+h3PnJAAzebAQFsHhfa
=fcAm
-END PGP SIGNATURE-

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



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


Re: Images-only webserver, lighttpd vs NginX

2008-11-03 Thread Paul A. Procacci

Francis Dubé wrote:

Hi everyone,

I posted last week about my webserver hitting the kernel's max process 
allowed (error : collecting pv entries -- suggest increasing 
PMAP_SHPGPERPROC).


As a part of the solution, I decided to build a jail with a light 
webserver dedicated to images requests, the biggest part of the 
requests the server have to process. Most of the websites hosted on 
the server have approximately 200 small images with a size between 1k 
and 32k each. I'm currently hesitating between NginX and lighttpd, 
which both seems to offer similar benchmarks for this job. The 
questions :


Is someone doing something similar to this with one of the two ?
Which one do you suggest and why ?
I've read about a memory leak in lighttpd, is anyone is having issues 
with this under FreeBSD ?


Any ideas regarding our situation is appreciated,

Thanks !


Francis Dube
R  D
Optik Securite
www.optiksecurite.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
They are both good static content servers.  You can easily max out a 
GiGe link using either.  We use lighttpd more extensively than nginx, 
however we do use both.  Quite frankly, it's truthfully up to you.  
Performance wise, they are on par with once another.


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


Re: Images-only webserver, lighttpd vs NginX

2008-11-03 Thread Paul A. Procacci

Sam Fourman Jr. wrote:

They are both good static content servers.  You can easily max out a GiGe
link using either.  We use lighttpd more extensively than nginx, however we
do use both.  Quite frankly, it's truthfully up to you.  Performance wise,
they are on par with once another.

~Paul


at the risk of being slightly OT

is there a recent toutorial that anyone knows of for lighthttpd on
FreeBSD 7, I have used Google and
I can't turn up anything recent

Sam Fourman Jr.
Fourman Networks
  
What kind of tutorial are you looking for?  Their documentation is quite 
extensive.


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


Re: disappearing mouse pointer

2008-11-03 Thread Robert
On Sun, 26 Oct 2008 15:11:50 -0400
Bryant Eadon [EMAIL PROTECTED] wrote:

 Robert wrote:
  On Mon, 20 Oct 2008 10:38:39 -0700
  Robert [EMAIL PROTECTED] wrote:
  
  Greetings FreeBSD
 
  When running XFCE4 I will lose the mouse pointer at times. This
  will only happen when I have the driver set to nv in xorg.conf.
  The mouse will still work as I can see where it is when I pass
  over icons and watch them highlight. If I can stop on an icon, I
  can click and it works.
 
  If I drop out of the XFCE4 using ctl-alt-backspace, the mouse
  pointer appears and all is well. If I restart the XFCE4, there is
  no pointer. If I change the driver to vesa and restart then I
  have a pointer again. The only way I have found to regain the
  pointer using nv is to reboot.
 
  All ports are up to date and I am running amd64 RELENG_7 as of last
  Saturday.
 
  uname -a
  FreeBSD asus64.shasta204.local 7.1-PRERELEASE FreeBSD
  7.1-PRERELEASE #1: Sat Oct 18 13:31:00 PDT 2008
  [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  amd64
 
  If I should have posted to a different list please let me know. I
  have also attached my xorg.conf.
 
  TIA
 
  Robert
  
   Five days and no responses, so maybe more information. On this
   computer I have on board GeForce 6100.
  
   [EMAIL PROTECTED]:0:5:0:   class=0x03 card=0x81bf1043
   chip=0x024210de rev=0xa2 hdr=0x00 vendor = 'Nvidia Corp'
   device = 'GeForce 6100'
   class  = display
   subclass   = VGA
  
   I have the same exact release and ports running on a different
   computer equipped with a GeForce 6800 XT in an AGP slot without a
   problem. The big difference is that other computer is running
   i386. It is using nv driver without any problems.
  
   Can anyone point me in the right direction. Feel free to tell me
   where to go. :-)
  
   Thanks
   Robert
  
 
 This seems like a very strange problem.  Let's try focusing on XFCE
 first.
 
 Are any processes conflicting with drawing something on the screen,
 from your description it seems like XFCE is a problem, but do other
 window managers do the same thing ?
 
 If it's not wm specific then I'd try chasing down the developers of 
 xf86-video-nv . Here is a starting point : 
 http://www.t2-project.org/packages/xf86-video-nv.html
 
 Does the driver support any sort of 'debug' mode that you could log
 to file ?
 
 
 
 Taking a walk through xf86-video-nv, it looks like there are a few
 bitshift and  operators that use pointer and move things to and
 fro.  ( in 64-bit land that maybe these moves should be handled
 differently ? Or are these magic numbers? )
 
 Take a look into the source, nv_cursor.c
 
 Examining these lines :
 #if X_BYTE_ORDER == X_BIG_ENDIAN
  if ( m  0x8000)
  *dst = ( b  0x8000) ? pNv-curFg : pNv-curBg;
  else
  *dst = TRANSPARENT_PIXEL;
 
 This case draws the pixel transparently if it fails the test -- which
 seems to coincide with what you're seeing.  This is just a wild
 guess, it could be used elsewhere though with the same affect.
 
 
 But then again, since this is working at all, then it may point to
   1. the wm
   2. Xorg may have a problem reporting it to the wm
 
 Hope it helps.  Report back if you have any progress.
 
 
 Later,
 Bryant

I waited to answer so that I could do further testing. 

I first moved .xinitrc out of the way so I would load the default wm,
twm. It only took a couple of days and I lost the mouse cursor.

I had a spare slice on a separate disk, so I installed the i386 version
of 7 Beta 2 from CD. I updated it to stable and installed most of my
packages, including XFCE4. 

I made the mistake of copying over all of my config files from the
AMD64 version and the problem recurred. I then cleaned all of my
packages with pkg_delete *. I cleaned out my home directory
and /usr/local. I then reinstalled all of the necessary packages. It
took a few says but it happened again. 

I moved my .xinitrc out of the way and was using twm since last
Friday. About an hour ago I returned to my computer and the mouse
cursor was missing. 

Evidently, the problem is something to do with my hardware that the
nv driver does not like. I guess we can close this out as weird
hardware problems. For the record, here is what I have:

A8N-VM motherboard with 2 Gig of RAM (4x500)
CPU: AMD Athlon(tm) 64 Processor 3200+ (2009.16-MHz 686-class CPU)
On board video is GeForce 6100
Wireless mouse and keyboard through a PS2 KVM (happened before the kvm
installed)

If anyone needs more information I will be happy to provide it but for
me, I will just live with it.

Thanks

Robert


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


Re: Images-only webserver, lighttpd vs NginX

2008-11-03 Thread Dan
Matthew Seaman([EMAIL PROTECTED])@2008.11.03 19:59:56 +:
 Francis Dub? wrote:
 
 Which one do you suggest and why ?

nginx. Lighttpd has remote security holes once in a while. nginx has
better security design and is more modular and faster. It happens to
also be feature-rich, which is not easy to do in a fast and secure
server. Lighttpd had one recent remote hole as of .18. IIRC nginx had
none.


-- 
But oftentimes I'm asked: Why? Why do you care what happens outside of
America?   Washington, D.C., June 26, 2008
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Images-only webserver, lighttpd vs NginX

2008-11-03 Thread Sam Fourman Jr.
 They are both good static content servers.  You can easily max out a GiGe
 link using either.  We use lighttpd more extensively than nginx, however we
 do use both.  Quite frankly, it's truthfully up to you.  Performance wise,
 they are on par with once another.

 ~Paul
at the risk of being slightly OT

is there a recent toutorial that anyone knows of for lighthttpd on
FreeBSD 7, I have used Google and
I can't turn up anything recent

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


BSDstats: New High Water Mark: 25 000+ Hosts Reporting In

2008-11-03 Thread Marc G. Fournier


As of November 3rd, 2008, the project has hit a new milestone of 25 000+ hosts 
reporting in, with a break down as follows:


  PC-BSD   17 454 hosts
  FreeBSD   5 526 hosts
  DesktopBSD1 919 hosts
  NetBSD   86 hosts
  MirBSD   21 hosts
  OpenBSD  55 hosts
  DragonFly26 hosts
  MidnightBSD  26 hosts
  GNU/kFreeBSD  2 hosts

We currently have hosts being reported in from 135 countries, with the top 10
being:

  United States   6 082
  Russian Federation  1 836
  Germany 1 586
  Australia   1 341
  Ukraine   997
  France930
  Japan 898
  United Kingdom791
  Canada767
  Brazil729

Project URL: http://www.bsdstats.org

Project Objective:

The mission of this site is to compile semi-accurate numbers for advocacy and
marketing of the *BSD operating systems.


PC-BSD, to the best of our knowledge, is the only one that defaults to enabled, 
while the rest have to be enabled manually.


For FreeBSD users, you just need to install /usr/ports/sysutils/bsdstats to set 
things up.


If you aren't participating, we very much encourage you to start ... the report 
script is a shell script, so you can scan it to figure out what, exactly, is 
being sent in .. and there is only one level of reporting that is  required, 
and that is Operating System + Version ... Device and Ports reporting are 100% 
optional ...


For those that are participating ... once more, thank you ... and spread the
word, we need more ...


If you have any questions, please feel free to email me ...

--
Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664

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


Re: Behaviour of su(1)

2008-11-03 Thread Frédéric Perrin
Le Vendredi 31 à 20:27, Fred Condo a écrit :
 Use this syntax (both equivalent):
 su - root
 su -l root

 You do have to specify the user with -l. Perhaps the man page could
 clarify that.

I read the first line that says The su utility requests appropriate
user credentials via PAM and switches to that user ID (the default user
is the superuser) as 'su -' and 'su - root' are equivalent.

su -l root as the expected behaviour (resetting $LOGNAME to $USER),
thanks a lot.

 On Oct 31, 2008, at 11:33 AM, Frédéric Perrin wrote:
 As a side question, is it considered bad practice to set root's shell
 and locales to something else than the default ?

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


Re: Behaviour of su(1)

2008-11-03 Thread Mel
On Friday 31 October 2008 19:33:44 Frédéric Perrin wrote:

 As a side question, is it considered bad practice to set root's shell
 and locales to something else then the default ?

By some (most?) yes. If you decide to change the default shell, to one that's 
not in the base system (i.e., a ksh/zsh/bash port), then it's highly 
recommended to make a static version that installs into /bin.
This will save you a number of headaches, when a library dependency is 
(unsuccessfully or partially) upgraded or /usr is not accessable.
However, when reporting bugs and you only slightly suspect it to be shell 
related, you should be able to reproduce it on csh for the purpose of 
reporting and adjust the bugreport if you can not.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Bizarre:: blank screen [on KVM] refuses to come back...

2008-11-03 Thread Gary Kline
On Mon, Nov 03, 2008 at 11:47:22AM -0800, Gary Kline wrote:
 
   A couple of things may be related to this behavior. When I have
   left my keyboard for more than a few hours, FreeBSD with X11
   running KDE3 remains blanck/blank.  No amount of moving my
   mouse of tapping keys will bring back the display.  (I'm writing 
   this ssh'd in my via Ubuntu [KDE?].)
 
   I noticed--via top--that the system was loaded at above 2.00 
   while otherwise idle; I've killed off a bunch of processes but
   cannot get the load below 1.00.   I'm running 7.0, on a
   Dell-8200, 1G RAM.  
 
   So:  any suggestions how to get my screen back? Has anybody seen
   this before?  Why the heavy load:: any ideas?  And, is there any
   way I can turn off screen blanking *completely*?  I almost always
   turn off the display anyway if I'm gone for  15-20 minutes.
 
   thanks for any clues.  i hate to keep rebooting. ...
 
   gary


Finally found (possible) solutions on a usenet forums site:
xset s off;
xset -dpms;

Then in /etc/X11.org, comment  the DPMS option, e.g.:

#Option DPMS

See if this works.  
-- 
 Gary Kline  [EMAIL PROTECTED]  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


RE: BSDstats: New High Water Mark: 25 000+ Hosts Reporting In

2008-11-03 Thread Don Witt
This is very cool.  What is up with NetBSD and OpenBSD.  Are these numbers
accurate?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marc G. Fournier
Sent: Monday, November 03, 2008 2:34 PM
To: freebsd-questions@freebsd.org; [EMAIL PROTECTED];
[EMAIL PROTECTED]; [EMAIL PROTECTED]; Thorsten Glaser;
Gonzalo Martinez - Sanjuan Sanchez;
[EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: BSDstats: New High Water Mark: 25 000+ Hosts Reporting In


As of November 3rd, 2008, the project has hit a new milestone of 25 000+
hosts 
reporting in, with a break down as follows:

   PC-BSD   17 454 hosts
   FreeBSD   5 526 hosts
   DesktopBSD1 919 hosts
   NetBSD   86 hosts
   MirBSD   21 hosts
   OpenBSD  55 hosts
   DragonFly26 hosts
   MidnightBSD  26 hosts
   GNU/kFreeBSD  2 hosts

We currently have hosts being reported in from 135 countries, with the top
10
being:

   United States   6 082
   Russian Federation  1 836
   Germany 1 586
   Australia   1 341
   Ukraine   997
   France930
   Japan 898
   United Kingdom791
   Canada767
   Brazil729

Project URL: http://www.bsdstats.org

Project Objective:

The mission of this site is to compile semi-accurate numbers for advocacy
and
marketing of the *BSD operating systems.


PC-BSD, to the best of our knowledge, is the only one that defaults to
enabled, 
while the rest have to be enabled manually.

For FreeBSD users, you just need to install /usr/ports/sysutils/bsdstats to
set 
things up.

If you aren't participating, we very much encourage you to start ... the
report 
script is a shell script, so you can scan it to figure out what, exactly, is

being sent in .. and there is only one level of reporting that is  required,

and that is Operating System + Version ... Device and Ports reporting are
100% 
optional ...

For those that are participating ... once more, thank you ... and spread the
word, we need more ...


If you have any questions, please feel free to email me ...

-- 
Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-advocacy
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: BSDstats: New High Water Mark: 25 000+ Hosts Reporting In

2008-11-03 Thread Glen Barber
On Mon, Nov 3, 2008 at 6:12 PM, Don Witt [EMAIL PROTECTED] wrote:
 This is very cool.  What is up with NetBSD and OpenBSD.  Are these numbers
 accurate?

As far as I know, these numbers can only be accurate if the
administrator enables (installs?) stats reporting.

You can add 1 to FreeBSD, because I don't allow stats reporting.  :)


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


Re: BSDstats: New High Water Mark: 25 000+ Hosts Reporting In

2008-11-03 Thread Murray Stokely
[BCCed others]

On Mon, Nov 3, 2008 at 3:12 PM, Don Witt [EMAIL PROTECTED] wrote:
 This is very cool.  What is up with NetBSD and OpenBSD.  Are these numbers
 accurate?

These numbers represent the number of people that have installed a
program to report usage, and are almost completely uncorrelated with
actual usage rates.  There needs to be a big warning at the top of
these very misleading reports.  Also, the massive spam to many
different lists is not ideal.  Any guess at actual usage numbers
would be many orders of magnitude larger, and PC-BSD would be a
rounding error to other BSDs used in large hosting environments
(nothing against the great work being done by PC-BSD, just a fact
based on desktop vs server focus).

I continue to believe that sending out these numbers which massively
undercount all operating systems is very counter-productive, but I've
said that before.

If you want to get better numbers you could try to survey all web
servers on the internet, identify the host operating systems by server
responses, tcp/ip timing characteristics, or other heuristics.  You
could alternatively mine google analytics  / webserver log data for
large websites if you want client numbers, or countless other data
sources that would give you far more data than this self reporting
mechanism, and with a much better sample than the very biased
mechanism used for these numbers.

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


Re: flash9 checklist

2008-11-03 Thread Mario Lobo
On Thursday 30 October 2008 19:53:33 Juergen Lock wrote:
 In article [EMAIL PROTECTED] you write:
 Juergen Lock wrote:
  Preliminary checklist for getting flash9 to work in native firefox:
  (flash10 needs more ports work, I shall post about that seperately on
  -emulation...)  If you have additions to this please post a followup to
  this thread, keeping the Cc: (I'm not on -questions...)
 
  1. You need RELENG_7 from at least Mon Oct 20 11:15:57 2008 UTC
  (the relevant MFC commits are:
 http://svn.freebsd.org/viewvc/base?view=revisionrevision=183819
 http://svn.freebsd.org/viewvc/base?view=revisionrevision=184075
  - a recent HEAD should also work of course.)  There are linprocfs
  patches for RELENG_6 too (merging the former commit), but the latter
  commit can't be merged to 6 (and 7.0) since they lack the cpuset bits,
  so flash9 probably won't work on SMP there.  (Although if you have SMP
  you probably should be running 7 anyway. :)  Oh and if you do have SMP
  you also need to use the ULE scheduler, the cpuset syscalls are not
  supported with 4BSD. linprocfs patches for 6:
 http://people.freebsd.org/~nox/linprocfs-6.3.patch
 http://people.freebsd.org/~nox/linprocfs-6.4.patch
 
  2. Your portstree needs to be from at least Sun Oct 19 17:37:28 2008 UTC
  (the last www/linux-flashplugin9 commit is:
 http://lists.freebsd.org/pipermail/cvs-ports/2008-October/158404.html
  )
 
  3. Make sure linprocfs is mounted to /compat/linux/proc .
 
  4. Make sure www/nspluginwrapper, www/linux-flashplugin9 and
  dependencies are installed and up to date(!).  (the default
  emulators/linux_base-fc4 should work, if you want to use a later one
  don't forget to set compat.linux.osrelease=2.6.16 in sysctl.conf and
  OVERRIDE_LINUX_BASE_PORT to whichever version you use in make.conf. 
  Note however that on 6, only the default compat.linux.osrelease=2.4.2
  really works.)
 
  5. If the plugin doesnt show up in firefox' about:plugins, run
 nspluginwrapper -i
  /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so and restart
  firefox.
 
  6. And remember there's a security advisory for the current version of
  flash9,
 http://www.FreeBSD.org/ports/portaudit/78f456fd-9c87-11dd-a55e-00163e00
 0016.html (if you use portaudit you need to `make
  -DDISABLE_VULNERABILITIES ...' to be able to install the port), and fc4
  seems to be eol'd too, so you probably want to install something like
  the noscript firefox extension,
  https://addons.mozilla.org/en-US/firefox/addon/722
  and only allow plugins (and scripts, tho thats a different problem) on
  sites you trust...
 
   And finally, if you still get crashes after following the above even
  on pages that are reported to work now (like youtube) you probably want
  to run `ktrace -di firefox...' and look at the output using linux_kdump
  (thats the devel/linux_kdump port, you want to use a package), paying
  specific attention to the lines above `PSIG SIGSEGV' (or whichever
  signal you got), maybe there are still shlibs missing that the plugin
  needs (NAMI ...something.so...), and if this is the case tell us about
  it so the appropriate dependencies can be added to the relevant ports.
  If you can't figure it out I guess it doesn't hurt to post the last
  few 100 lines of the dump up to the relevant PSIG on -emulation...
 
   You may also want to check linked shlibs like this:
 /compat/linux/bin/sh /compat/linux/usr/bin/ldd
  /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so and
 /compat/linux/bin/sh /compat/linux/usr/bin/ldd
  /usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin (if you see `not
  found' in there you know something is wrong) - although that doesn't
  show libs that may be dlopen()d at runtime.
 
 Thanks for this.  I was able to get linux-flashplugin9 working in native
 Firefox 3.0.3 on FreeBSD 7-STABLE i386.  The only additional thing I had
 to do was copy
 /usr/X11R6/lib/browser_plugins/npwrapper.libflashplayer.so into
 ~/.mozilla/plugins/ for Firefox to recognize the plugin.

 Yeah I forgot to note that you want to run nspluginwrapper -i
 as the user that will run the native browser, not as root, then the
 wrapper will go into ~/.mozilla/plugins/...

   After that
 Youtube, google video, and google maps (incl. street view) work fine,
 but slow.  A friend of mine with a very similar setup was not so lucky
 and still has problems with flash9 locking up FF.

  Hmm, lockups I haven't seen yet here.

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

It works almost perfectly for me ! Thanks for this, Juergen !.

I had to say almost perfectly because in myspace, for instance, it takes a 
while for the flashies to start. One thing I noticed is that if I terminate 
FF, npviewer.bin remains loaded and I have to kill it.

Here is what 

Problems with FreeBSD

2008-11-03 Thread J MPZ
Hi guys,

I have some problem with my FreeBSD server. I have this:

####  #
# Linux1  #  - ASA  - Internet  - # FreeBSD  #  - # Linux2 #
####  #

If I run a ssh for Linux1 to FreeBSD, my connection freeze when the return
of some command is a big text. Example:

I make a ssh connection in the from the Linux1 to FreeBSD server, then, I
execute some commands, like: 'pwd', 'whoami', 'ls /'... this work perfectly.
But, if I run some command that return a big text, like as: 'ls /dev/', or
top, my connection freeze.

In other terminal, the tcpdump continues showing packets in this connection
that was freeze.

If I try to access the Linux2, throught FreeBSD (redirect port on natd or
redirect port with rinetd), the same thing happens.

Is this a problem with FreeBSD? Someone know how I can fix it? Some sysctl?

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


Qemu network question

2008-11-03 Thread Mario Lobo
Hi:

Please use a fixed font to see the diagram bellow:


   FBSD HOST(7.1-PRERELEASE)
  +-+
  |10.10.10.1   | 
 LAN -+- re0| 
  | | 
  |+-+  |
  +---++tap0 |  |  
  |  +++tap1 |  | 
  |  ||+-+  |  
  |  ||bridge0  |  (if_bridge)
  |  || 192.168.100.254 |  
  |  |+-+
  |  |
  |  |  QEMU GUEST 1 (linux Fedora core 5)
  |  |   +-+
  |  |   | |
  |  +---+ eth0| 
  |  | 192.168.100.1   | 
  |  | | 
  |  +-+ 
  | QEMU GUEST 2  (windows XP)
  |  +-+
  |  | |
  +--+--- realtek  | 
 | 192.168.100.2   | 
 | | 
 +-+ 

It's working like a charm ! 

I turned my FBSD desktop into a router/gateway, put pf to nat everything and 
set up an independent smb server on the host. Pings travel on any direction!. 
The guests have access to ALL the host's files and vice versa, BOTH guests 
have internet access and best of all, I can access the linux guest through an 
ssh shell and the windows guest through vncviewer, and, of course, the 2 
guests see each other ! Imagine how happy I am !

I tried this without turning my desktop into a gateway. The guests had 
internet access but the host was invisible to them and I got tired of trying 
to make qemu's -smb option work, so I adapted this a-bit radical approach I 
saw on a how-to for Sun OS I found on the net.

I'm really impressed with qemu performance !. I´ve compiled kernels, built 
RPMs and the reduction in performance from doing these things in a separate 
machine is really endurable.

My question is: If I don't put re0 into promiscous mode, all of this falls 
apart ! The network goes totally down for the host-guests, but the host 
retains its internet conectivity. I discovered that by chance! I was trying 
to find out what was happening with conectivity so I tried pinging the host 
from the linux guest. As soon as I started tcpdump on the host, the pings 
went through so I found out what I needed from there.

Is this normal or is there something wrong with my NIC? setup?

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


Re: Problems with FreeBSD

2008-11-03 Thread Paul A. Procacci

J MPZ wrote:

Hi guys,

I have some problem with my FreeBSD server. I have this:

####  #
# Linux1  #  - ASA  - Internet  - # FreeBSD  #  - # Linux2 #
####  #

If I run a ssh for Linux1 to FreeBSD, my connection freeze when the return
of some command is a big text. Example:

I make a ssh connection in the from the Linux1 to FreeBSD server, then, I
execute some commands, like: 'pwd', 'whoami', 'ls /'... this work perfectly.
But, if I run some command that return a big text, like as: 'ls /dev/', or
top, my connection freeze.

In other terminal, the tcpdump continues showing packets in this connection
that was freeze.

If I try to access the Linux2, throught FreeBSD (redirect port on natd or
redirect port with rinetd), the same thing happens.

Is this a problem with FreeBSD? Someone know how I can fix it? Some sysctl?

Regards,
J.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  
The tcpdump that you say continues showing packets..are the packets 
leaving the freeBSD machine or arriving at the FreeBSD machine.
My guess is you meant leaving the FreeBSD destined for your linux 
machine.  If this is the case, then the problem most likely lies with 
the ASA.
If you monitor the ASA's external interface during your testing, do you 
see packets arriving?  If so, do you see packets leaving the internal 
interface going back to your Linux1 machine?

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


Re: Problems with FreeBSD

2008-11-03 Thread Jeremy Chadwick
On Mon, Nov 03, 2008 at 10:43:52PM -0200, J MPZ wrote:
 Hi guys,
 
 I have some problem with my FreeBSD server. I have this:
 
 ####  #
 # Linux1  #  - ASA  - Internet  - # FreeBSD  #  - # Linux2 #
 ####  #
 
 If I run a ssh for Linux1 to FreeBSD, my connection freeze when the return
 of some command is a big text. Example:
 
 I make a ssh connection in the from the Linux1 to FreeBSD server, then, I
 execute some commands, like: 'pwd', 'whoami', 'ls /'... this work perfectly.
 But, if I run some command that return a big text, like as: 'ls /dev/', or
 top, my connection freeze.
 
 In other terminal, the tcpdump continues showing packets in this connection
 that was freeze.

Does the FreeBSD machine run a firewall at all, e.g. pf(4)?

If so, you probably have some rules which are broken.  (I've seen this
problem on FreeBSD 6.x when using rules which are not correctly
configured to match initiate state).  Also, if a firewall is in use and
you're blocking all forms of ICMP, that would impact path MTU discovery.
Naughty.

You might also try disabling TCP extensions on the FreeBSD box to see if
it makes any difference.  Note that this can impact performance (large
TCP window sizes won't be negotiated), but it's worth disabling for a
test case.

sysctl net.inet.tcp.rfc1323=0

 If I try to access the Linux2, throught FreeBSD (redirect port on natd or
 redirect port with rinetd), the same thing happens.
 
 Is this a problem with FreeBSD? Someone know how I can fix it? Some sysctl?

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

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


source for dict?

2008-11-03 Thread Gary Kline
Is the source file/database for dict in ports?  I *thought* I had it at one 
time.
tia,

gary

-- 
 Gary Kline  [EMAIL PROTECTED]  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


Re: source for dict?

2008-11-03 Thread Giorgos Keramidas
On Mon, 3 Nov 2008 17:39:26 -0800, Gary Kline [EMAIL PROTECTED] wrote:
 Is the source file/database for dict in ports?  I *thought* I had it
 at one time.  tia,

Maybe.  There are a few '*dict*' matches, but without more context it is
a bit hard to really know which dict program you are looking for.

  % pwd
  /usr/ports
  % ls -d1 */dict*
  chinese/dictd-database
  misc/diction
  net/dictd
  net/dictd-database
  textproc/dict
  textproc/dictem
  textproc/dictem-xemacs21-mule
  textproc/dictfmt
  textproc/dictionary
  %

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


Re: Authentication with SSH using public keys

2008-11-03 Thread Andrew Falanga
On Fri, Oct 31, 2008 at 6:46 PM, आशीष शुक्ल Ashish Shukla
[EMAIL PROTECTED] wrote:
 In [EMAIL PROTECTED], Andrew Falanga wrote:

 Hi,

 My father recently setup a new 7.0-Release system for some web
 development.  I use ssh to login remotely.  I've normally not had any
 trouble configuring authentication through public key encryption using
 ssh-keygen and such.  I have for myself a id_rsa.pub and an id_rsa key pair
 that I use for this purpose.

 Normally, I just copy, via scp, the file id_rsa.pub to my
 ~/.ssh/authorized_keys file on the remote host and the next time I attempt a
 login all is well.  That is, I don't have to enter my password.  However, on
 my Dad's new machine, this isn't the case.  I still have to enter the
 password.

 Now, I've looked through his /etc/ssh/sshd_config file and nothing in
 there looks odd, or different, from other remote hosts I do this on.  So,
 I'm embedding a copy/paste of an ssh login session on my father's host using
 -v -v to ssh:

 [/usr/home/andy/MCH]
 - ssh -v -v malumgat

 [...]

 debug1: Authentications that can continue: publickey,keyboard-interactive
 debug1: Next authentication method: publickey
 debug1: Trying private key: /home/andy/.ssh/identity
 debug1: Offering public key: /home/andy/.ssh/id_rsa
 debug2: we sent a publickey packet, wait for reply
 debug1: Authentications that can continue: publickey,keyboard-interactive

 It seems OpenSSH (on your dad's box) hasn't recognized your private key, so
 how about checking permissions of ~/.ssh/authorized_keys and ~/.ssh on his
 box. Or how about enabling verbose logging on his box, using 'LogLevel'
 parameter in sshd_config.

 HTH
 Ashish Shukla

The permissions on the machine where it works:
[www:/home/afalanga]
- ls -la .ssh/
total 6
drwxr-xr-x  2 afalanga  staff  512 Sep 28 03:33 .
drwxr-xr-x  3 afalanga  staff  512 Oct 29 08:31 ..
-rw-r--r--  1 afalanga  staff  393 Sep 28 03:33 authorized_keys

The permissions on the machine where it doesn't work:
[EMAIL PROTECTED] ~]$ ls -la .ssh/
total 6
drwxrwxr-x  2 andy  wheel  512 Oct 10 04:30 .
drwxr-xr-x  4 andy  wheel  512 Oct 31 06:30 ..
-rw-r--r--  1 andy  wheel  393 Oct 28 10:01 authorized_keys

I see a difference in that the directory on the machine where it
doesn't work is writable to the group, but on the machine where it
does work the directory isn't writable.  Other than that, the
permissions don't look different, do they?

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

Re: Authentication with SSH using public keys

2008-11-03 Thread Andrew Falanga


 debug1: Authentications that can continue: publickey,keyboard-interactive
 debug1: Next authentication method: publickey
 debug1: Trying private key: /home/andy/.ssh/identity
 debug1: Offering public key: /home/andy/.ssh/id_rsa
 debug2: we sent a publickey packet, wait for reply
 debug1: Authentications that can continue: publickey,keyboard-interactive

 It seems OpenSSH (on your dad's box) hasn't recognized your private key, so
 how about checking permissions of ~/.ssh/authorized_keys and ~/.ssh on his
 box. Or how about enabling verbose logging on his box, using 'LogLevel'
 parameter in sshd_config.

 HTH
 Ashish Shukla


Following onto the e-mail I made before, apparently that little permissions 
difference for the directory, .ssh, was the problem.  Changing it to 644 has, 
apparently, fixed the problem.

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


Re: Authentication with SSH using public keys

2008-11-03 Thread Jeremy Chadwick
On Mon, Nov 03, 2008 at 07:29:46PM -0700, Andrew Falanga wrote:
 
 
  debug1: Authentications that can continue: publickey,keyboard-interactive
  debug1: Next authentication method: publickey
  debug1: Trying private key: /home/andy/.ssh/identity
  debug1: Offering public key: /home/andy/.ssh/id_rsa
  debug2: we sent a publickey packet, wait for reply
  debug1: Authentications that can continue: publickey,keyboard-interactive
 
  It seems OpenSSH (on your dad's box) hasn't recognized your private key, so
  how about checking permissions of ~/.ssh/authorized_keys and ~/.ssh on his
  box. Or how about enabling verbose logging on his box, using 'LogLevel'
  parameter in sshd_config.
 
  HTH
  Ashish Shukla
 
 
 Following onto the e-mail I made before, apparently that little permissions 
 difference for the directory, .ssh, was the problem.  Changing it to 644 has, 
 apparently, fixed the problem.

Which doesn't make sense for two reasons:

1) Directories must have the execute bit set (644 lacks that),
2) ~/.ssh should be 700 for security reasons.

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

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


Using csup

2008-11-03 Thread David Allen
I'd like to move to using csup(1) and there's an error in the manpage
that's raising some questions for me:

OPTIONS
base=base   The default base directory is /usr/local/etc/csup.

FILES
/usr/local/etc/cvsupDefault base directory.
sup Default collDir subdirectory.
base/collDir/collection/checkouts*  List files.

Assuming that the default 'base' directory is /usr/local/etc/cvsup, would
the following three files be sufficient for csup to work?

# /usr/local/etc/cvsup/standard-supfile
*default tag=RELENG_7_0
*default host=cvsup10.us.FreeBSD.org
*default release=cvs delete use-rel-suffix compress
src-all

# /usr/local/etc/cvsup/doc-supfile
doc-all

# /usr/local/etc/cvsup/ports-supfile
ports-all tag=.

# usr/local/etc/cvsup/sup/refuse
[contents of global refusefile]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: source for dict?

2008-11-03 Thread Gary Kline
On Tue, Nov 04, 2008 at 04:10:52AM +0200, Giorgos Keramidas wrote:
 On Mon, 3 Nov 2008 17:39:26 -0800, Gary Kline [EMAIL PROTECTED] wrote:
  Is the source file/database for dict in ports?  I *thought* I had it
  at one time.  tia,
 
 Maybe.  There are a few '*dict*' matches, but without more context it is
 a bit hard to really know which dict program you are looking for.
 
   % pwd
   /usr/ports
   % ls -d1 */dict*
   chinese/dictd-database
   misc/diction
   net/dictd
   net/dictd-database
   textproc/dict
   textproc/dictem
   textproc/dictem-xemacs21-mule
   textproc/dictfmt
   textproc/dictionary
   %
 

Super, it's it net/dictd-database.  I'm trying to reduce as much
bandwidth as I can.

thanks much!

gary


-- 
 Gary Kline  [EMAIL PROTECTED]  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


Re: garmin forerunner 305

2008-11-03 Thread Bruce Cran
On Thu, 4 Sep 2008 20:24:02 +0100
Bruce Cran [EMAIL PROTECTED] wrote:

 On Thu, 4 Sep 2008 11:51:33 -0300
 Joey Mingrone [EMAIL PROTECTED] wrote:
 
  Hi,
  
  Has anyone had any success collecting data from a Garmin Forerunner
  305?
  
  When I connect the device I see the kernel messages:
  Sep  4 11:39:22 jrm root: Unknown USB device: vendor 0x091e product
  0x0003 bus uhub1
  Sep  4 11:39:22 jrm kernel: ugen0: vendor 0x091e product 0x0003,
  class 255/255, rev 1.10/0.01, addr 2 on uhub1
  
  The documentation for the port astro/GPSMan seems to indicate it
  supports this model, but I haven't had any luck.
  
  % uname -a
  FreeBSD xxx.xxx 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #3: Thu Jun 12
  18:47:50 ADT 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/xxx  i386
 
 Unfortunately Garmin use their own protocol for communicating between
 the GPS and the PC.  Under Linux it's supported by the garmin_gps
 driver but there's no equivalent for FreeBSD yet.
 

Sorry, it turns out that's wrong: the gpsbabel developers recommend not
using garmin_gps because apparently it often doesn't work.  Instead
they recommend using gpsbabel's 'garmin' input/output format.  It
interfaces to the device using libusb - which, fortunately for us runs
on FreeBSD! I've just successfully read back GPS data into a GPX file
using gpsbabel on FreeBSD 8-CURRENT and the 'usb2' usb stack. 

I don't know if it'll work with the usb stack that's in shipping
version of FreeBSD though, and even with the new stack I had to make a
change to libgpsusb.c in gpsbabel to get it working.

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


Re: Authentication with SSH using public keys

2008-11-03 Thread Ashish Shukla आशीष शुक्ल
Andrew Falanga writes:

 
 debug1: Authentications that can continue: publickey,keyboard-interactive
 debug1: Next authentication method: publickey
 debug1: Trying private key: /home/andy/.ssh/identity
 debug1: Offering public key: /home/andy/.ssh/id_rsa
 debug2: we sent a publickey packet, wait for reply
 debug1: Authentications that can continue: publickey,keyboard-interactive
 
 It seems OpenSSH (on your dad's box) hasn't recognized your private key, so
 how about checking permissions of ~/.ssh/authorized_keys and ~/.ssh on his
 box. Or how about enabling verbose logging on his box, using 'LogLevel'
 parameter in sshd_config.
 
 HTH
 Ashish Shukla


 Following onto the e-mail I made before, apparently that little permissions 
 difference for the directory, .ssh, was the problem.  Changing it to 644 has, 
 apparently, fixed the problem.

Cool :) . I learnt this from my first SSH public-key authentication
configuration ;)

Ashish
-- 
()  ascii ribbon campaign - against HTML e-mail
/\  www.asciiribbon.org   - against proprietary attachments
·-- ·-  ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
% dig +short cname cdac.in @::1
ms.gov.in


pgp4Immu00LG0.pgp
Description: PGP signature


virtual consoles on freebsd-7.0-release

2008-11-03 Thread The Ghost
Hello,


I migrated to freensd-7.0-release and noticed that I can't switch to the 
virtual consoles by pressing Alt+Fx once I've started X ! I guess the key 
combination has changed in the nre version of Xorg implemented in FreeBSD 7.0, 
so I took a look at the online handbook, but I haven't found anything about the 
new way to switch to the virtual consoles... Could anyone please point me at 
what do I miss?..



   The Ghost [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: virtual consoles on freebsd-7.0-release

2008-11-03 Thread Steven Susbauer

The Ghost wrote:

Hello,


I migrated to freensd-7.0-release and noticed that I can't switch to the 
virtual consoles by pressing Alt+Fx once I've started X ! I guess the key 
combination has changed in the nre version of Xorg implemented in FreeBSD 
7.0, so I took a look at the online handbook, but I haven't found anything 
about the new way to switch to the virtual consoles... Could anyone please 
point me at what do I miss?..




   The Ghost [EMAIL PROTECTED]


Have you tried Ctrl+Alt+Fx? Alt alone has never gone to a virtual
console from X for me, on any system.

  -Steve


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


Re: Problems with FreeBSD

2008-11-03 Thread perryh
 I have some problem with my FreeBSD server. I have this:

 ####  #
 # Linux1  #  - ASA  - Internet  - # FreeBSD  #  - # Linux2 #
 ####  #

 If I run a ssh for Linux1 to FreeBSD, my connection freeze when
 the return of some command is a big text. Example:

 I make a ssh connection in the from the Linux1 to FreeBSD server,
 then, I execute some commands, like: 'pwd', 'whoami', 'ls /'...
 this work perfectly.  But, if I run some command that return a big
 text, like as: 'ls /dev/', or top, my connection freeze.
...
 If I try to access the Linux2, throught FreeBSD (redirect port on
 natd or redirect port with rinetd), the same thing happens.

 Is this a problem with FreeBSD? Someone know how I can fix it? Some
 sysctl?

One possible cause of this behavior is an MTU problem.  If something
in the Linux1 == FreeBSD path is dropping packets larger than X
(where X is something lower than the endpoints are expecting) you'll
see exactly this sort of symptom.

While the real solution is to fix whatever is dropping the packets,
it may be easier to restrict the MTU.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: virtual consoles on freebsd-7.0-release

2008-11-03 Thread joeb
When I am in xorg/xfce and do Ctrl+Alt+Fx it does in fact open the 
selected
virtual console.
But I can not find any way to return to the xorg/xfce desktop running in the
virtual console I left from.
 Alt+Fx does take me to the virtual console where x11/xfce is suppose to be,
but puts me in command line mode.
The command ps ax shows xorg/xfce is still running.

How do I get back to the xorg/xfce desktop running in the virtual console I
left from?


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Steven Susbauer
Sent: Tuesday, November 04, 2008 1:21 PM
To: [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Subject: Re: virtual consoles on freebsd-7.0-release

The Ghost wrote:
Hello,


I migrated to freensd-7.0-release and noticed that I can't switch to the
virtual consoles by pressing Alt+Fx once I've started X ! I guess the key
combination has changed in the nre version of Xorg implemented in FreeBSD
7.0, so I took a look at the online handbook, but I haven't found anything
about the new way to switch to the virtual consoles... Could anyone please
point me at what do I miss?..



The Ghost [EMAIL PROTECTED]

Have you tried Ctrl+Alt+Fx? Alt alone has never gone to a virtual
console from X for me, on any system.

   -Steve


___
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: BSDstats: New High Water Mark: 25 000+ Hosts Reporting In

2008-11-03 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Its a voluntary reporting ... I know with both PC-BSD, reporting is on by 
default .. with FreeBSD, its a simple 'make install' in ports ... with 
NetBSD/OpenBSD, I suspect its purely manual, so a bit more work involved ...

Both NetBSD / OpenBSD #s have been increasing though, just not as fast as the 
others ...

- --On Monday, November 03, 2008 15:12:46 -0800 Don Witt [EMAIL PROTECTED] 
wrote:

 This is very cool.  What is up with NetBSD and OpenBSD.  Are these numbers
 accurate?

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Marc G. Fournier
 Sent: Monday, November 03, 2008 2:34 PM
 To: freebsd-questions@freebsd.org; [EMAIL PROTECTED];
 [EMAIL PROTECTED]; [EMAIL PROTECTED]; Thorsten Glaser;
 Gonzalo Martinez - Sanjuan Sanchez;
 [EMAIL PROTECTED]; [EMAIL PROTECTED];
 [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: BSDstats: New High Water Mark: 25 000+ Hosts Reporting In


 As of November 3rd, 2008, the project has hit a new milestone of 25 000+
 hosts
 reporting in, with a break down as follows:

PC-BSD   17 454 hosts
FreeBSD   5 526 hosts
DesktopBSD1 919 hosts
NetBSD   86 hosts
MirBSD   21 hosts
OpenBSD  55 hosts
DragonFly26 hosts
MidnightBSD  26 hosts
GNU/kFreeBSD  2 hosts

 We currently have hosts being reported in from 135 countries, with the top
 10
 being:

United States   6 082
Russian Federation  1 836
Germany 1 586
Australia   1 341
Ukraine   997
France930
Japan 898
United Kingdom791
Canada767
Brazil729

 Project URL: http://www.bsdstats.org

 Project Objective:

 The mission of this site is to compile semi-accurate numbers for advocacy
 and
 marketing of the *BSD operating systems.


 PC-BSD, to the best of our knowledge, is the only one that defaults to
 enabled,
 while the rest have to be enabled manually.

 For FreeBSD users, you just need to install /usr/ports/sysutils/bsdstats to
 set
 things up.

 If you aren't participating, we very much encourage you to start ... the
 report
 script is a shell script, so you can scan it to figure out what, exactly, is

 being sent in .. and there is only one level of reporting that is  required,

 and that is Operating System + Version ... Device and Ports reporting are
 100%
 optional ...

 For those that are participating ... once more, thank you ... and spread the
 word, we need more ...


 If you have any questions, please feel free to email me ...

 --
 Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org)
 Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
 Yahoo . yscrappy   Skype: hub.orgICQ . 7615664

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




- -- 
Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkkPoWYACgkQ4QvfyHIvDvNjvACeJvROm9YrnENUroh5EF1BsGKw
0YsAoMIQoRnBnkFwGTcZG2cv/4KlkDmF
=blyH
-END PGP SIGNATURE-

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


Re: BSDstats: New High Water Mark: 25 000+ Hosts Reporting In

2008-11-03 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



- --On Tuesday, November 04, 2008 01:10:02 +0100 Bernt Hansson 
[EMAIL PROTECTED] wrote:

 Marc G. Fournier skrev:
 As of November 3rd, 2008, the project has hit a new milestone of 25 000+
 hosts  reporting in, with a break down as follows:

 There are errors on your homepage

 6,072 is a lot less then 500.

Pardon?  I don't see either # on the home page .. *puzzled look*




- -- 
Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkkPo3EACgkQ4QvfyHIvDvP3CwCeOE++67wohEqs0ahwWyMtFPpo
UgAAn2vgaNlYDqSba42ztrSg8CtSyc8/
=s18z
-END PGP SIGNATURE-

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


Re: BSDstats: New High Water Mark: 25 000+ Hosts Reporting In

2008-11-03 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



- --On Monday, November 03, 2008 16:01:41 -1000 Al Plant [EMAIL PROTECTED] 
wrote:


 Aloha,

 I have 10 FreeBSD servers and desktops in use here in Hawaii.

 These are not on the list as I only have 4 servers that are up 24/7 and they
 are fire walled off with pf.

 The 6 others are on a lan behind a Linux Freesco Firewall. Only 2 on 24/7 the
 rest are on an as used boot up basis.

 How can I get them Listed?

Using FreeBSD as a reference point, the port, when it installs, allows you to 
enable two methods of reporting: monthly (out of periodic) and on reboot ... so 
that covers the 4 that aren't up 24/7 ...

Next, the reporting is not based on your IP ... in fact, to try and address 
security concerns, we do not store any information such as IP or hostname ... 
when you run the stats the first time, it generates a distinct key that is used 
for reporting and is stored on your host for future reporting to identify you 
...

Finally, for those dealing with firewalls, the script was written to make use 
of a PROXY server for reporting, so that no holes have to be opened up for an 
individual host to connect to the rver ...


- -- 
Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkkPtZsACgkQ4QvfyHIvDvNo4wCeJ3diXiZkazxtM1t9wLTb5tc7
uvgAoIxbMIEG2w3V6uvQBMW+dY7i7nn5
=MUtC
-END PGP SIGNATURE-

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