Re: Sound on Dell Dimension 8300 (FreeBSD 5.1-RELEASE)

2005-03-30 Thread Svein Halvor Halvorsen

* Amit Kumar Saha [2005-03-30 11:30 -0600]
>   I am trying to enable the builtin sound card present in Dell
>  Dimension 8300 but cant seem to get it done. As far as I remember, in
>  FreeBSD 5.3 it can be done simply by having the following two options in
>  the kernel config file:
>  
>  device sound
>  device snd_ich
>  
>  However, FreeBSD 5.1 does not recognize any of these even (Even man sound
>  or man snd_ich does not work even though it should work on any FreeBSD 5.*
>  So I guess I have to give some hardware hints in order to


You need the old-style (aka 4.x style) "device pcm" in versions prior to 
5.3-REL (maybe 5.2.1). However, you should REALLY consider upgrading to 
either 5.3-REL or 5.4-PRE as ALOT of stuff has been done since 5.1-REL



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


Re: ssh - restricted shell

2005-03-30 Thread Alec Berryman
wizlayer on 2005-03-30 16:28:55 -0500:

> I thought this was accomplished when initially setting up a user's 
> account?  I'm under the impression that when a user clients sshd, 
> s/he still can't go beyong the boundaries of his/her existing 
> account on the server.  Of course: if $impression = "delusion" 
> then someone _please_ correct me!  fi :O

If you mean 'outside of his home directory', then yes, a user can go
outside 'his/her existing account on the server'.  He can't read,
modify, or execute files he doesn't have permission for, however.


pgpDD972dp4Vc.pgp
Description: PGP signature


SATA II NCQ Sil3124 AMD64 NForce4 Ultra Support?

2005-03-30 Thread EvilTwinkie
Question is what's the status of the driver support for the NForce4 Ultra
Chipset? I am planning on purchasing the below setup, and would like to use
a raid1 config. Any other issues??

 

Here's the setup.

 

Maxtor 6B250S0 250GB SATA150 7200rpm 16MB Hard Drive x2

 

Microstar K8N Neo4 Platinum Socket 939 AMD Athlon 64

SATA 1.0 Sil3114, Sil3124-1

SATA 2.0 Sil3124-2

 

This is the link to the Linux Drivers From MFG

http://www.siliconimage.com/support/downloadresults.aspx?pid=27
 &bios=0&drivers=0&sataraid=0&

 

Linux Status

http://linux.yyz.us/sata/sata-status.html#sii3124


Silicon Image 3124


Summary: Full TCQ/NCQ support, with full SATA control including hotplug and
PM. 

libata driver status: early review driver available. 

 

 

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


Re: Packages Corrupted

2005-03-30 Thread Abu Khaled
On Thu, 31 Mar 2005 07:18:54 +0200, KP <[EMAIL PROTECTED]> wrote:
> 
> - Original Message -
> From: "Abu Khaled" <[EMAIL PROTECTED]>
> To: "KP" <[EMAIL PROTECTED]>
> Cc: "Michael C. Shultz" <[EMAIL PROTECTED]>;
> 
> Sent: Thursday, March 31, 2005 6:58 AM
> Subject: Re: Packages Corrupted
> 
> > On Thu, 31 Mar 2005 06:55:22 +0200, KP <[EMAIL PROTECTED]> wrote:
> > > - Original Message -
> > > From: "Michael C. Shultz" <[EMAIL PROTECTED]>
> > > To: 
> > > Sent: Thursday, March 31, 2005 6:42 AM
> > > Subject: Re: Packages Corrupted
> > >
> > > > On Wednesday 30 March 2005 08:27 pm, KP wrote:
> > > > > I installed apache, php and mysql with pkg_add, unfortunately I
> > > > > messed up the directory /var/db during moving and linking. Now when
> I
> > > > > pkg_delete or pkg_add any php related packages, always got the error
> > > > > message: "the package info for package 'pkg' is corrupt", tried
> > > > > "pkgdb -F" and it didn't work. This is a new server running 5.3
> > > > > release, just installed serveral packages, but with the error
> > > > > message, I feel the system totally corrupted. Is it possible to fix
> > > > > this? Many thanks in advance!
> > > > > Kevin
> > > >
> > > > If /var/db is "messed up" there is no way to know which installed
> > > > package is associated with which port.  If you don't see any package
> > > > names listed under /var/db/pkg they are as good as not being installed
> > > > as far as the ports system is concerned. You should never fool with
> > > > anything under /var/db/pkg, always leave that to the ports system to
> > > > handle. What is the status of  /var/db/pkg now? Are there any package
> > > > names listed in it?
> > > >
> > > > -Mike
> > >
> > > Thanks for your reply, Mike.
> > > /var/db/pkg looks good
> > > # ls
> > > apache-1.3.33   mysql-client-4.0.21 php4-pcre-4.3.9
> > > pkgdb.db
> > > bison-1.75_2perl-5.8.5  php4-posix-4.3.9
> > > portupgrade-20041226_1
> > > cvsup-without-gui-16.1h php4-bz2-4.3.9  php4-session-4.3.9
> > > ruby-1.8.2_3
> > > expat-1.95.8php4-ctype-4.3.9php4-tokenizer-4.3.9
> > > ruby18-bdb1-0.2.2
> > > gettext-0.13.1_1php4-extensions-1.0 php4-xml-4.3.9
> > > unixbench-4.1.0
> > > libiconv-1.9.2_1php4-mysql-4.3.9php4-zlib-4.3.9
> > > m4-1.4.1php4-overload-4.3.9 pkg
> > >
> > > But If I try to delete a package, it will go to the error message in the
> > > end.
> > >
> > > # pkg_delete php4-xml-4.3.9
> > > pkg_delete: package 'php4-xml-4.3.9' is required by these other packages
> and
> > > may not be deinstalled: php4-extensions-1.0
> > >
> > > # pkg_delete php4-extensions-1.0
> > > pkg_delete: the package info for package 'pkg' is corrupt
> > > pkg_delete: the package info for package 'pkg' is corrupt
> > > pkg_delete: the package info for package 'pkg' is corrupt
> > > pkg_delete: the package info for package 'pkg' is corrupt
> > > pkg_delete: the package info for package 'pkg' is corrupt
> > > pkg_delete: the package info for package 'pkg' is corrupt
> > > pkg_delete: the package info for package 'pkg' is corrupt
> > > pkg_delete: the package info for package 'pkg' is corrupt
> > > pkg_delete: the package info for package 'pkg' is corrupt
> > > pkg_delete: the package info for package 'pkg' is corrupt
> > > pkg_delete: the package info for package 'pkg' is corrupt
> > > pkg_delete: the package info for package 'pkg' is corrupt
> > > pkg_delete: the package info for package 'pkg' is corrupt
> > > pkg_delete: the package info for package 'pkg' is corrupt
> > >
> > >
> > > ___
> > > freebsd-questions@freebsd.org mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> > >
> >
> > Is pkg in /var/db/pkg/ a file or directory how did it end up there.
> >
> > --
> > Kind regards
> > Abu Khaled
> 
> > On Thu, 31 Mar 2005 06:55:22 +0200, KP <[EMAIL PROTECTED]> wrote:
> > > - Original Message -
> > > From: "Michael C. Shultz" <[EMAIL PROTECTED]>
> > > To: 
> > > Sent: Thursday, March 31, 2005 6:42 AM
> > > Subject: Re: Packages Corrupted
> > >
> > > > On Wednesday 30 March 2005 08:27 pm, KP wrote:
> > > > > I installed apache, php and mysql with pkg_add, unfortunately I
> > > > > messed up the directory /var/db during moving and linking. Now when
> I
> > > > > pkg_delete or pkg_add any php related packages, always got the error
> > > > > message: "the package info for package 'pkg' is corrupt", tried
> > > > > "pkgdb -F" and it didn't work. This is a new server running 5.3
> > > > > release, just installed serveral packages, but with the error
> > > > > message, I feel the system totally corrupted. Is it possible to fix
> > > > > this? Many thanks in advance!
> > > > > Kevin
> > > >
> > > > If /var/db is "messed up" there is no way to know which installed
> > > > package is associated with whi

Re: Packages Corrupted

2005-03-30 Thread KP

- Original Message - 
From: "Abu Khaled" <[EMAIL PROTECTED]>
To: "KP" <[EMAIL PROTECTED]>
Cc: "Michael C. Shultz" <[EMAIL PROTECTED]>;

Sent: Thursday, March 31, 2005 6:58 AM
Subject: Re: Packages Corrupted


> On Thu, 31 Mar 2005 06:55:22 +0200, KP <[EMAIL PROTECTED]> wrote:
> > - Original Message -
> > From: "Michael C. Shultz" <[EMAIL PROTECTED]>
> > To: 
> > Sent: Thursday, March 31, 2005 6:42 AM
> > Subject: Re: Packages Corrupted
> >
> > > On Wednesday 30 March 2005 08:27 pm, KP wrote:
> > > > I installed apache, php and mysql with pkg_add, unfortunately I
> > > > messed up the directory /var/db during moving and linking. Now when
I
> > > > pkg_delete or pkg_add any php related packages, always got the error
> > > > message: "the package info for package 'pkg' is corrupt", tried
> > > > "pkgdb -F" and it didn't work. This is a new server running 5.3
> > > > release, just installed serveral packages, but with the error
> > > > message, I feel the system totally corrupted. Is it possible to fix
> > > > this? Many thanks in advance!
> > > > Kevin
> > >
> > > If /var/db is "messed up" there is no way to know which installed
> > > package is associated with which port.  If you don't see any package
> > > names listed under /var/db/pkg they are as good as not being installed
> > > as far as the ports system is concerned. You should never fool with
> > > anything under /var/db/pkg, always leave that to the ports system to
> > > handle. What is the status of  /var/db/pkg now? Are there any package
> > > names listed in it?
> > >
> > > -Mike
> >
> > Thanks for your reply, Mike.
> > /var/db/pkg looks good
> > # ls
> > apache-1.3.33   mysql-client-4.0.21 php4-pcre-4.3.9
> > pkgdb.db
> > bison-1.75_2perl-5.8.5  php4-posix-4.3.9
> > portupgrade-20041226_1
> > cvsup-without-gui-16.1h php4-bz2-4.3.9  php4-session-4.3.9
> > ruby-1.8.2_3
> > expat-1.95.8php4-ctype-4.3.9php4-tokenizer-4.3.9
> > ruby18-bdb1-0.2.2
> > gettext-0.13.1_1php4-extensions-1.0 php4-xml-4.3.9
> > unixbench-4.1.0
> > libiconv-1.9.2_1php4-mysql-4.3.9php4-zlib-4.3.9
> > m4-1.4.1php4-overload-4.3.9 pkg
> >
> > But If I try to delete a package, it will go to the error message in the
> > end.
> >
> > # pkg_delete php4-xml-4.3.9
> > pkg_delete: package 'php4-xml-4.3.9' is required by these other packages
and
> > may not be deinstalled: php4-extensions-1.0
> >
> > # pkg_delete php4-extensions-1.0
> > pkg_delete: the package info for package 'pkg' is corrupt
> > pkg_delete: the package info for package 'pkg' is corrupt
> > pkg_delete: the package info for package 'pkg' is corrupt
> > pkg_delete: the package info for package 'pkg' is corrupt
> > pkg_delete: the package info for package 'pkg' is corrupt
> > pkg_delete: the package info for package 'pkg' is corrupt
> > pkg_delete: the package info for package 'pkg' is corrupt
> > pkg_delete: the package info for package 'pkg' is corrupt
> > pkg_delete: the package info for package 'pkg' is corrupt
> > pkg_delete: the package info for package 'pkg' is corrupt
> > pkg_delete: the package info for package 'pkg' is corrupt
> > pkg_delete: the package info for package 'pkg' is corrupt
> > pkg_delete: the package info for package 'pkg' is corrupt
> > pkg_delete: the package info for package 'pkg' is corrupt
> >
> >
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
> >
>
> Is pkg in /var/db/pkg/ a file or directory how did it end up there.
>
> -- 
> Kind regards
> Abu Khaled

> On Thu, 31 Mar 2005 06:55:22 +0200, KP <[EMAIL PROTECTED]> wrote:
> > - Original Message -
> > From: "Michael C. Shultz" <[EMAIL PROTECTED]>
> > To: 
> > Sent: Thursday, March 31, 2005 6:42 AM
> > Subject: Re: Packages Corrupted
> >
> > > On Wednesday 30 March 2005 08:27 pm, KP wrote:
> > > > I installed apache, php and mysql with pkg_add, unfortunately I
> > > > messed up the directory /var/db during moving and linking. Now when
I
> > > > pkg_delete or pkg_add any php related packages, always got the error
> > > > message: "the package info for package 'pkg' is corrupt", tried
> > > > "pkgdb -F" and it didn't work. This is a new server running 5.3
> > > > release, just installed serveral packages, but with the error
> > > > message, I feel the system totally corrupted. Is it possible to fix
> > > > this? Many thanks in advance!
> > > > Kevin
> > >
> > > If /var/db is "messed up" there is no way to know which installed
> > > package is associated with which port.  If you don't see any package
> > > names listed under /var/db/pkg they are as good as not being installed
> > > as far as the ports system is concerned. You should never fool with
> > > anything under /var/db/pkg, always leave that to the ports system to
> > > handle. What is th

Re: Packages Corrupted

2005-03-30 Thread Michael C. Shultz
On Wednesday 30 March 2005 08:55 pm, you wrote:
> - Original Message -
> From: "Michael C. Shultz" <[EMAIL PROTECTED]>
> To: 
> Sent: Thursday, March 31, 2005 6:42 AM
> Subject: Re: Packages Corrupted
>
> > On Wednesday 30 March 2005 08:27 pm, KP wrote:
> > > I installed apache, php and mysql with pkg_add, unfortunately I
> > > messed up the directory /var/db during moving and linking. Now
> > > when I pkg_delete or pkg_add any php related packages, always got
> > > the error message: "the package info for package 'pkg' is
> > > corrupt", tried "pkgdb -F" and it didn't work. This is a new
> > > server running 5.3 release, just installed serveral packages, but
> > > with the error message, I feel the system totally corrupted. Is
> > > it possible to fix this? Many thanks in advance!
> > > Kevin
> >
> > If /var/db is "messed up" there is no way to know which installed
> > package is associated with which port.  If you don't see any
> > package names listed under /var/db/pkg they are as good as not
> > being installed as far as the ports system is concerned. You should
> > never fool with anything under /var/db/pkg, always leave that to
> > the ports system to handle. What is the status of  /var/db/pkg now?
> > Are there any package names listed in it?
> >
> > -Mike
>
> Thanks for your reply, Mike.
> /var/db/pkg looks good
> # ls
> apache-1.3.33   mysql-client-4.0.21 php4-pcre-4.3.9
> pkgdb.db
> bison-1.75_2perl-5.8.5  php4-posix-4.3.9
> portupgrade-20041226_1
> cvsup-without-gui-16.1h php4-bz2-4.3.9  php4-session-4.3.9
> ruby-1.8.2_3
> expat-1.95.8php4-ctype-4.3.9php4-tokenizer-4.3.9
> ruby18-bdb1-0.2.2
> gettext-0.13.1_1php4-extensions-1.0 php4-xml-4.3.9
> unixbench-4.1.0
> libiconv-1.9.2_1php4-mysql-4.3.9php4-zlib-4.3.9
> m4-1.4.1php4-overload-4.3.9 pkg
>
> But If I try to delete a package, it will go to the error message in
> the end.
>
> # pkg_delete php4-xml-4.3.9
> pkg_delete: package 'php4-xml-4.3.9' is required by these other
> packages and may not be deinstalled: php4-extensions-1.0
>
> # pkg_delete php4-extensions-1.0
> pkg_delete: the package info for package 'pkg' is corrupt
> pkg_delete: the package info for package 'pkg' is corrupt
> pkg_delete: the package info for package 'pkg' is corrupt
> pkg_delete: the package info for package 'pkg' is corrupt
> pkg_delete: the package info for package 'pkg' is corrupt
> pkg_delete: the package info for package 'pkg' is corrupt
> pkg_delete: the package info for package 'pkg' is corrupt
> pkg_delete: the package info for package 'pkg' is corrupt
> pkg_delete: the package info for package 'pkg' is corrupt
> pkg_delete: the package info for package 'pkg' is corrupt
> pkg_delete: the package info for package 'pkg' is corrupt
> pkg_delete: the package info for package 'pkg' is corrupt
> pkg_delete: the package info for package 'pkg' is corrupt
> pkg_delete: the package info for package 'pkg' is corrupt

To go a step further, please post about the first 15 lines of

/var/db/pkg/php4-extensions-1.0/+CONTENTS

from that I should be able to explain why you are getting
the errors.

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


Re: Packages Corrupted

2005-03-30 Thread Abu Khaled
On Thu, 31 Mar 2005 06:55:22 +0200, KP <[EMAIL PROTECTED]> wrote:
> - Original Message -
> From: "Michael C. Shultz" <[EMAIL PROTECTED]>
> To: 
> Sent: Thursday, March 31, 2005 6:42 AM
> Subject: Re: Packages Corrupted
> 
> > On Wednesday 30 March 2005 08:27 pm, KP wrote:
> > > I installed apache, php and mysql with pkg_add, unfortunately I
> > > messed up the directory /var/db during moving and linking. Now when I
> > > pkg_delete or pkg_add any php related packages, always got the error
> > > message: "the package info for package 'pkg' is corrupt", tried
> > > "pkgdb -F" and it didn't work. This is a new server running 5.3
> > > release, just installed serveral packages, but with the error
> > > message, I feel the system totally corrupted. Is it possible to fix
> > > this? Many thanks in advance!
> > > Kevin
> >
> > If /var/db is "messed up" there is no way to know which installed
> > package is associated with which port.  If you don't see any package
> > names listed under /var/db/pkg they are as good as not being installed
> > as far as the ports system is concerned. You should never fool with
> > anything under /var/db/pkg, always leave that to the ports system to
> > handle. What is the status of  /var/db/pkg now? Are there any package
> > names listed in it?
> >
> > -Mike
> 
> Thanks for your reply, Mike.
> /var/db/pkg looks good
> # ls
> apache-1.3.33   mysql-client-4.0.21 php4-pcre-4.3.9
> pkgdb.db
> bison-1.75_2perl-5.8.5  php4-posix-4.3.9
> portupgrade-20041226_1
> cvsup-without-gui-16.1h php4-bz2-4.3.9  php4-session-4.3.9
> ruby-1.8.2_3
> expat-1.95.8php4-ctype-4.3.9php4-tokenizer-4.3.9
> ruby18-bdb1-0.2.2
> gettext-0.13.1_1php4-extensions-1.0 php4-xml-4.3.9
> unixbench-4.1.0
> libiconv-1.9.2_1php4-mysql-4.3.9php4-zlib-4.3.9
> m4-1.4.1php4-overload-4.3.9 pkg
> 
> But If I try to delete a package, it will go to the error message in the
> end.
> 
> # pkg_delete php4-xml-4.3.9
> pkg_delete: package 'php4-xml-4.3.9' is required by these other packages and
> may not be deinstalled: php4-extensions-1.0
> 
> # pkg_delete php4-extensions-1.0
> pkg_delete: the package info for package 'pkg' is corrupt
> pkg_delete: the package info for package 'pkg' is corrupt
> pkg_delete: the package info for package 'pkg' is corrupt
> pkg_delete: the package info for package 'pkg' is corrupt
> pkg_delete: the package info for package 'pkg' is corrupt
> pkg_delete: the package info for package 'pkg' is corrupt
> pkg_delete: the package info for package 'pkg' is corrupt
> pkg_delete: the package info for package 'pkg' is corrupt
> pkg_delete: the package info for package 'pkg' is corrupt
> pkg_delete: the package info for package 'pkg' is corrupt
> pkg_delete: the package info for package 'pkg' is corrupt
> pkg_delete: the package info for package 'pkg' is corrupt
> pkg_delete: the package info for package 'pkg' is corrupt
> pkg_delete: the package info for package 'pkg' is corrupt
> 
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

Is pkg in /var/db/pkg/ a file or directory how did it end up there.

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


Re: Packages Corrupted

2005-03-30 Thread KP
- Original Message - 
From: "Michael C. Shultz" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, March 31, 2005 6:42 AM
Subject: Re: Packages Corrupted


> On Wednesday 30 March 2005 08:27 pm, KP wrote:
> > I installed apache, php and mysql with pkg_add, unfortunately I
> > messed up the directory /var/db during moving and linking. Now when I
> > pkg_delete or pkg_add any php related packages, always got the error
> > message: "the package info for package 'pkg' is corrupt", tried
> > "pkgdb -F" and it didn't work. This is a new server running 5.3
> > release, just installed serveral packages, but with the error
> > message, I feel the system totally corrupted. Is it possible to fix
> > this? Many thanks in advance!
> > Kevin
>
> If /var/db is "messed up" there is no way to know which installed
> package is associated with which port.  If you don't see any package
> names listed under /var/db/pkg they are as good as not being installed
> as far as the ports system is concerned. You should never fool with
> anything under /var/db/pkg, always leave that to the ports system to
> handle. What is the status of  /var/db/pkg now? Are there any package
> names listed in it?
>
> -Mike

Thanks for your reply, Mike.
/var/db/pkg looks good
# ls
apache-1.3.33   mysql-client-4.0.21 php4-pcre-4.3.9
pkgdb.db
bison-1.75_2perl-5.8.5  php4-posix-4.3.9
portupgrade-20041226_1
cvsup-without-gui-16.1h php4-bz2-4.3.9  php4-session-4.3.9
ruby-1.8.2_3
expat-1.95.8php4-ctype-4.3.9php4-tokenizer-4.3.9
ruby18-bdb1-0.2.2
gettext-0.13.1_1php4-extensions-1.0 php4-xml-4.3.9
unixbench-4.1.0
libiconv-1.9.2_1php4-mysql-4.3.9php4-zlib-4.3.9
m4-1.4.1php4-overload-4.3.9 pkg

But If I try to delete a package, it will go to the error message in the
end.

# pkg_delete php4-xml-4.3.9
pkg_delete: package 'php4-xml-4.3.9' is required by these other packages and
may not be deinstalled: php4-extensions-1.0

# pkg_delete php4-extensions-1.0
pkg_delete: the package info for package 'pkg' is corrupt
pkg_delete: the package info for package 'pkg' is corrupt
pkg_delete: the package info for package 'pkg' is corrupt
pkg_delete: the package info for package 'pkg' is corrupt
pkg_delete: the package info for package 'pkg' is corrupt
pkg_delete: the package info for package 'pkg' is corrupt
pkg_delete: the package info for package 'pkg' is corrupt
pkg_delete: the package info for package 'pkg' is corrupt
pkg_delete: the package info for package 'pkg' is corrupt
pkg_delete: the package info for package 'pkg' is corrupt
pkg_delete: the package info for package 'pkg' is corrupt
pkg_delete: the package info for package 'pkg' is corrupt
pkg_delete: the package info for package 'pkg' is corrupt
pkg_delete: the package info for package 'pkg' is corrupt



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


Re: Packages Corrupted

2005-03-30 Thread KP
My first message is inaccturate, it seems all packages has the same problem.
For example:

# pkg_delete wget-1.8.2_6
pkg_delete: the package info for package 'pkg' is corrupt
pkg_delete: the package info for package 'pkg' is corrupt
pkg_delete: the package info for package 'pkg' is corrupt

# pkg_info | grep mysql
pkg_info: the package info for package 'pkg' is corrupt
mysql-client-4.0.21 Multithreaded SQL database (client)
php4-mysql-4.3.9The mysql shared extension for php

Is it possible to remove all installed packages and start over? Thanks!


- Original Message - 
From: "KP" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, March 31, 2005 6:27 AM
Subject: Packages Corrupted


> I installed apache, php and mysql with pkg_add, unfortunately I messed up
> the directory /var/db during moving and linking. Now when I pkg_delete or
> pkg_add any php related packages, always got the error message: "the
package
> info for package 'pkg' is corrupt", tried "pkgdb -F" and it didn't work.
> This is a new server running 5.3 release, just installed serveral
packages,
> but with the error message, I feel the system totally corrupted. Is it
> possible to fix this? Many thanks in advance!
> Kevin



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


Re: Packages Corrupted

2005-03-30 Thread Michael C. Shultz
On Wednesday 30 March 2005 08:27 pm, KP wrote:
> I installed apache, php and mysql with pkg_add, unfortunately I
> messed up the directory /var/db during moving and linking. Now when I
> pkg_delete or pkg_add any php related packages, always got the error
> message: "the package info for package 'pkg' is corrupt", tried
> "pkgdb -F" and it didn't work. This is a new server running 5.3
> release, just installed serveral packages, but with the error
> message, I feel the system totally corrupted. Is it possible to fix
> this? Many thanks in advance!
> Kevin

If /var/db is "messed up" there is no way to know which installed
package is associated with which port.  If you don't see any package 
names listed under /var/db/pkg they are as good as not being installed
as far as the ports system is concerned. You should never fool with
anything under /var/db/pkg, always leave that to the ports system to 
handle. What is the status of  /var/db/pkg now? Are there any package
names listed in it?

-Mike



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


Packages Corrupted

2005-03-30 Thread KP
I installed apache, php and mysql with pkg_add, unfortunately I messed up
the directory /var/db during moving and linking. Now when I pkg_delete or
pkg_add any php related packages, always got the error message: "the package
info for package 'pkg' is corrupt", tried "pkgdb -F" and it didn't work.
This is a new server running 5.3 release, just installed serveral packages,
but with the error message, I feel the system totally corrupted. Is it
possible to fix this? Many thanks in advance!
Kevin


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


Problem with PF

2005-03-30 Thread Pat Maddox
I'm trying to set up PF on a server, and when I run pfctl -nf
/etc/pf.conf, I get the following error:
pfctl: ifa_load: pfi_get_ifaces: Bad file descriptor

Google doesn't come up with anything, I've got no clue what that is.  Any help?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: quick uname question

2005-03-30 Thread markzero
(accidentally didn't CC the list...)

> That's the counter of how many times you have recompiled the kernel.
> In this example you are running the default kernel that is installed
> from cd.

Actually, this is a fresh recompilation but it's the first (and
hopefully only) one of 5.3p6. Thanks for the info anyway, I've been
wondering what that actually meant for quite some time...

Mark

-- 
PGP: http://www.darklogik.org/pub/pgp/pgp.txt
B776 43DC 8A5D EAF9 2126 9A67 A7DA 390F DEFF 9DD1


pgpXO43T7G6MY.pgp
Description: PGP signature


Re: syslog/postfix question

2005-03-30 Thread Kurt Buff
John Pettitt wrote:
Kurt Buff wrote:

I've been perusing man syslog and man syslog.conf, and haven't gotten
my mind quite wrapped around it yet.
I have 4 FBSD 5.3 servers on my network, each running postfix 2.x. One
is a mail gateway to our Exchange server, the others are just using
postifx for mailing out the daily/weekly/monthly/security logs, while
they perform their other duties.
I want to have the normal logging (in this case /var/log/messages and
/var/log/maillog) happen both locally and sent to a remote syslog server.
I haven't yet modified syslog.conf on any of these machines.
Am I correct in believing that all I have to do to make this happen is
uncomment the line that says:
#*.*@loghost
and change @loghost to match my syslog server? That is, along with
making sure that name resolution works correctly, of course.

On the sending end that's it.  On the receiving host you need to make
sure syslogd has the correct setting to receive the log packets.   There
are security upsides and downside to doing what you propose.
Upside: logs are on a different box - hopefully a secure one - so you
have a record of attacks against the other boxes.
Downside: log packets are unencrypted UDP so a black hat may be able to
sniff them and learn about system configuration.
In the end I think the upside wins.
John
That's what I needed to hear. I've been aware of the risks for a while - 
I've got a syslogging client on my Windows servers. I want the 
centralization - it makes research just that much easier.

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


Re: wmv to avi

2005-03-30 Thread Tim Aslat
In the immortal words of Gert Cuykens <[EMAIL PROTECTED]>...
> is there a tool you can convert wmv mov rm to something standaart ?
> what about mpeg to something smaller ?
> can mplayer do this ?
> 
> PS is totem better then mplayer ?

For starters, there are a number of tools you can use.  I have a
preference for transcode, mencoder does a nice job as well. 

look in the ports collection under multimedia.

Cheers

Tim

-- 
Tim Aslat <[EMAIL PROTECTED]>
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 8 84193434
Mobile: +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: syslog/postfix question

2005-03-30 Thread John Pettitt


Kurt Buff wrote:

> I've been perusing man syslog and man syslog.conf, and haven't gotten
> my mind quite wrapped around it yet.
>
> I have 4 FBSD 5.3 servers on my network, each running postfix 2.x. One
> is a mail gateway to our Exchange server, the others are just using
> postifx for mailing out the daily/weekly/monthly/security logs, while
> they perform their other duties.
>
> I want to have the normal logging (in this case /var/log/messages and
> /var/log/maillog) happen both locally and sent to a remote syslog server.
>
> I haven't yet modified syslog.conf on any of these machines.
>
> Am I correct in believing that all I have to do to make this happen is
> uncomment the line that says:
>
> #*.*@loghost
>
> and change @loghost to match my syslog server? That is, along with
> making sure that name resolution works correctly, of course.
>
>
On the sending end that's it.  On the receiving host you need to make
sure syslogd has the correct setting to receive the log packets.   There
are security upsides and downside to doing what you propose.

Upside: logs are on a different box - hopefully a secure one - so you
have a record of attacks against the other boxes.

Downside: log packets are unencrypted UDP so a black hat may be able to
sniff them and learn about system configuration.

In the end I think the upside wins.

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


wmv to avi

2005-03-30 Thread Gert Cuykens
is there a tool you can convert wmv mov rm to something standaart ?
what about mpeg to something smaller ?
can mplayer do this ?

PS is totem better then mplayer ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


syslog/postfix question

2005-03-30 Thread Kurt Buff
I've been perusing man syslog and man syslog.conf, and haven't gotten my 
mind quite wrapped around it yet.

I have 4 FBSD 5.3 servers on my network, each running postfix 2.x. One 
is a mail gateway to our Exchange server, the others are just using 
postifx for mailing out the daily/weekly/monthly/security logs, while 
they perform their other duties.

I want to have the normal logging (in this case /var/log/messages and 
/var/log/maillog) happen both locally and sent to a remote syslog server.

I haven't yet modified syslog.conf on any of these machines.
Am I correct in believing that all I have to do to make this happen is 
uncomment the line that says:

#*.*@loghost
and change @loghost to match my syslog server? That is, along with 
making sure that name resolution works correctly, of course.

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


Re: Sound Editors

2005-03-30 Thread Tom Vilot
> Audacity is pretty good (audio/audacity in the ports collection).

I second that.

Audacity is just fine.

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


Re: Restart Networks

2005-03-30 Thread Tom Vilot

> > On linux variants, you can run a command like:
> > /etc/init.d/network restart
> > that will restart network serverices ie, reinitialize ifconfig setup, reload
> > IPs for a local NIC.
> > 
> > Does anyone know if there is a similar command or command set in
> > FreeBSD?

You can also try just restarting the interface. On my laptop, for
example, running FreeBSD 5.3, I re-start the ndis based network
interface thusly:

/etc/rc.d/ndis restart

where that script is:

--
#!/bin/sh
# By Mario S. 2004

# PROVIDE: ndis
# KEYWORD: FreeBSD

. /etc/rc.subr

name="ndis"
start_precmd=""
stop_precmd=""
start_cmd="ndis_yastart"
stop_cmd="ndis_yastop"


ndis_yastart()
{
echo "Starting NDIS network driver: "
sysctl dev.ndis.0.SSID="myssid"
ifconfig ndis0 192.168.1.234
route add default 192.168.1.1
echo "Done"
}

ndis_yastop()
{
ifconfig ndis0 down
kldunload if_ndis
killall dhclient
}

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


Re: ssh - restricted shell

2005-03-30 Thread Juan Sanchez
Couldn't you put everyone else into the same group, except for the 
outsider?  Then you could make secret directories -rwx.  Directories 
without execute permission cannot be listed.

Regards,
Juan
On Wed, 30 Mar 2005, Duane Winner wrote:
Hello,
Does anybody know the best technique to accomplish this:
We have a server that we use for mostly internal development, and run an SSH 
server.

We have an outsider who we want to allow to ssh into this server and do some 
work.

However, because he is an outsider, we don't want him roaming around our 
server, moving, looking, doing, or anything outside of his own home 
directory.

How can I restrict him to his own home directory?
I thought I ran into instructions once for doing this, but I can't find 
anything right now.

Or was I thinking of scponly ?
That might do it, except we do need to set him up to to run some scripts 
within his home directory after he uploads stuff via scp.

Thanks,
DW
___
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]"


