Re: lang/gcc43 and lang/gcc44 installation procedures broken after updates

2009-10-28 Thread Scott Bennett
 On Tue, 27 Oct 2009 11:28:51 + b. f. bf1...@googlemail.com
wrote:
Scott Bennet wrote:

There haven't been much changes in the infrastructure of these two
ports recently, so any problems are probably arising from changes in
the distfiles, or problems in your base system or the ports that are
used to build and install lang/gcc4X.

 I'm running 7.2-STABLE.  With one exception, I do not alter the
contents of the ports tree manually.  That exception is either math/atlas
or math/atlas-devel, depending upon which I install.  After installing
7.2 several months ago, I installed math/atlas-devel, which built properly
all by itself without requiring any of the manual tweaking that earlier
versions had required, so since switching from 6.3-STABLE to 7.2-STABLE,
I have not made alterations to any ports in the ports tree by hand.  Any
changes that may have occurred would have to have happened during runs of
portmaster, portupgrade, or make(1) (as in make deinstall  make reinstall
or some other standard use of make for a port).
 After seeing both lang/gcc43 and lang/gcc44 fail in exactly the same
way, and then seeing another port fail in what appeared to be a similar way
a few days later, I resorted to a portsnap fetch extract in case something
in my ports tree *had* gotten screwed up somehow.  Rerunning portmaster
afterward yielded the same results. 


=3D=3D=3D Starting check for runtime dependencies
=3D=3D=3D Gathering dependency list for lang/gcc43 from ports
=3D=3D=3D Starting dependency check
=3D=3D=3D Checking dependency: converters/libiconv
=3D=3D=3D Checking dependency: math/libgmp4
=3D=3D=3D Checking dependency: math/mpfr
=3D=3D=3D Dependency check complete for lang/gcc43


/bin/rm -f /usr/local/man/man7/fsf-funding.7  /usr/local/man/man7/gfdl.7 /=
usr/local/man/man7/gpl.7

Something is very wrong here.  portmaster should now be running 'make
install', but the build transcript shows messages of the post-install
target first, and then messages of the do-install target afterwards.
Obviously this is going to lead to problems if it represents the true
order in which commands were executed.  Did you mangle the transcript,
or does it faithfully represent the order in which things occurred?

 The only change I made was indicated by a comment that showed where
a lot of lines were deleted.  If you really want all that junk, which
contained no error messages, I do still have it and can send it to you.
Nothing was rearranged into a different order, however.

If the latter, are you running a parallel build?  If so, don't.  Try

 I do not have MAKEFLAGS set when running portmaster or portupgrade.
If a particular port decides internally to run a parallel make, it appears
to do it as -j2.  It appears that the lang/gcc?? ports work this way, too.

starting from scratch, using only a single make job at any given time.
Start from a clean WRKDIR, and remove portmaster from consideration,
by using a simple 'make deinstall clean install' (backup your existing
lang/gcc4X installation first if you so desire with 'pkg_create -b'.)

 portmaster long since created a backup package and deinstalled the
ports in question.

What happens?

 Surprise, surprise!  It worked for lang/gcc43, which proceeded through
a successful installation.  I also tried the same for lang/gcc44, and it,
too, built and installed successfully.
 Thank you very much for the suggestion.  I cannot begin to imagine why
it worked this way, but refused to work under portmaster or portupgrade.
I guess I will just have to add -x gcc\* to the
portmaster -x perl\*5.8.9\* -a runs from now on, which is now possible
thanks to Doug Barton's portmaster enhancement that allows multiple -x
arguments, and do lang/gcc* updates by the old-fashioned method that worked
in this case.  I'm not sure what to do if a situation arises like this for
a port that has many dependencies that would typically be better managed by
portmaster or portupgrade, however.
 I guess next I'll try running portmaster as shown above and see what
else might fail, now that I have two and a half weeks of ports updates
accumulated but not yet processed. :-)
 Thanks again for the suggestion!


  Scott Bennett, Comm. ASMELG, CFIAG
**
* Internet:   bennett at cs.niu.edu  *
**
* A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army.   *
*-- Gov. John Hancock, New York Journal, 28 January 1790 *
**
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To 

Re: howto use https in favour of http

2009-10-28 Thread Scott Bennett
 On Tue, 27 Oct 2009 09:32:21 -0400 Michael Powell nightre...@hotmail.com
wrote:
Scott Bennett wrote:


 Alexander Best wrote:
 Hi,
 
 i've added the following line to my /etc/hosts:
 
 permail.uni-muenster.de:25  permail.uni-muenster.de:443
 
 so what i want is for freebsd to never use http, but https for that
 address.
[snip] 

Perhaps the easiest direct solution is to bookmark 

https://permail.uni-muenster.de/ in the browser bookmarks instead of

http://permail.uni-muenster.de/

 If he wants to apply the HTTPS requirement only to a particular page
(e.g., the home page) at a web site, that *might* work.  OTOH, there may
be points of failure, such as this example in the page whose URL is shown
above.

a href=http://www.permail.uni-muenster.de;
rel=subsection


Depending upon a bookmark would also fail to apply the restriction to any
links to other pages at the same site that the user might click on on the
page.  It also ignores the many dozens (hundreds?) of security problems
that are fixed/blocked by plug-ins like NoScript and Torbutton.
 Once NoScript has been installed, it is plenty easy, as I outlined
previously, to apply such a restriction to an entire web site or to all
web sites in a given domain.


  Scott Bennett, Comm. ASMELG, CFIAG
**
* Internet:   bennett at cs.niu.edu  *
**
* A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army.   *
*-- Gov. John Hancock, New York Journal, 28 January 1790 *
**
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Why is sendmail is part of the system and not a package?

2009-10-28 Thread Scott Bennett
 On Tue, 27 Oct 2009 17:03:12 -0200 Gonzalo Nemmi gne...@gmail.com
wrote:
On Tuesday 27 October 2009 4:32:45 pm Erik Norgaard wrote:
 Jonathan McKeown wrote:
  Just as a matter of interest, if you want to rip sendmail out of
  the base system, which MTA would you like to replace it with? Or
  are you suggesting the system ship with no way to handle mail?

 This thread moving of topic from OP, but it is always fair to debate
 what should be considered a base system. Is an MTA a requirement or a
 remnant from history?

Dear Erik:

Contrary to your belief the thread isn't moving of topic from OP, it's 
just taking the same default route it has been taking for ages:

 Just so.

1) telling the OP the OS needs an MTA
2) telling the OP he can replace the default MTA
3) telling the OP he can remove given MTA from base
4) telling the OP about historical reason

 This item has been neglected thus far in the current iteration of
this topic.  The *historical* distinction that places sendmail squarely
in the base system and also relegates all other MTAs to ports is this:
sendmail was written for, and has been part of, BSD UNIX since the
earliest TCP/IP releases of BSD UNIX (4.1BSD or perhaps even 4.0cBSD),
whereas the rest were not and have not been.

5) Not telling the OP why has FreeBSD has left so many historical reason 
behind to persuit new goals but retained Sendmail as the default 
MTA for historical reasons.

Sorry .. but that's the way it goes every time someone asks the same 
question.

  And George Santayana's famous dictum may well apply even in this
case. :)


  Scott Bennett, Comm. ASMELG, CFIAG
**
* Internet:   bennett at cs.niu.edu  *
**
* A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army.   *
*-- Gov. John Hancock, New York Journal, 28 January 1790 *
**
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: lang/gcc43 and lang/gcc44 installation procedures broken after updates

2009-10-28 Thread b. f.
On 10/28/09, Scott Bennett benn...@cs.niu.edu wrote:
  On Tue, 27 Oct 2009 11:28:51 + b. f. bf1...@googlemail.com
 wrote:
Scott Bennet wrote:
...

  With one exception, I do not alter the
 contents of the ports tree manually.
