save file

2005-10-05 Thread sulie halim
hi again,

how to take a file from the system, and save it into
the desktop (in Windows environment)?

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


Re: how to recompile a port in a clean maneer?

2005-10-05 Thread John Oxley
Sorry, I lost the beginning of this thread,

On Wed, Oct 05, 2005 at 06:50:40PM -0400, Chuck Swiger wrote:
> Eric Devolder wrote:
> [ ... ]
> >My specific questions are:
> >* how to fetch the source code of a port? and especially from another 
> >release?

Look in /usr/ports/Mk/bsd.port.mk
There are options do to the entirety of make install

About line 674 it shows the default sequence for "all"
# check-sanity fetch checksum extract patch configure build

Have a look through that file for a much better idea of the "magic"
behind ports.

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


Re: Question

2005-10-05 Thread Chuck Swiger

sulie halim wrote:

how can we view/open files in freebsd? e.g write.doc,
write.txt or write.ppt?


See the OpenOffice port at /usr/ports/editors/openoffice-1.1, or at:

WWW: http://www.openoffice.org/
 http://porting.openoffice.org/freebsd/

...except for the .txt files, which can be viewed or editted by any text editor 
you like, such as vi, emacs, etc.


--
-Chuck

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


Re: Question

2005-10-05 Thread Yuan Jue
On Thursday 06 October 2005 14:39, sulie halim wrote:
> Hi there,
>
> how can we view/open files in freebsd? e.g write.doc,
> write.txt or write.ppt?

Try OpenOffice. Good luck!

-- 
Best Regards.

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


Re: Can't get Mailman to work

2005-10-05 Thread Chuck Swiger

Sasa Stupar wrote:
[ ... ]
I have sendmail configured and running just fine. And the group mailnull 
DOES exist on my system. I have even tried to ciompile Mailman with 
different mail_gid but I get allways the same error.

Looks like this is connected to the execution of the smrsh.
Does anyone have (had) the similar problem and how to solve it?


Getting this right can be somewhat of a pain, unfortunately.  You might try 
setting the --with-mail-gid to 26 explicitly, or you might try setting it to smmsp.


What does "grep DefaultUser /etc/mail/sendmail.cf" say...?

--
-Chuck


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


Question

2005-10-05 Thread sulie halim
Hi there,

how can we view/open files in freebsd? e.g write.doc,
write.txt or write.ppt?



__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Can't get Mailman to work

2005-10-05 Thread Sasa Stupar

Hi!

I have installed Mailman 2.1.6 from the ports collection on FBSD 5.4. Now I 
have configured apache to have web access and it is working. I have even 
created a list and that worked too. My problem is that when I sent a 
message to the list I get back:

--
Failure to find group name mailnull.  Try adding this group
to your system, or re-run configure, providing an
existing group name with the command line option --with-mail-gid.
--
I have sendmail configured and running just fine. And the group mailnull 
DOES exist on my system. I have even tried to ciompile Mailman with 
different mail_gid but I get allways the same error.

Looks like this is connected to the execution of the smrsh.
Does anyone have (had) the similar problem and how to solve it?

Regards,
Sasa

pgpPAohxbqLP6.pgp
Description: PGP signature


Re: sendmail not starting at boot

2005-10-05 Thread Chuck Swiger

Annelise Anderson wrote:

On 5.4-STABLE as of October 1, sendmail doesn't start on reboot.
I have to either do it by hand or run sh rc.sendmail (which does
start it).  There's no sendmail.sh in /usr/local/etc/rc.d.


Sendmail is part of the FreeBSD base system by default, and not something in 
/usr/local.  You should have a /etc/rc.d/sendmail RC script...



The rc.conf has sendmail_enable="YES" and I even changed this
in /etc/defaults/rc.conf.


Don't change /etc/defaults/rc.conf.  Change /etc/rc.conf only.


I supposed I could clip some of rc.sendmail and put in in a
sendmail.sh file for /usr/local/etc/rc.d, but perhaps something
more obvious is wrong.  I want sendmail to be not only a
local mta but to be the incoming and outgoing server.


OK.  Setting:

sendmail_enable="YES"

...ought to do the trick, so something else is going on.


Have you checked /var/log/messages and /var/log/maillog?
Is your hostname set to a valid FQDN?
Is local DNS working properly on that machine?

Have you copied /etc/mail/freebsd.mc to /etc/mail/host.example.com.mc, editting 
that file if and as needed, and doing a "make all" in /etc/mail?  See 
/etc/mail/README.


--
-Chuck

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


Re: OT: New design

2005-10-05 Thread Doug Poland

On Wed, October 5, 2005 22:43, Kirk Strauser said:
> On Wednesday 05 October 2005 05:43 pm, Chris wrote:
>> I see the site is sporting a new design. I like it.
>
> I like the idea, but the rendering is lacking in some browsers.  This
> screenshot comes from Konqueror 3.4.2 on a FreeBSD 6.0-BETA4
> machine:
>
> http://subwiki.honeypot.net/pub/new_freebsd_org_in_konqueror.png
>
> FWIW, it looks almost identical in Firefox 1.0.7 on the same system.
> The design scales badly on larger windows, too: at 1600x1200, the
> content fills maybe 40% of my browser window.
>
Renders beautifully at 1600x1200 in Mozilla 1.7.8 and Epiphany 1.6.3

-- 
Regards,
Doug

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


Re: Hidden spot on hard drives?

2005-10-05 Thread D. Goss
I wanted to say what Kirk has said well.  As a customer, if a company  
is going to overbearingly copy-protect software i'll look for an  
alternative.  I understand a license number and maybe a key  
generator, even a dial-in check to some home server.  Dongles stink  
but I have used software with them.  This all works somewhat well and  
is proven.  You can always get around anything and I certainly would  
think more than twice about any software that started messing with my  
hard drive(s) at a very low level like this.  Bad bad bad.


d.


On Oct 5, 2005, at 8:04 PM, Kirk Strauser wrote:


On Wednesday 05 October 2005 01:44 pm, Jonathon McKitrick wrote:

the company where I work (with Windows) is evaluating a copy  
protection
product that stores info somewhere on the HDD where the [1] user  
cannot
touch it, [2] a format will not erase it, [3] and Norton Ghost  
will not find

it.



1) No such animal.
2) Ah - the bootblock, as others have mentioned.
3) Of course, that doesn't say anything about Ghost v$(current + 1).

To be blunt, your vendor is lying to you.  At best, they can make  
copying less
convenient than otherwise, but can't stop a dedicated cracker.   
Why, then,
would you want to make life more difficult for your paying  
customers while

barely slowing those capable of doing you the most harm?

One thing I learned while growing up through the C=64 and Amiga  
days is that
copy protection never, ever, EVER works.  Ever.  Under no  
circumstances.  It
only makes your legitimate users (deservedly) hate you.  Are you  
sure that's

what your company really wants?
--
Kirk Strauser



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


Re: Dual Boot, Boot manager

2005-10-05 Thread Peter Clutton
On 10/6/05, Joshua Lewis <[EMAIL PROTECTED]> wrote:
> I installed 5.4 on a second drive and I realize now the boot manager I
> installed is on the second drive and not loaded in the MBR of my Primary
> drive.
>
> Is there a way to load the FreeBSD boot manager onto my primary drive from
> within windows? Or do I have to reboot to the CD and load it from there?
>
> My fear is I am going to screw up my windows drive while in the FreeBSD
> installer. I was tring to avoid touching that drive from the installed
> becuae it is a new enviornment I am afraid I will make a mistake.

Well i'm not really sure what you mean, but if you installed freebsd on your
second drive, and selected to load it's MBR, everything should be fine, and i
don't think you should be worrying about anything.

Having said that if you would rather use the windows MBR, you need to modify
the boot.ini file in windows to look on the second disk for freebsd.
You shouldn't have any problem on finding documentation for the
boot.ini syntax from google.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: NEWBIE: how-to for feeding file to gnomealyzer.sh?

2005-10-05 Thread David Armour
hello greg,

thank you for your reply. 

> > i seem to recall a perl something or other flashing by on one of 
> > those root terminal screens. how does one preserve the 
> > information on those screensful? 

> man script

> Use script to capture your entire upgrade process for analysis. Look 
> not only at the end where things totally crap out, but possibly much 
> earlier where things may start to fail in a non-fatal way (esp. if 

i'd forgotten the script trick. too far back in the memory banks i 
guess.

> Sorry for not responding earlier... an unusual confluence of the 
> stars allowed me to take an actual vacation that involved no 

sounds like it must've been pretty good.

> computers other than a GPS locator. Perhaps you've solved this by 
> now, but if not:

i fed the file to the gnomelogalyzer script and it basically told me 
that it couldn't help. (!) subsequently, i've seen messages suggesting 
that all i needed was linuxpluginwrapper and one other port (the name 
of which eludes me at the moment) installed. i've made sure they're 
installed, but as it turns out, i haven't needed the plugins at any of 
the sites i've visited. 

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


Re: Hidden spot on hard drives?

2005-10-05 Thread Peter Clutton
On 10/6/05, Kirk Strauser <[EMAIL PROTECTED]> wrote:
> On Wednesday 05 October 2005 01:44 pm, Jonathon McKitrick wrote:
> > the company where I work (with Windows) is evaluating a copy protection
> > product that stores info somewhere on the HDD where the [1] user cannot
> > touch it, [2] a format will not erase it, [3] and Norton Ghost will not find
> > it.
>
> 1) No such animal.
> 2) Ah - the bootblock, as others have mentioned.
> 3) Of course, that doesn't say anything about Ghost v$(current + 1).
>
> To be blunt, your vendor is lying to you.

I'm not quite so unbelieving. I mean there are always ways to get at
data, hell,
you could just rip the drive out and take a hex image. But that isn't
the point.
There are software and hardware devices which can do this for you, and their
claim could be true to a certain extent.

There are a few other places to hide data: servo tracks, and tracks
where data about bad sectors are kept, but this sometimes requires
hardware to write to it.

Just my two cents on an interesting subject:)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Enabling cgi scripts in apache

2005-10-05 Thread Glenn Dawson

At 09:31 PM 10/5/2005, Garrett Cooper wrote:

Hi,
Just having problems again enabling cgi script execution in
apache. The script exists, it's the right set of permissions, and the
perl interpreter is reference correctly, as well as the following
line in the httpd.conf file:

AddHandler cgi-script .cgi


Without being able to see the config, the name of the script, the 
contents of the script,  or the directory it's in, the simple stuff 
comes to mind.


Does the AddHandler directive actually apply to the directory that 
contains the script?


Does the script end in .cgi ?

What shows up in your apache error log?

What error shows up in the browser when you try to browse to the script?

-Glenn


I also restarted the server, so I'm not sure what I'm missing
out on. Any ideas?
Versions:

[EMAIL PROTECTED] perl --version

This is perl, v5.8.6 built for i386-freebsd-64int
(with 2 registered patches, see perl -V for more detail)

Copyright 1987-2004, Larry Wall

Perl may be copied only under the terms of either the Artistic
License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'.  If you have access
to the
Internet, point your browser at http://www.perl.org/, the Perl Home
Page.

[EMAIL PROTECTED] httpd -v
Server version: Apache/1.3.33 (Unix)
Server built:   Apr  4 2005 01:29:24

Thanks for the help in advance!
-Garrett
___
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]"


Enabling cgi scripts in apache

2005-10-05 Thread Garrett Cooper

Hi,
Just having problems again enabling cgi script execution in  
apache. The script exists, it's the right set of permissions, and the  
perl interpreter is reference correctly, as well as the following  
line in the httpd.conf file:


AddHandler cgi-script .cgi

I also restarted the server, so I'm not sure what I'm missing  
out on. Any ideas?

Versions:

[EMAIL PROTECTED] perl --version

This is perl, v5.8.6 built for i386-freebsd-64int
(with 2 registered patches, see perl -V for more detail)

Copyright 1987-2004, Larry Wall

Perl may be copied only under the terms of either the Artistic  
License or the

GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'.  If you have access  
to the
Internet, point your browser at http://www.perl.org/, the Perl Home  
Page.


[EMAIL PROTECTED] httpd -v
Server version: Apache/1.3.33 (Unix)
Server built:   Apr  4 2005 01:29:24

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


Real Player

2005-10-05 Thread Rem P Roberti
Real Player has a number of archived versions which are purportedly
designed for Unix/Linux platforms.  If anyone has had success using one
of these version with FreeBSD I'd appreciate a heads up as to which
one.  Alternatively, if there is a better choice out there for streaming
I'd love to know about it.

Thanks,

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


Re: OT: New design

2005-10-05 Thread Kirk Strauser
On Wednesday 05 October 2005 05:43 pm, Chris wrote:
> I see the site is sporting a new design. I like it.

I like the idea, but the rendering is lacking in some browsers.  This 
screenshot comes from Konqueror 3.4.2 on a FreeBSD 6.0-BETA4 machine:

   http://subwiki.honeypot.net/pub/new_freebsd_org_in_konqueror.png

FWIW, it looks almost identical in Firefox 1.0.7 on the same system.  The 
design scales badly on larger windows, too: at 1600x1200, the content fills 
maybe 40% of my browser window.

