Re: Obtener FreeBSD

2005-02-02 Thread Tim Erlin
No se si este es lo que quiere ud.
http://www.freebsd.org/es/index.html
Este es el handbook en Espanol:
http://www.freebsd.org/doc/es_ES.ISO8859-1/books/handbook/
--Tim
carlonchoboy wrote:
Hola, quisiera que me mandaran un link desde donde pueda descargar una
imagen de el sistema operativo freeBSD en español. Gracias
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

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


FreeBSD 5.3 and sshd

2005-02-02 Thread Irina
Hello at FreeBSD list.

I have installed FreeBSD 5.3, have not upgraded to STABLE yet.  During the 
installation I created a user account that is in the wheel group.  After the 
installation, logged in as that user at console with no problems.  But can not 
login using putty from my computer via ssh.  Then enabled telnet in inetd.conf 
and could telnet just fine.

I also noticed that I CAN ssh as that user from one of other servers (FreeBSD 
5.1).

Please help, I am not sure where to look.

Thank you for your help in advance.

Irina

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


Re: FreeBSD 5.3 and sshd

2005-02-02 Thread Jon Krause

From: Irina

Hello at FreeBSD list.

I have installed FreeBSD 5.3, have not upgraded to STABLE yet.  During the
installation I created a user account that is in the wheel group.  After
the installation, logged in as that user at console with no problems.  But
can not login using putty from my computer via ssh.  Then enabled telnet in
inetd.conf and could telnet just fine.

I also noticed that I CAN ssh as that user from one of other servers
(FreeBSD 5.1).

Please help, I am not sure where to look.

Thank you for your help in advance.

Irina


What version of PuTTY are you using?
Pre (Version 0.56) has known problems with ssh2, try updating your version
of PuTTY.

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

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


gtar failing, please help!

2005-02-02 Thread Kevin A. Pieckiel
I have some backup scripts that manipulate a tape library and tape
drive to perform my nightly backups.  Ever since the switch from
gtar to bsdtar in the base system, gtar fails to write any data
to my tape and usually puts my SCSI bus in an unusable state.  I
must then issue a camcontrol reset command to free up the tape
drive for use.

Unfortunately, I can't use dump or bsdtar because my data spans
multiple tapes.  Now I'm stuck without any backup solution because
bsdtar/dump don't have the features I need, and gtar no longer
writes to my tapes.  (I understand that dump will support multi-
tape archives, but the provision is with user intervension.  I'm
not going to wake up at 0-dark-30 on Sunday mornings to manually
tell my tape library to switch tapes!)

What broke gtar?  How do I fix it?  Please help!

Below, you'll find some system info including program versions
and exact commands I'm using to replicate the problem.  In the
second section, you'll see that bsdtar works great.  Too bad it
doesn't allow multi-tape archives!  The third section shows the
failing gtar (it does this on all versions installed) and how it
locks up my tape drive until I reset the SCSI bus.

What other info might you need to help me fix this?

Thanks!

- 8 -

# uname -a
FreeBSD hr-stc-file2.smartrafficenter.net 5.3-STABLE FreeBSD 5.3-STABLE #4: Thu 
Jan 13 19:07:12 EST 2005 [EMAIL 
PROTECTED]:/usr/obj/usr/src/sys/HR-STC-FILE2  i386

# which gtar
/usr/bin/gtar

# gtar --version
tar (GNU tar) 1.13.25
Copyright (C) 2001 Free Software Foundation, Inc.
This program comes with NO WARRANTY, to the extent permitted by law.
You may redistribute it under the terms of the GNU General Public License;
see the file named COPYING for details.
Written by John Gilmore and Jay Fenlason.

# /usr/local/bin/gtar --version
tar (GNU tar) 1.15.1

# tar --version
bsdtar 1.01.011, libarchive 1.01.013
Copyright (C) 2003-2004 Tim Kientzle

# camcontrol inquiry 2:1:0
pass2: EXABYTE Mammoth2 v07w Removable Sequential Access SCSI-2 device 
pass2: Serial Number 0062016715
pass2: 80.000MB/s transfers (40.000MHz, offset 31, 16bit)

# camcontrol inquiry 2:0:0 
pass1: EXABYTE Exabyte 430 3.2 Removable Changer SCSI-2 device 
pass1: Serial Number 67500160  
pass1: 3.300MB/s transfers 

- 8 -

# tar -cvf /dev/nsa0 -b 128 --preserve --totals *
a root
a root/.snap
a root/.snap/backup.snap
a root/dev
a root/tmp
a root/usr
a root/var
a root/stand
a root/stand/etc
a root/stand/etc/defaults
a root/stand/etc/defaults/rc.conf
a root/stand/etc/netconfig
a root/stand/etc/protocols
a root/stand/etc/services
a root/stand/etc/group
a root/stand/help
a root/stand/help/COPYRIGHT.hlp
a root/stand/help/README.TXT
a root/stand/help/ERRATA.TXT
a root/stand/help/anonftp.hlp
a root/stand/help/EARLY.TXT
a root/stand/help/tcp.hlp
a root/stand/help/RELNOTES.TXT
a root/stand/help/HARDWARE.TXT
a root/stand/help/INSTALL.TXT
a root/stand/help/configure.hlp
...

- 8 -

# gtar -cvf /dev/nsa0 -b 128 --preserve --totals *   
root/
root/.snap/
root/.snap/backup.snap
root/dev/
root/tmp/
root/usr/
root/var/
root/stand/
root/stand/etc/
root/stand/etc/defaults/
root/stand/etc/defaults/rc.conf
root/stand/etc/netconfig
root/stand/etc/protocols
root/stand/etc/services
root/stand/etc/group
root/stand/help/
root/stand/help/COPYRIGHT.hlp
root/stand/help/README.TXT
root/stand/help/ERRATA.TXT
root/stand/help/anonftp.hlp
root/stand/help/EARLY.TXT
Total bytes written: 0 (0B, 0B/s)
gtar: /dev/nsa0: Wrote only 0 of 65536 bytes
gtar: Error is not recoverable: exiting now

# mt errstat
mt: /dev/nsa0: Invalid argument
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


port entry error

2005-02-02 Thread Steven Friedrich
After cvsupping, I do a portsdb -Uu, but I get warnings about duplicate 
entries, and today, I got a Not in due form.

What's the cure(s)?


Shutting down connection to server
Finished successfully
[EMAIL PROTECTED](p2)/usr/src 160% portsdb -Uu
Updating the ports index ... Generating INDEX.tmp - please wait..Warning: 
Duplicate INDEX entry: freeciv-gtk2-1.14.2
Warning: Duplicate INDEX entry: fvwm-imlib-2.4.19
 Done.
done
[Updating the portsdb format:bdb1_btree in /usr/ports ... - 12325 port 
entriesfound ./usr/ports/INDEX:518:aureal-kmod-1.3_4.1: 1.3_4.1: Not in 
due form: 'version[_revision][,epoch]'.

For the form problem, isn't the last period supposed to be a comma?
i.e., aureal-kmod-1.3_4.1 should be aureal-kmod-1.3_4,1 ??
-- 
i386 FreeBSD 4.11-STABLE
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.3 and sshd

2005-02-02 Thread Richard Cotrina

sshd is disabled by default in FreeBSD 5.3, enable it by hand:

# /etc/rc.d/sshd start

Then, If you want it to be started at boot time, add the following line to
/etc/rc.conf :

sshd_enable=YES

HTH

On Wed, 2 Feb 2005, Irina wrote:

 Hello at FreeBSD list.

 I have installed FreeBSD 5.3, have not upgraded to STABLE yet.  During the 
 installation I created a user account that is in the wheel group.  After 
 the installation, logged in as that user at console with no problems.  But 
 can not login using putty from my computer via ssh.  Then enabled telnet in 
 inetd.conf and could telnet just fine.

 I also noticed that I CAN ssh as that user from one of other servers (FreeBSD 
 5.1).

 Please help, I am not sure where to look.

 Thank you for your help in advance.

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


Java 1.5 and FreeBSD 5.3

2005-02-02 Thread Brian John
Is it possible at all to get Java 1.5 running on FreeBSD 5.3?  If so, how
can I do it?

Thanks

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


Re: Java 1.5 and FreeBSD 5.3

2005-02-02 Thread Chris Hodgins
Brian John wrote:
Is it possible at all to get Java 1.5 running on FreeBSD 5.3?  If so, how
can I do it?
Thanks
/Brian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
There is a jdk1.5 port currently but it is currently an alpha release so 
might be buggy.  If you don't need it for a production environment you 
should check it out.  If you have any problems with it let the java list 
know. :)

The port:
/usr/ports/java/jdk15
The mailing list:
[EMAIL PROTECTED]
Enjoy
Chris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.3 and sshd

2005-02-02 Thread Irina
Hello Richard,

I have enabled ssh on a command line, then through inetd.  Nothing worked.
But...

There was another answer from Jon to me right before yours.  He suggested to
upgrade putty.  I had 0.51.  Upgrading to 0.56 worked.

Who would think about putty?...  I did not :-)

Thank you.

Irina
=


- Original Message - 
From: Richard Cotrina [EMAIL PROTECTED]
To: Irina [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Wednesday, February 02, 2005 2:13 PM
Subject: Re: FreeBSD 5.3 and sshd



 sshd is disabled by default in FreeBSD 5.3, enable it by hand:

 # /etc/rc.d/sshd start

 Then, If you want it to be started at boot time, add the following line to
 /etc/rc.conf :

 sshd_enable=YES

 HTH

 On Wed, 2 Feb 2005, Irina wrote:

  Hello at FreeBSD list.
 
  I have installed FreeBSD 5.3, have not upgraded to STABLE yet.  During
the installation I created a user account that is in the wheel group.
After the installation, logged in as that user at console with no problems.
But can not login using putty from my computer via ssh.  Then enabled telnet
in inetd.conf and could telnet just fine.
 
  I also noticed that I CAN ssh as that user from one of other servers
(FreeBSD 5.1).
 
  Please help, I am not sure where to look.
 
  Thank you for your help in advance.
 
  Irina


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


log file creation - automatically

2005-02-02 Thread Jim Pazarena
I just placed my first 5.3 machine on line (previously 4.9)
I am seeing every day two files being created:
logloopstats
lograwstats
and then a date stamp for EVERY day previous:
logloopstats.20050128
logloopstats.20050129
lograwstats.20050128
logrtawstats.20050129
etc
can someone enlighten me?
Thanks Jim
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gtar failing, please help!

2005-02-02 Thread Kevin A. Pieckiel
On Wed, Feb 02, 2005 at 02:03:45PM -0500, Kevin A. Pieckiel wrote:
 I have some backup scripts that manipulate a tape library and tape
 drive to perform my nightly backups.  Ever since the switch from
 gtar to bsdtar in the base system, gtar fails to write any data
 to my tape and usually puts my SCSI bus in an unusable state.  I
 must then issue a camcontrol reset command to free up the tape
 drive for use.

Just for grins, I tried playing with dump.  Dump fails as well:

# dump -0 -a -b 64 -C 32 -f /dev/nsa0 -n -u -L /
  DUMP: Date of this level 0 dump: Wed Feb  2 14:27:05 2005
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping snapshot of /dev/amrd0s1a (/) to /dev/nsa0
  DUMP: mapping (Pass I) [regular files]
  DUMP: Cache 32 MB, blocksize = 65536
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 176863 tape blocks.
  DUMP: dumping (Pass III) [directories]
  DUMP: write error 64 blocks into volume 1
   
Broadcast Message from [EMAIL PROTECTED] 
(/dev/ttyp0) at 14:27 EST...   
   
Message from the dump program to all operators  
   
DUMP: NEEDS ATTENTION: write error 64 blocks into volume 1 
DUMP WRITE ERROR!  
   
  DUMP: Do you want to restart?: (yes or no)

I just don't know what to do.  I'm half tempted to use Windows for
the fileserver at this point.  I *need* working backups!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Java 1.5 and FreeBSD 5.3

2005-02-02 Thread Chuck Swiger
Brian John wrote:
Is it possible at all to get Java 1.5 running on FreeBSD 5.3?  If so, how
can I do it?
cd /usr/ports/java/jdk15
make install
Be prepared to register with Sun and download the Java files manually, 
unfortunately.

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


Getting a microphone to work

2005-02-02 Thread Joachim Dagerot

I have an old Dell Cpt 550 laptop where I run freeSBIE.

Although I'm rather experienced with freeBSD I have never really have worked 
with the client-side part of it, so I don't know much of X or any other client 
side software (kde, gnome or whatever they are called is the same)

I'm king of ssh so to say!

Now, I want to have the integrated microphone up and running. I also want to 
'teach' the computer a few phrases (3-4 or so) and have it interact with a 
software when it hears the phrase.

Where do I start? Please point me to drivers, test software, guides or where to 
download that wonderful VoiceControlYouImageViewer.gz that you have laying 
around.

Any tip is welcome, imagine I know nothing about this!



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


Re: distrubuting distro

2005-02-02 Thread Chuck Swiger
Erik Trulsson wrote:
On Wed, Feb 02, 2005 at 07:00:57AM -0600, Nikolas Britton wrote:
as long as he keeps the BSD copyright notices in 
there etc he can do anything he wants with it, ANYTHING! For example the 
Windows NT network stack was ripped from OpenBSD et. al.
It has been widely alleged (and is even likely) that Windows got large
parts of the TCP/IP implementation from some BSD implementation, but so
far no proof has appeared.
Microsoft's copyright gives credit to BSD and even to specific FreeBSD 
developers.  Luigi Rizzo wrote IPFW, which is being used as the standard 
packet filtering firewall in MacOS X as well as in newer flavors of Windows.

http://www.microsoft.com/technet/prodtechnol/windowsserver2003/proddocs/standard/copyright.asp
Acknowledgements
Portions of this product are based in part on the work of Mark H. Colburn and 
sponsored by the USENIX Association. Copyright © 1989 Mark H. Colburn. All 
rights reserved.

This product includes software developed by the University of California, 
Berkeley and its contributors.

Portions of this product are based in part on the work of the Regents of the 
University of California, Berkeley and its contributors. Because Microsoft has 
included the Regents of the University of California, Berkeley, software in 
this product, Microsoft is required to include the following text that 
accompanied such software:

Copyright © 1985, 1988 Regents of the University of California. All rights 
reserved.
[ ... ]
Portions of this software are based in part on the work of Luigi Rizzo. 
Because Microsoft has included the Luigi Rizzo software in this product, 
Microsoft is required to include the following text that accompanied such 
software:

© 1997-98 Luigi Rizzo ([EMAIL PROTECTED])
-
As someone else said, you can also find strings in telnet.exe and other 
utilities which include RCS information and/or copyrights from BSD.

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


Re: MySql Load balancing Solutions?

2005-02-02 Thread Drumslayer

--- Technical Director [EMAIL PROTECTED] wrote:

 
 Drumslayer,
 
 I am part of a team running MySQL 4.1.X on 5
 machines in a replication
 setup. Our first way to help manage load is the use
 of useful rules in
 our connection classes to direct Writes to our big
 server with fast I/O
 and memory and directing Rreads to our slower I/O
 less RAM slaves only.

 The only problem with this is that 4.1 is stil
considered Beta (not yet ready for production). I
see little chance in convincing managment to utilize
something beta for something so important.  :(
 
 I so far have only seen an alternative from a company
called Emic. But it only runs any OS but freeBSD
sadly. (it modifies the kernel so compat won't do it)

 Have you heard of any hardware solutions or FreeBSD
friendly free or commercial products? I know basic
clustering and such is supposed to be OK but
everything that seems OS agnostic says it's Beta.

 We may wind up doing it this way but right now its a
toss up of a Beta Solution or move to linux with Emic.
Which I'm not fond of becouse its so convoluted and
Well Not BSD :)

 Thanks

 M.


 This one step in itself has done a LOT for keeping
 uptimes high and
 queries fast.
 
 A positive advantage is that the 5 machines allows
 us the opportunity to
 change the configuration if say one fails we can
 promote another slave to
 take that position or in the case of the Write
 server we can promote a
 slave to a Write server until the original Write
 server can be recovered.
 
 As well whether you use C/C++, Java, PHP or some
 other scripting language
 to access your database it shouldn't be too hard to
 write some sort of
 algorithm in your connection to spread the
 connections across your host
 base.
 
 When it comes to management I won't lie, 4.0.XX's
 handling of Replication
 was tough. Since though we've made the move to 4.1.X
 our problems have
 become less and less.
 
 A final advantage to having seperate machines in a
 replication setup is
 the ability to upgrade a segment or machine to a
 newer MySQL version to
 see how it will operate on your hardware/OS and with
 your programs. We did
 this with our move from 4.0.XX to 4.1.X by taking 2
 slaves out of the main
 loop, promoting one to the new 4.1.X master and the
 other slave to a new
 4.1.X slave. After testing in pre-production we
 proceeded with the
 deployment on our other 3 boxes.
 
 INFO: Our 5 machine replication setup consists of:
 
 1) 1 - 4 x P4 Xeon Compaq Server (Write DB Server)
 2) 4 - 1 x P3 Compaq Servers (Read DB Server)
 
 NOTE: On a smaller scale on my home network I do the
 same on three
 machines all sub-server class. I still have great
 reliability and robust
 performance from such a simple design.
 
 I hope this information is helpful, I know it works
 well for us.
 
 Rob.
 
 On Tue, 1 Feb 2005, Drumslayer wrote:
 
  Hi
   I have been running a fairly heavy duty server
 for
  MySQL on FreeBSD but its starting to peak. I would
  like to know what others have done as far as using
 a
  load balancing solution for MySQL or their success
  with replication.
   Also has anyone done a 64 bit build of MySQL on
  FreeBSD successfully?
 
   Thanks!
 