...
 I have not made alterations to any ports in the ports tree by hand.  Any
 changes that may have occurred would have to have happened during runs of
 portmaster, portupgrade, or make(1) (as in make deinstall  make
 reinstall
...
 I resorted to a portsnap fetch extract in case something
 in my ports tree *had* gotten screwed up somehow.

Right, I wasn't suggesting it was necessarily due to local changes to
the Ports tree, although on the face of it that was possible, but that
it may also have failed because, once in a while, binaries and other
files belonging to the base system or ports get corrupted, and
malfunction.  This is usually due to hardware problems, user error,
and occasionally, an OS or third-party software bug.  The lang/gcc4?
ports are lengthy and demanding builds, and are among the most likely
to fail if such problems exist.

...
  The only change I made was indicated by a comment that showed where
 a lot of lines were deleted.  If you really want all that junk, which
 contained no error messages, I do still have it and can send it to you.
 Nothing was rearranged into a different order, however.

You may want to save it, so that it will be available if anyone
decides to try to track down  the problem.


  I do not have MAKEFLAGS set when running portmaster or portupgrade.
 If a particular port decides internally to run a parallel make, it appears
 to do it as -j2.  It appears that the lang/gcc?? ports work this way, too.


If parallel builds are not disabled in a port Makefile, or by you, and
you have a multiple-cpu or multiple-core machine, then
ports/Mk/bsd.port.mk uses:


# Multiple make jobs support
.if defined(DISABLE_MAKE_JOBS) || defined(MAKE_JOBS_UNSAFE)
_MAKE_JOBS= #
.else
.if defined(MAKE_JOBS_SAFE) || defined(FORCE_MAKE_JOBS)
MAKE_JOBS_NUMBER?=  `${SYSCTL} -n kern.smp.cpus`
_MAKE_JOBS= -j${MAKE_JOBS_NUMBER}
.if defined(FORCE_MAKE_JOBS)
BUILD_FAIL_MESSAGE+=You have chosen to use multiple make jobs
(parallelization) for all ports.  This port was not tested for this
setting.  Please remove FORCE_MAKE_JOBS and retry the build before
reporting the failure to the maintainer.
.endif
.endif
.endif

to do a parallel build.  Since this feature is relatively new, and
people are occasionally finding that it breaks port builds, then it is
an obvious thing to try disabling in a case like this, where you have
a demanding build, and some evidence that things are being done out of
the proper order.  In the future, you can disable this feature for a
build by setting DISABLE_MAKE_JOBS=yes on the make command line, in
the build environment, or in /etc/make.conf, e.g.:

.if${.CURDIR:M*/usr/ports/lang/gcc44*}
DISABLE_MAKE_JOBS=yes
.endif


  portmaster long since created a backup package and deinstalled the
 ports in question.

Ok.  I don't use portmaster often, but portupgrade will often restore
an old installation of the port from the backup package automatically
after a failure.

...

  I cannot begin to imagine why
 it worked this way, but refused to work under portmaster or portupgrade.

Occasionally a port exposes a bug in portmaster or portupgrade.  This
may be such a case, especially since Doug Barton made some recent
changes to portmaster.  But the most common reason for failure is that
many ports, to enable easy maintenance, use sloppy flags like
LDFLAGS=-L${LOCALBASE}/lib or CPPFLAGS=-I${LOCALBASE}/include, that
may lead them to link against the older, already installed versions of
themselves, or to include old versions of their own headers if they
are present in the system.  So it's always safer to deinstall a port
_before_ attempting to build it, or to build the port in a clean
sandbox as is done on many package-building clusters.  portmaster and
portupgrade choose not to do this, in order to shorten the process of
recovering from a failed build, and to minimize the time during which
a piece of software is unavailable to users, and this can lead to
problems.  I don't say that this happened in this case, but it is a
possibility.

 I guess I will just have to add -x gcc\* to the
 portmaster -x perl\*5.8.9\* -a runs from now on, which is now possible
 thanks to Doug Barton's portmaster enhancement that allows multiple -x
 arguments, and do lang/gcc* updates by the old-fashioned method that worked
 in this case.  I'm not sure what to do if a situation arises like this for
 a port that has many dependencies that would typically be better managed by
 portmaster or portupgrade, however.

You don't have to do it on the command line -- you can add the port to
HOLD_PKGS in pkgtools.conf with portupgrade, or use a
/var/db/pkg/*/+IGNOREME as described in portmaster(8).  It's a bit of
a pain to manage large updates -- you 

Re: gcc -pg and ld error, cannot find -lgcc_p

2009-10-28 Thread b. f.
   Use sysinstall to add the proflibs distribution.

   Or one could rebuild/install world (and kernel if necessary)
 after investigating the NO_PROFILE option in /etc/make.conf.

There's only a PERL_VERSION in make.conf. Since sysinstall doesn't work
(this is -p4, not a base media install), how does one go about installing
proflibs? I didn't see anything related to proflibs in the csup files.

If no corresponding binary distribution is available, and
/usr/lib/libgcc_p.a and the other profiled libraries are not installed
on your system, then you'll have to build them from source.  Install
the proper versions of the base system sources, if you don't already
have them.  Make sure that WITHOUT_PROFILE, NO_PROFILE, and NOPROFILE
are not defined in your build environment, or in any included
makefiles like /etc/make.conf or /etc/src.conf, and that MK_PROFILE is
not defined to be no in those places, either.  Then rebuild and
reinstall world and kernel, as described in /usr/src/UPDATING.  Or, if
you know what you're doing, you can build and install only the needed
libraries by hand.  Most of the profiled libraries are automatically
built along with their non-profiled counterparts by commands in
/usr/share/mk/bsd.lib.mk.

b.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: win 7 dual boot

2009-10-28 Thread Bruce Cran
On Tue, 27 Oct 2009 22:11:15 -0400
Aryeh M. Friedman aryeh.fried...@gmail.com wrote:

 I am about to go out and buy windows 7 to replace my vista
 partition... when I installed vista I had to  do some  boot manager
 tricks (both before and after install)... namely I had to allow
 windows to nuke my mbr then use EasyBCD to remake it in such a way
 that vista would still find it's magic bytes in the mbr... does
 anyone know if win 7 has any similar issues and/or any other
 weirdness in reguards to dual booting?

EasyBCD still works, but you'll need to register on the site and
download the beta of 2.0 from the forums - the 1.x version won't work.

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


Re: Why is sendmail is part of the system and not a package?

2009-10-28 Thread Bernt Hansson



Lars Eighner said the following on 2009-10-28 05:46:

On Wed, 28 Oct 2009, Giorgos Keramidas wrote:

On Tue, 27 Oct 2009 20:24:38 -0500 (CDT), Lars Eighner 
luvbeas...@larseighner.com wrote:

Evidently by making it necessary to learn yet another scripting
language to configure it.  Other than personal profit I cannot see why
people are clinging like grim death to something this fubar.  Really,
let's go past this one more time:

Sure, sendmail.cf is hard to work with so the solution is you learn 
m4!


Did you look at the link he offered?  How helpful is that?

Beside which, m4 is a PORT.  So if sendmail is not configurable
without a port, why isn't it a port?


Can we go back to our regular hacking, please?  m4 is not a port:

 $ which m4
 /usr/bin/m4


Evidently my package database is corrupt in some way, because it shows 
m4 as

an installed port.  I wonder how that happened, how to fix it, and if it
will bite if I leave it alone.



%whereis m4
m4: /usr/bin/m4 /usr/share/man/en.ISO8859-1/man1/m4.1.gz /usr/src/usr.bin/m4

It's not a package.

If you want to fix it pkgdb -F
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Why is sendmail is part of the system and not a package?

2009-10-28 Thread Bernt Hansson



Lars Eighner said the following on 2009-10-28 05:46:

On Wed, 28 Oct 2009, Giorgos Keramidas wrote:

On Tue, 27 Oct 2009 20:24:38 -0500 (CDT), Lars Eighner 
luvbeas...@larseighner.com wrote:

Evidently by making it necessary to learn yet another scripting
language to configure it.  Other than personal profit I cannot see why
people are clinging like grim death to something this fubar.  Really,
let's go past this one more time:

Sure, sendmail.cf is hard to work with so the solution is you learn 
m4!


Did you look at the link he offered?  How helpful is that?

Beside which, m4 is a PORT.  So if sendmail is not configurable
without a port, why isn't it a port?


Can we go back to our regular hacking, please?  m4 is not a port:

 $ which m4
 /usr/bin/m4


I wonder how that happened,


Too much alcohol?


how to fix it,


cd /usr/ports/devel/m4  make deinstall


and if it will bite if I leave it alone.


No one will ever know that
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Bad sectors: how bad can it be

2009-10-28 Thread Polytropon
On Tue, 27 Oct 2009 21:05:39 +0100, Michaël Grünewald 
michaelgrunew...@yahoo.fr wrote:
 (I feel sorry for the very poor english I demonstrated in the message I 
 wrote this morning: I was in a hurry!)

Don't mind, many user here aren't native speakers, but are
still completely good to understand.



 I have backups of the data contained in the broken, so the data on this 
 disc are not a concern.

So then: Goodbye, cruel hard disk, it's over... and let
it fly. :-)



 I have however a question: How do I verify that 
 a hard-drive is accurately working if its firmware will hide the bad 
 sectors as long as possible?

I think the smartctl program from ports/smartmontools is 
a good tool for such verification. As far as I understood,
it can read internal error logs from the firmware.



 As the other contributors join their voices
 to yours, I will replace the faulty disk ASAP.

Best choice, especially because you don't need to run the
hard disk in order to get the data back. Oh backups are
such a fine thing, I wish I had some. :-)



-- 
Polytropon
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 freebsd-questions-unsubscr...@freebsd.org


Re: flashplugin

2009-10-28 Thread Polytropon
On Tue, 27 Oct 2009 20:56:11 -0400, PJ af.gour...@videotron.ca wrote:
 I have tried them all... now I have linux-f10 with
 flashplayer10 installed and all I get is an error that flashplugin.so
 cannot be started because a shared file freetype.so.6 cannot be
 found... It's there allright and is linked to fretype.so.6.13 or some
 number like that... 

In FreeBSD, libraries are linked to version numbers from
generic names, such as 

/usr/local/lib/libfreetype.so@ - libfreetype.so.9

If a program requires freetype, it requests the library
function and tells the dynamic linker if it requires a
certain version. If this version is not available, the
linker throws an error.

You can check if the link structures are correct by performing
a ll (often = ls -laFG) on the specific file in /usr/local/lib.

If the structures are not present, or a library is missing,
maybe you need to update the requested facility; in this
case, it may be neccessary to update freetype or even the
whole X subsystem...



 the fine name may not be correct as I don't have it
 in front of me... but then, where is this shared file supposed to be?

Libraries of third party software go in /usr/local/lib. For
some packages that install in the /opt fashion, they are
located in /usr/local/pkgname/lib. The linker has to be
notified to search such paths.



 The setups for the flashplayer are such a ridiculous mess that I can
 only laugh...

A modern technique that requires me to jump around in
such a way is not worth that I am using it. Imagine you
would need to do this to enable displaying PNG images or
formatiing text paragraph-wise in a web browser...

And some funny people call Flash a standard! :-)

And when I think that Flash is mostly abused to make the
web inaccessible, to display ads (or even just images),
then... no, thank you. If a content designer (ab)uses Flash
to make his web site unaccessible to you (as a person
who uses the FreeBSD operating system and its programs),
he doesn't want you to see the web site, it's that simple.

I'm going to have fun with Flash soon on my 8.0-RC
testing system, so I closely follow such discussions
and the included batteries, erm, advices. :-)


 There are obviously conflicts or something screwing things
 up from other programs like gimp or ImageMagic or gstreamers or some
 such stuff...

Yes, there seems to be a defective library dependency,
mostly due to incomplete updates.



-- 
Polytropon
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 freebsd-questions-unsubscr...@freebsd.org


Re: flashplugin

2009-10-28 Thread Matthew Seaman

Polytropon wrote:

On Tue, 27 Oct 2009 20:56:11 -0400, PJ af.gour...@videotron.ca wrote:

I have tried them all... now I have linux-f10 with
flashplayer10 installed and all I get is an error that flashplugin.so
cannot be started because a shared file freetype.so.6 cannot be
found... It's there allright and is linked to fretype.so.6.13 or some
number like that... 


In FreeBSD, libraries are linked to version numbers from
generic names, such as 


/usr/local/lib/libfreetype.so@ - libfreetype.so.9



In this case, the missing library is almost certainly

 /usr/compat/linux/usr/lib/libfreetype.so.6

which works by the Linux rules -- so the library the app tries to link
against is libfreetype.so.6, which is a link to libfreetype.so.6.3.18. 


I'm fairly confident that this is the case, because the FreeBSD native
Freetype library is 


 /usr/local/lib/libfreetype.so.9

Completely different ABI version number, unlike what the OP posted.

To the OP: that shlib comes from the linux_base-f10-10_2 package on my
machine, so unless you're missing chunks of that package you should have
it.  Use 'pkg_info -g linux_base\*' to see if any of the package contents
have got lost or scrambled.  It will probably tell you that 
/compat/linux/etc/ld.so.cache doesn't match the original checksum, but that's
normal, as that file is modified whenever you install any other linux shlibs.
Further more, the linux ld.so.cache file should contain a record for 
libfreetype:

% /compat/linux/sbin/ldconfig -p | grep freetype
   libfreetype.so.6 (libc6) = /usr/lib/libfreetype.so.6

You should be able to rebuild it by

# /compat/linux/sbin/ldconfig -v -n /lib /usr/lib /usr/X11R6/lib

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: flashplugin

2009-10-28 Thread Tony McC
On Tue, 27 Oct 2009 16:43:11 -0500
PJ af.gour...@videotron.ca wrote:

 I wish someone could explain to me why I am no longer able to install 
 flashplugin ... none of the methods work for me on amy version... I
 have literally tried them all..
 the latest was linux-f10 - I cleaned out all the linux stuff,
 umounted the proc sytem cleaned out everything I could find related
 (?) to linux and reinstalled. No go, no way, José!
 I did catch some kind of warning that flashed by on the screen about 
 Glib - seems to be gstreamer related...??? and the only thing I can
 find is the error message that flashplugin.so (or whatever the file
 is) could not be loaded because shared file libfreetype.so.6 could
 not be found... and the only libfreetype.so.6 file on the s;ystem is 
 ...so.6.something.something...
 If the system is smart enought to not find the right file, it ought
 to be smart enought to know where this file should be and to what it
 is related... duh !

Hi PJ,

I hope you won't take this the wrong way, it really isn't intended to
be an insult, but looking at your posting history I seriously wonder if
FreeBSD is for you.  You seem to want everything to just work without
having to think about it, so perhaps Windows would be better for you?
You ask questions in a very random way, try things without any clear
plan, and when given advice you seem to quickly move on to some other
difficulty rather than getting used to one thing at a time.  It does
take time and effort to learn to use FreeBSD effectively, but once you
have learned it (i.e., started to gain a deep understanding of how
things work separately and together rather than just managing to fix
things piecemeal without any real understanding) it works wonderfully
with a huge range of hardware and software.  If you do want to stick
with FreeBSD it might be better if you just sat down with the Manual
and read through systematically before trying to tweak things.  But my
guess is that you really would be happier and more productive with a
Windows OS.  That isn't meant to be a please go away and let us get on
with using FreeBSD, it is an honest reaction to the pain and confusion
you seem to cause yourself as you randomly try things in FreeBSD. 

Best,
Tony
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: flashplugin

2009-10-28 Thread Polytropon
On Wed, 28 Oct 2009 12:53:18 +, Tony McC af...@btinternet.com wrote:
 You seem to want everything to just work without
 having to think about it, so perhaps Windows would be better for you?
 [...]
 But my
 guess is that you really would be happier and more productive with a
 Windows OS.  That isn't meant to be a please go away and let us get on
 with using FreeBSD, it is an honest reaction to the pain and confusion
 you seem to cause yourself as you randomly try things in FreeBSD. 

In Windows, things don't work without thinking. The
misbelief that is does is grounded in the fact that
other people have to deal with problems, while the
user praises Windows for its easyness of use.

In PJ's case, maybe PC-BSD is a good choice. As far as
I know, they offer a working Flash plugin that can
be installed by their PBI system. I haven't tested
this because PC-BSD with its KDE centric concept simply
isn't my cup of tea, but that doesn't mean that it's
not a good OS - hey, it's still FreeBSD. :-)

Tony, I can understand that you might get the impression
that PJ doesn't have a full understanding of the concepts
and procedures needed to know in order to properly operate
FreeBSD. This may be true. But he's constantly learning
and understanding, and I think even with the troubles he
likes to use FreeBSD (PJ, correct me if I'm wrong).

When I came to FreeBSD (from a Linux and WEGA background,
with lots of strange mainframe knowledge), I had similar
trouble. I had many issues with C, too, before it became
my primary programming language, but the fact that I can
master FreeBSD now (at a sufficient level) is due to the
fact that I had much good help, especially from this list,
as well as much practice. Recognizing and resolving library
requirements can surely be such a step into the right
direction. It's not a state, it's a process.

In the future, PJ will not only know that things work, but
additionally understand *how* and *why* they work, and this
will make him a master of FreeBSD, too.




-- 
Polytropon
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 freebsd-questions-unsubscr...@freebsd.org


Re: flashplugin

2009-10-28 Thread Tony McC
On Wed, 28 Oct 2009 14:10:25 +0100
Polytropon free...@edvax.de wrote:

 In Windows, things don't work without thinking. The
 misbelief that is does is grounded in the fact that
 other people have to deal with problems, while the
 user praises Windows for its easyness of use.
 
 In PJ's case, maybe PC-BSD is a good choice. As far as
 I know, they offer a working Flash plugin that can
 be installed by their PBI system. I haven't tested
 this because PC-BSD with its KDE centric concept simply
 isn't my cup of tea, but that doesn't mean that it's
 not a good OS - hey, it's still FreeBSD. :-)
 
 Tony, I can understand that you might get the impression
 that PJ doesn't have a full understanding of the concepts
 and procedures needed to know in order to properly operate
 FreeBSD. This may be true. But he's constantly learning
 and understanding, and I think even with the troubles he
 likes to use FreeBSD (PJ, correct me if I'm wrong).
 
 When I came to FreeBSD (from a Linux and WEGA background,
 with lots of strange mainframe knowledge), I had similar
 trouble. I had many issues with C, too, before it became
 my primary programming language, but the fact that I can
 master FreeBSD now (at a sufficient level) is due to the
 fact that I had much good help, especially from this list,
 as well as much practice. Recognizing and resolving library
 requirements can surely be such a step into the right
 direction. It's not a state, it's a process.
 
 In the future, PJ will not only know that things work, but
 additionally understand *how* and *why* they work, and this
 will make him a master of FreeBSD, too.

Hi Polytropon,

thanks, I hope you are right, and I would love to see PJ become a
master of FreeBSD, but my impression from the mailing list is that that
progress is going to be too long and too frustrating.  I suppose only
PJ can know if he/she feels that progress is happening.  Nonetheless, I
stand by the advice to work systematically through the handbook and try
to gain a real understanding rather than a series of fixes.  I suppose
I was suggesting that rather than address endless frustrating symptoms
of what looks like a mismatch between PJ's character (not ability, I
certainly do not wish to disparage that - by character I mean a
reluctance to stand back, slow down and approach the learning
systematically and to give it the time it will need) and the FreeBSD
way of doing things, it might be better to just move to something
more pre-packaged.  PC-BSD may well be a good choice, I haven't tried
it.

Oh, and you are exactly right about the kind of understanding that can
come with spending time with FreeBSD.  But perhaps it's not for
everyone.  

Best,
Tony

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


FreeBSD_RC2?

2009-10-28 Thread David McDonald
I looked at the contents of the link to 8.0_RC1 and found files there 
marked RC2.  I will give it a try but is that the real RC2 release 
for FreeBSD 8.0?


thanks

David McDonald

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


Re: flashplugin

2009-10-28 Thread PJ
Polytropon wrote:
 On Wed, 28 Oct 2009 12:53:18 +, Tony McC af...@btinternet.com wrote:
   
 You seem to want everything to just work without
 having to think about it, so perhaps Windows would be better for you?
 [...]
 But my
 guess is that you really would be happier and more productive with a
 Windows OS.  That isn't meant to be a please go away and let us get on
 with using FreeBSD, it is an honest reaction to the pain and confusion
 you seem to cause yourself as you randomly try things in FreeBSD. 
 

 In Windows, things don't work without thinking. The
 misbelief that is does is grounded in the fact that
 other people have to deal with problems, while the
 user praises Windows for its easyness of use.

 In PJ's case, maybe PC-BSD is a good choice. As far as
 I know, they offer a working Flash plugin that can
 be installed by their PBI system. I haven't tested
 this because PC-BSD with its KDE centric concept simply
 isn't my cup of tea, but that doesn't mean that it's
 not a good OS - hey, it's still FreeBSD. :-)

 Tony, I can understand that you might get the impression
 that PJ doesn't have a full understanding of the concepts
 and procedures needed to know in order to properly operate
 FreeBSD. This may be true. But he's constantly learning
 and understanding, and I think even with the troubles he
 likes to use FreeBSD (PJ, correct me if I'm wrong).

 When I came to FreeBSD (from a Linux and WEGA background,
 with lots of strange mainframe knowledge), I had similar
 trouble. I had many issues with C, too, before it became
 my primary programming language, but the fact that I can
 master FreeBSD now (at a sufficient level) is due to the
 fact that I had much good help, especially from this list,
 as well as much practice. Recognizing and resolving library
 requirements can surely be such a step into the right
 direction. It's not a state, it's a process.

 In the future, PJ will not only know that things work, but
 additionally understand *how* and *why* they work, and this
 will make him a master of FreeBSD, too.
   
Thank you for your support, Polytropon :-)

You are quite right. And I do wish I could use only FreeBSD... the
problem is that there are some limitations on compatibility with the
normal user's MS systems... OpenOffice.org is not completely
compatible with MS nor are the Adobe products completely replaceable -
mainly because the commercial printers and other users are not equipped
or compatible with Unixes. And, of course, the difficulty with learning
curves and adaptability of the unix alternatives are also deterrents. :-(

I have been working with FreeBSD in limited ways since about 1997 (if I
recall right).
I don't know if I'll ever become a master, but I am learning more by
actually using it since I am a firm believer in direct use learning.
The only reason I use MS is because most normal users use word,
illustrator, photoshop. They are a huge pain because they have a lot of
bugs that have been around for a long time and have never been properly
addressed by MS or ms developers like Adobe. Just check the web and you
will see that there are an awful lot of crash problems on the MS office,
the Windows OSs as well as the Adobe stuff. I just reinstalled the CS4
programs on a fresh XP install and immediately I'm getting errors about
harware acceleration when the system is installed on the same computer
on a different disk and was not getting those errors on the other
installation. The only reason I reinstalled the CS4 was because I wanted
to have it working cleanly with a fresh installation of MS Office which
was impossible to install/reinstall/fix on the other disk. Now the MS
Office works fine, but CS4 does not... talk about problems So,
FreeBSD is not really any more complicated. The only time I really have
problems with FreeBSD is when so;mething stupid happens, like a physical
disc suicide (mbr sector gone) or if I did something accidentally like
shutting down. I then try to learn what to do to fix things (have never
lost any data - was able to recover it), how to clone, dump, restore.
These are processes that are not simple and are not something that I
have needed before.
What is great about FreeBSD is that it is quite simple to set up,
configure and use. Problems arise when one makes errors or there are
incompatibilities caused by some installation conflicts and that seems
to be the cause of most difficulties.
For instance, I have no problem installing FreeBSD, setting up and
configuring apache, php, samba, cups, or most programs I use. Sometimes
I see inquiries on the list and know what the problem is and would be
happy to help someone but I am not secure enough to butt in. Yet I see
that it is a simple solution... follow the instructions, read the
manual, check the web and the man pages and you're likely to find the
solutuion. The list here is very hehlpful, especially for lazy guys like me.
But to study the manual is beyond the capabilities of anyone ... sure,

m4 (was Re: Why is sendmail is part of the system and not a package?)

2009-10-28 Thread Lowell Gilbert
Lars Eighner luvbeas...@larseighner.com writes:

 On Wed, 28 Oct 2009, Giorgos Keramidas wrote:

 On Tue, 27 Oct 2009 20:24:38 -0500 (CDT), Lars Eighner 
 luvbeas...@larseighner.com wrote:
 Evidently by making it necessary to learn yet another scripting
 language to configure it.  Other than personal profit I cannot see why
 people are clinging like grim death to something this fubar.  Really,
 let's go past this one more time:

 Sure, sendmail.cf is hard to work with so the solution is you learn m4!

 Did you look at the link he offered?  How helpful is that?

 Beside which, m4 is a PORT.  So if sendmail is not configurable
 without a port, why isn't it a port?

 Can we go back to our regular hacking, please?  m4 is not a port:

  $ which m4
  /usr/bin/m4

 Evidently my package database is corrupt in some way, because it shows m4 as
 an installed port.  I wonder how that happened, how to fix it, and if it
 will bite if I leave it alone.

The port one is the Gnu version.  The base system one is the traditional
one that goes back to the ATT days, although it has been updated to
meet POSIX.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: win 7 dual boot

2009-10-28 Thread Jerry McAllister
On Tue, Oct 27, 2009 at 10:16:27PM -0400, Aryeh M. Friedman wrote:

 Jack L. wrote:
 I was able to dual boot win7 and freebsd 8 without any problem, just
 installed windows first and installed freebsd with the freebsd boot
 manager and it said F1 windows and the rest are FreeBSD
   
 
 I am attempting to avoid having to reinstall the fb side of things ;-)

Sure.  Then, probably doing as you said - install the Win7 and let it
do its thing and then reinstall the FreeBSD MBR.  You should probably
be able to use the Fixit CD boot for that.   I don't know EasyBCD,
but if it worked before, it will probably work with this too.
I don't think anything much has changed in that area.

jerry
  


 On Tue, Oct 27, 2009 at 7:11 PM, Aryeh M. Friedman
 aryeh.fried...@gmail.com wrote:
   
 I am about to go out and buy windows 7 to replace my vista partition... 
 when
 I installed vista I had to  do some  boot manager tricks (both before and
 after install)... namely I had to allow windows to nuke my mbr then use
 EasyBCD to remake it in such a way that vista would still find it's 
 magic
 bytes in the mbr... does anyone know if win 7 has any similar issues 
 and/or
 any other weirdness in reguards to dual booting?
 
 Completely side question I use sysutils/fusefs-ntfs to mount my vista
 partition do I need to change anything in my /etc/rc.d/* hierachy and/or
 /etc/fstab  after installing win 7 (I use a direct call to ntfs-3g instead
 of via the mount patch [which doesn't work on 8.0-XXX it seems {I am on 
 RC2
 right now}]?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org
 
 
 
   
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: flashplugin

2009-10-28 Thread PJ
Tony McC wrote:
 On Wed, 28 Oct 2009 14:10:25 +0100
 Polytropon free...@edvax.de wrote:

   
 In Windows, things don't work without thinking. The
 misbelief that is does is grounded in the fact that
 other people have to deal with problems, while the
 user praises Windows for its easyness of use.

 In PJ's case, maybe PC-BSD is a good choice. As far as
 I know, they offer a working Flash plugin that can
 be installed by their PBI system. I haven't tested
 this because PC-BSD with its KDE centric concept simply
 isn't my cup of tea, but that doesn't mean that it's
 not a good OS - hey, it's still FreeBSD. :-)

 Tony, I can understand that you might get the impression
 that PJ doesn't have a full understanding of the concepts
 and procedures needed to know in order to properly operate
 FreeBSD. This may be true. But he's constantly learning
 and understanding, and I think even with the troubles he
 likes to use FreeBSD (PJ, correct me if I'm wrong).

 When I came to FreeBSD (from a Linux and WEGA background,
 with lots of strange mainframe knowledge), I had similar
 trouble. I had many issues with C, too, before it became
 my primary programming language, but the fact that I can
 master FreeBSD now (at a sufficient level) is due to the
 fact that I had much good help, especially from this list,
 as well as much practice. Recognizing and resolving library
 requirements can surely be such a step into the right
 direction. It's not a state, it's a process.

 In the future, PJ will not only know that things work, but
 additionally understand *how* and *why* they work, and this
 will make him a master of FreeBSD, too.
 

 Hi Polytropon,

 thanks, I hope you are right, and I would love to see PJ become a
 master of FreeBSD, but my impression from the mailing list is that that
 progress is going to be too long and too frustrating.  I suppose only
 PJ can know if he/she feels that progress is happening.  Nonetheless, I
 stand by the advice to work systematically through the handbook and try
 to gain a real understanding rather than a series of fixes.  I suppose
 I was suggesting that rather than address endless frustrating symptoms
 of what looks like a mismatch between PJ's character (not ability, I
 certainly do not wish to disparage that - by character I mean a
 reluctance to stand back, slow down and approach the learning
 systematically and to give it the time it will need) and the FreeBSD
 way of doing things, it might be better to just move to something
 more pre-packaged.  PC-BSD may well be a good choice, I haven't tried
 it.

 Oh, and you are exactly right about the kind of understanding that can
 come with spending time with FreeBSD.  But perhaps it's not for
 everyone.  
   
Hi Tony,
I understand you POV but...
I don't see why FreeBSD should not be for everyone. It sure would be
great if we could lose MS and their associate mush.

I see no reason why a FreeBSD user should have to become as master of
the system. If the software is properly set up and maintained, there
should be no need for huge techincal know-how. Your assumption is that
the user should have enough knowledge to fix bugs or problems that are
caused by technical errors and/or complexities.
Isn't it a litttle absurd that often small updates to ports/progams
cause huge problems in adapting to the new versions? Maybe that is an
indication that the original concept of the port/proram was somewhat
lacking and that just puts us right smack on a par with MS, Adobe and
all the overbloated programs associated therewith.
When FreeBSD programs are set up right and work fine it's a real
delight... but when an update or small change blows things apart and you
have to go back to kindergarden to learn a new universe... it's nt
very comforting.
Cheers.
PJ=he not she  heh...heh...heh :-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Why is sendmail is part of the system and not a package?

2009-10-28 Thread Michael Powell
Jerry McAllister wrote:

 On Tue, Oct 27, 2009 at 05:03:12PM -0200, Gonzalo Nemmi wrote:
 
 On Tuesday 27 October 2009 4:32:45 pm Erik Norgaard wrote:
  Jonathan McKeown wrote:
   Just as a matter of interest, if you want to rip sendmail out of
   the base system, which MTA would you like to replace it with? Or
   are you suggesting the system ship with no way to handle mail?
[snip]
 
 Dear Erik:
 
 Contrary to your belief the thread isn't moving of topic from OP, it's
 just taking the same default route it has been taking for ages:
 1) telling the OP the OS needs an MTA
 2) telling the OP he can replace the default MTA
 3) telling the OP he can remove given MTA from base
 4) telling the OP about historical reason
 5) Not telling the OP why has FreeBSD has left so many historical reason
 behind to persuit new goals but retained Sendmail as the default
 MTA for historical reasons.
 
 Sorry .. but that's the way it goes every time someone asks the same
 question.

Sounds like FAQ material. 
 
 I will add one more that covers it best.
 Sendmail works just fine and there is no ACTUAL CURRENT reason to
 get rid of it.Years ago it had some weaknesses which have been
 fixed.
 
 So, that leaves personal preference as the only real reason
 for wanting to replace it.
 In that case, if your personal preference is to replace it, go ahead.
 There are several candidates and an earlier post described well how
 to do it.
 
 As for putting it in ports and taking it out of base, well, some
 message system is often needed before ports are installed.  Sendmail
 fills the bill.Some other could also, but since Sendmail works
 just fine and is already there, then it is.
 
[snip]

I'm no mail server guru, but I liked how one could fairly easily get a base 
configuration going of Sendmail by following the page in the Handbook. Once 
done Postfix could be installed from ports and it would Just Work, because 
it would adopt the Sendmail config. Tweaking can start from a known good 
configuration.

This doesn't include addon complexities such as virtual domains and users, 
spam and anti-virus, etc., but I've always found it better to start with a 
functional base and add the additional stuff one thing at a time. 

Yes - I favor Postfix, but it may not be the right cup of tea for all 
situations. However, my own personal preference is to leave the Sendmail 
thingy the way it is. I still use Sendmail for some things. There's just too 
many other fish that need to be fried. It works, supplies basic necessary 
functionality as is, is largely trouble free these days, and easily replaced 
with some other personal preference should it be desired. 

The guy in charge also actively maintains the FreeBSD bits. Compare the way 
Sendmail works in FreeBSD with lets say, ahem, Adobe's Flash. Opposite ends 
of the spectrum. Just my $.02 for sure, but I like the status quo being 
what it is. Now returning to the painting of my bikeshed...   :-)

-Mike



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


Re: FreeBSD_RC2?

2009-10-28 Thread Erik Trulsson
On Wed, Oct 28, 2009 at 07:48:16AM -0600, David McDonald wrote:
 I looked at the contents of the link to 8.0_RC1 and found files there 
 marked RC2.  I will give it a try but is that the real RC2 release 
 for FreeBSD 8.0?

In general one should not assume that any Release or Release Candidate files
available for download until the official announcment has gone out. (It has
happened that a release had to be pulled at the last minute even after
images had gone out to most mirrors, but before the official announcement.)

In this particular case the official announcement for 8.0-RC2 has just been
made so I guess any RC2 files found now are indeed the real deal.




-- 
Insert your favourite quote here.
Erik Trulsson
ertr1...@student.uu.se
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Two versions of m4

2009-10-28 Thread Giorgos Keramidas
On Tue, 27 Oct 2009 23:46:07 -0500 (CDT), Lars Eighner 
luvbeas...@larseighner.com wrote:
On Wed, 28 Oct 2009, Giorgos Keramidas wrote:
On Tue, 27 Oct 2009 20:24:38 -0500 (CDT), Lars Eighner 
luvbeas...@larseighner.com wrote:
 Evidently by making it necessary to learn yet another scripting
 language to configure it.  Other than personal profit I cannot see
 why people are clinging like grim death to something this fubar.
 Really, let's go past this one more time:

 Sure, sendmail.cf is hard to work with so the solution is you learn
 m4!

 Did you look at the link he offered?  How helpful is that?

 Beside which, m4 is a PORT.  So if sendmail is not configurable
 without a port, why isn't it a port?

 Can we go back to our regular hacking, please?  m4 is not a port:

  $ which m4
  /usr/bin/m4

 Evidently my package database is corrupt in some way, because it shows
 m4 as an installed port.  I wonder how that happened, how to fix it,
 and if it will bite if I leave it alone.

Some ports need the GNU version of `m4'.  So they install a second copy
of m4 in `/usr/local'.  You should be able to see the ports that depend
on GNU m4 with pkg_info.  On my system this shows:

: $ pkg_info -R m4\*
: Information for m4-1.4.13,1:
:
: Required by:
: automake-1.5_5,1
: automake-1.6.3_1
: automake-1.9.6_3
: bison-2.4.1,1
: autoconf-2.62
: automake-1.10.1

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


Re: Why is sendmail is part of the system and not a package?

2009-10-28 Thread Walter Venable
On Wed, Oct 28, 2009 at 1:43 AM, Bernt Hansson be...@bah.homeip.net wrote:


 Lars Eighner said the following on 2009-10-28 05:46:

 On Wed, 28 Oct 2009, Giorgos Keramidas wrote:

 On Tue, 27 Oct 2009 20:24:38 -0500 (CDT), Lars Eighner
 luvbeas...@larseighner.com wrote:

 Evidently by making it necessary to learn yet another scripting
 language to configure it.  Other than personal profit I cannot see why
 people are clinging like grim death to something this fubar.  Really,
 let's go past this one more time:

 Sure, sendmail.cf is hard to work with so the solution is you learn
 m4!

 Did you look at the link he offered?  How helpful is that?

 Beside which, m4 is a PORT.  So if sendmail is not configurable
 without a port, why isn't it a port?

 Can we go back to our regular hacking, please?  m4 is not a port:

  $ which m4
  /usr/bin/m4

 I wonder how that happened,

 Too much alcohol?

Really? See /usr/src/usr.bin/m4/Makefile
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD_RC2?

2009-10-28 Thread David McDonald

Thank you for your reply.  Now to try it out.

David McDonald

At 09:22 AM 10/28/2009, Erik Trulsson wrote:

On Wed, Oct 28, 2009 at 07:48:16AM -0600, David McDonald wrote:
 I looked at the contents of the link to 8.0_RC1 and found files there
 marked RC2.  I will give it a try but is that the real RC2 release
 for FreeBSD 8.0?

In general one should not assume that any Release or Release Candidate files
available for download until the official announcment has gone out. (It has
happened that a release had to be pulled at the last minute even after
images had gone out to most mirrors, but before the official announcement.)

In this particular case the official announcement for 8.0-RC2 has just been
made so I guess any RC2 files found now are indeed the real deal.




--
Insert your favourite quote here.
Erik Trulsson
ertr1...@student.uu.se


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


Re: Bad sectors: how bad can it be

2009-10-28 Thread Michael Powell
Michaël Grünewald wrote:

[snip]
 
 I have backups of the data contained in the broken, so the data on this
 disc are not a concern. I have however a question: How do I verify that
 a hard-drive is accurately working if its firmware will hide the bad
 sectors as long as possible?
 
[snip]

As Polytropon indicated the smartctl commands for testing contained within 
the smartmontools port will extract the error logs from within the drive's 
firmware. There are two modes you can select from (basically a long and a 
short) that you can execute now at a command prompt. It can also be run as 
a daemon for continual monitoring. The data returned is somewhat arcane and 
can be semi difficult to interpret.

There are various levels of usability which can vary by hardware. Some RAID 
controllers may get in the way of direct communication to some hard drives. 
Other controllers, as you go up the 'expensive high dollar' ladder will 
often do built-in SMART monitoring and will beep and/or send emails when it 
detects error conditions from a drive. Some even either contain, or have an 
external utility which provide a web based browser accessible view in real 
time. The purpose is to attempt to detect a drive that is about to fail.

As far as the most basic level goes, you would look for numbers which 
indicate that the bad sector remap area has filled. Once this space gets 
filled any new bad sectors that develop can no longer be mapped out. This 
usually shows up in the operating system as some generic form of 
unrecoverable read/write error message and Bad Things begin to happen.

I have not used Spinright in a very long time, but it may buy some life on 
such a drive. If it can clear the bad sector remap area after adjusting the 
remap table it can give new life to a drive. The same thing used to be 
possible on SCSI drives by running the low level format utility usually 
contained within the controller firmware. 

Such fixes should only be viewed as extremely temporary in nature, as the 
general pattern with regard to magnetic media failure is that once it starts 
to get bad spots it will keep on getting bad spots on a fairly regular basis 
afterwords.

Interesting reading:

http://www.usenix.org/publications/login/2008-06/openpdfs/bairavasundaram.pdf

-Mike



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


How do I replace the built-in OpenSSL with a source tarball ?

2009-10-28 Thread George Sanders


I would like to:

- upgrade the built-in OpenSSL that comes with FreeBSD (in my case, 6.4-RELEASE)

- replace it with OpenSSL that I build myself from the source tarball


If I do this with a plain old:  ./config ; make ; make install


OpenSSL does indeed build and install, but it installs in an alternate location 
and does not overwrite the FreeBSD built-in.

Ok, should be easy to fix - I will simply use an:

--prefix

config directive and point it to /usr:

--prefix=/usr

However, that does not work - running:

/usr/local/ssl/bin/openssl version

shows me that this binary has not changed.  Ok, no problem, I will simply use:

--prefix=/usr/local

instead ... but that also does not work.

No matter what I do, I cannot get the OpenSSL source tarball to overwrite my 
built-in OpenSSL in FreeBSD - I always end up having two binaries in two 
different locations.

Can someone tell me how to just cleanly replace the built-in OpenSSL with the 
source tarball ?

Thanks.


  

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


Re: flashplugin

2009-10-28 Thread Tony McC
On Wed, 28 Oct 2009 09:13:02 -0400
PJ af.gour...@videotron.ca wrote:

 But to study the manual is beyond the capabilities of anyone ... sure,
 you can read it and study it... but you will forget anything you have
 read almost immediately if you are not applying what you are studying
 at once... there may be some residual information captured by one's
 brain but practical application is about the only way to really learn
 and understand... especially with the help of those who have dared to
 tread there before you... and their help is really invaluable.

Hi PJ,

ok, I tried (I was also trying to offer you support, just a different
kind). There was a lot of irrelevant material in your response but the
part I have quoted shows such a deep misunderstanding of what I was
trying to suggest that I think I'm done. I honestly hope you do get
past your headaches with FreeBSD, one way or another.

Best,
Tony

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


RE: How do I replace the built-in OpenSSL with a source tarball ?

2009-10-28 Thread Gary Gatten
Maybe remove the existing package first?  And try to use a pkg if you
can for the new one.

-Original Message-
From: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of George Sanders
Sent: Wednesday, October 28, 2009 10:58 AM
To: freebsd-questions@freebsd.org
Subject: How do I replace the built-in OpenSSL with a source tarball ?



I would like to:

- upgrade the built-in OpenSSL that comes with FreeBSD (in my case,
6.4-RELEASE)

- replace it with OpenSSL that I build myself from the source tarball


If I do this with a plain old:  ./config ; make ; make install


OpenSSL does indeed build and install, but it installs in an alternate
location and does not overwrite the FreeBSD built-in.

Ok, should be easy to fix - I will simply use an:

--prefix

config directive and point it to /usr:

--prefix=/usr

However, that does not work - running:

/usr/local/ssl/bin/openssl version

shows me that this binary has not changed.  Ok, no problem, I will
simply use:

--prefix=/usr/local

instead ... but that also does not work.

No matter what I do, I cannot get the OpenSSL source tarball to
overwrite my built-in OpenSSL in FreeBSD - I always end up having two
binaries in two different locations.

Can someone tell me how to just cleanly replace the built-in OpenSSL
with the source tarball ?

Thanks.


  

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





font size=1
div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 
1.0pt 0in'
/div
This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system.
/font

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


Re: gcc -pg and ld error, cannot find -lgcc_p

2009-10-28 Thread Vaibhav Gavane
On Wed, Oct 28, 2009 at 4:34 AM,  free...@t41t.com wrote:
   Use sysinstall to add the proflibs distribution.

       Or one could rebuild/install world (and kernel if necessary)
 after investigating the NO_PROFILE option in /etc/make.conf.

 There's only a PERL_VERSION in make.conf. Since sysinstall doesn't work
 (this is -p4, not a base media install), how does one go about installing
 proflibs? I didn't see anything related to proflibs in the csup files.

Well, on my 7.1-RELEASE-p8 system, sysinstall does warn, but
subsequently asks whether I'd like to try and use this disc anyway.
I did not try (as I already have proflibs installed) but maybe you
could, and then you could configure /etc/freebsd-update.conf to select
only the world/proflibs component, and then run freebsd-update. That
should save you from having to build from sources.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How do I replace the built-in OpenSSL with a source tarball ?

2009-10-28 Thread George Sanders




- Original Message 
 From: Gary Gatten ggat...@waddell.com
 To: George Sanders gosand1...@yahoo.com; freebsd-questions@freebsd.org
 Sent: Wed, October 28, 2009 11:01:35 AM
 Subject: RE: How do I replace the built-in OpenSSL with a source tarball ?
 
 Maybe remove the existing package first?  And try to use a pkg if you
 can for the new one.



Yes, but I still won't know how to put the new version in _exactly the same 
place_ as the one I just removed.

For complex reasons of space and tools (embedded system, etc.) I do indeed need 
to use the source tarball.

So I'd like to know what configure directive to feed to it to properly and 
_exactly_ replace the existing FreeBSD default OpenSSL...

Thanks.


  

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


Re: flashplugin

2009-10-28 Thread Tony McC
On Wed, 28 Oct 2009 16:00:00 +
Tony McC af...@btinternet.com wrote:

 Hi PJ,
 
 ok, I tried (I was also trying to offer you support, just a different
 kind). There was a lot of irrelevant material in your response but the
 part I have quoted shows such a deep misunderstanding of what I was
 trying to suggest that I think I'm done. I honestly hope you do get
 past your headaches with FreeBSD, one way or another.

Replying to myself, sorry.  I think I owe you an apology for a grumpy
response.  I think it comes down to the fact our learning styles must
be very different.  You seem to like to try things first and then try
to understand when things go wrong.  I like to gain a reasonably firm
theoretical understanding first and then try out things according to a
plan, keeping notes at each stage.  When something happens that I don't
understand then of course I learn from that.   I think we are just
different.  So no, I'm not suggesting you learn the manual by heart
before going any further.  I am suggesting that you *start* with the
manual, take it step by step, and only try things that might break your
system when a) you think you have a firm grasp of what you are doing
and b) you have a contingency plan to revert to the way things were
before if something surprising happens.  And, again, as part of a
learning style, when I do come across those uncomfortable surprises
(and I do), I generally assume that I must have done something stupid,
not that FreeBSD itself is stupid. That is also a learning experience
for me.

Best,
Tony

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


Re: How do I replace the built-in OpenSSL with a source tarball ?

2009-10-28 Thread Jerry
On Wed, 28 Oct 2009 08:57:52 -0700 (PDT)
George Sanders gosand1...@yahoo.com replied:



I would like to:

- upgrade the built-in OpenSSL that comes with FreeBSD (in my case,
6.4-RELEASE)

- replace it with OpenSSL that I build myself from the source tarball


If I do this with a plain old:  ./config ; make ; make install


OpenSSL does indeed build and install, but it installs in an alternate
location and does not overwrite the FreeBSD built-in.

Ok, should be easy to fix - I will simply use an:

--prefix

config directive and point it to /usr:

--prefix=/usr

However, that does not work - running:

/usr/local/ssl/bin/openssl version

shows me that this binary has not changed.  Ok, no problem, I will
simply use:

--prefix=/usr/local

instead ... but that also does not work.

No matter what I do, I cannot get the OpenSSL source tarball to
overwrite my built-in OpenSSL in FreeBSD - I always end up having two
binaries in two different locations.

Can someone tell me how to just cleanly replace the built-in OpenSSL
with the source tarball ?

I use this in my /etc/make.conf file:

WITH_OPENSSL_PORT=yes

-- 
Jerry
ges...@yahoo.com

|===
|===
|===
|===
|

(null cookie; hope that's ok)

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


Re: DNS Question

2009-10-28 Thread DAve

Chuck Swiger wrote:

On Oct 23, 2009, at 10:31 AM, Matthew Seaman wrote:
You aren't supposed to use CNAMES for anything found in other RR's; 
in particular, you should always use an A record with the hostnames 
used for nameservers (ie, have an NS record), because you are 
supposed to be using the canonical name rather than an alias.


Errr?  You mean the rule that NS and MX and SRV rdata must include an 
A record

rather than a CNAME?  That's true, but what does that have to do with web
serving?


Consider the case of redirects involving cnames; you end up with a lot 
of extra DNS traffic.


The illegality mentioned further upthread is that you can't use a 
CNAME at a zone apex because of the 'CNAME and other data rule'[*] -- 
as there's always got to be SOA and NS records at the zone apex, if 
you want a web page at 'example.com' you'ld have to provide an A or 
 record for it.  Unless you're Verisign and have control over the 
nameservers for .com, this is almost certainly illegal:


example.com. IN CNAME www.example.com

On the other hand:

www.example.com. IN CNAME example.com.

is generally fine.


It's generally fine, sure, but almost never ideal.  You don't save 
traffic by using CNAMEs instead of A records



PS: It's odd where google pulls up references to fairly canonical
docs, sometimes.  I'm not sure I even recognize ua, and I suspect I
deal with two-letter ISO 3166 country names more than most folks do.
Maybe Ukraine?  :-)


Of course it's Ukraine.  .uk was already taken, even though the two 
letter
iso-code for this country is officially .gb.  We're in an exclusive 
club of
two nations that generally don't use their official iso-code in the 
DNS.  No

prizes for guessing which the other one is.


Shucks, how can you pull in Jeopardy references and then deny giving out 
prizes?  Well, my guess would be ie, although people who speak Finnish 
and call their home Suomi might find fi odd, also



Cheers,

Matthew

[*] Little known factoid, but there are two legal exceptions to the 
'CNAME
and other data' rule.  You can have RRSIG or NSEC records at the same 
label

as CNAME -- see RFC 4035.  Obscure DNS trivia for 100, Alex...


Regards,



Just so everyone knows, having a domain with a CNAME at the top will 
hose your mail traffic. We tried it, and some servers delivered fine, 
others did not. Checking with dig +trace, and dns stuff, showed the 
problem. Just trying to get a MX record for mainstreetfin.com would fail.


The record we had was,
mainstreetfin.com CNAME website.elliemae.com

And the problem is shown below.

---
DNS Lookup: mainstreetfin.com MX record

Searching for mainstreetfin.com MX record at a.root-servers.net 
[198.41.0.4]: Got referral to M.GTLD-SERVERS.NET. (zone: com.) [took 39 ms]


Searching for mainstreetfin.com MX record at M.GTLD-SERVERS.NET. 
[192.55.83.30]: Got referral to ns2auth.tls.net. (zone: 
mainstreetfin.com.) [took 11 ms]


Searching for mainstreetfin.com MX record at ns2auth.tls.net. 
[65.123.104.30]: Got CNAME of website.elliemae.com. and referral to 
k.root-servers.net [took 36 ms]


Searching for website.elliemae.com MX record at g.root-servers.net 
[192.112.36.4]: Got referral to I.GTLD-SERVERS.NET. (zone: com.) [took 
143 ms]


Searching for website.elliemae.com MX record at I.GTLD-SERVERS.NET. 
[192.43.172.30]: Got referral to ns2.elliemae.net. (zone: elliemae.com.) 
[took 63 ms]


Searching for website.elliemae.com MX record at ns2.elliemae.net. 
[63.241.88.21]: Timed out. Trying again.


Searching for website.elliemae.com MX record at ns2.elliemae.net. 
[63.241.88.21]: Timed out. Trying again.


Searching for website.elliemae.com MX record at ns1.elliemae.net. 
[216.35.165.21]: Reports that no MX records exist. [took 46 ms]


Response:
No MX records exist for website.elliemae.com. [Neg TTL=300 seconds]

Details:
ns1.elliemae.net. (an authoritative nameserver for elliemae.com.) says 
that there are no MX records for website.elliemae.com.
The E-mail address in charge of the elliemae.com. zone is: 
hostmas...@elliemae.com.


NOTE: One or more CNAMEs were encountered. mainstreetfin.com is really 
website.elliemae.com.




So some mail servers never asked our authoritative servers what the MX 
record was. Interesting.


DAve

--
Posterity, you will know how much it cost the present generation to
preserve your freedom.  I hope you will make good use of it.  If you
do not, I shall repent in heaven that ever I took half the pains to
preserve it. John Quincy Adams

http://appleseedinfo.org

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


Re: How do I replace the built-in OpenSSL with a source tarball ?

2009-10-28 Thread Vincent Hoffman
George Sanders wrote:


 - Original Message 
   
 From: Gary Gatten ggat...@waddell.com
 To: George Sanders gosand1...@yahoo.com; freebsd-questions@freebsd.org
 Sent: Wed, October 28, 2009 11:01:35 AM
 Subject: RE: How do I replace the built-in OpenSSL with a source tarball ?

 Maybe remove the existing package first?  And try to use a pkg if you
 can for the new one.
 



 Yes, but I still won't know how to put the new version in _exactly the same 
 place_ as the one I just removed.

 For complex reasons of space and tools (embedded system, etc.) I do indeed 
 need to use the source tarball.

 So I'd like to know what configure directive to feed to it to properly and 
 _exactly_ replace the existing FreeBSD default OpenSSL...

 Thanks.
   
Well the base openssl is held in /usr/src/crypto/openssl but the
makefile is in /usr/src/secure/usr.bin/openssl
so I'd look at those.
I'm in no way knowledgeable about openssl or how its integrated into
freebsd though, this is just from a quick look at the sources.


Vince



   

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

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


Re: Why is sendmail is part of the system and not a package?

2009-10-28 Thread Chad Perrin
On Wed, Oct 28, 2009 at 02:14:17AM +, Frank Shute wrote:
 
 I'll speculate as to the reasons:
 
 NetBSD: probably wanted something smaller footprint-wise.
 
 OpenBSD: wanted something more secure.

Those both sound like great reasons.


 
 Dragonfly: started afresh, so could replace it without many headaches.

Considering what DragonFly's new MTA does (and doesn't do), I'm pretty
sure smaller footprint was among the reasons for it to use something
other than Sendmail, too.


 
 Saying that, it would be neat if it was taken out of base and replaced
 with something minimal that could cope with the demands of cron and
 not much else. Then the user is expected to install a MTA of their
 choice out of ports.
 
 That would mean less code in base and fewer security advisories.

OpenSMTPD looks promising.  If it turns out to be as nice as it seems it
will, I wouldn't be opposed to making it part of base instead of
Sendmail, but of course it's entirely possible that I've overlooked some
potential problems.  The licensing is right, too (unlike, perhaps, that
of Postfix).

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgplmnOSIxhXl.pgp
Description: PGP signature


Re: How do I replace the built-in OpenSSL with a source tarball ?

2009-10-28 Thread David Kelly
On Wed, Oct 28, 2009 at 09:14:22AM -0700, George Sanders wrote:
 
 Yes, but I still won't know how to put the new version in _exactly the
 same place_ as the one I just removed.
 
 For complex reasons of space and tools (embedded system, etc.) I do
 indeed need to use the source tarball.
 
 So I'd like to know what configure directive to feed to it to properly
 and _exactly_ replace the existing FreeBSD default OpenSSL...

Not knowing anything more about ones complex reasons, I suggest giving
serious consideration as to replacing the contents of
/usr/src/crypto/openssl/ with OpenSSL's distribution sources and see
what happens when one makes from /usr/src/secure/usr.bin/openssl/

But before doing that I think serious consideration should be made as to
making what ever embedded customizations one needs to the stock FreeBSD
distribution files. Make your changes then generate patch files as an
archive of the differences.

Or better yet create your own custom fork in CVS, but I don't know how
one would do that and still be able to sync with the official sources.
IIRC there are plans to move the official FreeBSD sources to Subversion,
which might complicate things. Have noticed in recent months cvsup often
must replace rather than update files because checksums do not match.
Guessing that has something to do with svn. http://svn.freebsd.org/

In years past I built a custom embedded FreeBSD out of FreeBSD 4.4 using
only a custom Makefile outside of the /usr/src tree to drive the whole
process. My built started with a clean checkout from my local CVS image
of the official distribution. Don't recall making any code changes that
couldn't be handled as compile defines from the Makefiles. Built into a
chroot space, including selected ports. Then working from a list of
utilities that I wanted in my reduced FreeBSD a script extracted library
dependencies to create another list. Finally a new directory tree was
created of the new system of only the files I wanted and their
dependencies. My system including kernel was under 10 MB. Plus another
10 or 15 MB for Apache, and another 10 MB or so for Perl. Kept a 500 MHz
P3 busy for a while.  :-)

-- 
David Kelly N4HHE, dke...@hiwaay.net

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Failure to connect USB Floppy drive

2009-10-28 Thread Yuri

When I plug in my USB floppy drive I get these messages:

ugen1.2: NEC at usbus1
umass0: NEC NEC USB UF000x, class 0/0, rev 1.10/1.50, addr 2 on usbus1
umass0:  UFI over CBI with CCI; quirks = 0x
umass0:4:0:-1: Attached to scbus4
(da0:umass-sim0:0:0:0): got CAM status 0x4
(da0:umass-sim0:0:0:0): fatal error, failed to attach to device
(da0:umass-sim0:0:0:0): lost device
(da0:umass-sim0:0:0:0): removing device entry

I remember using the same drive in 7.0 without problems.

Yuri

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


Re: Why is sendmail is part of the system and not a package?

2009-10-28 Thread Gonzalo Nemmi
On Wednesday 28 October 2009 12:14:17 am Frank Shute wrote:
 On Tue, Oct 27, 2009 at 08:45:59PM -0200, Gonzalo Nemmi wrote:
  On Tuesday 27 October 2009 7:31:34 pm Jerry McAllister wrote:

 [snippage]

   So, that leaves personal preference as the only real reason
   for wanting to replace it.
 
  Let me get this straight .. that means that  every Linux distro,
  NetBSD, OpenBSD and DragonFlyBSD are all doing it just out of
  personal preference?

 I'll speculate as to the reasons:

Come on .. there was no need to speculate .. you have the whole internet 
at your finger tips  ;)

 NetBSD: probably wanted something smaller footprint-wise.

 OpenBSD: wanted something more secure.

No, not really ...

OpenBSD:
A few months ago, I had to dive into the configuration of sendmail to 
make a very small change. It turns out I spent almost an hour trying to 
make sense out of a maze of files that were plain unreadable. Even the 
slightest changes would cause me to stand a couple minutes thinking, 
just trying to make sure I really wanted to make that change. ...

You'll find whole thing here:
http://undeadly.org/cgi?action=articlesid=20081112084647

 Dragonfly: started afresh, so could replace it without many
 headaches.

By all means no .. not at all .. they didn't even started afresh ..
Anyways ..
You'll find the reasons here:
http://leaf.dragonflybsd.org/mailarchive/kernel/2007-03/msg00060.html

Hey,
 again and again people are complaining about why sendmail is in base 
and why not postfix, etc. We keep saying that we do need a mail 
delivery/transport agent, for stuff such as periodic, cron, etc.
But that doesn't mean that we need sendmail. Actually a much simpler 
mailer would do: one that just delivers locally (and if possible, 
remote) and does nothing else. ... 

and here:
http://leaf.dragonflybsd.org/mailarchive/submit/2008-02/msg0.html

Hi,
corecode@ announced his DragonFly mail agent in [1] as a small, simple
and clean implementation of a mailer in the base.  The goal of dma was 
not to replace a feature complete MTA like sendmail or postfix.  The 
basic intention was to be able to deliver mails from cron, periodic etc 
to local users. I enhanced dma and added remote delivery and some other 
features needed for works-out-of-the-box and to keep users happy :)  
The list of all features follows: ...

Yet still, DragonFlyBSD as well as OpenBSD are in the procces of fully 
moving to their respective mailers, unlike NetBSD which already moved 
to Postfix.

 RedHat: poor package management made it a pain to upgrade.

That only accounts for only one distribution and I really don't know 
what you mean with package management because they have a lot of 
them ... 

 FreeBSD: ?

 I can't think of a good reason why FreeBSD should get rid of it.

 Saying that, it would be neat if it was taken out of base and
 replaced with something minimal that could cope with the demands of
 cron and not much else. Then the user is expected to install a MTA of
 their choice out of ports.

 That would mean less code in base and fewer security advisories.

Yup .. I fully agree with you ... I just cancelled my freebsdmall.com 
FreeBSD suscription in order to use that money to buy OpenBSD 
releases .. so my money gets used to finance the development of 
OpenSMTP and other milestone technologies.
They've earned it :)

   jerry

Best Regards
Gonzalo Nemmi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: flashplugin

2009-10-28 Thread PJ
Tony McC wrote:
 On Wed, 28 Oct 2009 16:00:00 +
 Tony McC af...@btinternet.com wrote:

   
 Hi PJ,

 ok, I tried (I was also trying to offer you support, just a different
 kind). There was a lot of irrelevant material in your response but the
 part I have quoted shows such a deep misunderstanding of what I was
 trying to suggest that I think I'm done. I honestly hope you do get
 past your headaches with FreeBSD, one way or another.
 

 Replying to myself, sorry.  I think I owe you an apology for a grumpy
 response.  I think it comes down to the fact our learning styles must
 be very different.  You seem to like to try things first and then try
 to understand when things go wrong.  I like to gain a reasonably firm
 theoretical understanding first and then try out things according to a
 plan, keeping notes at each stage.  When something happens that I don't
 understand then of course I learn from that.   I think we are just
 different.  So no, I'm not suggesting you learn the manual by heart
 before going any further.  I am suggesting that you *start* with the
 manual, take it step by step, and only try things that might break your
 system when a) you think you have a firm grasp of what you are doing
 and b) you have a contingency plan to revert to the way things were
 before if something surprising happens.  And, again, as part of a
 learning style, when I do come across those uncomfortable surprises
 (and I do), I generally assume that I must have done something stupid,
 not that FreeBSD itself is stupid. That is also a learning experience
 for me.

 Best,
 Tony

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
   
That's cool. NP.
My thing is simply... if it works use it. If it doesn't try to fix it...
and here's where you sometimes have to learn or find help.  8-)

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


Re: Failure to connect USB Floppy drive

2009-10-28 Thread Adam Vande More
On Wed, Oct 28, 2009 at 2:08 PM, Yuri y...@rawbw.com wrote:

 When I plug in my USB floppy drive I get these messages:

 ugen1.2: NEC at usbus1
 umass0: NEC NEC USB UF000x, class 0/0, rev 1.10/1.50, addr 2 on usbus1
 umass0:  UFI over CBI with CCI; quirks = 0x
 umass0:4:0:-1: Attached to scbus4
 (da0:umass-sim0:0:0:0): got CAM status 0x4
 (da0:umass-sim0:0:0:0): fatal error, failed to attach to device
 (da0:umass-sim0:0:0:0): lost device
 (da0:umass-sim0:0:0:0): removing device entry

 I remember using the same drive in 7.0 without problems.

 Yuri


Did you remove devel/libusb

-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Failure to connect USB Floppy drive

2009-10-28 Thread Yuri

Adam Vande More wrote:

Did you remove devel/libusb


It's installed: libusb-0.1.12_4

I enabled debugging and now get an extended dmesg log:

ugen1.2: NEC at usbus1
umass0: NEC NEC USB UF000x, class 0/0, rev 1.10/1.50, addr 2 on usbus1
umass0:  UFI over CBI with CCI; quirks = 0x
umass0:umass_cam_action: 4:-1:-1:XPT_PATH_INQ:.
umass0:4:0:-1: Attached to scbus4
umass0:umass_cam_rescan: scbus4: scanning for 4:0:-1
umass0:umass_cam_action: 4:-1:-1:XPT_PATH_INQ:.
umass0:umass_cam_action: 4:0:0:XPT_PATH_INQ:.
umass0:umass_cam_action: 4:0:0:XPT_PATH_INQ:.
umass0:umass_cam_action: 4:0:0:XPT_GET_TRAN_SETTINGS:.
umass0:umass_cam_action: 4:0:0:XPT_SET_TRAN_SETTINGS:.
umass0:umass_cam_action: 4:0:0:XPT_PATH_INQ:.
umass0:umass_cam_action: 4:0:0:XPT_PATH_INQ:.
umass0:umass_cam_action: 4:0:0:XPT_SCSI_IO: cmd: 0x12, flags: 0x40, 6b cmd/36b 
data/18b sense
umass0:umass_attach: Attach finishedumass0:umass_cbi_dump_cmd: cmd = 12b 
(0x12002400...), data = 36b, dir = in

umass0:umass_transfer_start: transfer index = 4
umass0:umass_t_cbi_data_read_callback: max_bulk=131072, data_rem=36
umass0:umass_t_cbi_data_read_callback: max_bulk=131072, data_rem=0
umass0:umass_transfer_start: transfer index = 8
umass0:umass_t_cbi_status_callback: UFI CCI, ASC = 0x00, ASCQ = 0x00
umass0:umass_cam_action: 4:0:0:XPT_PATH_INQ:.
umass0:umass_cam_action: 4:0:0:XPT_PATH_INQ:.
umass0:umass_cam_action: 4:0:0:XPT_GET_TRAN_SETTINGS:.
umass0:umass_cam_action: 4:0:0:XPT_SET_TRAN_SETTINGS:.
umass0:umass_cam_action: 4:0:0:XPT_SCSI_IO: cmd: 0x12, flags: 0x40, 6b cmd/255b 
data/18b sense
umass0:umass_cbi_dump_cmd: cmd = 12b (0x1201ff00...), data = 255b, dir = in
umass0:umass_transfer_start: transfer index = 4
umass0:umass_t_cbi_data_read_callback: max_bulk=131072, data_rem=255
umass0:umass_t_cbi_data_read_callback: max_bulk=131072, data_rem=0
umass0:umass_transfer_start: transfer index = 8
umass0:umass_t_cbi_status_callback: UFI CCI, ASC = 0x00, ASCQ = 0x00
umass0:umass_cam_action: 4:0:0:XPT_GET_TRAN_SETTINGS:.
umass0:umass_cam_action: 4:0:0:XPT_PATH_INQ:.
umass0:umass_cam_action: 4:0:0:XPT_GET_TRAN_SETTINGS:.
umass0:umass_cam_action: 4:0:0:XPT_SET_TRAN_SETTINGS:.
umass0:umass_cam_action: 4:0:0:XPT_SCSI_IO: cmd: 0x00, flags: 0xc0, 6b cmd/0b 
data/32b sense
umass0:umass_cbi_dump_cmd: cmd = 12b (0x...), data = 0b, dir = no 
data phase
umass0:umass_tr_error: transfer error, USB_ERR_STALLED - reset
umass0:umass_cam_action: 4:0:0:XPT_SCSI_IO: cmd: 0x00, flags: 0xc0, 6b cmd/0b 
data/32b sense
umass0:umass_t_cbi_reset1_callback: CBI reset!
umass0:umass_tr_error: transfer error, USB_ERR_STALLED - reset
umass0:umass_cam_action: 4:0:0:XPT_SCSI_IO: cmd: 0x00, flags: 0xc0, 6b cmd/0b 
data/32b sense
umass0:umass_t_cbi_reset1_callback: CBI reset!
umass0:umass_tr_error: transfer error, USB_ERR_STALLED - reset
umass0:umass_cam_action: 4:0:0:XPT_SCSI_IO: cmd: 0x00, flags: 0xc0, 6b cmd/0b 
data/32b sense
umass0:umass_t_cbi_reset1_callback: CBI reset!
umass0:umass_tr_error: transfer error, USB_ERR_STALLED - reset
umass0:umass_cam_action: 4:0:0:XPT_SCSI_IO: cmd: 0x00, flags: 0xc0, 6b cmd/0b 
data/32b sense
umass0:umass_t_cbi_reset1_callback: CBI reset!
umass0:umass_tr_error: transfer error, USB_ERR_STALLED - reset
umass0:umass_cam_action: 4:0:0:XPT_SCSI_IO: cmd: 0x00, flags: 0xc0, 6b cmd/0b 
data/32b sense
umass0:umass_t_cbi_reset1_callback: CBI reset!
umass0:umass_tr_error: transfer error, USB_ERR_STALLED - reset
umass0:umass_cam_action: 4:0:0:XPT_SCSI_IO: cmd: 0x00, flags: 0xc0, 6b cmd/0b 
data/32b sense
umass0:umass_t_cbi_reset1_callback: CBI reset!
umass0:umass_tr_error: transfer error, USB_ERR_STALLED - reset
umass0:umass_cam_action: 4:0:0:XPT_SCSI_IO: cmd: 0x00, flags: 0xc0, 6b cmd/0b 
data/32b sense
umass0:umass_t_cbi_reset1_callback: CBI reset!
umass0:umass_tr_error: transfer error, USB_ERR_STALLED - reset
umass0:umass_cam_action: 4:0:0:XPT_SCSI_IO: cmd: 0x00, flags: 0xc0, 6b cmd/0b 
data/32b sense
umass0:umass_t_cbi_reset1_callback: CBI reset!
umass0:umass_tr_error: transfer error, USB_ERR_STALLED - reset
umass0:umass_cam_action: 4:0:0:XPT_SCSI_IO: cmd: 0x00, flags: 0xc0, 6b cmd/0b 
data/32b sense
umass0:umass_t_cbi_reset1_callback: CBI reset!
umass0:umass_tr_error: transfer error, USB_ERR_STALLED - reset
umass0:umass_cam_action: 4:0:0:XPT_SCSI_IO: cmd: 0x00, flags: 0xc0, 6b cmd/0b 
data/32b sense
umass0:umass_t_cbi_reset1_callback: CBI reset!
umass0:umass_tr_error: transfer error, USB_ERR_STALLED - reset
umass0:umass_cam_action: 4:0:0:XPT_PATH_INQ:.
umass0:umass_cam_action: 4:0:0:XPT_SCSI_IO: cmd: 0x25, flags: 0x40, 10b cmd/8b 
data/32b sense
umassX:umass_cam_rescan_callback: xpt0: Rescan succeeded
umass0:umass_t_cbi_reset1_callback: CBI reset!
umass0:umass_tr_error: transfer error, USB_ERR_STALLED - reset
umass0:umass_cam_action: 4:0:0:XPT_SCSI_IO: cmd: 0x25, flags: 0x40, 10b cmd/8b 
data/32b sense
umass0:umass_t_cbi_reset1_callback: CBI reset!
umass0:umass_tr_error: transfer error, USB_ERR_STALLED - reset
umass0:umass_cam_action: 

Re: Failure to connect USB Floppy drive

2009-10-28 Thread Adam Vande More
What does this mean?


 I remember using the same drive in 7.0 without problems.

 Yuri




-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Failure to connect USB Floppy drive

2009-10-28 Thread Yuri

Adam Vande More wrote:

What does this mean?


I remember using the same drive in 7.0 without problems.



It used to work in FreeBSD-70 long time ago. Now in FReeBSD-8.0-RC1 it 
doesn't.


Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Bad sectors: how bad can it be

2009-10-28 Thread Michaël Grünewald

Polytropon wrote:

On Tue, 27 Oct 2009 21:05:39 +0100, Michaël Grünewald 
michaelgrunew...@yahoo.fr wrote:
I have however a question: How do I verify that 
a hard-drive is accurately working if its firmware will hide the bad 
sectors as long as possible?


I think the smartctl program from ports/smartmontools is 
a good tool for such verification. As far as I understood,

it can read internal error logs from the firmware.


Hi, following your suggestion I used smartmon to get access to the SMART 
data. I have run an extended offline test (with-t offline I think). The 
test reported no error (!) and the bad sectors are now read/writeable 
(!!). Is it safe to think the problem is gone?


# smartctl -l selftest /dev/ad10

=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num  Test_DescriptionStatus  Remaining 
LifeTime(hours)  LBA_of_first_error
# 1  Extended offlineCompleted without error   00%   458 
 -

# 2  Extended offlineAborted by host   70%   456
--
Best regards,
Michaël
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: flashplugin

2009-10-28 Thread Polytropon
On Wed, 28 Oct 2009 09:13:02 -0400, PJ af.gour...@videotron.ca wrote:
 And I do wish I could use only FreeBSD... the
 problem is that there are some limitations on compatibility with the
 normal user's MS systems...

You're mixing up things here. Things in MICROS~1 land are
not compatible to the rest of the world.



 OpenOffice.org is not completely
 compatible with MS nor are the Adobe products completely replaceable - [...]

Vice versa.



 [...] mainly because the commercial printers and other users are not equipped
 or compatible with Unixes.

That's correct. Modern printers aren't compatible (in terms
of compatibility or compliance to existing standards). This
is true for many other kind of devices, such as webcams, scanners
and digital media (cameras, players).



 And, of course, the difficulty with learning
 curves and adaptability of the unix alternatives are also deterrents. :-(

I don't think that's correct. Remember, in the past, ordinary
users found their way with DOS and used complicated programs.
Is there so much more dumbness around today? No. I think it's
just the result of aggressive marketing and clever indoctrination.



 I don't know if I'll ever become a master, but I am learning more by
 actually using it since I am a firm believer in direct use learning.

It's always wise to use experimental testing and autodicatic
reading side by side. Of course, most people don't learn without
making their own mistakes, but there's no need to repeat all
the stupid mistakes that happen if a person doesn't read the
manpage or learn about a certain syntax, concept or procedure.



 The only reason I use MS is because most normal users use word,
 illustrator, photoshop.

Are you talking about those who use PIRATED COPIES of the programs
you mentioned? :-)



 They are a huge pain because they have a lot of
 bugs that have been around for a long time and have never been properly
 addressed by MS or ms developers like Adobe.

They simply aren't interested.



 Just check the web and you
 will see that there are an awful lot of crash problems on the MS office,
 the Windows OSs as well as the Adobe stuff. I just reinstalled the CS4
 programs on a fresh XP install and immediately I'm getting errors about
 harware acceleration when the system is installed on the same computer
 on a different disk and was not getting those errors on the other
 installation. The only reason I reinstalled the CS4 was because I wanted
 to have it working cleanly with a fresh installation of MS Office which
 was impossible to install/reinstall/fix on the other disk. Now the MS
 Office works fine, but CS4 does not... talk about problems

This is the kind of user-friendly, modern and good looking
that some people seem to expect from FreeBSD. :-)



 So,
 FreeBSD is not really any more complicated. The only time I really have
 problems with FreeBSD is when so;mething stupid happens, like a physical
 disc suicide (mbr sector gone) or if I did something accidentally like
 shutting down.

That's exactly the point: The FreeBSD OS does what it is told to,
it is completely predictable. If it acts strangely, there is a
reason for it, e. g. faulty hardware, wrong command, missing
library... In MICROS~1 land you often simply cannot tell if it
is a defective installation, a virus, malware, or whatever, so
you need to reinstall everything.



 I then try to learn what to do to fix things (have never
 lost any data - was able to recover it), how to clone, dump, restore.
 These are processes that are not simple and are not something that I
 have needed before.

Hmmm... I think they are simple, but that's a very individual
point of view. Just imagine how simple it is to use the cp
command to copy files, and in opposite, how complicated it is
to achieve the same using JCL. :-)

Once you have understood a certain concept, you can rely on
this knowledge, no matter which version of FreeBSD, which BSD
or even which UNIX you are using. Things you've learned will
serve you well everywhere, even in Linux. You won't find such
an experience in MICROS~1 land.



 What is great about FreeBSD is that it is quite simple to set up,
 configure and use. Problems arise when one makes errors or there are
 incompatibilities caused by some installation conflicts and that seems
 to be the cause of most difficulties.

As I said, this is completely correct if you consider the
fact that the OS can only act as it is told.



 The list here is very hehlpful, especially for lazy guys like me.

This list represents a very friendly and educated community.



 But to study the manual is beyond the capabilities of anyone ... sure,
 you can read it and study it... but you will forget anything you have
 read almost immediately if you are not applying what you are studying at
 once... there may be some residual information captured by one's brain
 but practical application is about the only way to really learn and
 understand... especially with the help of those who have 

Re: Failure to connect USB Floppy drive

2009-10-28 Thread Lowell Gilbert
Yuri y...@rawbw.com writes:

 Adam Vande More wrote:
 Did you remove devel/libusb

 It's installed: libusb-0.1.12_4

That's your problem, then.  You need to remove it and rebuild the ports
that depended on it.

This was mentioned in /usr/ports/UPDATING and /usr/src/UPDATING.
-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Bad sectors: how bad can it be

2009-10-28 Thread David N
2009/10/29 Michaël Grünewald michaelgrunew...@yahoo.fr:
 Polytropon wrote:

 On Tue, 27 Oct 2009 21:05:39 +0100, Michaël Grünewald
 michaelgrunew...@yahoo.fr wrote:

 I have however a question: How do I verify that a hard-drive is
 accurately working if its firmware will hide the bad sectors as long as
 possible?

 I think the smartctl program from ports/smartmontools is a good tool for
 such verification. As far as I understood,
 it can read internal error logs from the firmware.

 Hi, following your suggestion I used smartmon to get access to the SMART
 data. I have run an extended offline test (with-t offline I think). The test
 reported no error (!) and the bad sectors are now read/writeable (!!). Is it
 safe to think the problem is gone?

 # smartctl -l selftest /dev/ad10

 === START OF READ SMART DATA SECTION ===
 SMART Self-test log structure revision number 1
 Num  Test_Description    Status                  Remaining LifeTime(hours)
  LBA_of_first_error
 # 1  Extended offline    Completed without error       00%       458     -
 # 2  Extended offline    Aborted by host               70%       456
 --
 Best regards,
 Michaël
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


I've had this problem before on consumer grade HDD.
* The drive tries to read/write to a sector, it can't, then marks the
sector as bad and preps for remapping
* Remapping may take upto 10 minutes on consumer grade HDD, enterprise
ones usually remap within seconds. so this 10 minute lagg time will
timeout the read/write of the OS.
* Usually a remap is done on reboot or when its done internally and
data is copied (if it can).

If your smartctl says it has used up a spare block
(Reallocated_Sector_Ct), replace the drive ASAP. The drives will tend
to get more and more bad blocks after the the first one is found,
usually because the head is damaging the disks or the head itself is
damaged, or other reasons. If its under warranty they usually replace
is, talk to the manufacturer before hand.

Regards
David N
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: howto use https in favour of http

2009-10-28 Thread Alexander Best
Scott Bennett schrieb am 2009-10-27:
  On Mon, 26 Oct 2009 23:40:48 -0400 Michael Powell
  nightre...@hotmail.com
 wrote:
 Steve Bertrand wrote:

  Alexander Best wrote:
  Olivier Nicole schrieb am 2009-10-27:
  Hi,

  i've added the following line to my /etc/hosts:

  permail.uni-muenster.de:25  permail.uni-muenster.de:443

  so what i want is for freebsd to never use http, but https for
  that
  address.
  unfortunately hosts doesn't seem to support this syntax.

 [snip]

  i'm not using a webserver or anything. i'm just a regular user.
  the point
  is: i often forget to specify https://... for that specific
  address in
  apps like lynx or firefox. that's why the non-ssl version of that
  site is
  being loaded. i'd like freebsd to take care of this so even if
  the app is
  trying to access the non-ssl version it should in fact be
  redirected to
  the ssl version by freebsd.

  I thought that this is what you were originally after.

  FreeBSD, in itself, can't do this... much like Mac OS or Windows
  can't
  do this.

  Most applications such as Firefox can't even do this (inherently).

  If you are trying to enforce this as a personal/company policy,
  you will
  need to write a 'wrapper' around your application (lynx/firefox)
  to do
  this.

  Note that your example was :25-:443, which implied SMTP over
  SSL...

  Nonetheless, FreeBSD can't make these decisions inherently
  (thankfully).

  Steve

 I think the OP does not have a clear grasp on how the various
 protocols
 operate. Evidenced by confusing http with mail services. Yes, I know
 there
 is 'web mail', but even web based mail is still a web server.

 It is up to the server operator to configure the services on the
 server end
 of things. Whether its SMTP with SSL/TLS, HTTP/HTTPS, pop3 or imap
 with SSL,
 etc., all of these things are made to work at the server end. True
 enough a
 client may need to be configured to talk on port 995 for pop3/SSL or
 port
 993 for IMAP/SSL but for the web a client shouldn't need to do
 anything.

 The web server operator configures which locations in his URI space
 should
 be served up on port 443, and the client's browser should
 automatically
 switch to HTTPS based upon this. The OP doesn't seem to understand
 that he
 doesn't need to make this happen on his end, at least as far as
 HTTP/HTTPS
 goes.

  All of this is true, but it is also true that many web sites
  offer part
 or all of their content pages by both protocols, which allows a
 client to
 fetch such pages by his/her choice of protocol.  For such sites, it
 can be
 quite helpful to have a way to tell the browser to prefer, or even
 require,
 one or the other.

 If he is actually trying to configure a mail client to talk TLS or
 SSL to an
 SMTP server, then he needs to tell the email client software this.
 E.g.,
 This connection requires encryption and whether it is SSL or TLS.
 Mail
 servers on port 25 do not use HTTP or HTTPS, but rather SMTP.

 So it seems as if he is just very confused.

  Definitely the case.  However, this list is intended to provide
  help
 to users at all levels of experience and understanding.
  What has been overlooked in all of the above discussion is that
  there
 *is* some help available for the OP.  A plug-in is available for
 Firefox
 that should *always* be installed ASAP after Firefox has been
 installed
 unless you don't give a rat's ass about browser security.  The
 plug-in is
 called NoScript.  (Other highly recommended Firefox security
 plug-ins
 include QuickJava, SafeCache, Torbutton, Better Privacy, etc.)
  Directions for the OP:  after installing NoScript and restarting
 Firefox, bring up the NoScript Options panel.  You can do this either
 by
 clicking on Tools in the Firefox menu bar at the top of the window
 and
 then on Add-ons or Plug-ins or some such, depending upon the
 Firefox
 version.  This will bring up a panel listing all installed plug-ins.
 Find
 the entry for NoScript, click on the entry (not a button, though) to
 select
 it, then click on its Preferences button.  Two alternative methods
 of
 getting to the same NoScript Options panel depend upon what you see
 at the
 bottom of the main Firefox window.  If you see a bar inside the
 window at
 the bottom that says something about scripts with an Options...
 button
 at the right, clock on the Options button and then on the
 Options...
 line at the top of the resulting menu.  The other alternative method
 is
 available when there is a capital letter S in a circle in the
 bottom
 Firefox status bar.  Right-click on this S, which may have a slash
 through
 it or other decorations, to get a slightly differently ordered menu.
 Click
 on the Options... line of this menu to get the NoScript Options
 panel.
  Once the NoScript Options panel is visible, click on the
  Advanced tab
 at the righthand end of the sequence of tabs.  This will display some
 subtabs below the main tabs.  Click again on the 

Re: flashplugin

2009-10-28 Thread PJ
Polytropon wrote:
 On Wed, 28 Oct 2009 09:13:02 -0400, PJ af.gour...@videotron.ca wrote:
   
 And I do wish I could use only FreeBSD... the
 problem is that there are some limitations on compatibility with the
 normal user's MS systems...
 

 You're mixing up things here. Things in MICROS~1 land are
 not compatible to the rest of the world.



   
 OpenOffice.org is not completely
 compatible with MS nor are the Adobe products completely replaceable - [...]
 

 Vice versa.



   
 [...] mainly because the commercial printers and other users are not equipped
 or compatible with Unixes.
 

 That's correct. Modern printers aren't compatible (in terms
 of compatibility or compliance to existing standards). This
 is true for many other kind of devices, such as webcams, scanners
 and digital media (cameras, players).



   
 And, of course, the difficulty with learning
 curves and adaptability of the unix alternatives are also deterrents. :-(
 

 I don't think that's correct. Remember, in the past, ordinary
 users found their way with DOS and used complicated programs.
 Is there so much more dumbness around today? No. I think it's
 just the result of aggressive marketing and clever indoctrination.



   
 I don't know if I'll ever become a master, but I am learning more by
 actually using it since I am a firm believer in direct use learning.
 

 It's always wise to use experimental testing and autodicatic
 reading side by side. Of course, most people don't learn without
 making their own mistakes, but there's no need to repeat all
 the stupid mistakes that happen if a person doesn't read the
 manpage or learn about a certain syntax, concept or procedure.



   
 The only reason I use MS is because most normal users use word,
 illustrator, photoshop.
 

 Are you talking about those who use PIRATED COPIES of the programs
 you mentioned? :-)



   
 They are a huge pain because they have a lot of
 bugs that have been around for a long time and have never been properly
 addressed by MS or ms developers like Adobe.
 

 They simply aren't interested.



   
 Just check the web and you
 will see that there are an awful lot of crash problems on the MS office,
 the Windows OSs as well as the Adobe stuff. I just reinstalled the CS4
 programs on a fresh XP install and immediately I'm getting errors about
 harware acceleration when the system is installed on the same computer
 on a different disk and was not getting those errors on the other
 installation. The only reason I reinstalled the CS4 was because I wanted
 to have it working cleanly with a fresh installation of MS Office which
 was impossible to install/reinstall/fix on the other disk. Now the MS
 Office works fine, but CS4 does not... talk about problems
 

 This is the kind of user-friendly, modern and good looking
 that some people seem to expect from FreeBSD. :-)



   
 So,
 FreeBSD is not really any more complicated. The only time I really have
 problems with FreeBSD is when so;mething stupid happens, like a physical
 disc suicide (mbr sector gone) or if I did something accidentally like
 shutting down.
 

 That's exactly the point: The FreeBSD OS does what it is told to,
 it is completely predictable. If it acts strangely, there is a
 reason for it, e. g. faulty hardware, wrong command, missing
 library... In MICROS~1 land you often simply cannot tell if it
 is a defective installation, a virus, malware, or whatever, so
 you need to reinstall everything.



   
 I then try to learn what to do to fix things (have never
 lost any data - was able to recover it), how to clone, dump, restore.
 These are processes that are not simple and are not something that I
 have needed before.
 

 Hmmm... I think they are simple, but that's a very individual
 point of view. Just imagine how simple it is to use the cp
 command to copy files, and in opposite, how complicated it is
 to achieve the same using JCL. :-)

 Once you have understood a certain concept, you can rely on
 this knowledge, no matter which version of FreeBSD, which BSD
 or even which UNIX you are using. Things you've learned will
 serve you well everywhere, even in Linux. You won't find such
 an experience in MICROS~1 land.



   
 What is great about FreeBSD is that it is quite simple to set up,
 configure and use. Problems arise when one makes errors or there are
 incompatibilities caused by some installation conflicts and that seems
 to be the cause of most difficulties.
 

 As I said, this is completely correct if you consider the
 fact that the OS can only act as it is told.



   
 The list here is very hehlpful, especially for lazy guys like me.
 

 This list represents a very friendly and educated community.



   
 But to study the manual is beyond the capabilities of anyone ... sure,
 you can read it and study it... but you will forget anything you have
 read almost immediately if you are not applying what you are studying at
 once... there may 

Re: Bad sectors: how bad can it be

2009-10-28 Thread Michaël Grünewald

Hello David,

thank you for your comments,

David N wrote:

2009/10/29 Michaël Grünewald michaelgrunew...@yahoo.fr:

=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num  Test_DescriptionStatus  Remaining LifeTime(hours)
 LBA_of_first_error
# 1  Extended offlineCompleted without error   00%   458 -
# 2  Extended offlineAborted by host   70%   456

[...]

If your smartctl says it has used up a spare block
(Reallocated_Sector_Ct), replace the drive ASAP. The drives will tend
to get more and more bad blocks after the the first one is found,
usually because the head is damaging the disks or the head itself is
damaged, or other reasons. If its under warranty they usually replace
is, talk to the manufacturer before hand.



I have Reallocated_Sector_Ct=0 for the faulty drive. Where can I find a 
key fo reading all the other exciting numbers listed under the banner


``SMART Attributes Data Structure revision number: 10
  Vendor Specific SMART Attributes with Thresholds:'' ?


On the hard-drive I use for my backups, a SAMSUNG HD501LJ,  all the 
numbers I read looks fine to me, but I want to be sure. Thus it would be 
nice have a key for the table that `smartctl -a /dev/ad6' outputs. My 
two other drives, I use to store my OS and my data, are MAXTOR 
STM3250820AS (I do not have a RAID setup, it just happens that I have 
twin hard drives). They both have `Reallocated_Sector_Ct=0' but have 
positive `Raw_Read_Error_Rate', `Seek_Error_Rate'. Additionally, the 
faulty drive has positive 
`Reported_incorrect=119',`Current_Pending_Sector=4294967295' and 
`Offline_Uncorrectable=4294967295'.


As looking for hints on google leads to many threads discussing 
hard-drive failures, I did not find what a pleasant description of the 
signification of these numbers.

--
Kind regards,
Michaël

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


Is Intel 5100AGN WiFi card supported?

2009-10-28 Thread Yuri
I have to change WiFi card, and my laptop only accepts certain types, 
others are banned by BIOS.

Is this one: Intel 5100AGN supported?


Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Failure to connect USB Floppy drive

2009-10-28 Thread Yuri

Lowell Gilbert wrote:

That's your problem, then.  You need to remove it and rebuild the ports
that depended on it.

This was mentioned in /usr/ports/UPDATING and /usr/src/UPDATING.
  


I removed this port but still have this problem.

Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: flashplugin

2009-10-28 Thread Polytropon
On Wed, 28 Oct 2009 15:45:24 -0400, PJ af.gour...@videotron.ca wrote:
 Yeah, but stupid errors are not.

Nobody can make all the errors.



 anyway I goofed somewhere. but what is strange is that
 the only obvious problem I have is this flashplugin - no matter what I
 do, I cannot get it to work.

But obviously, as others are running it, it's possible.



 I do recall that at some point there was an update for flash or firefox
 and I think I allowed Firefox to update it... so the problem just may be
 with Firefox itself. 

That may be possible.



 And I just don't feel like going through a
 reinstallation of Firefox again... that is probably the most lengthy and
 tortuous installation of anything except for OpenOffice.org (I only use
 the binaries for that) and my cpus are 2.4 or 3Ghz.

That's the reason that I really prefer precompiled packages.
If you think that you system is all messed up, delete /usr/local
and start installing from packages. Pay attention to run the
files needed from /etc/mtree to restore the hierarchy for
the /usr/local subtree.



 Anyway, I've given
 up on flash...

I did so from its beginning. :-)



 I don't go to youtube or the like so I don't really miss
 it...

There's youtube-dl. :-)



 it's just annoying that I can't access some sites properly when
 using FreeBSD.

That's not FreeBSD's fault. If professional web designers
need to optimize their content in order to prevent you from
properly accessing it, it's their fault. I would complain to
them, or just ignore them. Content that its creator doesn't
want me to see is not worth seeing.



-- 
Polytropon
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 freebsd-questions-unsubscr...@freebsd.org


Re: Is Intel 5100AGN WiFi card supported?

2009-10-28 Thread herbert langhans
Do you know the card's chipset? The Atheros chips are working well, I have a 
TP-Link card with such..

Cheers
herb langhans


On Wed, Oct 28, 2009 at 02:08:14PM -0700, Yuri wrote:
 I have to change WiFi card, and my laptop only accepts certain types, 
 others are banned by BIOS.
 Is this one: Intel 5100AGN supported?
 
 
 Yuri
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
sprachtraining langhans
herbert langhans, warschau
http://www.langhans.com.pl
herbert dot raimund at gmx dot net
+0048 603 341 441

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


Re: Is Intel 5100AGN WiFi card supported?

2009-10-28 Thread Sam Fourman Jr.
On Wed, Oct 28, 2009 at 4:08 PM, Yuri y...@rawbw.com wrote:
 I have to change WiFi card, and my laptop only accepts certain types, others
 are banned by BIOS.
 Is this one: Intel 5100AGN supported?

There was a commit to 9 CURRENT the other day r198429
so Current has some support for it

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 freebsd-questions-unsubscr...@freebsd.org


breakthru, maybe....

2009-10-28 Thread Gary Kline

well, i just bought a used dell for my new DNS, mail, and web
server.  they snickered when i asked if they would pre-install
freebsd... so it's up  to me.  

this dell was running losedows, vista, so i assume it has some
kind of sound card.
it has 256MN ATI X1300 PRo video.  is this enough to power
my new [year-old] 20.1 widescreen display?

80GB drive, so it is only a server.  as well as a backup for
critical audio and jpg files and stuff i don't want to lose.

so: what is the URL to download the 8.0-PRE freebsd?
true, i haven't had to install freebsd by-hand from CDROMs for
years, but if remory servs, more than one CD is required.
i DO have blank DVD-RW discs ... if we've got a DVD distro
somewhere.

thanks in advance, gents,

gary

PS:  the breakthru is that i'll be doing everything with my
 one hand/arm.   


-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.31a release of Jottings: http://jottings.thought.org/index.php

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


Re: flashplugin

2009-10-28 Thread Jerry
On Wed, 28 Oct 2009 22:25:53 +0100
Polytropon Polytropon free...@edvax.de replied:

[snip]

That's not FreeBSD's fault. If professional web designers
need to optimize their content in order to prevent you from
properly accessing it, it's their fault. I would complain to
them, or just ignore them. Content that its creator doesn't
want me to see is not worth seeing.

You don't really believe that do you. Web creators attempt to make their
sites accessible to the largest possible audience. It is probably cost
prohibited, if even reasonably possible to make a site 100% viewable in
every browsers (don't forget lynxs) available. Any intelligent business
plan would dictate that they therefore concentrate on the largest
possible audience.

This problem, like the nVidea 64 bit drivers, rests with FreeBSD. You
simply cannot expect any software developer to develop and maintain a
product for what is in reality a niche OS.

-- 
Jerry
ges...@yahoo.com

|===
|===
|===
|===
|

I am more bored than you could ever possibly be. Go back to work.

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


Re: breakthru, maybe....

2009-10-28 Thread Polytropon
On Wed, 28 Oct 2009 14:48:46 -0700, Gary Kline kl...@thought.org wrote:
   this dell was running losedows, vista, so i assume it has some
   kind of sound card.

That's an interesting conditional implication thought. :-)


   it has 256MN ATI X1300 PRo video.  is this enough to power
   my new [year-old] 20.1 widescreen display?

Depends on your display's dpi, but should be okay.



   so: what is the URL to download the 8.0-PRE freebsd?

ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/8.0/
ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/ISO-IMAGES/8.0/



   true, i haven't had to install freebsd by-hand from CDROMs for
   years, but if remory servs, more than one CD is required.

No. You can start the installation from the first CD which
gives you basically the OS and some packages (e. g. Linux ABI).
Everything else can be installed via ports / packages, this
means via Internet.

You can even use the boot only CD to start the installation,
or the live FS.



   i DO have blank DVD-RW discs ... if we've got a DVD distro
   somewhere.

There is a DVD available.



   thanks in advance, gents,

Good luck!



   PS:  the breakthru is that i'll be doing everything with my
one hand/arm.   

Manual operations. :-)




-- 
Polytropon
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 freebsd-questions-unsubscr...@freebsd.org


Re: flashplugin

2009-10-28 Thread Polytropon
On Wed, 28 Oct 2009 17:55:20 -0400, Jerry ges...@yahoo.com wrote:
 On Wed, 28 Oct 2009 22:25:53 +0100
 Polytropon Polytropon free...@edvax.de replied:
 
 [snip]
 
 That's not FreeBSD's fault. If professional web designers
 need to optimize their content in order to prevent you from
 properly accessing it, it's their fault. I would complain to
 them, or just ignore them. Content that its creator doesn't
 want me to see is not worth seeing.
 
 You don't really believe that do you.

 Web creators attempt to make their
 sites accessible to the largest possible audience.

Let's say, they *should*. I've seen (or not seen) web pages...
for example one that doesn't even tell you which page you
are on without Flash. Very useful for blind persons.



 It is probably cost
 prohibited, if even reasonably possible to make a site 100% viewable in
 every browsers (don't forget lynxs) available.

In most cases where Flash is used, it is used to annoy
users with animated advertisement (where previously animated
GIFs had been used) or to implement something that simple
as a list of further links (which can be done in HTML, in
JavaScript, but shouldn't require a proprietary plugin).

If a web page is viewable in lynx, it's high quality. The
term quality does not refer to the amount of different
media embedded, nor does it refer to the amount of different
fonts, font sizes, colors and images used. It refers to what
you said: largest possible audience. This includes all
the exceptions, such as blind users who need a readout
on a braille line, or a synthesized speech output.

You can, however, achieve this with Flash, if you embed
it correctly and maybe offer an alternative (No 'Flash'
version) of the content. The same is for using the alt=
and longdesc= attributes in HTML for images.

Okay, I will be honest: Nobody does this today anymore.
Well... I do... but I'm completely mad.



 Any intelligent business
 plan would dictate that they therefore concentrate on the largest
 possible audience.

Let's say, the largest subset of the possible audience, that
would be more correct. Web developers, as well as cretors
of viruses and malware, rely on what the majority of PC users
do use: Windows and Flash. If this is present, fine. If
not... NO CONTENT FOR YOU! NEXT ONE! :-)



 This problem, like the nVidea 64 bit drivers, rests with FreeBSD.

FreeBSD develops nVidia's GPUs and their drivers? I don't think
so. For FreeBSD users there are two options on the side of
nVidia:
a) open up the devices and the drivers so the
   community can develop quality drivers
b) develop quality drivers in-house and offer
   binary packages
And of course, for the users:
c) If it doesn't run on my OS, I don't buy it.

FreeBSD's and X's sources are free, so it's easy to implement
the drivers. Vice versa, it's not easy to develop drivers for
a GPU that (FreeBSD's and X's) developers don't know enough
about.

According to Flash, why would you think it's okay to require
a proprietary plugin that is developed in a closed way and
hooks SO DEEPLY into the system that it's that hard to implement?
And when you think about the benefits of having such a plugin...
sometimes you are glad that you can easily TURN IT OFF.

Again the analogy for images: Sometimes, their use makes a
web page ugly as sin and unreadable. Then I just switch the
images off in Opera. I don't need a plugin from an arbitrary
company to see PNG images, and know that this company does
not offer such a plugin for my platform, and that the plugin
for viewing PNG images hooks deeply into the system's kernel
so there is no 100% usable free alternative of it.

The day that Flash is an open standard and can be used the
same way as PNG images in a web page (and through the means
of a web browser), I will be glad to review my attitude.



 You
 simply cannot expect any software developer to develop and maintain a
 product for what is in reality a niche OS.

Well, I don't expect the software development company to do so.
They have the change to make Flash a standard (by opening it).
If they don't, it's okay, it is their right to do so. But then,
a web developer can't expect me to buy an expensive PC with
some Windows and a prone-to-abuse plugin of Flash just to
see some advertisement or something else that every half-skilled
web developer could easily implement with HTML, CSS and maybe
JavaScript.





-- 
Polytropon
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 freebsd-questions-unsubscr...@freebsd.org


Re: flashplugin

2009-10-28 Thread Adam Vande More
On Wed, Oct 28, 2009 at 4:55 PM, Jerry ges...@yahoo.com wrote:

 On Wed, 28 Oct 2009 22:25:53 +0100

 You don't really believe that do you. Web creators attempt to make their
 sites accessible to the largest possible audience. It is probably cost
 prohibited, if even reasonably possible to make a site 100% viewable in
 every browsers (don't forget lynxs) available. Any intelligent business
 plan would dictate that they therefore concentrate on the largest
 possible audience.

 This problem, like the nVidea 64 bit drivers, rests with FreeBSD. You
 simply cannot expect any software developer to develop and maintain a
 product for what is in reality a niche OS.

 --
 Jerry

 ges...@yahoo.com


Nvidia 64 is a different animal.  They have communicated why they didn't
release such a driver, and my understanding is that most or all of those
shortcomings have been remedied in 8 making discussion of a new amd64 binary
possible now.  It is also my understanding FreeBSD in one form or another
has attempted to bridge to gap with adobe, and haven't received feedback and
are basically ignored.  Disdain could easily be interpreted by such a
response.  I'm unclear as to what you expect FreeBSD to do in such a
situation.

-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Bad sectors: how bad can it be

2009-10-28 Thread David N
2009/10/29 Michaël Grünewald michaelgrunew...@yahoo.fr:
 Hello David,

 thank you for your comments,

 David N wrote:

 2009/10/29 Michaël Grünewald michaelgrunew...@yahoo.fr:

 === START OF READ SMART DATA SECTION ===
 SMART Self-test log structure revision number 1
 Num  Test_Description    Status                  Remaining
 LifeTime(hours)
  LBA_of_first_error
 # 1  Extended offline    Completed without error       00%       458
 -
 # 2  Extended offline    Aborted by host               70%       456

 [...]

 If your smartctl says it has used up a spare block
 (Reallocated_Sector_Ct), replace the drive ASAP. The drives will tend
 to get more and more bad blocks after the the first one is found,
 usually because the head is damaging the disks or the head itself is
 damaged, or other reasons. If its under warranty they usually replace
 is, talk to the manufacturer before hand.


 I have Reallocated_Sector_Ct=0 for the faulty drive. Where can I find a key
 fo reading all the other exciting numbers listed under the banner

 ``SMART Attributes Data Structure revision number: 10
  Vendor Specific SMART Attributes with Thresholds:'' ?


 On the hard-drive I use for my backups, a SAMSUNG HD501LJ,  all the numbers
 I read looks fine to me, but I want to be sure. Thus it would be nice have a
 key for the table that `smartctl -a /dev/ad6' outputs. My two other drives,
 I use to store my OS and my data, are MAXTOR STM3250820AS (I do not have a
 RAID setup, it just happens that I have twin hard drives). They both have
 `Reallocated_Sector_Ct=0' but have positive `Raw_Read_Error_Rate',
 `Seek_Error_Rate'. Additionally, the faulty drive has positive
 `Reported_incorrect=119',`Current_Pending_Sector=4294967295' and
 `Offline_Uncorrectable=4294967295'.

 As looking for hints on google leads to many threads discussing hard-drive
 failures, I did not find what a pleasant description of the signification of
 these numbers.
 --
 Kind regards,
 Michaël




More information http://en.wikipedia.org/wiki/S.M.A.R.T.

 `Seek_Error_Rate'. Additionally, the faulty drive has positive
 `Reported_incorrect=119',`Current_Pending_Sector=4294967295' and
 `Offline_Uncorrectable=4294967295'.

It looks like your drive is trying to remap a bad block, but can't
seem to do so. You may need to do a cold boot. Or force a read/write
from that sector to tell the drive to try to remap it again.
dd if=/dev/adX of=/dev/null skip=4294967295 count=1 (Read from the block#)

Looks like your HDD with the positive Current_Pending_Sector and
Offline_Uncorrectable with that is going bad. Once it manages to remap
the block, your Reallocated_Sector_Ct will increase/decrease (depends
on the counter), once it reaches the THRESH counter, its out of blocks
to map.

I would recommend you change HDD as soon as possible.

Regards
David N
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


[OT] Show nice columns of numers

2009-10-28 Thread Bertram Scharpf
Hi,


my company is going to shoot a TV spot that will show me at work.
The first thing my desktop will contain is some BSD/FreeBSD logo.

As it will be a movie, not a photograph, I would like to have huge
columns of numbers running over the screen or at least one window.
Does somebody know a programm that produces such nice output?

Thanks in advance.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: [OT] Show nice columns of numers

2009-10-28 Thread Polytropon
On Wed, 28 Oct 2009 23:32:42 +0100, Bertram Scharpf li...@bertram-scharpf.de 
wrote:
 As it will be a movie, not a photograph, I would like to have huge
 columns of numbers running over the screen or at least one window.
 Does somebody know a programm that produces such nice output?

What about ls -laFG /? It produces a nice output, too. :-)

Or try this one:

% primes 2 | tr \n \t

Other famous listings include a ping run or make update;
even make of some port could look nice.



-- 
Polytropon
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 freebsd-questions-unsubscr...@freebsd.org


Re: [OT] Show nice columns of numers

2009-10-28 Thread Mak Kolybabi
On 2009-10-28 23:32, Bertram Scharpf wrote:
 As it will be a movie, not a photograph, I would like to have huge columns of
 numbers running over the screen or at least one window. Does somebody know a
 programm that produces such nice output?

If you're not dead-set on numbers, somethings like the following works:

while true; do; dd if=/dev/urandom bs=64 count=1 2/dev/null | sha256; done

--
Matthew Anthony Kolybabi (Mak)
m...@kolybabi.com

() ASCII Ribbon Campaign | Against HTML e-mail
/\  www.asciiribbon.org  | Against proprietary extensions

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


Re: [OT] Show nice columns of numers

2009-10-28 Thread Polytropon
Replying to myself and adding:

% hexdump some large file

looks interesting, too.



-- 
Polytropon
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 freebsd-questions-unsubscr...@freebsd.org


Re: flashplugin

2009-10-28 Thread PJ
Polytropon wrote:
 On Wed, 28 Oct 2009 17:55:20 -0400, Jerry ges...@yahoo.com wrote:
   
 On Wed, 28 Oct 2009 22:25:53 +0100
 Polytropon Polytropon free...@edvax.de replied:

 [snip]

 
 That's not FreeBSD's fault. If professional web designers
 need to optimize their content in order to prevent you from
 properly accessing it, it's their fault. I would complain to
 them, or just ignore them. Content that its creator doesn't
 want me to see is not worth seeing.
   
 You don't really believe that do you.
 

   
 Web creators attempt to make their
 sites accessible to the largest possible audience.
 

 Let's say, they *should*. I've seen (or not seen) web pages...
 for example one that doesn't even tell you which page you
 are on without Flash. Very useful for blind persons.



   
 It is probably cost
 prohibited, if even reasonably possible to make a site 100% viewable in
 every browsers (don't forget lynxs) available.
 

 In most cases where Flash is used, it is used to annoy
 users with animated advertisement (where previously animated
 GIFs had been used) or to implement something that simple
 as a list of further links (which can be done in HTML, in
 JavaScript, but shouldn't require a proprietary plugin).

 If a web page is viewable in lynx, it's high quality. The
 term quality does not refer to the amount of different
 media embedded, nor does it refer to the amount of different
 fonts, font sizes, colors and images used. It refers to what
 you said: largest possible audience. This includes all
 the exceptions, such as blind users who need a readout
 on a braille line, or a synthesized speech output.

 You can, however, achieve this with Flash, if you embed
 it correctly and maybe offer an alternative (No 'Flash'
 version) of the content. The same is for using the alt=
 and longdesc= attributes in HTML for images.

 Okay, I will be honest: Nobody does this today anymore.
 Well... I do... but I'm completely mad.



   
 Any intelligent business
 plan would dictate that they therefore concentrate on the largest
 possible audience.
 

 Let's say, the largest subset of the possible audience, that
 would be more correct. Web developers, as well as cretors
 of viruses and malware, rely on what the majority of PC users
 do use: Windows and Flash. If this is present, fine. If
 not... NO CONTENT FOR YOU! NEXT ONE! :-)



   
 This problem, like the nVidea 64 bit drivers, rests with FreeBSD.
 

 FreeBSD develops nVidia's GPUs and their drivers? I don't think
 so. For FreeBSD users there are two options on the side of
 nVidia:
   a) open up the devices and the drivers so the
  community can develop quality drivers
   b) develop quality drivers in-house and offer
  binary packages
 And of course, for the users:
   c) If it doesn't run on my OS, I don't buy it.

 FreeBSD's and X's sources are free, so it's easy to implement
 the drivers. Vice versa, it's not easy to develop drivers for
 a GPU that (FreeBSD's and X's) developers don't know enough
 about.

 According to Flash, why would you think it's okay to require
 a proprietary plugin that is developed in a closed way and
 hooks SO DEEPLY into the system that it's that hard to implement?
 And when you think about the benefits of having such a plugin...
 sometimes you are glad that you can easily TURN IT OFF.

 Again the analogy for images: Sometimes, their use makes a
 web page ugly as sin and unreadable. Then I just switch the
 images off in Opera. I don't need a plugin from an arbitrary
 company to see PNG images, and know that this company does
 not offer such a plugin for my platform, and that the plugin
 for viewing PNG images hooks deeply into the system's kernel
 so there is no 100% usable free alternative of it.

 The day that Flash is an open standard and can be used the
 same way as PNG images in a web page (and through the means
 of a web browser), I will be glad to review my attitude.



   
 You
 simply cannot expect any software developer to develop and maintain a
 product for what is in reality a niche OS.
 

 Well, I don't expect the software development company to do so.
 They have the change to make Flash a standard (by opening it).
 If they don't, it's okay, it is their right to do so. But then,
 a web developer can't expect me to buy an expensive PC with
 some Windows and a prone-to-abuse plugin of Flash just to
 see some advertisement or something else that every half-skilled
 web developer could easily implement with HTML, CSS and maybe
 JavaScript.
   

HEY, GUYS

I think you're forgetting one very important aspect of all this crap...
the fault lies with ADOBE just look at the greedy sobs - they
produce overpriced products (that, incidentally, they sell to the
kChinese at ludicrous prices  or repates and tolerate their illegal
copying) which are notoriously buggy - they bloat the OSs and never
really fix their errors they are the ones who should provide some

Re: [OT] Show nice columns of numers

2009-10-28 Thread Polytropon
On Wed, 28 Oct 2009 17:43:01 -0500, Mak Kolybabi m...@kolybabi.com wrote:
 If you're not dead-set on numbers, somethings like the following works:
 
 while true; do; dd if=/dev/urandom bs=64 count=1 2/dev/null | sha256; done
^
Without this ; it works (tested: sh, bash) - and looks nice, too. :-)



-- 
Polytropon
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 freebsd-questions-unsubscr...@freebsd.org


Bind Sendmail to an IP address

2009-10-28 Thread Aflatoon Aflatooni
Hi,
I have a Freebsd 7.2 installation and using Sendmail for the SMTP service. This 
server has two public interfaces and different IP addresses.
I need to have sendmail configured so that the outbound emails are sent using a 
certain IP address (SPF rules).  I have tried the following without any success:

DAEMON_OPTIONS(`Addr=x.y.z.i')dnl
 
Any help or suggestions would be greatly appriciated.
 
Thanks



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


Re: breakthru, maybe....

2009-10-28 Thread Gary Kline
On Wed, Oct 28, 2009 at 11:02:37PM +0100, Polytropon wrote:
 On Wed, 28 Oct 2009 14:48:46 -0700, Gary Kline kl...@thought.org wrote:
  this dell was running losedows, vista, so i assume it has some
  kind of sound card.
 
 That's an interesting conditional implication thought. :-)
 
 
  it has 256MN ATI X1300 PRo video.  is this enough to power
  my new [year-old] 20.1 widescreen display?
 
 Depends on your display's dpi, but should be okay.
 
 
 
  so: what is the URL to download the 8.0-PRE freebsd?
 
 ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/8.0/
 ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/ISO-IMAGES/8.0/
 



wait, i thought the duo core is 64bits.  still 32?

 
 
  true, i haven't had to install freebsd by-hand from CDROMs for
  years, but if remory servs, more than one CD is required.
 
 No. You can start the installation from the first CD which
 gives you basically the OS and some packages (e. g. Linux ABI).
 Everything else can be installed via ports / packages, this
 means via Internet.
 
 You can even use the boot only CD to start the installation,
 or the live FS.
 
 
 
  i DO have blank DVD-RW discs ... if we've got a DVD distro
  somewhere.
 
 There is a DVD available.
 
 
 
  thanks in advance, gents,
 
 Good luck!
 
 
 
  PS:  the breakthru is that i'll be doing everything with my
   one hand/arm.   
 
 Manual operations. :-)
 


LOLOLOL.  indeed, indeed thanks, Polyt.

later on,

gary


 
 
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.31a release of Jottings: http://jottings.thought.org/index.php

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


Re: gnu tar checkpoint variable expansion

2009-10-28 Thread Jay Hall


Try this:

/usr/local/gtar-1.22/bin/tar -cf - ${WHATTOBACKUP} \
--checkpoint-action='echo=Checkpoint #%u' \
	--checkpoint-action=exec=/usr/local/scripts/check_disk_usage.sh $ 
{DIR}


The use of single quotes prohibits the expansion of environment
variables. Use double qoutes instead.


Thanks Trond, this did the trick.

Jay
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: breakthru, maybe....

2009-10-28 Thread Kurt Buff
On Wed, Oct 28, 2009 at 16:08, Gary Kline kl...@thought.org wrote:
 On Wed, Oct 28, 2009 at 11:02:37PM +0100, Polytropon wrote:
 On Wed, 28 Oct 2009 14:48:46 -0700, Gary Kline kl...@thought.org wrote:
      so: what is the URL to download the 8.0-PRE freebsd?

 ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/8.0/
 ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/ISO-IMAGES/8.0/

        wait, i thought the duo core is 64bits.  still 32?

This:

ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/ISO-IMAGES/8.0/

is indeed 64bit.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: win 7 dual boot

2009-10-28 Thread Mario Lobo
On Tuesday 27 October 2009 23:11:15 Aryeh M. Friedman wrote:
 Completely side question I use sysutils/fusefs-ntfs to mount my vista
 partition do I need to change anything in my /etc/rc.d/* hierachy and/or
 /etc/fstab  after installing win 7 (I use a direct call to ntfs-3g
 instead of via the mount patch [which doesn't work on 8.0-XXX it seems
 {I am on RC2 right now}]?

I have FreeBSD papi 8.0-RC1 and fusefs works perfectly via mount  fstab.

Did you replace the original mount_ntfs with ntfs-3g like bellow?

cd /sbin
mv -f mount_ntfs mount_ntfs-kern
ln -s /usr/local/bin/ntfs-3g mount_ntfs


After that, any call to mount_ntfs will grant RW to the disk.


-- 
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 freebsd-questions-unsubscr...@freebsd.org


I'm sure you've heard this before...

2009-10-28 Thread Henry Olyer
I want to turn the disks off.

I sometimes run large jobs and want to switch down the drives.

On some IBM blades, I have FBSD 6.1, on another machine I am using 7.2.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: [OT] Show nice columns of numers

2009-10-28 Thread Gary Gatten
Why not Beastie smashing avitars of the PC and MAC dudes from the Apple 
commercials in the US? That would be sweet!  Those commercials are pretty 
funny, and just keep getting better! Marketing GENIUS' from Apple!  Which BSD 
core did they borrow? Is it Free or Open?

- Original Message -
From: owner-freebsd-questi...@freebsd.org owner-freebsd-questi...@freebsd.org
To: Mak Kolybabi m...@kolybabi.com
Cc: freebsd-questions@freebsd.org freebsd-questions@freebsd.org
Sent: Wed Oct 28 17:49:09 2009
Subject: Re: [OT] Show nice columns of numers

On Wed, 28 Oct 2009 17:43:01 -0500, Mak Kolybabi m...@kolybabi.com wrote:
 If you're not dead-set on numbers, somethings like the following works:
 
 while true; do; dd if=/dev/urandom bs=64 count=1 2/dev/null | sha256; done
^
Without this ; it works (tested: sh, bash) - and looks nice, too. :-)



-- 
Polytropon
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 freebsd-questions-unsubscr...@freebsd.org





font size=1
div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 
1.0pt 0in'
/div
This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system.
/font

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

Re: I'm sure you've heard this before...

2009-10-28 Thread Bruce Cran
On Wed, 28 Oct 2009 20:12:06 -0400
Henry Olyer henry.ol...@gmail.com wrote:

 I want to turn the disks off.
 
 I sometimes run large jobs and want to switch down the drives.
 
 On some IBM blades, I have FBSD 6.1, on another machine I am using
 7.2. 

If they're ATA drives you can use my ATAidle utility from
sysutils/ataidle.  In FreeBSD 7 you can also use the spindown command
that's been added to atacontrol(8).

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


Re: [OT] Show nice columns of numers

2009-10-28 Thread jhell


On Wed, 28 Oct 2009 18:32, lists@ wrote:

Hi,


my company is going to shoot a TV spot that will show me at work.
The first thing my desktop will contain is some BSD/FreeBSD logo.

As it will be a movie, not a photograph, I would like to have huge
columns of numbers running over the screen or at least one window.
Does somebody know a programm that produces such nice output?

Thanks in advance.

Bertram






Nice output so far. I like seeing all these examples Polytropon's to be 
specific.


Here is another one for you that is a little unique that you might not see 
on every computer out there.


Integer Sequences database located here:
fetch http://www.research.att.com/~njas/sequences/stripped.gz

Put some real previous work back to work!. ;)

sed  awk that file to your liking to change commas spaces or such around 
so it can be spilled out to a terminal then toil the end result with the 
something like the following.


# For bourne style shells.
for line in `zcat stripped.gz`; do echo $line  sleep .02 ;done

The above command on that file will show you the reason why some awk'ing 
might be needed but that's up to you.


Best of luck.

--

 Wed Oct 28 22:52:47 2009 -0500

 jhell
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: [OT] Show nice columns of numers

2009-10-28 Thread jhell


On Wed, 28 Oct 2009 23:03, jhell@ wrote:


On Wed, 28 Oct 2009 18:32, lists@ wrote:

Hi,


my company is going to shoot a TV spot that will show me at work.
The first thing my desktop will contain is some BSD/FreeBSD logo.

As it will be a movie, not a photograph, I would like to have huge
columns of numbers running over the screen or at least one window.
Does somebody know a programm that produces such nice output?

Thanks in advance.

Bertram






Nice output so far. I like seeing all these examples Polytropon's to be 
specific.


Here is another one for you that is a little unique that you might not see on 
every computer out there.


Integer Sequences database located here:
fetch http://www.research.att.com/~njas/sequences/stripped.gz

Put some real previous work back to work!. ;)

sed  awk that file to your liking to change commas spaces or such around so 
it can be spilled out to a terminal then toil the end result with the 
something like the following.


# For bourne style shells.
for line in `zcat stripped.gz`; do echo $line  sleep .09 ;done

The above command on that file will show you the reason why some awk'ing 
might be needed but that's up to you.


Best of luck.





For extra added effect make things a little bit larger.
xterm -fn 12x24 -geometry 80x30+0+0 -bw 0 -T Your favorite title here.

--

 Wed Oct 28 23:10:31 2009 -0500

 jhell
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Bind Sendmail to an IP address

2009-10-28 Thread Giorgos Keramidas
On Wed, 28 Oct 2009 15:49:15 -0700 (PDT), Aflatoon Aflatooni 
aaflato...@yahoo.com wrote:
 Hi,
 I have a Freebsd 7.2 installation and using Sendmail for the SMTP
 service. This server has two public interfaces and different IP
 addresses.

 I need to have sendmail configured so that the outbound emails are
 sent using a certain IP address (SPF rules).  I have tried the
 following without any success:

 DAEMON_OPTIONS(`Addr=x.y.z.i')dnl
  
 Any help or suggestions would be greatly appriciated.

When Sendmail relays messages to another server it acts as the `client'
for that server.  So you have to use CLIENT_OPTIONS() instead of the
DAEMON_OPTIONS() you are using now:

CLIENT_OPTIONS(`Addr=a.b.c.d')dnl

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


Re: flashplugin

2009-10-28 Thread RW
On Mon, 26 Oct 2009 20:04:24 +
Freminlins freminl...@gmail.com wrote:


 I must admit I gave up ever getting Flash to work RELIABLY on FreeBSD
 a long time ago. It's just too hard, too much work, and not worth the
 misery of installing heaps of crud just to get a flipping browser
 plugin working unreliably.

Some time ago I installed the windows version of Firefox and Flash
under wine  and I've found it pretty reliable. I don't use it all the
time just on the small number of sites where flash is essential.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Multiple PostgreSQL 8.4 instances in FreeBSD 8.0 RC2 Jails

2009-10-28 Thread Sam Fourman Jr.
Hello List,

I want to setup 5 postgreSQL 8.4 servers in separate jails on a amd64
FreeBSD 8.0 RC2 machine
while searching the web for someone that has done this before I found this:

my question is this... is this still relevant on FreeBSD 8.0
RC2(amd64) and postgreSQL 8.4


The following was taken from this link
http://www.opensubscriber.com/message/freebsd-sta...@freebsd.org/1244846.html

Marc G. Fournier scra...@hub writes:
 You've all lost me here ... what exactly is the problem?

You can't run multiple instances of PostgreSQL on the same machine
(even in chroot or jail, even without TCP/IP support) without changing
the port number in postgresql.conf.  PostgreSQL creates shared memory
segments with keys based on the port number, so separate instances
will try to create and use the same segments if configured to use the
same port number.

   PostgreSQL
 works under FreeBSD 4.x jails without any modifications, so how is
 PostgreSQL itself currently broken?  It seems to me that the problem
 is with FreeBSD 5.x's jail side of things, if the same daemon runs
 fine under 4.x, but, nto under 5.x ...

PostgreSQL has always had this problem, both on 4.x and 5.x.  A hack
was put in place last November to work around it, but it still exists,
and while it may now be possible (with 8.0) for multiple postmasters
to run on the same machine, it is also still possible for malicious
code in one jail to crash postmasters in other jails.

The underlying problem is that FreeBSD does not have separate SHM
namespaces in each jail, but, as has already been pointed out, that
problem is fairly hard to fix.  Patching PostgreSQL to use something
else than SysV shared memory is easier and will benefit other OSes as
well.

DES



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 freebsd-questions-unsubscr...@freebsd.org


Re: [OT] Show nice columns of numers

2009-10-28 Thread Gary Gatten
How but some ascii art that animates Beastie walking across the screen or 
something? A little creativity?

- Original Message -
From: owner-freebsd-questi...@freebsd.org owner-freebsd-questi...@freebsd.org
To: jhell jh...@dataix.net
Cc: Bertram Scharpf li...@bertram-scharpf.de; freebsd-questions@freebsd.org 
freebsd-questions@freebsd.org
Sent: Wed Oct 28 22:14:09 2009
Subject: Re: [OT] Show nice columns of numers


On Wed, 28 Oct 2009 23:03, jhell@ wrote:

 On Wed, 28 Oct 2009 18:32, lists@ wrote:
 Hi,
 
 
 my company is going to shoot a TV spot that will show me at work.
 The first thing my desktop will contain is some BSD/FreeBSD logo.
 
 As it will be a movie, not a photograph, I would like to have huge
 columns of numbers running over the screen or at least one window.
 Does somebody know a programm that produces such nice output?
 
 Thanks in advance.
 
 Bertram
 
 
 


 Nice output so far. I like seeing all these examples Polytropon's to be 
 specific.

 Here is another one for you that is a little unique that you might not see on 
 every computer out there.

 Integer Sequences database located here:
 fetch http://www.research.att.com/~njas/sequences/stripped.gz

 Put some real previous work back to work!. ;)

 sed  awk that file to your liking to change commas spaces or such around so 
 it can be spilled out to a terminal then toil the end result with the 
 something like the following.

 # For bourne style shells.
 for line in `zcat stripped.gz`; do echo $line  sleep .09 ;done

 The above command on that file will show you the reason why some awk'ing 
 might be needed but that's up to you.

 Best of luck.




For extra added effect make things a little bit larger.
xterm -fn 12x24 -geometry 80x30+0+0 -bw 0 -T Your favorite title here.

-- 

  Wed Oct 28 23:10:31 2009 -0500

  jhell
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org





font size=1
div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 
1.0pt 0in'
/div
This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system.
/font

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

Re: win 7 dual boot

2009-10-28 Thread jhell


On Tue, 27 Oct 2009 22:11, aryeh.friedman@ wrote:
I am about to go out and buy windows 7 to replace my vista partition... when 
I installed vista I had to  do some  boot manager tricks (both before and 
after install)... namely I had to allow windows to nuke my mbr then use 
EasyBCD to remake it in such a way that vista would still find it's magic 
bytes in the mbr... does anyone know if win 7 has any similar issues and/or 
any other weirdness in reguards to dual booting?


Completely side question I use sysutils/fusefs-ntfs to mount my vista 
partition do I need to change anything in my /etc/rc.d/* hierachy and/or 
/etc/fstab  after installing win 7 (I use a direct call to ntfs-3g instead of 
via the mount patch [which doesn't work on 8.0-XXX it seems {I am on RC2 
right now}]?

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




You could attempt some trickery with grub if you have the option of 
using it and if you are installing Win/7 to its own drive. Here is the 
specs.


Install FreeBSD on your first drive ;) the way it should be...

Install GRUB from ports or packages whatever you prefer.

Edit your menu.lst file to contain something like:
title  WINDO~7 ;)
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0) (hd0,0)
chainloader +1

Now reboot into your bios and turn off your FreeBSD drive and your 
secondary drive should remain and to Windows 7 as long as it is staying 
along the same lines as Windows XP will just accept your secondary as your 
primary drive C: and just install its MBR to that drive.


After your done reboot into your BIOS turn your FreeBSD drive back on.

Tada! you now have a bootable system where grub swaps your drives around 
for you and confuses Windows 7 into thinking its the primary C: drive and 
you can upgrade without touching the first disks MBR.


I have this setup running on the machine I am writing this email from and 
for fail-over sake if my FreeBSD disk takes a hike windows will pick right 
back up without even noticing the first disk being gone. I have also 
disabled my FreeBSD disk in windows devices just to be sure that nothing 
happens to it as a cause of windows.


Anyway... Hope this gives you just another option to consider.

Best of luck.

--

 Wed Oct 28 23:33:49 2009 -0500

 jhell
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: breakthru, maybe....

2009-10-28 Thread Gary Kline
On Wed, Oct 28, 2009 at 04:44:42PM -0700, Kurt Buff wrote:
 On Wed, Oct 28, 2009 at 16:08, Gary Kline kl...@thought.org wrote:
  On Wed, Oct 28, 2009 at 11:02:37PM +0100, Polytropon wrote:
  On Wed, 28 Oct 2009 14:48:46 -0700, Gary Kline kl...@thought.org wrote:
       so: what is the URL to download the 8.0-PRE freebsd?
 
  ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/8.0/
  ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/ISO-IMAGES/8.0/
 
         wait, i thought the duo core is 64bits.  still 32?
 
 This:
 
 ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/ISO-IMAGES/8.0/
 
 is indeed 64bit.



Yes! but i bought the *Intel* 2-duo-core or whatever; not the
AMD (aDvanced micro Devices) chip.  Are these both bit by bit
== ??  i mean, exactly--software-wise, the same??

thanks.

gary

ps i knew the amd was an intel clone on the 32-bit level; not
sure about the 64-bit chips... .


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

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.31a release of Jottings: http://jottings.thought.org/index.php

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


Re: [OT] Show nice columns of numers

2009-10-28 Thread jhell


On Wed, 28 Oct 2009 23:37, Ggatten@ wrote:

How but some ascii art that animates Beastie walking across the screen or 
something? A little creativity?

- Original Message -
From: owner-freebsd-questi...@freebsd.org owner-freebsd-questi...@freebsd.org
To: jhell jh...@dataix.net
Cc: Bertram Scharpf li...@bertram-scharpf.de; freebsd-questions@freebsd.org 
freebsd-questions@freebsd.org
Sent: Wed Oct 28 22:14:09 2009
Subject: Re: [OT] Show nice columns of numers


On Wed, 28 Oct 2009 23:03, jhell@ wrote:


On Wed, 28 Oct 2009 18:32, lists@ wrote:

Hi,


my company is going to shoot a TV spot that will show me at work.
The first thing my desktop will contain is some BSD/FreeBSD logo.

As it will be a movie, not a photograph, I would like to have huge
columns of numbers running over the screen or at least one window.
Does somebody know a programm that produces such nice output?

Thanks in advance.

Bertram






Nice output so far. I like seeing all these examples Polytropon's to be
specific.

Here is another one for you that is a little unique that you might not see on
every computer out there.

Integer Sequences database located here:
fetch http://www.research.att.com/~njas/sequences/stripped.gz

Put some real previous work back to work!. ;)

sed  awk that file to your liking to change commas spaces or such around so
it can be spilled out to a terminal then toil the end result with the
something like the following.

# For bourne style shells.
for line in `zcat stripped.gz`; do echo $line  sleep .09 ;done

The above command on that file will show you the reason why some awk'ing
might be needed but that's up to you.

Best of luck.





For extra added effect make things a little bit larger.
xterm -fn 12x24 -geometry 80x30+0+0 -bw 0 -T Your favorite title here.




Load up logo_saver.ko on a VM, record the output with XVidCap on the 
hosting machine  play it back with mplayer -vo aa. ;) loop until happy.



--

 Thu Oct 29 00:17:03 2009 -0500

 jhell
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Multiple PostgreSQL 8.4 instances in FreeBSD 8.0 RC2 Jails

2009-10-28 Thread Uwe Laverenz

Sam Fourman Jr. schrieb:


I want to setup 5 postgreSQL 8.4 servers in separate jails on a amd64
FreeBSD 8.0 RC2 machine
while searching the web for someone that has done this before I found this:

my question is this... is this still relevant on FreeBSD 8.0
RC2(amd64) and postgreSQL 8.4


There seems to be a problem if postgres is running with the same user id 
in all jails. Dan Langille got it running a while ago. Please have a 
look at his (great) site:


http://www.freebsddiary.org/jail-multiple.php


Uwe
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: breakthru, maybe....

2009-10-28 Thread Giorgos Keramidas
On Wed, 28 Oct 2009 21:00:57 -0700, Gary Kline kl...@thought.org wrote:
 On Wed, Oct 28, 2009 at 04:44:42PM -0700, Kurt Buff wrote:
 ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/ISO-IMAGES/8.0/

 Yes! but i bought the *Intel* 2-duo-core or whatever; not the AMD
 (aDvanced micro Devices) chip.  Are these both bit by bit == ??  i
 mean, exactly--software-wise, the same??

That's ok.  Kurt is right.  You can use the amd64 release on Intel Core2
Duo CPUs too.

I believe this Wikipedia page will help a bit:

http://en.wikipedia.org/wiki/X86-64

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


Re: lang/gcc43 and lang/gcc44 installation procedures broken after updates

2009-10-28 Thread Scott Bennett
 On Wed, 28 Oct 2009 09:19:08 + b. f. bf1...@googlemail.com
wrote:
On 10/28/09, Scott Bennett benn...@cs.niu.edu wrote:
  On Tue, 27 Oct 2009 11:28:51 + b. f. bf1...@googlemail.com
 wrote:
Scott Bennet wrote:
...

  With one exception, I do not alter the
 contents of the ports tree manually.
...
 I have not made alterations to any ports in the ports tree by hand.  Any
 changes that may have occurred would have to have happened during runs of
 portmaster, portupgrade, or make(1) (as in make deinstall  make
 reinstall
...
 I resorted to a portsnap fetch extract in case something
 in my ports tree *had* gotten screwed up somehow.

Right, I wasn't suggesting it was necessarily due to local changes to
the Ports tree, although on the face of it that was possible, but that
it may also have failed because, once in a while, binaries and other
files belonging to the base system or ports get corrupted, and
malfunction.  This is usually due to hardware problems, user error,
and occasionally, an OS or third-party software bug.  The lang/gcc4?
ports are lengthy and demanding builds, and are among the most likely
to fail if such problems exist.

 Yes, they are heavy-duty constructions.  perl also tends to be huge
and complex.

...
  The only change I made was indicated by a comment that showed where
 a lot of lines were deleted.  If you really want all that junk, which
 contained no error messages, I do still have it and can send it to you.
 Nothing was rearranged into a different order, however.

You may want to save it, so that it will be available if anyone
decides to try to track down  the problem.

 I'll hang onto it for a while, but will eventually get rid of it
if no one wants it before I get around to deleting it in a few weeks
or so.

  I do not have MAKEFLAGS set when running portmaster or portupgrade.
 If a particular port decides internally to run a parallel make, it appears
 to do it as -j2.  It appears that the lang/gcc?? ports work this way, too.


If parallel builds are not disabled in a port Makefile, or by you, and
you have a multiple-cpu or multiple-core machine, then
ports/Mk/bsd.port.mk uses:


# Multiple make jobs support
.if defined(DISABLE_MAKE_JOBS) || defined(MAKE_JOBS_UNSAFE)
_MAKE_JOBS= #
.else
.if defined(MAKE_JOBS_SAFE) || defined(FORCE_MAKE_JOBS)
MAKE_JOBS_NUMBER?=  `${SYSCTL} -n kern.smp.cpus`
_MAKE_JOBS= -j${MAKE_JOBS_NUMBER}

 I figured it must do something of the sort.  The CPU is an old 3.4 GHz
P4 Prescott, so it has two logical processors, so MAKE_JOBS_NUMBER gets set
to 2.  Given the handbook recommendations and my own observations, it seems
to me that the above method should actually multiply the value of
kern.smp.cpus by at least 2.5 for best performance.  For CPUs on separate
cores, 3 is the recommended multiplier, but where HTT logical CPUs are
involved a multiplier somewhat lower than that is in order.  On the Prescott
chips, 2.5 seems to work very well, so when I set MAKEFLAGS myself, I set
it to 5, which is 2.5 * kern.smp.scpus.

.if defined(FORCE_MAKE_JOBS)
BUILD_FAIL_MESSAGE+=You have chosen to use multiple make jobs
(parallelization) for all ports.  This port was not tested for this
setting.  Please remove FORCE_MAKE_JOBS and retry the build before
reporting the failure to the maintainer.
.endif
.endif
.endif

to do a parallel build.  Since this feature is relatively new, and
people are occasionally finding that it breaks port builds, then it is
an obvious thing to try disabling in a case like this, where you have
a demanding build, and some evidence that things are being done out of
the proper order.  In the future, you can disable this feature for a
build by setting DISABLE_MAKE_JOBS=yes on the make command line, in
the build environment, or in /etc/make.conf, e.g.:

.if${.CURDIR:M*/usr/ports/lang/gcc44*}
DISABLE_MAKE_JOBS=yes
.endif


  portmaster long since created a backup package and deinstalled the
 ports in question.