ports compile error cvsup (libtool15)

2005-03-30 Thread Gert Cuykens
I installed 5.3 base and ports on a new pc. Then i wanted to install
cvsup-without-gui but it gives me a compile error at libtool15 ?

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


Re: quick uname question

2005-03-30 Thread FreeBSD questions mailing list
On 31 mrt 2005, at 03:27, markzero wrote:
$ uname -v
FreeBSD 5.3-RELEASE-p6 #0: Thu Mar 31 01:41:53 BST 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/L05
What exactly does the #0 signify?
I think it shows it';s the first time you compiled this release and 
patch
Arno

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


fdisk -B -b /boot/boot0 device

2005-03-30 Thread Gert Cuykens
Is boot0 a bootmanager ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: quick uname question

2005-03-30 Thread bob
That's the counter of how many times you have recompiled the kernel.
In this example you are running the default kernel that is installed
from cd.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of markzero
Sent: Wednesday, March 30, 2005 8:27 PM
To: freebsd-questions@freebsd.org
Subject: quick uname question

$ uname -v
FreeBSD 5.3-RELEASE-p6 #0: Thu Mar 31 01:41:53 BST 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/L05

What exactly does the #0 signify?

Mark

--
PGP: http://www.darklogik.org/pub/pgp/pgp.txt
B776 43DC 8A5D EAF9 2126 9A67 A7DA 390F DEFF 9DD1

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