I like the overall look that they're shooting for, but the facelift is still 
kind of painful at this point.
-- 
Kirk Strauser


pgpEZbl0DNNnD.pgp
Description: PGP signature


Missing mention in ipfw in the Handbook

2005-10-05 Thread Foo Ji-Haw
For what it's worth, I'd like highlight a key point I think is missing, in the 
ipfw section of the Handbook. This has been discussed earlier with help from 
this mailing list community. I am just formalising the documentation.

The firewall that comes with the default kernel (at least on the 5.4 release) 
comes with forwarding disabled. As a result, if you try to do a ipfw fwd (or 
ipfw forward), you will get a getsockopt error.

The Handbook (at this time of writing) did not mention the inclusion of:
options IPFIREWALL_FORWARD

Recompiling the kernel with this thrown in will activate forwarding by default. 
I do not know if there is a sysctl parameter which can avoid the kernel 
recompile. If there is one, kindly contribute to the knowledge base (aka 
mailing list).

Hopefully this post will save the next FreeBSDer precious time.

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


Dual Boot, Boot manager

2005-10-05 Thread Joshua Lewis
I installed 5.4 on a second drive and I realize now the boot manager I
installed is on the second drive and not loaded in the MBR of my Primary
drive.

Is there a way to load the FreeBSD boot manager onto my primary drive from
within windows? Or do I have to reboot to the CD and load it from there?

My fear is I am going to screw up my windows drive while in the FreeBSD
installer. I was tring to avoid touching that drive from the installed
becuae it is a new enviornment I am afraid I will make a mistake.




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


Re: Hidden spot on hard drives?

2005-10-05 Thread Kirk Strauser
On Wednesday 05 October 2005 01:44 pm, Jonathon McKitrick wrote:
> the company where I work (with Windows) is evaluating a copy protection
> product that stores info somewhere on the HDD where the [1] user cannot
> touch it, [2] a format will not erase it, [3] and Norton Ghost will not find
> it.  

1) No such animal.
2) Ah - the bootblock, as others have mentioned.
3) Of course, that doesn't say anything about Ghost v$(current + 1).

To be blunt, your vendor is lying to you.  At best, they can make copying less 
convenient than otherwise, but can't stop a dedicated cracker.  Why, then, 
would you want to make life more difficult for your paying customers while 
barely slowing those capable of doing you the most harm?

One thing I learned while growing up through the C=64 and Amiga days is that 
copy protection never, ever, EVER works.  Ever.  Under no circumstances.  It 
only makes your legitimate users (deservedly) hate you.  Are you sure that's 
what your company really wants?
-- 
Kirk Strauser


pgpVt9ZlDUq3A.pgp
Description: PGP signature


sendmail not starting at boot

2005-10-05 Thread Annelise Anderson

On 5.4-STABLE as of October 1, sendmail doesn't start on reboot.
I have to either do it by hand or run sh rc.sendmail (which does
start it).
There's no sendmail.sh in /usr/local/etc/rc.d.

The rc.conf has sendmail_enable="YES" and I even changed this
in /etc/defaults/rc.conf.

I supposed I could clip some of rc.sendmail and put in in a
sendmail.sh file for /usr/local/etc/rc.d, but perhaps something
more obvious is wrong.  I want sendmail to be not only a
local mta but to be the incoming and outgoing server.


Thanks--

Annelise


.


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


Re: OT: New design

2005-10-05 Thread Murray Stokely
On Wed, Oct 05, 2005 at 05:36:08PM -0700, Micah wrote:
> For you it's a white background.  For me in konqueror is's a pale blue 
> (my default window color) and grey in Firefox (again, my default browser 
> color).  By the looks of the rounded buttons, a white background is 
> expected but not provided by the site.

This has been fixed in CVS btw, and will go live shortly.

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


Re: Best Way to Install FreeBSD on Gateway G6-400

2005-10-05 Thread Greg 'groggy' Lehey
On Thursday,  6 October 2005 at  1:43:13 +, [EMAIL PROTECTED] wrote:
>
> Could you please offer some advice on how I can remove Windows XP
> Pro from an old and slow Gateway 400 Mhz computer, and install
> FreeBSD?

This is described in the handbook
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/).  Are you
having difficulty with it?

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpY9jMQE8cRI.pgp
Description: PGP signature


Re: OT: New design

2005-10-05 Thread Kris Kennaway
On Wed, Oct 05, 2005 at 08:25:22PM -0400, Nicolas Blais wrote:
> On October 5, 2005 07:57 pm, Hamza Eraldi wrote:
> > Great design!
> > Congratulations!
> >
> > On Wed, 05 Oct 2005 17:43:20 -0500, "Chris" <[EMAIL PROTECTED]> said:
> > > I see the site is sporting a new design. I like it.
> > >
> > >
> > > --
> > > Best regards,
> > > Chris
> > >
> > > Don't force it,
> > > get a bigger hammer.
> > > ___
> 
> Agreed, but it's missing a direct link to the ports.

That's a good point - you should bring it up on [EMAIL PROTECTED]  There will
probably be a lot of these little tweaks over the coming weeks.

Kris


pgpRwRtjzY8Ox.pgp
Description: PGP signature


Re: OT: New design

2005-10-05 Thread Kris Kennaway
On Thu, Oct 06, 2005 at 01:26:02AM +0200, Jonathan Glaschke wrote:
> On Wed, Oct 05, 2005 at 04:05:13PM -0700, Jordan Michaels wrote:
> > Chris wrote:
> > 
> > >I see the site is sporting a new design. I like it.
> > >
> > >
> > >  
> > >
> > *Much* better. =) More professional like FreeBSD should be...
> > 
> > Does anyone know whatever became of the FreeBSD logo contest? Did they
> > get a new logo or did no one win? Just curious!
> 
> http://docs.freebsd.org/cgi/getmsg.cgi?fetch=615424+0+archive/2005/freebsd-questions/20050904.freebsd-questions

In which one may read completely uninformed guesses presented as fact
by Ted.

Back in the real world, voting on the new logos among the developer
community concludes tomorrow.  I don't know what the timescale after
that is for rolling it out.

Kris


pgpUYMXob4E91.pgp
Description: PGP signature


Best Way to Install FreeBSD on Gateway G6-400

2005-10-05 Thread tcvsoar
Hello,

Could you please offer some advice on how I can remove Windows XP  Pro from an 
old and slow Gateway 400 Mhz computer, and install FreeBSD?  

Thank you,

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


Re: Multilanguange

2005-10-05 Thread Owen Jeremiah
> If you want to display chinese, you need a chinese
> font,(e.g."simsun"),then set the LANGUAGE environment
> before startx.
> e.g.
> #setenv LANGUAGE zh_CN.UTF8
> Then you can display chinese filenames under gnome or gnome-terinal.
>
> If you want to input chinese,you need a chinese input
> method,(e.g.xcin,fcitx),then set env before startx.
> #setenv XMODIFIERS @im=fcitx
>
> However, many X program only support english language,like xterm.
> Also,many OS independent program can support many language(display &&
> input) without extra configuare,(e.g.emacs).
>

Correct me if I'm wrong, but from the documentation I read this means change
the WHOLE programs (e.g.: gnome etc.) default language into the other
language. What I want is the ability to change language on the fly, like
when I create a presentation, I want to be able to write in English and also
another language (e.g: chinese).

Is my assumption above is correct? If not, kindly enough to enlighten me
with the correct manual pages and/or handbook section to do the above.

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


md device backing files on nfs mounts?

2005-10-05 Thread Chad Leigh -- Shire.Net LLC

Can the files that back an md device be resident on an nfs mount?

I run some jails with each having its own root based on an md  
device.  I am thinking of having a backend nfs server have all the  
storage and serve it to various front end servers.  If one front end  
server went down I could easily bring it up on another one.  Kind of  
poor-man's redundancy


thanks
Chad


---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
[EMAIL PROTECTED]


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


Cannot open /dev/tty for read

2005-10-05 Thread Mark Bucciarelli
I get the error in the subject line when trying to install the www/interchange
port inside a jail. The full output of the make command is below.

I'm using the standard devfs rule set 4 with the following addition:

# devfs -m /web/jail/myjail/dev rule apply add path 'tty' unhide

>From inside the jail:

# ls -l /dev/tty
crw-rw-rw-  1 root  wheel5,   1 Oct  5 21:06 /dev/tty

The offending line in Makefile.PL is

my $term;
if($TermRead) {
 here. >  $term = new Term::ReadLine 'MakeFile';
  $Prompt_sub = sub {
my($prompt, $default) = @_;
$prompt .= "[$default] "
  if defined $default && !$ENV{PERL_RL};
return $term->readline($prompt, $default);
  };
}

If I comment this out and just use Perl instead of Term::Readline, the 
install completes successfully.

Am I doing something wrong with devfs or should I file a problem report 
against this port?

Here's the full output of the make install:  

# make -DCHECK_FOR_IC_USER install clean
===>  Installing for interchange-4.8.7
===>   interchange-4.8.7 depends on file: 
/usr/local/lib/perl5/site_perl/5.8.7/SQL/Statement.pm - found
===>   interchange-4.8.7 depends on file: 
/usr/local/lib/perl5/site_perl/5.8.7/mach/Storable.pm - found
===>   interchange-4.8.7 depends on file: 
/usr/local/lib/perl5/site_perl/5.8.7/mach/Safe/Hole.pm - found
===>   interchange-4.8.7 depends on file: 
/usr/local/lib/perl5/site_perl/5.8.7/mach/Digest/MD5.pm - found
===>   interchange-4.8.7 depends on file: 
/usr/local/lib/perl5/site_perl/5.8.7/mach/MIME/Base64.pm - found
===>   interchange-4.8.7 depends on file: 
/usr/local/lib/perl5/site_perl/5.8.7/LWP/Simple.pm - found 
===>   interchange-4.8.7 depends on file: 
/usr/local/lib/perl5/site_perl/5.8.7/URI/URL.pm - found
===>   interchange-4.8.7 depends on file: 
/usr/local/lib/perl5/site_perl/5.8.7/Term/ReadLine/Perl.p - found
===>   interchange-4.8.7 depends on file: 
/usr/local/lib/perl5/site_perl/5.8.7/mach/Term/ReadKey.pm - found
===>   interchange-4.8.7 depends on file: /usr/local/bin/perl5.8.7 - found
===>   Generating temporary packing list
===>  Checking if www/interchange already installed
Writing /usr/local/lib/perl5/site_perl/5.8.7/mach/auto/Interchange/.packlist
/usr/local/bin/perl5.8.7 Makefile.PL force nocpaninstall=1 
INTERCHANGE_USER=interch final=/usr/local/interchange
Cannot open /dev/tty for read at Makefile.PL line 64
*** Error code 16

Stop in /usr/ports/www/interchange/work/interchange-4.8.7.
*** Error code 1

Stop in /usr/ports/www/interchange.


Regards,

m

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


Re: Which MySQL version best to use and with/without linux threads?

2005-10-05 Thread Greg 'groggy' Lehey
On Wednesday,  5 October 2005 at  7:51:33 -0800, Peter Giessel wrote:
>  On Wednesday, October 05, 2005, at 07:31AM, Greg 'groggy' Lehey <[EMAIL 
> PROTECTED]> wrote:
>
>> On Monday,  3 October 2005 at 10:37:21 -0800, Peter A. Giessel wrote:
>>> On 10/3/2005 09:41, Jared Kuolt seems to have typed:
 There really isn't any reason not to
 anymore since everything is backwards compatible.
>>>
>>> I've found that Dovecot 1.0a3 has a problem with 4.1.x,
>>
>> Can you give more details?
>
> Sure, FreeBSD 4.11, I upgraded Dovecot to 1.0a3 from the ports collection
> using Portmanager (portmanager -u), fixed the configuration files
> (as they had changed from Dovecot 0.99), and Dovecot couldn't login to
> MySQL anymore.  I turned on logging on MySQL and Dovecot:
>
> *** Dovecot Log ***
> dovecot: Oct 02 17:21:50 Error: auth-worker(default): mysql: Connect failed 
> to localhost (aukebay): Can't connect to local MySQL server through socket 
> '/tmp/mysql.sock' (2) - waiting for 1 seconds before retry

This looks like the server wasn't running.

> dovecot: Oct 02 17:41:47 Error: auth-worker(default): mysql: Connect failed 
> to localhost (aukebay): Access denied for user 'abbc'@'localhost' (using 
> password: YES) - waiting for 1 seconds before retry

And this is a second attempt.  The MySQL users haven't been set up
correctly.

> *** End Log Snipet ***
>

> *** dovecot_info log ***
> 
> dovecot: Oct 03 08:53:56 Info: auth-worker(default): mysql: Connected to 
> localhost (aukebay)
> *** end dovecot_info Snipet ***

This is an entirely different time frame, of course.

> *** MySQL Log 4.1.14 ***
> 051002 17:41:47   1 Connect Access denied for user 'abbc'@'localhost' 
> (using password: YES)

This is the same authentication problem seen from the other side.

> 051002 17:42:08   2 Connect [EMAIL PROTECTED] on

And this
> *** End Log Snipet ***
>
> *** MySQL Log after downgrading (4.0.26) ***
> 051003  8:53:56   5 Connect [EMAIL PROTECTED] on aukebay

