Re: save file

2005-10-06 Thread Giorgos Keramidas
On 2005-10-05 23:57, sulie halim <[EMAIL PROTECTED]> wrote:
> hi again,
>
> how to take a file from the system, and save it into
> the desktop (in Windows environment)?

Please provide more details... as in ``what desktop''?

Are you asking about a single system, which multiboots either in Windows
or in FreeBSD?

Are you asking about two separate systems connected to a network?

etc.


___
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-06 Thread Enrique Ayesta Perojo
El Miércoles, 5 de Octubre de 2005 21:53, Noel Jones escribió:

> 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.

Yes, it was a small part of my pf.conf. Anyway i'm trying on another machine 
with a much smaller configuration with the same results. I think it should be 
enough for bruteforceblocker to work

***/etc/pf.conf***
table  persist file "/var/log/bruteforce"

# options
set block-policy return
set loginterface bge0

# scrub
scrub in all

# filter rules
pass all

block in log quick inet proto tcp from  to any port ssh


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

Yes, they display as expected

No ALTQ support in kernel
ALTQ related functions disabled
scrub in all fragment reassemble
pass all
block return in log quick inet proto tcp from  to any port = ssh

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

Yes, i did

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

Yes

> 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...

No, i don't see any of these messages, the only message i see is the start of 
the log:

!!! log started at Wed Oct  5 18:53:23 2005 !!!

I cannot figure what's the problem, the bruteforce table remains clean after 
the tests, but the bruteforce blocker is running in the system apparently 
whithout any problems as i have checked with ps.

Thanks
___
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-06 Thread Sasa Stupar



--On 6. oktober 2005 2:46 -0400 Chuck Swiger <[EMAIL PROTECTED]> wrote:


grep DefaultUser /etc/mail/sendmail.cf



9# grep DefaultUser /etc/mail/sendmail.cf
O DefaultUser=8:12


Sasa


pgp681TIfPzFI.pgp
Description: PGP signature


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

2005-10-06 Thread Eric Devolder
Thank you Chuck, now I better understand what's behind this. Maybe
just a side question: Can I "refresh" the files contained in
/usr/ports with the one of an older release? for example, I would like
to use ports from 4.3 while I'm running a 4.11 for now. Of course, my
/usr/ports reflects only ports for 4.11. How can I replace them with
the 4.3 ones?


- Eric


2005/10/6, Chuck Swiger <[EMAIL PROTECTED]>:
> 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]"


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

2005-10-06 Thread Andrew P.
On 10/6/05, Eric Devolder <[EMAIL PROTECTED]> wrote:
> Thank you Chuck, now I better understand what's behind this. Maybe
> just a side question: Can I "refresh" the files contained in
> /usr/ports with the one of an older release? for example, I would like
> to use ports from 4.3 while I'm running a 4.11 for now. Of course, my
> /usr/ports reflects only ports for 4.11. How can I replace them with
> the 4.3 ones?

There are no ports for a specific FreeBSD release.
Most ports are meant to be compatible with 4.x,
5.x, 6.x and 7.x.

If you want to go back in time, you can cvsup
your ports tree to an arbitrary date. The more
distant point in time you choose the more likely
you'll not be able to fetch sources for the port.

You can probably use cvsup to "downgrade"
just a single port, but I find it more convenient
by far to use cvsweb. E.g. if you want an older
version of editors/openoffice-2.0, you can go to
http://www.freebsd.org/cgi/cvsweb.cgi/ports/editors/openoffice.org-2.0/
look through commits to the Makefile, choose
the version you want and place in into the ports
tree.

Consider installing the portaudit port, because
many older port versions have serious security
hole.
___
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-06 Thread Ted Mittelstaedt