quick uname question

2005-03-30 Thread markzero
$ uname -v
FreeBSD 5.3-RELEASE-p6 #0: Thu Mar 31 01:41:53 BST 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/L05

What exactly does the #0 signify?

Mark

-- 
PGP: http://www.darklogik.org/pub/pgp/pgp.txt
B776 43DC 8A5D EAF9 2126 9A67 A7DA 390F DEFF 9DD1


pgpoQ3y827fBB.pgp
Description: PGP signature


Re: help setting up dhcp client

2005-03-30 Thread Abu Khaled
On Wed, 30 Mar 2005 19:48:50 -0500, Antoine Solomon
<[EMAIL PROTECTED]> wrote:
> I had it just like th is
> ifconfig_dc0="DHCP"
> 
> 
> On Thu, 31 Mar 2005 02:21:52 +0200, Abu Khaled <[EMAIL PROTECTED]> wrote:
> > On Wed, 30 Mar 2005 18:57:00 -0500, Antoine Solomon
> > <[EMAIL PROTECTED]> wrote:
> > > hello all,
> > >
> > > My cable provider just changed my ip address and for some reason my
> > > dhcp client is unable to pick that ip address up or netmask up.   I
> > > tried using ifconfig inet "my ipaddress" netmask "255.255.255.0" but
> > > no luck.I also tried oneof my windows systems and it seemed to
> > > pick it up fine.   Can anyone help?
> > >
> > > --
> > > Antoine W. Solomon Jr.
> > > ___
> > > freebsd-questions@freebsd.org mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> > >
> >
> > Try this
> >
> > # dhclient 
> >
> > you can also add it to /etc/rc.conf
> > ifconfig_="DHCP"
> >
> > --
> > Kind regards
> > Abu Khaled
> >
> 
> --
> Antoine W. Solomon Jr.
> 

Try this
# dhclient -r dc0
# dhclient -v dc0
and check the results
also check the file /var/db/dhclient.leases

PS: Do you have a firewall configured?

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


Re: kwik 1.

2005-03-30 Thread Gary Kline
On Wed, Mar 30, 2005 at 09:05:52PM +0200, Roland Smith wrote:
> On Wed, Mar 30, 2005 at 11:00:35AM -0800, Gary Kline wrote:
> > 
> > Can I use dd to copy an *.exe file  from ~/ to my floppy;
> > then have present the file to a:\ under DOG?
> 
> No. If you use dd you'll screw up the floppy's "filesystem". Just mount
> the floppy with 'mount -t msdosfs /dev/fd0 ' and copy the
> file, or use mcopy from the mtools port.
> 

Thanks, gents.  I guess I'm being lazy, not wanting to 
install mtools--since, AFAIK, fdformat does a DOS-like
format.  mtools does work, tho... .

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: Restart Networks

2005-03-30 Thread Danny Pansters
On Thursday 31 March 2005 02:27, Grant Peel wrote:
> On linux variants, you can run a command like:
> /etc/init.d/network restart
> that will restart network serverices ie, reinitialize ifconfig setup,
> reload IPs for a local NIC.
>
> Does anyone know if there is a similar command or command set in FreeBSD?

Assuming you have 5.X: /etc/rc.d/netif

HTH,

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


Re: Restart Networks

2005-03-30 Thread Abu Khaled
On Wed, 30 Mar 2005 19:27:06 -0500, Grant Peel <[EMAIL PROTECTED]> wrote:
> Hello all,
> 
> On linux variants, you can run a command like:
> /etc/init.d/network restart
> that will restart network serverices ie, reinitialize ifconfig setup, reload
> IPs for a local NIC.
> 
> Does anyone know if there is a similar command or command set in FreeBSD?
> 
> -GRant
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

Well I don't remember the last time I needed to do that but try
# /etc/netstart

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


Restart Networks

2005-03-30 Thread Grant Peel
Hello all,
On linux variants, you can run a command like:
/etc/init.d/network restart
that will restart network serverices ie, reinitialize ifconfig setup, reload 
IPs for a local NIC.

Does anyone know if there is a similar command or command set in FreeBSD?
-GRant
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: help setting up dhcp client

2005-03-30 Thread Abu Khaled
On Wed, 30 Mar 2005 18:57:00 -0500, Antoine Solomon
<[EMAIL PROTECTED]> wrote:
> hello all,
> 
> My cable provider just changed my ip address and for some reason my
> dhcp client is unable to pick that ip address up or netmask up.   I
> tried using ifconfig inet "my ipaddress" netmask "255.255.255.0" but
> no luck.I also tried oneof my windows systems and it seemed to
> pick it up fine.   Can anyone help?
> 
> --
> Antoine W. Solomon Jr.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

Try this

# dhclient 

you can also add it to /etc/rc.conf
ifconfig_="DHCP"

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


help setting up dhcp client

2005-03-30 Thread Antoine Solomon
hello all, 

My cable provider just changed my ip address and for some reason my
dhcp client is unable to pick that ip address up or netmask up.   I
tried using ifconfig inet "my ipaddress" netmask "255.255.255.0" but
no luck.I also tried oneof my windows systems and it seemed to
pick it up fine.   Can anyone help?

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


Re: ssh - restricted shell

2005-03-30 Thread Francisco Reyes
On Wed, 30 Mar 2005, Duane Winner wrote:
We have an outsider who we want to allow to ssh into this server and do some 
work.
Althougth I have never done it, you could search documentation on doin 
jails in FreeBSD.

I believe Bash has a restricted shell of some sort.
I also have seen restricted shells in Freshmeat.net (about 2 weeks ago saw 
one updated).

Based on my very limited knowledge of the topic I would say that 
restricted shell is the easiest, but jail is the safest.

--
http://stringsutils.com
Utility for developers. Compute length, MD5, CRC and more.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Hurd translators for FreeBSD (was Re: Mount a tar archive?)

2005-03-30 Thread cpghost
On Wed, Mar 30, 2005 at 11:40:55PM +0400, Andrew P. wrote:
> samba. It's a pity that FreeBSD doesn't have linuxish
> arcfs or tarmount, but that sort of thing is not really
> needed very often.

FWIW, the Hurd has a capability to attach a "translator"
anywhere on a file system. By "translator", they mean
a user land file system server. It's kind of mounting
a process instead of a device on an arbitrary mount
point. Actually, they borrowed and extended the idea
from BSD's portalfs!

If FreeBSD had something similar (e.g. by extending portalfs),
it would be quite easy to write a tarfs translator, at least
in read-only mode.

Of course, one could always write a kernel module for this the
classic Linux way, but it won't be so neat and flexible as a
user land application!

Regards,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Linux Compat - LIBSTDC++.SO.5 - Call Of Duty

