Error compiling kdebase-3.5.2

2006-04-01 Thread ganael.laplanche
Hi all,

I'm running FreeBSD 6.1-PRERELEASE #0 on an AMD64 machine. I'm trying to update
kde to 3.5.2 and getting this error :

if /bin/sh /usr/local/bin/libtool --silent --tag=CXX --mode=compile c++
-DHAVE_CONFIG_H -I. -I. -I.. -I../libkonq -I../kcontrol/input
-I/usr/local/include -I/usr/X11R6/include  -I/usr/local/include
-D_LARGEFILE64_SOURCE -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT  
-I/usr/local/include -I/usr/local/include  -I/usr/X11R6/include -D_GETOPT_H
-D_THREAD_SAFE   -Wno-long-long -Wundef -Wall -W -Wpointer-arith -DNDEBUG
-DNO_DEBUG -O2 -O -pipe -Wno-non-virtual-dtor -fno-exceptions -fno-check-new
-fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION -D_GNU_SOURCE  -MT konq_run.lo -MD -MP -MF
.deps/konq_run.Tpo -c -o konq_run.lo konq_run.cc; \
then mv -f .deps/konq_run.Tpo .deps/konq_run.Plo; else rm -f
.deps/konq_run.Tpo; exit 1; fi
konq_run.cc: In member function `virtual void KonqRun::foundMimeType(const
QString)':
konq_run.cc:84: error: `serverSuggestsSave' undeclared (first use this function)
konq_run.cc:84: error: (Each undeclared identifier is reported only once for
each function it appears in.)
gmake[3]: *** [konq_run.lo] Error 1

Does someone get the same error ? Any idea ?

Ganaël LAPLANCHE
[EMAIL PROTECTED]
http://www.martymac.com
Tel : (+33)6.84.03.57.24.

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


Re: Sendmail Patch Question

2006-04-01 Thread Chuck Swiger
Sean Murphy wrote:
[ ... ]
 Ok I just did the make restart.  Everything is good but the version
 number did not change.  How do I know the patch was applied?  Is there
 some command I can use to check?

Running sendmail -d0.1 ought to tell you the exact version of the sendmail
binary.  Because the patch doesn't update the version #, however, I don't think
you will have a way to tell whether the patch has actually been applied 
correctly.

Consider sending a polite request to the security team about this matter.

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


Re: Is ALTQ part of 6.0 base system

2006-04-01 Thread RW
On Thursday 30 March 2006 16:42, fbsd_user wrote:
  Can ALTQ support be compiled into a custom kernel and be
  used stand-a-lone?

 They can be used in anything which is compiled to use them, yes.

 Then if what you say is true, there would be man pages in the
 base system for using ALTQ stand-a-lone and there are none.

Using ALTQ with ipfw is covered in ipfw(8)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Hard Disk problems

2006-04-01 Thread Shane Ambler
A few days ago I started getting some disk errors and can't seem to find a
reference to find a way to fix them (other than the obvious re-format)


The daily security run output contains the following (abbreviated)

Checking setuid files and devices:
find: /usr/ports/databases/db43/work/db-4.3.28/db: Input/output error
find: /usr/ports/devel/git/Makefile: Input/output error

~ repeated 32 times for different files (thankfully all in the ports tree)

tower.home.com kernel log messages:
 ad0: FAILURE - READ_DMA status=51READY,DSC,ERROR
error=40UNCORRECTABLE LBA=139102367
 ad0: FAILURE - READ_DMA status=51READY,DSC,ERROR
error=1ILLEGAL_LENGTH LBA=139102367

These 2 error codes are repeated a total of 38 times all with the same LBA

If I start in single user mode and do fsck it takes about half an hour to
get through and repeats similar errors many times for just about every check
it does.

Running #fsck -y  fsckout (while in multiuser mode) is as follows -
followed by dmesg output since boot

 cat fsckout 
** /dev/ad0s1a (NO WRITE)
** Last Mounted on /
** Root file system
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
2259 files, 44188 used, 82651 free (251 frags, 10300 blocks, 0.2%
fragmentation)
** /dev/ad0s1e (NO WRITE)
** Last Mounted on /tmp
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
591 files, 4501 used, 122338 free (242 frags, 15262 blocks, 0.2%
fragmentation)
** /dev/ad0s1f (NO WRITE)
** Last Mounted on /usr
** Phase 1 - Check Blocks and Sizes

CANNOT READ BLK: 135486944
UNEXPECTED SOFT UPDATE INCONSISTENCY

CONTINUE? yes

THE FOLLOWING DISK SECTORS COULD NOT BE READ: 135486944, 135486945,
135486946, 135486947, 135486948, 135486949, 135486950, 135486951, 135486952,
135486953, 135486954, 135486955, 135486956, 135486957, 135486958, 135486959,
135486960, 135486961, 135486962, 135486963, 135486964, 135486965, 135486966,
135486967, 135486968, 135486969, 135486970,
** Phase 2 - Check Pathnames
UNALLOCATED  I=5049385  OWNER=squid MODE=100600
SIZE=15032 MTIME=Apr  1 21:07 2006
FILE=/local/squid/cache/00/26/26C2

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? no

UNALLOCATED  I=5049875  OWNER=squid MODE=100600
SIZE=10825 MTIME=Apr  1 21:07 2006
FILE=/local/squid/cache/00/26/26CA

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? no

UNALLOCATED  I=5049896  OWNER=squid MODE=100600
SIZE=15008 MTIME=Apr  1 21:07 2006
FILE=/local/squid/cache/00/26/26D1

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? no

** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
LINK COUNT FILE I=5740857  OWNER=squid MODE=0
SIZE=0 MTIME=Apr  1 21:09 2006  COUNT 0 SHOULD BE -1
ADJUST? no

LINK COUNT FILE I=5792561  OWNER=squid MODE=0
SIZE=0 MTIME=Apr  1 21:07 2006  COUNT 0 SHOULD BE -1
ADJUST? no

LINK COUNT FILE I=5875155  OWNER=squid MODE=0
SIZE=0 MTIME=Apr  1 21:09 2006  COUNT 0 SHOULD BE -1
ADJUST? no

LINK COUNT FILE I=5970461  OWNER=squid MODE=0
SIZE=0 MTIME=Apr  1 21:09 2006  COUNT 0 SHOULD BE -1
ADJUST? no

** Phase 5 - Check Cyl groups
SUMMARY INFORMATION BAD
SALVAGE? no

ALLOCATED FRAGS 1936880-1936911 MARKED FREE
ALLOCATED FRAGS 1936976-1936983 MARKED FREE
BLK(S) MISSING IN BIT MAPS
SALVAGE? no

ALLOCATED FILE 5740857 MARKED FREE
ALLOCATED FRAG 22922007 MARKED FREE
ALLOCATED FILE 5792561 MARKED FREE
ALLOCATED FILE 5856663 MARKED FREE
ALLOCATED FILE 5875155 MARKED FREE
ALLOCATED FRAG 23448111 MARKED FREE
ALLOCATED FILE 5970461 MARKED FREE
ALLOCATED FRAG 23889647 MARKED FREE
ALLOCATED FILE 6077762 MARKED FREE
ALLOCATED FRAG 24353503 MARKED FREE
ALLOCATED FRAGS 26021808-26021813 MARKED FREE
ALLOCATED FRAGS 26301688-26301690 MARKED FREE
1534559 files, 15746410 used, 21222026 free (2172530 frags, 2381187 blocks,
5.9% fragmentation)
** /dev/ad0s1d (NO WRITE)
** Last Mounted on /var
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
UNREF FILE I=8278  OWNER=mysql MODE=100600
SIZE=0 MTIME=Apr  1 19:13 2006
CLEAR? no

UNREF FILE I=8301  OWNER=mysql MODE=100600
SIZE=0 MTIME=Apr  1 19:13 2006
CLEAR? no

UNREF FILE I=8306  OWNER=mysql MODE=100600
SIZE=0 MTIME=Apr  1 19:13 2006
CLEAR? no

UNREF FILE I=25696  OWNER=root MODE=140666
SIZE=0 MTIME=Apr  1 19:13 2006
CLEAR? no

** Phase 5 - Check Cyl groups
3681 files, 59732 used, 67107 free (1275 frags, 8229 blocks, 1.0%
fragmentation)

 cat dmesg output
ad0: FAILURE - READ_DMA status=51READY,DSC,ERROR error=1ILLEGAL_LENGTH
LBA=139102367
ad0: FAILURE - READ_DMA status=51READY,DSC,ERROR error=40UNCORRECTABLE
LBA=139102368
ad0: FAILURE - READ_DMA status=51READY,DSC,ERROR error=1ILLEGAL_LENGTH
LBA=139102369
ad0: FAILURE - READ_DMA status=51READY,DSC,ERROR error=1ILLEGAL_LENGTH
LBA=139102370
ad0: FAILURE - READ_DMA status=51READY,DSC,ERROR error=1ILLEGAL_LENGTH

How to upgrade samba version to 3.0.22

2006-04-01 Thread Jeffrey
Hi,

I am using FreeBSD 6 and install samba from ports collection 
/usr/ports/net/samba3. The make install download and install samba 3.0.14a. I 
noticed samba has new version 3.0.22. How can I instal the new verion?

Thanks,

Jeffrey
___
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 upgrade samba version to 3.0.22

2006-04-01 Thread Richard Collyer

Jeffrey wrote:

Hi,

I am using FreeBSD 6 and install samba from ports collection /usr/ports/net/samba3. The 
make install download and install samba 3.0.14a. I noticed samba has new 
version 3.0.22. How can I instal the new verion?

Thanks,

Jeffrey


cd /user/ports/net/samba3  make clean  make  make deinstall  
make reinstall


The cautious way of doing it. I've always like to ensure something is 
going to make before deinstalling the old version


Richard
___
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 upgrade samba version to 3.0.22

2006-04-01 Thread Chuck Swiger
Jeffrey wrote:
 I am using FreeBSD 6 and install samba from ports collection
 /usr/ports/net/samba3. The make install download and install samba 3.0.14a. 
 I
 noticed samba has new version 3.0.22. How can I instal the new verion?

You need to update your ports tree, then (re)install Samba.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html

-- 
-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 upgrade samba version to 3.0.22

2006-04-01 Thread Richard Collyer

Richard Collyer wrote:

Jeffrey wrote:

Hi,

I am using FreeBSD 6 and install samba from ports collection 
/usr/ports/net/samba3. The make install download and install samba 
3.0.14a. I noticed samba has new version 3.0.22. How can I instal the 
new verion?


Thanks,

Jeffrey


cd /user/ports/net/samba3  make clean  make  make deinstall  
make reinstall


The cautious way of doing it. I've always like to ensure something is 
going to make before deinstalling the old version


Richard


Bleh...I'm having a mind fart today. Also make sure your ports are up to 
date.


Look for cvsup in the list archives or google.

___
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 upgrade samba version to 3.0.22

2006-04-01 Thread P.U.Kruppa

On Sat, 1 Apr 2006, Jeffrey wrote:


Hi,
I am using FreeBSD 6 and install samba from ports collection 
/usr/ports/net/samba3. The make install download and install 
samba 3.0.14a. I noticed samba has new version 3.0.22. How can 
I instal the new verion?

Depends on how adventurous you are:
  Either you wait for the FreeBSD 6.1 RELEASE - which will at
  least ship with 3.0.21b
  or you learn how to install and run STABLE, see 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html


I guess you will prefer the latter - else you wouldn't care 
asking for such a minimal update :-)


Good Luck,

Uli.



Thanks,

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






*
* 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 to upgrade samba version to 3.0.22

2006-04-01 Thread Gerard Seibert
Jeffrey wrote:

 Hi,

 I am using FreeBSD 6 and install samba from ports collection
 /usr/ports/net/samba3. The make install download and install samba
 3.0.14a. I noticed samba has new version 3.0.22. How can I instal the
 new verion?

 Thanks,

 Jeffrey

There are many different ways to accomplish that feat. To update Samba 
plus all of its prerequisites, etc., first update your ports 
collection. If you need help with that task, just ask.

Next, install portmanager '/usr/ports/sysutils/portmanager' and then run 
it as follows (as root obviously):

portmanager net/samba3 -l -f

That should take care of your problems as well as creating a log file 
in '/var/log' that you can inspect later if you so desire. You could 
omit the 'f' switch if you desire. It forces all of the dependencies to 
be rebuilt if required.

You might also want to consider just using this syntax:

portmanager -u -l -y -f

It will update all installed ports on your system in the correct order 
and with the proper dependencies.

HTH

-- 
Gerard Seibert
[EMAIL PROTECTED]

PGP: http://www.seibercom.net/sig/gerard.asc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Video on webservers