>-Original Message-
>From: [EMAIL PROTECTED] 
>[mailto:[EMAIL PROTECTED] Behalf Of 
>Jonathon McKitrick
>Sent: Wednesday, October 05, 2005 11:45 AM
>To: freebsd-questions@freebsd.org
>Subject: Hidden spot on hard drives?
>
>
>
>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.
>

Tell me another story!

Please tell us what product this is so we can have a good laugh.

Ted
___
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-06 Thread Christopher Illies
On Wed, Oct 05, 2005 at 11:39:19PM -0700, sulie halim wrote:
> how can we view/open files in freebsd? e.g write.doc,
> write.txt or write.ppt?

To just view .doc files from the commandline, you can also try
textproc/catdoc.

Abiword (editors/abiword) can also edit Word files, but has
difficulties with some documents that work fine with openoffice.

I routinely exchange  Powerpoint presentations (*.ppt) between
Powerpoint and Openoffice with only minor problems.

HTH,

Christopher

___
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-06 Thread Ted Mittelstaedt


>-Original Message-
>From: [EMAIL PROTECTED] 
>[mailto:[EMAIL PROTECTED] Behalf Of 
>Jonathon McKitrick
>Sent: Wednesday, October 05, 2005 11:57 AM
>To: Joe S
>Cc: freebsd-questions@freebsd.org
>Subject: Re: Hidden spot on hard drives?
>
>
>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.
>

No.  The root userID can do anything and go anywhere.

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


Core Dump using portversion

2005-10-06 Thread bsd

Hello,


We have one of our server that core dumps when we are trying to use  
portversion



ns2# portversion -l "<"
[Updating the pkgdb  in /var/db/pkg ... - 168  
packages found (-1 +1) (...). done]
[Failed `Inappropriate file type or format'] [Updating the portsdb  
 in /usr/ports ... - 13568 port entries  
found .1000.2000...[BUG] Segmentation fault

ruby 1.8.2 (2004-12-25) [i386-freebsd5]

Abort (core dumped)


So far I have :

- de-install and re-install ruby.
- de-install and re-install portupgrade.

Nothing has changed...


Our system is FreeBSD 5.2.1


Do you have any clue regarding the way we can solve this issue ??



Thanks


«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

Gregober ---> PGP ID --> 0x1BA3C2FD
bsd @at@ todoo.biz

«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§




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


Re: Can I disable HyperThreading in OS?

2005-10-06 Thread Andrew P.
On 10/6/05, hshh <[EMAIL PROTECTED]> wrote:
> On 10/2/05, Andrew P. <[EMAIL PROTECTED]> wrote:
> > On 10/1/05, hshh <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > >
> > > I have a dual XEON smp box. There is option about disable HTT in bios,
> but
> > > it can't work. It's still display 4 cpu in my OS.
> > > Can I disablt HTT in OS directly? I am running FreeBSD 4.11.
> > >
> > > Regards.
> >
> > Take a look at this advisory:
> >
> >
> ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:09.htt.asc
> >
> > I think you want to upgrade to RELENG_4_11,
> > or use the workaround.
>
> My system is already cvsup to the lastest srouce,and rebuild the world and
> kernel.
>  Now OS is FreeBSD 4.11-RELEASE-p12.
>  And I also check the sysctl,
>machdep.hlt_logical_cpus: 1
>   machdep.hyperthreading_allowed: 0
>  Any other idea?

Wait a minute, you say that after upgrading to
the 4.11-p12 and rebooting you still have four
CPU's showing in the system? Open the case
and look inside, maybe there are four real
processors inside...

Are there still any lines in /boot/loader.conf?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Core Dump using portversion

2005-10-06 Thread Andrew P.
On 10/6/05, bsd <[EMAIL PROTECTED]> wrote:
> Hello,
>
>
> We have one of our server that core dumps when we are trying to use
> portversion
>
> > ns2# portversion -l "<"
> > [Updating the pkgdb  in /var/db/pkg ... - 168
> > packages found (-1 +1) (...). done]
> > [Failed `Inappropriate file type or format'] [Updating the portsdb
> >  in /usr/ports ... - 13568 port entries
> > found .1000.2000...[BUG] Segmentation fault
> > ruby 1.8.2 (2004-12-25) [i386-freebsd5]
> >
> > Abort (core dumped)
>
> So far I have :
>
> - de-install and re-install ruby.
> - de-install and re-install portupgrade.
>
> Nothing has changed...
>
>
> Our system is FreeBSD 5.2.1
>
>
> Do you have any clue regarding the way we can solve this issue ??


Try adding these lines to /usr/local/etc/pkgtools.conf, just
after other ENV's:

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


Re: Apsfilter FBSD 5.4

2005-10-06 Thread Kiffin Gish

E. J. Cerejo wrote:


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

 

Yes I have similar problems with an hp720c where after installation the 
test page just hangs, lpd-errs logfile showing some driver error...


--
Kiffin Gish
Gouda, The Netherlands

___
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-06 Thread Igor Robul

Owen Jeremiah wrote:


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).

 

You can do this. For most european languages you just need add something 
like this


Option  "XkbLayout" "us,ru"
Option  "XkbOptions" "grp:ctrl_shift_toggle,grp:switch"

to your xorg.conf

For Japanese/Chinese/Korean you need to install "input method", for example
/usr/ports/japanese/kinput2-canna+wnn7 for Japanese
or
/usr/ports/chinese/miniChinput for Chinese (I have not tried this)

You can look to other ports in chinese/ or japanese/ for more info.

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


Re: Core Dump using portversion

2005-10-06 Thread bsd

This has not solved my issue :


ns2# pkgdb -fu
--->  Updating the pkgdb
[Rebuilding the pkgdb  in /var/db/pkg ... - 168  
packages found (-0  
+168)  
.. 
.. done]

ns2# portversion -l "<"
[Failed `Inappropriate file type or format'] [Updating the portsdb  
 in /usr/ports ... - 13568 port entries  
found .1000.2000...



The ruby process involved puts the processor at 98% use and nothing  
move on after that...


I had to kill the process in order to get my hand back on the server...

??




Le 6 oct. 05 à 11:31, Vladimir Tsvetkov a écrit :


We have one of our server that core dumps when we are trying to use
portversion



ns2# portversion -l "<"
[Updating the pkgdb  in /var/db/pkg ... - 168
packages found (-1 +1) (...). done]
[Failed `Inappropriate file type or format'] [Updating the portsdb
 in /usr/ports ... - 13568 port entries
found .1000.2000...[BUG] Segmentation fault
ruby 1.8.2 (2004-12-25) [i386-freebsd5]

Abort (core dumped)



So far I have :

- de-install and re-install ruby.
- de-install and re-install portupgrade.

Nothing has changed...


Our system is FreeBSD 5.2.1


Do you have any clue regarding the way we can solve this issue ??



This is from the portupgrade man page in the WARNING section:

"Even if you don't do anything wrong, a package database may get
corrupt somehow when it is heavily updated. In such cases, run ``pkgdb
-fu '' to rebuild the database and rescue the tools from coredumping.
"

Best Regards,
Vladimir






«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

Gregober ---> PGP ID --> 0x1BA3C2FD
bsd @at@ todoo.biz

«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§




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


Port perl 5.8.7 on FreeBSD 4.10

2005-10-06 Thread Olivier Nicole
Hi,

I have been trying to install theport of perl 5.8 on a FreeBSD machine
4.10 RELENG.

Every time I try to execute the new perl I get:


/usr/libexec/ld-elf.so.1: perl: Undefined symbol "PL_exit_flags"


This happens on 2 different machines, both 4.10

FreeBSD fw2.cs.ait.ac.th 4.10-RELEASE-p16 FreeBSD 4.10-RELEASE-p16 #17: Thu Sep 
29 16:04:04 ICT 2005 [EMAIL PROTECTED]:/usr/src/sys/compile/SMALL  i386

and 

FreeBSD test.cs.ait.ac.th 4.10-RELEASE FreeBSD 4.10-RELEASE #17: Thu Sep 29 
16:04:04 ICT 2005 [EMAIL PROTECTED]:/usr/src/sys/compile/SMALL  i386

Thanks for any pointer on how to solve that.

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


cvsup upgrade from 4.7 to 5.4

2005-10-06 Thread Gobbledegeek
Hello
  I'm upgrading from 4.7 to 5.4 using cvsup and I see that with
src-all, files specific to s390, sparc, ppc are also being downloaded.
How can I prevent this from happening? I only want to download i386
files...

TIA

--
Nonchalantly yours
GobbledeGeek
[Every thing but Gobbledegook.. !!]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Feedback for a closed PR?

2005-10-06 Thread Csaba Henk
On Tue, Oct 04, 2005 at 04:14:40PM +0300, Giorgos Keramidas wrote:
> Either submit a followup to the PR requesting that it's reopened and
> adding your feedback at the end of the followup, or submit a new PR
> (with a reference to the old one, if you feel that's appropriate).

Thanks, I submitted a followup.

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


Re: Port perl 5.8.7 on FreeBSD 4.10

2005-10-06 Thread Vladimir Tsvetkov
-- Forwarded message --
From: Vladimir Tsvetkov <[EMAIL PROTECTED]>
Date: 2005-10-6 13:46
Subject: Re: Port perl 5.8.7 on FreeBSD 4.10
To: Olivier Nicole <[EMAIL PROTECTED]>


2005/10/6, Olivier Nicole <[EMAIL PROTECTED]>:
> > What kind of script are you trying to execute?
>
> No script, perl it self is not running.
>
> > What options did you use for building that port?
> > Are you using  THREADS and ITHREADS ?
>
> All default, make, make install
>
> > Could you apply in your nex mail the output of this command:
> >
> > # perl -V
> >
> > or even this leads to the same error-message?
>
> Same error message.

Let me see the output of:

# echo $LD_LIBRARY_PATH

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


Re: Port perl 5.8.7 on FreeBSD 4.10

2005-10-06 Thread Vladimir Tsvetkov
-- Forwarded message --
From: Vladimir Tsvetkov <[EMAIL PROTECTED]>
Date: 2005-10-6 14:05
Subject: Re: Port perl 5.8.7 on FreeBSD 4.10
To: Olivier Nicole <[EMAIL PROTECTED]>


> > Does this fix the problem?
>
> It does, now I have to figure out what is the problem in the library.
>
> Both machines have the same LD_LIBRARY_PATH...
>
> Thanks, I should be able to work it out now.

This happens to be a common problem.
You might want to look at:
http://www.freebsd.org/cgi/getmsg.cgi?fetch=1630529+0+/usr/local/www/db/text/2003/freebsd-questions/20031214.freebsd-questions
There is an explanation for this problem and recommendations what is
the correct way to configure ld(1).

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


Fwd: Port perl 5.8.7 on FreeBSD 4.10

2005-10-06 Thread Vladimir Tsvetkov
-- Forwarded message --
From: Vladimir Tsvetkov <[EMAIL PROTECTED]>
Date: 2005-10-6 13:57
Subject: Re: Port perl 5.8.7 on FreeBSD 4.10
To: Olivier Nicole <[EMAIL PROTECTED]>


2005/10/6, Olivier Nicole <[EMAIL PROTECTED]>:
> fw2: env | grep LIBRA
> LD_LIBRARY_PATH=/lib:/usr/lib:/usr/X11R6/lib:/usr/local/lib:/usr/lib/compat:/usr/local/firebird/lib:/usr/local/lib/mysql:/usr/local/lib/pth:/usr/local/lib/kde3
>
> OK part of it may be useless :)
>

Backup the value of LD_LIBRARY_PATH (just copy the string in a text
editor or somewhere else, so after this experiment you could set this
environment variable again) and now unset LD_LIBRARY_PATH variable.
Does this fix the problem?

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


How often cvsup the ports?

2005-10-06 Thread Mikael Backman
Hi.
I use Portupgrade to install apps every now and then.
How often should I cvsup the ports? 
___
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-06 Thread Sasa Stupar



--On 6. oktober 2005 9:26 +0200 Sasa Stupar <[EMAIL PROTECTED]> 
wrote:





--On 6. oktober 2005 2:46 -0400 Chuck Swiger <[EMAIL PROTECTED]> wrote:


grep DefaultUser /etc/mail/sendmail.cf



9# grep DefaultUser /etc/mail/sendmail.cf
O DefaultUser=8:12


Sasa




OK, I have my sendmail now to run as mailnull:
-
# grep DefaultUser /etc/mail/sendmail.cf
O DefaultUser=mailnull
-
But now I have an error in mailman smtp-error log:
-
Oct 06 13:39:03 2005 (8442) SMTP session failure: 530, 5.7.0 Authentication 
required, msgid: 

-
I have on my sendmail setup client smtp authentication but I have also in 
my access file:

-
# by default we allow relaying from localhost...
localhost.localdomain   RELAY
localhost   RELAY
127.0.0.1   RELAY
-
So it should relay without authentication.
What am I missing here?

Sasa

pgpduqFl7V8hc.pgp
Description: PGP signature


Re: Can't get Mailman to work [SOLVED]

2005-10-06 Thread Sasa Stupar



--On 6. oktober 2005 13:43 +0200 Sasa Stupar <[EMAIL PROTECTED]> 
wrote:





--On 6. oktober 2005 9:26 +0200 Sasa Stupar <[EMAIL PROTECTED]>
wrote:




--On 6. oktober 2005 2:46 -0400 Chuck Swiger <[EMAIL PROTECTED]> wrote:


grep DefaultUser /etc/mail/sendmail.cf



9# grep DefaultUser /etc/mail/sendmail.cf
O DefaultUser=8:12


Sasa




OK, I have my sendmail now to run as mailnull:
-
# grep DefaultUser /etc/mail/sendmail.cf
O DefaultUser=mailnull
-
But now I have an error in mailman smtp-error log:
-
Oct 06 13:39:03 2005 (8442) SMTP session failure: 530, 5.7.0
Authentication required, msgid: 
-
I have on my sendmail setup client smtp authentication but I have also in
my access file:
-
# by default we allow relaying from localhost...
localhost.localdomain   RELAY
localhost   RELAY
127.0.0.1   RELAY
-
So it should relay without authentication.
What am I missing here?

Sasa


Got it finally. I had an option for SMTPPORT = '587' in mm_cfg.py. Now I 
have removed it and it works.

What a relief.

Regards,
Sasa


pgpWCcgPQrrlk.pgp
Description: PGP signature


Re: How often cvsup the ports?

2005-10-06 Thread Benjamin Lutz
Mikael Backman wrote:
> Hi.
> I use Portupgrade to install apps every now and then.
> How often should I cvsup the ports? 

As often as you like/need. I usually do it manually every 1-3 days.
Cvsup is quite efficient, so you shouldn't have to worry about
overloading the cvsup servers if you do it frequently. On the other
hand, cvsupping every 6 hours when you only check the results once a day
is overkill.

You can also track changes to the ports tree via
http://www.freshports.org and cvsup when you see an interesting change
there.

Cheers
Benjamin


signature.asc
Description: OpenPGP digital signature


How to properly mount a DVD-R/W drive and how to use it from the command line?

2005-10-06 Thread Olaf Greve

Hi,

This'll surely be a really novice question, but I'd like to get it right 
in one go, and RTFM-ing using Google somehow didn't produce uniform 
enough results for my likings. :)


The situation: I just installed FreeBSD 5.4-Release AMD64 on my new 
machine (though the question is most likely not specific to the AMD64 
version, I guess), and upon installation time the machine had a DVD-ROM 
/ CD-RW drive. Yesterday I received a new drive, being a DVD-RW drive, 
and I replaced the previous one with the new one. O.k., no problem so 
far, and the BIOS seems to properly identify the drive.


When booting the machine, the drive is -I think- identified as "DVDW" as 
/dev/acd0, and the mountpoint it (re!)uses is /cdrom.


Now, this is where the issue lies. When putting a CD-ROM in the drive, 
and trying to access it through the /cdrom mountpoint I get an empty 
directory listing (not correct) and when manually trying to do the 
following:

mount /dev/acd0 /cdrom
I get the error (on all CD-ROMs):
mount: /dev/acd0 on /cdrom: incorrect super block

Now, the entry in /etc/fstab for this device is set to:
/dev/acd0   /cdrom  cd9660  ro,noauto   0   0

Which is fine for a CD-ROM drive.

However: what should the proper settings be for a DVD-RW drive? Surely 
at least the 'ro' flag is incorrect, but is that all?
Also: are there other locations where I should tell FBSD (and if so: 
how) about the presence of the new drive?


Finally: I do not intent to run X on the machine, as it'll be a 
webserver only (well, incl. DB stuff etc.), and the drive is intended 
for being used to make remote back-ups on DVD-RW (yes: someone will 
physically swap the DVDs when necessary ;) ). What I'd like to know is 
what the easiest/best ways are to do so from the command-line. Does 
anyone have some scripts for this? Or perhaps some pointers to a good 
(preferrably free) program or tutorial?


As always: thanks in advance for your time, and your answers. :)

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


Installing zebra on minimal setup

2005-10-06 Thread Gobbledegeek
Hello
I did a minimal setup on a 500mb hdd - no ports, developer
tools.. 4.7 bsd. Now I need to install zebra and zebra only without
other ports. Its not on the install cd, So I need a binary image from
where. Can I download a binary from somewhere that will unzip itself?
Or Will someone kindly zip me one?

How?

--
Nonchalantly yours
GobbledeGeek
[Every thing but Gobbledegook.. !!]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


VPN server ?

2005-10-06 Thread Frank Bonnet

Hello

I need some infos on FreeBSD baed VPN server
links/experiences welcome
thanks a lot
--
Cordialement/Regards
Frank Bonnet
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Installing zebra on minimal setup

2005-10-06 Thread Gobbledegeek
PS: I need to add this to multiple machines without internet connection.

rgrds

On 10/6/05, Gobbledegeek <[EMAIL PROTECTED]> wrote:
> Hello
> I did a minimal setup on a 500mb hdd - no ports, developer
> tools.. 4.7 bsd. Now I need to install zebra and zebra only without
> other ports. Its not on the install cd, So I need a binary image from
> where. Can I download a binary from somewhere that will unzip itself?
> Or Will someone kindly zip me one?
>
> How?
>
> --
> Nonchalantly yours
> GobbledeGeek
> [Every thing but Gobbledegook.. !!]
>


--
Nonchalantly yours
GobbledeGeek
[Every thing but Gobbledegook.. !!]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How often cvsup the ports?

2005-10-06 Thread David Kelly


On Oct 6, 2005, at 6:24 AM, Mikael Backman wrote:


Hi.
I use Portupgrade to install apps every now and then.
How often should I cvsup the ports?


How often do you *need* updated ports? How often do you *need* an  
updated FreeBSD? Or is it just a matter of *want*.


--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.



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


Re: How to properly mount a DVD-R/W drive and how to use it from the command line?

2005-10-06 Thread Benjamin Lutz
Olaf Greve wrote:
> [...]
> Now, this is where the issue lies. When putting a CD-ROM in the drive,
> and trying to access it through the /cdrom mountpoint I get an empty
> directory listing (not correct) and when manually trying to do the
> following:
> mount /dev/acd0 /cdrom
> I get the error (on all CD-ROMs):
> mount: /dev/acd0 on /cdrom: incorrect super block
> 
> Now, the entry in /etc/fstab for this device is set to:
> /dev/acd0 /cdromcd9660ro,noauto00
> 
> Which is fine for a CD-ROM drive.