2005-03-30 Thread Lawrence Lamprecht
Sorry guys,
I hope someone can help me. I am trying to get Dawrin Streaming Server 
running. When I try to start there server, I was getting an error 
"libstdc++.so.5" file not found. I have searched everywhere but cannot find 
any help. I found your site, so I tried what you suggested, NO I have an 
erros as follws "/usr/local/sbin/DarwinStreamingServer: 
/lib/libpthread.so.0: version `GLIBC_2.3.2' not found (required by 
/usr/local/sbin/DarwinStreamingServer)"

I hope some one can advise me. I am completely lost.
I am running Suse Linus 7.3
Thanks in advance.
Lawrence
_
MSN Search, for accurate results! http://search.msn.nl
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Experiences with touchscreens.

2005-03-30 Thread Kent Stewart
On Wednesday 30 March 2005 02:21 pm, Duo wrote:
> I searched through some of the hardware lists, and havent seen
> anything along the lines of this...
>
> Does anyone know if touchscreens work with FreeBSD? Does anyone have
> any experiences with these? I am very curious as to what to expect. I
> have some Elo Touch hardware, among others.
>
> I am open to ideas, suggestions, and paths to follow on this topic.
> =)
>

Have you ever had to count the number of letters in some line of text? 
Wait till you use a touch screen and the cursor starts following your 
finger. If you can get the count right, I will be really impressed :).

Kent

-- 
Kent Stewart
Richland, WA

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


Experiences with touchscreens.

2005-03-30 Thread Duo
I searched through some of the hardware lists, and havent seen anything 
along the lines of this...

Does anyone know if touchscreens work with FreeBSD? Does anyone have any 
experiences with these? I am very curious as to what to expect. I have 
some Elo Touch hardware, among others.

I am open to ideas, suggestions, and paths to follow on this topic. =)
--
Duo
Although the Buddhists will tell you that desire is the root of 
suffering, my personal experience leads me to point the finger at system 
administration.
	--Philip Greenspun

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


Re: ssh - restricted shell

2005-03-30 Thread daniel
On March 30, 2005 04:51 pm, daniel wrote:
> if you only want scp to work, then you can use this as the shell:
>   /usr/lib/misc/sftp-server

correction.  that was for gentoo-linux.  for freebsd, you can use:
  /usr/local/libexec/sftp-server
or
  /usr/libexec/sftp-server
depending on if you're using openssh from ports or from the base install

-- 
i would not be a capitalist, i would be a man;
you cannot be both at the same time.
   - eugene debs
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Fan speed control on compaq DL380 server

2005-03-30 Thread Aaron Sloan
Hi,
I'm having some problems finding good information on how to or if it is 
available
to control the fan speed on Proliant servers. I have found some links, 
but they
don't seem to lead to an answer.
I have installed /sysutils/freeipmi
Is this what I should be using?  I couldn't find a HCL for it.
I'm eating up a lot of time searching.
Any help would be appreciated.

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


Re: Problems with man

2005-03-30 Thread Lord Raiden
At 06:11 PM 3/30/05 +0300, Giorgos Keramidas wrote:
install -o root -g wheel -m 644 \
/usr/src/gnu/usr.bin/man/manpath/manpath.config \
/etc/manpath.config
Awesome, that worked.  Thanks!!
Steven Lake
-Owner/Webmaster
Raiden's Realm
www.raiden.net
Come see "Monk" the comic strip and laugh till you die!  :)
http://www.raiden.net/Monk/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ssh - restricted shell

2005-03-30 Thread daniel
On March 30, 2005 04:02 pm, Duane Winner wrote:
> Hello,
>
> Does anybody know the best technique to accomplish this:
>
> We have a server that we use for mostly internal development, and run an
> SSH server.
>
> We have an outsider who we want to allow to ssh into this server and do
> some work.
>
> However, because he is an outsider, we don't want him roaming around our
> server, moving, looking, doing, or anything outside of his own home
> directory.
>
> How can I restrict him to his own home directory?
>
> I thought I ran into instructions once for doing this, but I can't find
> anything right now.
>
> Or was I thinking of scponly ?
>
> That might do it, except we do need to set him up to to run some scripts
> within his home directory after he uploads stuff via scp.

if you only want scp to work, then you can use this as the shell:

  /usr/lib/misc/sftp-server

worked for me.  however, if they need a shell, you'll have to chroot() the 
shell and i don't know how to do that.  i've never bothered to learn 'cause 
i've heard that they're easy to break out of anyway.

-- 
the reasonable man adapts himself to the world;
the unreasonable man persists in trying to adapt the world to himself.
therefore, all progress depends on the unreasonable man.
  - george bernard shaw
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Mount a tar archive?

2005-03-30 Thread Josh Ockert
On Wed, 30 Mar 2005 23:40:55 +0400, Andrew P. <[EMAIL PROTECTED]> wrote:
> Danny Howard wrote:
> > Andrew P. wrote:
> >
> >> Hello!
> >>
> >> I have a 80G tar archive which I have nowhere to
> >> extract to. Could I mount it as a filesystem?
> >> Read-only would suffice.
> >
> >
> > Andrew,
> >
> > Short of that solution, why not tar -t to get a list of files in the
> > archive, then you can tar -x the files you actually want.
> >
> > You ought to be able to:
> > tar -t foo.tar > list.txt
> > edit list.txt
> > cat list.txt | xargs tar -x foo.tar
> >
> > -danny
> >
> 
> The archive is actually part of my music collection on
> a headless fileserver. I would like to share it with
> samba. It's a pity that FreeBSD doesn't have linuxish
> arcfs or tarmount, but that sort of thing is not really
> needed very often.
> 
> Thanks to all for your kind help!
> Andrew P.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 


Can't GNOME-vfs do this?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ssh - restricted shell

2005-03-30 Thread albi
On Wed, 30 Mar 2005 16:02:39 -0500
Duane Winner <[EMAIL PROTECTED]> wrote:

> We have a server that we use for mostly internal development, and run
> an  SSH server.
> 
> We have an outsider who we want to allow to ssh into this server and
> do  some work.

i'm a jail-fan, go for a "ssh-only-jail" :)

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


Re: ssh - restricted shell

2005-03-30 Thread wizlayer
On Wednesday 30 March 2005 04:02 pm, Duane Winner wrote:
> Hello,
>
> Does anybody know the best technique to accomplish this:
>
> We have a server that we use for mostly internal development,
> and run an SSH server.
>
> We have an outsider who we want to allow to ssh into this
> server and do some work.
>
> However, because he is an outsider, we don't want him roaming
> around our server, moving, looking, doing, or anything outside
> of his own home directory.
>
> How can I restrict him to his own home directory?
>
> I thought I ran into instructions once for doing this, but I
> can't find anything right now.
>
> Or was I thinking of scponly ?
>
> That might do it, except we do need to set him up to to run
> some scripts within his home directory after he uploads stuff
> via scp.
>
> Thanks,
> DW
>

DW,

I thought this was accomplished when initially setting up a user's 
account?  I'm under the impression that when a user clients sshd, 
s/he still can't go beyong the boundaries of his/her existing 
account on the server.  Of course: if $impression = "delusion" 
then someone _please_ correct me!  fi :O

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


Re: ssh - restricted shell

2005-03-30 Thread Roland Smith
On Wed, Mar 30, 2005 at 04:02:39PM -0500, Duane Winner wrote:
> Hello,
> 
> Does anybody know the best technique to accomplish this:
> 
> We have a server that we use for mostly internal development, and run an 
> SSH server.
> 
> We have an outsider who we want to allow to ssh into this server and do 
> some work.
> 
> However, because he is an outsider, we don't want him roaming around our 
> server, moving, looking, doing, or anything outside of his own home 
> directory.
> 
> How can I restrict him to his own home directory?

You could try using 'bash -r' as the shell for this user. The -r option
puts bash in "restricted" mode. See bash(1).

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


pgpsGrByDG0xn.pgp
Description: PGP signature


Re: Sound Editors

2005-03-30 Thread Miguel Mendez
On Wed, 30 Mar 2005 13:02:48 -0800
"Spiral Eyed Girl" <[EMAIL PROTECTED]> wrote:

> Can someone recommend X based sound editors from the ports collection? I am 
> used to using GoldWave on Win32, but now I don't know where to start.

Audacity is pretty good (audio/audacity in the ports collection).

Cheers,
-- 
Miguel Mendez <[EMAIL PROTECTED]>
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1



pgpFBkna9Xuwt.pgp
Description: PGP signature


ssh - restricted shell

2005-03-30 Thread Duane Winner
Hello,
Does anybody know the best technique to accomplish this:
We have a server that we use for mostly internal development, and run an 
SSH server.

We have an outsider who we want to allow to ssh into this server and do 
some work.

However, because he is an outsider, we don't want him roaming around our 
server, moving, looking, doing, or anything outside of his own home 
directory.

How can I restrict him to his own home directory?
I thought I ran into instructions once for doing this, but I can't find 
anything right now.

Or was I thinking of scponly ?
That might do it, except we do need to set him up to to run some scripts 
within his home directory after he uploads stuff via scp.

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


Sound Editors

2005-03-30 Thread Spiral Eyed Girl
Can someone recommend X based sound editors from the ports collection? I am 
used to using GoldWave on Win32, but now I don't know where to start.

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


System Panic (Trap 12)

2005-03-30 Thread James Nelson

I have posted this message to hackers but have not gotten a response.  I think 
this is networking related, but I don't know how to solve it?  Any ideas?

I am getting numerous panics.  It seems to be totally random with no 
bearing on load.  This is a dual proc. AMD 2600, 2 GB Ram.


I have included the where results of three seperate core files.

Please advise.

Thanks in advance.

FreeBSD sbftp.sc.emaglink.com 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #7: Mon Mar 
28 13:26:07 EST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SBFTP  i386



[GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: 
Undefined symbol "ps_pglobal_lookup"]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd".
#0  doadump () at pcpu.h:159
159 __asm __volatile("movl %%fs:0,%0" : "=r" (td));
(kgdb) where
#0  doadump () at pcpu.h:159
#1  0xc0627d67 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:410
#2  0xc06280bd in panic (fmt=0xc08275a2 "%s") at 
/usr/src/sys/kern/kern_shutdown.c:566
#3  0xc07deb14 in trap_fatal (frame=0xe4d73c5c, eva=2883669) at 
/usr/src/sys/i386/i386/trap.c:809
#4  0xc07de847 in trap_pfault (frame=0xe4d73c5c, usermode=0, eva=2883669) at 
/usr/src/sys/i386/i386/trap.c:727
#5  0xc07de45d in trap (frame=
  {tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = -1017036800, tf_esi = 
-1008433408, tf_ebp = -455656272, tf_isp = -455656312, tf_ebx = 2883655, tf_edx 
= 32, tf_ecx = 2883653, tf_eax = 2014, tf_trapno = 12, tf_err = 2, tf_eip = 
-1068330083, tf_cs = 8, tf_eflags = 66054, tf_esp = 2, tf_ss = -455671807}) at 
/usr/src/sys/i386/i386/trap.c:417
#6  0xc07cccba in calltrap () at /usr/src/sys/i386/i386/exception.s:140
#7  0x0018 in ?? ()
#8  0x0010 in ?? ()
#9  0x0010 in ?? ()
#10 0xc3614000 in ?? ()
#11 0xc3e48700 in ?? ()
#12 0xe4d73cb0 in ?? ()
#13 0xe4d73c88 in ?? ()
#14 0x002c0047 in ?? ()
#15 0x0020 in ?? ()
#16 0x002c0045 in ?? ()
#17 0x07de in ?? ()
#18 0x000c in ?? ()
#19 0x0002 in ?? ()
#20 0xc052939d in fxp_add_rfabuf (sc=0xc3614000, rxp=0xc3614610) at 
/usr/src/sys/dev/fxp/if_fxp.c:2288
#21 0xc05285ec in fxp_intr_body (sc=0xc3614000, ifp=0xc3614000, statack=16 
'\020', count=-1) at /usr/src/sys/dev/fxp/if_fxp.c:1682
#22 0xc05283d0 in fxp_intr (xsc=0xc3614000) at 
/usr/src/sys/dev/fxp/if_fxp.c:1555
#23 0xc0613d11 in ithread_loop (arg=0xc34f2600) at 
/usr/src/sys/kern/kern_intr.c:547
#24 0xc0612dad in fork_exit (callout=0xc0613bb8 , arg=0xc34f2600, 
frame=0xe4d73d48) at /usr/src/sys/kern/kern_fork.c:790
#25 0xc07ccd1c in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:209



#0  doadump () at pcpu.h:159
#1  0xc0627d67 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:410
#2  0xc06280bd in panic (fmt=0xc08275a2 "%s") at 
/usr/src/sys/kern/kern_shutdown.c:566
#3  0xc07deb14 in trap_fatal (frame=0xe4d73bb4, eva=3217033792) at 
/usr/src/sys/i386/i386/trap.c:809
#4  0xc07de847 in trap_pfault (frame=0xe4d73bb4, usermode=0, eva=3217033792) at 
/usr/src/sys/i386/i386/trap.c:727
#5  0xc07de45d in trap (frame=
  {tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = 32, tf_esi = -1017067520, 
tf_ebp = -455656364, tf_isp = -455656480, tf_ebx = 0, tf_edx = 0, tf_ecx = 
2686976, tf_eax = 656, tf_trapno = 12, tf_err = 0, tf_eip = -1065570907, tf_cs 
= 8, tf_eflags = 66070, tf_esp = -1064291104, tf_ss = 2689093}) at 
/usr/src/sys/i386/i386/trap.c:417
#6  0xc07cccba in calltrap () at /usr/src/sys/i386/i386/exception.s:140
#7  0x0018 in ?? ()
#8  0x0010 in ?? ()
#9  0x0010 in ?? ()
#10 0x0020 in ?? ()
#11 0xc360c800 in ?? ()
#12 0xe4d73c54 in ?? ()
#13 0xe4d73be0 in ?? ()
#14 0x in ?? ()
#15 0x in ?? ()
#16 0x0029 in ?? ()
#17 0x0290 in ?? ()
#18 0x000c in ?? ()
#19 0x in ?? ()
#20 0xc07cada5 in bus_dmamap_load_mbuf (dmat=0xc35d8e00, map=0xc3623340, 
m0=0xc3b2ad00, callback=0xc058f4b8 , callback_arg=0xe4d73c80, 
flags=1) at pmap.h:200
#21 0xc058ffe3 in re_newbuf (sc=0xc360c800, idx=32, m=0xc3b2ad00) at 
/usr/src/sys/dev/re/if_re.c:1403
#22 0xc05902f9 in re_rxeof (sc=0xc360c800) at /usr/src/sys/dev/re/if_re.c:1588
#23 0xc0590811 in re_intr (arg=0xc360c800) at /usr/src/sys/dev/re/if_re.c:1860
#24 0xc0613d11 in ithread_loop (arg=0xc34f2600) at 
/usr/src/sys/kern/kern_intr.c:547
#25 0xc0612dad in fork_exit (callout=0xc0613bb8 , arg=0xc34f2600, 
frame=0xe4d73d48) at /usr/src/sys/kern/kern_fork.c:790
#26 0xc07ccd1c in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:209



#0  doadump () at pcpu.h:159
#1  0xc0627d67 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:410
#2  0xc06280bd in panic (fmt=0xc08275a2 "%s") at 
/usr/src/sys/kern

Re: newbie who can't get support from xoasis

2005-03-30 Thread Kevin Kinsey
Chris Nye wrote:
after a YEAR of trying to get help from Xoasis, (They won't even call or 
email me back) I'm trying to resolve these issues myself.

Sorry there are a bunch of questions. I would really appreciate it if 
someone can point me in the right direction. I've bought a couple of books 
and have a general understanding. But I'm afraid to take any big solo 
steps (even though I did last week in a crisis).  My difficulty is figuring out 
exactly how they have tweaked the system

In order of need
Xoasis KTX2 sever appliance FreeBSD 4

DISK SPACE CRITICAL
Short on disk space 97% utilized
What I've tried
 deleted all snort logs
 moved /var/spool/mail/log/ee.core to /home
 (do I need it or can it be deleted??)
 

Do you intend to debug a core dump of "easy editor"? ;-)
Also, look at places like:
/tmp
/var/tmp
/var/log/*gz (old logs get zipped up by syslog in a std
 configuration)
/usr/ports/distfiles
Can file /var/spool/mail/log/mainlog be deleted? it is hugh 1035325249
( I would like to review it first, can it safely be moved to /home?)
 

You've not mentioned your disk's size, so I can't really
speculate.  If you have a fast connection to some box
with enough space, I'd grab it off via ftp/sftp or the like
and then cat /dev/null to it as root and make a reminder
in the future to rotate the logs more often...
e.g.:
   `cat /dev/null > /var/spool/mail/log/mainlog`
will erase the content of said file in place
*
MAIL ERROR
cannot send mail from webmail - error:
internet1 sendmail[619]: NOQUEUE: 
SYSERR(nobody):/etc/mail/submit.cf:line 415:
readcf: option RunAsUser: unknown user smmsp

**
 

Looks as if sendmail was updated without running
mergemaster.  smmsp has been around for quite a
while IIRC; you could try adding it.  On my boxes
his uid and gid are 25 and he is a member of groups
smmap and vscan, the latter of which is a requirement
of amavisd or the Sendmail-Milter IIRC.
Mcaffee uvscan blows out every night. 
pd 14160 [ keeps changing] (uvscan) uid 0: exited on signal 11 
(coredumped)

 

Find those cores and rm them for disk space
From what i have been able to find on line it looks like they changed the 
format of the app and it is no longer compatible without mods. How do I 
uninstall or fix?
 

If what you say is true, you might fix it by upgrading
the OS.  To uninstall, take a look at pkg_delete. (e.g.
type `man pkg_delete` and read, read, read ... ;-)


getting errors on console
internet1 /usr/local/qpopper/sbin/popper [4239 "this number keeps 
changing"]
EOF from "username shows here" @127.0.0.1 (local host): [0] 35 
(Resource temporarily 
unavailable); 0 (undefined error)

 

Can't help much there, at least not without more info.
*
MAIL ERROR
cannot send mail from Pegasus mail client v4.12c - error 

set client to ip xxx.xxx.xxx.27 timed out, error:
  [*] Connection established to xxx.xxx.xxx.27
  8: Socket read timeout.
set client to ip xxx.xxx.xxx.27 and doing an POP auth 1st timed out, error:
  [*] Connection established to xxx.xxx.xxx.27
  8: Socket read timeout.
set client to ip xxx.xxx.xxx.27 tried login to SMTP server using a specific 
POP3 username
  [*] Connection established to xxx.xxx.xxx.27
  8: Socket read timeout.

 

nor there...

nice to know how to but not critical
copy to and from r/w cd
resize partitions without hosing myself
thanks-- 
Christopher Nye AIA
Dir. of Information Services
630 495-1900
 

Have you read or heard of the FreeBSD handbook?  Lots
of good stuff there for us "newbies" ... www.freebsd.org/handbook
or about X-hundred different formats available via FTP...
HTH,
Kevin Kinsey
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Hardware problems after installing 5.4 pre-release

2005-03-30 Thread Todd Shirk
I've tried installing gnome and windowmaker to test the sound.  Each
act the same as KDE.  Mplayer works with sound but nothing else.  I,
also, installed xmms and tested, no sound.  The sound graphics are
idle, seeming to indicate that the sound is not being generated in the
applications.  I, also, tried the command line app cdcontrol.

# cdcontrol -f /dev/acd0 play 1

no sound.  Does mplayer use a kernel independent sound driver?




On Tue, 29 Mar 2005 01:03:08 +0200, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> On Mon, 28 Mar 2005 17:08:47 -0500
> Todd Shirk <[EMAIL PROTECTED]> wrote:
> 
> > Here's an update on the sound issue.  I ported down and compiled
> > mplayer.  I popped in a DVD and typed on the command line:
> >
> > # mplayer dvd://
> >
> > With that I got sound to play.  I then recompile xine, but xine still
> > has no sound.  KDE is also soundless.
> 
> this sounds a little bit like KDE's sound-daemon (artsd) is not working
> well or something like that
> 
> what happens with your sound if you use e.g. icewm or fluxbox or
> windowmaker ?
> 
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Mount a tar archive?

2005-03-30 Thread Andrew P.
Danny Howard wrote:
Andrew P. wrote:
Hello!
I have a 80G tar archive which I have nowhere to
extract to. Could I mount it as a filesystem?
Read-only would suffice.

Andrew,
Short of that solution, why not tar -t to get a list of files in the 
archive, then you can tar -x the files you actually want.

You ought to be able to:
tar -t foo.tar > list.txt
edit list.txt
cat list.txt | xargs tar -x foo.tar
-danny
The archive is actually part of my music collection on
a headless fileserver. I would like to share it with
samba. It's a pity that FreeBSD doesn't have linuxish
arcfs or tarmount, but that sort of thing is not really
needed very often.
Thanks to all for your kind help!
Andrew P.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: kwik 1.

2005-03-30 Thread Roland Smith
On Wed, Mar 30, 2005 at 11:00:35AM -0800, Gary Kline wrote:
> 
>   Can I use dd to copy an *.exe file  from ~/ to my floppy;
>   then have present the file to a:\ under DOG?

No. If you use dd you'll screw up the floppy's "filesystem". Just mount
the floppy with 'mount -t msdosfs /dev/fd0 ' and copy the
file, or use mcopy from the mtools port.

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


pgp200GOkYyIW.pgp
Description: PGP signature


Re: kwik 1.

2005-03-30 Thread Bart Silverstrim
On Mar 30, 2005, at 2:00 PM, Gary Kline wrote:
Can I use dd to copy an *.exe file  from ~/ to my floppy;
then have present the file to a:\ under DOG?
Don't know...don't think so easily, though.  Wouldn't it be easier to 
use something like mtools?

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


kwik 1.

2005-03-30 Thread Gary Kline

Can I use dd to copy an *.exe file  from ~/ to my floppy;
then have present the file to a:\ under DOG?

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: Mount a tar archive?

2005-03-30 Thread Chuck Swiger
Andrew P. wrote:
I have a 80G tar archive which I have nowhere to
extract to. Could I mount it as a filesystem?
Read-only would suffice.
That's actually a pretty neat idea, although I don't know that such a 
capability is available.  Hmm.  Emacs has a special mode for accessing the 
contents of a tarball which might be helpful in other circumstances, but I 
suspect that an 80GB file is going to be too big for it to handle.

In the meantime, you might be able to use "tar tf" to see the contents of this 
monster tarball, and you could then extract smaller pieces from it if need be, 
rather than having to deal with the entire thing all at once.

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


Re: Mount a tar archive?

2005-03-30 Thread Danny Howard
Andrew P. wrote:
Hello!
I have a 80G tar archive which I have nowhere to
extract to. Could I mount it as a filesystem?
Read-only would suffice.
Andrew,
Short of that solution, why not tar -t to get a list of files in the 
archive, then you can tar -x the files you actually want.

You ought to be able to:
tar -t foo.tar > list.txt
edit list.txt
cat list.txt | xargs tar -x foo.tar
-danny
--
http://dannyman.toldme.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Mount a tar archive?

2005-03-30 Thread Kris Kennaway
On Wed, Mar 30, 2005 at 10:28:02PM +0400, Andrew P. wrote:
> Hello!
> 
> I have a 80G tar archive which I have nowhere to
> extract to. Could I mount it as a filesystem?
> Read-only would suffice.

No, but of course you can access files within it using tar(1) without
having to extract them to disk (by extracting to stdout).

Kris


pgpoPB6rOB9Gm.pgp
Description: PGP signature


Re: cannot boot 5.3 after power failure - major bug?

2005-03-30 Thread Danny Howard
stheg olloydson wrote:
Thanks for the reply. I had tried that and kept getting the
"invalid format" error. I am puzzled by the fact that I can get
a directory list, but the boot loader thinks the format is
wrong. Also it seems to be looking in /kernel and not
/boot/kernel/.
stheg,
Is this a system that has been upgraded?  My guess is that your boot 
loader was installed or configured for an earlier version of FreeBSD, 
where /kernel used to be the place to go ... and maybe you just don't 
reboot all the much, or something got knocked loose in the times before 
the power outage.  At any rate ... check the handbook for how to replace 
your MBR (typically needed after installing Windows) which might do the 
trick.  Otherwise, it is maybe missing some crucial hint from a file 
that got clobbered from the /boot or /kernel directories or something?  
I'd like to think that that will get fixed when you upgrade to 5.4. :)

(If you really want to know the answer, find a good resource on FreeBSD 
bootstrap process.  There have been changes these past few years, so I'm 
pretty sure people have been writing about this ...)

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


ftpd - 421 Service not available

2005-03-30 Thread jeff . stelzner
Hi:

I have a freebsd-4.8-release box that recently crashed due to hardware 
[fan] failures after being up for 18 months.

It runs the stock ftpd server out of inetd.
- It does *not* use ftpchroot
- It is *not* setup as an anonymous ftp server

When the system came back up, remote connections to the ftp server result 
in:

$ ftp nnn.nnn.nnn.nnn
421 Service not available, Remote server has closed the connection

Connections from the box to itself work fine:

$ ftp localhost
Connected to localhost.esca.com.
220 somehost.some.domain FTP server (Version xxx) ready.

Here are the troubleshooting steps I have followed thus far [it is in a 
location with no remote access, so I'm talking a technician through this]:
- Verified default inetd entry invokes '/usr/libexec/ftpd -l'   [since it 
works locally this should be OK]
- Disabled ipfilter firewall
- Verified that default /etc/hosts.allow contained 'ALL : ALL : allow' as 
the initial line [also edited the file to contain only this line, to no 
effect]
- Verified that /etc/hosts contains correct address/hostname entry for the 
system, matching corresponding into in /etc/rc.conf. The box does *not* 
use DNS [lookups disabled].

So I'm wondering what types of things would cause remote connections to 
give a 421. Googling and looking at the archives for this list point to 
ftpchroot problems as the typical issue. Not here.

Thanks for any tips you can offer - Jeff

--
Jeff Stelzner
--
"spukhafte Fernwirkungen"

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


Mount a tar archive?

2005-03-30 Thread Andrew P.
Hello!
I have a 80G tar archive which I have nowhere to
extract to. Could I mount it as a filesystem?
Read-only would suffice.
Thanks,
Andrew P.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: md5

2005-03-30 Thread Matt Kosht
On Wed, 30 Mar 2005 17:55:11 +0200, Mario Hoerich <[EMAIL PROTECTED]> wrote:
> # Matt Kosht:
> > Is there a simple way to compare the md5 checksum of a file, to a file
> > that contains possibly more than one md5 checksum entry in it?  Kind
> > of like mdsum -c does?
> 
> Perfect job for a shellscript. :)
> 
> #!/bin/sh
> 
> if [ -z "$2" ]; then
> echo "Usage: `basename $0`  " 1>&2
> exit
> fi
> 
> sum=`md5 "$1" | sed 's-^MD5 [^=]*= --'`
> cnt=`grep -c "$sum" "$2"`
> 
> if [ $cnt -eq 0 ]; then
> echo "No match."
> else
> echo "Match."
> fi
> 
>  HTH
> Mario
> 

Most excellent and appreciated. Works like a champ. Thanks Mario!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Sound on Dell Dimension 8300 (FreeBSD 5.1-RELEASE)

2005-03-30 Thread Tim Kellers
If you have a file named snd_ich.ko in /boot/kernel/:
Try (as root)

#kldload snd_ich.ko

and see if your sound begins to work

(you can check the status of loaded modules with the command kldstat(8))


On Wednesday 30 March 2005 12:30 pm, Amit Kumar Saha wrote:
> Hi,
>   I am trying to enable the builtin sound card present in Dell
> Dimension 8300 but cant seem to get it done. As far as I remember, in
> FreeBSD 5.3 it can be done simply by having the following two options in
> the kernel config file:
>
> device sound
> device snd_ich
>
> However, FreeBSD 5.1 does not recognize any of these even (Even man sound
> or man snd_ich does not work even though it should work on any FreeBSD 5.*
> So I guess I have to give some hardware hints in order to
>
> config MYCONFIG gives the following error report:
> =
>
> config: Error: device "sound" is unknown
> config: Error: device "snd_ich" is unknown
>
> (/boot/kernel/ however has the files snd_ich.ko as well as snd_pcm.ko)
>
> The output of cat /dev/sndstat is as follows:
> =
>
> FreeBSD Audio Driver (newpcm)
> Installed devices:
>
> The 'seems to be relevant part of dmesg' is here:
> =
> pci0:  at device 31.5 (no driver attached)
>
> The entire dmesg output is as follows:
> 
>
> <== START OF dmesg output
>
> Copyright (c) 1992-2003 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>   The Regents of the University of California. All rights reserved.
> FreeBSD 5.1-RELEASE #3: Tue Oct 14 18:17:28 CDT 2003
> [EMAIL PROTECTED]:/usr/src/sys/i386/compile/NEW
> Preloaded elf kernel "/boot/kernel/kernel" at 0xc070.
> Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0700294.
> Timecounter "i8254"  frequency 1193182 Hz
> Timecounter "TSC"  frequency 3192009524 Hz
> CPU: Intel(R) Pentium(R) 4 CPU 3.20GHz (3192.01-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
>  
> Features=0xbfebfbffA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
> Hyperthreading: 2 logical CPUs
> real memory  = 1073168384 (1023 MB)
> avail memory = 1035091968 (987 MB)
> Pentium Pro MTRR support enabled
> npx0:  on motherboard
> npx0: INT 16 interface
> acpi0:  on motherboard
> pcibios: BIOS version 2.10
> Using $PIR table, 8 entries at 0xc00feae0
> acpi0: power button is handled as a fixed feature programming model.
> Timecounter "ACPI-fast"  frequency 3579545 Hz
> acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
> acpi_cpu0:  port 0x530-0x537 on acpi0
> acpi_cpu1:  port 0x530-0x537 on acpi0
> acpi_button0:  on acpi0
> pcib0:  port 0xcf8-0xcff on acpi0
> pci0:  on pcib0
> agp0:  mem 0xe800-0xefff at
> device 0.0 on pci0 pcib1:  at device 1.0 on pci0
> pci1:  on pcib1
> pci1:  at device 0.0 (no driver attached)
> uhci0:  port 0xff80-0xff9f irq
> 11 at device 29.0 on pci0 usb0: 
> on uhci0
> usb0: USB revision 1.0
> uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> uhci1:  port 0xff60-0xff7f irq
> 10 at device 29.1 on pci0 usb1: 
> on uhci1
> usb1: USB revision 1.0
> uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub1: 2 ports with 2 removable, self powered
> uhci2:  port 0xff40-0xff5f irq 9
> at device 29.2 on pci0 usb2:  on
> uhci2
> usb2: USB revision 1.0
> uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub2: 2 ports with 2 removable, self powered
> uhci3:  port 0xff20-0xff3f irq
> 11 at device 29.3 on pci0 usb3: 
> on uhci3
> usb3: USB revision 1.0
> uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub3: 2 ports with 2 removable, self powered
> pci0:  at device 29.7 (no driver attached)
> pcib2:  at device 30.0 on pci0
> pci2:  on pcib2
> fxp0:  port 0xdf40-0xdf7f mem
> 0xfcfff000-0xfcff irq 10 at device 8.0 on pci2 fxp0: Ethernet address
> 00:07:e9:5f:67:fd
> miibus0:  on fxp0
> inphy0:  on miibus0
> inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> isab0:  at device 31.0 on pci0
> isa0:  on isab0
> atapci0:  port
> 0xffa0-0xffaf,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 mem
> 0xfebffc00-0xfebf irq 9 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on
> atapci0
> ata1: at 0x170 irq 15 on atapci0
> atapci1:  port
> 0xfea0-0xfeaf,0xfe30-0xfe33,0xfe20-0xfe27,0xfe10-0xfe13,0xfe00-0xfe07 irq 9
> at device 31.2 on pci0 ata2: at 0xfe00 on atapci1
> ata3: at 0xfe20 on atapci1
> pci0:  at device 31.3 (no driver attached)
> pci0:  at device 31.5 (no driver attached)
> fdc0:  port
> 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes
> threshold
> fd0: <1440-KB 3.5" drive> on fdc0 drive 0
> atkbdc0:  port 0x64,0x60 irq 1 on acpi0
> atkbd0:  flags 0x1 irq 1 on atkbdc0
> kbd0 at atkbd0
> psm0:  irq 12 on atkbdc0
> psm0: model IntelliMouse, device ID 3
> sio0 port 0x3f

Sound on Dell Dimension 8300 (FreeBSD 5.1-RELEASE)

2005-03-30 Thread Amit Kumar Saha

Hi,
I am trying to enable the builtin sound card present in Dell
Dimension 8300 but cant seem to get it done. As far as I remember, in
FreeBSD 5.3 it can be done simply by having the following two options in
the kernel config file:

device sound
device snd_ich

However, FreeBSD 5.1 does not recognize any of these even (Even man sound
or man snd_ich does not work even though it should work on any FreeBSD 5.*
So I guess I have to give some hardware hints in order to

config MYCONFIG gives the following error report:
=

config: Error: device "sound" is unknown
config: Error: device "snd_ich" is unknown

(/boot/kernel/ however has the files snd_ich.ko as well as snd_pcm.ko)

The output of cat /dev/sndstat is as follows:
=

FreeBSD Audio Driver (newpcm)
Installed devices:

The 'seems to be relevant part of dmesg' is here:
=
pci0:  at device 31.5 (no driver attached)

The entire dmesg output is as follows:


<== START OF dmesg output

Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.1-RELEASE #3: Tue Oct 14 18:17:28 CDT 2003
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/NEW
Preloaded elf kernel "/boot/kernel/kernel" at 0xc070.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0700294.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 3192009524 Hz
CPU: Intel(R) Pentium(R) 4 CPU 3.20GHz (3192.01-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
  
Features=0xbfebfbff
  Hyperthreading: 2 logical CPUs
real memory  = 1073168384 (1023 MB)
avail memory = 1035091968 (987 MB)
Pentium Pro MTRR support enabled
npx0:  on motherboard
npx0: INT 16 interface
acpi0:  on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 8 entries at 0xc00feae0
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-fast"  frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
acpi_cpu0:  port 0x530-0x537 on acpi0
acpi_cpu1:  port 0x530-0x537 on acpi0
acpi_button0:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
agp0:  mem 0xe800-0xefff at device 
0.0 on pci0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
pci1:  at device 0.0 (no driver attached)
uhci0:  port 0xff80-0xff9f irq 11 at 
device 29.0 on pci0
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1:  port 0xff60-0xff7f irq 10 at 
device 29.1 on pci0
usb1:  on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2:  port 0xff40-0xff5f irq 9 at 
device 29.2 on pci0
usb2:  on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3:  port 0xff20-0xff3f irq 11 at 
device 29.3 on pci0
usb3:  on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
pci0:  at device 29.7 (no driver attached)
pcib2:  at device 30.0 on pci0
pci2:  on pcib2
fxp0:  port 0xdf40-0xdf7f mem 
0xfcfff000-0xfcff irq 10 at device 8.0 on pci2
fxp0: Ethernet address 00:07:e9:5f:67:fd
miibus0:  on fxp0
inphy0:  on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci0:  port 
0xffa0-0xffaf,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 mem 
0xfebffc00-0xfebf irq 9 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
atapci1:  port 
0xfea0-0xfeaf,0xfe30-0xfe33,0xfe20-0xfe27,0xfe10-0xfe13,0xfe00-0xfe07 irq 9 at 
device 31.2 on pci0
ata2: at 0xfe00 on atapci1
ata3: at 0xfe20 on atapci1
pci0:  at device 31.3 (no driver attached)
pci0:  at device 31.5 (no driver attached)
fdc0:  port 
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0:  port 0x64,0x60 irq 1 on acpi0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0:  irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
ppc0 port 0x778-0x77f,0x378-0x37f irq 7 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0:  on ppc0
plip0:  on ppbus0
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
orm0:  at iomem 0xd1000-0xd3fff,0xc-0xcf7ff on isa0
pmtimer0 on isa0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0:  at port 0x3c0-0x3df iome

Re: Help needed Secure Http Tunneling

2005-03-30 Thread Mangesh Bhalerao

Thanx, dan for the great help I am trying to configure it .

Regards

Mangesh Bhalerao
M.Tech. (II nd Sem)
DA-IICT ,(www.da-iict.org)
Gandhinagar - 382009

Ph#. 9426366185
--

On Tuesday 29 March 2005 09:04, Mangesh Bhalerao wrote:
> Friends,
>
> Can some one let me know what are the tools
> avilable to have a secure tunneling through a "http proxy + firewall"
> combination. Any help on the configuration would be a great help.

Perhaps stunnel? You can set it up at some port and it can proxy for your
http
proxy. It's been awhile since I used it, but it was very easy to setup.
Performance was ok but it's not for very heavy traffic sites I'd think. Http
over ssl is always slower. If performance isn't the greatest concern but
rather functionality and managability this might be just what you're looking
for. It's in /usr/ports/security/stunnel

Using a high level (scripting) language which has ssl functionality it would
also be quite easy to write your own if it needs some specific (exotic) local
requirements.

HTH,

Dan


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


RE: Anthony's drive issues.Re: ssh password delay

2005-03-30 Thread Ted Mittelstaedt
[EMAIL PROTECTED] wrote:
> Ted Mittelstaedt writes:

>
>> Yes, they do - I've got a Compaq professional workstation on my desk
>> at work which has a modded microcode in an Adaptec 2940U adapter card
>> (I know it's modded because the card will not work in any other
>> non-Compaq system, even where non-Compaq-branded 2940U cards will
>> work) that displays similar disk strangeness (although it doesen't
>> spew errors) This is the same scsi chipset as Anthonys Vectra.
>> (aic7880)
>
> And what does Compaq give you in exchange for the headache of a
> non-standard adapter card?
>

They take away the ability to press f5 during boot to configure the card
and
in exchange the card's bios talks to the Compaq software configuration
utility,
so when you go into the software config that you use to configure the PC
you can also config the SCSI card.

> Can you replace Compaq's distorted adapter with a standard
> one,

Yes

>
>> This incidentally is WHY I am speculating it's a microcode mod (and
>> it was I that started this line of discussion regarding the
>> microcode on his SCSI chipset) because I have proof positive that
>> modded microcode in other manufacturer's aic7880-based SCSI adapters
>> has problems with the ahc driver.
>
> How did you resolve the problem?
>

Just today I replaced the Quantum 8GB Fireball with a Seagate 4GB
baracuda,
I have not yet built a system on there yet so we will see what happens.

If it doesen't work I have another scsi card around, it irks me to toss
a perfectly good scsi adapter card just because the ijuts that made it
slapped
a weirdo firmware on it.

>
>> Unfortunately, Anthony won't do the least bit of troubleshooting
>> (such as pulling the Quantum disk and just running on the Seagate
>> disk in this system to see if perhaps the problem is execerbated by
>> one or the other implementations of SCSI in one or the other of the
>> disks - granted that is a long shot, but it's within the realm of
>> possibility it might fix it) so I doubt he would do anything that
>> the ahc driver (who most likely isn't even subscribed to
>> freebsd-questions) tells him to do in the way of troubleshooting
>> either.
>
> Anything isn't going to do anything until someone can tell him what
> the existing messages are saying.  I don't go pulling boards every
> time I see a message that I don't recognize.
>

The existing messages are pretty clear IMHO.

>
> I don't know what Linux will or won't do, and unlike you, I'm not
> prepared to make wild guesses.

If there is one single thing that will prevent you from getting FreeBSD
running on the most systems, that is it.

Let me tell you a story.

Back in 1992 I was a lowly IT tech at Central Point Software.  (Sadly at
that time CPS had not the vision to recognize the importance of FreeBSD -
they didn't recognize the importance of a great many other things but
that's a different story)

Some idiot had bought 25 Zenith 486 desktop systems (I think it was 486
could have been 386's though) the previous year.

We had these systems failing about once a month by then. The IT
department
had a big closet with about 10 of them piled up.  When one broke we would
put a different PC on their desk then take the 486 back to the closet.

I resolved one day to clean out the closet.  I pulled all systems out and
set them all up and tested each one - one had a bad video board, one had
a bad disk drive, etc. etc.

By pulling a good video card out of one and replacing a bad video card in
another one with the video card I pulled, I was able to get a pile of
working systems and a pile of broken parts.

I took all the broken parts and put them into 2 of the chassises,
intending
to throw them out.

For grins I plugged in both systems "full of broken parts" to see how bad
they would be.  Both powered up and worked perfectly.

After that day I have always included the capability of 'making wild
guesses'
in my troubleshooting.  You make wild guesses after you have exhausted
normal
troubleshooting.  This is the difference between a medeocre 'by the book'
repair tech, and a true master, and it is why the master manages to fix
things that others believe are beyond hope.

Ted

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


Re: x server

2005-03-30 Thread Chuck Swiger
Danny Pansters wrote:
[ ... ]
Besides, the optimal cpu time used for any process is 100% as they all compete 
for cpu bandwidth (if the system would be under duress). So basically your 
system is doing great and is not overloaded at all. It's gravely underused 
one might argue ;-)
Any process needing CPU, that is.  Unix tasks are encouraged to block when 
they don't have any work to do-- this is very common when a process is reading 
data from a pipe or socket.

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


problem with Azureus

2005-03-30 Thread Warren
I recently had trouble with Azureus using approx 53% of my mem and 90% of my 
SWAP so idecided to upgrade my RAM from 512 to 1gig thinking this would solve 
my problem, but alas i was mistaken.

Is there a way i can instruct it so Azureus only uses a certain %?  As it is 
when this program is running it pritty well much bogs down my machine making 
it damn near impossible to do anything else.

It also uses so much it gets to the point where there is no more SWAP left for 
it to use and ends up closing itself down.
-- 
Yours Sincerely
Shinjii
http://www.shinji.nq.nu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mksnap_ffs woes

2005-03-30 Thread Kris Kennaway
On Wed, Mar 30, 2005 at 06:59:22PM +0100, Andrea Venturoli wrote:

> >The snapshot code was intended to support background fsck and that
> >alone.  It's also optionally used by the dump code, but it was not
> >written as a general-purpose live filesystem snapshot service.
> 
> Ok.
> I just think that this, as well as the disclaimer about it being alpha 
> code and the access locks, should be mentioned in the Handbook. Reading 
> that chapter or mksnap_ffs's manual, I didn't get it and I suspect 
> people might get the idea that it is stable code, which provides some 
> functionality that it doesn't.

The 'alpha' part is what I meant about this file being out of date.
It is stable and widely used, but that doesn't mean there are not
bugs.

> So, if for instantaneous you mean at a specific time, I don't care at 
> all wether the image is made an hour earlier or later. All I'd like is 
> coherence.

Isn't this usually done by dumping the database state and then backing
that up, instead of trying to back up the live database?

Kris

pgplCNWuKQU1Z.pgp
Description: PGP signature


Re: cannot specify -o with -c or -S and multiple compilations

2005-03-30 Thread Lowell Gilbert
Dick Hoogendijk <[EMAIL PROTECTED]> writes:

> So let me ask you here on this list: somebody has compiled kdelibs3
> (version 3.4) on a 4.11R system?

The package system did.  
The latest results are for RELENG_4, which isn't all *that* different,
and it built this morning:
http://pointyhat.freebsd.org/errorlogs/i386-4-latest-logs/kdelibs-3.4.0.log

> This week I wiped out my /usr/ports and installed it again.
> Today I installed an extra harddisk and put a fresh freebsd-4.11 on it;
> cvsupped the ports to the latest version and tried to compile kde3.
> Again: the same error.
> 
> What could possibly be the reason for this?

Well, I'm pretty sure you've already covered the obvious candidates,
like make.conf (I assume you used an empty one on your freshly
installed system).

The error itself doesn't seem to make much sense.  You can build a
bunch of dependencies before you get to that point, so it does seem to
be specific to KDE...

> ps: unlike anthony I'm willing to experiment. I would like to solve this
> puzzle. Or at least /know/ it's just an error in the kde release.

Well, you could try updating to RELENG_4.

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


Re: mksnap_ffs woes

2005-03-30 Thread Andrea Venturoli
Kris Kennaway wrote:
It's possible you're seeing deadlock bugs in the snapshot code; you'd
need to compile your system with DDB support and obtain traceback
information as described in the developers' handbook chapter on kernel
debugging.
Ok. As soon as I get the chance, I'll do this (I cannot stop a whole 
network right away).



The snapshot code was intended to support background fsck and that
alone.  It's also optionally used by the dump code, but it was not
written as a general-purpose live filesystem snapshot service.
Ok.
I just think that this, as well as the disclaimer about it being alpha 
code and the access locks, should be mentioned in the Handbook. Reading 
that chapter or mksnap_ffs's manual, I didn't get it and I suspect 
people might get the idea that it is stable code, which provides some 
functionality that it doesn't.



Are there other alternatives for live backups?
Plenty, if you don't demand an instantaneous image of the backup
image.
That depends on what you mean for instantaneous...
I'll explain my needs briefly: I export (via Samba) a whole bunch of 
databases that 9 clients read and write. I do not have more details (I 
didn't write that app myself).
The needs are:
a) backup data so that in case of severe failure we can get it rapidly 
back (we are going to loose the last transactions, obviously);
b) replicate everything to another machine (via rsync) so that a remote 
user can see a snapshot of the system status.

We probably can live with some incoherent records in a) (after all, 
something will almost for sure need manual fix anyway); as for b) I fear 
it might be more prone to problems.

So, if for instantaneous you mean at a specific time, I don't care at 
all wether the image is made an hour earlier or later. All I'd like is 
coherence.

BTW, we have almost no room for changes on the client side :(


The pros and cons of the snapshot code have been discussed on the
mailing lists, and there is a (slightly outdated) information file
here: /usr/src/sys/ufs/ffs/README.snapshot
I'm reading all this stuff; I might get back with some more questions 
later :)

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


Re: md5

2005-03-30 Thread Mario Hoerich
# Matt Kosht:
> Is there a simple way to compare the md5 checksum of a file, to a file
> that contains possibly more than one md5 checksum entry in it?  Kind
> of like mdsum -c does?

Perfect job for a shellscript. :) 

#!/bin/sh

if [ -z "$2" ]; then
echo "Usage: `basename $0`  " 1>&2
exit
fi

sum=`md5 "$1" | sed 's-^MD5 [^=]*= --'`
cnt=`grep -c "$sum" "$2"`


if [ $cnt -eq 0 ]; then
echo "No match."
else
echo "Match."  
fi


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


Re: FW: dmesg -a lines' explanation? NEWBIE

2005-03-30 Thread Roland Smith
On Tue, Mar 29, 2005 at 06:45:10PM -0800, Andrew Heyn wrote:
> plugging your recommendation onto the command line produced:
> 
> /etc/devfs.conf:permxpt00666#permissions are set properly at
> boot
> 
> ... which is still largely un-intelligible to me, at the moment. and which
> co-incides, oddly enough, with the moment at which i have to leave for work!
> dang! so i'll have to take another google around, later tonight...

A couple of months ago I put up the things I learnt from configuring my
FreeBSD box on a web page: http://www.xs4all.nl/~rsmith/freebsd/

It deals (among other things) with configuring the CD-ROM/RW/DVD
devices.

> > I'm pretty sure that searching google a little bit can help you with
> > UNIX basics.
> 
> there is a lot of stuff out there, i agree. making sense of it's another
> story though.

You might want to have a look at the Handbook that comes with FreeBSD,
especially chapter 3 (UNIX basics). There are also several good books on
FreeBSD available, see Appendix B of the Handbook.

You can find the english version of the handbook by pointing your
browser at /usr/share/doc/en_US.ISO8859-1/books/handbook/index.html. It
is also available in plain text format;
/usr/share/doc/en_US.ISO8859-1/books/handbook/book.txt

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


pgp3XaLsV7ERT.pgp
Description: PGP signature


Re: ata driver.

2005-03-30 Thread Lowell Gilbert
Perttu Laine <[EMAIL PROTECTED]> writes:

> On 30 Mar 2005 09:41:55 -0500, Lowell Gilbert 
> 
> > Try enabling DMA for ATA but *not* for ATAPI.
> 
> Don't help. Works only when ATA has DMA disabled.
> Writing to all drivers works with dma on. Reading causes timeouts.

Okay, sounds somewhat familiar.
That code is undergoing extensive development.
Soeren Schmidt has a set of patches for his latest set of upgrades,
but they're not going into the main tree quite yet. http://www.freebsd.dk/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: md5

2005-03-30 Thread Al Johnson
Compare md5 sums:
$ md5 file1 file2 file3 > checksum.md5
$ md5 file1 file2 file3 | diff checksum.md5 -

On Tue, Mar 29, 2005 at 10:29:39PM -0500, Matt Kosht wrote:
> Is there a simple way to compare the md5 checksum of a file, to a file
> that contains possibly more than one md5 checksum entry in it?  Kind
> of like mdsum -c does?

-- 
You can get a lot farther with a kind word and a gun
than with a kind word alone.
  -- Al Capone
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Sendmail 8.13.4?

2005-03-30 Thread Dan Nelson
In the last episode (Mar 30), Mark said:
> > In the last episode (Mar 30), Mark said:
> > > Where is Sendmail 8.13.4? I cannot find it in the ports, and it
> > > isn't at:
> > > 
> > > http://www.freebsd.org/cgi/cvsweb.cgi/ports/mail/sendmail/
> > 
> > I think it's probably because 8.13.4 was released on the 27th, and
> > the ports tree was frozen on the 21st for the upcoming release of
> > FreeBSD 5.4.
> 
> Thank you for your reply; sounds like a reasonable explanation. :)
> How long is it going to be frozen, though? I saw that FreeBSD
> 5.4-BETA1 release is available since March 20.

Ports have to be frozen in advance because it takes such a long time to
build the set of packages.  If there is a critical fix in 8.13.4, it
may get committed despite the freeze.  You'll have to check with the
maintainer though.

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


Re: how to find files less than a day old?

2005-03-30 Thread Brian John
> > > > FreeBSD box that I am connected to.  I think it may be a Solaris 9
box.
> > > > Is there any way to get this to work in Solaris?
> > > >
> > >
> > > Maybe the solaris find command supports the -newer option.  I think
> > > -newer is more widely supported, and likely to be available on
> > > Solaris.
> > >
> > > If necessary, you could then create a reference file using touch with
> > > the proper time stamp on it.  You can do this automatically within a
> > > script, using the date command to figure out the current time.  You
> > > can calculate the time one hour ago by using a command something like
> > > TZ={your timezone   1}  date
> > >
> > >
> > > --
> > > Noel Jones
> > >
> > Is there a way that I could do this without using find?  I basically just
> > need a listing of files to pipe to cat.  Is there any easier way to do
> > this?  If there isn't, could you explain in more explicit email how to
> > this?
> >
> > /Brian
> >
>
> Here's some commands that should be pretty portable.
>
> touch `TZ=CST7CDT date " %m%d%H%M"` /path/to/file
> find . -newer /path/to/file -type f | xargs cat > tmp.txt
>
> Adjust the value of TZ to give the proper time in your locale.  I'm in
> Central Standard Time, which is normally expressed as CST6CDT, so I
> added one to get "CST7CDT".  This creates a file stamped exactly one
> hour ago that find can use as a reference.
>
> An alternative would be to write something in perl or your programming
> language of choice.
>
> HTH...
>
> --
> Noel Jones
>
Thanks!  That worked.

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


Re: cannot specify -o with -c or -S and multiple compilations

2005-03-30 Thread Roland Smith
On Wed, Mar 30, 2005 at 03:58:52PM +0200, Dick Hoogendijk wrote:
> I asked about it before and will ask about it again.
> I posted my errors but nobody reacted.
> -(it's hard to see people like anthony /do/ get attention)-

Moths are drawn to flames. ;-)

> It's a freebsd-4.11 system. Ports are up2date. Compiling gnomevfs2
> and/or kdelibs3 I get this error "gcc cannot.." or "c++ cannot.."

Does it really try to compile multiple files with one gcc command?
Usually make doesn't do that. Try capturing the output from the build to
see what goes wrong. Does kdelibs3 use libtool? There could be an error
in the libtool invocation so that the source file ends up twice on the
gcc command line, producing the error. 

> So let me ask you here on this list: somebody has compiled kdelibs3
> (version 3.4) on a 4.11R system?

Sorry, 5.3 without KDE.

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


pgpVuZXPYN2da.pgp
Description: PGP signature


Re: Problems with man

2005-03-30 Thread Giorgos Keramidas
On 2005-03-30 09:12, Lord Raiden <[EMAIL PROTECTED]> wrote:
> At 02:06 PM 3/30/05 +0300, Giorgos Keramidas wrote:
> >I don't know what you updated and how, so can you please give us more
> >details.  Then we'll probably be able to help you with the /etc files
> >that seem to have problems.
>
> Well, the only etc file I appear to have issues with is the
> /etc/manpath.config file because it won't let me use man until it
> finds it and yet the file is there.

Please don't top-post :-/

If manpath.config is the only file you are missing from /etc, you can
restore it by running as root:

# install -o root -g wheel -m 644 \
/usr/src/gnu/usr.bin/man/manpath/manpath.config \
/etc/manpath.config

If you see anything else missing from /etc, let us know.

- Giorgos

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


RE: Sendmail 8.13.4?

2005-03-30 Thread Mark

> -Original Message-
> From: Dan Nelson [mailto:[EMAIL PROTECTED] 
> Sent: woensdag 30 maart 2005 6:53
> To: Mark
> Cc: 'FreeBSD-Questions Questions'
> Subject: Re: Sendmail 8.13.4?
> 
> 
> 
> In the last episode (Mar 30), Mark said:
>
> > Where is Sendmail 8.13.4? I cannot find it in the ports, 
> > and it isn't at:
> > 
> > http://www.freebsd.org/cgi/cvsweb.cgi/ports/mail/sendmail/
> 
> I think it's probably because 8.13.4 was released on the 27th, and
> the ports tree was frozen on the 21st for the upcoming release of
> FreeBSD 5.4.

Thank you for your reply; sounds like a reasonable explanation. :)
How long is it going to be frozen, though? I saw that
FreeBSD 5.4-BETA1 release is available since March 20.

Thanks,

- Mark

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


Re: error installing openssh-portable

2005-03-30 Thread Lowell Gilbert
Don't top-post, please.

Redmond Militante <[EMAIL PROTECTED]> writes:

> is /usr/ports/cryptlib the port you're referring to?

No, I'm talking about the crypto distribution in the base system.  I
don't remember when it was folded into the main distribution, but for
a long time it was separate because of concerns about export
regulations and patent issues.

> i've also read that make -DWITHOUT_KERBEROS=yes would also work, but it 
> didn't in my case.
> 
> 
> 
> [Tue, Mar 29, 2005 at 09:14:07AM -0500]
> This one time, at band camp, Lowell Gilbert said:
> 
> > Redmond Militante <[EMAIL PROTECTED]> writes:
> > 
> > > hi all
> > > 
> > > i get this installing the openssh-portable port on a 4.8-RELEASE machine
> > > 
> > > ===>  Building for openssh-portable-3.9.0.1,1
> > > if test ! -z ""; then  /usr/bin/perl5 ./fixprogs ssh_prng_cmds ;  fi
> > > (cd openbsd-compat && make)
> > > cc -o ssh ssh.o readconf.o clientloop.o sshtty.o  sshconnect.o 
> > > sshconnect1.o sshconnect2.o -L. -Lopenbsd-compat/ -L/usr/lib  
> > > -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -lssh -lopenbsd-compat 
> > > -lcrypto -lutil -lz -lcrypt -lkrb5 -lcrypto -lcom_err -lasn1 -lroken
> > > /usr/lib/libkrb5.so: undefined reference to `des_is_weak_key'
> > > /usr/lib/libkrb5.so: undefined reference to `des_pcbc_encrypt'
> > > /usr/lib/libkrb5.so: undefined reference to `des_cfb64_encrypt'
> > > /usr/lib/libkrb5.so: undefined reference to `des_cbc_encrypt'
> > > /usr/lib/libkrb5.so: undefined reference to `des_set_odd_parity'
> > > /usr/lib/libkrb5.so: undefined reference to `des_read_pw_string'
> > > /usr/lib/libkrb5.so: undefined reference to `des_set_key'
> > > /usr/lib/libkrb5.so: undefined reference to `des_ede3_cbc_encrypt'
> > > /usr/lib/libkrb5.so: undefined reference to `des_cbc_cksum'
> > > *** Error code 1
> > > 
> > > Stop in /usr/ports/security/openssh-portable/work/openssh-3.9p1.
> > > *** Error code 1
> > > 
> > > Stop in /usr/ports/security/openssh-portable.
> > > 
> > > 
> > > any ideas on how to fix?  cvsup'ing ports didn't work.
> > 
> > I seem to recall DES being optional back when; you'll need to install
> > it to get this linking.  It should be in the crypto library.
> > 
> > Or maybe my memory is just off...
> 
> -- 
> Redmond Militante
> Software Engineer / Medill School of Journalism
> FreeBSD 5.2.1-RELEASE-p13 #0: Mon Mar 28 17:07:51 CST 2005 i386
> 11:15AM  up 45 mins, 2 users, load averages: 0.00, 0.02, 0.05
> 
> 

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