M.
 
 
 
 
 
  __
  Do you Yahoo!?
  The all-new My Yahoo! - What will yours do?
  http://my.yahoo.com
  ___
  freebsd-questions@freebsd.org mailing list
 

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

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





__ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ee editor rules :)

2005-02-02 Thread Xian
On Wednesday 02 February 2005 17:49, Gert Cuykens wrote:
 I like it allot but i cant seem to find out how to type a / character ?

I think this would have more to do with setting up your keyboard (I might be 
wrong). In the meantime, / is ASCII code 47, you can enter this with ^a or ^o 
depending on weather Emacs keys bindings is on or off.

I really like it too. Its a lots easier to get my head round it than vi. I do 
need to work out how to survive it though, because sometime it will be the 
only thing I have available.
Does anyone have an Idiots guide to VI?
-- 
/Xian

The most beautiful thing we can experience is the mysterious. It is the 
source of all true art and all science. He to whom this emotion is a 
stranger, who can no longer pause to wonder and stand rapt in awe, is as good 
as dead: his eyes are closed.
Albert Einstein
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Obtener FreeBSD

2005-02-02 Thread Mike Hauber
On Wednesday 02 February 2005 01:16 pm, carlonchoboy wrote:
 Hola, quisiera que me mandaran un link desde donde pueda
 descargar una imagen de el sistema operativo freeBSD en
 español. Gracias

Asumo que usted desea FreeBSD ISOs para la arquitectura i386...

Para conseguir FreeBSD 4.10, siga:
ftp://ftp1.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/4.10

Para conseguir FreeBSD 5.3, siga:
ftp://ftp1.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/5.3

Para más ayuda, lea por favor el manual:
http://www2.at.freebsd.org/doc/es_ES.ISO8859-1/books/handbook/index.html

¡Buena suerte!

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


Re: MySql Load balancing Solutions?

2005-02-02 Thread Technical Director

Drumslayer,

  The only problem with this is that 4.1 is stil
 considered Beta (not yet ready for production). I
 see little chance in convincing managment to utilize
 something beta for something so important.  :(

Forgive me for being possibly naive but from what I understand 4.1.X moved
off of beta into Generally Available with a This is the current generally
available (GA) release of the MySQL database server. It is recommended for
most users. [ http://dev.mysql.com/downloads/mysql/4.1.html ] Not
necessarily saying it's bomb proof but I don't know if they classify it
as beta anymore.

As well if it means anything to you we would never have moved our
'crticial' services to 4.1.X from 4.0.XX if we didn't believe it was
ready. Our wait time was seemingly forever but appears to have paid off
with the stability and strength of the system.

My 2 cents.

Rob.

On Wed, 2 Feb 2005, Drumslayer wrote:


 --- Technical Director [EMAIL PROTECTED] wrote:

 
  Drumslayer,
 
  I am part of a team running MySQL 4.1.X on 5
  machines in a replication
  setup. Our first way to help manage load is the use
  of useful rules in
  our connection classes to direct Writes to our big
  server with fast I/O
  and memory and directing Rreads to our slower I/O
  less RAM slaves only.


  I so far have only seen an alternative from a company
 called Emic. But it only runs any OS but freeBSD
 sadly. (it modifies the kernel so compat won't do it)

  Have you heard of any hardware solutions or FreeBSD
 friendly free or commercial products? I know basic
 clustering and such is supposed to be OK but
 everything that seems OS agnostic says it's Beta.

  We may wind up doing it this way but right now its a
 toss up of a Beta Solution or move to linux with Emic.
 Which I'm not fond of becouse its so convoluted and
 Well Not BSD :)

  Thanks

  M.


  This one step in itself has done a LOT for keeping
  uptimes high and
  queries fast.
 
  A positive advantage is that the 5 machines allows
  us the opportunity to
  change the configuration if say one fails we can
  promote another slave to
  take that position or in the case of the Write
  server we can promote a
  slave to a Write server until the original Write
  server can be recovered.
 
  As well whether you use C/C++, Java, PHP or some
  other scripting language
  to access your database it shouldn't be too hard to
  write some sort of
  algorithm in your connection to spread the
  connections across your host
  base.
 
  When it comes to management I won't lie, 4.0.XX's
  handling of Replication
  was tough. Since though we've made the move to 4.1.X
  our problems have
  become less and less.
 
  A final advantage to having seperate machines in a
  replication setup is
  the ability to upgrade a segment or machine to a
  newer MySQL version to
  see how it will operate on your hardware/OS and with
  your programs. We did
  this with our move from 4.0.XX to 4.1.X by taking 2
  slaves out of the main
  loop, promoting one to the new 4.1.X master and the
  other slave to a new
  4.1.X slave. After testing in pre-production we
  proceeded with the
  deployment on our other 3 boxes.
 
  INFO: Our 5 machine replication setup consists of:
 
  1) 1 - 4 x P4 Xeon Compaq Server (Write DB Server)
  2) 4 - 1 x P3 Compaq Servers (Read DB Server)
 
  NOTE: On a smaller scale on my home network I do the
  same on three
  machines all sub-server class. I still have great
  reliability and robust
  performance from such a simple design.
 
  I hope this information is helpful, I know it works
  well for us.
 
  Rob.
 
  On Tue, 1 Feb 2005, Drumslayer wrote:
 
   Hi
I have been running a fairly heavy duty server
  for
   MySQL on FreeBSD but its starting to peak. I would
   like to know what others have done as far as using
  a
   load balancing solution for MySQL or their success
   with replication.
Also has anyone done a 64 bit build of MySQL on
   FreeBSD successfully?
  
Thanks!
  
 M.
  
  
  
  
  
   __
   Do you Yahoo!?
   The all-new My Yahoo! - What will yours do?
   http://my.yahoo.com
   ___
   freebsd-questions@freebsd.org mailing list
  
 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to
  [EMAIL PROTECTED]
  
  ___
  freebsd-questions@freebsd.org mailing list
 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 





 __
 Do you Yahoo!?
 Yahoo! Mail - You care about security. So do we.
 http://promotions.yahoo.com/new_mail

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


Re: ee editor rules :)

2005-02-02 Thread tanja pislar
hi,
this is not exactly an idiot's guide to vi, but for a quick look up
of commands it can be useful.
http://www.eng.hawaii.edu/Tutor/vi.html

regards,
tanja


On Wed, 2 Feb 2005 20:23:12 +, Xian [EMAIL PROTECTED] wrote:
 On Wednesday 02 February 2005 17:49, Gert Cuykens wrote:
  I like it allot but i cant seem to find out how to type a / character ?
 
 I think this would have more to do with setting up your keyboard (I might be
 wrong). In the meantime, / is ASCII code 47, you can enter this with ^a or ^o
 depending on weather Emacs keys bindings is on or off.
 
 I really like it too. Its a lots easier to get my head round it than vi. I do
 need to work out how to survive it though, because sometime it will be the
 only thing I have available.
 Does anyone have an Idiots guide to VI?
 --
 /Xian
 
 The most beautiful thing we can experience is the mysterious. It is the
 source of all true art and all science. He to whom this emotion is a
 stranger, who can no longer pause to wonder and stand rapt in awe, is as good
 as dead: his eyes are closed.
 Albert Einstein
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: OT: Funny disclaimers (Was: Re: ssh root@localhost)

2005-02-02 Thread Chuck Swiger
Nico Meijer wrote:
--
By reading this mail you agree to the following:
using or giving out the email address and any 
other info of the author of this email is strictly forbidden.
By acting against this agreement the author of this mail 
will take possible legal actions against the abuse.
Could you please confirm this to be a joke? Thanks.
You cannot be forced into a legally binding contract simply by reading a 
statement, no.  That doesn't mean the author won't try to sue people anyway, 
but even a spammer is unlikely to have anything to worry about unless the 
author is remarkably dedicated to wasting time and money following through.

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


Re: upgrading FreeBSD

2005-02-02 Thread Chuck Swiger
Dick Hoogendijk wrote:
[ ... ]
You're so right ;-)
Main problem (at least to me) is almost everytime *what* is important
data and what is not? I don't mean my personal stuff (that's the easy
part), but more, which control files and (fine) tunings on the running
system do I not want to loose? /etc and /usr/local/etc are very
important data dirs, but what others are too?
You should backup all of your data, and stop worrying about missing something, 
rather than backup only some data and hope not to find out later that you 
didn't backup something you needed.

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


Re: MySql Load balancing Solutions?

2005-02-02 Thread Nick Pavlica
All,
  MySql 4.1 has been the production release since 4.1.7 and are
currently at the 4.1.9 release.  You could look into the seperate
MySql Cluster product, but it is around $5k per cpu last time I
checked.

--Nick


On Wed, 2 Feb 2005 13:28:22 -0700 (MST), Technical Director
[EMAIL PROTECTED] wrote:
 
 Drumslayer,
 
   The only problem with this is that 4.1 is stil
  considered Beta (not yet ready for production). I
  see little chance in convincing managment to utilize
  something beta for something so important.  :(
 
 Forgive me for being possibly naive but from what I understand 4.1.X moved
 off of beta into Generally Available with a This is the current generally
 available (GA) release of the MySQL database server. It is recommended for
 most users. [ http://dev.mysql.com/downloads/mysql/4.1.html ] Not
 necessarily saying it's bomb proof but I don't know if they classify it
 as beta anymore.
 
 As well if it means anything to you we would never have moved our
 'crticial' services to 4.1.X from 4.0.XX if we didn't believe it was
 ready. Our wait time was seemingly forever but appears to have paid off
 with the stability and strength of the system.
 
 My 2 cents.
 
 Rob.
 
 On Wed, 2 Feb 2005, Drumslayer wrote:
 
 
  --- Technical Director [EMAIL PROTECTED] wrote:
 
  
   Drumslayer,
  
   I am part of a team running MySQL 4.1.X on 5
   machines in a replication
   setup. Our first way to help manage load is the use
   of useful rules in
   our connection classes to direct Writes to our big
   server with fast I/O
   and memory and directing Rreads to our slower I/O
   less RAM slaves only.
 
 
   I so far have only seen an alternative from a company
  called Emic. But it only runs any OS but freeBSD
  sadly. (it modifies the kernel so compat won't do it)
 
   Have you heard of any hardware solutions or FreeBSD
  friendly free or commercial products? I know basic
  clustering and such is supposed to be OK but
  everything that seems OS agnostic says it's Beta.
 
   We may wind up doing it this way but right now its a
  toss up of a Beta Solution or move to linux with Emic.
  Which I'm not fond of becouse its so convoluted and
  Well Not BSD :)
 
   Thanks
 
   M.
 
 
   This one step in itself has done a LOT for keeping
   uptimes high and
   queries fast.
  
   A positive advantage is that the 5 machines allows
   us the opportunity to
   change the configuration if say one fails we can
   promote another slave to
   take that position or in the case of the Write
   server we can promote a
   slave to a Write server until the original Write
   server can be recovered.
  
   As well whether you use C/C++, Java, PHP or some
   other scripting language
   to access your database it shouldn't be too hard to
   write some sort of
   algorithm in your connection to spread the
   connections across your host
   base.
  
   When it comes to management I won't lie, 4.0.XX's
   handling of Replication
   was tough. Since though we've made the move to 4.1.X
   our problems have
   become less and less.
  
   A final advantage to having seperate machines in a
   replication setup is
   the ability to upgrade a segment or machine to a
   newer MySQL version to
   see how it will operate on your hardware/OS and with
   your programs. We did
   this with our move from 4.0.XX to 4.1.X by taking 2
   slaves out of the main
   loop, promoting one to the new 4.1.X master and the
   other slave to a new
   4.1.X slave. After testing in pre-production we
   proceeded with the
   deployment on our other 3 boxes.
  
   INFO: Our 5 machine replication setup consists of:
  
   1) 1 - 4 x P4 Xeon Compaq Server (Write DB Server)
   2) 4 - 1 x P3 Compaq Servers (Read DB Server)
  
   NOTE: On a smaller scale on my home network I do the
   same on three
   machines all sub-server class. I still have great
   reliability and robust
   performance from such a simple design.
  
   I hope this information is helpful, I know it works
   well for us.
  
   Rob.
  
   On Tue, 1 Feb 2005, Drumslayer wrote:
  