2006-04-01 Thread Darryl Hoar
snip

 Darryl Hoar [EMAIL PROTECTED] wrote:

  Greetings,
  I have my own freebsd box that is a webserver (running apache).
  My wife has a family oriented website on this server.  She
 has videos
  that she has taken with dvd camcorder.  She used Ulead on her
  windows machine to create mpg files but 6 minutes generates 200MB
  files.
 
  What is a good technique to provide video's on a website ?

 Putting it on the webserver.

 However, I expect that there's another, hidden question here.  What is
 the problem that you're having?  Perhaps I'm slow today, but it seems
 like you're saying: I'm going to do this, is that OK?  If that's the
 case, then the answer is yes.

 --
 Bill Moran
 Potential Technologies
 http://www.potentialtech.com

What I mean is that the video files she is generating from the dvd camcorder
are huge for just a few minutes of video.  Since these files are huge, you
can't realistically view them from the links on the webserver.

Since I am not a video guy, I was wondering if there was a better method to
provide these videos from our webserver.

Is streaming video the way to go?  Or some variation of what I have tried ?

I know it can be done as I view video from websites all the time.

Thanks for any ideas ,
Darryl


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


cvs over SSH using nonstandard port

2006-04-01 Thread Troy
Recently I changed the port that SSH was listening on to a non-standard
port. I access my cvs repository using SSH but need to point it to the
non-standard port. In my .cshrc file I have these settings which work fine
when SSH is using port 22. 

setenv CVSROOT :ext:[EMAIL PROTECTED]:/foo/bar/cvsroot
setenv CVS_RSH ssh

I tried to add :ext:[EMAIL PROTECTED]:xxx:/foot/far/cvsroot

where the xxx was the nonstandard port but it didn't seem to like it.  How
do I get my cvsclients to use this nonstandard port?

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


Re: Oops: Deleted /var/named

2006-04-01 Thread Lowell Gilbert
daniel [EMAIL PROTECTED] writes:

 Yes, it was dumb, but while I have a backup of all of my domain info and have 
 restored it all, starting named gives me this error now:
 
   devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
   devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
   devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
 
 I can only assume that it has something to do with the files 
 in /var/named/dev/ that I have untarred there.  I tried doing a make 
 deinstall; make install in /usr/ports/dns/bind9 but that didn't create 
 anything.  What is the propper way to re-set this up?

I don't use the port, just the base system bind; so I can't guarantee
that this applies.  

Normally (on 6.x; you didn't mention, so I assume you're running the
production release) /var/named/dev is a devfs mount installed
automatically by /etc/rc.d/named at boot time. From looking at my
rc.conf file, it looks like that method is the default if you have 
named_enable set to YES.  I'm sure there's more information in the
manual for rc.conf(5).

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: cvs over SSH using nonstandard port

2006-04-01 Thread fbsd_user
change it in /etc/services

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Troy
Sent: Saturday, April 01, 2006 9:00 AM
To: freebsd-questions@freebsd.org
Subject: cvs over SSH using nonstandard port


Recently I changed the port that SSH was listening on to a
non-standard
port. I access my cvs repository using SSH but need to point it to
the
non-standard port. In my .cshrc file I have these settings which
work fine
when SSH is using port 22.

setenv CVSROOT :ext:[EMAIL PROTECTED]:/foo/bar/cvsroot
setenv CVS_RSH ssh

I tried to add :ext:[EMAIL PROTECTED]:xxx:/foot/far/cvsroot

where the xxx was the nonstandard port but it didn't seem to like
it.  How
do I get my cvsclients to use this nonstandard port?

-Troy
___
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: cvs over SSH using nonstandard port - SOLVED

2006-04-01 Thread Troy
Actually I just figured it out after posting.

I just had to edit ~/.ssh/config and put a few lines in like:

host foo.bar.com
user foobar
port 


On Sat, Apr 01, 2006 at 09:06:29AM -0500, fbsd_user wrote:
 change it in /etc/services
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Troy
 Sent: Saturday, April 01, 2006 9:00 AM
 To: freebsd-questions@freebsd.org
 Subject: cvs over SSH using nonstandard port
 
 
 Recently I changed the port that SSH was listening on to a
 non-standard
 port. I access my cvs repository using SSH but need to point it to
 the
 non-standard port. In my .cshrc file I have these settings which
 work fine
 when SSH is using port 22.
 
 setenv CVSROOT :ext:[EMAIL PROTECTED]:/foo/bar/cvsroot
 setenv CVS_RSH ssh
 
 I tried to add :ext:[EMAIL PROTECTED]:xxx:/foot/far/cvsroot
 
 where the xxx was the nonstandard port but it didn't seem to like
 it.  How
 do I get my cvsclients to use this nonstandard port?
 
 -Troy
 ___
 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: Video on webservers

2006-04-01 Thread Richard Collyer

Darryl Hoar wrote:

snip

Darryl Hoar [EMAIL PROTECTED] wrote:


Greetings,
I have my own freebsd box that is a webserver (running apache).
My wife has a family oriented website on this server.  She

has videos

that she has taken with dvd camcorder.  She used Ulead on her
windows machine to create mpg files but 6 minutes generates 200MB
files.

What is a good technique to provide video's on a website ?

Putting it on the webserver.

However, I expect that there's another, hidden question here.  What is
the problem that you're having?  Perhaps I'm slow today, but it seems
like you're saying: I'm going to do this, is that OK?  If that's the
case, then the answer is yes.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com


What I mean is that the video files she is generating from the dvd camcorder
are huge for just a few minutes of video.  Since these files are huge, you
can't realistically view them from the links on the webserver.

Since I am not a video guy, I was wondering if there was a better method to
provide these videos from our webserver.

Is streaming video the way to go?  Or some variation of what I have tried ?

I know it can be done as I view video from websites all the time.

Thanks for any ideas ,
Darryl



A lot of it depends on what the videos are encoded with? What are the 
res, bit rates and audio streams in the files.


Try using a different codec or google for video compressors.

Cheers
Richard

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


Saving in MAILDIR format with Sendmail

2006-04-01 Thread Gerard Seibert
I presently have Sendmail as my MTA. The mail in /var/mail is in MBOX 
format. I wanted to change it to MAILDIR format.

1) Is it possible for Sendmail to save in MAILBOX format directly?

2) If not, can ProcMail be used in this scenario? If so, how would I 
configure it? I Googled and noticed something about ending directory 
paths in '/' but I did not really understand what it was referring to.

3) If someone has a better solution, I would love to hear it.

-- 
Gerard Seibert
[EMAIL PROTECTED]

PGP: http://www.seibercom.net/sig/gerard.asc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


show port's deps

2006-04-01 Thread Miguel

Hi, how can i know what the dependencies are for a particular port?
i want to know in advance before install the port, is there something 
like emerge -pv in gentoo?, with this i mean a user friendly command, i 
already know that doing a make search key=xxx and look at the B-DEPS and 
R-DEPS lines you see them, but you have to search for your especific 
port among the multitud of matches, BTW, what the diference between them?

something like this would be great

# cd /usr/ports/lang/php5
# make show_deps (or similar)


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


Re: Saving in MAILDIR format with Sendmail

2006-04-01 Thread albi
On Sat, 1 Apr 2006 09:29:00 -0500
Gerard Seibert [EMAIL PROTECTED] wrote:

 I presently have Sendmail as my MTA. The mail in /var/mail is in MBOX 
 format. I wanted to change it to MAILDIR format.
 
 1) Is it possible for Sendmail to save in MAILBOX format directly?

sorry, no idea

 2) If not, can ProcMail be used in this scenario? If so, how would I 
 configure it? I Googled and noticed something about ending directory 
 paths in '/' but I did not really understand what it was referring to.

# part of my global procmailrc

VERBOSE=off
SHELL=/bin/sh
DEFAULT=$HOME/Maildir/
ORGMAIL=$HOME/Maildir/
MAILDIR=$HOME/Maildir/
PMDIR=$HOME/.procmail
LOGFILE=$PMDIR/log

the / is about other procmail-rules, e.g. :

:0
* [EMAIL PROTECTED]
.Junk/


-- 
grtjs, albi
gpg-key: lynx -dump http://scii.nl/~albi/gpg.asc | gpg --import
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


issues with ports: conflicts

2006-04-01 Thread Jim Stapleton
sorry, in my n00bness, I need to ask yet another question, a bit more serious.

I have run into several instances where there are conflicts with
ports. My current machine is an x86_64 machine, running FreeBSD 6.0

The first conflict issue that I run into a lot is that the
applications want 32 bit x86 compiles (example: open office, wine). Is
there any modification I can make to my make.conf file to fix this, do
I have to run an i386/i686 cross compiler, or does it not even matter
(the only reason for this would be that x86_64 BSD cannot run
i386-i686 binaries, which I doubt would be an issue).

The second conflict issue involves conflicting packages, such as
xemacs and emacs. I figured in this particular case, since both have a
lot of the same base, simply squashing that part of the conflict would
be ok, and if now, I could always deinstall and start over. However,
for something critical or unrelated packages, this is certainly not a
good idea. Anyone have good suggestions? Originally I considered
modifying make.conf to install to a different directory (such as
/usr/local/secondary), so that the conflicting packages wouldn't
overwrite any of the other package files, but I cannot find a variable
to change to have that effect. I know /usr/local/secondary does not
exist, I would create it with the bin, etc, lib, libexec, info, man,
share and var subdirectories.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Saving in MAILDIR format with Sendmail

2006-04-01 Thread Matthew Seaman
Gerard Seibert wrote:
 I presently have Sendmail as my MTA. The mail in /var/mail is in MBOX 
 format. I wanted to change it to MAILDIR format.
 
 1) Is it possible for Sendmail to save in MAILBOX format directly?
 
 2) If not, can ProcMail be used in this scenario? If so, how would I 
 configure it? I Googled and noticed something about ending directory 
 paths in '/' but I did not really understand what it was referring to.
 
 3) If someone has a better solution, I would love to hear it.

It's not actually sendmail that saves the messages on final delivery,
but the local mail delivery process that sendmail hands the message off to.

By default that is mail.local(8) which only supports the Berkeley mbox
format.  So in order to make sendmail deliver e-mails Maildir style, you
will need to substitute a different local delivery agent.  procmail(1) is
a possibility, as it handles both mbox and Maildir formats.

To make procmail the default delivery agent, add

FEATURE(local_procmail)dnl

to your /etc/mail/`hostname`.mc file and generate and install a new
sendmail.cf in the usual way[1].

Now you can set up a ${HOME}/.procmailrc for each e-mail user specifying
delivery to a Maildir setup by default:

   :0
   /var/mail/username/

(Procmail assumes Maildir format if the mailbox name ends in a trailing
'/' character, indicating that it is actually a directory rather than a
plain file.)

Remember to create the directories and set ownership and permissions
first.  It might be better to deliver the mail to somewhere under each
user's home directory rather than under /var/mail.  Undoubtedly there will
be a method of making that style of delivery the default without having to
have individual .procmailrc files in each user account, but that you'll
have to google for.

Cheers,

Matthew

[1] cd /etc/mail ; make  make install  make restart

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


freebsd + usb irda

2006-04-01 Thread Tofik Suleymanov

Hello,

is there any success story of using freebsd 6.x and usb irda ?
How can i manage it to work ?

Below goes /var/log/messages snippet when i connect my irda port to usb:

Apr  1 15:38:26 paranoia kernel: ugen0: vendor 0x9710 product 0x7780, 
rev 1.10/0.01, addr 2


Is there some special driver in kernel or standart usb's ugen is ok ?

Any advice will be helpfull.




Tofik Suleymanov.

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


Re: show port's deps

2006-04-01 Thread Eric Schuele

Miguel wrote:

Hi, how can i know what the dependencies are for a particular port?
i want to know in advance before install the port, is there something 
like emerge -pv in gentoo?, with this i mean a user friendly command, i 
already know that doing a make search key=xxx and look at the B-DEPS and 
R-DEPS lines you see them, but you have to search for your especific 
port among the multitud of matches, BTW, what the diference between them?

something like this would be great

# cd /usr/ports/lang/php5
# make show_deps (or similar)



try:
# make pretty-print-run-depends-list
   - or -
# make pretty-print-build-depends-list

HTH



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





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


freebsd rocks

2006-04-01 Thread Michael P. Soulier
People,

I've been using Linux for some time, and decided to try out FreeBSD on my home
server. I would like to thank all contributors for the quality of the product,
and the community. My questions have always been answered helpfully. Out of
the box, the server reports its health to me regularly and those reports are
easy to extend. For a Unix hacker like myself, the environment is wonderful,
and easy to maintain. 

I'm not pleased with the direction that much of Linux is taking. Daemons
managing files traditionally managed by people. Help stored in man, info, html
and God knows what else. I could go on but I'm sure you know well already. 

On FreeBSD, my NIC driver has a manpage. Astonishing, and helpful. Not
everything is a dream, but the community is helping make me comfortable. This
is what Unix felt like when I first touched it. 

Kudos. 

Mike

-- 
Michael P. Soulier [EMAIL PROTECTED]
Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction. --Albert Einstein


pgpVG511coGAG.pgp
Description: PGP signature


2d performance issues fixed

2006-04-01 Thread Josh Paetzel
Some time ago I posted about having 2d performance issues with Xorg, 
nvidia driver, and linux-opera.  I haven't had much time lately to 
figure out what is going on but I finally found a solution/workaround 
yesterday.  