Ok.  I don't use portmaster often, but portupgrade will often restore
an old installation of the port from the backup package automatically
after a failure.

...

  I cannot begin to imagine why
 it worked this way, but refused to work under portmaster or portupgrade.

Occasionally a port exposes a bug in portmaster or portupgrade.  This
may be such a case, especially since Doug Barton made some recent
changes to portmaster.  But the most common reason for failure is that
many ports, to enable easy maintenance, use sloppy flags like
LDFLAGS=-L${LOCALBASE}/lib or CPPFLAGS=-I${LOCALBASE}/include, that
may lead them to link against the older, already installed versions of
themselves, or to include old versions of their own headers if they
are present in the system.  So it's always safer to deinstall a port
_before_ attempting to build it, or to build the port in a clean
sandbox as is done on many package-building clusters.  portmaster and
portupgrade choose not to do this, in 

Re: Why is sendmail is part of the system and not a package?

2009-10-28 Thread Frank Shute
On Wed, Oct 28, 2009 at 05:11:54PM -0200, Gonzalo Nemmi wrote:

 On Wednesday 28 October 2009 12:14:17 am Frank Shute wrote:
  On Tue, Oct 27, 2009 at 08:45:59PM -0200, Gonzalo Nemmi wrote:
   On Tuesday 27 October 2009 7:31:34 pm Jerry McAllister wrote:
 
  [snippage]
 