To mount both CDs and DVDs use either:

  mount_cd9660 /dev/acd0 /cdrom

(The system must know what kind of filesystem you want to mount. It does
not figure it out on its own like Linux does.) If you have an /etc/fstab
entry for the file system you wish to mount (which you do, in this
case), alternatively you can use the short version:

  mount /cdrom

This fetches the necessary information from /etc/fstab.

> However: what should the proper settings be for a DVD-RW drive? Surely
> at least the 'ro' flag is incorrect, but is that all?

No, that is correct. I don't think FreeBSD supports packet writing. In
other words: If you wish to (re)write a DVD, you need to use a proper
burning program (eg the somewhat misnamed growisofs), you can't just
copy files to it by mounting it.

> Also: are there other locations where I should tell FBSD (and if so:
> how) about the presence of the new drive?

FreeBSD will automatically detect any drives. Under FreeBSD 4.x, and
with exotic configurations, it was sometimes necessary to manually
create devices nodes.

> Finally: I do not intent to run X on the machine, as it'll be a
> webserver only (well, incl. DB stuff etc.), and the drive is intended
> for being used to make remote back-ups on DVD-RW (yes: someone will
> physically swap the DVDs when necessary ;) ). What I'd like to know is
> what the easiest/best ways are to do so from the command-line. Does
> anyone have some scripts for this? Or perhaps some pointers to a good
> (preferrably free) program or tutorial?

Use some program to produce an iso image of the files you want to burn
(check the cdrtools port), then use growisofs to burn that iso.

Cheers
Benjamin

PS: Please don't cross-post to several lists at once.


signature.asc
Description: OpenPGP digital signature


Re: broken ports

2005-10-06 Thread Toomas Aas

Reinhard Weismann wrote:


does anybody know where to report broken ports, or, where to get
information if/why a port currently is broken. 


From your description I am not at all sure that the port is broken in 
this case. But since you asked...


If you are sure that the port really is broken, you should first see 
whether somebody has already noted this, by going to 
http://www.freebsd.org/support/bugreports.html and searching for 
existing reports on a particular port. You can also look at the archive 
of freebsd-ports mailing list by going to 
http://www.freebsd.org/search/search.html#mailinglists


FreeBSD has a large and active user community, so real port breakage is 
usually found very fast and by the time you notice it, it's very likely 
that the problem has already been found and even fixed. Cvsupping your 
ports tree and trying to build the port again is often a quick fix to 
port build problems.


If you dont see any existing reports on your problem AND YOU ARE STILL 
SURE THAT IT IS ACTUALLY A PROBLEM WITH THE PORT then it's time to 
submit a bug report at http://www.freebsd.org/support/bugreports.html


in this case on my 5.4-RELEASE-p6 (i386) installations, the port 
mail/p5-Mail-SpamAssassin (p5-Mail-SpamAssassin-3.1.0) does not
compile, i.e. i get 
[..]

Segmentation fault (core dumped)
*** Error code 139
[..]


Does this happen only to this port? Can you build other ports 
successfully? Can you successfully run 'make buildworld'?


The reason I'm asking is that segmentation faults are often caused by 
failing hardware (faulty memory chip, overheating CPU etc). In your 
case, hardware fault is even more likely since you noticed yourself that 
the port builds successfully on another machine.


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


Re: VPN server ?

2005-10-06 Thread Benjamin Lutz
Frank Bonnet wrote:
> I need some infos on FreeBSD baed VPN server
> links/experiences welcome

I'm using OpenVPN (http://www.openvpn.org), and I'm very happy with it.
It's simple to set up (*much* simpler than IPSEC), and it has so far
been reliable for me. Since it uses SSL for encryption, it is easy to
find hardware encryption acceleration; eg newer Via Epia systems have
some crypto hardware built into the CPU which is supported by FreeBSD
and delivers superb performance at little cost: those boards are cheap,
and they use very little power.

For even smaller VPN gateways, A soekris box (http://www.soekris.com)
with a vpn acceleration add-on card ought to work fine as well.

Cheers
Benjamin


signature.asc
Description: OpenPGP digital signature


Re: How to properly mount a DVD-R/W drive and how to use it from the command line?

2005-10-06 Thread P.U.Kruppa

On Thu, 6 Oct 2005, Olaf Greve wrote:


Hi,

This'll surely be a really novice question, but I'd like to get it right in 
one go, and RTFM-ing using Google somehow didn't produce uniform enough 
results for my likings. :)


The situation: I just installed FreeBSD 5.4-Release AMD64 on my new machine 
(though the question is most likely not specific to the AMD64 version, I 
guess), and upon installation time the machine had a DVD-ROM / CD-RW drive. 
Yesterday I received a new drive, being a DVD-RW drive, and I replaced the 
previous one with the new one. O.k., no problem so far, and the BIOS seems to 
properly identify the drive.


When booting the machine, the drive is -I think- identified as "DVDW" as 
/dev/acd0, and the mountpoint it (re!)uses is /cdrom.


Now, this is where the issue lies. When putting a CD-ROM in the drive, and 
trying to access it through the /cdrom mountpoint I get an empty directory 
listing (not correct) and when manually trying to do the following:

mount /dev/acd0 /cdrom

Try
mount_cd9660 /dev/acd0 /cdrom

Regards,

Uli.




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


Re: How often cvsup the ports?

2005-10-06 Thread Andrew P.
On 10/6/05, Mikael Backman <[EMAIL PROTECTED]> wrote:
> Hi.
> I use Portupgrade to install apps every now and then.
> How often should I cvsup the ports?
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>

If you like being up-to-date, you should consider
using portsnap, which is much more efficient than
cvsup. You can update every other couple of hours
then - and you'll probably waste less bandwidth
in a week than you would with cvsup in one run.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: broken ports

2005-10-06 Thread Reinhard Weismann

Thank you very much for the info's

in the meanwhile, the problem got solved, after upgrading
p5-Mail-DomainKeys-0.23 to 0.80 yesterday, p5-Mail-SpamAssassin upgrade
also worked.

> The reason I'm asking is that segmentation faults are often caused by 
> failing hardware (faulty memory chip, overheating CPU etc). In your 
> case, hardware fault is even more likely since you noticed yourself
> that the port builds successfully on another machine.

i don't think so, this problem appeared on two of my machines, both
installed with 5.4, but not on another machine with 5.3


regards, 
reinhard


On Thu, 06 Oct 2005 15:12:40 +0300
Toomas Aas <[EMAIL PROTECTED]> wrote:

> Reinhard Weismann wrote:
> 
> > does anybody know where to report broken ports, or, where to get
> > information if/why a port currently is broken. 
> 
>  From your description I am not at all sure that the port is broken
> in this case. But since you asked...
> 
> If you are sure that the port really is broken, you should first see 
> whether somebody has already noted this, by going to 
> http://www.freebsd.org/support/bugreports.html and searching for 
> existing reports on a particular port. You can also look at the
> archive of freebsd-ports mailing list by going to 
> http://www.freebsd.org/search/search.html#mailinglists
> 
> FreeBSD has a large and active user community, so real port breakage
> is usually found very fast and by the time you notice it, it's very
> likely that the problem has already been found and even fixed.
> Cvsupping your ports tree and trying to build the port again is often
> a quick fix to port build problems.
> 
> If you dont see any existing reports on your problem AND YOU ARE
> STILL SURE THAT IT IS ACTUALLY A PROBLEM WITH THE PORT then it's time
> to submit a bug report at
> http://www.freebsd.org/support/bugreports.html
> 
> > in this case on my 5.4-RELEASE-p6 (i386) installations, the port 
> > mail/p5-Mail-SpamAssassin (p5-Mail-SpamAssassin-3.1.0) does not
> > compile, i.e. i get 
> > [..]
> > Segmentation fault (core dumped)
> > *** Error code 139
> > [..]
> 
> Does this happen only to this port? Can you build other ports 
> successfully? Can you successfully run 'make buildworld'?
> 
> The reason I'm asking is that segmentation faults are often caused by 
> failing hardware (faulty memory chip, overheating CPU etc). In your 
> case, hardware fault is even more likely since you noticed yourself
> that the port builds successfully on another machine.
> 
> -- 
> Toomas Aas


-- 
If you give Congress a chance to vote on both sides of an issue, it
will always do it.
-- Les Aspin, D., Wisconsin
___
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 properly mount a DVD-R/W drive and how to use it from the command line?

2005-10-06 Thread O. Hartmann

Olaf Greve wrote:

Hi,

This'll surely be a really novice question, but I'd like to get it right 
in one go, and RTFM-ing using Google somehow didn't produce uniform 
enough results for my likings. :)


The situation: I just installed FreeBSD 5.4-Release AMD64 on my new 
machine (though the question is most likely not specific to the AMD64 
version, I guess), and upon installation time the machine had a DVD-ROM 
/ CD-RW drive. Yesterday I received a new drive, being a DVD-RW drive, 
and I replaced the previous one with the new one. O.k., no problem so 
far, and the BIOS seems to properly identify the drive.


When booting the machine, the drive is -I think- identified as "DVDW" as 
/dev/acd0, and the mountpoint it (re!)uses is /cdrom.


Now, this is where the issue lies. When putting a CD-ROM in the drive, 
and trying to access it through the /cdrom mountpoint I get an empty 
directory listing (not correct) and when manually trying to do the 
following:

mount /dev/acd0 /cdrom
I get the error (on all CD-ROMs):
mount: /dev/acd0 on /cdrom: incorrect super block

Now, the entry in /etc/fstab for this device is set to:
/dev/acd0 /cdromcd9660ro,noauto00

Which is fine for a CD-ROM drive.

However: what should the proper settings be for a DVD-RW drive? Surely 
at least the 'ro' flag is incorrect, but is that all?
Also: are there other locations where I should tell FBSD (and if so: 
how) about the presence of the new drive?


Finally: I do not intent to run X on the machine, as it'll be a 
webserver only (well, incl. DB stuff etc.), and the drive is intended 
for being used to make remote back-ups on DVD-RW (yes: someone will 
physically swap the DVDs when necessary ;) ). What I'd like to know is 
what the easiest/best ways are to do so from the command-line. Does 
anyone have some scripts for this? Or perhaps some pointers to a good 
(preferrably free) program or tutorial?


As always: thanks in advance for your time, and your answers. :)

Cheers,
Olafo


Hello Olafo.
As I can see, Uli replied the right answer, you forgot to specify the 
filesystem type. but if there is a proper fstab-entry, like this:


/dev/acd0   /cdrom  cd9660  ro,noauto   0 0

then it should work properly by typing

mount /cdrom

In my case, I utilize amd(8) to automatically mount a disk. This ma be 
an option to you.
I also do backups on DVD+RW, but this is a more 'tricky' job if it is 
done the automated way.
One possible way is to use 'growisofs' (found in 
ports/sysutils/dvd+rw-tools). But this tool needs 'root' or some 
workarounds when used via 'sudo' (you can not use growisofs via sudo the 
direct way!).