Re: ata driver.

2005-03-30 Thread Lowell Gilbert
Don't top-post, please.

Perttu Laine <[EMAIL PROTECTED]> writes:

> On Wed, 30 Mar 2005 13:11:24 +0300, Perttu Laine <[EMAIL PROTECTED]> wrote:
> > Could there be problem in FreeBSD 5.x (specially in 5.4) ata driver
> > that causes dma timeouts?  mostly those problems in burning dvd-images
> > that I was asking yesterday. because in some puter on same drives and
> > all same hardware I had no problems on windows xp or linux
> > 2.4-kernel... asking this because I had dma timeout problems on
> > freebsd 5.3 puter too. it works fine with pio mode, but when I turn on
> > dma it timeouts all the time.

> Now after more test I found out that I can't even copy large files
> from that drive to another. It hangs on same 3.2GB then too. with dma
> timeout. so it has really nothing to do with dvd-burner drive nor
> atapicam.
> 
> but when I set PIO mode it works fine.

Try enabling DMA for ATA but *not* for ATAPI.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mksnap_ffs woes

2005-03-30 Thread Kris Kennaway
On Wed, Mar 30, 2005 at 05:08:24PM +0100, Andrea Venturoli wrote:
> Kris Kennaway wrote:
> 
> >mksnap_ffs may sometimes take a long time (order of tens of minutes)
> >to generate the snapshot.  During this time, other writes to the
> >filesystem may be suspended.  Are you sure this isn't what you're
> >seeing?
> 
> I am not sure, but I don't think so.
> 
> First of all, while I would not expect an exactly deterministic 
> behaviour, I still find it strange that most of the times it works 
> within seconds, and occasionally it might need so long! Then again, I do 
> not have enough insight to explain why it would or why it shouldn't.