Hi
 I have been running a fairly heavy duty server
   for
MySQL on FreeBSD but its starting to peak. I would
like to know what others have done as far as using
   a
load balancing solution for MySQL or their success
with replication.
 Also has anyone done a 64 bit build of MySQL on
FreeBSD successfully?
   
 Thanks!
   
  M.
   
   
   
   
   
__
Do you Yahoo!?
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com
___
freebsd-questions@freebsd.org mailing list
   
  
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
   [EMAIL PROTECTED]
   
   ___
   freebsd-questions@freebsd.org mailing list
  
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail 

Re: apache13_modssl + mod_php4 + php4-extenstions + mysql323-* +myphpadmin = ...

2005-02-02 Thread Ken Hawkins

ok a bit of tearing around yields this:

[web1:etc/apache/logs] root# find /usr \* -print | xargs grep -l 
bindtextdomain
grep: /usr/bin/suidperl: No such file or directory
/usr/local/man/man3
/usr/local/man/whatis
/usr/local/lib/perl5/site_perl/5.8.5/mach/auto/Locale/gettext/gettext.so
/usr/local/lib/perl5/site_perl/5.8.5/mach/Locale/gettext.pm
/usr/local/lib/libintl.a
/usr/local/lib/libintl.so

[web1:etc/apache/logs] root# find /usr \* -print | xargs grep -l 
mysql_pconnect
grep: /usr/bin/suidperl: No such file or directory
/usr/local/lib/php/20020429/mysql.so
/usr/local/include/php/ext/mysql/php_mysql.h

where I am failing the functions are there I think that i have hosed my 
php.ini file which the include_path is:

include_path= 
./:/usr/local/lib/php/:/usr/local/share/pear/bootstrap/:/usr/local/www/data/psw/include/:/usr/local/www/data/psw/mods:/usr/local/www/data/mod:/usr/local/www/data/psw/polls/:/usr/local/www/data/polls

; UNIX: /path1:/path2  Windows: \path1;\path2

what should the entries be for this? I take it that the install from a 
port will not overwrite the php.ini file if it is found and this could be 
a hangover from an old install. anyone know what the include_path should 
look like?

any help is greatly appreciated as I am ready to tear it out and go 
again

ken;

On Tue, 1 Feb 2005, Ken Hawkins wrote:

 
 
 On Feb 1, 2005, at 3:42 PM, Ken Hawkins wrote:
 
 
 
  On Feb 1, 2005, at 3:29 PM, Andras Kende wrote:
 
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of Ken Hawkins
  Sent: Tuesday, February 01, 2005 2:16 PM
  To: freebsd-questions@freebsd.org
  Subject: apache13_modssl + mod_php4 + php4-extenstions + mysql323-*
  +myphpadmin = ...
 
  [Tue Feb  1 11:58:29 2005] [error] PHP Fatal error:  Call to undefined
  function:  preg_match() in
  /usr/local/www/phpMyAdmin/libraries/defines.lib.php on line 36
 
 
  I have re-installed the above mentioned ports and everything is up and
  running however from phpmyadmin I am getting the above mentioned error
  when trying to use phpmyadmin from a webpage.
 
  I have seen the various supposed fixes and have tried a few. I do not
  get the =20 after the error and have tried ripping out everything.
  installing php4-pear then apache13-modssl, mysql323-server / client 
  and
  myphpadmin yet i still get this!
 
  can someone please give me the definitive fix for this? is there one?
 
  sorry to sound frustrated, loosing a day tracking this down is no fun
 
  ken;
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  [EMAIL PROTECTED]
 
 
 
  Hello,
 
  Looks like PHP missing the PCRE (Perl Compatible Regular Expressions)
  Support
 
  ?php phpinfo(); ?
  Should have like:
 
  PCRE (Perl Compatible Regular Expressions) Support | enabled
  PCRE Library Version | 4.5 01-December-2003
 
  I have this:
 
  PWD /usr/ports/devel/php4-pcre
  and
  _ENV[PWD] /usr/ports/devel/php4-pcre
 
  but that is it. i have as well installed php4-pcre to now avail ...
 
  any other?
 
  ken;
  Its also here:
  /usr/ports/devel/php4-pcre/
 
 
 
  Best regards,
 
  Andras Kende
  http://www.kende.com
 
 
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  [EMAIL PROTECTED]
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  [EMAIL PROTECTED]
 
 
 not sure if this has something to do with it but when i tried to force 
 an install of php4-pcre i got:
 
 pkg_add: can't open dependency file 
 '/var/db/pkg/apache-1.3.33/+REQUIRED_BY'!
 dependency registration is incomplete
 pkg_add: warning: package 'php4-pcre-4.3.9' requires 'php4-4.3.9', but 
 'php4-4.3.10_2' is installed
 
 this does not seem to be a problem however,
 
 [web1:ports/devel/php4-pcre] root# pkg_info | grep php
 php4-4.3.10_2   PHP Scripting Language (Apache Module and CLI)
 php4-bz2-4.3.10_2   The bz2 shared extension for php
 php4-gd-4.3.10_2The gd shared extension for php
 php4-mysql-4.3.10_2 The mysql shared extension for php
 php4-openssl-4.3.10_2 The openssl shared extension for php
 php4-pcre-4.3.10_2  The pcre shared extension for php
 php4-pcre-4.3.9 The pcre shared extension for php
 php4-pear-4.3.10_2  PEAR framework for PHP
 php4-xml-4.3.10_2   The xml shared extension for php
 php4-zlib-4.3.10_2  The zlib shared extension for php
 phpMyAdmin-2.6.1A set of PHP-scripts to manage MySQL over the web
 
 show 2 pacakges!
 
 php4-pcre-4.3.10_2  The pcre shared extension for php
 php4-pcre-4.3.9 The pcre shared extension for php
 
 is this correct? i have the webserver up on
 
 

Re: OT: Funny disclaimers (Was: Re: ssh root@localhost)

2005-02-02 Thread Nico Meijer
Hey Chuck,

 You cannot be forced into a legally binding contract simply by reading
 a  statement, no.

Thank $DEITY that's still true.

 That doesn't mean the author won't try to sue people anyway, 
 but even a spammer is unlikely to have anything to worry about unless
 the  author is remarkably dedicated to wasting time and money
 following through.

I read that 'agreement' about 20 times before posting. I am definately
not worried about getting sued by him (whose name I am 'legally'
refrained from mentioning here; because, by reading his message, I
obviously agreed not to mention 'he who cannot be mentioned'; I thought
Jahweh had a patent on that...), but I found it to be utterly
incomprehensible.

My first reaction was WTF? This is the stupidest disclaimer I have
*ever* seen.. Then I wondered whether Austrian people have a special
kind of humor. Then, I decided to ask.

Again, sorry for the noise; this time I couldn't resist.

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


Re: MySql Load balancing Solutions?

2005-02-02 Thread Drumslayer

--- Technical Director
[EMAIL PROTECTED] wrote:

 
 Drumslayer,
 
   The only problem with this is that 4.1 is stil
  considered Beta (not yet ready for production).
 I
  see little chance in convincing managment to
 utilize
  something beta for something so important.  :(
 
 Forgive me for being possibly naive but from what I
 understand 4.1.X moved
 off of beta into Generally Available with a This is
 the current generally
 available (GA) release of the MySQL database server.
 It is recommended for
 most users. [
 http://dev.mysql.com/downloads/mysql/4.1.html ] Not
 necessarily saying it's bomb proof but I don't know
 if they classify it
 as beta anymore.

 Sorry I am feeding some of this to our Data Base
Guy and that is what he told me. I should have looked
it up myself. 

 As well if it means anything to you we would never
 have moved our
 'crticial' services to 4.1.X from 4.0.XX if we
 didn't believe it was
 ready. Our wait time was seemingly forever but
 appears to have paid off
 with the stability and strength of the system.

 That's so great to hear. The way things are setup I
manage the Hardware and OS and he does the daily
Database stuff so I tend to defer to him since that's
all he does. But it seems he was in error or out of
date.   Makes me happy :)
  

 Thanks!

 M.


 My 2 cents.
 
 Rob.
 
 On Wed, 2 Feb 2005, Drumslayer wrote:
 
 
  --- Technical Director [EMAIL PROTECTED]
 wrote:
 
  
   Drumslayer,
  
   I am part of a team running MySQL 4.1.X on 5
   machines in a replication
   setup. Our first way to help manage load is the
 use
   of useful rules in
   our connection classes to direct Writes to our
 big
   server with fast I/O
   and memory and directing Rreads to our slower
 I/O
   less RAM slaves only.
 
 
   I so far have only seen an alternative from a
 company
  called Emic. But it only runs any OS but freeBSD
  sadly. (it modifies the kernel so compat won't do
 it)
 
   Have you heard of any hardware solutions or
 FreeBSD
  friendly free or commercial products? I know basic
  clustering and such is supposed to be OK but
  everything that seems OS agnostic says it's Beta.
 
   We may wind up doing it this way but right now
 its a
  toss up of a Beta Solution or move to linux with
 Emic.
  Which I'm not fond of becouse its so convoluted
 and
  Well Not BSD :)
 
   Thanks
 
   M.
 
 
   This one step in itself has done a LOT for
 keeping
   uptimes high and
   queries fast.
  
   A positive advantage is that the 5 machines
 allows
   us the opportunity to
   change the configuration if say one fails we can
   promote another slave to
   take that position or in the case of the Write
   server we can promote a
   slave to a Write server until the original
 Write
   server can be recovered.
  
   As well whether you use C/C++, Java, PHP or some
   other scripting language
   to access your database it shouldn't be too hard
 to
   write some sort of
   algorithm in your connection to spread the
   connections across your host
   base.
  
   When it comes to management I won't lie,
 4.0.XX's
   handling of Replication
   was tough. Since though we've made the move to
 4.1.X
   our problems have
   become less and less.
  
   A final advantage to having seperate machines in
 a
   replication setup is
   the ability to upgrade a segment or machine to a
   newer MySQL version to
   see how it will operate on your hardware/OS and
 with
   your programs. We did
   this with our move from 4.0.XX to 4.1.X by
 taking 2
   slaves out of the main
   loop, promoting one to the new 4.1.X master and
 the
   other slave to a new
   4.1.X slave. After testing in pre-production we
   proceeded with the
   deployment on our other 3 boxes.
  
   INFO: Our 5 machine replication setup consists
 of:
  
   1) 1 - 4 x P4 Xeon Compaq Server (Write DB
 Server)
   2) 4 - 1 x P3 Compaq Servers (Read DB Server)
  
   NOTE: On a smaller scale on my home network I do
 the
   same on three
   machines all sub-server class. I still have
 great
   reliability and robust
   performance from such a simple design.
  
   I hope this information is helpful, I know it
 works
   well for us.
  
   Rob.
  
   On Tue, 1 Feb 2005, Drumslayer wrote:
  
Hi
 I have been running a fairly heavy duty
 server
   for
MySQL on FreeBSD but its starting to peak. I
 would
like to know what others have done as far as
 using
   a
load balancing solution for MySQL or their
 success
with replication.
 Also has anyone done a 64 bit build of MySQL
 on
FreeBSD successfully?
   
 Thanks!
   
  M.
   
   
   
   
   
__
Do you Yahoo!?
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com
   
 ___
freebsd-questions@freebsd.org mailing list
   
  
 

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

Epson Perfection 2400 USB scanner support

2005-02-02 Thread Paul Mather
I'm looking to buy a scanner and was thinking about getting an Epson
Perfection 2400 USB scanner.  It is listed as having complete SANE
support, but it is not listed as being supported in the uscanner(4) man
page.