Another way is to use 'burncd(8)', but it only works with dvd+rw for me 
and burncd is definitely broken for some CD-R/CD-RW drives/formats 
(burncd isn't capable closing the session properly, so for CD-R/CD-RW 
you should use 'cdrecord' from ports/sysutils/cdrtools). For me, burncd 
operates on my NEC DVD+RW drive properly, but you need ISO Images to 
burn on DVD+RW/DVD+R (growisofs uses a built-in 'dd' to burn 'on the 
fly', which is preferable in some ways).
An Advantage of burncd(8) is: it works with sudo(8) and it is part of 
the FreeBSd OS. Disadvantage: it seems to have poor maintenance and does 
not work properly with some drives. Assuming you have made a ISO image 
with mkisofs (also found in ports/sysutils/cdrtools), you can burn as a 
normal user via sudo via:


sudo burncd -f /dev/acd0 dvdrw /path/to/datafile

Hope this helped a little bit. There are sophisticated ways of doing 
backups via DVD-+RW/DVD-+R with shell scripts, so use the search 
function of the mailing lists.


Oliver

___
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-06 Thread Lowell Gilbert
Vladimir Tsvetkov <[EMAIL PROTECTED]> writes:

> 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?

It's probably an environment setting; my guess would be PATH.

But my advice would be not to run X as root anyway.
___
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-06 Thread Chuck Swiger

Eric Devolder wrote:

Thank you Chuck, now I better understand what's behind this. Maybe
just a side question: Can I "refresh" the files contained in
/usr/ports with the one of an older release? for example, I would like
to use ports from 4.3 while I'm running a 4.11 for now. Of course, my
/usr/ports reflects only ports for 4.11. How can I replace them with
the 4.3 ones?


If you have a /usr/ports tree corresponding to 4.3, I suppose you could simply 
copy that to a 4.11 system.  Or as someone else mentioned, you could use CVS to 
obtain the ports tree as of a particular date.  *Why* you would want to do so 
is unclear; there have been a lot of security bugs found in various common 
ports which have been fixed over the years.


You could use sysutils/portdowngrade to go back to an older revision of a 
specific port.


--
-Chuck

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


Re: cvsup upgrade from 4.7 to 5.4

2005-10-06 Thread Chuck Swiger

Gobbledegeek wrote:

  I'm upgrading from 4.7 to 5.4 using cvsup and I see that with
src-all, files specific to s390, sparc, ppc are also being downloaded.
How can I prevent this from happening? I only want to download i386
files...


You've already asked this question.  This isn't a problem that you ought to try 
to solve, because the size of architecture-specific files is tiny, but if you 
are determined, read the section of "man cvsup" about "REFUSE FILES".


--
-Chuck

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


Re: How often cvsup the ports?

2005-10-06 Thread Chuck Swiger

Mikael Backman wrote:

I use Portupgrade to install apps every now and then.
How often should I cvsup the ports? 


Install portaudit.  Pay attention to your nightly email.  When you notice 
portaudit reporting that you have ports installed with known security 
vulnerabilities, it's a good time to update your ports.


You can update more frequently than that, of course.

--
-Chuck

___
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-06 Thread Jerry McAllister
> 
> 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?  

You don't have to do anything to remove XP.   When you install
FreeBSD over the top of it, that will get rid of XP.   So, just
follow the handbook or any of the good books that are out to do
a regular (eg non-dual boot) install of FreeBSD.   

You could alternatively squeeze XP down enough to make room
and install FreeBSD as a second OS and then you would have a dual
boot machine with both XP and FreeBSD on it.   

But if you don't want to preserve the XP at all, then just do the
straight FreeBSD install and voila, XP is gone.

jerry

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

___
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-06 Thread Kirk Strauser
On Wednesday 05 October 2005 10:43 pm, Kirk Strauser wrote:

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

I think I found the problem.  I sit a few feet away from a 19" monitor, and 
have my minimum font size set larger than normal to compensate for sites that 
use teeny typefaces.  When I loaded the new www.freebsd.org with that minimum 
size decreased a few points, it looked fine.

Try it on your own: visit the site and increase the font size a bit, and see 
if it doesn't resemble my screenshot.  And it still renders as a a narrow 
(maybe 50% of window width) column centered horizontally.  That is, it 
doesn't reflow at all.  Widen your browser window and the little column stays 
centered in the middle of huge white tracts.  Make it narrower and watch as 
the horizontal scroll bars pop into play.

I still think the design generally looks fine, but the implementation isn't so 
hot.  I'll see if I can find time to hack on it this weekend.
-- 
Kirk Strauser


pgpzN0vA5n1qV.pgp
Description: PGP signature


Re: Problems with Acroread7 port

2005-10-06 Thread Vladimir Tsvetkov
06 Oct 2005 08:58:34 -0400, Lowell Gilbert
<[EMAIL PROTECTED]>:
> Vladimir Tsvetkov <[EMAIL PROTECTED]> writes:
>
> > 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?
>
> It's probably an environment setting; my guess would be PATH.
>
> But my advice would be not to run X as root anyway.

In order to start an X application as root, you do not need to run X
as root. I simply use su, and start the application from the command
line as root.

When I use Acroread7 as a standalone application (not as a plug-in to
Firefox), it works just file, despite the error message dialog above
informing about the problems with the incorrect loading of those APIs.

I could be a PATH problem, but it also could be a lack of a required
library. First, I should assure that all the reguired ports for
Acroread7 are installed correctly and up-to-date.

Solving the problems with those stale dependencies looks more like a
intuitive work, and I'm still on the stage "Try and Error". Maybe
gaining the experience will formalize that process, but it would be of
great help to me, if you could supply some heuristics for solving this
kind of problems. Unfortunatelly, I couldn't find much on this topic.

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


Re: [freebsd-questions] PID 0

2005-10-06 Thread Lowell Gilbert
"Duncan Drury" <[EMAIL PROTECTED]> writes:

> I am having a problem with Apache/PHP that results in Apache running as PID 
> 0, which I cannot kill without restarting the server (or rather I don't know 
> how else to do it).
> 
> I am running FreeBSD 5.2, with Apache 1.3.33 and PHP5.0.5.
> 
> Firstly does anyone know of a way to get rid of processes running as PID 0 
> without a reboot?  Would cut the diagnosis of this problem in two.
> 
> Secondly, is PID 0 in FreeBSD 5.2 something special or the mark of an error.
> 
> I think the root of the bug is with PHP, and am following that up on the 
> appropriate mailing list.  If anyone else has come across something like this 
> I'd be interested to hear.

PID 0?  Really?  As in the first column of "ps -ax"?
___
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 properly mount a DVD-R/W drive and how to use it from the command line?

2005-10-06 Thread Olaf Greve

Hi all,

Thanks for the excellent replies regarding this!

Regarding the mounting: indeed I do have a proper /etc/fstab, so I'll 
use mount /cdrom then.
Tnx for explaining about the need to mount it in ISO-9660 format, and 
that the 'ro' flag is correct after all. :)


So, the remaining thing then is how to set-up a proper strategy for 
letting cron do automatic back-ups to DVD.

Regarding that, most is clear now; a few additional questions/observations:

I also do backups on DVD+RW, but this is a more 'tricky' job if it is 
done the automated way.
One possible way is to use 'growisofs' (found in 
ports/sysutils/dvd+rw-tools). But this tool needs 'root' or some 
workarounds when used via 'sudo' (you can not use growisofs via sudo the 
direct way!).


Running it as root is no issue. The machine is mine, so I can configure 
whatever I like as root. By now growisofs has been mentioned a few 
times, so it seems like that (either running from cron, or manually) is 
the best way to go then!


S, if I understand it correctly, growisofs may be either itself able 
to create ISO images and burn those, or if not, just use ISO images 
created by mkisofs.


Then, mainly out of curiosity: at present the size of the back-ups is 
less than 2GB, though the low cost of DVD-Rs doesn't create a need for 
it, it would be cool if I could burn 2 back-ups on 1 DVD. Are there any 
easy options for that as well, or would it be better (read: a heck of a 
lot easier) to simply not bother with that, and just burn one back-up 
per DVD, and just close the session (hence losing the additional amount 
of free space)?


Hope this helped a little bit. There are sophisticated ways of doing 
backups via DVD-+RW/DVD-+R with shell scripts, so use the search 
function of the mailing lists.


Definitely, thanks a lot! I now know where to start looking and how to 
go about it. I hope to be able to get the rest going myself by doing 
some RTFMing in man, my back-log of messages from the FBSD lists, and/or 
Google. :)


Finally, regarding the cross-posts: I did that as the machine runs the 
AMD64 version (hence inclusion of the AMD64 specific list), but the 
question also seemed (at least partially) general enough to be asked on 
the regular FBSD list. I'm sorry if by doing so I went against some 
written or unwritten list etiquete, and if so, after this message I 
shall make sure not to do so again. :P


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


Re: How often cvsup the ports?

2005-10-06 Thread Bob Johnson
On 10/6/05, Mikael Backman <[EMAIL PROTECTED]> wrote:
> Hi.
> I use Portupgrade to install apps every now and then.
> How often should I cvsup the ports?

I usually cvsup the ports every time I install a port.  That way I
know I'm getting the latest available ports.  There's not much point
in running cvsup when you are not going to be using the result.

Similarly, I update the source only when I'm going to be updating the
system.  Otherwise, I want to keep the source I actually used to build
the system, in case I need to rebuild something.

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


Re: Installation problem - "device node"

2005-10-06 Thread Lowell Gilbert
peter bailey <[EMAIL PROTECTED]> writes:

> 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.  

That kind of depends on what "X" is.
If you mean literally "/dev/X" then I'm thoroughly confused also.  
But I suspect that X is a disk drive device.  Which one, and what kind
of hardware you use, is important.

Please provide more information:
"How to get best results from the FreeBSD-questions mailing list"
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Realtek High Definition Soundcard

2005-10-06 Thread Berk Gulenler
Is there any way to install Realtek high definition soundcard? I try the 
open sound system program(lastest version). But it doesnt work. Help 
needed.By the way i am using version 5.4. Thks.

___
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-06 Thread Norberto Meijome

Gary W. Swearingen wrote:

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.


ah yeah, i remember this one from way back when (10+ years ago maybe).

I even remember reading in a book about game development the suggestion 
to add a HUGE amount of (needless) data to the game to make it a real 
pain for the would-be-illegal-user to make a copy. That was, of course, 
before cd burners were ubiquitous and copying by to floppies 500 MBs for 
a single game wasn't a joke. (yes, ridiculous suggestion, i know)




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.


Where does HPA(Host protected Area) sit in all this? is this the 'boot 
sector' trick?  I've heard about it in relation to XBox, and seen it in 
some big-brand-name laptops and HDs of NAS-devices. FWIW, i don't think 
HPA is a bulletproof solution either (nothing a dd won't read / 
overwrite, as many others have mentioned).


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


passwd file corrupted

2005-10-06 Thread Efren Bravo
Hi,

How can I check /etc/passwd file integrity because I think it is
corrupted. When I try to execute vipw efrenba or root it doesn't works.
Also check /etc/master.passwd file...

Thanks...


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


Re: passwd file corrupted

2005-10-06 Thread Will Maier
On Thu, Oct 06, 2005 at 10:31:32AM -0500, Efren Bravo wrote:
> How can I check /etc/passwd file integrity because I think it is
> corrupted. When I try to execute vipw efrenba or root it doesn't works.

Can you explain how vipw 'doesn't work'? What does it say? Is your
$EDITOR variable set correctly?

-- 

o--{ Will Maier }--o
| jabber:[EMAIL PROTECTED] | email:[EMAIL PROTECTED] |
| [EMAIL PROTECTED] | [EMAIL PROTECTED] |
*--[ BSD Unix: Live Free or Die ]--*

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