And this is the next day.  It looks as if it worked.

> *** End Log Snipet ***
>
> The 17:42:08 connection is when I:
> # mysql -u abbc -p
> logged in from the command line using the password in the dovecot config file.
>
> I didn't touch the dovecot config file after downgrading, and I used the same
> .sql file to populate the database with both version of MySQL, so the password
> was unchanged.

So you're saying that the authentication problem was despite proven
good user name and password?

> If there are any details that you need that I'm leaving out that I
> can provide, please let me know.

It's not clear that there was anything wrong on the morning of 3
October.  Did you give up or continue?

There have been some changes to authentication (in particular,
password hashing) between 4.0 and 4.1.  It's possible that you need to
do something to your Dovecot configuration, but unfortunately I don't
know Dovecot at all.

Greg
--
See complete headers for address and phone numbers.


pgp6N3YyW71uf.pgp
Description: PGP signature


Apsfilter FBSD 5.4

2005-10-05 Thread E. J. Cerejo
I could print perfectly using apsfilter before I did a
clean FreeBSD instalation and now something is not
right, when I go through the setup program and I
finally test a page the sheet of paper gets fed and
looks like it starts printing and then everything
freezes on my printer or it completely shuts down and
it only turn on if I pull the plug.  I'm using
FBSD5.4.  Has anyone ever had this problem?



EJC
www.only7bucks.com








___ 
Novo Yahoo! Messenger com voz: ligações, Yahoo! Avatars, novos emoticons e 
muito mais. Instale agora! 
www.yahoo.com.br/messenger/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Hidden spot on hard drives?

2005-10-05 Thread Gary W. Swearingen
Jonathon McKitrick <[EMAIL PROTECTED]> writes:

> 1.  Any idea where this info could be stored?

The obvious place is the end of the first track between the boot
sector(s) and the first partition.  But that's probably too easy and
well-known.  As others have noted, Unix (eg, "dd") has easy access to
all of the standard sectors of the HDD.

But I think I recall reading about some software that does some kind
of special accesses of the disk drive, say to write to sector "#" and
then tell the disk to mark that sector bad and use one of the spare
sectors in it's place.  Something tricky like that that OS code
doesn't know how do without a custom driver that understands very
low-level HDD control.  Of course, if their software can undo it,
anyone's could, but not if you don't know how, or maybe they've
managed to pick the sectors cryptographically or something, making the
job really tough.

I've also heard of copy protection moving heads half a cylinder and
storing data "between" normal tracks, but that was probably on
floppies; HDD tracks probably almost overlap as it is.

> 2.  Any way the same thing could be done under FreeBSD?

Of course, but here's no code to do it now, AFAIK.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: OT: New design

2005-10-05 Thread Micah

Chris wrote:


Parv wrote:
 


(Followup set to -www.)


in message <[EMAIL PROTECTED]>,
wrote Jordan Michaels thusly...

   


*Much* better. =) More professional like FreeBSD should be...
 


Not really.  Near the area around "Based on BSD UNIX", i see in
Opera red title "Based on..." and black blurb on dark brown
background color (specified in Opera by me), making it hard to read.
Then there are also the links in red, of course, on dark background,
making it hard to read.
   



I dunno - I dont see a dark brown background where you say it is. It's
white to me.

Again, the links in red on a dark background? Mayb try out Firefox. I
see a heck of a lot of white background where you say its either brown
or dark



For you it's a white background.  For me in konqueror is's a pale blue 
(my default window color) and grey in Firefox (again, my default browser 
color).  By the looks of the rounded buttons, a white background is 
expected but not provided by the site.


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


Re: OT: New design

2005-10-05 Thread Nicolas Blais
On October 5, 2005 07:57 pm, Hamza Eraldi wrote:
> Great design!
> Congratulations!
>
> On Wed, 05 Oct 2005 17:43:20 -0500, "Chris" <[EMAIL PROTECTED]> said:
> > I see the site is sporting a new design. I like it.
> >
> >
> > --
> > Best regards,
> > Chris
> >
> > Don't force it,
> > get a bigger hammer.
> > ___

Agreed, but it's missing a direct link to the ports.

Nicolas.
-- 
FreeBSD 7.0-CURRENT #0: Sat Oct  1 11:51:38 EDT 2005 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A 
PGP? : http://www.clkroot.net/security/nb_root.asc


pgpegYimRT7sO.pgp
Description: PGP signature


Re: fxp0 problem with 6Beta?

2005-10-05 Thread Brian A. Seklecki

--

Should have read man tcpdump prior to running it!
As root:
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on fxp0, link-type EN10MB (Ethernet), capture size 96 bytes
23:10:40.704329 802.1d config 8000.00:0f:b5:16:dd:b6.8001 root 8000.00:0f:b5:16:


What you want to do is run this on one machine while you try to ping that 
machine (on which are running) from another machine.


Something strange going on in your network if your clients aren't ARP'ing 
each other.


What kind of router did you say? Maybe reset to defaults if the problem 
persists?


~BAS



dd:b6 pathcost 0 age 0 max 6 hello 2 fdelay 0
23:10:42.704385 802.1d config 8000.00:0f:b5:16:dd:b6.8001 root 8000.00:0f:b5:16:
dd:b6 pathcost 0 age 0 max 6 hello 2 fdelay 0
23:10:44.704501 802.1d config 8000.00:0f:b5:16:dd:b6.8001 root 8000.00:0f:b5:16:
dd:b6 pathcost 0 age 0 max 6 hello 2 fdelay 0
^C
3 packets captured
3 packets received by filter
0 packets dropped by kernel





l8*
-lava

x.25 - minix - bitnet - plan9 - 110 bps - ASR 33 - base8
___
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 SATA drive on a Shuttle

2005-10-05 Thread Gayn Winters
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> [EMAIL PROTECTED]
> Sent: Wednesday, October 05, 2005 4:37 PM
> To: freebsd-questions@freebsd.org
> Subject: Problems with SATA drive on a Shuttle
> 
> 
> Hi. 
> I'm having problems with FBSD 5.4-S on a machine I built. 
> It is a Shuttle XPC with SATA150 drives. 
> 
> This is typical of the messages I get: 
> initiate_write_filepage: already started 
> ad5: WARNING no status, reselecting device 
> ad5: timeout sending command=ca 
> ad5: error issuing WRITE_DMA command 
> 
> I found some hits on the mailing list indicating a possible hardware 
> problem. 
> I have replaced both SATA drives and switched the SATA 
> connections from 
> the secondary socket to the primary socket. 
> (The drive controller is built into the motherboard.) 
> This happens on both drives but the one with the / filesystem is hit 
> harder with this. 
> I have swap partitions on both drives. 
> Nothing has helped. 
> 
> I'm considering installing Suse Linux on the machine to see 
> of it is a 
> software problem with FreeBSD. 
> I've also thought about trying one of the 6.0-BETAs to see if that 
> makes a difference. 
> 
> Any ideas would be welcome. 
> Thanks...

It does matter what controller you have on your m'board.  See man ata.

Also, 6.0 is far better than 5.4 IMHO for this support at least.

-gayn


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


Re: OT: New design

2005-10-05 Thread Hamza Eraldi
Great design!
Congratulations!

On Wed, 05 Oct 2005 17:43:20 -0500, "Chris" <[EMAIL PROTECTED]> said:
> I see the site is sporting a new design. I like it.
> 
> 
> -- 
> Best regards,
> Chris
> 
> Don't force it,
> get a bigger hammer.
> ___

-- 
http://www.fastmail.fm - Email service worth paying for. Try it for free

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


Problems with SATA drive on a Shuttle

2005-10-05 Thread bcsfd204
Hi. 
I'm having problems with FBSD 5.4-S on a machine I built. 
It is a Shuttle XPC with SATA150 drives. 

This is typical of the messages I get: 
initiate_write_filepage: already started 
ad5: WARNING no status, reselecting device 
ad5: timeout sending command=ca 
ad5: error issuing WRITE_DMA command 

I found some hits on the mailing list indicating a possible hardware 
problem. 
I have replaced both SATA drives and switched the SATA connections from 
the secondary socket to the primary socket. 
(The drive controller is built into the motherboard.) 
This happens on both drives but the one with the / filesystem is hit 
harder with this. 
I have swap partitions on both drives. 
Nothing has helped. 

I'm considering installing Suse Linux on the machine to see of it is a 
software problem with FreeBSD. 
I've also thought about trying one of the 6.0-BETAs to see if that 
makes a difference. 

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


Re: X Windows on Toshiba Tecra M1

2005-10-05 Thread Vulpes Velox
I would make sure that it is set to that native resolution of the LCD.

On Tue, 04 Oct 2005 07:37:34 -0700
jmulkerin <[EMAIL PROTECTED]> wrote:

> Just installed Freebsd 5.4 on a Toshiba Tecra M1.   Anyone know the 
> right parameters for the Video?All I get is lines and then
> fades to mostly dark gray.   I've searched the FAQ and the internet
> and haven't found anything that gives me a clue yet.
> 
> Thanks
> 
> John
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: OT: New design

2005-10-05 Thread Jonathan Glaschke
On Wed, Oct 05, 2005 at 04:05:13PM -0700, Jordan Michaels wrote:
> Chris wrote:
> 
> >I see the site is sporting a new design. I like it.
> >
> >
> >  
> >
> *Much* better. =) More professional like FreeBSD should be...
> 
> Does anyone know whatever became of the FreeBSD logo contest? Did they
> get a new logo or did no one win? Just curious!

http://docs.freebsd.org/cgi/getmsg.cgi?fetch=615424+0+archive/2005/freebsd-questions/20050904.freebsd-questions
> 
> -- 
> Warm regards,
> Jordan Michaels
> Vivio Technologies
> http://www.viviotech.net/
> [EMAIL PROTECTED] 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 
 | /"\   ASCII Ribbon   | Jonathan Glaschke - Lorenz-Görtz-Straße 71,
 | \ / Campaign Against | 41238 Mönchengladbach, Tel: 02166-265876
 |  XHTML In Mail   | Mobil: 0162-3390789, ICQ: 231021883
 | / \ And News | http://jonathan-glaschke.de/


pgpiL6IqAqSKQ.pgp
Description: PGP signature


Re: OT: New design

2005-10-05 Thread Chris
Parv wrote:
> (Followup set to -www.)
> 
> 
> in message <[EMAIL PROTECTED]>,
> wrote Jordan Michaels thusly...
> 
>>*Much* better. =) More professional like FreeBSD should be...
> 
> 
> Not really.  Near the area around "Based on BSD UNIX", i see in
> Opera red title "Based on..." and black blurb on dark brown
> background color (specified in Opera by me), making it hard to read.
> Then there are also the links in red, of course, on dark background,
> making it hard to read.

I dunno - I dont see a dark brown background where you say it is. It's
white to me.

Again, the links in red on a dark background? Mayb try out Firefox. I
see a heck of a lot of white background where you say its either brown
or dark.

>   
> 


-- 
Best regards,
Chris

Please don't steal, the IRS hates competition!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: OT: New design

2005-10-05 Thread Parv
(Followup set to -www.)


in message <[EMAIL PROTECTED]>,
wrote Jordan Michaels thusly...
>
> *Much* better. =) More professional like FreeBSD should be...

Not really.  Near the area around "Based on BSD UNIX", i see in
Opera red title "Based on..." and black blurb on dark brown
background color (specified in Opera by me), making it hard to read.
Then there are also the links in red, of course, on dark background,
making it hard to read.

It would be more thoughtful & merciful of the web site
designers/operators to define a background color w/ enough contrast
too.  Alternatively, it would be equally merciful not to specify any
colors; let the user agent handle it.

  - Parv
  

-- 

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


Re: OT: New design

2005-10-05 Thread Jordan Michaels
Chris wrote:

>I see the site is sporting a new design. I like it.
>
>
>  
>
*Much* better. =) More professional like FreeBSD should be...

Does anyone know whatever became of the FreeBSD logo contest? Did they
get a new logo or did no one win? Just curious!