It's possible you're seeing deadlock bugs in the snapshot code; you'd
need to compile your system with DDB support and obtain traceback
information as described in the developers' handbook chapter on kernel
debugging.

> Lastly, if what you say is true, that "writes to the filesytem may be 
> suspended" for that long, then I don't see much point in using this 
> feature. At least, it is not one that suits *my* needs: our clients must 
> be up 24/7; if that happens they will time out and someone will need to 
> go there and powercycle them.

The snapshot code was intended to support background fsck and that
alone.  It's also optionally used by the dump code, but it was not
written as a general-purpose live filesystem snapshot service.

> Am I going in the wrong direction then?
> Are there other alternatives for live backups?

Plenty, if you don't demand an instantaneous image of the backup
image.

> Is there some sort of more detailed documentation (tutorials, howtos, 
> ...) on this topic?

The pros and cons of the snapshot code have been discussed on the
mailing lists, and there is a (slightly outdated) information file
here: /usr/src/sys/ufs/ffs/README.snapshot

Kris

pgpDhB7lK4kjv.pgp
Description: PGP signature


Re: mksnap_ffs woes

2005-03-30 Thread Andrea Venturoli
Kris Kennaway wrote:
mksnap_ffs may sometimes take a long time (order of tens of minutes)
to generate the snapshot.  During this time, other writes to the
filesystem may be suspended.  Are you sure this isn't what you're
seeing?
I am not sure, but I don't think so.
First of all, while I would not expect an exactly deterministic 
behaviour, I still find it strange that most of the times it works 
within seconds, and occasionally it might need so long! Then again, I do 
not have enough insight to explain why it would or why it shouldn't.