According to a page (http://khk.net/sane/usb_scanner.html) on the SANE
Epson back-end Web site, the vendor and product id for the Epson
Perfection 2400 are 0x04b8 and 0x011b respectively.  I looked
in /usr/src/sys/dev/usb/usbdevs on the system on which I'll probably use
the scanner (running FreeBSD 6-CURRENT) and I noticed there is indeed an
entry with the same product id, but it is identified as GT-9300UF
scanner.  The entry in /usr/src/sys/dev/usb/usbdevs on my NetBSD/alpha
system actually identifies 0x011b as Perfection 2400 scanner.

So, is the Epson GT-9300UF just an alternative market name (Japan,
perhaps?) for the Epson Perfection 2400?  (Though the UF suffix would
indicate it has both USB and FireWire interfaces.)

Is anyone successfully using an Epson Perfection 2400 USB scanner under
either FreeBSD 4.11-STABLE or FreeBSD 6-CURRENT?  (Does it work
reliably?  Would you recommend this scanner?)

If anyone has any general recommendation for a cheap scanner that works
well under FreeBSD, I'd be glad to hear it.

Cheers,

Paul.
-- 
e-mail: [EMAIL PROTECTED]

Without music to decorate it, time is just a bunch of boring production
 deadlines or dates by which bills must be paid.
--- Frank Vincent Zappa
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: xhost +localhost

2005-02-02 Thread Louis LeBlanc
On 02/02/05 06:58 PM, Gert Cuykens sat at the `puter and typed:
 i want a screensaver but the ... xscreensaver daemon wont start
 complaining about acces controle. I did xhost +localhost but it still
 wont start :(


If you're trying this on 5.3, the syntax has changed.  Try something
like this:

xhost local:

Exactly as typed above.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
This is a list only address, and the return address is a black hole!
Send off-list email to:leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Modesty:
  The gentle art of enhancing your charm by pretending not to be
  aware of it.
-- Oliver Herford


pgp7T7FQ4rydt.pgp
Description: PGP signature


Automated reply from robert@www.webtent.com

2005-02-02 Thread robert
I will be out of the office until Friday, February 4th, 2004. Your message will 
be reviewed as soon as I return.

If you need technical support or immediate assistance, please contact [EMAIL 
PROTECTED] or call the office at 813-286-6502.

Thank you :)

Robert Fitzpatrick

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


Re: Getting a microphone to work

2005-02-02 Thread Joachim Dagerot

I have an old Dell Cpt 550 laptop where I run freeSBIE.

Although I'm rather experienced with freeBSD I have never really have
worked with the client-side part of it, so I don't know much of X or
any
other client side software (kde, gnome or whatever they are called is
the
same)

I'm king of ssh so to say!

Now, I want to have the integrated microphone up and running. I also
want
to 'teach' the computer a few phrases (3-4 or so) and have it interact
with a software when it hears the phrase.

Where do I start? Please point me to drivers, test software, guides or
where to download that wonderful VoiceControlYouImageViewer.gz that
you
have laying around.

Any tip is welcome, imagine I know nothing about this!

Good luck.   Speech to text is very difficult, AFAIK nothing works well
in the open source world.  IBM's Via Voice runs on linux, if you can
find it...

You can try /usr/ports/audio/sphinx but it is an early release system.
 See the description of that for more info.

I suspect this is a case of if you can get it working tell everyone
else how, rather than it works great already.   I could be wrong
though.


Actually, it's not a complete speak-2-text solution I'm aiming for, just being 
able to shout NEXT and it will perform some action. There will be 3 or four 
of those commands. Not more. I don't even know what a microphone device would 
be named and how to access it.





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


Re: IPF, IPFW, or IPFILTER?

2005-02-02 Thread Thomas Foster
I dont think there really is a more commonly used one.  It kind of moves in 
cycles.  There used to be quite a few posts about IPfilter.. its quick, 
easy, and secure.  Then there was a buzz around IPFW.. its a bit more 
cumbersome.. but also very secure.. and along with dummynet.. there are many 
possibilities.  The latest buzz is PF, especially now that ALTQ options are 
here in the kernel..

check out a couple of articles and see which one works best for you:
http://www.section6.net/help.php
Hope this helps
T
- Original Message - 
From: Andy Firman [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Wednesday, February 02, 2005 10:00 AM
Subject: IPF, IPFW, or IPFILTER?


The author of the FreeBSD handboodk prefers IPF (ipfilter) because
its stateful rules are much less complicated
The author of The Complete BSD talks about IPFW (ipfirewall)
only.  People on this list talk of PF (packetfilter) quite a bit.
What is the most commonly used firewall for a web/email host
server with a static IP address connected directly to the Internet?
(protecting itself)
What is the most commonly used firewall for a gateway/router/
network firewall server in front of several other boxes?
(protecting others and itself)
Thanks,
Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


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


make update problem?

2005-02-02 Thread Glenn E. Sieb
I'm trying to update a box from 5.1-RELEASE-p17 to 
5.3-RELEASE-current-p-level.

In preparation, I checked out 5.3-RELEASE from cvsup the other day:
(from my supfile:)
*default release=cvs tag=RELENG_5_3
*default delete use-rel-suffix
Then, just to be sure I've got what I need, I went to do a make update 
today (I just wanted to make sure I had the latest patch release before 
I did the build):

# make update
Makefile.inc1, line 830: warning: String comparison operator should be 
either == or !=
Makefile.inc1, line 830: Malformed conditional ((!defined(NO_RESCUE) 
||  defined(RELEASEDIR))   (${TARGET_ARCH} != ${MACHINE_ARCH} || 
${BOOTSTRAPPING}  501101))
Makefile.inc1, line 830: Missing dependency operator
Makefile.inc1, line 832: if-less endif
Makefile.inc1, line 832: Need an operator
make: fatal errors encountered -- cannot continue
*** Error code 1

Stop in /usr/src.
This also happens if I try a make clean (which I usually do before I do 
any major builds, to be sure there's no cruft anywhere...):

make clean
Makefile.inc1, line 830: warning: String comparison operator should be 
either == or !=
Makefile.inc1, line 830: Malformed conditional ((!defined(NO_RESCUE) 
||  defined(RELEASEDIR))   (${TARGET_ARCH} != ${MACHINE_ARCH} || 
${BOOTSTRAPPING}  501101))
Makefile.inc1, line 830: Missing dependency operator
Makefile.inc1, line 832: if-less endif
Makefile.inc1, line 832: Need an operator
make: fatal errors encountered -- cannot continue
*** Error code 1

Stop in /usr/src.
Thanks in advance!
Best,
--Glenn
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to Cure Disk/Controller (RAID) Problem?

2005-02-02 Thread Herwich
Hello,

I'm having problems installing RAID-0 on my A7V333 mobo. The FastTrack utility 
does recognize the two drive (WD1600JB) but it doesn't allow me to go to 1. 
Auto Setup. I don't know why.

Another thing: I cannot find anything in the BIOS regarding putting a array 
back. Nor can I find in the Advanced PCI Configuration sub-menu the 
possibilityt to enable the raid arrays. I upgraded my BIOS to the latest 
possible version (1018).

What to do?

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


Re: Getting a microphone to work

2005-02-02 Thread Tom Huppi



On Wed, 2 Feb 2005, Joachim Dagerot wrote:

snip

 I don't even know what a microphone device would be named and
 how to access it.

I've recently been screwing around with a few pieces of software
which take input from a mic (and other) devices.  The device
(under FreeBSD 5.3) seems to be of the /dev/dsp[] variety.  The
handbook has some info about it in the 'multimedia' section as I
recall.

The utility mixer(8) is pretty critical in some cases.  Among
other things, it allows one to adjust volumes ans switch input
between 'line' and 'mic' and so forth.  The man page is pretty
terse for someone like me who has only a vague interest in and
understanding of multimedia.  I got the most useful info for my
purposes out of google groups searches.

BTW, does anyone know off-hand how to set 'mixer' settings as
default (so I would not have to re-set them after a re-boot?)

Thanks,

 - Tom

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


NFS tweaking (mount_nfs and fstab)

2005-02-02 Thread Benjamin P. Keating
Hey FreeBSD community,

Firstly - Whats the difference between freebsd-questions and
freebsd-newbies? Just the level of detail / questions asked? Let me
know if I should be posting somewhere besides this list.

Ok, so I've been transferring large tar files (60gig+) to a nfs mount
(both client and server are on the same LAN and both FreeBSD). Every
so often the transfer halts. My NIC is using the `vr` driver so
changed to a Intel card using the fxp driver - I'm told this is much
more reliable. anyway...

Since I'm spending so much time babying this NFS mount, I'd like to
tweak it the best I can for fast, reliable read/write access.

I googled and found a suggestion of:
mount -t nfs -o -r=32768,-w=32768 bigbang:/backup/ad4m1a/tic /backup

Can someone tell me if the -r,-w values are sane? Also - assuming
those values are correct and make things reliably faster, how would I
A). Check to see that these arguments are in action and B). add them
to my /etc/fstab?

I've assumed the following:
bigbang:/backup/ad4m1a/tic /backup  nfs rw,-r=32768,-w=32768
0   0

Is this correct? Any NFS experts care to share there knowledge on how
to tweak NFS to a solid, fast state.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Travan 3 Parallel Tape Backup in FreeBSD 4.10

2005-02-02 Thread Sebastian Uribe
Hi,
 I'm trying to install an Imation Travan 3 parallel tape backup in a 
FreeBSD 4.10 box. Has FreeBSD support for it?

 I tried several things, including using the mt command with /dev/ppi0:
# mt -f /dev/ppi0 status
mt: Inappropriate ioctl for device
 And i don't know what that could mean. Any idea?
 I've been looking in the freebsd site, and the web, but I couldn't 
find any references to using this devices (only found a couple messages 
from mailing lists 8 years old asking if there was support for this kind 
of thing).

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


Re: xhost +localhost

2005-02-02 Thread Chuck Swiger
Louis LeBlanc wrote:
On 02/02/05 06:58 PM, Gert Cuykens sat at the `puter and typed:
i want a screensaver but the ... xscreensaver daemon wont start
complaining about acces controle. I did xhost +localhost but it still
wont start :(
If you're trying this on 5.3, the syntax has changed.  Try something
like this:
xhost local:
Exactly as typed above.
Please tell me you are joking.
I remember learning to use xhost + in 1989 or '90 on X11--, before the 
command improved to take hostnames as arguments to control which connections 
were allowed and which should be refused on a per-host basis.  At the time, 
there were so few machines running X that malicious X connections were not a 
significant concern.

Having xhost +localhost work the same way as xhost +foo.cmu.edu-- to avoid 
treating the local host as a special case-- was a good idea fifteen years ago.

I do not have a perfect record of suggesting things in a way that does not 
break backwards compatibility, but one should attempt to make the distinction 
between changing something which was broken in order to get to something 
reasonable and changing something reasonable into something broken.

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


Re: Getting a microphone to work

2005-02-02 Thread Steven Friedrich
On Wednesday 02 February 2005 04:44 pm, Tom Huppi wrote:
 BTW, does anyone know off-hand how to set 'mixer' settings as
 default (so I would not have to re-set them after a re-boot?)

I don't know how you could do it automagically, but when you want to save the 
settings, you could:
echo -n mixer   mixer.def  mixer -s  mixer.def

then do a chmod +x mixer.def

and then load default setting by invoking ./mixer.def

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


make switch for alternate data directory on mysql???-server install

2005-02-02 Thread Ken Hawkins
I know there is a switch for make install that will tell it where the 
database files will be held (mysql, test, etc...) and I thought it was;

make DB_DIR=/some/other/dir install

but this is not the case. how can i find out the switches for this and any 
other ports?

thanks,
ken;

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


Re: xhost +localhost

2005-02-02 Thread Louis LeBlanc
On 02/02/05 05:02 PM, Chuck Swiger sat at the `puter and typed:
 Louis LeBlanc wrote:
  On 02/02/05 06:58 PM, Gert Cuykens sat at the `puter and typed:
  i want a screensaver but the ... xscreensaver daemon wont start
  complaining about acces controle. I did xhost +localhost but it still
  wont start :(
  
  If you're trying this on 5.3, the syntax has changed.  Try something
  like this:
  
  xhost local:
  
  Exactly as typed above.
 
 Please tell me you are joking.
 
 I remember learning to use xhost + in 1989 or '90 on X11--, before the 
 command improved to take hostnames as arguments to control which connections 
 were allowed and which should be refused on a per-host basis.  At the time, 
 there were so few machines running X that malicious X connections were not a 
 significant concern.
 
 Having xhost +localhost work the same way as xhost +foo.cmu.edu-- to 
 avoid 
 treating the local host as a special case-- was a good idea fifteen years ago.
 
 I do not have a perfect record of suggesting things in a way that does not 
 break backwards compatibility, but one should attempt to make the distinction 
 between changing something which was broken in order to get to something 
 reasonable and changing something reasonable into something broken.

Don't shoot the messenger! :)

I was pretty confused by it too, especially since I do LOTS of display
jumping.  After failing some of this jumping, I finally typed the
command at the prompt and got a strange response.  So I read the
manpage.  It's all there.  I couldn't say why, but I had too many other
fish to fry to bother saying anything then.

It's probably not the only deprecation or interface change from 4.x.  I
believe the 'nslookup' tool is now a wrapper to the 'host' utility, but
I never used either one in complex enough ways to see any
incompatibility.  I can't quite remember, but I have the feeling there
was another gotcha I had to get used to going to 5.x.

Oh well, I still like 5.3 better for some reason.  Maybe it's just the
awesome machine I've got it running on though . . .

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
This is a list only address, and the return address is a black hole!
Send off-list email to:leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Kent's Heuristic:
  Look for it first where you'd most like to find it.


pgptGsQGyGvFH.pgp
Description: PGP signature


Re: xhost +localhost

2005-02-02 Thread Chuck Swiger
Louis LeBlanc wrote:
Don't shoot the messenger! :)
Heh, sorry, that wasn't my intention.
[ ... ]
It's probably not the only deprecation or interface change from 4.x.  I
believe the 'nslookup' tool is now a wrapper to the 'host' utility, but
I never used either one in complex enough ways to see any
incompatibility.  I can't quite remember, but I have the feeling there
was another gotcha I had to get used to going to 5.x.
nslookup being depreciated was actually announced, and a version (or several?) 
which gave a warning to use something else but otherwise worked fine were 
released over the course of a year or two, and *then* the program got changed.

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


Re: xhost +localhost

2005-02-02 Thread Gert Cuykens
I# xhost local:
non-network local connections being added to access control list
I#

ok that seems to work a bit better meaning i dont get the message can
not start screen saver deamon bl bla bla. Instead i get a message
in my log that locking is not enabled ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: realplay-10

2005-02-02 Thread Gary Kline
On Tue, Feb 01, 2005 at 09:52:56PM +1030, Ian Moore wrote:
 On Tue, 1 Feb 2005 19:32, Gary Kline wrote:
  On Tue, Feb 01, 2005 at 04:59:40PM +1030, Ian Moore wrote:
   On Tue, 1 Feb 2005 10:16, Gary Kline wrote:
 
 from man fc-cache:
 NAME
fc-cache,  fonts.cache  -  create  an index of FreeType font files in a
directory
 
 It's normally run when you add new fonts to your system. Of course if you use 
 kde's font control panel or something similar, it runs fc-cache for you.
 It's part of X  lives in /usr/X11R6/bin/
 
 When you install linux-base, is installs a linux version too 
 (under /usr/compat/linux), but it appears to use the FBSD configuration 
 somehow, since running fc-cache fixes the cache for linux apps as well as 
 native ones.
 
Thanks for the datapoint.  Where do I chdir to to run fc-cache?
(There seem to be font files scattered all over the place.)

gary





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

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


Re: upgrading FreeBSD

2005-02-02 Thread Roland Smith
On Wed, Feb 02, 2005 at 04:49:23PM +0100, Dick Hoogendijk wrote:
 You're so right ;-)
 Main problem (at least to me) is almost everytime *what* is important
 data and what is not? I don't mean my personal stuff (that's the easy
 part), but more, which control files and (fine) tunings on the running
 system do I not want to loose? /etc and /usr/local/etc are very
 important data dirs, but what others are too?

Save everything, just to be sure.

The following strategy has helped me to keep track of run-control files:
In my home-directory, I've created a directory named setup. If I want to
change one of the run-control files, the first thing I do is make a copy
of that file in ~/setup (or a relevant subdirectory), where I check the
unmodified version in rcs(1) with ci(1). Next I check out the files
(with co(1)), make the changes I want and check them in again. The last
step is to copy the modified run-control file back where it belongs.

This way you'll have a single point where all changed run-control files
are stored, and thanks to RCS you can even easily see what the changes
were between versions.

Roland
-- 
R.F. Smith   /\ASCII Ribbon Campaign
r s m i t h @ x s 4 a l l . n l  \ /No HTML/RTF in e-mail
http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail
public key: http://www.keyserver.net / \Respect for open standards


pgpuTre11hA6v.pgp
Description: PGP signature


Re: xhost +localhost

2005-02-02 Thread Louis LeBlanc
On 02/02/05 11:36 PM, Gert Cuykens sat at the `puter and typed:
 I# xhost local:
 non-network local connections being added to access control list
 I#
 
 ok that seems to work a bit better meaning i dont get the message can
 not start screen saver deamon bl bla bla. Instead i get a message
 in my log that locking is not enabled ?

Doesn't ring any bells.  What log, and what is the entry?

Are you still having trouble with xscreensaver?

FTR, I have the following in my ~/.xinitrc and I never have trouble with
xscreensaver - although it is only started after this command - by the
wm.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
This is a list only address, and the return address is a black hole!
Send off-list email to:leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Contrariwise, continued Tweedledee, if it was so, it might be, and if
 it were so, it would be; but as it isn't, it ain't.  That's logic!
-- Lewis Carroll, Through the Looking Glass


pgp3rI9bbLcfR.pgp
Description: PGP signature


Re: OT: Funny disclaimers (Was: Re: ssh root@localhost)

2005-02-02 Thread Erik Norgaard
Sorry  to join in on the noise:
=quote=
This e-mail and the documents attached are confidential and intended
solely for the addressee; it may also be privileged. If you receive this 
e-mail in error, please notify the sender immediately and destroy it.

As its integrity cannot be secured on the Internet, the Company
group liability cannot be triggered for the message content. Although 
the sender endeavours to maintain a computer virus-free network, the 
sender does not warrant that this transmission is virus-free and will 
not be liable for any damages resulting from any virus transmitted.
=quote=

I regularly get mails with this kind of legal bable at the end, some 
worse threatening me with legal actions if I am not the intended 
receipient and do not imidiately delete the mail and forget the content.

What makes me wonder is that these messages are always at the end, when 
you have read the secret message. If anything it will only make me alert 
that this could be secret, and if I am evil, ofcourse I would not delete 
the mail.

Further, I don't see how you can disclaim responsibility unless a 
warning is given before opening each message.

Both statements are backwards and can't impose any responsibility on my 
behalf nor disclaim any responsibilty on behalf of the sender.

just my 5 euro-cents.
Cheers, Erik
--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Travan 3 Parallel Tape Backup in FreeBSD 4.10

2005-02-02 Thread Bill Campbell
On Wed, Feb 02, 2005, Sebastian Uribe wrote:

Hi,

 I'm trying to install an Imation Travan 3 parallel tape backup in a 
FreeBSD 4.10 box. Has FreeBSD support for it?

My experience with Travan tape drives has been uniformly bad, and I would
avoid them almost as strongly as the old Colorado Memory Systems Jumbo
floppy tape drives.

Given the low cost of large external firewire and USB disks today, I would
recommend using them rather than tape.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Systems, Inc.
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``Mechanical Engineers build weapons.  Civil Engineers build targets.''
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Getting a microphone to work

2005-02-02 Thread Chris Hodgins
Steven Friedrich wrote:
On Wednesday 02 February 2005 04:44 pm, Tom Huppi wrote:
BTW, does anyone know off-hand how to set 'mixer' settings as
default (so I would not have to re-set them after a re-boot?)
I don't know how you could do it automagically, but when you want to save the 
settings, you could:
echo -n mixer   mixer.def  mixer -s  mixer.def

then do a chmod +x mixer.def
and then load default setting by invoking ./mixer.def
HTH
Wrote a little shell script to drop into /usr/local/etc/rc.d.  I hope 
someone finds it useful. :)

Chris
#!/bin/sh
MIXERCMD=/usr/sbin/mixer
DEVICE=/dev/mixer0
#OUTPUT=/dev/null
OUTPUT=/dev/stdout
# Set the mixer values here.
VOL=vol 25:25
PCM=pcm 75:75
LINE=line 75:75
MIC=mic 0:0
CD=cd 75:75
REC=rec 0:0
OGAIN=ogain 50:50
LINE1=line1 50:50
PHIN=phin 0:0
PHOUT=phout 0:0
$MIXERCMD -f $DEVICE \
$VOL $PCM $LINE $MIC $CD $REC \
$OGAIN $LINE1 $PHIN $PHOUT  $OUTPUT
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Supfile Config / 5.3 - 5.4 Devel

2005-02-02 Thread Nick Pavlica
All,
  I would like to update my 5.3 server to the 5.4+ development branch
so that I can do some performance testing against it.

I started with the standard supfile and made the following change:

Orig:
*default release=cvs tag=RELENG_5_3

New:
*default release=cvs tag=RELENG_5

- Will this get me where I want to go?
- Do I need to rebuild the Kernel after doing the cvsup / make
buildworld / make installworld?
-  Is there anything else I should do to make sure I have a good test version?

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


Re: xhost +localhost

2005-02-02 Thread Gert Cuykens
On Wed, 2 Feb 2005 17:43:23 -0500, Louis LeBlanc [EMAIL PROTECTED] wrote:
 On 02/02/05 11:36 PM, Gert Cuykens sat at the `puter and typed:
  I# xhost local:
  non-network local connections being added to access control list
  I#
 
  ok that seems to work a bit better meaning i dont get the message can
  not start screen saver deamon bl bla bla. Instead i get a message
  in my log that locking is not enabled ?
 
 Doesn't ring any bells.  What log, and what is the entry?
 
 Are you still having trouble with xscreensaver?
 

My xscreensaver is telling me running in root not allowed my root
needs a pretty screensaver too you know g

So how do i enable a root screen saver ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Travan 3 Parallel Tape Backup in FreeBSD 4.10

2005-02-02 Thread Sebastian Uribe
Bill,
   Well... external drives ain't that cheap in Argentina, and we 
already got this tape (which fits well with the amount of data we want 
to backup), so we would really like to have it working.. :)
   Thanks anyway for the advice.

Bill Campbell wrote:
My experience with Travan tape drives has been uniformly bad, and I would
avoid them almost as strongly as the old Colorado Memory Systems Jumbo
floppy tape drives.
Given the low cost of large external firewire and USB disks today, I would
recommend using them rather than tape.
 


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


umass stability 5.3 versus 4.10

2005-02-02 Thread Gregor Mosheh
I've written to the list several times in regards to
my USB external hard drive. In summary: Under 4.10 it
worked fine for 5 months and then mysteriously it quit
working.

The documentation I found for ehci+umass (albeit
3-year-old docs) implied that ehci was not completely
stable, and its omission until 4.10 (and my own
experience with it) makes me believe that.

My question, though, is: Is ehci+umass considered
production quality under 5.3?




__ 
Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Getting a microphone to work

2005-02-02 Thread Roland Smith
On Wed, Feb 02, 2005 at 04:44:37PM -0500, Tom Huppi wrote:
 BTW, does anyone know off-hand how to set 'mixer' settings as
 default (so I would not have to re-set them after a re-boot?)

You can create a file called /etc/rc.local, and put the relevant mixer
command in it. See rc(8).

Roland
-- 
R.F. Smith   /\ASCII Ribbon Campaign
r s m i t h @ x s 4 a l l . n l  \ /No HTML/RTF in e-mail
http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail
public key: http://www.keyserver.net / \Respect for open standards


pgpGamZrD8Mx9.pgp
Description: PGP signature


Book Recomendations

2005-02-02 Thread Nick Pavlica
All,
  I'm looking at deploying FreeBSD on my servers and would like your
book recommendations.  We will probably be using 4.11 or 5.3 or  on
our servers.

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


Re: xhost +localhost

2005-02-02 Thread Chris Hodgins
Gert Cuykens wrote:
I# xhost local:
non-network local connections being added to access control list
I#
ok that seems to work a bit better meaning i dont get the message can
not start screen saver deamon bl bla bla. Instead i get a message
in my log that locking is not enabled ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
When I configure xscreensaver I use the xscreensaver-demo command.  This 
allows you to set everything up for that user and start and stop the 
xscreensaver daemon.  You run this as the local user.

There is a way to cheat xhosting as root if you are not running 
remotely.  If you simply use su instead of su - it should keep all 
the environment including the DISPLAY setup correctly.  This seems to 
work well for me.

Generally I do this to xhost from root to my user display.
$ xhost local:
$ su -
Password:
# bash
# export DISPLAY=:0
# gcalctool
HTH
Chris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


eGroupWare migration?

2005-02-02 Thread Eric F Crist
Hello list,
This may be a little off-topic, so please redirect me if nobody can 
help...

I've added a new server to my network that's dedicated to serving 
apache only.  The database(mysql) server is on the old server.  I have 
an application called egroupware that I need to migrate to be served 
off the new apache server, but have it point at the old database 
server.  I tried just going through the reinstall process, but it tells 
me that the database is broken and recommends reinstalling the 
database, from scratch.  I can't do this, as I've got too much 
information stored in the old one.

Any recommendations?
TIA
___
Eric F Crist  I am so smart, S.M.R.T!
Secure Computing Networks  -Homer J Simpson


PGP.sig
Description: This is a digitally signed message part


Weird problem with midnight commander (Freebsd 5.3)

2005-02-02 Thread Aleksander Rozman - Andy
Hi !
I am having weird problem. I have installed FreeBSD 5.3 on several 
machines, and on two of those machines midnight commander has serious 
problems. When I run it, it needs a long time to start, and I mean long, 
about 5 minutes or so. Did anybody have a same problem? How did you fix it. 
Oh one of those machines was fresh install, and other was update...

Andy
**
*  Aleksander Rozman - Andy  * Fandoms:  E2:EA, SAABer, Trekkie, Earthie *
* [EMAIL PROTECTED] * Sentinel, BH 90210, True's Trooper,   *
*[EMAIL PROTECTED]   * Heller's Angel, Questie, Legacy, PO5, *
* Maribor, Slovenia (Europe) * Profiler, Buffy (Slayerete), Pretender*
* ICQ-UIC: 4911125   *
* PGP key available  *http://www.atechnet.dhs.org/~andy/ *
**
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Book Recomendations

2005-02-02 Thread albi
Nick Pavlica wrote:
  I'm looking at deploying FreeBSD on my servers and would like your
book recommendations.  We will probably be using 4.11 or 5.3 or  on
our servers.
the first book to start with is here :
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html
:)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Heat problem with 4.11