-- 
Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
[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 recompile a port in a clean maneer?

2005-10-05 Thread Chuck Swiger

Eric Devolder wrote:
[ ... ]

My specific questions are:
* how to fetch the source code of a port? and especially from another release?


cd /usr/ports/mail/postfix  # or whatever port you want
make fetch

If you want to fetch a different version of the port, you can change the 
Makefile in the port's directory, along with anything else that may be needed 
(the patches under files will need to be adjusted, if any, etc).



* how to unpack, change the makefile, compile?


make extract
cd work
cd _path_   # this depends on the port and version, then edit files
# cd back to the top-level port directory
make


* how to package it again?


make package

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


OT: New design

2005-10-05 Thread Chris
I see the site is sporting a new design. I like it.


-- 
Best regards,
Chris

Don't force it,
get a bigger hammer.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: fxp0 problem with 6Beta?

2005-10-05 Thread Bdrawyah

>>
>>>
>>> What do the outputs of "ifconfig fpx0", "arp -an", "tcpdump -i fxp0 -n"
>>> and "netstat -s" look like?
>>>
>>> ~BAS
>>
>>
>> arp -an
>> ? (192.168.0.1) at 00:0f:b5:16:dd:b6 on fxp0 [ethernet]
>
>You should see an ARP entry for .07 from .05 and vice versa when you ping 
>each other (regardless if the ICMP makes it or not)

>From either .07 or .05 arp -an gives just 192.168.0.01
>
>>
>> tcpdump -i fxp0 -n
>> tcpdump: (no devices found) /dev/bpf0: Permission denied
>>
>
>This command will produce much more interesting results if you run it as 
>root or via sudo(8).  ...unless that error indicates that you compiled w/o 
>BPF.
>
>~BAS
>--
Should have read man tcpdump prior to running it!
As root:
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on fxp0, link-type EN10MB (Ethernet), capture size 96 bytes
23:10:40.704329 802.1d config 8000.00:0f:b5:16:dd:b6.8001 root 8000.00:0f:b5:16:
dd:b6 pathcost 0 age 0 max 6 hello 2 fdelay 0
23:10:42.704385 802.1d config 8000.00:0f:b5:16:dd:b6.8001 root 8000.00:0f:b5:16:
dd:b6 pathcost 0 age 0 max 6 hello 2 fdelay 0
23:10:44.704501 802.1d config 8000.00:0f:b5:16:dd:b6.8001 root 8000.00:0f:b5:16:
dd:b6 pathcost 0 age 0 max 6 hello 2 fdelay 0
^C
3 packets captured
3 packets received by filter
0 packets dropped by kernel


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


Re: fxp0 problem with 6Beta?

2005-10-05 Thread Brian A. Seklecki

On Wed, 5 Oct 2005, Bdrawyah wrote:





What do the outputs of "ifconfig fpx0", "arp -an", "tcpdump -i fxp0 -n"
and "netstat -s" look like?

~BAS



arp -an
? (192.168.0.1) at 00:0f:b5:16:dd:b6 on fxp0 [ethernet]


You should see an ARP entry for .07 from .05 and vice versa when you ping 
each other (regardless if the ICMP makes it or not)




tcpdump -i fxp0 -n
tcpdump: (no devices found) /dev/bpf0: Permission denied



This command will produce much more interesting results if you run it as 
root or via sudo(8).  ...unless that error indicates that you compiled w/o 
BPF.


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


5-Stable: "DMA count reg bogus" distorts sound (ESS-Solo)

2005-10-05 Thread Rob

Hi,

I'm running 5-Stable as of Sept. 24th.

My sound card is an ESS Solo-1 (integrated
in the motherboard). I load the modules
sound.ko and snd_solo.ko.

When using realplayer or mplayer, sound
is very much distorted; also, the console
gets an endless stream of these kind of
messages:

DMA count reg bogus: 4ff4 & 4ff4

Any idea what this means and what I can
do about this to solve the distortion of
the sound?

The dmesg output of the PC is here:
 http://surfion.snu.ac.kr/~lahaye/dmesg.boot

Thanks,
Rob.


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


libGL error

2005-10-05 Thread Osmany Guirola cruz
Hi people

I am using a radeon 9200 128MB in my FreeBSD 6.0BETA4 working perfect
i am using DRM :-).the output of glxinfo said 
direct rendering: Yes
and i have a lot of FPS with glxgears.
but i am using a program(pymol to see molecules etc) that is using
indirect render not direct renderand then is very slow..
the program use indirect rendering because this error tha i saw when put
the enviroment variable LIBGL_DEBUG to verbose

libGL error: dlopen /usr/X11R6/lib/modules/dri/r200_dri.so failed
(/usr/X11R6/lib/modules/dri/r200_dri.so: Undefined symbol
"_glapi_Dispatch")
libGL error: unable to find driver: r200_dri.so

other programs like VMD(similar to pymol) works with dirent renderin
without problem. How can i solve this?

Thanks 
Osmany




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


Re: fxp0 problem with 6Beta?

2005-10-05 Thread Brian A. Seklecki


What do the outputs of "ifconfig fpx0", "arp -an", "tcpdump -i fxp0 -n" 
and "netstat -s" look like?


~BAS


On Wed, 5 Oct 2005, Bdrawyah wrote:


I have a small LAN at home consisting of 192.168.0.5 (a single PIII) which runs 
5.4 stable and 192.168.
0.7 (a dual PIII) which runs 6Beta4 connected with a Netgear router at 
192.168.0.1.
192.168.0.7 has nothing on it, no firewall even, aside from 6Beta (with 
debugging turned off in the
kernel) and cvsup.

From 192.168.0.7 I can find and login to 192.168.0.5 and external computers 
using ssh.
From 192.168.0.5 I can login to external computers using ssh but there is no 
sign of 192.168.0.7,

pinging fails and the Netgear router can't see it.
Any suggestions?

Below is dmesg for 192.168.0.7
Copyright (c) 1992-2005 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 6.0-BETA4 #0: Sun Sep 11 16:48:29 BST 2005
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BOX7BRUCE
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (731.02-MHz 686-class CPU)
 Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
 
Features=0x383fbff
real memory  = 536870912 (512 MB)
avail memory = 515887104 (491 MB)
MPTable: 
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID:  1
cpu1 (AP): APIC ID:  0
ioapic0: Changing APIC ID to 8
ioapic0: Assuming intbase of 0
ioapic0  irqs 0-23 on motherboard
npx0: [FAST]
npx0:  on motherboard
npx0: INT 16 interface
cpu0 on motherboard
cpu1 on motherboard
pcib0:  pcibus 0 on motherboard
pci0:  on pcib0
agp0:  mem 0xf800-0xfbff at device 0.0 
on pci0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
pcib2:  at device 30.0 on pci0
pci2:  on pcib2
fxp0:  port 0x5400-0x543f mem 
0xfdc0-0xfdc00fff,0xfdd0-0xfd
df irq 18 at device 2.0 on pci2
miibus0:  on fxp0
inphy0:  on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:02:a5:53:cb:3f
ahc0:  port 0x5000-0x50ff mem 
0xfde0-0xfde00fff irq 19
at device 7.0 on pci2
ahc0: [GIANT-LOCKED]
aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
pci2:  at device 11.0 (no driver attached)
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci0:  port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x6460-0x646f at
device 31.1 on pci0
ata0:  on atapci0
ata1:  on atapci0
uhci0:  port 0x6440-0x645f irq 19 at device 
31.2 on pci0
uhci0: [GIANT-LOCKED]
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
pci0:  at device 31.3 (no driver attached)
pci0:  at device 31.5 (no driver attached)
pmtimer0 on isa0
orm0:  at iomem 
0xc-0xc7fff,0xc8000-0xc97ff,0xe-0xe on isa0
atkbdc0:  at port 0x60,0x64 on isa0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0:  irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse, device ID 3
fdc0:  at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0:  at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/13 bytes threshold
ppbus0:  on ppc0
plip0:  on ppbus0
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
unknown:  can't assign resources (memory)
unknown:  can't assign resources (port)
unknown:  can't assign resources (irq)
Timecounters tick every 1.000 msec
acd0: CDROM  at ata0-master PIO4
Waiting 5 seconds for SCSI devices to settle
da0 at ahc0 bus 0 target 0 lun 0
da0:  Fixed Direct Access SCSI-3 device
da0: 160.000MB/s transfers (80.000MHz, offset 127, 16bit), Tagged Queueing 
Enabled
da0: 8678MB (17773524 512 byte sectors: 255H 63S/T 1106C)
SMP: AP CPU #1 Launched!
Trying to mount root from ufs:/dev/da0s1a


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



l8*
-lava

x.25 - minix - bitnet - plan9 - 110 bps - ASR 33 - base8
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


fxp0 problem with 6Beta?

2005-10-05 Thread Bdrawyah
I have a small LAN at home consisting of 192.168.0.5 (a single PIII) which runs 
5.4 stable and 192.168.
0.7 (a dual PIII) which runs 6Beta4 connected with a Netgear router at 
192.168.0.1.
192.168.0.7 has nothing on it, no firewall even, aside from 6Beta (with 
debugging turned off in the 
kernel) and cvsup.
>From 192.168.0.7 I can find and login to 192.168.0.5 and external computers 
>using ssh.
>From 192.168.0.5 I can login to external computers using ssh but there is no 
>sign of 192.168.0.7, 
pinging fails and the Netgear router can't see it.
Any suggestions?

Below is dmesg for 192.168.0.7
Copyright (c) 1992-2005 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 6.0-BETA4 #0: Sun Sep 11 16:48:29 BST 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/BOX7BRUCE
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (731.02-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
  
Features=0x383fbff
real memory  = 536870912 (512 MB)
avail memory = 515887104 (491 MB)
MPTable: 
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  1
 cpu1 (AP): APIC ID:  0
ioapic0: Changing APIC ID to 8
ioapic0: Assuming intbase of 0
ioapic0  irqs 0-23 on motherboard
npx0: [FAST]
npx0:  on motherboard
npx0: INT 16 interface
cpu0 on motherboard
cpu1 on motherboard
pcib0:  pcibus 0 on motherboard
pci0:  on pcib0
agp0:  mem 0xf800-0xfbff at device 0.0 
on pci0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
pcib2:  at device 30.0 on pci0
pci2:  on pcib2
fxp0:  port 0x5400-0x543f mem 
0xfdc0-0xfdc00fff,0xfdd0-0xfd
df irq 18 at device 2.0 on pci2
miibus0:  on fxp0
inphy0:  on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:02:a5:53:cb:3f
ahc0:  port 0x5000-0x50ff mem 
0xfde0-0xfde00fff irq 19
 at device 7.0 on pci2
ahc0: [GIANT-LOCKED]
aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
pci2:  at device 11.0 (no driver attached)
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci0:  port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x6460-0x646f at 
device 31.1 on pci0
ata0:  on atapci0
ata1:  on atapci0
uhci0:  port 0x6440-0x645f irq 19 at device 
31.2 on pci0
uhci0: [GIANT-LOCKED]
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
pci0:  at device 31.3 (no driver attached)
pci0:  at device 31.5 (no driver attached)
pmtimer0 on isa0
orm0:  at iomem 
0xc-0xc7fff,0xc8000-0xc97ff,0xe-0xe on isa0
atkbdc0:  at port 0x60,0x64 on isa0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0:  irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse, device ID 3
fdc0:  at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0:  at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/13 bytes threshold
ppbus0:  on ppc0
plip0:  on ppbus0
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
unknown:  can't assign resources (memory)
unknown:  can't assign resources (port)
unknown:  can't assign resources (irq)
Timecounters tick every 1.000 msec
acd0: CDROM  at ata0-master PIO4
Waiting 5 seconds for SCSI devices to settle
da0 at ahc0 bus 0 target 0 lun 0
da0:  Fixed Direct Access SCSI-3 device 
da0: 160.000MB/s transfers (80.000MHz, offset 127, 16bit), Tagged Queueing 
Enabled
da0: 8678MB (17773524 512 byte sectors: 255H 63S/T 1106C)
SMP: AP CPU #1 Launched!
Trying to mount root from ufs:/dev/da0s1a


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


Re: Hidden spot on hard drives?

2005-10-05 Thread Michał Masłowski
> I seem to remember some software put it's license key in the boot sector
> (this was way back when and I might be not remembering correctly).  But
> even that can be read using dd...  not sure how I'd do it with windows,
> but I'm sure it's possible.

It's impossible with Windows NT, but possible with any MSDOS-based Windows.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /: write failed, filesystem is full

2005-10-05 Thread Joachim Stümpfl

Hi all,
ok, the problem is solved. tcpdump was still open and used the file as Bob 
already said.


Sorry for my stupidity :)

Thanks to all,
Joachim


Something still has the file open.  Even though the file no longer has
a directory entry, its disk space can't be released until nothing has
it open.  Either tcpdump or some program you were using to view the
file must still have it open.  If you get tired of looking for the
culprit, a reboot will guarantee it gets closed.  If you want to solve
the mystery, fstat should help.



- Bob


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


Re: bruteforceblocker + PF

2005-10-05 Thread Noel Jones
On 10/5/05, Enrique Ayesta Perojo <[EMAIL PROTECTED]> wrote:
> Hello, i'm trying to install the bruteforceblocker script to stop ssh attacks,
> but i'm having a problem with PF because it seems not to block the attacker
> ip.
>
> The machine is connected to internet and has some needed services for the LAN,
> so i want to log and block only outside attacks.
>
> The bruteforceblocker script seems to be working, because i can read the
> initial time of it at /var/log/auth.log, so i think the problem may be at my
> pf configuration.
>
> Any help?
>
> Thanks a lot
>
> /etc/pf.conf
> table  persist file "/var/log/bruteforce"
>
> # options
> set block-policy return
> set loginterface $ext_if
>
> # scrub
> scrub in all
>
> # filter rules
> block all
>
> pass quick on lo0 all
>
> pass in  on bge0 from 10.200.62.0/24 to 10.200.62.17
> pass out on bge0 from 10.200.62.17 to 10.200.62.0/24
>
> block in log quick inet proto tcp from  to any port ssh


I'm going to assume this is just a small part of your pf.conf, because
the part you show doesn't allow any internet access.  Maybe you should
show us your entire pf.conf.

Do your rules display as expected?
# pfctl -s rules

Did you reload pf after you edited pf.conf?
# pfctl -f /etc/pf.conf