I didn't always have the opportunity to check, but I did once: I'm sure 
the disks were not working, and the CPU was not under stress, so I can 
see no reason why it would take that long (I waited for more than an 
hour, then decided to reset).

Lastly, if what you say is true, that "writes to the filesytem may be 
suspended" for that long, then I don't see much point in using this 
feature. At least, it is not one that suits *my* needs: our clients must 
be up 24/7; if that happens they will time out and someone will need to 
go there and powercycle them.

Am I going in the wrong direction then?
Are there other alternatives for live backups?
Is there some sort of more detailed documentation (tutorials, howtos, 
...) on this topic?

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


Re: Problems with man

2005-03-30 Thread Lord Raiden
Well, the only etc file I appear to have issues with is the 
/etc/manpath.config file because it won't let me use man until it finds it 
and yet the file is there.

At 02:06 PM 3/30/05 +0300, Giorgos Keramidas wrote:
On 2005-03-29 19:55, Lord Raiden <[EMAIL PROTECTED]> wrote:
>
> >After updating everything to its latest version, did you remember to
> >mergemaster to update your /etc files?
>
> Nope, didn't think to do it because I've never had to do it before.
> This would be a first.  But I did run it and it errored out when I
> tried it and got this error.  Any ideas?
>
> install -o root -g wheel -m 644  /usr/src/etc/sendmail/freebsd.mc
> freebsd.cf /var/tmp/temproot/etc/mail
> install: freebsd.cf: No such file or directory
> *** Error code 71
>
> Stop in /usr/src/etc/sendmail.
> *** Error code 1
>
> Stop in /usr/src/etc.
>
>   *** FATAL ERROR: Cannot 'cd' to /usr/src/etc and install files to
>   the temproot environment
Ignore that.  mergemaster is not your problem if you only updated the
ports.  Sorry for the misguided attempt at helping, but when you said
"everything" I incorrectly assumed the base system.
> I cvsup'ed my ports tree and src files, but I didn't update my kernel
> or core files, only my ports.  Might that cause a problem?
Not really.
I don't know what you updated and how, so can you please give us more
details.  Then we'll probably be able to help you with the /etc files
that seem to have problems.
Steven Lake
-Owner/Webmaster
Raiden's Realm
www.raiden.net
Come see "Monk" the comic strip and laugh till you die!  :)
http://www.raiden.net/Monk/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cannot specify -o with -c or -S and multiple compilations