Re: How often cvsup the ports?

2005-10-06 Thread Robert Huff

Benjamin Lutz writes:

>  > I use Portupgrade to install apps every now and then.
>  > How often should I cvsup the ports? 
>  
>  As often as you like/need. I usually do it manually every 1-3
>  days.

I upgrade the ports tree every night.
Building the ports depends on the number and identity.  Small
items and security fixes get done daily; monsters like Mozilla and
its kindred every couple of days; OpenOffice ... urk. 
(NB: I have a 7 mbit broadband connection and the build machine
has periods when it's not doing much of anything else.)


Robert Huff






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


Setting mount_nfs options in /etc/fstab

2005-10-06 Thread Brian Candler
I am reading large log files via NFS, and I find that if I mount them with
mount_nfs -a 4 then performance is improved.

My question is: is there any way to set the option '-a 4' in /etc/fstab? Or
am I forced to mount the filesystems the manual way in /etc/rc.local?

mount_nfs supports a number of options via -o, many of which it describes as
"historic" and "deprecated", but they don't include something to set
readahead as far as I can see.

Thanks,

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


Re: How often cvsup the ports?

2005-10-06 Thread Colin Percival
Andrew P. wrote:
> On 10/6/05, Mikael Backman <[EMAIL PROTECTED]> wrote:
>>I use Portupgrade to install apps every now and then.
>>How often should I cvsup the ports?
> 
> If you like being up-to-date, you should consider
> using portsnap, which is much more efficient than
> cvsup. You can update every other couple of hours
> then - and you'll probably waste less bandwidth
> in a week than you would with cvsup in one run.

Portsnap certainly is more efficient than cvsup for
frequent updating, but for most people, updating the
ports tree every 2 hours is rather pointless.  On my
6.0-beta systems, I have a nightly cron job which runs

  portsnap -I cron update && pkg_version -vIL=

which downloads updates, builds new ports INDEX files,
and emails me a list of installed packages which are
out of date.

When I get such an email, I log into the system and run

  portsnap update && portupgrade -a

which updates the ports tree and rebuilds the installed
packages which are out of date.

Between FreeBSD Update, portsnap, and portupgrade, I
doubt I spend more than half an hour per month keeping
each system up to date.

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


Re: passwd file corrupted

2005-10-06 Thread Efren Bravo
On Thu, Oct 06, 2005 at 10:31:32AM -0500, Efren Bravo wrote:
> How can I check /etc/passwd file integrity because I think it is
> corrupted. When I try to execute vipw efrenba or root it doesn't works.

>Can you explain how vipw 'doesn't work'? What does it say? Is your
>$EDITOR variable set correctly?

#vipw root  returns-> usage: vipw [-d directory]
and ...
#vipw -d /etc root  returns the same
and ...
#vipw root -d /etc  the same

#echo $EDITOR
vi


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


(no subject)

2005-10-06 Thread Gleb Romanyuk
Hello!

  Whether probably to adjust ZyXEL ADSL USB modem on FreeBSD? Any
information on adjustment of ADSL USB modems interests.

-- 
Best regards,
 Gleb  mailto:[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: passwd file corrupted, solved, sorry

2005-10-06 Thread Efren Bravo
On Thu, Oct 06, 2005 at 10:31:32AM -0500, Efren Bravo wrote:
> How can I check /etc/passwd file integrity because I think it is
> corrupted. When I try to execute vipw efrenba or root it doesn't works.

>Can you explain how vipw 'doesn't work'? What does it say? Is your
>$EDITOR variable set correctly?

>#vipw root  returns-> usage: vipw [-d directory]
>and ...
>#vipw -d /etc root  returns the same
>and ...
>#vipw root -d /etc  the same
>
>#echo $EDITOR
>vi

Sorry, I was confused, I referred to the pw instead of vipw...  
  
I already solved the problem


Thanks



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


sendmail/postfix ports question

2005-10-06 Thread Matt Singerman
Hello all,

I have a server running FreeBSD 5.2.1 that provides (amongst other
things) MTA services to our office via sendmail.  For a variety of a
reasons, I would like to move away from sendmail to postfix.  However,
the postfix package cannot, as I am sure you know, simply install with
sendmail on the system, since they install files to the same places.  I
am assuming that I have to delete the sendmail package off the system
before I can install postfix (someone please correct me if this
assumption is wrong).  My question is, is there a way to safely and
accurately save my sendmail configuration in the event that postfix
simply does not work out?  I would really prefer not to have to face a
situation where I am left high and dry with no MTA working :)

Thanks,

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


Re: Setting mount_nfs options in /etc/fstab

2005-10-06 Thread Brian Candler
On Thu, Oct 06, 2005 at 10:10:14AM -0500, Doug Poland wrote:
> Here's an fstab entry of mine for an nfs mount.
> 
> fs:/data  /data   nfs -3,-R=3,-b,-i,-s,-r=32768,-w=32768,rw   
> 0   0
> 
> Your options and milage may vary...

That works for me, thank you. Perhaps the fstab(5) page could be clearer
then. It says:

 The fourth field, (fs_mntops), describes the mount options associated
 with the file system.  It is formatted as a comma separated list of
 options.  It contains at least the type of mount (see fs_type below) plus
 any additional options appropriate to the file system type.  See the
 options flag (-o) in the mount(8) page and the file system specific page,
 such as mount_nfs(8), for additional options that may be specified.

and also later:

 struct fstab {
 char*fs_spec;   /* block special device name */
 char*fs_file;   /* file system path prefix */
 char*fs_vfstype;/* File system type, ufs, nfs */
 char*fs_mntops; /* Mount options ala -o */ <<<
 char*fs_type;   /* FSTAB_* from fs_mntops */
 int fs_freq;/* dump frequency, in days */
 int fs_passno;  /* pass number on parallel fsck */
 };

When I read this, the implication to me was that only options which you
could pass using -o to mount or mount_nfs were permitted.

Cheers,

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


Re: correct syntax for openssl 0.9.8 in port

2005-10-06 Thread Alistair Sutton
On 30/07/05, J.D. Bronson <[EMAIL PROTECTED]> wrote:
> At 12:57 PM 7/30/2005, Kris Kennaway wrote:
> >On Sat, Jul 30, 2005 at 12:46:37PM -0500, J.D. Bronson wrote:
> > > I update my port tree on 5.4 to the latest and I am trying to figure
> > > out what steps I need to build openssl 0.9.8 in 
> > > /usr/ports/security/openssl
> > > and end up overwriting any base files.
> > >
> > > This question comes up often, perhaps a comment can be put into the
> > > makefile?
> > >
> > > I have tried all the ideas on the archives and either it wont build
> > > or it keeps trying to build 0.9.7g !!!
> > >
> > > *ANY* advice will be greatly appreciated.
> > >
> > > I am able to compile the src code cleanly, but that install will
> > > place files in their own spot and obviously not overwrite base files.
> >
> >Read the makefile for the appropriate variables to set.
> >
> >Kris
>
> This is obviously my issue. I cannot figure out what variables to set.
> What I think it should be, it whines about.
>
> Can someone at least POST what we should use so this will at least be
> in the archives once and for all?

To get the openssl port to overwrite the base files built by the
system you need to put

OPENSSL_OVERWRITE_BASE=yes

into /etc/make.conf

If you then don't want the system to rebuilt openssl you'll need to have

NO_OPENSSL=yes

in /etc/make.conf as well otherwise each time you update your world it
will overwrite the files installed by the port.

It might be easier just to have

WITH_OPENSSL_PORT=yes

in /etc make.conf so that software will always try to build with the
openssl from the port. Even though the system will rebuild openssl
each time you update your world, nothing outside of the base system
should try and use those libraries.

It might be an idea to read

/usr/share/examples/etc/make.conf

to get a full list of what the various options are and what they can do.

HTH,

Al
--
GPG/PGP: http://www.no-dns-yet.org.uk/~everlone/pubkey.gpg
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


dump/restore puzzle

2005-10-06 Thread Freminlins
I have a puzzling problem with dump and restore. I'm looking to implement a
dump and restore pipe to automatically make copy of a file system onto
another system completely. I've used / only as an example (because it's
small) and I'm not overwriting /.

I do the following:
1. Level 0 dump and restore pipe which works as expected

frem# dump 0auLf - / | ( restore -rf - )
DUMP: Date of this level 0 dump: Thu Oct 6 16:16:17 2005
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping snapshot of /dev/ad0s1a (/) to standard output
DUMP: mapping (Pass I) [regular files]
DUMP: mapping (Pass II) [directories]
DUMP: estimated 54582 tape blocks.
DUMP: dumping (Pass III) [directories]
DUMP: dumping (Pass IV) [regular files]
expected next file 8069, got 818
DUMP: DUMP: 55429 tape blocks
DUMP: finished in 19 seconds, throughput 2917 KBytes/sec
DUMP: level 0 dump on Thu Oct 6 16:16:17 2005
DUMP: DUMP IS DONE


2. I touch a file, just to make a difference, then do a level 1 dump and
restore which works as expected (the new file is extracted).

frem# touch /hello
frem# dump 1auLf - / | ( restore -rf - )
DUMP: Date of this level 1 dump: Thu Oct 6 16:16:50 2005
DUMP: Date of last level 0 dump: Thu Oct 6 16:16:17 2005
DUMP: Dumping snapshot of /dev/ad0s1a (/) to standard output
DUMP: mapping (Pass I) [regular files]
DUMP: mapping (Pass II) [directories]
DUMP: estimated 36 tape blocks.
DUMP: dumping (Pass III) [directories]
DUMP: dumping (Pass IV) [regular files]
DUMP: DUMP: 35 tape blocks
DUMP: finished in less than a second
DUMP: level 1 dump on Thu Oct 6 16:16:50 2005
DUMP: DUMP IS DONE
expected next file 24550, got 819

3. I remove the file and do another level 1 dump and restore. This doesn't
work.

frem# rm /hello
frem# dump 1auLf - / | ( restore -rf - )
DUMP: Date of this level 1 dump: Thu Oct 6 16:17:08 2005
DUMP: Date of last level 0 dump: Thu Oct 6 16:16:17 2005
DUMP: Dumping snapshot of /dev/ad0s1a (/) to standard output
DUMP: mapping (Pass I) [regular files]
DUMP: mapping (Pass II) [directories]
DUMP: estimated 35 tape blocks.
DUMP: dumping (Pass III) [directories]
DUMP: dumping (Pass IV) [regular files]
DUMP: DUMP: 34 tape blocks
DUMP: finished in less than a second
DUMP: level 1 dump on Thu Oct 6 16:17:08 2005
DUMP: DUMP IS DONE
Incremental tape too high

4. If I then touch another file, this still doesn't work.

frem# touch /hello2
frem# dump 1auLf - / | ( restore -rf - )
DUMP: Date of this level 1 dump: Thu Oct 6 16:24:51 2005
DUMP: Date of last level 0 dump: Thu Oct 6 16:23:50 2005
DUMP: Dumping snapshot of /dev/ad0s1a (/) to standard output
DUMP: mapping (Pass I) [regular files]
DUMP: mapping (Pass II) [directories]
DUMP: estimated 37 tape blocks.
DUMP: dumping (Pass III) [directories]
DUMP: dumping (Pass IV) [regular files]
DUMP: DUMP: 36 tape blocks
DUMP: finished in less than a second
DUMP: level 1 dump on Thu Oct 6 16:24:51 2005
DUMP: DUMP IS DONE
Incremental tape too high