The fix was to take device agp out of the kernel and use
Option NvAGP 1 in the Xorg.conf file.

Hope this is useful to anyone else running into this issue.

-- 
Thanks,

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


Re: freebsd rocks

2006-04-01 Thread Jim Stapleton
I'd like to second this.

Oh, and it's not just the network drivers, just about everything.

And BSD has man, info, and html help too, but I actually like that.
BSD just throws so much help in your face, in such better quality,
it's nice. I got so much done with 1/10th the questions I would have
needed in linux.

And, I'm not a serious *nix administrator, just someone who has to
administrat *nix on his own machine at work. Sadly they gave me
strange looks when I thought of giving it BSD instead of Fedora...


Thank you contributors, friendly and community oriented people of this
mailing list, and all others related to making this an exceptionally
useful operating system.

-Jim



On 4/1/06, Michael P. Soulier [EMAIL PROTECTED] wrote:
 People,

 I've been using Linux for some time, and decided to try out FreeBSD on my home
 server. I would like to thank all contributors for the quality of the product,
 and the community. My questions have always been answered helpfully. Out of
 the box, the server reports its health to me regularly and those reports are
 easy to extend. For a Unix hacker like myself, the environment is wonderful,
 and easy to maintain.

 I'm not pleased with the direction that much of Linux is taking. Daemons
 managing files traditionally managed by people. Help stored in man, info, html
 and God knows what else. I could go on but I'm sure you know well already.

 On FreeBSD, my NIC driver has a manpage. Astonishing, and helpful. Not
 everything is a dream, but the community is helping make me comfortable. This
 is what Unix felt like when I first touched it.

 Kudos.

 Mike

 --
 Michael P. Soulier [EMAIL PROTECTED]
 Any intelligent fool can make things bigger and more complex... It
 takes a touch of genius - and a lot of courage to move in the opposite
 direction. --Albert Einstein



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


Re: Can FreeBSD safely use a (un-booted from) drive that is invisible to the BIOS?

2006-04-01 Thread Kevin Kinsey

Danny MacMillan wrote:


Hi,

I have a machine with the following two drives (as listed in dmesg):

ad0: 12427MB Maxtor 91303D6 GAS54A12 at ata0-master UDMA33
ad2: 76319MB Maxtor 6L080P0 BAJ41G10 at ata1-master UDMA33

ad0 is the boot drive.  It is recognized by the BIOS, obviously, and
has been in the machine for some years.  ad2 is a new drive I just
added to the machine yesterday.  It is not visible to the BIOS at all.
If anyone can posit a reason it would not be visible to the BIOS, I
would like to know the answer.  The BIOS supports LBA and ad0 is more
than 8GB so it wouldn't appear to be the 8GB limit, and the next limit
I am aware of is comfortably larger than 76GB.
 



There were quite a few BIOSes that had a 32GB limit; thus,
HD manufacturers contrived a (usually) dual-jumpered configuration
to limit the reported disk size to 32 GB for these boards.  In
my experience (which is not extensive) these would be relatively
early ATX boards (Pentium II, early K6/2's, etc.).

Kevin Kinsey

--
Sentient plasmoids are a gas.


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


quota with OWM

2006-04-01 Thread Marwan Sultan

Hello Gurus,

This problem is related to DiskQuotas and OpenWebMail package, but no one 
replied back
in OWM mailing list, I'm sending in here hope someone knows a good way to 
solve this.


I'm On FreeBSD 4.8, latest openwebmail version,(upgraded)
Openwebmail is a .pl scripts.

Lately i have enabled quota on my OS, because my users are increasing with 
time

and some of them hit 200MB!

Well i hgave setup openwebmail to read DiskQuotas from Unix File system 
(Soft, hard limits)


Lets asume the user test has quota system soft 45 and hard 50
when you go to (Folder) option in that user OWM you will see the follow in 
bottom


Total 19MB Quota usage: 16.6MB (36.9%)  Quota limit: 45MB

The actual user mail quota is 19MB, but then it says 16.6MB !!
If you delete any email from inbox then quota will be increase in the time 
it should be

decreased! and the 19MB it will decrease!

As i Understod that, QUota module reading the user SHELL account, and 
ignoring the /var/mail

thats why We see 16.6MB which is the shell account quota.
but spool will read the /var/mail and ignore SHELL account! (this the 
problem viseversa)

thats why we read 19MB (19 is the INBOX)

Weill (Spool_limit) is an option you set in OWM to limit the INBOX ONLY, 
(spool reads /var/mail)


well impossible to fix the quota system in this way! because the user maybe 
will have

45MB in his inbox(/var/mail) and 45MB in his private folder(homedir).
with total 90MB becuase the spool_limit will allow him upto 45MB in 
/var/mail

and the quota will allow him 45MB in the SHELL account!

How would i controll that please?
Simply I just want to limit his complete MailBox (inbox, trush..etc..) to 
just 45MB, for example.

any simple easy way to make it read this and that?

Thank you and really sorry for the long email.

Marwan.

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


flash plugins question

2006-04-01 Thread Marlon Martin
linuxpluginwrapper is installed from ports, and linux-flashplugin7 after
that i copy libmap.conf-FreeBSD6
fromfile:///usr/local/share/examples/linuxpluginwrapper/libmap.conf-FreeBSD6
/usr/local/share/examples/linuxpluginwrapper/  to /etc/ and rename it as
libmap.conf but still no plugins for flash: when typing:
about:plugins

anyone can help fixing this? im running FBSD 6.1PRE

libmap.conf

# /etc/libmap.conf for FreeBSD 6.0(6.0-BETA3 and later) and 7-current
# $Id: libmap.conf-FreeBSD6,v 1.23 2005/11/13 01:46:14 nork Exp $

###
# [ALPHA SUPPORT] Flash7 with Mozilla
[/usr/X11R6/lib/linux-flashplugin7/libflashplayer.so]
libpthread.so.0 libpthread.so.2
libdl.so.2  pluginwrapper/flash7.so
libz.so.1   libz.so.3
libm.so.6   libm.so.4
libc.so.6   pluginwrapper/flash7.so


###
# Flash6 with Opera is not avilable.

# Flash6 with Konqueror
# SEE ALSO: http://freebsd.kde.org/howtos/konqueror-flash.php
# This configuration was integrated to following one.

# Flash6 with Mozilla/Firebird/Galeon/Epiphany/Konqueror/Kazehakase
[/usr/X11R6/lib/linux-flashplugin6/libflashplayer.so]
libpthread.so.0 pluginwrapper/flash6.so
libdl.so.2  pluginwrapper/flash6.so
libz.so.1   libz.so.3
libstdc++-libc6.2-2.so.3libstdc++.so.5
libm.so.6   libm.so.4
libc.so.6   pluginwrapper/flash6.so


###
# Acrobat5 with Mozilla/Firebird/Galeon/Epiphany/Konqueror/Kazehakase
[/usr/X11R6/Acrobat5/Browsers/intellinux/nppdf.so]
libc.so.6   pluginwrapper/acrobat.so

# Acrobat7 with Mozilla/Firebird/Galeon/Epiphany/Konqueror/Kazehakase
[/usr/compat/linux/usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so]
libc.so.6   pluginwrapper/acrobat.so

# Japanese Acrobat7 with Mozilla/Firebird/Galeon/Epiphany/Konqueror/Kazehakase
[/usr/X11R6/Acrobat7/Browser/intellinux/nppdf.so]
libc.so.6   pluginwrapper/acrobat.so


###
# Helix RealPlayer with Mozilla/Firebird/Galeon/Epiphany/Konqueror/Kazehakase
[/usr/X11R6/lib/linux-mozilla/plugins/nphelix.so]
libstdc++.so.5  libstdc++.so.5
libc.so.6   pluginwrapper/realplayer.so


###
# Java3D
# NOTE: THESE ARE SAMPLES.  PLEASE SEE ALSO INSTALL MESSAGES
#   OF java/java3d PORT.
[/usr/local/jdk1.4.2/jre/lib/i386/libJ3D.so]
libdl.so.2  pluginwrapper/java3d.so
libm.so.6   libm.so.4
libnsl.so.1 pluginwrapper/java3d.so
libpthread.so.0 pluginwrapper/java3d.so
libc.so.6   pluginwrapper/java3d.so

[/usr/local/jdk1.4.2/jre/lib/i386/libj3daudio.so]
libm.so.6   libm.so.4
libnsl.so.1 pluginwrapper/java3d_snd.so
libpthread.so.0 pluginwrapper/java3d_snd.so
libc.so.6   pluginwrapper/java3d_snd.so

[/usr/local/jdk1.4.2/jre/lib/i386/libJ3DUtils.so]
libpthread.so.0 pluginwrapper/java3d.so
libc.so.6   pluginwrapper/java3d.so


###
# Java Advanced Imaging (JAI) API
# NOTE: THIS IS A SAMPLE.  PLEASE SEE ALSO INSTALL MESSAGES
#   OF java/jai PORT.
[/usr/local/jdk1.4.2/jre/lib/i386/libmlib_jai/libmlib_jai.so]
libm.so.6   libm.so.4
libc.so.6   pluginwrapper/jai.so


###
# JAI Image I/O Tools
# NOTE: THIS IS A SAMPLE.  PLEASE SEE ALSO INSTALL MESSAGES
#   OF java/jai-imageio PORT.
[/usr/local/jdk1.4.2/jre/lib/i386/libclib_jiio.so]
libm.so.6   libm.so.4
libc.so.6   pluginwrapper/jai.so


###
# Photo Image Print System (for EPSON bubble jet printers driver)
#[/usr/local/lib/pips/]
#libc.so.6  pluginwrapper/pips.so
#libdl.so.2 pluginwrapper/pips.so


###
#[/compat/linux/usr/lib/oracle/10.1.0.3/client/lib/libclntsh.so.10.1]
#libdl.so.2 pluginwrapper/oci8.so
#libm.so.6  libm.so.4
#libpthread.so.0libpthread.so.2
#libnsl.so.1pluginwrapper/oci8.so
#libc.so.6  pluginwrapper/oci8.so
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Indiana goes to DST

2006-04-01 Thread John

DAve wrote:


[EMAIL PROTECTED] wrote:


At 11:08 AM 3/28/2006, you wrote:

Selections 5 through 8 will no longer be valid in April. The list of 
counties changed. More counties than #6, #7, #8 are going to Central 
TZ, one county is going with Commerce Time, and item #5 (most 
locations) is switching to DST.



Crikeys!  When is Indiana just gonna realize they are far enough 
west, they SHOULD all be Central time?!  I grew up in western Ohio, 
and I remember it was light till nearly 11pm at the solstice.


  -Wayne



Sorry but after 20+ years of debate every session, it was just cheaper 
to change timezones, change DST, change anything. Just end the argument.


Somehow it came about that changing to DST would save millions of 
dollars a year and bring in billions in additional income to the 
state. Not sure how, no one ever answered that question.


But looking at the docs for Exchange server and LookOut it would seem 
that PC support companies are going to make a fortune ;^)


DAve


And I've heard rumor -- haven't verified it yet -- that next year the 
U.S. is going to expand DST to the 2nd Sunday in March through the 1st 
Sunday in November.

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


Dlink DWL520 and wi driver

2006-04-01 Thread gf

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


Re: Video on webservers

2006-04-01 Thread Bill Moran
On Sat, 1 Apr 2006 07:42:40 -0600
Darryl Hoar [EMAIL PROTECTED] wrote:

 snip
 
  Darryl Hoar [EMAIL PROTECTED] wrote:
 
   Greetings,
   I have my own freebsd box that is a webserver (running apache).
   My wife has a family oriented website on this server.  She
  has videos
   that she has taken with dvd camcorder.  She used Ulead on her
   windows machine to create mpg files but 6 minutes generates 200MB
   files.
  
   What is a good technique to provide video's on a website ?
 
  Putting it on the webserver.
 
  However, I expect that there's another, hidden question here.  What is
  the problem that you're having?  Perhaps I'm slow today, but it seems
  like you're saying: I'm going to do this, is that OK?  If that's the
  case, then the answer is yes.
 
 What I mean is that the video files she is generating from the dvd camcorder
 are huge for just a few minutes of video.  Since these files are huge, you
 can't realistically view them from the links on the webserver.
 
 Since I am not a video guy, I was wondering if there was a better method to
 provide these videos from our webserver.
 
 Is streaming video the way to go?  Or some variation of what I have tried ?

Streaming video is only really _necessary_ when you have a video that has
no logical beginning or end, such as a live feed.

Most media players I've seen will simulate streaming media by starting to
play the video as soon as enough has been downloaded to do so.

In any case, in order for this to work, you have to be able to transfer the
video data _at_least_ as fast as you're playing it.

 I know it can be done as I view video from websites all the time.

Taking the at least as fast rule into account, there are two ways to
accomplish it.  1) Get more bandwidth 2) Reduce the amount of data you're
pushing across the network.