2005-03-30 Thread Dick Hoogendijk
I asked about it before and will ask about it again.
I posted my errors but nobody reacted.
-(it's hard to see people like anthony /do/ get attention)-

It's a freebsd-4.11 system. Ports are up2date. Compiling gnomevfs2
and/or kdelibs3 I get this error "gcc cannot.." or "c++ cannot.."

Nowhere on the web seems to be an answer..

So let me ask you here on this list: somebody has compiled kdelibs3
(version 3.4) on a 4.11R system?

This week I wiped out my /usr/ports and installed it again.
Today I installed an extra harddisk and put a fresh freebsd-4.11 on it;
cvsupped the ports to the latest version and tried to compile kde3.
Again: the same error.

What could possibly be the reason for this?

ps: unlike anthony I'm willing to experiment. I would like to solve this
puzzle. Or at least /know/ it's just an error in the kde release.

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11 ++ FreeBSD 5.3
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mksnap_ffs woes

2005-03-30 Thread Andrea Venturoli
Kees Plonsz wrote:
> I should have known better, because it gives an error messages
> if you try it like that.
Nevermind.

> In FreeBSD-5.2.1 the snap_ffs is a little corrupt.
> You should upgrade to 5.3
I am using 5.3.

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


Re: mksnap_ffs woes

2005-03-30 Thread Kees Plonsz
Andrea Venturoli wrote on Wednesday 30 March 2005 17:39 in the group 
list.freebsd.questions:

> Kees Plonsz wrote:
> 
>  > The firsts line of your script contains an error:
>  > ...
>  > So it should be:
>  >
>  > mksnap_ffs /usr /usr/any_path
> 
> Ugh, yes, sorry.
> While simplifying the script I removed the /usr part from the path.
> The real scripts read as you say they should.

I should have known better, because it gives an error messages
if you try it like that.

In FreeBSD-5.2.1 the snap_ffs is a little corrupt.
You should upgrade to 5.3


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


Re: mksnap_ffs woes

2005-03-30 Thread Kris Kennaway
On Wed, Mar 30, 2005 at 02:42:41PM +0100, Andrea Venturoli wrote:
> Hello.
> 
> I've got some scripts like the following:
> 
> /sbin/mksnap_ffs /usr /tmp/snapshot
> /sbin/mdconfig -a -t vnode -f /tmp/snapshot -u 0
> /sbin/mount -r /dev/md0 /usr/local/etc/snapmnt
> ... (backup data, transfer data, do anything)
> /sbin/umount /usr/local/etc/snapmnt
> /sbin/mdconfig -d -u 0
> /bin/rm -f /tmp/snapshot
> 
> 
> 
> This will sometimes more or less lock my system, since every write 
> access to /usr gets stuck.
> 
> ps or top show mksnap_ffs running, but apparently doing nothing, and 
> every attempt to kill it will fail. Not even a clean shutdown is possible.

mksnap_ffs may sometimes take a long time (order of tens of minutes)
to generate the snapshot.  During this time, other writes to the
filesystem may be suspended.  Are you sure this isn't what you're
seeing?

Kris


pgpWH95ENFaWv.pgp
Description: PGP signature


Re: mksnap_ffs woes

2005-03-30 Thread Andrea Venturoli
Kees Plonsz wrote:
> The firsts line of your script contains an error:
> ...
> So it should be:
>
> mksnap_ffs /usr /usr/any_path
Ugh, yes, sorry.
While simplifying the script I removed the /usr part from the path.
The real scripts read as you say they should.
 bye & Thanks
av.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ata driver.

2005-03-30 Thread Perttu Laine
Now after more test I found out that I can't even copy large files
from that drive to another. It hangs on same 3.2GB then too. with dma
timeout. so it has really nothing to do with dvd-burner drive nor
atapicam.

but when I set PIO mode it works fine.


On Wed, 30 Mar 2005 13:11:24 +0300, Perttu Laine <[EMAIL PROTECTED]> wrote:
> Could there be problem in FreeBSD 5.x (specially in 5.4) ata driver
> that causes dma timeouts?  mostly those problems in burning dvd-images
> that I was asking yesterday. because in some puter on same drives and
> all same hardware I had no problems on windows xp or linux
> 2.4-kernel... asking this because I had dma timeout problems on
> freebsd 5.3 puter too. it works fine with pio mode, but when I turn on
> dma it timeouts all the time.
> 
> --
> kpn @ IRCnet
> 


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


Re: mksnap_ffs woes

2005-03-30 Thread Kees Plonsz
Andrea Venturoli wrote on Wednesday 30 March 2005 15:42 in the group 
list.freebsd.questions:

> Hello.
> 
> I've got some scripts like the following:
> 
> /sbin/mksnap_ffs /usr /tmp/snapshot
> /sbin/mdconfig -a -t vnode -f /tmp/snapshot -u 0
> /sbin/mount -r /dev/md0 /usr/local/etc/snapmnt
> ... (backup data, transfer data, do anything)
> /sbin/umount /usr/local/etc/snapmnt
> /sbin/mdconfig -d -u 0
> /bin/rm -f /tmp/snapshot
> 
> 
> 
> This will sometimes more or less lock my system, since every write
> access to /usr gets stuck.
> 
> ps or top show mksnap_ffs running, but apparently doing nothing, and
> every attempt to kill it will fail. Not even a clean shutdown is possible.
>

The firsts line of your script contains an error:

 mksnap_ffs mountpoint snapshot_name

 The mksnap_ffs utility creates a snapshot named snapshot_name on the file
 system mounted at mountpoint.  The snapshot_name argument must be con-
 tained within the file system mounted at mountpoint.


So it should be:

mksnap_ffs /usr /usr/any_path
 

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


newbie who can't get support from xoasis

2005-03-30 Thread Chris Nye
after a YEAR of trying to get help from Xoasis, (They won't even call or 
email me back) I'm trying to resolve these issues myself.

Sorry there are a bunch of questions. I would really appreciate it if 
someone can point me in the right direction. I've bought a couple of books 
and have a general understanding. But I'm afraid to take any big solo 
steps (even though I did last week in a crisis).  My difficulty is figuring out 
exactly how they have tweaked the system

In order of need

Xoasis KTX2 sever appliance FreeBSD 4

DISK SPACE CRITICAL
Short on disk space 97% utilized

What I've tried
  deleted all snort logs
  moved /var/spool/mail/log/ee.core to /home
  (do I need it or can it be deleted??)

Can file /var/spool/mail/log/mainlog be deleted? it is hugh 1035325249
( I would like to review it first, can it safely be moved to /home?)

*
MAIL ERROR
cannot send mail from webmail - error:
internet1 sendmail[619]: NOQUEUE: 
SYSERR(nobody):/etc/mail/submit.cf:line 415:
readcf: option RunAsUser: unknown user smmsp

**
Mcaffee uvscan blows out every night. 
pd 14160 [ keeps changing] (uvscan) uid 0: exited on signal 11 
(coredumped)

>From what i have been able to find on line it looks like they changed the 
format of the app and it is no longer compatible without mods. How do I 
uninstall or fix?


getting errors on console
internet1 /usr/local/qpopper/sbin/popper [4239 "this number keeps 
changing"]
EOF from "username shows here" @127.0.0.1 (local host): [0] 35 
(Resource temporarily 
unavailable); 0 (undefined error)

*
MAIL ERROR
cannot send mail from Pegasus mail client v4.12c - error 

set client to ip xxx.xxx.xxx.27 timed out, error:
   [*] Connection established to xxx.xxx.xxx.27
   8: Socket read timeout.

set client to ip xxx.xxx.xxx.27 and doing an POP auth 1st timed out, error:
   [*] Connection established to xxx.xxx.xxx.27
   8: Socket read timeout.

set client to ip xxx.xxx.xxx.27 tried login to SMTP server using a specific 
POP3 username
   [*] Connection established to xxx.xxx.xxx.27
   8: Socket read timeout.



nice to know how to but not critical

copy to and from r/w cd
resize partitions without hosing myself


thanks-- 
Christopher Nye AIA
Dir. of Information Services
630 495-1900

The information in this email is confidential and may be legally 
privileged. It is  intended solely for the addressee. Access to this
email by anyone else is unauthorized. 

If you are not the intended recipient, any disclosure, copying, 
distribution or any action taken or omitted to be taken in reliance 
on it, is prohibited and may be unlawful. 


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


Re: JDK on FreeBSD

2005-03-30 Thread Andreas Rudisch
On Wed, 2005-03-30 at 04:42 -0800, Spiral Eyed Girl wrote:
> Is there an easy way to get the java development kit on freebsd? I can't 
> seem to find any info on it anywhere.
> 
> Thanks.
> 
> S

http://www.freebsd.org/java/

 Andreas
-- 
GnuPG key  : 0xD25FCC81  |  http://cyb.websimplex.de/pubkey.asc
Fingerprint: D182 6F22 7EEC DD4C 0F6E  564C 691B 0372 D25F CC81





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


Re: P2P blocker: PeerGuardian 2 equivalent to FreeBSD?

2005-03-30 Thread Jason Stewart
You really have 2 choices.

1. Download only legal content 
2. Get a Bittorrent client that supports blocklists.

You cannot get sued for using a P2P application unless you are sharing
copyright restricted content.

Jason


On Wed, 2005-03-30 at 13:55 +0200, awad wrote:
> Hello.
> 
> My sister wants to use Torrent for her school documentary
> needs. She installed PeerGuardian 2 on our workstation, but
> I told her that didn't work because our main entry point
> to the Internet is through our gateway server with FreeBSD.
> 
> PeerGuardian 2 is currently blocking 801227506 IPs that
> may try to sue you or get you arrested if you're using P2P
> stuff. I was wondering if there was something similar for
> FreeBSD, or if I have to block the list of IPs manually,
> and if so, how?
> 
> My firewall is PF for OpenBSD.
> 
> Thanks all,
> -- Awad
> 
> ___
> 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: Creating CA with CA.pl

2005-03-30 Thread Fran Boon
>unknown option -next_serial
I got this because I got CA.pl from a version of openssl-0.9.7e+
My system openssl, however, was a previous version, so didn't support 
this option.

Solution:
Either use an older version of CA.pl or update the system openssl.
F
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


JDK on FreeBSD

2005-03-30 Thread Spiral Eyed Girl
Is there an easy way to get the java development kit on freebsd? I can't 
seem to find any info on it anywhere.

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


P2P blocker: PeerGuardian 2 equivalent to FreeBSD?

2005-03-30 Thread awad

Hello.

My sister wants to use Torrent for her school documentary
needs. She installed PeerGuardian 2 on our workstation, but
I told her that didn't work because our main entry point
to the Internet is through our gateway server with FreeBSD.

PeerGuardian 2 is currently blocking 801227506 IPs that
may try to sue you or get you arrested if you're using P2P
stuff. I was wondering if there was something similar for
FreeBSD, or if I have to block the list of IPs manually,
and if so, how?

My firewall is PF for OpenBSD.

Thanks all,
-- Awad

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


Re: How do I kill the console? (or how to make nullconsole work)

2005-03-30 Thread Emanuel Strobl
Am Mittwoch, 30. März 2005 09:16 schrieb John Pettitt:
> I'm running 5.4 BETA1 on a soekris 4801 board.  The unit emulates a
> console on a serial port.  I want to use the serial port for my GPS so I
> want the console messages from BSD to go away - an in particular I want
> BSD to ignore inbound data during the boot process.
>
> So far:
>
> I've used the regular mbr so that I don't get the disk prompt
> I've added "boot" to loader.rc before the beastie call so that it
> doesn't display the menu
>
> Both these change work
>
> However if I add boot.config with -n -m the system doesn't boot (and I
> can't tell why because I have no messages!)
> If I set console="nullconsole" the system doesn't boot and again I can't
> see why.
>
> Does anybody have any wisdom on how to get nullconsole to work?

Unfortunately not, but if you defined nullconsole I think no /boot.config is 
allowed.

I'd suggest you try to set hints.sio.1.flags="0x10" and make sure 
hints.sio.0.flags doesn't exist. This should make the second (not DB-9 
connected) serial ports of the 4801 systemconsole.
Alternatively you can try setting boot_serial="sio1" in /boot/loader.conf, but 
I never tried that.
Make sure in any case you also have "console=comconsole" in /boot/loader.conf
since the soekris bios emulates a simple "VGA"-Console.

You can also recompile the loader to tell it what sio (and at what speed) it 
should use.
The following in /etc/make.conf does the trick:
BOOT_COMCONSOLE_PORT=   0x2F8
BOOT_COMCONSOLE_SPEED=  115200

For the loader to recompile goto /usr/src/sys/boot and do:
make clean && make depend && make && make install

Good luck,

-Harry

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


pgp1tArdDFaIj.pgp
Description: PGP signature


  1   2   >