How can I go about achieving this (ignoring rsync, etc),

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


vsftpd watch problem

2005-10-06 Thread Yuan Jue
Hi all

Here is a pragmatic problem. I used vsftpd to setup a ftp server. And as a 
result, some guys start to download something from my ftp server. I do want 
to know the downloader's IP and the speed he/she download from me, just as a 
status-watching for my notebook. 

Can anyone give me some clue how to do this stuff? Using vsftpd itself or 
using some freebsd utilities are both acceptable. I appreciate any 
suggestions. 

-- 
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: Which MySQL version best to use and with/without linux threads?

2005-10-06 Thread Peter Giessel
On Thursday, October 06, 2005, at 07:22AM, Greg 'groggy' Lehey <[EMAIL 
PROTECTED]> wrote:
>> *** 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.

Yes, it worked after the downgrade was complete, but the 051002 17:42:08 
connection
was the same day, the same time frame (21 seconds later).  It worked from the
command line, but not from Dovecot.

>> *** 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?

Yes.  That is exactly what I'm saying.

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

I deinstalled 4.1.14 later on the 2nd and started recompiling 4.0.26.
I finished installing and fixing downgrade issues on the 3rd, at which
time dovecot connected successfully.

>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.

I'm not saying anything is wrong with 4.1, I was just trying to point
out that there *may* in some cases be compatibility issues with 4.1.

It doesn't *always* play nice with others, as the OP claimed, and as
you say, its probably a dovecot issue, but downgrading solved it
nicely.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sendmail/postfix ports question

2005-10-06 Thread David Kelly
On Thu, Oct 06, 2005 at 11:16:50AM -0400, Matt Singerman wrote:
> Hello all,
> 
> I have a server running FreeBSD 5.2.1 that provides (amongst other
> things) MTA services to our office via sendmail.  For a variety of a
> reasons, I would like to move away from sendmail to postfix.  However,
> the postfix package cannot, as I am sure you know, simply install with
> sendmail on the system, since they install files to the same places.  I
> am assuming that I have to delete the sendmail package off the system
> before I can install postfix (someone please correct me if this
> assumption is wrong).  My question is, is there a way to safely and
> accurately save my sendmail configuration in the event that postfix
> simply does not work out?  I would really prefer not to have to face a
> situation where I am left high and dry with no MTA working :)

Install postfix from ports. It does NOT install files to the same place
as sendmail with the optional exception of /etc/mail/mail.conf which
provides redirects to the postfix versions.

Also read what postfix says during installation. Needs a bit of info
added to /etc/rc.conf.

Add "NO_SENDMAIL=1" (just define it) to /etc/make.conf and a "make
buildworld" will not build sendmail. Not certain how to surely remove
sendmail once its installed.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Fwd: cvsup upgrade from 4.7 to 5.4

2005-10-06 Thread Gobbledegeek
See below
Ps: I joined the list only for this answer...

-- Forwarded message --
From: Gobbledegeek <[EMAIL PROTECTED]>
Date: Oct 6, 2005 9:02 PM
Subject: Re: cvsup upgrade from 4.7 to 5.4
To: Chuck Swiger <[EMAIL PROTECTED]>


There isn't a a category to refuse under src-* for s390,sparc,amd64, ppc
etc... hence the question. I'm still on dial-up in this age hence the
need

Rgrds

On 10/6/05, Chuck Swiger <[EMAIL PROTECTED]> wrote:
> Gobbledegeek wrote:
> >   I'm upgrading from 4.7 to 5.4 using cvsup and I see that with
> > src-all, files specific to s390, sparc, ppc are also being downloaded.
> > How can I prevent this from happening? I only want to download i386
> > files...
>
> You've already asked this question.  This isn't a problem that you ought to 
> try
> to solve, because the size of architecture-specific files is tiny, but if you
> are determined, read the section of "man cvsup" about "REFUSE FILES".
>
> --
> -Chuck
>
>


--
Nonchalantly yours
GobbledeGeek
[Every thing but Gobbledegook.. !!]


--
Nonchalantly yours
GobbledeGeek
[Every thing but Gobbledegook.. !!]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD Support (Commerical)

2005-10-06 Thread Ansar Mohammed
Does the FreeBSD project offer commercial support? I notice that the FreeBSD
mall offers commercial support.
 
___
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-06 Thread Dan Rue
On Wed, Oct 05, 2005 at 09:27:53AM -0400, Lowell Gilbert wrote:
> 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
> > 
> > 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.

I upgraded to 5-STABLE yesterday.  Last night, while running rsync, the
machine rebooted on me again..

>From /var/log/messages: 
Oct  5 23:08:41 leopard kernel: ected status bit(s): status reg = 0x15025f32; 
Missing bits: [MC_RDY,]
Oct  5 23:08:41 leopard kernel: twa0: ERROR: (0x16: 0x1301): Missing expected 
status bit(s): status reg = 0x15025f32; Missing bits: [MC_RDY,]
Oct  5 23:08:41 leopard last message repeated 7 times
Oct  5 23:08:41 leopard kernel: twa0: ERROR: (0x16: 0x1301): Missing expected 
status bit(s): status reg =ected status bit(s): status reg = 0x15025f32; 
Missing bits: [MC_RDY,]
Oct  5 23:08:41 leopard kernel: twa0: ERROR: (0x16: 0x1301): Missing expected 
status bit(s): status reg = 0x15025f32; Missing bits: [MC_RDY,]
Oct  5 23:08:41 leopard last message repeated 106 times
Oct  5 23:08:41 leopard kernel: twa0: ERROR: (0x16: 0x1301): Missected status 
bit(s): status reg = 0x15025f32; Missing bits: [MC_RDY,]
Oct  5 23:08:41 leopard kernel: twa0: ERROR: (0x16: 0x1301): Missing expected 
status bit(s): status reg = 0x15025f32; Missing bits: [MC_RDY,]
Oct  5 23:08:41 leopard last message repeated 296 times
Oct  5 23:09:42 leopard kernel: twa0: ERROR: (0x05: 0x210b): Request timed 
out!:request = 0xc2425600
Oct  5 23:09:42 leopard kernel: twa0: INFO: (0x16: 0x1108): Resetting 
controller...:  
Oct  5 23:09:42 leopard kernel: twa0: INFO: (0x04: 0x005e): Cache synchronized 
after power fail: unit=0
Oct  5 23:09:42 leopard kernel: twa0: INFO: (0x04: 0x0001): Controller reset 
occurred: resets=1
Oct  5 23:09:42 leopard kernel: twa0: INFO: (0x16: 0x1107): Controller reset 
done!:  
Oct  5 23:12:59 leopard kernel: twa0: ERROR: (0x16: 0x1301): Missing expected st
atus bit(s): status reg = 0x15025d50; Missing bits: [MC_RDY,]
Oct  5 23:13:00 leopard last message repeated 379 times
Oct  5 23:13:00 leopard kernel: twa0: ERROR: (0x16: 0x1301): Missing expected 
status bit(s): status reg = 0x15025d52; Missing bits: [MC_RDY,]
Oct  5 23:46:31 leopard syslogd: kernel boot file is /boot/kernel/kernel

Please let me know who I may contact to get this debugged.
Thanks, 
Dan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Nessus no longer open source

2005-10-06 Thread Gayn Winters
One of the highest rated open source security programs, nessus, will no
longer be open source.  Quoting from an email from Renaud Deraison
<[EMAIL PROTECTED]> to [EMAIL PROTECTED],

"Nessus 3 will be available free of charge, including on the Windows  
platform, but will not be released under the GPL.

"Nessus 3 will be available for many platforms, but do understand that  
we won't be able to support every distribution / operating system  
available. I also understand that some free software advocates won't  
want to use a binary-only Nessus 3. This is why Nessus 2 will  
continue to be maintained and will stay under the GPL."

I'm not sure if Nessus 3 will be supported as a FreeBSD package.