#2 is probably your best bet at this stage, unless you can afford more
bandwidth for these videos.  In most video formats, there are 3 ways to
reduce the digital size of a video:
1) Reduce the resolution
2) Reduce the color depth
3) Compress

#1 is very popular and can reduce your filesize considerably.
#2 is not as popular because it's difficult to do without making the video
   look awful.
#3 is almost always done.  In fact, many softwares compress without even
   asking you.  The issue with #3 is twofold:
1) There is a big difference between high-quality video compression and
   low quality video compression.  Low quality stuff will either not compress
   very much, or ruin your video quaility while compressing.
2) Most video compression is lossy, meaning the more you compress the
   video, the lower the quality of the result is.  Most softwares will
   allow you to choose what level of compression/loss you want.

The upshot is this:
1) Make sure you've got good quality software to use to prepare your
   videos for distribution over the web.
2) Take the time to understand what options are available for compressing
   your data.
3) For each video, get a mental idea of how much quality you're willing
   to sacrifice when you distribute your video.
4) Experiment with different levels of compression vs. lossiness until you
   find a good mix of file size vs. quality.  This may vary from one video
   to the next.
5) Find a mailing list or other online community more specialized in the
   area of videos, and ask the question there.  While there may be some
   digital video experts on this list, it's not a primary focus of the
   FreeBSD community.

I'm not a video expert, but this should get you started.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: flash plugins question

2006-04-01 Thread Paul Schmehl



--On April 2, 2006 12:51:59 AM +0800 Marlon Martin [EMAIL PROTECTED] wrote:


linuxpluginwrapper is installed from ports, and linux-flashplugin7 after
that i copy libmap.conf-FreeBSD6
fromfile:///usr/local/share/examples/linuxpluginwrapper/libmap.conf-Free
BSD6 /usr/local/share/examples/linuxpluginwrapper/  to /etc/ and rename
it as libmap.conf but still no plugins for flash: when typing:
about:plugins

Ditto.  And no java plugins either.  I've make deinstalled/installed so 
many times my head is spinning.


I installed mplayer and viola!!!  the plugins were registered with 
firefox.  Why can't java and flash do that?


And yes, I've read the man pages, goggled, searched the fbsd lists, tried 
the millions of different solutions that worked for various people. 
Everything else on FreeBSD just works.  Why can't the damn browser 
plugins?


Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/

[4-STABLE] vm.kvm_free vm.kvm_size ... how?

2006-04-01 Thread Marc G. Fournier


I recently upgraded one of my servers to the latest 4-STABLE ... we're 
just starting to migrate servers to 6.x, but I can't do this one yet ... 
after an indeterminate period of time running with a little bit of load, 
the server crashes with a page fault ... I have a script hat runs every 12 
minutes or so taht reports various things to syslog, including teh above 
two sysctl variables ... looking at the times for the last two crashes, 
I'm noticing that kvm_free is *way* bigger (~4x) then kvm_size ...


What would cause this?  And/or what else should I be looking at?

Apr  1 06:12:00 mars root: vm.kvm_size: 1069543424
Apr  1 06:12:00 mars root: vm.kvm_free: 8384512
Apr  1 06:24:01 mars root: vm.kvm_size: 1069543424
Apr  1 06:24:01 mars root: vm.kvm_free: 4294963200