Are you testing this from outside the 10.200.x.x network?

In your auth.log do you see bruteforceblocker messages such as:

220.92.126.217 was logged with total count of 1.

when an ssh login fails?
And then after $max_attempts is exceeded you should see:

IP 202.92.126.217 reached the maximum number of failed attempts!!!
Adding IP to the firewall...

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


Re: Hidden spot on hard drives?

2005-10-05 Thread Philip Hallstrom

On Wed, Oct 05, 2005 at 11:55:18AM -0700, Joe S wrote:
: Jonathon McKitrick wrote:
: >the company where I work (with Windows) is evaluating a copy protection
: >product that stores info somewhere on the HDD where the user cannot touch
: >it,
: >a format will not erase it, and Norton Ghost will not find it.
: >
: >1.  Any idea where this info could be stored?
: >2.  Any way the same thing could be done under FreeBSD?
: >
: >Thanks,
: >
: >jm
:
: # dd if=/dev/zero of=/dev/zero
:
: Will overwrite the entire drive.

Thanks.  What I was wondering is if there is a way to do the same copy
protection in FreeBSD, where I could store the data in the same place on the
drive where the user cannot access it.


Normal, average users yes.  But as the above stated... dd will let me (as 
root) get to any part of the disk I want.  If you're users don't have root 
access, then just make it a normal file owned by root, chmod 400.


I seem to remember some software put it's license key in the boot sector 
(this was way back when and I might be not remembering correctly).  But 
even that can be read using dd...  not sure how I'd do it with windows, 
but I'm sure it's possible.

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


Re: Hidden spot on hard drives?

2005-10-05 Thread Michał Masłowski
> : # dd if=/dev/zero of=/dev/zero
> :
> : Will overwrite the entire drive.

I thought that value of 'of' is device on which the drive is.
Reads from /dev/zero give zeroes and writes to it do nothing.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Hidden spot on hard drives?

2005-10-05 Thread Jonathon McKitrick
On Wed, Oct 05, 2005 at 11:55:18AM -0700, Joe S wrote:
: Jonathon McKitrick wrote:
: >the company where I work (with Windows) is evaluating a copy protection
: >product that stores info somewhere on the HDD where the user cannot touch 
: >it,
: >a format will not erase it, and Norton Ghost will not find it.
: >
: >1.  Any idea where this info could be stored?
: >2.  Any way the same thing could be done under FreeBSD?
: >
: >Thanks,
: >
: >jm
: 
: # dd if=/dev/zero of=/dev/zero
: 
: Will overwrite the entire drive.

Thanks.  What I was wondering is if there is a way to do the same copy
protection in FreeBSD, where I could store the data in the same place on the
drive where the user cannot access it.

jcm
--
If you cannot do something well, learn to enjoy doing it poorly.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Hidden spot on hard drives?

2005-10-05 Thread Joe S

Jonathon McKitrick wrote:

the company where I work (with Windows) is evaluating a copy protection
product that stores info somewhere on the HDD where the user cannot touch it,
a format will not erase it, and Norton Ghost will not find it.

1.  Any idea where this info could be stored?
2.  Any way the same thing could be done under FreeBSD?

Thanks,

jm


# dd if=/dev/zero of=/dev/zero

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


Darn that eu_ES.ISO8859-1/LC_MESSAGES

2005-10-05 Thread K Anderson
Hey folks,

Although I found a fix for my issue, I thought I would post my experience so 
here it goes.

I've got a annoying problem here. Everytime I make the world (using the 
instrctions at FreeBSD.org) I get Errcode 71s and Error Code 1s.

Error code 71 happens at

install: /usr/share/locale/eu_ES.ISO8859-1/LC_MESSAGES: No such file or 
directory
It first starts with /usr/src/share/msgdef
 I then go in to the Makefile and remove the offending target of 
eu_ES.ISO8859-1

I looked in /usr/share/locale and there isn't a (dir) for the above locale 
but there is a link of that name that points to something else but I can't 
CD in to it (It says it's not a directory) and it's right it's not a 
directory. But it exists as a file (I'm thinking about deleting it next time 
I rebuild the world to see if something kicks it back in to place but I'll 
save that for later).

The processes I followed were

make buildworld
make kernel KERNCONF=MSMOUSE-IIVi
make installkernel KERNCONF=MSMOUSE-IIVi
reboot

mergemaster -p
make installworld

edit offending Makefile by removing any reference to eu_ES.ISO8859-1 
(usually at the top of the Makefile)

make installworld

Note - I'm currently remaking after the first edit and I noticed in there a 
message that said something like eu_ES.ISO8859-1 expected (dir) found link.

and repeat edit offending Makefile and make installworld until the errors go 
away.
 editting /usr/src/share/numericcdef Makefile now. Bah, forget it I'm going 
to rename the links to the eu_ES-thingy and see if it corrects itself.
 renaming errant links
 ran mergemaster -p
 running make installworld
 No errors. Yay!


Should I even submit a pr on this?

Seems I found the fix. Delete the darn links (or at least rename them to 
something else just to test the theory, then delete if proved).

~Mr. Anderson 


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


Re: Stored hard drive failure?

2005-10-05 Thread K Anderson

- Original Message - 
From: "Gary W. Swearingen" <[EMAIL PROTECTED]>
To: "K Anderson" <[EMAIL PROTECTED]>
Cc: 
Sent: Wednesday, October 05, 2005 9:18 AM
Subject: Re: Stored hard drive failure?


> If you're really serious (to borrow a phrase), you'll do backup to
> several different media and maybe different formats.  With RAID or
> backup to an always-powered second HDD, you can loose all of your
> disks if the case power supply or MB fails in certain ways.  (I know
> someone who lost a disk when the MB failed.)  Or if someone steals
> your computer or in a fire.  With removable HDD, you risk physical
> damage either from lack of use or shock.
>
> FYI, I kept a 45 GB IBM and a 80 GB Seagate drive in a outside storage
> shed which got hot, cold, and damp for 10 months and they work fine.
> I guess I've been lucky because I've had only one failure from about
> 15 lightly-used disks and have occasionally reused 5- to 10-year-old
> disks for short durations after years on the shelf.

Good feedback, thanks.

Yep, best laid plans can go off the beaten path.

~Mr. Anderson 


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


Re: Hidden spot on hard drives?

2005-10-05 Thread Chad Leigh -- Shire.Net LLC


On Oct 5, 2005, at 12:44 PM, Jonathon McKitrick wrote:



the company where I work (with Windows) is evaluating a copy  
protection
product that stores info somewhere on the HDD where the user cannot  
touch it,

a format will not erase it, and Norton Ghost will not find it.


If the product can touch it, the user can touch it.  After all, the  
product is run by the user.


Chad




1.  Any idea where this info could be stored?
2.  Any way the same thing could be done under FreeBSD?

Thanks,

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




---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
[EMAIL PROTECTED]


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


Hidden spot on hard drives?

2005-10-05 Thread Jonathon McKitrick

the company where I work (with Windows) is evaluating a copy protection
product that stores info somewhere on the HDD where the user cannot touch it,
a format will not erase it, and Norton Ghost will not find it.

1.  Any idea where this info could be stored?
2.  Any way the same thing could be done under FreeBSD?

Thanks,

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


Re: FreeBSD and Intel Hyperthreading technology.

2005-10-05 Thread Chad Leigh -- Shire.Net LLC


On Oct 5, 2005, at 11:48 AM, Pranav Peshwe wrote:


Hello,
I have an Intel P4 2.8Ghz processor with Hyperthreading  
(HT).

The dmesg displays a message saying HT is present and 2 logical
CPUs present.I tried toggling the setting in BIOS but no difference.
How does the FBSD(v5.4 stable) kernel deal with HT ? Do the  
internal

workings( maybe locking, per processor data or other things) change as
compared to a simple non-HT processor ? or does it use employ SMP
methods to deal with the 2 logical CPUs presented by a HT processor ?

I want to do kernel programming on FBSD and my project partners have
non-HT CPUs.How much difference will HT make ? can it be avoided ?


I would suspect that if you do not run an SMP kernel it won't matter

Chad

---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
[EMAIL PROTECTED]


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


Re: Is it possible to mount MSDOS partitions on the 5.4 fixit floppy?

2005-10-05 Thread Lowell Gilbert
Tom Norris <[EMAIL PROTECTED]> writes:

> I need to mount a msdos partition on from is FreeBSD 5.4 fixit
> floppy(this machine doesn't have a CD Drive :\), but when I run the
> command:
> mount -t msdos /dev/da0 /mnt/usb-msd
> I get:
> mount: exec mount_msdos not found in /sbin:/usr/sbin: No such file or
> directory.
> 
> Where could I go to get this binary?
> Could I pull it off of another FreeBSD machine I have kicking around
> or will the machine running fixit get angry at me?

I think you will need to build a statically linked version.

-- 
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]"


Dell PowerEdge w/ Intel AFT / Broadcom BASP

2005-10-05 Thread Brian A. Seklecki

All:

This may be better for freebsd-cluster@freebsd.org, but that list is kind 
of ghost town, and this question is more a standards-based:


Does anyone deploy Dell Poweredge in a HA configuration utilizing these 
features?


http://www.intel.com/network/connectivity/resources/technologies/load_balancing.htm
http://www1.us.dell.com/content/topics/global.aspx/power/en/ps1q03_bhutani?c=us&cs=555&l=en&s=biz
http://www.broadcom.com/drivers/faq_drivers.php#55

Do we know what underlying standards and protocols compose these 
"technologies"? 802.3ad, Cisco FEC?


Intel AFT claims to provide redundancy over a "team" of NICs.  ALB claims 
link aggregation; but they don't specify if they're doing it in hardware 
or sofware (see Below)


Broadcom BASP claims the same, given different terminology and vendor.

I'm looking for a "fault tolerant" configuration for a HA cluster.  "Load 
balancing" and/or "link aggregation" is not required.  I need to be able 
to "team" two NICs into one Virtual NIC.  Each NIC connects to two 
redundant managed switches, on which the connecting switch ports exist in 
the same VLAN (which is then ISL/802.1q trunked between them).  Essentially

the same ethernet segment.

I see ng_one2many(4), but the man page doesn't really state what standard 
that uses.  It seems to be all in-kernel magic (LACP and 802.3.ad aren't 
mentioned in the man page); will this meet the above requirements?


There were some ng_one2many(4) patches a while back to add more 
intellegence, (FEC/802.3ad heartbeat like control protocol)


http://marc.theaimsgroup.com/?t=10769597742&r=1&w=2
...but no mention of them ever being commited.

I see ng_fec(4) also, but I don't think that Cisco Ethernet Channel can 
occur between two switches and one server (correct me if I'm wrong).


I question the Hardware v.s. Software issue on the Intel NICs becase the 
Dell PowerEdges Severs that happen to have Intel NIC Chipsets using em(4) 
(many have Broadcom), seem to automatically try to "team" NICs when 
they're connected to unmanaged PowerConnect switches, breaking ng_one2many 
logic.  They constantly alternate MAC addresses between the primary 
ethernet, the secondary ethernet, and a 3rd 1-byte-off Virtual MAC.


This automatic attempt to team seems like a hardware feature.  If it was a 
software feature, in theory it wouldn't try to team w/o being instructed 
to?


On the other hand, *managed* Dell PowerConnect switches feature something 
called "LAG", which the docs describe as 802.3ad / LACP.


I haven't tried ng_one2many on non-Dell or Dell Managed switches to see if 
the MAC address "bouncing" problem persists, but I'll try that today.


So the big question:

 *) Is the Windows/Linux-only software for configuring "teams" of NICs,
described in the URLs below, designed to configure a hardware level
feature that might have more intellegent link failure detection than
ng_many2one? (I.e., other than just lost carrier, say, STP storm
detection or excessive packet error thresholds).  Or is it software?

 *) If it is a hardware feature, could our em(4) driver be adapted or
could it possibly be configured using OpenManage via the Intel
IPMI/DMI/SMI whatever?

 *) Can Cisco FEC or 802.3ad provide reundancy between two switches and
one server w/ two NICs?  Will NetGraph ever have a 802.3ad module?

 *) What combination of Switch and NIC related teaming / failover technology
are known to be compatible with FreeBSD ?

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


FreeBSD and Intel Hyperthreading technology.

2005-10-05 Thread Pranav Peshwe
Hello,
I have an Intel P4 2.8Ghz processor with Hyperthreading (HT).
The dmesg displays a message saying HT is present and 2 logical
CPUs present.I tried toggling the setting in BIOS but no difference.
How does the FBSD(v5.4 stable) kernel deal with HT ? Do the internal
workings( maybe locking, per processor data or other things) change as 
compared to a simple non-HT processor ? or does it use employ SMP
methods to deal with the 2 logical CPUs presented by a HT processor ?

I want to do kernel programming on FBSD and my project partners have
non-HT CPUs.How much difference will HT make ? can it be avoided ?

TIA.

Regards,
Pranav Peshwe

---
One of the greatest victories you can gain over someone is to beat him
at politeness.
 - Josh Billings

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


Pam and multiple requiste satements!