2005-02-02 Thread Richard Tobin
For a few years now I have used fvcool to put the CPU of my 1GHz
Athlon into power-saving mode.  To make it work, I had to follow the
instructions in the fvcool documentation and patch
/sys/i386/i386/swtch.s to have these instructions immediately before
calling hlt_vector:

movl$0x4014, %edx
inb %dx, %al

(The number 4014 is obtained from running fvcool -v -e.)
This reduced the idle temperature of the CPU from about 68C to about 35C.

Unfortunately this patch no longer seems to do the trick in 4.11.  The
temperature is stuck at about 68C.  Surprisingly, using fvcool -i
(which sits in the background at low priority executing the inb
instruction every 30uS) does work.

The code around the call to hlt_vector has changed a little since
4.10; it has this instruction before the call:

  movl   $0, lapic_tpr   /* 1st candidate for an INT */

and a cli immediately after hlt_vector returns.

Can anyone tell me what I need to change to make this work again?

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


Re: xhost +localhost

2005-02-02 Thread Louis LeBlanc
On 02/03/05 12:05 AM, Gert Cuykens sat at the `puter and typed:
 On Wed, 2 Feb 2005 17:43:23 -0500, Louis LeBlanc [EMAIL PROTECTED] wrote:
  On 02/02/05 11:36 PM, Gert Cuykens sat at the `puter and typed:
   I# xhost local:
   non-network local connections being added to access control list
   I#
  
   ok that seems to work a bit better meaning i dont get the message can
   not start screen saver deamon bl bla bla. Instead i get a message
   in my log that locking is not enabled ?
  
  Doesn't ring any bells.  What log, and what is the entry?
  
  Are you still having trouble with xscreensaver?
  
 
 My xscreensaver is telling me running in root not allowed my root
 needs a pretty screensaver too you know g
 
 So how do i enable a root screen saver ?

I assume this refers to the root window.  Surely you're not logged
into X as root.

Try this:
check your DISPLAY environment variable with
echo $DISPLAY
make sure it's ':0.0' or something similar, like hostname:0.0, then
run this:
/usr/X11R6/bin/xscreensaver -display $DISPLAY 


That should do what you're trying to do.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

It is much easier to suggest solutions when you know nothing about the problem.


pgp7qcMGnpfTM.pgp
Description: PGP signature


FreeBSD servers blacklisted for spam ... ?

2005-02-02 Thread Marc G. Fournier
http://www.dnsbl.sorbs.net/lookup.shtml?216.136.204.119

Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email: [EMAIL PROTECTED]   Yahoo!: yscrappy  ICQ: 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: umass stability 5.3 versus 4.10

2005-02-02 Thread Louis LeBlanc
On 02/02/05 03:09 PM, Gregor Mosheh sat at the `puter and typed:
 I've written to the list several times in regards to
 my USB external hard drive. In summary: Under 4.10 it
 worked fine for 5 months and then mysteriously it quit
 working.
 
 The documentation I found for ehci+umass (albeit
 3-year-old docs) implied that ehci was not completely
 stable, and its omission until 4.10 (and my own
 experience with it) makes me believe that.
 
 My question, though, is: Is ehci+umass considered
 production quality under 5.3?

I don't think so.  ehci is still considered unfinished in 5.3.  The
manpage has the following:

BUGS
 The driver is not finished and is quite buggy.

 Currently there is no support for hubs that are connected with
 high speed upstream and low or full speed downstream (i.e., for
 transaction translators).

 There is also no support for interrupt or isochronous transfers.


I recently tried to plug ehci into my kernel and all I got for my
trouble was a kernel panic.

Good luck
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

In order to make an apple pie from scratch, you must first create the
universe.
-- Carl Sagan, Cosmos


pgpjlUracJrCo.pgp
Description: PGP signature


Re: xhost +localhost

2005-02-02 Thread Gert Cuykens
On Wed, 02 Feb 2005 17:24:32 -0600, Henry Miller [EMAIL PROTECTED] wrote:
 
 
 On 2/3/2005 at 00:05 Gert Cuykens wrote:
 
 On Wed, 2 Feb 2005 17:43:23 -0500, Louis LeBlanc
 [EMAIL PROTECTED]
 wrote:
  On 02/02/05 11:36 PM, Gert Cuykens sat at the `puter and typed:
   I# xhost local:
   non-network local connections being added to access control list
   I#
  
   ok that seems to work a bit better meaning i dont get the message
 can
   not start screen saver deamon bl bla bla. Instead i get a
 message
   in my log that locking is not enabled ?
 
  Doesn't ring any bells.  What log, and what is the entry?
 
  Are you still having trouble with xscreensaver?
 
 
 My xscreensaver is telling me running in root not allowed my root
 needs a pretty screensaver too you know g
 
 So how do i enable a root screen saver ?
 
 You don't.   Root should never have a pretty screensaver.  Screen
 savers are only needed when a CRT will be on (Wasting 100 watts while
 nobody is looking, it adds up to about $.10/day), for long periods of
 time at a screen that is otherwise unchanging over several years.   The
 only burn in I've ever seen is a log in screen, normal users change
 enough on their display that burn-in isn't a problem.
 
 Root should NEVER log in except when the system is single user, or
 fresh install.  In both cases that is command line only.  If you must
 use some graphical config tool, su from some other user.   As a last
 resort you could log in as root, but even then you should do the job
 and than log off fast, before you make a mistake!
 
 Programs like xscreensaver are doing FreeBSD a favor by preventing
 people from running as Administrator.   A significant number of
 problems people have with Ms Windows is because users run as
 administrator by default.   When programs like xscreensaver detect that
 you are root and refuse to run it makes it that much less likely that
 you will make a mistake while running as root.   Mistakes when you are
 a normal user are bad enough, mistakes as root are worse.
 
 xscreensaver is also saving themselves in another way, if there is a
 unexpected bug that is exploitable, by refusing to run as root they can
 at least ensure that your whole system isn't compromised.   This is
 particularly a big deal for xscreensaver where you can expect nobody
 will be around to watch evil people from attempting to break your
 system.
 
 If all that isn't enough to convince you otherwise: the source is
 there.   Modify it yourself.
 