So, that leaves personal preference as the only real reason
for wanting to replace it.
  
   Let me get this straight .. that means that  every Linux distro,
   NetBSD, OpenBSD and DragonFlyBSD are all doing it just out of
   personal preference?
 
  I'll speculate as to the reasons:
 
 Come on .. there was no need to speculate .. you have the whole internet 
 at your finger tips  ;)

Heh, I forgot about google ;)

 
  NetBSD: probably wanted something smaller footprint-wise.
 
  OpenBSD: wanted something more secure.
 
 No, not really ...
 
 OpenBSD:
 A few months ago, I had to dive into the configuration of sendmail to 
 make a very small change. It turns out I spent almost an hour trying to 
 make sense out of a maze of files that were plain unreadable. Even the 
 slightest changes would cause me to stand a couple minutes thinking, 
 just trying to make sure I really wanted to make that change. ...
 
 You'll find whole thing here:
 http://undeadly.org/cgi?action=articlesid=20081112084647
 
  Dragonfly: started afresh, so could replace it without many
  headaches.
 
 By all means no .. not at all .. they didn't even started afresh ..
 Anyways ..
 You'll find the reasons here:
 http://leaf.dragonflybsd.org/mailarchive/kernel/2007-03/msg00060.html
 
 Hey,
  again and again people are complaining about why sendmail is in base 
 and why not postfix, etc. We keep saying that we do need a mail 
 delivery/transport agent, for stuff such as periodic, cron, etc.
 But that doesn't mean that we need sendmail. Actually a much simpler 
 mailer would do: one that just delivers locally (and if possible, 
 remote) and does nothing else. ... 
 
 and here:
 http://leaf.dragonflybsd.org/mailarchive/submit/2008-02/msg0.html
 
 Hi,
 corecode@ announced his DragonFly mail agent in [1] as a small, simple
 and clean implementation of a mailer in the base.  The goal of dma was 
 not to replace a feature complete MTA like sendmail or postfix.  The 
 basic intention was to be able to deliver mails from cron, periodic etc 
 to local users. I enhanced dma and added remote delivery and some other 
 features needed for works-out-of-the-box and to keep users happy :)  
 The list of all features follows: ...
 
 Yet still, DragonFlyBSD as well as OpenBSD are in the procces of fully 
 moving to their respective mailers, unlike NetBSD which already moved 
 to Postfix.
 
  RedHat: poor package management made it a pain to upgrade.
 
 That only accounts for only one distribution and I really don't know 
 what you mean with package management because they have a lot of 
 them ... 

I'm aiming at RPM. RedHat used to use Sendmail; I think Debian uses
Exim but uses apt. Don't know about Suse.

My main point though was that all of them had reasons to dump
Sendmail.

 
  FreeBSD: ?
 
  I can't think of a good reason why FreeBSD should get rid of it.
 
  Saying that, it would be neat if it was taken out of base and
  replaced with something minimal that could cope with the demands of
  cron and not much else. Then the user is expected to install a MTA of
  their choice out of ports.
 
  That would mean less code in base and fewer security advisories.
 
 Yup .. I fully agree with you ... I just cancelled my freebsdmall.com 
 FreeBSD suscription in order to use that money to buy OpenBSD 
 releases .. so my money gets used to finance the development of 
 OpenSMTP and other milestone technologies.
 They've earned it :)

Thanks for the informative post Gonzalo.

I like the look of the Dragonfly approach (although I don't use it).

Perhaps in FreeBSD 10* somebody might work to incorporate one or the
other (DMA or OpenSMTP) and strip out Sendmail and leave it in ports
where it belongs.

I can see that having real benefits in licensing, footprint and
usability.

 
jerry
 
 Best Regards
 Gonzalo Nemmi

Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html


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