2005-10-05 Thread Mike Woods
Im trying to configure pam to auth *twice* with pam_ldap (since pam_ldap 
seems incapable of using multiple filters), anyway i have the pam conf 
file listed below but even if I set either of the queried attributes to 
false (basicly using 2 queries for access control) it seems that as long 
as one of them authenticates properly then it goes through as ok, I had 
looked at using pam_if with pam_deny as another way of doing this but 
pam_if seems to have gone away long ago.


So, the question, is there any I can force pam to authticate against 
both of these and fail if either does ?


authrequisite 
/mail/pam_ldap/enabled/lib/pam_ldap.so   debug
authrequisite 
/mail/pam_ldap/imap/lib/pam_ldap.so  debug use_first_pass
account required  
/mail/pam_ldap/imap/lib/pam_ldap.so  no_warn


Both instances of pam_ldap are configured to use seperate config files 
with different pam_filter settings.


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


Re: /: write failed, filesystem is full

2005-10-05 Thread Bob Johnson
On 10/5/05, jojo <[EMAIL PROTECTED]> wrote:
> > On Wed, 5 Oct 2005, Jaap Boender wrote:
> >
> >> Anyway, it seems as if your 3.3G file hasn't disappeared, since there is
>
> >> still
> >> 4.0G in the root directory...What kind of file was it?
>
> It was a output file from tcpdump  ( /root/test.txt )
>

Something still has the file open.  Even though the file no longer has
a directory entry, its disk space can't be released until nothing has
it open.  Either tcpdump or some program you were using to view the
file must still have it open.  If you get tired of looking for the
culprit, a reboot will guarantee it gets closed.  If you want to solve
the mystery, fstat should help.

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


Pam and multiple requiste satements!

2005-10-05 Thread Mike Woods
Im trying to configure pam to auth *twice* with pam_ldap (since pam_ldap 
seems incapable of using multiple filters), anyway i have the pam conf 
file listed below but even if I set either of the queried attributes to 
false (basicly using 2 queries for access control) it seems that as long 
as one of them authenticates properly then it goes through as ok, I had 
looked at using pam_if with pam_deny as another way of doing this but 
pam_if seems to have gone away long ago.


So, the question, is there any I can force pam to authticate against 
both of these and fail if either does ?


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


RE: Sata drives and FBSD

2005-10-05 Thread Gayn Winters
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Steve Bertrand
> Sent: Wednesday, October 05, 2005 7:45 AM
> To: freebsd-questions@freebsd.org
> Subject: Sata drives and FBSD
> 
> 
> Hi all,
> 
> I have had an issue (as many others have) trying to get 
> STABLE, or even CURRENT running on a box with an ICH6R RAID
controller.
> 
> After install (which appears to be successful), when I reboot it just
> sits there with a blinking cursor in the top left of the screen.
> 
> I've tried this numerous times over the past couple months to no
avail.
> 
> Today, I tried another box using a 200GB Sata drive w/o RAID, and the
> exact same thing happens.
> 
> I've tried all manner of things to no avail. If someone can shed some
> light on this issue, I would most appreciate it.
> 
> Tks,
> 
> Steve
> 

ICH6R isn't supported under 5.4, at least with hardware RAID.  You could
try the newest 6.0 stable.  See man ata.

On the other hand, I seem to recall getting ICH6R to run without RAID
under 5.4.  You might want to publish a dmesg.
 
Regards,

-gayn


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


RE: FW: Sata drives and FBSD

2005-10-05 Thread Steve Bertrand
 

> -Original Message-
> From: albi [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, October 05, 2005 12:53 PM
> To: Steve Bertrand
> Subject: Re: FW: Sata drives and FBSD
> 
> 
> hi,
> 
> > This message failed to go through twice, so I'll try one more time:
> 
> i've since it 2x already, stop it :-)
> 
> > I have had an issue (as many others have) trying to get STABLE, or 
> > even CURRENT running on a box with an ICH6R RAID controller.
> >
> > After install (which appears to be successful), when I 
> reboot it just 
> > sits there with a blinking cursor in the top left of the screen.
> >
> > I've tried this numerous times over the past couple months 
> to no avail.
> >
> > Today, I tried another box using a 200GB Sata drive w/o 
> RAID, and the 
> > exact same thing happens.
> 
> perhaps a silly question,
> did you set it in the BIOS to boot from RAID-device rather than IDE ?

I've tried all different methods of boot procedure, disabling IDE
entirely, disabling RAID...all on both boxes.

Tks for the suggestion though!

Steve

> 
> 
> 
> 

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


FW: Sata drives and FBSD

2005-10-05 Thread Steve Bertrand

Hi all,

I have had an issue (as many others have) trying to get STABLE, or even
CURRENT running on a box with an ICH6R RAID controller.

After install (which appears to be successful), when I reboot it just
sits there with a blinking cursor in the top left of the screen.

I've tried this numerous times over the past couple months to no avail.

Today, I tried another box using a 200GB Sata drive w/o RAID, and the
exact same thing happens.

I've tried all manner of things to no avail. If someone can shed some
light on this issue, I would most appreciate it.

Tks,

Steve

___
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 you patch a driver?

2005-10-05 Thread Foo Ji-Haw

Thanks Chuck,


Add:

options IPFIREWALL_FORWARD
options IPFIREWALL_DIVERT

...to your kernel config file.  This is mostly documented here:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-ipfw.html


Thanks for the tip. Unfortunately, the IPFIREWALL_FORWARD was not mentioned 
in the link you gave me (which I visited prior). Otherwise I wouldn't have 
lost 2 nights working on this. But that's over now. I'm working on another 
stumbling block on ipfw.


Also note that ipfw forwarding alone may not do what you expect, unless 
you make special efforts on the machine being forwarded to, to recognize 
the additional IP addresses.  You might find using the redirect_host or 
redirect_port directives to natd more appropriate for your purposes.
Thanks for your concern. For my purposes, it's only a gateway. The NAT 
router is further down the road. Appreciate the tip anyway.




--
-Chuck

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


FW: Sata drives and FBSD

2005-10-05 Thread Steve Bertrand
This message failed to go through twice, so I'll try one more time:

Hi all,

I have had an issue (as many others have) trying to get STABLE, or even
CURRENT running on a box with an ICH6R RAID controller.

After install (which appears to be successful), when I reboot it just
sits there with a blinking cursor in the top left of the screen.

I've tried this numerous times over the past couple months to no avail.

Today, I tried another box using a 200GB Sata drive w/o RAID, and the
exact same thing happens.

I've tried all manner of things to no avail. If someone can shed some
light on this issue, I would most appreciate it.

Tks,

Steve

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


RE: Sata drives and FBSD

2005-10-05 Thread Steve Bertrand
> I have had an issue (as many others have) trying to get 
> STABLE, or even CURRENT running on a box with an ICH6R RAID 
> controller.
> 
> After install (which appears to be successful), when I reboot 
> it just sits there with a blinking cursor in the top left of 
> the screen.
> 
> I've tried this numerous times over the past couple months to 
> no avail.
> 
> Today, I tried another box using a 200GB Sata drive w/o RAID, 
> and the exact same thing happens.
> 
> I've tried all manner of things to no avail. If someone can 
> shed some light on this issue, I would most appreciate it.

I'm sorry if this message comes in multiple copies. I was having
problems with my server being rejected by FBSD MX's, and there may be a
couple queued.

Steve

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

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


Sata drives and FBSD

2005-10-05 Thread Steve Bertrand
Hi all,

I have had an issue (as many others have) trying to get STABLE, or even
CURRENT running on a box with an ICH6R RAID controller.

After install (which appears to be successful), when I reboot it just
sits there with a blinking cursor in the top left of the screen.

I've tried this numerous times over the past couple months to no avail.

Today, I tried another box using a 200GB Sata drive w/o RAID, and the
exact same thing happens.

I've tried all manner of things to no avail. If someone can shed some
light on this issue, I would most appreciate it.

Tks,

Steve

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


FW: Sata drives and FBSD

2005-10-05 Thread Steve Bertrand

Hi all,

I have had an issue (as many others have) trying to get STABLE, or even
CURRENT running on a box with an ICH6R RAID controller.

After install (which appears to be successful), when I reboot it just
sits there with a blinking cursor in the top left of the screen.

I've tried this numerous times over the past couple months to no avail.

Today, I tried another box using a 200GB Sata drive w/o RAID, and the
exact same thing happens.

I've tried all manner of things to no avail. If someone can shed some
light on this issue, I would most appreciate it.

Tks,

Steve

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


Re: Stored hard drive failure?

2005-10-05 Thread Gary W. Swearingen
If you're really serious (to borrow a phrase), you'll do backup to
several different media and maybe different formats.  With RAID or
backup to an always-powered second HDD, you can loose all of your
disks if the case power supply or MB fails in certain ways.  (I know
someone who lost a disk when the MB failed.)  Or if someone steals
your computer or in a fire.  With removable HDD, you risk physical
damage either from lack of use or shock.

FYI, I kept a 45 GB IBM and a 80 GB Seagate drive in a outside storage
shed which got hot, cold, and damp for 10 months and they work fine.
I guess I've been lucky because I've had only one failure from about
15 lightly-used disks and have occasionally reused 5- to 10-year-old
disks for short durations after years on the shelf.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Which MySQL version best to use and with/without linux threads?

2005-10-05 Thread Peter Giessel
 On Wednesday, October 05, 2005, at 07:31AM, Greg 'groggy' Lehey <[EMAIL 
PROTECTED]> wrote:

>On Monday,  3 October 2005 at 10:37:21 -0800, Peter A. Giessel wrote:
>> On 10/3/2005 09:41, Jared Kuolt seems to have typed:
>>> There really isn't any reason not to
>>> anymore since everything is backwards compatible.
>>
>> I've found that Dovecot 1.0a3 has a problem with 4.1.x,
>
>Can you give more details?

Sure, FreeBSD 4.11, I upgraded Dovecot to 1.0a3 from the ports collection
using Portmanager (portmanager -u), fixed the configuration files
(as they had changed from Dovecot 0.99), and Dovecot couldn't login to
MySQL anymore.  I turned on logging on MySQL and Dovecot:

*** Dovecot Log ***
dovecot: Oct 02 17:21:50 Error: auth-worker(default): mysql: Connect failed to 
localhost (aukebay): Can't connect to local MySQL server through socket 
'/tmp/mysql.sock' (2) - waiting for 1 seconds before retry
dovecot: Oct 02 17:24:34 Error: auth-worker(default): mysql: Connect failed to 
localhost (aukebay): Can't connect to local MySQL server through socket 
'/tmp/mysql.sock' (2) - waiting for 5 seconds before retry
dovecot: Oct 02 17:24:34 Error: auth-worker(default): sql(user,192.168.0.16): 
Password query failed: Not connected to database
dovecot: Oct 02 17:41:41 Warning: Killed with signal 15
dovecot: Oct 02 17:41:47 Error: auth-worker(default): mysql: Connect failed to 
localhost (aukebay): Access denied for user 'abbc'@'localhost' (using password: 
YES) - waiting for 1 seconds before retry
dovecot: Oct 02 17:43:13 Warning: Killed with signal 15
dovecot: Oct 02 17:43:19 Error: auth-worker(default): mysql: Connect failed to 
localhost (aukebay): Access denied for user 'abbc'@'localhost' (using password: 
YES) - waiting for 1 seconds before retry
*** End Log Snipet ***

*** dovecot_info log ***
dovecot: Oct 02 17:21:48 Info: Dovecot v1.0.alpha3 starting up
dovecot: Oct 02 17:24:47 Info: imap-login: Disconnected: user=, 
method=PLAIN, rip=192.168.0.16, lip=192.168.0.16, TLS
dovecot: Oct 02 17:41:45 Info: Dovecot v1.0.alpha3 starting up
dovecot: Oct 02 17:43:18 Info: Dovecot v1.0.alpha3 starting up
dovecot: Oct 03 08:53:55 Info: Dovecot v1.0.alpha3 starting up
dovecot: Oct 03 08:53:56 Info: auth-worker(default): mysql: Connected to 
localhost (aukebay)
*** end dovecot_info Snipet ***

*** MySQL Log 4.1.14 ***
051002 17:41:47   1 Connect Access denied for user 'abbc'@'localhost' 
(using password: YES)
051002 17:42:08   2 Connect [EMAIL PROTECTED] on
051002 17:42:10   2 Quit
051002 17:43:19   3 Connect Access denied for user 'abbc'@'localhost' 
(using password: YES)
*** End Log Snipet ***

*** MySQL Log after downgrading (4.0.26) ***
051003  8:53:56   5 Connect [EMAIL PROTECTED] on aukebay
051003  9:03:59   5 Quit
*** End Log Snipet ***

The 17:42:08 connection is when I:
# mysql -u abbc -p
logged in from the command line using the password in the dovecot config file.

I didn't touch the dovecot config file after downgrading, and I used the same
.sql file to populate the database with both version of MySQL, so the password
was unchanged.

If there are any details that you need that I'm leaving out that I can provide,
please let me know.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Security logs

2005-10-05 Thread Micah



Leo Lapousterle wrote:

Micah,



Does /var/log/auth.log have what you need?



Woa, I didn't know about that one :)
Can we configure which service to log or not in there?

Thanks everyone for your solutions,


Check out syslog, specifically syslog.conf.  By default my auth.log 
shows failed/succesful SSH logins, console logins, and SU's.


HTH,
Micah
___
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 Acroread7 port

2005-10-05 Thread Vladimir Tsvetkov
Now acroread7 runs, but during start it prints in an error-message
dialog the following message:

There was an error while loading the plug-in 'PPKLite.api.'
The plug-in failed to initialize.

Oddly, this message is shown only when I start Acroread7 under root.
Another problem is the behaviour of Firefox + Acroread Plug-in. When I
try to access ot to load from the disk *.PDF documents, Firefox
freezes when the initialization window of Acroread7 stops on:

Loading EWH.api...

Than the firefox window is not responding.
What causes this problem?

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


Re: Stored hard drive failure?

2005-10-05 Thread Chad Leigh -- Shire.Net LLC


On Oct 5, 2005, at 1:44 AM, K Anderson wrote:



- Original Message -
From: "Chad Leigh -- Shire.Net LLC" <[EMAIL PROTECTED]>
To: "K Anderson" <[EMAIL PROTECTED]>
Cc: 
Sent: Wednesday, October 05, 2005 12:20 AM
Subject: Re: Stored hard drive failure?





On Oct 5, 2005, at 1:13 AM, K Anderson wrote:




How long can the hard drive sit on the shelf before some sort of   
natural

cause that prevents it from spinning up properly?



How long are you storing them for?  I would think that the data  
on  the

disk would quickly become out of date and stale before any  physical
issues would arise.


Thanks for your response,

Not sure how long I'm storing them (See above question where I  
asked -- How
long can the HD sit on the shelf... and  the other questions seemed  
to be
editted out). But you're right the info could become out-of-date  
unless when
I did patch management then I would pull the stored HD off the  
shelf and
hope that it didn't fail because of non-use and re-mirror the main  
drive
then stored the secondary back on the shelf. But then that really  
doens't