And still i think the user should be able to make that desision and
not xscreensaver, it is against the constitution namely freedome of
screensaver :P
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Prope or probing aound card?

2005-02-02 Thread Joachim Dagerot

I have a dell latitude cp[somrthing] 550 or 500.  (laptop)

It has a sound device ofcourse, but I can't figure out how to find out which 
module to load. Some OS has a probe function, but I can't find that in my 5.3 
install.

So I started trying out kldload from the first in the locate snd_ result.

That wasn't too smart, I have rebooted a few times now.

Is the a better way to do this?



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


if_sk : the weirdest thing!

2005-02-02 Thread craig
my machine has a hdd swap-rack which allows me to boot different os's 
off different physical drives. (ie. pull-out xp, and plug in fbsd).
i recently purchased another hdd+tray to install gentoo on, just to see 
what the fuss is about.

i booted off the 2004.3 minimal install cd but it did not, 
unfortuanately, automatically find my realtek gigabit nic.
i suspected it might not, because i had a hell of time getting it to 
work on fbsd aswell - requiring a patched if_sk driver to get it going.

after a bit of digging, i found that i could
# modprobe sk98lin
to get the kernel happy with the nic. once up, it worked like a charm.
it got late and i needed to finish up some work on fbsd, so i pulled the 
gentoo drive out, plugged fbsd back in and booted up.

when it came up, i found that i was without a network!
# dmesg | grep sk
   said something about (IIRC)
(blah)
skc0: no PHY found
# ifconfig
   confirmed that there was no net
when i tried to manually
# kldload if_sk
freebsd panic'ed and died right there!
i rebooted a few times (a trick i learnt from ms) but still it would not 
come back. even powering the machine completely down did not help!!!
so i plugged in the winxp drive and booted. it came up fine, network in 
good working order.
i booted fbsd again and the network came up this time without a complaint!

AND I CAN REPLICATE THIS MADNESS!
boot fbsd
 - check network = all okay
boot gentoo livecd
 - load sk98lin
 - check network = all okay
boot fbsd
 - check network = notwork!
(remedy)
boot wxp
 - check network = all okay
boot fbsd
 - check network = all okay
wtf???
i understand that my GF would be upset if i played around with other 
girls, but does my OS have to be *so damn jealous*

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


Re: Dealing with ports installations

2005-02-02 Thread Mr Mailadmin
try sysutils/pkg_cutleaves in the ports tree.
Tom Moyer wrote:
I have a question.  I attempted to install a port and when it failed I
realized that it installed its dependancies that I don't need.  ( I
don't need the port because I found another that does what I need). 
Is there any way to safely go through and see what is installed, what
depends on it and deinstall those that I don't need/use?

Thanks,
Tom
 

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


Re: xhost +localhost

2005-02-02 Thread Gert Cuykens
 I assume this refers to the root window.  Surely you're not logged
 into X as root.

no i am just logged as a user into X and my user name is the same as
root :) Lets call it the user root window.

 Try this:
 check your DISPLAY environment variable with
 echo $DISPLAY
 make sure it's ':0.0' or something similar, like hostname:0.0, then
 run this:
 /usr/X11R6/bin/xscreensaver -display $DISPLAY 
 
 That should do what you're trying to do.
 
 Lou
 --

I# /usr/X11R6/bin/xscreensaver -display $DISPLAY
xscreensaver: 01:02:41: locking is disabled (running as nobody).
xscreensaver: 01:02:41: locking only works when xscreensaver is launched
 by a normal, non-privileged user (e.g., not root.)
 See the manual for details.

man the xscreensaver thingie isnt kidding about it...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SUDO

2005-02-02 Thread Loren M. Lang
On Tue, Feb 01, 2005 at 06:23:41AM +0100, Java Beans wrote:
 What do i have to enter in /etc/sudoers in order to give
 some user group the permission to start k3b with root
 permissions?

What I do for cd burning on linux is just make cdrecord/cdrdao suig and
put them in in a group like burning.  Then I remove world permissions
and add the appropriate users to the burning group.  After that I make
the cdrom device read-write by root and burning.  On FreeBSD 5.x make
sure the perms are set in devfs.conf for the cdrom device.  I don't
think that cdrecord/cdrdao actually need root permission if they have
group write permission on the device.  I've yet to burn a cd on freebsd,
but I'd except it to work the same as on my linux box.

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

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: xhost +localhost

2005-02-02 Thread Chris Hodgins
Gert Cuykens wrote:
I assume this refers to the root window.  Surely you're not logged
into X as root.

no i am just logged as a user into X and my user name is the same as
root :) Lets call it the user root window.

Try this:
check your DISPLAY environment variable with
echo $DISPLAY
make sure it's ':0.0' or something similar, like hostname:0.0, then
run this:
/usr/X11R6/bin/xscreensaver -display $DISPLAY 
That should do what you're trying to do.
Lou
--

I# /usr/X11R6/bin/xscreensaver -display $DISPLAY
xscreensaver: 01:02:41: locking is disabled (running as nobody).
xscreensaver: 01:02:41: locking only works when xscreensaver is launched
 by a normal, non-privileged user (e.g., not root.)
 See the manual for details.
man the xscreensaver thingie isnt kidding about it...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
Don't want to be rude but do you have a specific reason for running 
xscreensaver as root?

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


Re: xhost +localhost