Until I upgraded, the only problem that the server was showing was related 
to a failed hard drive ... never anything like the above :(


Thanks ...


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


flash plugins question

2006-04-01 Thread Robert Huff

Marlon Martin writes:

  linuxpluginwrapper is installed from ports, and
  linux-flashplugin7 after that i copy libmap.conf-FreeBSD6

My last information is that linuxpluginwrapper is broken with
respect to flash7, and maybe more generally as well.  Has something
to do with symbol lookup in various dynamic libraries.  (I would be
delighted to hear someone has this working with www/mozilla.)


Robert Huff

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


Re: freebsd rocks

2006-04-01 Thread Michael P. Soulier
On 01/04/06 Jim Stapleton said:

 And BSD has man, info, and html help too, but I actually like that.
 BSD just throws so much help in your face, in such better quality,
 it's nice. I got so much done with 1/10th the questions I would have
 needed in linux.

As long as everything I'm looking for is in manpages, then I'm happy. Too many
people presume X being installed, and I hate info pages.

Mike

-- 
Michael P. Soulier [EMAIL PROTECTED]
Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction. --Albert Einstein


pgpwxxWToPQ4L.pgp
Description: PGP signature


Re: show port's deps

2006-04-01 Thread Luke Dean




Hi, how can i know what the dependencies are for a particular port?

try:
# make pretty-print-run-depends-list
  - or -
# make pretty-print-build-depends-list


Where do you guys find these interesting and useful make targets?

I've searched the manpages for make and make.conf and the Makefiles 
themselves, but I don't see anything like pretty-print-build-depends-list, 
yet it works.

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


Re: show port's deps

2006-04-01 Thread Glenn Dawson

At 10:48 AM 4/1/2006, Luke Dean wrote:



Hi, how can i know what the dependencies are for a particular port?

try:
# make pretty-print-run-depends-list
  - or -
# make pretty-print-build-depends-list


Where do you guys find these interesting and useful make targets?


man ports

-Glenn


I've searched the manpages for make and make.conf and the Makefiles 
themselves, but I don't see anything like 
pretty-print-build-depends-list, yet it works.

___
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: show port's deps

2006-04-01 Thread Lars Cleary

Glenn Dawson wrote:

man ports

-Glenn

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


Hi

2006-04-01 Thread Andrew Wingorodov
Hello, hackers!

I want create a clone of the picobsd with cool tuning for firewalls.
But my clone not working:  can't start /sbin/init
Stop and reboot after load kernel and modules

If somebody can help me, make it, pls

To fetch the clone it is possible from here
ftp://ftp.andr.ru/pub/GateBSD/releases/i386/ISO-IMAGES/5.4/
ftp://ftp.andr.ru/pub/GateBSD/releases/i386/5.4-RELEASE/

-- 
Andrew Wingborn
http://andr.ru/

+7(903)135-80-98
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: ATA Drive Issues

2006-04-01 Thread wc_fbsd

At 05:52 PM 3/31/2006, fbsd_user wrote:
Hay I am ran ata HD on 5.4 and now on 6.0 with out any 
problems.  Your problems may be caused by your HD starting to go bad.


You didn't say if you're running plain [parrallel] ATA or Serial 
ATA.  Nearly two years ago I tried to replace our Samba file server 
with a new box running SATA with the Adaptec controller (1210??) 
based on the SiI 3112 chipset (same one ragged on here a couple days 
ago) and FBSD 5.something.  Never made it into production -- same 
hangs you describe.


I filed this issue:
kern/70379: System hangs under heavy disk IO with SiI 3112 SATA150

There were a couple related fixes, but none completely cured it.  I 
switched to a Promise SATA controller, and the problem was lessened 
to the point the machine was usable.  But I can still make it hang 
just tar'ing a file system to a tar file on the same drive.


Just bought a new Dell SC430 with SATA to replace the whole 
thing.  Running 6.0 for a week now, and it seems solid.  It's all 
Intel electronics:  atapci0: Intel ICH7 UDMA100 controller.  Don't 
know if the controllers are junk, or it's a FBSD issue.  Once the new 
machine is swapped in, I plan to experiment with 6.0 on the old one to see.


   -Wayne

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


RE: DHCPD config

2006-04-01 Thread wc_fbsd

At 04:43 PM 3/31/2006, you wrote:
Your saying that dhcp client has no built in way to communicate to 
dhcpd the dns ip address it receives at boot time or during the 
normal lease update process?


Not that I've seen.  The script is pretty one-minded.  Impression I 
get is you're expected to edit it to your requirements.


Well I looked at that script code and it's way above my ability to 
write script code at that level.


I'm pretty lousy at shell programming, but I managed to hack mine up 
as needed.  Well, really just commented out all the stuff that mods 
resolv.conf and the routing.  It's not all that complex as scripts go.


other suggestion of adding my own LAN DNS server is over kill 
because my LAN just has 2 pc's on it and the only purpose of the LAN 
is to share a single dynamic IP address from my ISP.


If that's all you're using the machine for, I'd suggest using 
IP-Cop:  www.ipcop.org  It's Linux, not BSD, but it's a very 
impressive near turn key firewall / nat router.  Or you could hit 
Best Buy for a $40 Linksys box.


   -Wayne

___
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 upgrade samba version to 3.0.22

2006-04-01 Thread wc_fbsd

At 07:11 AM 4/1/2006, you wrote:
I am using FreeBSD 6 and install samba from ports collection 
/usr/ports/net/samba3. The make install download and install samba 
3.0.14a. I noticed samba has new version 3.0.22. How can I install 
the new version?


You need to update your ports.  Read the handbook.  I would strongly 
suggest the portsnap utility, now standard equipment with 6.x.  I 
feel like a dumb shit because I just discovered it yesterday, and had 
been using the much slower and ackward cvsup method.


Basically, delete your current /usr/ports;  portsnap fetch; portsnap 
extract; portsnap update.  Repeat the fetch  update as needed in the future.


Ports currently has 3.0.21b but '22 should be available in a couple 
days.  I forget the details, but it was a fairly obscure security 
patch I wasn't worried about.


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


Re: ACPI disables network (why?)

2006-04-01 Thread Donald J. O'Neill
On Friday 31 March 2006 21:59, Peter wrote:
 Here is what I have for irq.  It looks like irq 22 is being
 overused.

 $ dmesg | grep irq
 ioapic0 Version 1.1 irqs 0-23 on motherboard
 ohci0: OHCI (generic) USB controller mem 0xfc003000-0xfc003fff irq
 22 at device 2.0 on pci0
 ohci1: OHCI (generic) USB controller mem 0xfc004000-0xfc004fff irq
 21 at device 2.1 on pci0
 ehci0: EHCI (generic) USB 2.0 controller mem 0xfc005000-0xfc0050ff
 irq 20 at device 2.2 on pci0
 pcm0: nVidia nForce3 250 port 0xe000-0xe07f,0xdc00-0xdcff mem
 0xfc001000-0xfc001fff irq 22 at device 6.0 on pci0
 nvidia0: GeForce FX 5500 mem
 0xe000-0xefff,0xf800-0xf8ff irq 16 at device 0.0 on
 pci1
 skc0: Marvell Gigabit Ethernet port 0xc000-0xc0ff mem
 0xfb00-0xfb003fff irq 19 at device 11.0 on pci2
 fdc0: floppy drive controller port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on
 acpi0
 sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10
 on acpi0
 sio1: 16550A-compatible COM port port 0x2f8-0x2ff irq 3 on acpi0
 ppc0: Standard parallel printer port port 0x378-0x37f irq 7 on
 acpi0 atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on
 acpi0 atkbd0: AT Keyboard irq 1 on atkbdc0

 __
Not necessarily, I counted two uses. On one of my computers, irq 19 is 
used 4 times. There's only so many irq's available, sometimes some of 
them are shared. The problem is when some devices don't want to share.

Do 'dmesg | grep storm', and 'dmesg | grep throt' that will tell you 
what irq has the problem and something is being shutdown. Then you can 
do 'dmesg | grep irq from above' to find what devices are using that 
irq and determine what to do. With my computers I have found a bad usb 
mouse (dam' microsloth product, should have known better), some devices 
that couldn't be plugged into the usb2.0 ports I have, they had to be 
plugged into usb1.1 ports only, a modem that I thought was shot but 
would work like a champ by repositioning it on the pci bus, and some 
NICs that would work best by repositioning. 

I also found out, what FreeBSD likes, Windows XP doesn't necessarily 
like. After I got everything straightened around for FreeBSD-STABLE, 
Windows XP took a 1/2 hour to come up, booting up with the XP install 
disc took about the same. It still did it after a fresh install of XP. 
so, I told my wife: Windows is shot, Microsoft wans me to call them to 
get a new number which won't help. You don't do anything on Windows 
that you can't do as well as or better on FreeBSD. I can't tell exactly 
what's wrong, Microsoft doesn't want me to know, FreeBSD thinks I want 
to know. I'm pulling the plug on windows and their money grubbing ways. 
By the way, I do give FreeBSD lessons, but pay attention or you'll have 
to learn on your own. Yeah, one less Windows XP installation to worry 
about. Of course, I didn't figure out a reason (for myself) for what 
was happening with Windows XP till later.

You're probably going to have to put your NIC in a different slot.

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


Re: Indiana goes to DST

2006-04-01 Thread Chad Leigh -- Shire.Net LLC


On Apr 1, 2006, at 10:06 AM, John wrote:



And I've heard rumor -- haven't verified it yet -- that next year  
the U.S. is going to expand DST to the 2nd Sunday in March through  
the 1st Sunday in November.


YES, that is what they announced on the radio commemorating the last  
year of changing in April


Chad


---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net



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


Installing Horde 3.1.1

2006-04-01 Thread Duane Whitty

Hi,

Anyone out there with experience installing Horde 3.1.1
I'm running 6-STABLE and PHP5-5.1.2_1.  Updated ports
tree 1 April.  I've had a few problems which I have fixed
but then I ran into Pear and Panda problems.

My question is has anyone made this work recently or am I
just chasing my tail?

Thanks in advance,

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


ipfw n'applique pas une regle ???? est-ce possible ?

2006-04-01 Thread michael
Bonjour,

J'ai un firewall sous freebsd 6 avec ipfw

J'autorise bien le port 53 en udp et tcp de n'importe ou vers n'importe
ou en sortie avec les regles 20,21,22,23 mais visiblement, il n'en tient
pas compte.

Si je me connecte à un site avec l'ip ca marche.

Si quelqu'un a une idée... ca m'aiderai beaucoup, je comprends vraiment
pas ce qui se passe...

merci

Michael.

ps1: la regle 450 bloque. Or celle ci ne devrai pas s'appliquer puisque
le paquet devrai répondre à la 20 et être redirigé vers la 800.
ps2: la regle 40 (suivante) est bien appliqué je peux naviguer sur un
site avec l'ip.

voici les logs:

Mar 25 10:24:25 ns0 kernel: ipfw: 450 Deny UDP 82.237.92.40:53
212.27.53.252:53 out via rl0
Mar 25 10:24:25 ns0 kernel: ipfw: 450 Deny UDP 82.237.92.40:53
212.27.54.252:53 out via rl0
Mar 25 10:24:25 ns0 kernel: ipfw: 450 Deny UDP 82.237.92.40:53
212.27.53.252:53 out via rl0
Mar 25 10:24:25 ns0 kernel: ipfw: 450 Deny UDP 82.237.92.40:53
212.27.54.252:53 out via rl0

voici les regles:

5 113 21648 Sat Mar 25 10:21:30 2006 allow ip from any to any via rl1
00010 22 2548 Sat Mar 25 10:20:02 2006 allow ip from any to any via lo0
00014 151 17081 Sat Mar 25 10:21:30 2006 divert 8668 ip from any to any
in via rl0
00015 0 0 check-state
00020 0 0 skipto 800 udp from any to any dst-port 53 out via rl0 setup
keep-state
00021 0 0 skipto 800 udp from any to any dst-port 53 out via rl0 setup
keep-state
00022 0 0 skipto 800 tcp from any to any dst-port 53 out via rl0 setup
keep-state
00023 0 0 skipto 800 udp from any to any out via rl0 setup keep-state
00040 36 11755 Sat Mar 25 10:21:28 2006 skipto 800 tcp from any to any
dst-port 80 out via rl0 setup keep-state
00070 0 0 skipto 800 tcp from me to any out via rl0 setup uid root
keep-state
00080 3 108 Sat Mar 25 10:19:35 2006 skipto 800 icmp from any to any out
via rl0 keep-state
00300 0 0 deny ip from 192.168.0.0/16 to any in via rl0
00301 0 0 deny ip from 172.16.0.0/12 to any in via rl0
00302 0 0 deny ip from 10.0.0.0/8 to any in via rl0
00303 0 0 deny ip from 127.0.0.0/8 to any in via rl0
00304 0 0 deny ip from 0.0.0.0/8 to any in via rl0
00305 0 0 deny ip from 169.254.0.0/16 to any in via rl0
00306 0 0 deny ip from 192.0.2.0/24 to any in via rl0
00307 0 0 deny ip from 204.152.64.0/23 to any in via rl0
00308 0 0 deny ip from 224.0.0.0/3 to any in via rl0
00315 0 0 deny tcp from any to any dst-port 113 in via rl0
00320 0 0 deny tcp from any to any dst-port 137 in via rl0
00321 0 0 deny tcp from any to any dst-port 138 in via rl0
00322 0 0 deny tcp from any to any dst-port 139 in via rl0
00323 0 0 deny tcp from any to any dst-port 81 in via rl0
00330 0 0 deny ip from any to any frag in via rl0
00332 22 4251 Sat Mar 25 10:20:54 2006 deny tcp from any to any
established in via rl0
00400 109 5472 Sat Mar 25 10:21:30 2006 deny ip from any to any in via rl0
00450 107 6915 Sat Mar 25 10:21:26 2006 deny log ip from any to any out
via rl0
00800 20 4553 Sat Mar 25 10:21:28 2006 divert 8668 ip from any to any
out via rl0
00801 39 11863 Sat Mar 25 10:21:28 2006 allow ip from any to any
00999 0 0 deny log ip from any to any
65535 32459 2707961 Sat Mar 25 10:18:57 2006 allow ip from any to any
## Dynamic rules (3):
00040 12 2448 (298s) STATE tcp 192.168.0.12 58076 - 216.239.39.104 80
00040 22 9187 (298s) STATE tcp 192.168.0.12 58075 - 216.239.39.104 80

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


ipnat syntax error?

2006-04-01 Thread Juergen Heberling

Could someone please check me on this ...

fw1# ipnat -CFn -f /etc/ipnat.rules
0 entries flushed from NAT table
1 entries flushed from NAT list
syntax error error at -, line 1

/etc/ipnat.rules contains:
map  em0 192.168.1.0/24 - 204.134.75.1-10
.. snip ..

line 1 in the rules file is the example from the FreeBSD handbook.
I'm running FreeBSD6.0 stable.

TIA
Juergen

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


Re: Starting privoxy at startup

2006-04-01 Thread Oliver Iberien
I've solved this, after a fashion. Thanks again for your help. It turns out 
that the logfile directory, /var/log/privoxy, was accessible by root only, 
even with permissions changed. (Is this a basic BSD security thing? I googled 
that a little but was not sure.) I guessed it has been done for a reason and 
did not try to break it.

So, I changed the location for logfile to /usr/local/etc/privoxy/log, copied 
the files from /var/log/privoxy there, changed their permissions, and put a 
little shell script in ~./.kde/Autostart to start privoxy and to point to the 
config file.

My guess is that user privoxy could not get into /var/log/privoxy either, and 
that with the logfile directory changed and with all the flags 
(user=privoxy, /usr/local/etc/privoxy/conf) set in rc.conf, it would have 
worked as well. 

I don't know how to set two flags at once (my guess is a line saying 
privoxy_flags=user privoxy, /usr/local/etc/privoxy/config
but I am not sure of the format and couldn't find documentation.

Thanks,

Oliver



On Friday 31 March 2006 11:43, you wrote:
 Oliver Iberien wrote:
  Sorry to drag this out, but I still have not got this to work. I've
  looked at the permissions of the files involved but nothing untoward
  shows up. I think. There is just the conf file and the stuff in /var/log,
  right? How should their permissions look?

 Configuration files go in /usr/local/etc/privoxy/ not /var/log.

  If I wanted to have two flags for privoxy in rc.conf -- the one below and
  one pointing to /usr/local/etc/privoxy/conf -- what would that look like?

 Sorry, no idea. I'm not privoxy expert, just a user. I can show you what
 I have working, but that's about it.

 Here's a listing of the configuration files in my installation. Most if
 not all of these were installed by the port. If you don't have them, I
 would reinstall the port.

 $ls -AlR /usr/local/etc/privoxy/

 -rw-r--r--  1 root  wheel781 Oct 18 00:55 blocklist.action
 -rw-r--r--  1 root  wheel   1080 Nov 14 12:22 config
 -rw-r--r--  1 root  wheel  31297 Nov 16 04:53 config.original
 -r--r--r--  1 root  wheel  39617 Feb 10 06:28 default.action
 -r--r--r--  1 root  wheel  28943 Feb 10 06:28 default.filter
 -rw-r--r--  1 root  wheel  0 Jul 29  2005 mod-support-and-service
 drwxr-xr-x  2 root  wheel   1024 Feb 10 06:28 templates/
 -r--r--r--  1 root  wheel   3366 Feb 10 06:28 trust

 ./templates:
 -r--r--r--  1 root  wheel   9468 Feb 10 06:28 blocked
 -r--r--r--  1 root  wheel   4615 Feb 10 06:28 cgi-error-404
 -r--r--r--  1 root  wheel   4930 Feb 10 06:28 cgi-error-bad-param
 -r--r--r--  1 root  wheel   4201 Feb 10 06:28 cgi-error-disabled
 -r--r--r--  1 root  wheel   3877 Feb 10 06:28 cgi-error-file
 -r--r--r--  1 root  wheel   4347 Feb 10 06:28 cgi-error-file-read-only
 -r--r--r--  1 root  wheel   5012 Feb 10 06:28 cgi-error-modified
 -r--r--r--  1 root  wheel   4965 Feb 10 06:28 cgi-error-parse
 -r--r--r--  1 root  wheel   4839 Feb 10 06:28 cgi-style.css
 -r--r--r--  1 root  wheel   4640 Feb 10 06:28 connect-failed
 -r--r--r--  1 root  wheel   3769 Feb 10 06:28 default
 -r--r--r--  1 root  wheel   6107 Feb 10 06:28 edit-actions-add-url-form
 -r--r--r--  1 root  wheel  37799 Feb 10 06:28 edit-actions-for-url
 -r--r--r--  1 root  wheel602 Feb 10 06:28 edit-actions-for-url-filter
 -r--r--r--  1 root  wheel  12888 Feb 10 06:28 edit-actions-list
 -r--r--r--  1 root  wheel   2230 Feb 10 06:28 edit-actions-list-button
 -r--r--r--  1 root  wheel   5086 Feb 10 06:28 edit-actions-list-section
 -r--r--r--  1 root  wheel   3583 Feb 10 06:28 edit-actions-list-url
 -r--r--r--  1 root  wheel   5863 Feb 10 06:28 edit-actions-remove-url-form
 -r--r--r--  1 root  wheel   6199 Feb 10 06:28 edit-actions-url-form
 -r--r--r--  1 root  wheel523 Feb 10 06:28 mod-local-help
 -r--r--r--  1 root  wheel   1243 Feb 10 06:28 mod-support-and-service
 -r--r--r--  1 root  wheel296 Feb 10 06:28 mod-title
 -r--r--r--  1 root  wheel325 Feb 10 06:28 mod-unstable-warning
 -r--r--r--  1 root  wheel   4730 Feb 10 06:28 no-such-domain
 -r--r--r--  1 root  wheel   4452 Feb 10 06:28 show-request
 -r--r--r--  1 root  wheel  12471 Feb 10 06:28 show-status
 -r--r--r--  1 root  wheel   4180 Feb 10 06:28 show-status-file
 -r--r--r--  1 root  wheel   5316 Feb 10 06:28 show-url-info
 -r--r--r--  1 root  wheel   4859 Feb 10 06:28 show-version
 -r--r--r--  1 root  wheel   7153 Feb 10 06:28 toggle
 -r--r--r--  1 root  wheel   3489 Feb 10 06:28 toggle-mini
 -r--r--r--  1 root  wheel   5728 Feb 10 06:28 untrusted

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


ipfw n'applique pas une regle ???? est-ce possible ?

2006-04-01 Thread michael
Bonjour,

Tout d'abord bonjour à tous c'est mon premier mail sur cette liste de
diffusion !

Mon problème:

J'ai un firewall sous freebsd 6 avec ipfw

J'autorise bien le port 53 en udp et tcp de n'importe ou vers n'importe
ou en sortie avec les regles 20,21,22,23 mais visiblement, il n'en tient
pas compte.

Si je me connecte à un site avec l'ip ca marche.

Si quelqu'un a une idée... ca m'aiderai beaucoup, je comprends vraiment
pas ce qui se passe...

merci

Michael.

ps1: la regle 450 bloque. Or celle ci ne devrai pas s'appliquer puisque
le paquet devrai répondre à la 20 et être redirigé vers la 800.
ps2: la regle 40 (suivante) est bien appliqué je peux naviguer sur un
site avec l'ip.

voici les logs:

Mar 25 10:24:25 ns0 kernel: ipfw: 450 Deny UDP 82.237.92.40:53
212.27.53.252:53 out via rl0
Mar 25 10:24:25 ns0 kernel: ipfw: 450 Deny UDP 82.237.92.40:53
212.27.54.252:53 out via rl0
Mar 25 10:24:25 ns0 kernel: ipfw: 450 Deny UDP 82.237.92.40:53
212.27.53.252:53 out via rl0
Mar 25 10:24:25 ns0 kernel: ipfw: 450 Deny UDP 82.237.92.40:53
212.27.54.252:53 out via rl0

voici les regles:

5 113 21648 Sat Mar 25 10:21:30 2006 allow ip from any to any via rl1
00010 22 2548 Sat Mar 25 10:20:02 2006 allow ip from any to any via lo0
00014 151 17081 Sat Mar 25 10:21:30 2006 divert 8668 ip from any to any
in via rl0
00015 0 0 check-state
00020 0 0 skipto 800 udp from any to any dst-port 53 out via rl0 setup
keep-state
00021 0 0 skipto 800 udp from any to any dst-port 53 out via rl0 setup
keep-state
00022 0 0 skipto 800 tcp from any to any dst-port 53 out via rl0 setup
keep-state
00023 0 0 skipto 800 udp from any to any out via rl0 setup keep-state
00040 36 11755 Sat Mar 25 10:21:28 2006 skipto 800 tcp from any to any
dst-port 80 out via rl0 setup keep-state
00070 0 0 skipto 800 tcp from me to any out via rl0 setup uid root
keep-state
00080 3 108 Sat Mar 25 10:19:35 2006 skipto 800 icmp from any to any out
via rl0 keep-state
00300 0 0 deny ip from 192.168.0.0/16 to any in via rl0
00301 0 0 deny ip from 172.16.0.0/12 to any in via rl0
00302 0 0 deny ip from 10.0.0.0/8 to any in via rl0
00303 0 0 deny ip from 127.0.0.0/8 to any in via rl0
00304 0 0 deny ip from 0.0.0.0/8 to any in via rl0
00305 0 0 deny ip from 169.254.0.0/16 to any in via rl0
00306 0 0 deny ip from 192.0.2.0/24 to any in via rl0
00307 0 0 deny ip from 204.152.64.0/23 to any in via rl0
00308 0 0 deny ip from 224.0.0.0/3 to any in via rl0
00315 0 0 deny tcp from any to any dst-port 113 in via rl0
00320 0 0 deny tcp from any to any dst-port 137 in via rl0
00321 0 0 deny tcp from any to any dst-port 138 in via rl0
00322 0 0 deny tcp from any to any dst-port 139 in via rl0
00323 0 0 deny tcp from any to any dst-port 81 in via rl0
00330 0 0 deny ip from any to any frag in via rl0
00332 22 4251 Sat Mar 25 10:20:54 2006 deny tcp from any to any
established in via rl0
00400 109 5472 Sat Mar 25 10:21:30 2006 deny ip from any to any in via rl0
00450 107 6915 Sat Mar 25 10:21:26 2006 deny log ip from any to any out
via rl0
00800 20 4553 Sat Mar 25 10:21:28 2006 divert 8668 ip from any to any
out via rl0
00801 39 11863 Sat Mar 25 10:21:28 2006 allow ip from any to any
00999 0 0 deny log ip from any to any
65535 32459 2707961 Sat Mar 25 10:18:57 2006 allow ip from any to any
## Dynamic rules (3):
00040 12 2448 (298s) STATE tcp 192.168.0.12 58076 - 216.239.39.104 80
00040 22 9187 (298s) STATE tcp 192.168.0.12 58075 - 216.239.39.104 80


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


Sound Wireless

2006-04-01 Thread Zaid Dashti
Hello

 

I have installed FreeBSD v6.0R on my Toshiba satellite pro M30 laptop.

Everything works fine except and wireless.

 

The wireless card is identified, but I don't know how to find the access
points, is there a good tool for kde or consol that does a job?

Also, my sound driver is not identified, how do I do it?

 

 

Regards,

Zaid Dashti

 

 

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


Re: flash plugins question

2006-04-01 Thread Patrick Bowen

Marlon Martin wrote:


linuxpluginwrapper is installed from ports, and linux-flashplugin7 after
that i copy libmap.conf-FreeBSD6
fromfile:///usr/local/share/examples/linuxpluginwrapper/libmap.conf-FreeBSD6
/usr/local/share/examples/linuxpluginwrapper/  to /etc/ and rename it as
libmap.conf but still no plugins for flash: when typing:
about:plugins

anyone can help fixing this? im running FBSD 6.1PRE
 



Marlon;

I had the same problem with FreeBSD-native mozilla. My final solution 
was to de-install mozilla and install linux-mozilla from ports. This 
solved all my problems, and now I can use flash, realplayer, 
mplayer-plugins, acroread, etc.


BTW, I'm running -current.

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


Re: Sound Wireless

2006-04-01 Thread Patrick Bowen

Zaid Dashti wrote:


Hello



I have installed FreeBSD v6.0R on my Toshiba satellite pro M30 laptop.

Everything works fine except and wireless.



The wireless card is identified, but I don't know how to find the access
points, is there a good tool for kde or consol that does a job?

Also, my sound driver is not identified, how do I do it?





Regards,

Zaid Dashti





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

 


Zaid;

What does your dmesg look like?

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


Re: flash plugins question

2006-04-01 Thread Joseph Vella
On Saturday 01 April 2006 09:44, Paul Schmehl wrote:
 
 --On April 2, 2006 12:51:59 AM +0800 Marlon Martin [EMAIL PROTECTED] wrote:
 
  linuxpluginwrapper is installed from ports, and linux-flashplugin7 after
  that i copy libmap.conf-FreeBSD6
  fromfile:///usr/local/share/examples/linuxpluginwrapper/libmap.conf-Free
  BSD6 /usr/local/share/examples/linuxpluginwrapper/  to /etc/ and rename
  it as libmap.conf but still no plugins for flash: when typing:
  about:plugins
 
 Ditto.  And no java plugins either.  I've make deinstalled/installed so 
 many times my head is spinning.
 
 I installed mplayer and viola!!!  the plugins were registered with 
 firefox.  Why can't java and flash do that?
 
 And yes, I've read the man pages, goggled, searched the fbsd lists, tried 
 the millions of different solutions that worked for various people. 
 Everything else on FreeBSD just works.  Why can't the damn browser 
 plugins?
 

I had to symlink the plugins:

from  /usr/X11R6/lib/linux-flashplugin6/flashplayer.xpt 
to /usr/X11R6/lib/browser_plugins/flashplayer.xpt

from /usr/X11R6/lib/linux-flashplugin6/libflashplayer.so
to /usr/X11R6/lib/browser_plugins/libflashplayer.so

In your case they're probably in linux-flashplugin7
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


linux-firefox

2006-04-01 Thread Beech Rintoul
I'm trying to get linux-firefox running on a box that also has native firefox 
installed. When I try to start it I get the Already Running error. I have 
tried renaming the .mozilla file and checked for a PID or lockfile 
in /var/run, found nothing. There is no firefox or mozilla process running. 
Does anybody have a suggestion?

Beech

-- 

---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | Mangohealth
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - XanGo - http://www.mangohealth.org
---













pgpcLQK8H7iYJ.pgp
Description: PGP signature


Re: ipfw dosnt want to run a rule ???? is it possible ?

2006-04-01 Thread michael
Thanx for ure answer, u're french is prety understandable ;-)

I'm really sorry, i dont have subscribe to this mailing list, i was
trying to send mail to [EMAIL PROTECTED] and i've made a mistake,
and the second mail was for another mailling list (what happend this
evening ???) but if u're able to help me it's welcome.

This is my problem (sorry for my bad english):
I've made a firewall with ipfw on a freebsd 6, i sent the rules (ipfw -a
-d -t list) and the log

I really don't understand why the packet don't match with the rule.

Regards,

Michael.



Duane Whitty a écrit :

 michael wrote:

 Bonjour,

 Tout d'abord bonjour à tous c'est mon premier mail sur cette liste de
 diffusion !

   

 Bonjour Michael,

 Pardonez-moi mon francais.  Je ne parle pas francais bien, mais
 j'esserais (?)

 Bien venue a cette liste de diffusion.  Les participants de cette
 liste parle
 anglais beaucoup du temp. Je croix que plus trop nous comprenons le
 francais. Je me solace.
 Je croix qu' il y une liste de diffusion en francais
 peut etre.  Essayez-vous http://www.freebsd-fr.org ?

 Peut etre vous parlez l'anglais?  Je souhais que je vous offrez plus
 aider.

 Solace pour a coupez votre lingue!

 Sincerement,

 Duane Whitty,

 P.S.
 If you speak English I would like
 to apologize for my terrible use of
 your language.


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


Re: Video on webservers

2006-04-01 Thread Kevin Kinsey

Darryl Hoar wrote:


snip
 


Darryl Hoar [EMAIL PROTECTED] wrote:

   


Greetings,
I have my own freebsd box that is a webserver (running apache).
My wife has a family oriented website on this server.  She
 


has videos
   


that she has taken with dvd camcorder.  She used Ulead on her
windows machine to create mpg files but 6 minutes generates 200MB
files.

What is a good technique to provide video's on a website ?
 


Putting it on the webserver.

However, I expect that there's another, hidden question here.  What is
the problem that you're having?  Perhaps I'm slow today, but it seems
like you're saying: I'm going to do this, is that OK?  If that's the
case, then the answer is yes.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com

   


What I mean is that the video files she is generating from the dvd camcorder
are huge for just a few minutes of video.  Since these files are huge, you
can't realistically view them from the links on the webserver.

Since I am not a video guy, I was wondering if there was a better method to
provide these videos from our webserver.

Is streaming video the way to go?  Or some variation of what I have tried ?

I know it can be done as I view video from websites all the time.

Thanks for any ideas ,
Darryl
 



Probably not the best answer, and some details are lacking (furthermore
it's rather OT), but if she's using ULead on Windows, there's probably a
way around this there.  I do know that the MSFT Windows Movie Maker
has various options for output type --- one of these might be more suitable
for 'net distribution.

To be slight more On topic for the list: running make search key=video
under /usr/ports does show a few programs that might be of assistance,
but I've not tried any of them, myself.

Kevin Kinsey

--
poisoned coffee, n:
Grounds for divorce.


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


Panic Reboots

2006-04-01 Thread Wil Hatfield
What are the best kernel options for rebooting after a panic?

I am going to try these. Will this do the trick? Not sure about the
restartable_panics so I figured I would ask.

options PANIC_REBOOT_WAIT_TIME=10
options RESTARTABLE_PANICS

 FreeBSD 5.4-RELEASE-p11 #1: Sat Apr  1 13:58:33 PST 2006

I used to get reboots by default. Or at least as I recall I did. Did the
default for PANIC_REBOOT_WAIT_TIME become -1 in this branch?

--
Wil Hatfield


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


Re[2]: Need some tips in reorganizing our LAN.

2006-04-01 Thread Playnet
Hello Mark,

Thursday, March 30, 2006, 8:33:20 AM, you wrote:

 
MJA  Thanks for replying.. 
 
MJA  I'm currently on the phase I of the plan. Its not finalized yet. I 
MJA hope you can add some more. What else do you want to know if you will be 
MJA reorganizing your own LAN? Also, if you have a clue on what the 
MJA succeeding phase should be..Anyway, I will try to focus on the phase I 
first.
 
MJA  Phase I - Identify the Current Setup
MJA  1. Network Diagram
MJA   1.1 Connectivity Type
MJA  a. wired
MJA  b. wireless
c. Optical
If you can, don`t use wireless -- not secure, many troubles.

MJA1.2 Geographical Divisions
MJA  a. Site survey (building plan)
MJA  b. cabling structure (is it possible to recable?)
Yes

MJA  2. Types/Classifications/Numbers of Users (126 employees)
MJA   2.1 Administrative staffs
MJA  a. OD
MJA  b. FAD
MJA  c. DIVAS
MJA   2.2 Technical staffs
MJA  3. Machine Classifications and their network type(private/public) 260 
MJA all in all
MJA  Admin 
  
MJA Tech
MJA  a. servers (public/private) -   24
MJA  b. workstations
MJAb.1 desktop (public/private?)  35 162
MJAb.2 laptops (public/private?)   317
MJA  c. testbeds (public/private) already included in 
MJA desktop
MJA  d. personal (laptop,pda) NA
MJA   3.1 Operating system
MJA  a. Windows
MJA  b. *nix
Nix better, but more difficult support on desktop pc's.. And need
teach personnel.

MJA  4. Services Provided/needed
MJA  a. file server (private)
MJA  b. printer server (private)
MJA  c. internet proxy server (public)
MJA  d. im server (private)
MJA  e. web server (private)
MJA  f. directory service/server

-- 
Best regards,
 Playnetmailto:[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: linux-firefox

2006-04-01 Thread hackmiester / Hunter Fuller
On Monday 27 March 2006 04:01, Beech Rintoul wrote:
 I'm trying to get linux-firefox running on a system that also has native
 firefox installed. When I try and start linux-firefox I get a message
 saying that firefox is already running (which it's not).
You sure?
ps ax|grep firefox
killall firefox-bin
killall linux-firefox
killall linux-firefox-bin
 I tried rebooting 
 but the message remains.
Rebooting shouldn't be necessary.
 Does anyone have a suggestion? 

 Beech

-- 
--hackmiester
Walk a mile in my shoes and you will be a mile away in a new pair of shoes.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFD/yYl3ApzN91C7BcRAoVVAJ97uhjh30nQ4hd9bQ90gJqiwsLEfgCeKSrg
bVfqEeJ09WhO6Y51WHEHb6o=
=VTUd
-END PGP SIGNATURE-

-BEGIN GEEK CODE BLOCK-
Version: Geek Code v3.1 (PHP)
GCS/CM/E/IT d-@ s: a- C++$ UBLS*$ P+ L+++$ E- W++$ !N-- !o+ K-- !w-- !O-
M++$ V-- PS@ PE@ Y--? PGP++ !t--- 5--? !X-- !R-- tv-- b+ DI++ D++ G+ e
h r+++ z
--END GEEK CODE BLOCK--

Quick contact info:
Work: [EMAIL PROTECTED]
Personal: [EMAIL PROTECTED]
Large files/spam: [EMAIL PROTECTED]
GTalk:hackmiester/AIM:hackmiester1337/Y!:hackm1ester/IRC:irc.7sinz.net/7sinz


pgp14unhOnvTB.pgp
Description: PGP signature


RE: ATA Drive Issues

2006-04-01 Thread Wil Hatfield
I am giving 6.1 a whirl. In the first 5 minutes I have already noticed that
there are some obvious filesystem issues fixed. I ran a tar and compared the
speed to that on one of my 4.x boxes and low and behold they are about the
same. THANK GOD!

Now I didn't put your -j100 to the test but I did give a -j20 a shot. No DMA
issues, no kernel panics, and actually pretty good performance overall.

109 processes: 20 running, 88 sleeping, 1 zombie
CPU states: 98.0% user,  0.0% nice,  2.0% system,  0.0% interrupt,  0.0%
idle
Mem: 147M Active, 72M Inact, 109M Wired, 112M Buf, 1673M Free
Swap: 4096M Total, 4096M Free

  PID USERNAME  THR PRI NICE   SIZERES STATE  C   TIME   WCPU COMMAND
49641 root1 1290 12476K 11880K RUN1   0:01 45.00% cc1
49487 root1 1210 10148K  9584K CPU3   0   0:01 29.60% cc1
49585 root1 1210 12780K 12220K RUN0   0:01 28.71% cc1
49653 root1 1290 11036K 10428K RUN3   0:00 27.00% cc1
49649 root1 1280  9476K  8880K RUN1   0:00 24.00% cc1
49571 root1 1210 12540K 11972K RUN0   0:01 22.06% cc1
49592 root1 1210 11728K 11104K RUN0   0:00 13.31% cc1
49618 root1 1220 10684K 10116K RUN0   0:01 12.61% cc1
49599 root1 1210 10924K 10352K CPU1   0   0:00 12.26% cc1
49595 root1 1210 10576K 10012K RUN0   0:00 11.91% cc1
49632 root1 1210 10876K 10312K CPU2   0   0:00 10.85% cc1
49605 root1 1210 10704K 10132K RUN0   0:00 10.50% cc1
49630 root1 1210 10656K 10088K RUN0   0:00 10.50% cc1
49603 root1 1210 10864K 10296K RUN0   0:00 10.50% cc1
49621 root1 1210 10712K 10144K RUN0   0:00  8.75% cc1
49637 root1 1210 10920K 10300K RUN0   0:00  8.75% cc1
49611 root1 1210 10936K 10364K RUN0   0:00  8.40% cc1
49470 root1   80  3576K  3464K ppwait 2   0:00  3.50% make
  588 root1  960  6120K  3096K select 0   0:03  0.00% sshd
37381 root1  960   548K   436K select 0   0:00  0.00% make
37467 root1  960   808K   696K select 0   0:00  0.00% make
37380 root1  960  2472K  1720K CPU0   0   0:00  0.00% top
  597 root1  960  6080K  3080K select 0   0:00  0.00% sshd
47338 root1  960   772K   664K select 0   0:00  0.00% make
  603 root1  200  5108K  3200K pause  2   0:00  0.00% csh
  594 root1  200  4852K  2880K pause  0   0:00  0.00% csh


Now off to try to kill it some more.

--
Wil Hatfield



-Original Message-
From: Anish Mistry [mailto:[EMAIL PROTECTED]
Sent: Friday, March 31, 2006 6:42 PM
To: freebsd-questions@freebsd.org
Cc: Wil Hatfield
Subject: Re: ATA Drive Issues


On Friday 31 March 2006 21:28, Wil Hatfield wrote:
 Beto,

  fair enough, but you should be able to use some of the
  performance testing tools to hammer the server before pushing it
  live.

 Suggestions for tools that REALLY hammer?
make -j100 buildworld is always fun :)



 --
 Wil Hatfield



 -Original Message-
 From: Norberto Meijome [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 31, 2006 5:17 PM
 To: Wil Hatfield
 Cc: freebsd-questions@freebsd.org
 Subject: Re: ATA Drive Issues


 On Fri, 31 Mar 2006 18:00:34 -0800

 Wil Hatfield [EMAIL PROTECTED] wrote:
  Beto,
 
  I am currently trying to upgrade one without customers on it to
  6.0. But as was the problem with 5.4 the problems don't show up
  until the machine is under high load.  So even under 6 I won't
  have a clue if the issues are fixed until I get the customers on
  it. So it doesn't make alot of difference.

 fair enough, but you should be able to use some of the performance
 testing tools to hammer the server before pushing it live.

  I checked with the manufacturer or the machine and they assure me
  that they installed brand new high quality 80/40 cables. But then
  again what did I expect them to say. So do you know of a good
  high quality 80/40 manufacture and where I can buy some new
  cables? What's the best of the best?

 not really - i had my bad experience with cables, just went out,
 got the ones that a) weren't 10 for a buck , b) actually looked
 well built. I just went to my preferred provider here in town
 (eer... online actually...but they are local (Syd, AU) )

  At Supermicro's recommendation I already phlashed to the latest
  bios.

 cool - but my point was not to assume that new bios would be better
 - it may actually be a step backwards when combined with your other
 hardware and software.

  Well it is good to know you think 6 is better than 5.4. But then
  again you are running SATA and we all know 6 runs SATA better.
  Hopefully it runs ATA better too.

 actually, that's the only box with SATA - all the others run PATA
 or SCSI.
 B



 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To 

Re: linux-firefox

2006-04-01 Thread Beech Rintoul
On Monday 27 March 2006 04:22, hackmiester / Hunter Fuller wrote:
 On Monday 27 March 2006 04:01, Beech Rintoul wrote:
  I'm trying to get linux-firefox running on a system that also has native
  firefox installed. When I try and start linux-firefox I get a message
  saying that firefox is already running (which it's not).

 You sure?
 ps ax|grep firefox
 killall firefox-bin
 killall linux-firefox
 killall linux-firefox-bin

  I tried rebooting
  but the message remains.

 Rebooting shouldn't be necessary.

  Does anyone have a suggestion?
 
  Beech

stargate# ps waux | grep firefox-bin
stargate# ps waux | grep linux-firefox
stargate# ps waux | grep firefox


stargate# killall firefox-bin
No matching processes were found
stargate# killall linux-firefox
No matching processes were found
stargate# killall linux-firefox-bin
No matching processes were found
stargate# killall firefox
No matching processes were found

#firefox 

Same error. I even deleted the .mozilla directory.

Beech


-- 

---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | Mangohealth
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - XanGo - http://www.mangohealth.org
---













pgp80x3VtNV4f.pgp
Description: PGP signature


RE: ATA Drive Issues

2006-04-01 Thread Wil Hatfield
I did a make -j80 buildworld and this is about the worse that it got. The
build finished without freezes of any kind.

last pid: 98605;  load averages: 19.98, 14.50, 10.16 up 0+00:52:34
15:54:35
45 processes:  1 running, 43 sleeping, 1 zombie
CPU states: 14.8% user,  0.0% nice,  5.1% system,  0.2% interrupt, 79.9%
idle
Mem: 19M Active, 494M Inact, 158M Wired, 44K Cache, 112M Buf, 1331M Free
Swap: 4096M Total, 4096M Free

So I ran it again with two big tarballs being made in the background and
that one finished too as did the tarballs in a very timely manner. I think I
have found some stability and performance for my new machines.  Thanks for
all the help guys.

The skies look so much bluer and brighter today..  ;-)

Cheers,

--
Wil Hatfield


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


vsftpd pam problem

2006-04-01 Thread Terry

Hi going by the docs for virtual users i have got to this file vsftpd.pam

auth required /lib/security/pam_userdb.so db=/etc/vsftpd_login
account required /lib/security/pam_userdb.so db=/etc/vsftpd_login

From google i gather pam_userdb.so isn't part of OpenPAM which is what 
FreeBSD uses. So how do Freebsd users get round it or am i missing some 
thing really silly.


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

Re: linux-firefox

2006-04-01 Thread Lars Cleary

Beech Rintoul wrote:

On Monday 27 March 2006 04:22, hackmiester / Hunter Fuller wrote:

On Monday 27 March 2006 04:01, Beech Rintoul wrote:

I'm trying to get linux-firefox running on a system that also has native
firefox installed. When I try and start linux-firefox I get a message
saying that firefox is already running (which it's not).

You sure?
ps ax|grep firefox
killall firefox-bin
killall linux-firefox
killall linux-firefox-bin


I tried rebooting
but the message remains.

Rebooting shouldn't be necessary.


Does anyone have a suggestion?

Beech


stargate# ps waux | grep firefox-bin
stargate# ps waux | grep linux-firefox
stargate# ps waux | grep firefox


stargate# killall firefox-bin
No matching processes were found
stargate# killall linux-firefox
No matching processes were found
stargate# killall linux-firefox-bin
No matching processes were found
stargate# killall firefox
No matching processes were found

#firefox 

Same error. I even deleted the .mozilla directory.

Beech



You have a lock file somewhere that needs to be deleted.

It's either in /var/run or in your homedir, I can't remember
where I found it when I had the same problem, sorry.

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


Re: linux-firefox

2006-04-01 Thread Beech Rintoul
On Saturday 01 April 2006 15:15, Lars Cleary wrote:
 Beech Rintoul wrote:
  On Monday 27 March 2006 04:22, hackmiester / Hunter Fuller wrote:
  On Monday 27 March 2006 04:01, Beech Rintoul wrote:
  I'm trying to get linux-firefox running on a system that also has
  native firefox installed. When I try and start linux-firefox I get a
  message saying that firefox is already running (which it's not).
 
  You sure?
  ps ax|grep firefox
  killall firefox-bin
  killall linux-firefox
  killall linux-firefox-bin
 
  I tried rebooting
  but the message remains.
 
  Rebooting shouldn't be necessary.
 
  Does anyone have a suggestion?
 
  Beech
 
  stargate# ps waux | grep firefox-bin
  stargate# ps waux | grep linux-firefox
  stargate# ps waux | grep firefox
 
 
  stargate# killall firefox-bin
  No matching processes were found
  stargate# killall linux-firefox
  No matching processes were found
  stargate# killall linux-firefox-bin
  No matching processes were found
  stargate# killall firefox
  No matching processes were found
 
  #firefox 
 
  Same error. I even deleted the .mozilla directory.
 
  Beech

 You have a lock file somewhere that needs to be deleted.

 It's either in /var/run or in your homedir, I can't remember
 where I found it when I had the same problem, sorry.

I deinstalled both versions of firefox and deleted any reference to mozilla or 
firefox. I carefully went through /var/run and /root. I rebooted and 
reinstalled linux-firefox. Still get the error. This is getting old.

Beech

-- 

---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | Mangohealth
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - XanGo - http://www.mangohealth.org
---













pgpJqMkn4y0HI.pgp
Description: PGP signature


Re: flash plugins question

2006-04-01 Thread Tom McLaughlin
On Sun, 2006-04-02 at 00:51 +0800, Marlon Martin wrote:
 linuxpluginwrapper is installed from ports, and linux-flashplugin7 after
 that i copy libmap.conf-FreeBSD6
 fromfile:///usr/local/share/examples/linuxpluginwrapper/libmap.conf-FreeBSD6
 /usr/local/share/examples/linuxpluginwrapper/  to /etc/ and rename it as
 libmap.conf but still no plugins for flash: when typing:
 about:plugins
 

Which browser port are you using?  linux-flashplugin7 does not create
links in /usr/X11R6/lib/browser_plugins which FF and Mozilla need.  Just
as good since linux-flashplugin7 breaks the native versions of FF and
Mozilla.

Tom

 anyone can help fixing this? im running FBSD 6.1PRE
 
 libmap.conf
 
 # /etc/libmap.conf for FreeBSD 6.0(6.0-BETA3 and later) and 7-current
 # $Id: libmap.conf-FreeBSD6,v 1.23 2005/11/13 01:46:14 nork Exp $
 
 ###
 # [ALPHA SUPPORT] Flash7 with Mozilla
 [/usr/X11R6/lib/linux-flashplugin7/libflashplayer.so]
 libpthread.so.0   libpthread.so.2
 libdl.so.2pluginwrapper/flash7.so
 libz.so.1 libz.so.3
 libm.so.6 libm.so.4
 libc.so.6 pluginwrapper/flash7.so
 
 
 ###
 # Flash6 with Opera is not avilable.
 
 # Flash6 with Konqueror
 # SEE ALSO: http://freebsd.kde.org/howtos/konqueror-flash.php
 # This configuration was integrated to following one.
 
 # Flash6 with Mozilla/Firebird/Galeon/Epiphany/Konqueror/Kazehakase
 [/usr/X11R6/lib/linux-flashplugin6/libflashplayer.so]
 libpthread.so.0   pluginwrapper/flash6.so
 libdl.so.2pluginwrapper/flash6.so
 libz.so.1 libz.so.3
 libstdc++-libc6.2-2.so.3  libstdc++.so.5
 libm.so.6 libm.so.4
 libc.so.6 pluginwrapper/flash6.so
 
 
 ###
 # Acrobat5 with Mozilla/Firebird/Galeon/Epiphany/Konqueror/Kazehakase
 [/usr/X11R6/Acrobat5/Browsers/intellinux/nppdf.so]
 libc.so.6 pluginwrapper/acrobat.so
 
 # Acrobat7 with Mozilla/Firebird/Galeon/Epiphany/Konqueror/Kazehakase
 [/usr/compat/linux/usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so]
 libc.so.6 pluginwrapper/acrobat.so
 
 # Japanese Acrobat7 with Mozilla/Firebird/Galeon/Epiphany/Konqueror/Kazehakase
 [/usr/X11R6/Acrobat7/Browser/intellinux/nppdf.so]
 libc.so.6 pluginwrapper/acrobat.so
 
 
 ###
 # Helix RealPlayer with Mozilla/Firebird/Galeon/Epiphany/Konqueror/Kazehakase
 [/usr/X11R6/lib/linux-mozilla/plugins/nphelix.so]
 libstdc++.so.5libstdc++.so.5
 libc.so.6 pluginwrapper/realplayer.so
 
 
 ###
 # Java3D
 # NOTE: THESE ARE SAMPLES.  PLEASE SEE ALSO INSTALL MESSAGES
 #   OF java/java3d PORT.
 [/usr/local/jdk1.4.2/jre/lib/i386/libJ3D.so]
 libdl.so.2pluginwrapper/java3d.so
 libm.so.6 libm.so.4
 libnsl.so.1   pluginwrapper/java3d.so
 libpthread.so.0   pluginwrapper/java3d.so
 libc.so.6 pluginwrapper/java3d.so
 
 [/usr/local/jdk1.4.2/jre/lib/i386/libj3daudio.so]
 libm.so.6 libm.so.4
 libnsl.so.1   pluginwrapper/java3d_snd.so
 libpthread.so.0   pluginwrapper/java3d_snd.so
 libc.so.6 pluginwrapper/java3d_snd.so
 
 [/usr/local/jdk1.4.2/jre/lib/i386/libJ3DUtils.so]
 libpthread.so.0   pluginwrapper/java3d.so
 libc.so.6 pluginwrapper/java3d.so
 
 
 ###
 # Java Advanced Imaging (JAI) API
 # NOTE: THIS IS A SAMPLE.  PLEASE SEE ALSO INSTALL MESSAGES
 #   OF java/jai PORT.
 [/usr/local/jdk1.4.2/jre/lib/i386/libmlib_jai/libmlib_jai.so]
 libm.so.6 libm.so.4
 libc.so.6 pluginwrapper/jai.so
 
 
 ###
 # JAI Image I/O Tools
 # NOTE: THIS IS A SAMPLE.  PLEASE SEE ALSO INSTALL MESSAGES
 # OF java/jai-imageio PORT.
 [/usr/local/jdk1.4.2/jre/lib/i386/libclib_jiio.so]
 libm.so.6 libm.so.4
 libc.so.6 pluginwrapper/jai.so
 
 
 ###
 # Photo Image Print System (for EPSON bubble jet printers driver)
 #[/usr/local/lib/pips/]
 #libc.so.6pluginwrapper/pips.so
 #libdl.so.2   pluginwrapper/pips.so
 
 
 ###
 #[/compat/linux/usr/lib/oracle/10.1.0.3/client/lib/libclntsh.so.10.1]
 #libdl.so.2   pluginwrapper/oci8.so
 #libm.so.6libm.so.4
 #libpthread.so.0  libpthread.so.2
 #libnsl.so.1  

Re: ipnat syntax error?

2006-04-01 Thread Erik Nørgaard

Juergen Heberling wrote:

Could someone please check me on this ...

fw1# ipnat -CFn -f /etc/ipnat.rules
0 entries flushed from NAT table
1 entries flushed from NAT list
syntax error error at -, line 1

/etc/ipnat.rules contains:
map  em0 192.168.1.0/24 - 204.134.75.1-10
.. snip ..

line 1 in the rules file is the example from the FreeBSD handbook.
I'm running FreeBSD6.0 stable.


It seems to be a documentation bug, the ipf-howto.txt distributed with 
ipfilter makes no mention of that notation, instead you should use cidr 
notation, for example


  204.134.75.0/29

Erik


--
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ipnat syntax error?

2006-04-01 Thread Juergen Heberling



Erik Nørgaard wrote:

Juergen Heberling wrote:

Could someone please check me on this ...

fw1# ipnat -CFn -f /etc/ipnat.rules
0 entries flushed from NAT table
1 entries flushed from NAT list
syntax error error at -, line 1

/etc/ipnat.rules contains:
map  em0 192.168.1.0/24 - 204.134.75.1-10
.. snip ..

line 1 in the rules file is the example from the FreeBSD handbook.
I'm running FreeBSD6.0 stable.


It seems to be a documentation bug, the ipf-howto.txt distributed with 
ipfilter makes no mention of that notation, instead you should use cidr 
notation, for example


  204.134.75.0/29

Erik



Erik,

Thank you for the quick response.
I tried your suggestion of using the cidr notation format and that work; 
thank you!


However I am concerned about overlapping mappings in the cidr range with 
host-to-host maps - my cidr range is a /28, for example,
and I want to map (spoof) some IP address in the middle to, say the web 
or mail servers.  In order to avoid the overlap I was counting on the 
range specification on the map command.


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


Actually getting past the #

2006-04-01 Thread Wayne
I can't get past the # in FreeBSD What's the deal with this version? I need
some help with this version. Help
 
Wayne___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: flash plugins question

2006-04-01 Thread Paul Schmehl

--On April 1, 2006 1:41:57 PM -0800 Joseph Vella [EMAIL PROTECTED] wrote:


I had to symlink the plugins:

from  /usr/X11R6/lib/linux-flashplugin6/flashplayer.xpt
to /usr/X11R6/lib/browser_plugins/flashplayer.xpt

from /usr/X11R6/lib/linux-flashplugin6/libflashplayer.so
to /usr/X11R6/lib/browser_plugins/libflashplayer.so

In your case they're probably in linux-flashplugin7


Well, thanks.  I finally got flash working.  Of course I had to follow the 
instructions in /usr/ports/www/linuxpluginwrapper/pkg-message and patch 
rtld.c in /usr/src/libexec, then rebuild world, but hey, flash 7 works now. 
:-)


Now if I can figure out how to get java working...

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/

ipf and amule

2006-04-01 Thread jorge alonso
i'm running amule in the box running the ipf. I can't get highid when
connecting to servers (i cant even connect to servers due to the lowid
thingy i suppose). If i remove the line:
block in on vr0 all amule connects without any problems. What i'am  doing
wrong ?
i have the folowwing rules:

pass in quick on lo0 all
pass out quick on lo0 all

# ISP domain name server
pass out quick on vr0 proto tcp from any to any port = 53 flags S keep state
pass out quick on vr0 proto udp from any to any port = 53 keep state

pass out quick on vr0 proto icmp from any to any icmp-type 8 keep state
pass out quick on vr0 proto tcp from any to any port = 80 flags S keep state
pass out quick on vr0 proto tcp from any to any port = 443 flags S keep
state

# amule
pass in quick on vr0 proto tcp from any to any port = 4662
pass in quick on vr0 proto udp from any to any port = 4665
pass in quick on vr0 proto udp from any to any port = 4672

block in on vr0 all
#block out on vr0 all
#
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: flash plugins question

2006-04-01 Thread Paul Schmehl

--On April 1, 2006 1:41:57 PM -0800 Joseph Vella [EMAIL PROTECTED] wrote:


I had to symlink the plugins:

from  /usr/X11R6/lib/linux-flashplugin6/flashplayer.xpt
to /usr/X11R6/lib/browser_plugins/flashplayer.xpt

from /usr/X11R6/lib/linux-flashplugin6/libflashplayer.so
to /usr/X11R6/lib/browser_plugins/libflashplayer.so

In your case they're probably in linux-flashplugin7


Here's what I'm getting when I try to load a java applet.  The page loads 
fine.  The applet does not.  Nor does the browser complain about a missing 
plugin.  However, this error appears in the console:


LoadPlugin: failed to initialize shared library 
/usr/home/pauls/.mozilla/plugins/libjavaplugin_oji.so [Shared object 
libdl.so.2 not found, required by libjavaplugin_oji.so]
LoadPlugin: failed to initialize shared library 
/usr/home/pauls/.mozilla/plugins/libjavaplugin_oji.so [Shared object 
libdl.so.2 not found, required by libjavaplugin_oji.so]
LoadPlugin: failed to initialize shared library 
/usr/home/pauls/.mozilla/plugins/libjavaplugin_oji.so [Shared object 
libdl.so.2 not found, required by libjavaplugin_oji.so]
LoadPlugin: failed to initialize shared library 
/usr/home/pauls/.mozilla/plugins/libjavaplugin_oji.so [Shared object 
libdl.so.2 not found, required by libjavaplugin_oji.so]
LoadPlugin: failed to initialize shared library 
/usr/home/pauls/.mozilla/plugins/libjavaplugin_oji.so [Shared object 
libdl.so.2 not found, required by libjavaplugin_oji.so]


libdl.so.2 exists in /usr/compat/linux/lib/libdl.so.2, and is listed in 
several places in /etc/libmap.conf, including for java3d:


grep libdl.so.2 /etc/libmap.conf
libdl.so.2  pluginwrapper/flash7.so
libdl.so.2  pluginwrapper/flash6.so
libdl.so.2  pluginwrapper/java3d.so
#libdl.so.2 pluginwrapper/pips.so
#libdl.so.2 pluginwrapper/oci8.so

about:plugins says java is loaded:

Java(TM) Plug-in 1.4.2-p8-root_31_mar_2006_17_33

   File name: libjavaplugin_oji.so
   Java(TM) Plug-in 1.4.2

MIME Type   Description SuffixesEnabled
application/x-java-vm   JavaYes
application/x-java-applet   JavaYes
application/x-java-applet;version=1.1   JavaYes
application/x-java-applet;version=1.1.1 JavaYes
application/x-java-applet;version=1.1.2 JavaYes
application/x-java-applet;version=1.1.3 JavaYes
application/x-java-applet;version=1.2   JavaYes
application/x-java-applet;version=1.2.1 JavaYes
application/x-java-applet;version=1.2.2 JavaYes
application/x-java-applet;version=1.3   JavaYes
application/x-java-applet;version=1.3.1 JavaYes
application/x-java-applet;version=1.4   JavaYes
application/x-java-applet;version=1.4.1 JavaYes
application/x-java-applet;version=1.4.2 JavaYes
application/x-java-applet;jpi-version=1.4.2 JavaYes
application/x-java-bean JavaYes
application/x-java-bean;version=1.1 JavaYes
application/x-java-bean;version=1.1.1   JavaYes
application/x-java-bean;version=1.1.2   JavaYes
application/x-java-bean;version=1.1.3   JavaYes
application/x-java-bean;version=1.2 JavaYes
application/x-java-bean;version=1.2.1   JavaYes
application/x-java-bean;version=1.2.2   JavaYes
application/x-java-bean;version=1.3 JavaYes
application/x-java-bean;version=1.3.1   JavaYes
application/x-java-bean;version=1.4 JavaYes
application/x-java-bean;version=1.4.1   JavaYes
application/x-java-bean;version=1.4.2   JavaYes
application/x-java-bean;jpi-version=1.4.2   JavaYes

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/

Re: Indiana goes to DST

2006-04-01 Thread Chris Hill

On Sat, 1 Apr 2006, Chad Leigh -- Shire.Net LLC wrote:



On Apr 1, 2006, at 10:06 AM, John wrote:



And I've heard rumor -- haven't verified it yet -- that next year the 
U.S. is going to expand DST to the 2nd Sunday in March through the 
1st Sunday in November.


YES, that is what they announced on the radio commemorating the last 
year of changing in April


See http://webexhibits.org/daylightsaving/b.html

BTW, many people are mistaken in their feelings   :^)

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


Re: Actually getting past the #

2006-04-01 Thread Tom McLaughlin
On Sat, 2006-04-01 at 19:46 -0800, Wayne wrote:
 I can't get past the # in FreeBSD What's the deal with this version? I need
 some help with this version. Help
  
 Wayne

People really need more information in order to help.

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/
-- 
| tmclaugh at sdf.lonestar.org tmclaugh at FreeBSD.org |
| FreeBSD   http://www.FreeBSD.org |
| BSD#http://www.mono-project.com/Mono:FreeBSD |

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


Re: Actually getting past the #

2006-04-01 Thread Chris Hill

On Sat, 1 Apr 2006, Wayne wrote:


I can't get past the #


The root prompt?

in FreeBSD What's the deal with this version? I need some help with 
this version. Help


Which version? (uname -a will tell you).

Seriously, what have you done and where are you stuck? What are you 
trying to do?


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