hit the other two questions that were editted out.

Perhaps if somebody had experience with doing the very scenario I  
thought
of. I know HDs can be touchy but how touchy can they get if they  
are just
sitting on the shelf waiting for resuse and me going, darn that HD  
is bad
now that it sat on the shelf for X number of [days|weeks|months| 
years].


I somewhat regularly retrieve used HDs off the shelf for use in some  
test or project or another and never have had a problem with a  
relatively modern HD (like built in the last 5 years) not working,  
even after sitting on a shelf for 1-2 years.


Is your data going to be good after 1-2 years?

If you are talking weeks or months sitting there that should not be  
an issue with modern HD mechanisms


Chad


---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
[EMAIL PROTECTED]


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


how to recompile a port in a clean maneer?

2005-10-05 Thread Eric Devolder
Hi there,

I'm newby to FreeBSD. I'm using FreeBSD 4.11-RELEASE #0 and here is my wish:
I would like to fetch the sources for an old port release ( I know I
can grab it from ftp-archive.freebsd.org but I don't know how to fetch
the sources with freebsd command line tools),  change the makefile
and/or patch the source, recompile and possibly make a package (.tgz)
to be installed somewhere else.

My specific questions are:
* how to fetch the source code of a port? and especially from another release?
* how to unpack, change the makefile, compile?
* how to package it again?

I've gone through various manuals, without any success so far (at
least I've got cvsup installed, that's maybe a start...)

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


Re: Security logs

2005-10-05 Thread Leo Lapousterle
Micah,

> Does /var/log/auth.log have what you need?

Woa, I didn't know about that one :)
Can we configure which service to log or not in there?

Thanks everyone for your solutions,


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


Re: Security logs

2005-10-05 Thread Leo Lapousterle
jmulkerin,

> Have you tried the last command.  This will give you a list of attempts.

It would fit perfectly my needs if it could show me not only the successful
attempts, like it seems actually...

Thanks, I'll find a way to show me bad attempts too... :)


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


Re: Error upgrading KDE with portupgrade

2005-10-05 Thread nbco
On Wednesday 05 October 2005 14:36, edward wrote:
> Hi all,
> I have recently upgraded from FreeBSD 5.3-RELEASE to 5.4-STABLE using
> cvsup. I then upgraded installed ports using portupgrade -a (after
> running make fetchindex and pkgdb -F).
> Worked for most ports.
> But I have a hard time upgrading KDE from 3.3 to 3.4. Some ports in
> the KDE set upgraded OK, but kdebase among others didn't want to
> upgrade from 3.3.0_4 to 3.4.2_2. Tried :
> #portupgrade kdebase
> then
> #portupgrade -p kdebase
> The package itself donloads OK but I get the following at the end of

> Any clue what's going on ?
> Thanks for your help.
> Edward

Hi there, 
It seems as if your problems are dealt with in the 
file /usr/ports/UPDATING.  I have pasted the most relevant 
informational messsge here, but there is at least one other entry for 
KDE which postdates this one. Generally, the UPDATING file is my first 
port of call if there are any errors in upgrades.

I hope this helps
.nbco


20050320:
  AFFECTS: users of x11/kde3, x11/kdelibs3, x11/kdebase3,
x11-themes/kdeartwork3, www/akregator, x11-themes/phase,
multimedia/kdemultimedia3
  AUTHOR: [EMAIL PROTECTED]

  In KDE 3.4, a number of files were moved between ports, some ports
  were added, one port has been removed and some applications formerly 
available
  in their own ports were incorporated into KDE. This means that you 
will have
  to take some precautions to update your KDE installation. A simple
  portupgrade -a will not work.

  Portupgrade -R kde can fail as well, depending on what parts of KDE 
you
  have currently installed. We therefore recommend sticking to the 
following
  procedure. The procedure requires you to have sysutils/portupgrade 
installed
  and you to be the superuser (or using sudo). We recommend not being 
logged in
  to a KDE session on the machine you're performing the upgrade on. If 
you
  choose to perform the update while being logged in to KDE, expect 
erratic
  behavior and crashes from applications launched until you log out and 
back
  in.

  1.) Delete installed packages which conflict with the updated KDE
  ports.

pkg_deinstall -f kdeartwork-\[0-9\]\* kdebase-\[0-9\]\* \
kdebase-konqueror-nsplugins-\[0-9\]\* kdewebdev-\[0-9\]\* \
kde-\[0-9\]\* akregator\* phase\*

  2.) Now update the remaining KDE ports.

portupgrade -O arts\* kde\* \*kde-i18n\*

  or, if you want to update KDE along with other updated ports:

portupgrade -a

  3.) Reinstall the KDE ports you deleted in step 1.

portinstall -O kdebase kdeartwork kdewebdev

   Changes in detail:

- www/akregator is now included into deskutils/kdepim3.
- x11-themes/phase is now included in x11-themes/kdeartwork3.
- www/konqueror-nsplugins has been removed and is now integrated 
into
  In mDNSResponder 98_1, mdnsd is no longer started by default due to a
  switch to an rc.subr startup script.  To start it, you must add add
  mdnsd_enable="YES" to your /etc/rc.conf or other suitable
  configuration file.

20050320:
  AFFECTS: users of x11/kde3, x11/kdelibs3, x11/kdebase3,
x11-themes/kdeartwork3, www/akregator, x11-themes/phase,
multimedia/kdemultimedia3
  AUTHOR: [EMAIL PROTECTED]

  In KDE 3.4, a number of files were moved between ports, some ports
  were added, one port has been removed and some applications formerly 
available
  in their own ports were incorporated into KDE. This means that you 
will have
  to take some precautions to update your KDE installation. A simple
  portupgrade -a will not work.

  Portupgrade -R kde can fail as well, depending on what parts of KDE 
you
  have currently installed. We therefore recommend sticking to the 
following
  procedure. The procedure requires you to have sysutils/portupgrade 
installed
  and you to be the superuser (or using sudo). We recommend not being 
logged in
  to a KDE session on the machine you're performing the upgrade on. If 
you
  choose to perform the update while being logged in to KDE, expect 
erratic
  behavior and crashes from applications launched until you log out and 
back
  in.

  1.) Delete installed packages which conflict with the updated KDE
  ports.

pkg_deinstall -f kdeartwork-\[0-9\]\* kdebase-\[0-9\]\* \
kdebase-konqueror-nsplugins-\[0-9\]\* kdewebdev-\[0-9\]\* \
kde-\[0-9\]\* akregator\* phase\*

  2.) Now update the remaining KDE ports.

portupgrade -O arts\* kde\* \*kde-i18n\*

  or, if you want to update KDE along with other updated ports:

portupgrade -a

  3.) Reinstall the KDE ports you deleted in step 1.

portinstall -O kdebase kdeartwork kdewebdev

   Changes in detail:

- www/akregator is now included into deskutils/kdepim3.
- x11-themes/phase is now included in x11-themes/kdeartwork3.
- www/konqueror-nsplugins has been removed and is now integrated 
into
  x11/kdebase3.
- Juk has been split ou

Re: Which MySQL version best to use and with/without linux threads?

2005-10-05 Thread Jerry McAllister
> 
> Am Mittwoch, 5. Oktober 2005 02:17 CEST schrieb Peter Wemm:
> > On Friday 30 September 2005 06:22 am, Olaf Greve wrote:
> > > Then, I'm currently configuring a second beast, ee, server. :)
> > > Being an AMD-64 19" server, running FreeBSD 5.4-Release AMD64. On it,
> > > I instinctively installed the latest MySQL 4.0.x version (being
> > > 4.0.26) and it works flawlessly with the data from my current
> > > production machine.
> >
> > The only problem is that linuxthreads doesn't exist on FreeBSD/amd64.
> > You have to use one of the native thread libraries.
> >
> > Your choices on 5.4 are not that great.  I'd suggest libthr on 6.0 as
> > the closest match to linuxthreads, but I don't recall if it is
> > available on 5.4.  I have a feeling it isn't.  I have a feeling your
> > choices are libc_r or libpthread (kse).  libpthread should smoke libc_r
> 
> Smoke of brakes or smoke of the engine?
> 
> > for disk IO performance in general.  But modern libthr (on 6.0+) should
> > give it a serious run for its money.
> 
> Please! Not all readers are native enlish speaking, it sounds nice but it=20
> doesn't help clarifying anything. I guess libthr is the favourite choice=20
> but I only guess since I never heard of smoking thread libraries nor of=20
> "run for money". I'm suffering from the list's english enough, please=20
> don't use phrases... :)
> Harry

You are right of course.   Slang and idiomatic expressions generally
do not help communications across cultures or language backgrouns.
But, I would add that English is a very 'subjective' language (no pun
intended) and as such is highly context based.   Many expressions, 
including many standard expressions can only be understood from the
context in which they are used.   

This can make things difficult, but it can also make it easy because you 
can usually guess the meaning from the context, even if you do not know 
the phrase or the word.  I have seen stories told in which one word 
(a nonsense sylable) was used to substitute for every verb and noun and 
most of the adjectives and adverbs and it was still possible to understand 
the story with a little guessing.   In fact there used to be a kids TV 
cartoon that did essentially that called the Smurfs.

So, although it is better to use clear language, don't panic when 
you see something.   Take a good guess and you will probably be right.

As for MySQL version, pick one.   It will work.

jerry

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


Re: Security logs

2005-10-05 Thread Micah



Leo Lapousterle wrote:

Hello,

I tried to get this information by myself (lists, google, man pages), but I
can't find something that answer totally to my question :

Is there a file where informations about how many users had attempted to
log into the system, successfully or not?

If not, is there a way to store these informations somewhere, by activating
some security routines or putting some script around?

Thanks a lot everyone,


Does /var/log/auth.log have what you need?

Micah

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


Re: Error upgrading KDE with portupgrade

2005-10-05 Thread Micah



edward wrote:

Hi all,
I have recently upgraded from FreeBSD 5.3-RELEASE to 5.4-STABLE using 
cvsup. I then upgraded installed ports using portupgrade -a (after 
running make fetchindex and pkgdb -F).

Worked for most ports.
But I have a hard time upgrading KDE from 3.3 to 3.4. Some ports in the 
KDE set upgraded OK, but kdebase among others didn't want to upgrade 
from 3.3.0_4 to 3.4.2_2. Tried :

#portupgrade kdebase
then
#portupgrade -p kdebase
The package itself donloads OK but I get the following at the end of the 
job :


Good - your configure finished. Start make now

/usr/bin/sed -i.bak -e "[EMAIL PROTECTED]@Exec=ElectricEyes@" 
/usr/ports/x11/kdebase3/work/kdebase-3.4.2/kappfinder/apps/Graphics/ElectricEyes.desktop 

/usr/bin/sed -i.bak -e 's/444/644/g' 
/usr/ports/x11/kdebase3/work/kdebase-3.4.2/kdesktop/init/Templates/Makefile

===>  Building for kdebase-3.4.2_2
gmake  all-recursive
gmake[1]: Entering directory `/usr/ports/x11/kdebase3/work/kdebase-3.4.2'
Making all in libkonq
gmake[2]: Entering directory 
`/usr/ports/x11/kdebase3/work/kdebase-3.4.2/libkonq'

Making all in pics
gmake[3]: Entering directory 
`/usr/ports/x11/kdebase3/work/kdebase-3.4.2/libkonq/pics'

gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory 
`/usr/ports/x11/kdebase3/work/kdebase-3.4.2/libkonq/pics'