2005-02-02 Thread Louis LeBlanc
On 02/03/05 01:10 AM, Gert Cuykens sat at the `puter and typed:
  I assume this refers to the root window.  Surely you're not logged
  into X as root.
 
 no i am just logged as a user into X and my user name is the same as
 root :) Lets call it the user root window.
 
  Try this:
  check your DISPLAY environment variable with
  echo $DISPLAY
  make sure it's ':0.0' or something similar, like hostname:0.0, then
  run this:
  /usr/X11R6/bin/xscreensaver -display $DISPLAY 
  
  That should do what you're trying to do.
  
  Lou
  --
 
 I# /usr/X11R6/bin/xscreensaver -display $DISPLAY
 xscreensaver: 01:02:41: locking is disabled (running as nobody).
 xscreensaver: 01:02:41: locking only works when xscreensaver is launched
  by a normal, non-privileged user (e.g., not root.)
  See the manual for details.
 
 man the xscreensaver thingie isnt kidding about it...


That's your whole problem.  It is widely considered a Very Bad Thing
to log into X as root.  Xscreensaver refuses to run there because it
calls external programs, which it gives free reign within it's access
limitations.  If xscreensaver were running as root, these extermal
programs would therefore run as root, and should any of them be
written with certain malicious, or even just errant code, your secure
box could do anything from implode due to a bad disk access in the
boot sector, to hang it's kiester right out the internet for all to
see and poke and prod.  And they WILL poke and prod.

xscreensaver is the only such program that comes to mind that tries to
protect you in this way, but think of all the other programs you run:
your wm, all those utilities, the calculator, and the list goes on.
Not all of these are part of the OS, most are contrib code, which
means they were written by people outside the official team for
whatever project you got it with.  That doesn't mean it's not good
code, most of it is excellent at the very least, but it doesn't always
have the same rigorous testing cycle, and it is almost NEVER written
to run as root.  And a process intended to run as root DOES get
structured differently.

I *VERY* strongly recommend you create a real user, call it gert or
cuykens, or the name of your box, or whatever you want and DON'T add
it to every group and give it admin privileges.  Using root for
anything but administrative use or accessing restricted resources is a
huge security hole.

Cheers.
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Secretary's Revenge:
  Filing almost everything under the.


pgpQo1gibHVy7.pgp
Description: PGP signature


Re: Supfile Config / 5.3 - 5.4 Devel

2005-02-02 Thread Jason Henson
On 02/02/05 18:04:36, Nick Pavlica wrote:
All,
  I would like to update my 5.3 server to the 5.4+ development branch
so that I can do some performance testing against it.
I started with the standard supfile and made the following change:
Orig:
*default release=cvs tag=RELENG_5_3
New:
*default release=cvs tag=RELENG_5
- Will this get me where I want to go?
- Do I need to rebuild the Kernel after doing the cvsup / make
buildworld / make installworld?
-  Is there anything else I should do to make sure I have a good test
version?
Thanks!
--Nick Pavlica
Short answer, yes
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD servers blacklisted for spam ... ?

2005-02-02 Thread Kris Kennaway
On Wed, Feb 02, 2005 at 07:49:11PM -0400, Marc G. Fournier wrote:
 
 http://www.dnsbl.sorbs.net/lookup.shtml?216.136.204.119

This list can't fix it, talk to postmaster.

Kris


pgpJ2SeMTSu5x.pgp
Description: PGP signature


Re: gtar failing, please help!

2005-02-02 Thread David Bear
On Wed, Feb 02, 2005 at 02:29:26PM -0500, Kevin A. Pieckiel wrote:
 On Wed, Feb 02, 2005 at 02:03:45PM -0500, Kevin A. Pieckiel wrote:
  I have some backup scripts that manipulate a tape library and tape
  drive to perform my nightly backups.  Ever since the switch from
  gtar to bsdtar in the base system, gtar fails to write any data
  to my tape and usually puts my SCSI bus in an unusable state.  I
  must then issue a camcontrol reset command to free up the tape
  drive for use.
 
 Just for grins, I tried playing with dump.  Dump fails as well:
 
 # dump -0 -a -b 64 -C 32 -f /dev/nsa0 -n -u -L /

since you are using a tape, have you checked with 
dmesg (for kernel message about the tape)
mt errstat (cryptic output, but maybe someone here could help)

or rather try

dd if=/dev/zero of=/dev/nsa0 bs=512 count=1

then play with different bs and count number. This will show you what
your tape block size is -- and if your tape has some kind of crc
error at a block, will also stop consistently at the same location.

for me, my experience down scsi tape units and freebsd has been a road
into the black abyss. I've finally got the tape dumps to work -- but
it took many hours of trial and error. 

btw, I wonder how many tape unit users get burned by the fact that
they don't test their tapes -- and when they need the tape find that
it was bad..


   DUMP: Date of this level 0 dump: Wed Feb  2 14:27:05 2005
   DUMP: Date of last level 0 dump: the epoch
   DUMP: Dumping snapshot of /dev/amrd0s1a (/) to /dev/nsa0
   DUMP: mapping (Pass I) [regular files]
   DUMP: Cache 32 MB, blocksize = 65536
   DUMP: mapping (Pass II) [directories]
   DUMP: estimated 176863 tape blocks.
   DUMP: dumping (Pass III) [directories]
   DUMP: write error 64 blocks into volume 1
   
  
 Broadcast Message from [EMAIL PROTECTED] 
 (/dev/ttyp0) at 14:27 EST...  
  
   
  
 Message from the dump program to all operators  
   
  
 DUMP: NEEDS ATTENTION: write error 64 blocks into volume 1
  
 DUMP WRITE ERROR! 
  
   
  
   DUMP: Do you want to restart?: (yes or no)
 
 I just don't know what to do.  I'm half tempted to use Windows for
 the fileserver at this point.  I *need* working backups!
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
David Bear
phone:  480-965-8257
fax:480-965-9189
College of Public Programs/ASU
Wilson Hall 232
Tempe, AZ 85287-0803
 Beware the IP portfolio, everyone will be suspect of trespassing
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


reconfigure php4-extensions

2005-02-02 Thread Richard Bradley
Hi,

When I installed php4 from a port, I also installed php4-extensions. It gave 
me an ncurses menu to choose from possible extensions.

Now I want to install some extensions that I didn't choose the first time 
round, but I can't get the menu to reappear.

I have tried:

make clean  make
make deinstall  make reinstall
make configure

All of which complete normally, but don't present the menu for me to change 
the options.

What should I do to add a new extension?


Many thanks,


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


Re: reconfigure php4-extensions

2005-02-02 Thread Tim Aslat
In the immortal words of Richard Bradley [EMAIL PROTECTED]...
 What should I do to add a new extension?

Try make config


-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 0401088479
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: reconfigure php4-extensions

2005-02-02 Thread albi
Richard Bradley wrote:
Now I want to install some extensions that I didn't choose the first time 
round, but I can't get the menu to reappear.

I have tried:
make clean  make
make deinstall  make reinstall
make configure
you might want to try : make distclean
that did the trick for me afair
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Strange foreign connections

2005-02-02 Thread Mike Tancsa

What does 
netstat -na
sockstat
show ?  I would not trust the DNS lookups in case someone is playing
around with hosts/DNS

---Mike


On Wed, 02 Feb 2005 11:01:42 -0600, in sentex.lists.freebsd.questions
you wrote:

While running netstat I found these entries:

Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address  Foreign Address(state)
tcp4   0  0  localhost.52730undernet1.blueyo.ircd   
ESTABLISHED
tcp4   0  0  localhost.52398minotor.spale.co.ircd
ESTABLISHED
tcp4   0  0  localhost.60635bagan2.srce.hr.ircd   
ESTABLISHED
 

  The foreign addresses all show ircd at the end,  but there is no irc 
clients or servers running and irc ports are blocked at the firewall.
Does anyone have any idea what might be going on here?

Gene

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

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


RE: buildworld error in Makefile.inc1

2005-02-02 Thread Jeffrey Bouquet
on WEDS 2-2-05, Glenn Sieb wrote (paraphrased):
(quoting the error):
error in Makefile.inc1, cannot continue...

I ran into this problem last July doing a 5.1  5.2.1
upgrade, during each cvsup the Makefile.inc1 would be
re downloaded because after each cvsup, I corrected
the syntax   (using #edit)
501101))
TO:
501101 ))
in this case line 830,  in my case I think it was
line 137 iirc,
maybe someone should permanently comment that code:
# leave a space after the releasedir checking code
#  number and before the closing parenth PLEASE!!!

I had found the solution after much time searching
on the web... 

Jeff



__ 
Do you Yahoo!? 
Yahoo! Mail - 250MB free storage. Do more. Manage less. 
http://info.mail.yahoo.com/mail_250
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Getting a microphone to work

2005-02-02 Thread Tom Huppi


On Wed, 2 Feb 2005, Chris Hodgins wrote:

 Steven Friedrich wrote:
  On Wednesday 02 February 2005 04:44 pm, Tom Huppi wrote:
 
 BTW, does anyone know off-hand how to set 'mixer' settings as
 default (so I would not have to re-set them after a re-boot?)

snip

 Wrote a little shell script to drop into /usr/local/etc/rc.d.  I hope
 someone finds it useful. :)

Thanks to all for the tips and ideas.  Just after I posted my
query, I noticed that somethine similar seems to be available (in
FreeBSD 5.3 and up) as a setting in /boot/device.hints.  It's
referenced in the handbook.

I think I like the rc.d idea best as it would allow one to
conveniently re-set to a known state, and it's pretty clear.

Thanks,

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


Re: buildworld error in Makefile.inc1

2005-02-02 Thread Kris Kennaway
On Wed, Feb 02, 2005 at 05:59:11PM -0800, Jeffrey Bouquet wrote:
 on WEDS 2-2-05, Glenn Sieb wrote (paraphrased):
 (quoting the error):
 error in Makefile.inc1, cannot continue...
 
 I ran into this problem last July doing a 5.1  5.2.1
 upgrade, during each cvsup the Makefile.inc1 would be
 re downloaded because after each cvsup, I corrected
 the syntax   (using #edit)
 501101))
 TO:
 501101 ))
 in this case line 830,  in my case I think it was
 line 137 iirc,
 maybe someone should permanently comment that code:
 # leave a space after the releasedir checking code
 #  number and before the closing parenth PLEASE!!!

make was fixed some time ago to not treat this as syntax error.

Kris


pgpKChNDWw1Xp.pgp
Description: PGP signature


Re: Supfile Config / 5.3 - 5.4 Devel

2005-02-02 Thread Nick Pavlica
Thanks!  I just wanted to verify that I was on the right track.

--Nick

On Thu, 03 Feb 2005 01:16:43 +, Jason Henson [EMAIL PROTECTED] wrote:
 On 02/02/05 18:04:36, Nick Pavlica wrote:
  All,
I would like to update my 5.3 server to the 5.4+ development branch
  so that I can do some performance testing against it.
 
  I started with the standard supfile and made the following change:
 
  Orig:
  *default release=cvs tag=RELENG_5_3
 
  New:
  *default release=cvs tag=RELENG_5
 
  - Will this get me where I want to go?
  - Do I need to rebuild the Kernel after doing the cvsup / make
  buildworld / make installworld?
  -  Is there anything else I should do to make sure I have a good test
  version?
 
  Thanks!
  --Nick Pavlica
 
 
 Short answer, yes
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: xhost +localhost

2005-02-02 Thread Gert Cuykens
 Don't want to be rude but do you have a specific reason for running
 xscreensaver as root?
 
 Chris

Well the reason is very simple actuale lets pretend we have a user
gert. User gert has alot of pictures and music stuff phone numbers
user gert dont want does things to be gone. Somebody hacks user gert
because user gert uses a screensaver. And the hacker deletes all
files. User gert is not happy because he lost everything. Do you think
user gert gives a chit that the system was untouched because the
hacker did not had root permission ?

For me its wrong to think user accounts are not importend because they
do for the average window xp single user. They dont care about viruses
infection on there system reinstalling everything they care about
there files.  So if sreensaver is a securty risc as root i doesnt mean
its not a security risck for a user account. The only differens
between a root and user should be that users can not read or mess with
other users files. The security sould be EXACTLY the same. So if root
can not run a screensaver then the users can also not run a
screensaver.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Book Recomendations

2005-02-02 Thread Jerry McAllister
 
 All,
   I'm looking at deploying FreeBSD on my servers and would like your
 book recommendations.  We will probably be using 4.11 or 5.3 or  on
 our servers.

Any or all of 
   FreeBSD Unleashed, The Complete FreeBSD or/and Absolute FreeBSD

jerry

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

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


Disk Label Problem

2005-02-02 Thread Doug Hardie
I have a system with two SCSI disks.  da1 has a complete working system 
on it that I need to clone onto da0.  The disks are different sizes.  
So I went to sysinstall and used 'disk label' to create the desired 
structure.  Thats where the problems started.  If I create the first 
partition and set the mount point to / and the second as a swap 
partition and the third to mount at /usr then when writing the changes 
there are a number of errors generated because it can't mount to those 
points - they are in use.  So then I tried to use 'disk label' and 
create the structure using /mnt and /mnt1 (which do exist).  That 
worked fine and did the newfs.  However, it created partitions d and e 
rather than a and d.  So I went back and reestablished the structure 
using / and /usr to set the partitions to a and d and then went back 
and changed the mount points to /mnt and /mnt1 before the write.  
However, this generated an error that it couldn't write label.

Obviously I am doing something wrong since I have don this using 
sysinstall and completing the system installation from CD.  However, in 
this case the machine is a long way away and the CD drive is empty.

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


5.3 and atapicam....

2005-02-02 Thread ad5gb

Greetings,

I seem to have made a small amount of progress with my atapicam boggle.  
I was able to get a kernel with the atapicam driver configured to boot
by taking the drive off of the 2nd channel of my PDC20269-based atapter
and configure it as a slave on the 2nd channel of my motherboard's 
embedded controller.  I was even able to 'rip' a disk using cdda2wav.

I attempted to rip a 2nd one but it failed with an I/O error.  A dmesg
reveals...
cd9660: RockRidge Extension
acd0: WARNING - READ_CD read data overrun 611522352
cd9660: RockRidge Extension
acd0: timeout waiting for ATAPI ready
acd0: timeout waiting for ATAPI ready
acd0: timeout waiting for ATAPI ready
acd0: timeout waiting for ATAPI ready
acd0: READ_BIG trying to write on read buffer
acd0: WARNING - removed from configuration
(cd1:ata1:0:0:0): cddone: got error 0x16 back
(cd1:ata1:0:0:0): lost device
(probe0:ata1:0:0:0): Lost target 0???
vm_fault: pager read error, pid 988 (cp)
vm_fault: pager read error, pid 988 (cp)
vm_fault: pager read error, pid 997 (cp)
vm_fault: pager read error, pid 997 (cp)
.
.
.
.
.
vm_fault: pager read error, pid 997 (cp)
vm_fault: pager read error, pid 997 (cp)
vm_fault: pager read error, pid 997 (cp)
vm_fault: pager read error, pid 997 (cp)
vm_fault: pager read error, pid 997 (cp)
vm_fault: pager read error, pid 997 (cp)
(cd1:ata1:0:0:0): removing device entry

I don't seem to be able to bring the device back online with any combination 
of args with either atacontrol or camcontrol.  I also find it strange that I
could not access the drive with it attached to the motherboard's PRIMARY
controller port.  I'm beginning to think this may be some sort of funky
I/O conflict or something.


Going down for a reboot




--
Randall D. DuCharme (Radio AD5GB)

Powered by FreeBSD!
The Power to Serve



___
No banners. No pop-ups. No kidding.
Make My Way your home on the Web - http://www.myway.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Access denied for user 'root'@'localhost' (using password: NO)

2005-02-02 Thread Positive Negative
Warning: Access denied for user 'root'@'localhost' (using password:
NO) in /usr/local/www/sites/bender69/webcal/includes/php-dbi.php on
line 48
Error connecting to database:

Access denied for user 'root'@'localhost' (using password: NO)




OK, how do i change it back. 

/usr/local/bin/mysqladmin -u root password

This is where it got messed up

how do i fix it? 


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


Re: Access denied for user 'root'@'localhost' (using password: NO)

2005-02-02 Thread Nick Pavlica
Try these links:

http://dev.mysql.com/doc/mysql/en/privileges.html

http://dev.mysql.com/doc/mysql/en/can-not-connect-to-server.html

http://dev.mysql.com/doc/mysql/en/request-access.html

http://dev.mysql.com/doc/mysql/en/privilege-system.html

--Nick

On Wed, 2 Feb 2005 18:41:40 -0800, Positive Negative
[EMAIL PROTECTED] wrote:
 Warning: Access denied for user 'root'@'localhost' (using password:
 NO) in /usr/local/www/sites/bender69/webcal/includes/php-dbi.php on
 line 48
 Error connecting to database:
 
 Access denied for user 'root'@'localhost' (using password: NO)
 
 
 
 OK, how do i change it back.
 
 /usr/local/bin/mysqladmin -u root password
 
 This is where it got messed up
 
 how do i fix it?
 
 --
  AIM: FucPsSht
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: Disk Label Problem

2005-02-02 Thread Jerry McAllister
 
 I have a system with two SCSI disks.  da1 has a complete working system 
 on it that I need to clone onto da0.  The disks are different sizes.  
 So I went to sysinstall and used 'disk label' to create the desired 
 structure.  Thats where the problems started.  If I create the first 
 partition and set the mount point to / and the second as a swap 
 partition and the third to mount at /usr then when writing the changes 
 there are a number of errors generated because it can't mount to those 
 points - they are in use.  So then I tried to use 'disk label' and 
 create the structure using /mnt and /mnt1 (which do exist).  That 
 worked fine and did the newfs.  However, it created partitions d and e 
 rather than a and d.  So I went back and reestablished the structure 
 using / and /usr to set the partitions to a and d and then went back 
 and changed the mount points to /mnt and /mnt1 before the write.  
 However, this generated an error that it couldn't write label.
 
 Obviously I am doing something wrong since I have don this using 
 sysinstall and completing the system installation from CD.  However, in 
 this case the machine is a long way away and the CD drive is empty.

The only thing you were doing wrong was using mount points that
were already in use.   It doesn't really matter if the partition label
is d or e or whatever.   You might want to make sure it uses a for root.
and b for swap because some things make that assumption.   But, if you
use disklabel (or bsdlabel in 5.xxx)  in edit mode you can specify which
letter label to use for each partition.  You don't need to (can't) specify
a mount point in disklabel.  You fix that up later by editing /etc/fstab.

jerry

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

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


Re: buildworld error in Makefile.inc1

2005-02-02 Thread Glenn Sieb
Kris Kennaway said the following on 2/2/2005 9:14 PM:
On Wed, Feb 02, 2005 at 05:59:11PM -0800, Jeffrey Bouquet wrote:
 

on WEDS 2-2-05, Glenn Sieb wrote (paraphrased):
(quoting the error):
error in Makefile.inc1, cannot continue...
I ran into this problem last July doing a 5.1  5.2.1
upgrade, during each cvsup the Makefile.inc1 would be
re downloaded because after each cvsup, I corrected
the syntax   (using #edit)
   501101))
TO:
   501101 ))
in this case line 830,  in my case I think it was
line 137 iirc,
maybe someone should permanently comment that code:
# leave a space after the releasedir checking code
#  number and before the closing parenth PLEASE!!!
   

make was fixed some time ago to not treat this as syntax error.
Kris
 

I changed the end of line 830... and now when I do make:
# make
+for: not found
*** Error code 127
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
#
So, should this upgrade be this painful? 5.1-RELEASE-p17 isn't _that_ 
old.. I kind of wonder now what's going to happen when I upgrade one of 
my boxes from 4.11-RELEASE to 5.3-RELEASE? :-/

Thanks in advance, everyone,
Best,
--Glenn
--
They that can give up essential liberty to obtain a little temporary 
safety deserve neither liberty nor safety. 
 ~Benjamin Franklin, Historical Review of Pennsylvania, 1759

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


Restoring a corrupted dump file

2005-02-02 Thread T. Hart
I recently dumped a file to a local hard drive before
making some changes on the server. Shorty after
dumping, my hard drive died, and I attempted to
restore the files to a new hd. However, when I did
this, I got a checksum error, and a statement saying
Tape is not a dump tape. I'm guessing the file has
become corrupt, unfortunitally, it's the only copy of
the files that were on the drive. Is there any way I
can recover any part of this file?

Thanks

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


Re: Access denied for user 'root'@'localhost' (using password: NO)

2005-02-02 Thread Technical Director

Positive Negative,

You might seriously consider not using '[EMAIL PROTECTED]' as well since most
php scripts read the username/password information in clear text on a
nobody:nobody read filesystem. IOW other people can read your files.

Possibly making the username/password somewhat cryptic, say writing a
function to dizzify the usually clear text or at least setting up a
specific user/pass combination for specific databases is a very good idea.

eg:

$S_userName=__callDizzyFunc();
$S_passInfo=__callDizzyFunc();

At least this is SOMEWHAT more protective then:

$S_userName='root';
$S_passInfo='password';

2 cents.

Rob.

On Wed, 2 Feb 2005, Positive Negative wrote:

 Warning: Access denied for user 'root'@'localhost' (using password:
 NO) in /usr/local/www/sites/bender69/webcal/includes/php-dbi.php on
 line 48
 Error connecting to database:

 Access denied for user 'root'@'localhost' (using password: NO)


 

 OK, how do i change it back.

 /usr/local/bin/mysqladmin -u root password

 This is where it got messed up

 how do i fix it?


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

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


Re: distrubuting distro

2005-02-02 Thread Bob Hall
On Wed, Feb 02, 2005 at 02:22:38PM +0100, Erik Trulsson wrote:
 It has been widely alleged (and is even likely) that Windows got large
 parts of the TCP/IP implementation from some BSD implementation, but so
 far no proof has appeared.

Actually, MS admitted to it. From Win2k on, much of the TCP/IP stack
comes from FreeBSD.

http://64.233.161.104/search?q=cache:anQ7meaPIZgJ:www.my-opensource.org/lists/myoss/2001-06/msg00031.html+Microsoft+freebsd+tcp/ip+hotmail+dns+hosting+zdnethl=en
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: xhost +localhost

2005-02-02 Thread Louis LeBlanc
On 02/03/05 03:19 AM, Gert Cuykens sat at the `puter and typed:
  Don't want to be rude but do you have a specific reason for running
  xscreensaver as root?
  
  Chris
 
 Well the reason is very simple actuale lets pretend we have a user
 gert. User gert has alot of pictures and music stuff phone numbers
 user gert dont want does things to be gone. Somebody hacks user gert
 because user gert uses a screensaver. And the hacker deletes all
 files. User gert is not happy because he lost everything. Do you think
 user gert gives a chit that the system was untouched because the
 hacker did not had root permission ?