Apparently the folks at Tenable feel that they have been supporting the
open source community but have been getting little back in plug-ins and
vulnerabilities and virtually nothing back on the scanning engine for
over six years. In fact, they have been slowly tightening their
licensing (cf.
http://mail.nessus.org/pipermail/nessus/2005-January/msg00185.html), and
it would appear that they can and will continue to tighten it over time.

Fyodor's analysis
(http://seclists.org/lists/nmap-hackers/2005/Oct-Dec/.html) is that
the open source community should take heed.  He provides a list of ways
to contribute to open source software projects.  While the list is
excellent, there are no new ideas in it.  The thing that seems germane
to the FreeBSD community is that ports, even extremely popular ones, are
vulnerable, since under the GPL the AUTHOR of the code is not bound by
the same restrictions that the users are.  I'm not a lawyer, but as I
understand it, the author can create a derived work of something under
the GPL and license the derived work (a "rewrite" in the case of nessus
3) and arbitrarily restrict it.  Given Renaud's claim that no one
contributed to the scanning engine, he seems to have every right to
create a new and closed version of it.

The moral here, if there is one, is that if you really like a port, then
you should contribute to it one way or another!

Comments?

-gayn
 


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


Re: passwd file corrupted

2005-10-06 Thread Norberto Meijome

Efren Bravo wrote:

On Thu, Oct 06, 2005 at 10:31:32AM -0500, Efren Bravo wrote:


How can I check /etc/passwd file integrity because I think it is
corrupted. When I try to execute vipw efrenba or root it doesn't works.




Can you explain how vipw 'doesn't work'? What does it say? Is your
$EDITOR variable set correctly?



#vipw root  returns-> usage: vipw [-d directory]
and ...
#vipw -d /etc root  returns the same
and ...
#vipw root -d /etc  the same

#echo $EDITOR
vi


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


Re: FreeBSD Support (Commerical)

2005-10-06 Thread Kevin Kinsey

Ansar Mohammed wrote:


Does the FreeBSD project offer commercial support? I notice that the FreeBSD
mall offers commercial support.

 



It's a fine question, but it's well documented on the Project's
web site:

http://www.freebsd.org/support.html

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


Re: Nessus no longer open source

2005-10-06 Thread Kirk Strauser
On Thursday 06 October 2005 11:04, Gayn Winters wrote:

> [...] under the GPL the AUTHOR of the code is not bound by the same
> restrictions that the users are. 

I don't think that's completely true.  The author has copyright over the 
work that they themselves wrote, but it's my understanding that outside 
contributors retain copyright to the portions they wrote unless they 
explicitly sign control over to the authors.

In other words, Nessus would be completely free to remove contributed 
patches, or re-write them internally, but I don't think they're legally 
able to close-source any code they didn't write.

Much ado was made at one point about some scammer or another offering to 
"buy" Linux.  The general concensus is that this would be legally 
impossible without the permission of everyone who'd ever submitted a patch, 
unless those patches were removed.
-- 
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: Setting mount_nfs options in /etc/fstab

2005-10-06 Thread Doug Poland
On Thu, Oct 06, 2005 at 03:45:32PM +0100, Brian Candler wrote:
> I am reading large log files via NFS, and I find that if I mount them
> with mount_nfs -a 4 then performance is improved.
> 
> My question is: is there any way to set the option '-a 4' in
> /etc/fstab? Or am I forced to mount the filesystems the manual way in
> /etc/rc.local?
> 
> mount_nfs supports a number of options via -o, many of which it
> describes as "historic" and "deprecated", but they don't include
> something to set readahead as far as I can see.
> 
Here's an fstab entry of mine for an nfs mount.

fs:/data/data   nfs -3,-R=3,-b,-i,-s,-r=32768,-w=32768,rw   
0   0

Your options and milage may vary...

-- 
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-06 Thread Gary W. Swearingen
Norberto Meijome <[EMAIL PROTECTED]> writes:

> Where does HPA(Host protected Area) sit in all this? is this the
> 'boot sector' trick?

I don't know.  I just heard that some computer makers are somehow
reserving as much as half the HDD for a full copy of the OS to recover
from when the normal one trips over itself.  I'm guessing that this has
more to do with MSFT licensing terms than with saving a buck from not
including a CDROM.  I wonder if there's some low-level way to tell a
modern disk drive where you want "sector 0" to start.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD Support (Commerical)

2005-10-06 Thread Ansar Mohammed
I guess I am interested in finding out if there is support that is offered
by the FreeBSD project, not from third party vendors.

On 10/6/05, Kevin Kinsey <[EMAIL PROTECTED]> wrote:
>
> Ansar Mohammed wrote:
>
> >Does the FreeBSD project offer commercial support? I notice that the
> FreeBSD
> >mall offers commercial support.
> >
> >
> >
>
> It's a fine question, but it's well documented on the Project's
> web site:
>
> http://www.freebsd.org/support.html
>
> Kevin Kinsey
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Abit AW8 / Pentium D and 3ware raid cards compatibility

2005-10-06 Thread Gerald de la Pascua
I posted a few weeks back regarding problems making the aw8 board,
work with a 3ware card 7006-2,
 the system wouldn't boot at all,
 after much discussion with 3ware they said, sorry nothing we can do,
cannot offer an alternative suggested card, so I was about to change the
mother board, infact 3ware were unaware of any motherboard which worked
with their cards, which also worked with a pentiumD chip, which to be honest
I wasn't very impressed with since pentiumD isn't that exotic technology.
 however ABIT have now issued 1.3 bios for the motherboard, (I had looked on

the site an installed 1.2 already ), With this it works fine,
 the only issue I had were some acpi errors, so I disabled acpi,
since it is a server this doesn't seem to be too much of an issue to me,
 the machine seems to run significantly faster than the old
pentium2.8single core,
it is difficult to asses the value for money of the machine, although the
pentiumD
is a similar price to the normal pentiums, the mother boards are
significantly more
expensive, however if you just want good performance and you don't mind
spending
a hundred pounds or so more, I would say its definitely worth it,
 I hope this is of some help to other users, if you would like clarification
on anything,
I am happy to give more info,
 kind regards,
 Gerald
___
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-06 Thread Andrew P.
On 10/6/05, Gary W. Swearingen <[EMAIL PROTECTED]> wrote:
> Norberto Meijome <[EMAIL PROTECTED]> writes:
>
> > Where does HPA(Host protected Area) sit in all this? is this the
> > 'boot sector' trick?
>
> I don't know.  I just heard that some computer makers are somehow
> reserving as much as half the HDD for a full copy of the OS to recover
> from when the normal one trips over itself.

It's all on the BIOS/partitioning level anyway. FreeBSD
won't be too shy to look into both parts of the hard
drive. These "protection" measures are always more
or less security through obscurity. Which is somewhat
effective, but never long-lasting.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Realtek High Definition Soundcard

2005-10-06 Thread Jakob Breivik Grimstveit
Berk Gulenler wrote on Thu, 06 Oct 2005 17:01:

> Is there any way to install Realtek high definition soundcard? I try the 
> open sound system program(lastest version). But it doesnt work.

What didn't work? It's impossible to help unless you provide more information
than this...

-- 
Jakob Breivik Grimstveit, , 48298152
Besøk Newsergalleriet: 

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


Re: FreeBSD Support (Commerical)

2005-10-06 Thread Andrew P.
On 10/6/05, Ansar Mohammed <[EMAIL PROTECTED]> wrote:
> I guess I am interested in finding out if there is support that is offered
> by the FreeBSD project, not from third party vendors.

FreeBSD offers non-commercial support through
mailing-lists and doc-project (FAQs and Handbooks)
which is probably the most comprehensive,
active and effective support there is.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: md device backing files on nfs mounts?

2005-10-06 Thread Lowell Gilbert
"Chad Leigh -- Shire.Net LLC" <[EMAIL PROTECTED]> writes:

> 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

How do you get the NFS mount before you have a root?
Also, I suspect the permissions might be a little tricky...

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


burning multisession cd's and bootable windows isos

2005-10-06 Thread Dave

Hello,
I've got two questions on burning cdr/cdrw disks. I'm using freebsd 5.4-p6 
and using cdrtools for cdr/rw and dvd+rw-tools for dvdr/rw burning.
   My first question has to do with multisession disk burning, burn some, 
take it out, go back later and write more to the disk until it's full. I've 
not been able to make this work with either cd's or dvd's and would 
appreciate a tutorial or howto on multisession burning.
   My second question regards burning a windows xp disk under bsd. I've got 
one, a vanilla xp pro disk and i want to slipstream it. I copy the files 
from the disk to my windows hard disk, slipstream them with servicepack two 
plus some additional hardware drivers, now i've got an xpsp2+drivers 
installation tree. I copy that over to a network share, log on to my bsd 
machine, and i have no idea on how to use mkisofs to make a bootable iso to 
burn to disk. I've tried just making an iso of the installtree and burning 
that with cdrecord, made some coasters that's about it. My goal is to have a 
bootable disk thag acts just like the original vanilla xp disk, boots right 
in to the install and so forth.

   Any help appreciated.
Thanks.
Dave.

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


Re: FreeBSD Support (Commerical)

2005-10-06 Thread Christian Kuhtz


Yeah, but also the most irrelevant when it comes to supply chain folk.

On Oct 6, 2005, at 12:45 PM, Andrew P. wrote:


On 10/6/05, Ansar Mohammed <[EMAIL PROTECTED]> wrote:

I guess I am interested in finding out if there is support that is  
offered

by the FreeBSD project, not from third party vendors.



FreeBSD offers non-commercial support through
mailing-lists and doc-project (FAQs and Handbooks)
which is probably the most comprehensive,
active and effective support there is.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions- 
[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: md device backing files on nfs mounts?

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


On Oct 6, 2005, at 10:51 AM, Lowell Gilbert wrote:


"Chad Leigh -- Shire.Net LLC" <[EMAIL PROTECTED]> writes:



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



How do you get the NFS mount before you have a root?


Just the jails would be on md devices on the nfs mounted  
filesystem.   Ie, main computer boots normally, mounts nfs  
filesystem, then mounts  md devices backed by files on the nfs  
fielsystem


Chad


Also, I suspect the permissions might be a little tricky...

Some kind of netbooting might work.



---
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: burning multisession cd's and bootable windows isos

2005-10-06 Thread Lowell Gilbert
"Dave" <[EMAIL PROTECTED]> writes:

> Hello,
> I've got two questions on burning cdr/cdrw disks. I'm using freebsd
> 5.4-p6 and using cdrtools for cdr/rw and dvd+rw-tools for dvdr/rw
> burning.
> My first question has to do with multisession disk burning, burn
> some, take it out, go back later and write more to the disk until it's
> full. I've not been able to make this work with either cd's or dvd's
> and would appreciate a tutorial or howto on multisession burning.

>From my crib sheet:

  for cdrecord: 

  dv=/dev/acd0
  export CDR_DEVICE=1,0,0
  filenames=be-well.`date "+%y%m%d"`*

  # first session
  mkisofs -R $filenames |cdrecord -v driveropts=burnfree -multi -data -tao -

  #other sessions
  OFST=`cdrecord -msinfo`
  echo $OFST
  mkisofs -M $dv -C $OFST -R $filenames |cdrecord -v driveropts=burnfree -tao 
-multi -data - 

Season to taste.


> My second question regards burning a windows xp disk under
> bsd. I've got one, a vanilla xp pro disk and i want to slipstream
> it. I copy the files from the disk to my windows hard disk, slipstream
> them with servicepack two plus some additional hardware drivers, now
> i've got an xpsp2+drivers installation tree. I copy that over to a
> network share, log on to my bsd machine, and i have no idea on how to
> use mkisofs to make a bootable iso to burn to disk. I've tried just
> making an iso of the installtree and burning that with cdrecord, made
> some coasters that's about it. My goal is to have a bootable disk thag
> acts just like the original vanilla xp disk, boots right in to the
> install and so forth.

Have you tried just copying the filesystem image, instead of the
files?  [But make sure you get all of the tracks, if there are more
than one.]


___
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-06 Thread Jerry McAllister
> 
> Norberto Meijome <[EMAIL PROTECTED]> writes:
> 
> > Where does HPA(Host protected Area) sit in all this? is this the
> > 'boot sector' trick?
> 
> I don't know.  I just heard that some computer makers are somehow
> reserving as much as half the HDD for a full copy of the OS to recover
> from when the normal one trips over itself.  I'm guessing that this has
> more to do with MSFT licensing terms than with saving a buck from not
> including a CDROM.  I wonder if there's some low-level way to tell a
> modern disk drive where you want "sector 0" to start.

Manufacturers put all sorts of stuff in areas on the disk that 
will not normally show up if you are booting an MS system.  But those
areas are just disk outside the current slice to FreeBSD.  An example
is Dell makes a bootable diagnostic section on its disks.   It will
only normally boot when you choose run diagnostics during boot.  But
if you create a "dual" booted machine with FreeBSD, then to FreeBSD it 
is just slice 1, XP is slice 2 and FreeBSd is slice 3.  The FreeBSD MBR
recognizes it and lists 1 - ???,  2 - DOS,  3 - FreeBSD at boot time.
If the "reserved" slice was not bootable, I don't think it would
mention it in the boot menu, but it would still be just plain disk
in another slice to FreeBSD. 

As others have mentioned, some have tried to make special drivers
that do funny things like half-stepping the heads or accessing
the replacement sector area.   But, the same type of software could
be written to access it and if FreeBSD were installed, it would ignore
that stuff unless some driver was created and installed to access it.
So, it wouldn't make much of a protection scheme.

As for moving sector 0, I don't know.  It would probably have to
be something in the controller, but???

jerry

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

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


re: Enabling cgi scripts in apache

2005-10-06 Thread Garrett Cooper

On Oct 5, 2005, at 9:41 PM, Glenn Dawson wrote:



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



Ah, yes... should have explained more in that regard.
The server serves the file exacting as written and doesn't  
display the result that I want on the server (which is the script  
doing something for that matter).
All that I have really changed from the defaults is the  
AddHandler section, so Apache just doesn't know how to serve CGI  
files, although mod-cgi is loaded properly I think.
Just go to http://wongle.mine.nu for the script since it's a  
part of the main page.

-Garrett

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


Re: FreeBSD Support (Commerical)

2005-10-06 Thread Foo JH
> FreeBSD offers non-commercial support through
> mailing-lists and doc-project (FAQs and Handbooks)
> which is probably the most comprehensive,
> active and effective support there is.
It's a blame game as much as it is a genuine need for commercial help. As
much as mailing lists and community support are strong and effective, that's
not the kind of comfort level that corporates are going for, especially if
they are betting their million-dollar product/ server on it.

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


RE: Here's the proof.

2005-10-06 Thread Joshua Weaver
 [mailer daemon - original message truncated]

It appears you are right. I guess the Gates foundation does have a
controlling interest in FreeBSD. I wonder what direction Microsoft will take
when the complete the merger?

-Josh

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


Re: FreeBSD Support (Commerical)

2005-10-06 Thread Jerry McAllister
> 
> I guess I am interested in finding out if there is support that is offered
> by the FreeBSD project, not from third party vendors.

Basically FreeBSD support is what you see on the web page.
In some sense, you could say that all of FreeBSD- development 
and support - is by third party sources or maybe that all third
party contributers are part of the FreeBSD project at some level.

In other words, development in FreeBSD land comes from those who
use it to provide services - of any kind including supporting
other's use of it for hire.

But, no, the FreeBSD project per se does not offer commercial support.

jerry

> 
> On 10/6/05, Kevin Kinsey <[EMAIL PROTECTED]> wrote:
> >
> > Ansar Mohammed wrote:
> >
> > >Does the FreeBSD project offer commercial support? I notice that the
> > FreeBSD
> > >mall offers commercial support.
> > >
> > >
> > >
> >
> > It's a fine question, but it's well documented on the Project's
> > web site:
> >
> > http://www.freebsd.org/support.html
> >
> > Kevin Kinsey
> >
> ___
> 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: xine / kaffeine core dumps with bus error

2005-10-06 Thread Tijl Coosemans
On Wednesday 05 October 2005 01:45, Ian Moore wrote:
> On Wednesday 05 October 2005 00:44, Brian John wrote:
> > I think I'm having a similar problem with totem (which uses xine)
> > and vlc. Can you try installing /usr/ports/multimedia/vlc and see
> > what that does? If that gives a bus error as well then I think we
> > might have the same issue.  I haven't been able to find a solution
> > to this yet...
>
> Yep, vlc gives a bus error too. Looks like we have the same problem!

I don't know what the exact problem is, but the bus error occurs when 
loading "/usr/X11R6/lib/xine/plugins/1.1.0/xineplug_dmx_audio.so". When 
you remove that file or rename it such that there's no longer ".so" in 
the file name, then xine should work.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD Support (Commerical)

2005-10-06 Thread Kris Kennaway
On Thu, Oct 06, 2005 at 12:10:58PM -0400, Ansar Mohammed wrote:
> I guess I am interested in finding out if there is support that is offered
> by the FreeBSD project, not from third party vendors.

Not commercial support, since FreeBSD isn't a commercial project.

Kris


pgpOutCgq3qeA.pgp
Description: PGP signature


Re: burning multisession cd's and bootable windows isos

2005-10-06 Thread Dave

Hi,
   Thanks for your reply. I will give your crib sheet a go and if it is as 
good as it sounds i will like it! Do you have any other info along those 
lines, not necessarily on that subject but fast tips like that? If so i'd be 
interested.
   When you say grab all the tracks do you mean use dd when burning? 
Currently i use windows copy to get everything, i've got hidden files and os 
files turned on so i get all the files, i have never tried it using unix for 
the copy, then hooking up to the share crossnetwork, doing the work, and 
then burning, do you know anyone who has done this, i'd like not to make a 
deaddisk if i can help it.

Thanks.
Dave.

- Original Message - 
From: "Lowell Gilbert" <[EMAIL PROTECTED]>

To: "Dave" <[EMAIL PROTECTED]>
Cc: 
Sent: Thursday, October 06, 2005 1:00 PM
Subject: Re: burning multisession cd's and bootable windows isos



"Dave" <[EMAIL PROTECTED]> writes:


Hello,
I've got two questions on burning cdr/cdrw disks. I'm using freebsd
5.4-p6 and using cdrtools for cdr/rw and dvd+rw-tools for dvdr/rw
burning.
My first question has to do with multisession disk burning, burn
some, take it out, go back later and write more to the disk until it's
full. I've not been able to make this work with either cd's or dvd's
and would appreciate a tutorial or howto on multisession burning.


From my crib sheet:

 for cdrecord:

 dv=/dev/acd0
 export CDR_DEVICE=1,0,0
 filenames=be-well.`date "+%y%m%d"`*

 # first session
 mkisofs -R $filenames |cdrecord -v 
driveropts=burnfree -multi -data -tao -


 #other sessions
 OFST=`cdrecord -msinfo`
 echo $OFST
 mkisofs -M $dv -C $OFST -R $filenames |cdrecord -v 
driveropts=burnfree -tao -multi -data -


Season to taste.



My second question regards burning a windows xp disk under
bsd. I've got one, a vanilla xp pro disk and i want to slipstream
it. I copy the files from the disk to my windows hard disk, slipstream
them with servicepack two plus some additional hardware drivers, now
i've got an xpsp2+drivers installation tree. I copy that over to a
network share, log on to my bsd machine, and i have no idea on how to
use mkisofs to make a bootable iso to burn to disk. I've tried just
making an iso of the installtree and burning that with cdrecord, made
some coasters that's about it. My goal is to have a bootable disk thag
acts just like the original vanilla xp disk, boots right in to the
install and so forth.


Have you tried just copying the filesystem image, instead of the
files?  [But make sure you get all of the tracks, if there are more
than one.]




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


Re: md device backing files on nfs mounts?

2005-10-06 Thread Lowell Gilbert
"Chad Leigh -- Shire.Net LLC" <[EMAIL PROTECTED]> writes:

> On Oct 6, 2005, at 10:51 AM, Lowell Gilbert wrote:
> 
> > "Chad Leigh -- Shire.Net LLC" <[EMAIL PROTECTED]> writes:
> >
> >
> >> 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
> >>
> >
> > How do you get the NFS mount before you have a root?
> 
> Just the jails would be on md devices on the nfs mounted  filesystem.
> Ie, main computer boots normally, mounts nfs  filesystem, then mounts
> md devices backed by files on the nfs  fielsystem

Yes, okay, that seems obvious now.  Maybe I need more caffeine.

I just tried it without the jails and was able to mount and use the
filesystem.  The permissions *are* a little tricky, because root is
(as usual) mapped to nobody on my NFS mounts, and needs write access
on the backing file.

I did the procedure from the last example in the mdconfig(8) manual,
and it worked just like on a local disk.  There might have been some
anomalies with the output of ls(1), but I can't reproduce those now.

You might want to try measuring performance if you implement this; it
could have some strange interactions with VM and buffering.

Clever idea, by the way.

> 
> Chad
> 
> > Also, I suspect the permissions might be a little tricky...
> >
> > Some kind of netbooting might work.

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


Re: burning multisession cd's and bootable windows isos

2005-10-06 Thread Lowell Gilbert
"Dave" <[EMAIL PROTECTED]> writes:

> Thanks for your reply. I will give your crib sheet a go and if it
> is as good as it sounds i will like it! Do you have any other info
> along those lines, not necessarily on that subject but fast tips like
> that? If so i'd be interested.

The official FreeBSD documentation is excellent, and includes a
section (in the FreeBSD Handbook) on how to duplicate a CD-ROM.  

http://be-well.ilk.org/FreeBSD/doc/en_US.ISO8859-1/books/handbook/creating-cds.html#IMAGING-CD

My crib sheet was really only for my own use, so it assumes my shell.
csh-type shells would need slightly different syntax.

I have some other tricks of my own, on my web site at
 < http://be-well.ilk.org/~lowell/systuff/ >

> When you say grab all the tracks do you mean use dd when burning?

I did mean that.  But I'm not sure it's necessary; using the raw disk
device *should* get all of the data on the disk.

> Currently i use windows copy to get everything, i've got hidden files
> and os files turned on so i get all the files, i have never tried it

For a bootable CD, getting all of the files isn't enough.  Some of the
data you need isn't in a file on the CD filesystem.

> using unix for the copy, then hooking up to the share crossnetwork,
> doing the work, and then burning, do you know anyone who has done
> this, i'd like not to make a deaddisk if i can help it.

I recommend using CD-RW disks when experimenting, and then you don't
worry about wasting the burn.  Or just buy enough super-cheapie blanks
that you don't worry about wasting them.

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


Re: Here's the proof.

2005-10-06 Thread Bob Ababurko

Joshua Weaver wrote:

 [mailer daemon - original message truncated]

It appears you are right. I guess the Gates foundation does have a
controlling interest in FreeBSD. I wonder what direction Microsoft will take
when the complete the merger?

-Josh

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



What is this and where are the other mails to this thread?
___
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-06 Thread Bob Johnson
On 10/5/05, Alex de Kruijff <[EMAIL PROTECTED]> 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
[...]
> > 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
>

Thanks, I'll try that.  I had overlooked the count option when I was
reading the man pages.

>
> Howto's based on my ppersonal use, including information about
> setting up a firewall and creating traffic graphs with MRTG
> http://www.kruijff.org/alex/FreeBSD/
>

And I will look over your tutorial as well.  Thanks!

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


Openoffice 1.1.5 compile failure

2005-10-06 Thread Robert K. Day
I'm trying to compile the latest version of OpenOffice from ports,
through portupgrade -Rra, but it fails. I'm using the options
WITHOUT_MOZILLA and WITHOUT_JAVA. Here's the part of the build that
fails:

-+ creating locale dependent resource bundles
mkdir -p ../../unxfbsd.pro/misc/registry/res/de/org/openoffice/
/usr/local/bin/xsltproc -o ../../unxfbsd.pro/misc/registry/res/de/org/openoffice
/Inet.properties \
--stringparam locale de \
../../util/resource.xsl org/openoffice/Inet.xcs
XPath error : Undefined variable
compilation error: file ../../util/resource.xsl line 87 element template
Failed to compile predicate
XPath error : Undefined variable
compilation error: file ../../util/resource.xsl line 87 element template
Failed to compile predicate
dmake:  Error code 5, while making '../../unxfbsd.pro/misc/registry/res/de/org/o
penoffice/Inet.properties'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice.org-1.1/w
ork/OOo_1.1.5/officecfg/registry/schema
dmake:  Error code 1, while making 'build_all'
---* TG_SLO.MK *---
*** Error code 255

I'm not sure exactly what the error is, but it mentions Inet -
internet? Is this linked to the use of WITHOUT_MOZILLA?

Any help is appreciated,
Robert
___
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-06 Thread Bob Johnson
On 10/5/05, jmulkerin <[EMAIL PROTECTED]> wrote:
> 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...)
>

Thanks, I'll look at Guardian.  I had not planned to get that
sophisticated about it, but even if I don't use it on this system, I
have others where it may be just what I need.

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


Re: Here's the proof.

2005-10-06 Thread Mike Hernandez
On 10/6/05, Bob Ababurko <[EMAIL PROTECTED]> wrote:
> What is this and where are the other mails to this thread?


Smells like classic trolling to me


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


Restoring Data from a DD image

2005-10-06 Thread Bill Schmitt (SW)
I've just replaced a hard disk that was dying fast. I've done a full 
installation of 4.9 (later releases won't install, which I've submitted 
a problem report on already). The old disk is connected but not mounted. 
Searching around, I found some suggestions to try to read the old disk 
to restore what I can and I used dd to copy what could be found (dd 
-if=/dev/ad0s1e of=/usr/olddsk/oldimag.dmg conv=noerror,sync) and it 
seems to have copied the file. Now, I'm a little stuck. Can someone help 
me understand how do I mount that image somewhere to browse it and copy 
what I can from it? If I'm not going about this the right way, I'd 
appreciate other suggestions



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


Re: passwd file corrupted

2005-10-06 Thread Gary W. Swearingen
"Efren Bravo" <[EMAIL PROTECTED]> writes:

> #vipw root  returns-> usage: vipw [-d directory]

See that "usage" msg?  Compare it with your commands.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


  1   2   >