Making all in favicons
gmake[3]: Entering directory 
`/usr/ports/x11/kdebase3/work/kdebase-3.4.2/libkonq/favicons'

/usr/X11R6/bin/moc ./favicons.h -o favicons.moc
if /bin/sh ../../libtool --silent --tag=CXX --mode=compile c++ 
-DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/include 
-I/usr/X11R6/include  -I/usr/local/include  -D_THREAD_SAFE -pthread 
-DQT_THREAD_SUPPORT   -I/usr/local/include -I/usr/local/include 
-I/usr/X11R6/include -D_GETOPT_H -D_THREAD_SAFE   -Wnon-virtual-dtor 
-Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wno-non-virtual-dtor 
-DNDEBUG -DNO_DEBUG -O2 -O -pipe -fno-exceptions -fno-check-new 
-fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL 
-DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE  -MT favicons.lo -MD 
-MP -MF ".deps/favicons.Tpo" -c -o favicons.lo favicons.cpp; \
then mv -f ".deps/favicons.Tpo" ".deps/favicons.Plo"; else rm -f 
".deps/favicons.Tpo"; exit 1; fi
favicons.cpp:269: error: visibility arg must be one of "default", 
"hidden", "protected" or"internal"

gmake[3]: *** [favicons.lo] Error 1
gmake[3]: Leaving directory 
`/usr/ports/x11/kdebase3/work/kdebase-3.4.2/libkonq/favicons'

gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
`/usr/ports/x11/kdebase3/work/kdebase-3.4.2/libkonq'

gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/x11/kdebase3/work/kdebase-3.4.2'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/x11/kdebase3.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade2850.0 make DEPENDS_TARGET=package

** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! x11/kdebase3 (kdebase-3.3.0_4)(unknown build error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
#

Any clue what's going on ?
Thanks for your help.
Edward



Search /usr/ports/UPDATING.  Don't know if your error is caused by that, 
but you should follow the upgrade procedure outlined there.


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


Installation problem - "device node"

2005-10-05 Thread peter bailey
I am trying to install freebsd on a computer with 2 hard disks.  This
message comes up when it tries to start creating the file system:
"Unable to find device node for /dev/X in /dev".  Install then fails.  
Has anyone got an idea what is causing this as I am a 'newbie' to
freeBSD.
Regards
Peter

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


Re: Password

2005-10-05 Thread Jerry McAllister
> 
> Hi there,
> 
> i am new to freebsd, and now working as an
> administrator of my college system, which using
> freebsd. my question is, if i have 50 users in the
> systems, how can i view all their usernames and
> passwords? this because i always have problems of them
> forgot thier passwords, and they can't log in to the
> systems. until now, what i did was, delete their
> usernames, and create new ones because i didn't know
> what their passwords either. so any other alternative?

Passwords are encripted and not stored in the clear by the system.
Do not do anything to change that.

The root user is able to arbitrarily change any user's password, 
so if some user forgets, then just set their password to something,
tell them and have them, then change it when they first log in
with it. 

jerry

> 
> help me. Thanks.
> 
> 
>   
> __ 
> Yahoo! Mail - PC Magazine Editors' Choice 2005 
> http://mail.yahoo.com
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
> 

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


Re: ipfw: ALLOWing by mac address

2005-10-05 Thread Andrew P.
On 10/5/05, Foo Ji-Haw <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> I'd like your feedback on a problem I have with allowing access through the 
> ipfw firewall via mac addresses.
>
> Andrew has a good point on mac address spoofing. I agree with him on the 
> security concern, but for the situation that I am setting up, that's ok. But 
> I really need to open the firewall via mac address.
>
> Let me detail my setup:
> dc0 is the interface to the Internet
> vr0 is the interface to the managed network
>
> I tried to read up on ipfw rules on mac, and I got something like this:
> allow ip from any to any MAC any 00:90:d1:00:80:00/33
>
> It does not work of course, but ipfw accepted the command. Basically I need 
> the client with the mac address to be able to go pass the firewall in 
> totality.
>
> Can anyone enlighten me on the correct format? Thanks in advance.

Thanks for the credit :-)

see "man ipfw", particularly the PACKET FLOW section

Try this:

allow ip from any to any layer2 out MAC any 00:90:d1:00:80:00/33
allow ip from any to any layer2 in MAC 00:90:d1:00:80:00/33 any
allow ip from any to any layer2 via 
deny ip from any to any layer2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /: write failed, filesystem is full

2005-10-05 Thread jojo

On Wed, 5 Oct 2005, Jaap Boender wrote:

Anyway, it seems as if your 3.3G file hasn't disappeared, since there is 
still

4.0G in the root directory...What kind of file was it?


It was a output file from tcpdump  ( /root/test.txt )



Oh, wait, I read you wrongly. The file from /root has disappeared all 
right
(only 18M in there). The 4.0G you read includes the total of everything 
below
it, such as the /usr and /www and so on. If you only want the / file 
system,

try the -x option, as I said.

Sorry,

  Jaap



Hi,
ok now I did:

cd /
du -xhcd1
512B./dev
2.0K./usr
2.0K./var
2.0K./www
2.4M./stand
1.5M./etc
2.0K./cdrom
2.0K./dist
7.3M./bin
18M./boot
2.0K./mnt
2.0K./proc
18M./root
21M./sbin
24K./tmp
76K./cgb
68M.
68Mtotal


Anyway - I can´t see the 4,9Gig.

df -h
FilesystemSize   Used  Avail Capacity  Mounted on
/dev/ar0s1a   4.9G   4.9G -400.7M   109%/
devfs 1.0K   1.0K 0B   100%/dev
/dev/ar0s1d21G   2.5G16G13%/usr
/dev/ar0s1e   3.9G   555M   3.1G15%/var
/dev/ar0s1f43G   885M39G 2%/www

Thanks,
Joachim



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


Re: IPFW logging and dynamic rules

2005-10-05 Thread jmulkerin
How about using snort and guardian.Guardian.pl will add a ipfw rule 
each time it sees an alert from Snort.  You'll need to adjust the snort 
rules for what you want to alert on but its a pretty safe and 
lightweight asset. (just my novice 2 cents...)



John

Alex de Kruijff wrote:


On Thu, Sep 29, 2005 at 11:45:42AM -0400, Bob Johnson wrote:
 


In FreeBSD 5.4R, I tried an IPFW configuration that includes something
like this (plus a lot of other rules):

  check-state
  deny tcp from any to any established
  allow log tcp from any to ${my-ip} dst-port 22 setup limit src-addr 3
+ other rules that use keep-state

When I do this, _every_ ssh packet is logged, in both directions.  To
get it to log ONLY the initial connection, I had to give up on using
dynamic rules for ssh and instead do something like:

  allow log tcp from any to ${my-ip} dst-port 22 setup
  allow tcp from any to ${my-ip} dst-port 22 established
  allow tcp from ${my-ip} 22 to any established
  check-state
  deny tcp from any to any established
+ other rules that use keep-state

So now I have lost the per-host ssh limit rule I wanted to include,
and I am filtering packets on flags that can be spoofed
("established") rather than the actual dynamic state of the
connection.  Am I wrong to believe there is an advantage to this?

Is there some way to get the first version to log only the initial
packet while still retaining the dynamic limit src-addr rule?
   



Yes you could use count instead of allow.

check-state
count log tcp from any to ${my-ip} dst-port 22 limit src-addr 3
allow tcp from any to ${my-ip} dst-port 22 setup limit src-addr 3

 


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


RE: Fwd: Re: music on FreeBSD

2005-10-05 Thread Bob Middaugh
 Any live Grateful Dead recording would work, no copyright, no
licensing issues, etc  There has to be at least 1 deadhead in the
FreeBSD family.

Bob

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Gary W. Swearingen
> Sent: Tuesday, October 04, 2005 9:34 PM
> To: Escape Velocity
> Cc: Danny Pansters; freebsd-questions@freebsd.org
> Subject: Re: Fwd: Re: music on FreeBSD
> 
> I've had a few more thoughts on the matter.
> 
> If "core" wants the music and the only question is licensing, 
> maybe core and you could agree on a custom license which 
> allows anyone to copy it unmodified (which must include being 
> copied as a single file from any web site) or including it 
> unmodified in a compilation or other derivative work (eg, 
> FreeBSD), but not if that work consists predominately of 
> music.  It would be easier if you could just allow all uses 
> in unmodified form (I think there's such a CCL), and better 
> if you could allow generic translations of digital format.
> 
> OTOH, I'm guessing core could find someone to donate some 
> music under a BSD-type license, without a lot of effort.  Or 
> get some non-proprietary music off an out-of-copyright record 
> or movie which is probably on the web somewhere already.
> ___
> 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: Security logs

2005-10-05 Thread jmulkerin

Have you tried the last command.  This will give you a list of attempts.

Good Luck

John
___

Leo Lapousterle wrote:


Hello,

I tried to get this information by myself (lists, google, man pages), but I
can't find something that answer totally to my question :

Is there a file where informations about how many users had attempted to
log into the system, successfully or not?

If not, is there a way to store these informations somewhere, by activating
some security routines or putting some script around?

Thanks a lot everyone,


 


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


Re: twa kernel panic under heavy load

2005-10-05 Thread Lowell Gilbert
Dan Rue <[EMAIL PROTECTED]> writes:

> Greetings,
> 
> I am running a 3ware 9500 SATA raid card in a 12x300GB raid 50
> configuration.  Too often, I am seeing reboots during high I/O (rsync)
> operations.  
> 
> [EMAIL PROTECTED]:~$ uname -a
> FreeBSD leopard.claimlynx.com 5.4-SECURITY FreeBSD 5.4-SECURITY #0: Thu
> Jun 30 02:25:52 UTC 2005
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
> 
> 
> This is logged in /var/log/messages just before the reboot: 
> Oct  1 23:15:49 leopard kernel: twa0: Missing expected status bit(s) 
> 2000
> Oct  1 23:15:49 leopard kernel: twa0: SCSI cmd = 0x2a: ERROR: (0x03:0x0001)
> Oct  1 23:15:49 leopard last message repeated 239 times
> Oct  1 23:15:50 leopard kernel: a: ERROR: (0x03: 0x0001)
> Oct  1 23:15:50 leopard kernel: twa0: SCSI cmd = 0x2a: ERROR: (0x03:0x0001)
> 
> 
> Here is dmesg identifying the controller: 
> 3ware device driver for 9000 series storage controllers, version: 2.50.02.012
> twa0: <3ware 9000 series Storage Controller> port 0xb800-0xb8ff mem 
> 0xfb80-0xfbff,0xfc5ffc00-0xfc5ffcff irq 24 at device 2.0 on pci2
> twa0: 12 ports, Firmware FE9X 2.06.00.009, BIOS BE9X 2.03.01.051
> 
> 
> Is this somethign that has been worked on in 5-STABLE or 6?  Would
> a kernel dump be helpful?  Please aim me at the appropriate list or
> people that would know.

The driver was imported from 3ware's own code on their website, and a
new version was imported since the 5.4 release was branched.  Your
problem may or may not have been fixed, but debugging it on the old
code base is definitely not worth anyone's time.

Definitely upgrade and see what happens.

Good luck.
-- 
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]"


Security logs

2005-10-05 Thread Leo Lapousterle
Hello,

I tried to get this information by myself (lists, google, man pages), but I
can't find something that answer totally to my question :

Is there a file where informations about how many users had attempted to
log into the system, successfully or not?

If not, is there a way to store these informations somewhere, by activating
some security routines or putting some script around?

Thanks a lot everyone,


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


Re: /: write failed, filesystem is full

2005-10-05 Thread Bob Johnson
On 10/5/05, P.U.Kruppa <[EMAIL PROTECTED]> wrote:
> On Wed, 5 Oct 2005, jojo wrote:
>
> > Hello, I have a problem with the filesystem. I am always
> > getting those "/: write failed, filesystem is full" errors. If
> > I have a look on df the root has 109% Capacity. How could that
> > be? I had a file in /root with 3.3G that I have now deleted but
> > with no success. The df output is as before. I am using
> > Raid1(Mirror) with two 80Gig ST380011A/3.04 HDs.

> http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq
>   /disks.html#DISK-MORE-THAN-FULL
>

As well as
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#DU-VS-DF

i.e. read sections 9.23 and 9.26 of the FAQ.

Or just reboot.  Crude, and not very informative, but it will fix it.

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


Re: Replacing a failing HD

2005-10-05 Thread Bob Ababurko
Yes, I guess I should mention that the drives were on the same machine, 
actually the same bus and/or channel.  I have also done this on Solaris. 
 I believe it was Solaris 8, but it works just the same.  I am not sure 
if it would work over a network.  Just make sure you dd the disk as a 
whole as in /dev/daX and not by the slice.


-Bob


Charlie Schluting wrote:

I have used dd to image a drive many times before in freebsd.  It works
like a champion and will boot up just fine.  I may have misunderstood
your mail but if not then it will work.




Well, maybe my weird "over ssh calling a setuid program that calls a
script" dd was flawed somehow. I'll do it again with both drives in
the same machine.

Thanks for the response!
___
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]"


  1   2   >