You've made backups, right?  That would be the standard method of
protecting these files.  Trust me, EVERY other person on this list has
files they value above their system.  The system is ALWAYS easier to
restore than lost data.  The problem is that with root permission, a
hacker can do a LOT more damage than just *your system*, and with
root, it is pretty trivial to cover their tracks so that when the men
in black come to your door and ask to see your computer logs, it looks
like you're the one that's been trying to hack the NSA.  Then you'd
care if they had root access.

 For me its wrong to think user accounts are not importend because they
 do for the average window xp single user. They dont care about viruses
 infection on there system reinstalling everything they care about
 there files.  So if sreensaver is a securty risc as root i doesnt mean
 its not a security risck for a user account. The only differens
 between a root and user should be that users can not read or mess with
 other users files. The security sould be EXACTLY the same. So if root
 can not run a screensaver then the users can also not run a
 screensaver.

There's a lot more to system security than virus protection.  There's
secure passwords, restriction of root access, backups, firewalls, and
a lot more.  The fact that Windows often has to provide authoritative
access to all users has been one of it's biggest vulnerabilities to
virii.  If everyone on *nix systems had administration privileges,
you'd probably see quite a few worms working their way around these
systems.  And FTR, nobody can even frickin' PRINT to a NETWORK printer
in XP without admin privs! How *stupid* is that!?

My advice, get a backup process going and use a non root account.
Lock down root, and use secure passwords.  You can restrict access to
any user account in a number of ways.  I have some accounts with
abysmally simple passwords, but they aren't allowed to log in
non-locally in any way, shape or form.  The only one that is, is quite
limited to how and from where it can log in, and it uses a reasonably
secure password.

Is my system secure?  Well, to a pretty good extent, I think it is.
Secure enough to make it not worth the effort to your average to
moderately savvy cracker.  More so than I've made it in the past at
any rate.  I still watch closely for any signs of attempts, and deal
with those I think are worthy of attention, but I don't worry so much
now.

That's basic admin, isn't it guys?

I'm sure there will be a few additions to this, and possibly even a
more organized listing of best practices, but I'm too tired to find
the list right now - it's probably right there in the handbook anyway.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Begathon, n.:
  A multi-day event on public television, used to raise money so
  you won't have to watch commercials.


pgpnGl2hnSGpa.pgp
Description: PGP signature


Re: ASP .NET on FreeBSD?

2005-02-02 Thread SigmaX
Tom McLaughlin wrote:
On Tue, 2005-02-01 at 12:21 -0500, Lowell Gilbert wrote:
 

SigmaX [EMAIL PROTECTED] writes:
   

I'm fairly new to FreeBSD (Former Linux user), and I have a FreeBSD
5.3 server.  Pretty soon I'm going to need ASP .NET on the server, but
understand that XSP/mod_mono have some major issues with FreeBSD that
need to be worked out.  Are there any alternatives I can use in place
of/while I'm waiting for the BSD# project to get XSP functional?
 

I don't know anything about this subject, but a quick 
cd /usr/ports;make search name=xsp indicates that
it's ported to FreeBSD.
   

He means Mono's XSP webserver for ASP .NET which is different than the
ports found in the www category.  I have a port for XSP but a page
request causes Mono to crash so it's not very usable right now.
Tom
 

yeah... That's the only BSD port of XSP or the like I've heard of.  I 
wish I had the knowledge to help out with the debugging process, but I'm 
fairly new to the programming world myself, and am just hanging on to 
FreeBSD until it's mature.  If the process takes to long I suppose I'll 
have to set up a Linux server to run it and keep my clients happy :-D.
  Cheerio,
  SigmaX

--
Registered Linux Freak #: 366,862
My ISP won't talk to me after lodging a support call for helping gettting ADSL 
hooked up to a WinXP install running under VMWare under Linux on my XBox.
'Anonymous Coward,' in a post on slashdot.org
For the eyes of the Lord range throughout the earth to strengthen those whose 
hearts are fully commited to him.
2 Chronicles 16:9a
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: buildworld error in Makefile.inc1

2005-02-02 Thread Kris Kennaway
On Wed, Feb 02, 2005 at 10:25:38PM -0500, Glenn Sieb wrote:

 Stop in /usr/src.
 #
 
 So, should this upgrade be this painful? 5.1-RELEASE-p17 isn't _that_ 
 old.. I kind of wonder now what's going to happen when I upgrade one of 
 my boxes from 4.11-RELEASE to 5.3-RELEASE? :-/

Typically we only support source upgrades from systems after a certain
point.  Talk to [EMAIL PROTECTED] about the status of upgrading from
5.1-RELEASE.

Kris


pgpDwXhw41niZ.pgp
Description: PGP signature


Re: ASP .NET on FreeBSD?

2005-02-02 Thread Tom McLaughlin
On Thu, 2005-02-03 at 23:15 -0600, SigmaX wrote:
 Tom McLaughlin wrote:
 
 On Tue, 2005-02-01 at 12:21 -0500, Lowell Gilbert wrote:
   
 
 SigmaX [EMAIL PROTECTED] writes:
 
 
 
snip
 yeah... That's the only BSD port of XSP or the like I've heard of.  I 
 wish I had the knowledge to help out with the debugging process, but I'm 
 fairly new to the programming world myself, and am just hanging on to 
 FreeBSD until it's mature.  If the process takes to long I suppose I'll 
 have to set up a Linux server to run it and keep my clients happy :-D.
Cheerio,
SigmaX
 

Personally I would recommend using XSP on Linux (gasp) for the time
being if it's for customers.  XSP is fairly new and has it's own
non-FreeBSD issues from what I understand.  I would personally stick to
Mono's main targeted platform for now if it's something that just has
to work.  

As for being new to the programming world...  Well, same  here too. :)
I wanted to learn something more robust than Bourne script and figured
Mono would keep me on my toes and give me some way to apply whatever I
read.

Tom

-- 

BSD# Project - Porting Mono to FreeBSD
http://forge.novell.com/modules/xfmod/project/?bsd-sharp

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


Re: realplay-10

2005-02-02 Thread Ian Moore
On Thu, 3 Feb 2005 09:09, Gary Kline wrote:
 On Tue, Feb 01, 2005 at 09:52:56PM +1030, Ian Moore wrote:
  On Tue, 1 Feb 2005 19:32, Gary Kline wrote:
   On Tue, Feb 01, 2005 at 04:59:40PM +1030, Ian Moore wrote:
On Tue, 1 Feb 2005 10:16, Gary Kline wrote:
 
  from man fc-cache:
  NAME
 fc-cache,  fonts.cache  -  create  an index of FreeType font files
  in a directory
 
  It's normally run when you add new fonts to your system. Of course if you
  use kde's font control panel or something similar, it runs fc-cache for
  you. It's part of X  lives in /usr/X11R6/bin/
 
  When you install linux-base, is installs a linux version too
  (under /usr/compat/linux), but it appears to use the FBSD configuration
  somehow, since running fc-cache fixes the cache for linux apps as well as
  native ones.

   Thanks for the datapoint.  Where do I chdir to to run fc-cache?
   (There seem to be font files scattered all over the place.)

   gary
You don't have to chdir anywhere, just run it.
The man pages says:
   If directory arguments are not given, fc-cache uses each  directory  in
   the  current  font  configuration.   Each directory is scanned for font
   files readable by FreeType.  A cache is created which contains  proper-
   ties  of  each font and the associated filename.  This cache is used to
   speed application startup when using the fontconfig library.
So it must look at your X config file  finds out where the font directories 
are from that.

Cheers,
-- 
Ian

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgpBVM7OM2WE9.pgp
Description: PGP signature


Re: OT: Funny disclaimers (Was: Re: ssh root@localhost)

2005-02-02 Thread Peter N. M. Hansteen
Erik Norgaard [EMAIL PROTECTED] writes:

 What makes me wonder is that these messages are always at the end, when 
 you have read the secret message. If anything it will only make me alert 
 that this could be secret, and if I am evil, ofcourse I would not delete 
 the mail.

eureka
It just struck me - the message layout was invented by a top poster.
/eureka

Deep down, they know that they need to start at the bottom in order to
make sense of the babble on top. Next up, we'll see them hyping this as
a patentable business method. 

After all, I've seen credible evidence that MSexchange (IIRC) litters
messages with X-ThreadIndex and X-ThreadSubject headers, apparently
attempting to reinvent References: and other usenet features.

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/
First, we kill all the spammers The Usenet Bard, Twice-forwarded tales

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


Re: Book Recomendations

2005-02-02 Thread Peter N. M. Hansteen
Nick Pavlica [EMAIL PROTECTED] writes:

   I'm looking at deploying FreeBSD on my servers and would like your
 book recommendations.  We will probably be using 4.11 or 5.3 or  on
 our servers.

The Handbook is very valuable and available either from your local file
system or from your friendly neighborhood FreeBSD mirror. Greg Lehey's
The Complete FreeBSD was updated to its fourth edition in time to
cover most of what is new and exciting in the 5.n series, and contains a
lot of useful, non-version specific FreeBSD and Unix info. CFBS is an
O'Reilly title now, available direct or via good book stores (online or
otherwise).

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/
First, we kill all the spammers The Usenet Bard, Twice-forwarded tales

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


5.3 ata / atapicam issues (update)

2005-02-02 Thread ad5gb

Greetings,

Just an update I pulled out the Promise adapter and connected my disk to the
primary embedded IDE controller (max speed PIO 4)  Left the atapi CDRW drive 
as a SLAVE on the secondary controller.  Next, I tried ripping an audio CD with
cdda2wav, and to my surprise, it was successful.  The system did report several
messages during the ripping process, like.

Feb  3 00:11:33 arabian kernel: ad0: TIMEOUT - READ_DMA retrying (2 retries left
) LBA=136492211
Feb  3 00:11:34 arabian kernel: ad0: FAILURE - READ_DMA timed out
Feb  3 00:11:39 arabian kernel: ad0: TIMEOUT - READ_DMA retrying (2 retries left
) LBA=136414323
Feb  3 00:11:39 arabian kernel: ad0: FAILURE - READ_DMA timed out
Feb  3 00:12:05 arabian kernel: ad0: TIMEOUT - READ_DMA retrying (2 retries left
) LBA=137621267
Feb  3 00:12:05 arabian kernel: ad0: FAILURE - READ_DMA timed out
Feb  3 00:12:11 arabian kernel: ad0: TIMEOUT - READ_DMA retrying (2 retries left
) LBA=137543379
Feb  3 00:12:11 arabian kernel: ad0: FAILURE - READ_DMA timed out

but it was successful. I disabled all ATA DMA (hw.ata.ata_dma=0 
my in loader.conf) and tried to rip the disk again.  It completed without a
single error.  Further, I was able to burn 5 CDs on the same drive at 
ridiculous speeds (48X reported by cdrecord) without a single issue.

Hope this helps someone. I'm not at all sure where/what the problem is but
I'll be happy to run on the embedded controller for the time being. (while
PIO 4 != DMA 133, reliability/functionality is king!)   

If there's any way I can help solve this issue just say how!

Kind regards

--
Randall D. DuCharme (Radio AD5GB)

Powered by FreeBSD!
The Power to Serve



___
No banners. No pop-ups. No kidding.
Make My Way your home on the Web - http://www.myway.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


couldn't start KDE.

2005-02-02 Thread BSD Mail
Greetings,
I installed a fresh 5_3 upgraded the ports and source. I'm using xorg.
I can run blackbox without any errors. I also installed KDE 3.3.2
latest one. It was running fine at first untill I started installing
few other applications. I'm attaching the error I recieve after
running startx.

Besides that. There is another small problem. xorg.conf refuses the
Modes directive. I have an nVIDIA GeForce4 440 Go. Because the
FreeBSD driver from nvidia refused to work with xorg. I used driver
nv instead. I can only run 800x600 everything looks huge. I tried
something like Modes  1024x758 and it refused the directive Modes.
It's unkown.

Any help would be appreciated. 
-- 
Regards,
X Window System Version 6.8.1
Release Date: 17 September 2004
X Protocol Version 11, Revision 0, Release 6.8.1
Build Operating System: FreeBSD 5.3 i386 [ELF]
Current Operating System: FreeBSD host.domain 5.3-RELEASE-p5 FreeBSD 5.3-REL
EASE-p5 #0: Fri Jan 21 13:45:52 PST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src
/sys/custom i386
Build Date: 21 January 2005
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Wed Feb  2 22:11:52 2005
(==) Using config file: /etc/X11/xorg.conf
(EE) Failed to load module speedo (module does not exist, 0)
startkde: Starting up...
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
kbuildsycoca running...
KWrited - Listening on Device /dev/ttyp0
SetClientVersion: 0 8
 running as realtime process now (priority 15)
_IceTransmkdir: ERROR: Owner of /tmp/.ICE-unix must be set to root
_IceTransSocketUNIXCreateListener: mkdir(/tmp/.ICE-unix) failed, errno = 1
_IceTransMakeAllCOTSServerListeners: failed to create listener for local
KSMServer: Error listening for connections: Cannot establish any listening socke
ts
KSMServer: Aborting.
startkde: Shutting down...
klauncher: Exiting on signal 1
warning: leaving MCOP Dispatcher and still 12 object references alive.
  - Arts::SampleStorage
  - Arts::Synth_MULTI_ADD
  - Arts::Synth_MULTI_ADD
  - Arts::Synth_PLAY
  - Arts::StereoVolumeControl
  - Arts::StereoEffectStack
  - Arts::Synth_BUS_DOWNLINK
  - Arts::SoundServerV2
  - Arts::Synth_BUS_UPLINK
  - Arts::Synth_AMAN_PLAY
  - Arts::AudioManagerClient
  - Arts::MidiManager
warning: leaving MCOP Dispatcher and still 113 types alive.
ICE default IO error handler doing an exit(), pid = 39012, errno = 0
startkde: Running shutdown scripts...
startkde: Done.

waiting for X server to shut down

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


<    1   2   3   >