Rejected posting to [EMAIL PROTECTED]

2007-01-19 Thread L-Soft list server at LISTS.WAYNE.EDU (1.8d)
You  are  not  authorized  to  send   mail  to  the  MICHFUND  list  from  your
[EMAIL PROTECTED] account. You might be authorized to send to the list from
another of  your accounts,  or perhaps  when using  another mail  program which
generates slightly  different addresses, but  LISTSERV has no way  to associate
this other account or address with yours. If you need assistance or if you have
any question regarding the policy of the MICHFUND list, please contact the list
owners: [EMAIL PROTECTED]

 Rejected message (72 lines) --
Received: from mirapointmr2.wayne.edu (IDENT:[EMAIL PROTECTED] [141.217.1.231])
by lists.wayne.edu (8.12.10+Sun/8.12.10) with ESMTP id l0J83rOo006420
for [EMAIL PROTECTED]; Fri, 19 Jan 2007 03:04:13 -0500 (EST)
Received: from freebsd.org ([59.29.243.68])
by mirapointmr2.wayne.edu (MOS 3.7.5-GA)
with ESMTP id DER62862;
Fri, 19 Jan 2007 03:03:50 -0500 (EST)
Message-Id: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Fri, 19 Jan 2007 17:03:46 +0900
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.
Content-Type: multipart/mixed; boundary=MIRAPOINT_PART1_45b07b69
X-Mirapoint-Virus: VIRUSDELETED;
host=mirapointmr2.wayne.edu;
attachment=[2.2];
virus=W32/MyDoom-O
X-Junkmail-Status: score=10/60, host=mirapointmr2.wayne.edu
X-Junkmail-SD-Raw: score=unknown,
refid=str=0001.0A090203.45B0796B.00AA,ss=1,fgs=0,
ip=59.29.243.68,
so=2006-03-30 10:46:40,
dmn=5.2.125/2006-10-10

This is a multi-part message in MIME format.

--MIRAPOINT_PART1_45b07b69
Content-Type: text/plain

WARNING!!! (from mirapointmr2.wayne.edu)

The following message attachments were flagged by the antivirus scanner:

Attachment [2.2] qperroh.zip, virus infected: W32/MyDoom-O.  Action taken: 
deleted

--MIRAPOINT_PART1_45b07b69
Content-Type: multipart/mixed;
boundary==_NextPart_000_0001_07A4BF15.376DA8AA

--=_NextPart_000_0001_07A4BF15.376DA8AA
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: 7bit

The original message was received at Fri, 19 Jan 2007 17:03:46 +0900
from 210.242.4.75

- The following addresses had permanent fatal errors -
[EMAIL PROTECTED]

- Transcript of session follows -
... while talking to 177.5.70.142:
 DATA
 400-aturner; -RMS-E-CRE, ACP file create failed
 400


--=_NextPart_000_0001_07A4BF15.376DA8AA
Content-Type: text/plain

VIRUS WARNING Message (from mirapointmr2.wayne.edu)

The virus W32/MyDoom-O was detected in email attachment [2.2] qperroh.zip.  The 
infected attachment has been deleted.

--=_NextPart_000_0001_07A4BF15.376DA8AA--

--MIRAPOINT_PART1_45b07b69--

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


Re: disable cntl+alt+del function

2007-01-19 Thread Dominique Goncalves

Hi,

On 1/18/07, Peter Ankerstål [EMAIL PROTECTED] wrote:

Sean Murphy wrote:
 cntl+alt+del at the console without being logged in reboots the
 server.  The server runs through its shutdown procedure and reboots.
 How do I disable this function?

You could compile the kernel with:

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



If you don't want to rebuild your kernel, just change this sysctl knob:
hw.syscons.kbd_reboot=0

You need at least 6.1-RELEASE

Hope this helps.

Regards.

--
There's this old saying: Give a man a fish, feed him for a day. Teach
a man to fish, feed him for life.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD challenged by Internet

2007-01-19 Thread perryh
  I doubt there is any reasonably priced ISP that will help in
  troubleshooting a problem that's not reproducible on Windows.

 $19.95 a month for DSL (ISP charges) is not reasonably priced?
 WTF? 

Dunno about your neck of the woods, but last time I checked around
here Verizon was charging something like $5 or $10 a month more for
just the DSL line to connect to a third-party ISP than for the whole
package using their own ISP.  Makes it difficult for independents to
compete, at least on price :(
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Hide ports make options/config

2007-01-19 Thread Charlie Hynson III
I am making myself an easy install sh shell script that configures my own
basic setup on FreeBSD 6.2 Release. Wondering how I tell make when
installing a port not to ask me make options/config (silent install). For
all ports and or individual ports. Since I have my make options set in
pkgtools config for sysutils/portupgrade.
For example portupgrade -RN /usr/ports/lang/php4
Will ask me make options which I have already set. How do I hide the
options.
I tried searching a few places before asking with no luck.


P.S.
Thanks FreeBSD Team for another great release so far 6.2 Release is running
really smooth on my P4 2.6 i386 system without any problems. By default
FreeBSD 6.2 Release works with my re0 1000/baseTX Full Duplex LinkSys
Gigabit NIC. Which really impresses me since I have to install a driver on
windows 2003 server enterprise before the card works. Not FreeBSD!!!

Thanks,
Charlie

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


Re: Hide ports make options/config

2007-01-19 Thread Martin Tournoij
On Fri, 19 Jan 2007 08:21:07 -, Charlie Hynson III  
[EMAIL PROTECTED] wrote:



I am making myself an easy install sh shell script that configures my own
basic setup on FreeBSD 6.2 Release. Wondering how I tell make when
installing a port not to ask me make options/config (silent install). For
all ports and or individual ports. Since I have my make options set in
pkgtools config for sysutils/portupgrade.
For example portupgrade -RN /usr/ports/lang/php4
Will ask me make options which I have already set. How do I hide the
options.
I tried searching a few places before asking with no luck.


P.S.
Thanks FreeBSD Team for another great release so far 6.2 Release is  
running

really smooth on my P4 2.6 i386 system without any problems. By default
FreeBSD 6.2 Release works with my re0 1000/baseTX Full Duplex LinkSys
Gigabit NIC. Which really impresses me since I have to install a driver  
on

windows 2003 server enterprise before the card works. Not FreeBSD!!!

Thanks,
Charlie



-DBATCH

For example:
make install -DBATCH [OTHER SWITCHES]

Hope this helps.

Windows 2003 probably has the driver for your NIC, but can't find because  
your card is one revision higher, let's say Gigabit 123b, and windows only  
has a driver for Gigabit123a or something like that.
Quite often (~90% of the time) this is the case on Windows 2000 and XP  
when it can't find a driver.

One (or a few) revisions higher or lower doesn't matter for the driver.
although I don't have any experience with Windows 2003, I think I can  
safely assume this is the case for windows 2003 to.

You will have to select the driver manually.

Martin


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


Re: ssh public key authentification

2007-01-19 Thread Christian Baer
Kirk Strauser wrote:

 The problem was not the authorized_keys file itself, it was my home
 directory.
 
 I don't think so.  More likely, it was the .ssh directory itself.

Nope. :-)

The only thing I changed was /usr/home/christian from mode 770 to mode 750.
Then it worked. I'm guessing it was the write-bit for the group which lead
the sshd not to trust the key.

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


RE: Hide ports make options/config

2007-01-19 Thread Charlie Hynson III
Ok so then in my
/usr/local/etc/pkgtools.conf
MAKE_ARGS

I put for individual ports.
  MAKE_ARGS = {
'lang/php4' = '-DBATCH WITHOUT_CGI=1 WITH_APACHE=1 WITH_MAILHEAD=1
WITHOUT_FASTCGI=1 WITHOUT_PATHINFO=1 WITH_OPENSSL=1 WITH_ZLIB=1',
  }

Or to affect all ports
  MAKE_ARGS = {
'*' = '-DBATCH',
'lang/php4' = 'WITHOUT_CGI=1 WITH_APACHE=1 WITH_MAILHEAD=1
WITHOUT_FASTCGI=1 WITHOUT_PATHINFO=1 WITH_OPENSSL=1 WITH_ZLIB=1',
  }

Will the second method work to hide the options on all ports?


Thanks very much. It should work but I'm rebuilding my world right now so I
can't test it.

LOL carpetsmoker. What a name.

Thanks,
Charlie.

-Original Message-
From: Martin Tournoij [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 19, 2007 4:13 AM
To: Charlie Hynson III; freebsd-questions@freebsd.org
Subject: Re: Hide ports make options/config

On Fri, 19 Jan 2007 08:21:07 -, Charlie Hynson III  
[EMAIL PROTECTED] wrote:

 I am making myself an easy install sh shell script that configures my own
 basic setup on FreeBSD 6.2 Release. Wondering how I tell make when
 installing a port not to ask me make options/config (silent install). For
 all ports and or individual ports. Since I have my make options set in
 pkgtools config for sysutils/portupgrade.
 For example portupgrade -RN /usr/ports/lang/php4
 Will ask me make options which I have already set. How do I hide the
 options.
 I tried searching a few places before asking with no luck.


 P.S.
 Thanks FreeBSD Team for another great release so far 6.2 Release is  
 running
 really smooth on my P4 2.6 i386 system without any problems. By default
 FreeBSD 6.2 Release works with my re0 1000/baseTX Full Duplex LinkSys
 Gigabit NIC. Which really impresses me since I have to install a driver  
 on
 windows 2003 server enterprise before the card works. Not FreeBSD!!!

 Thanks,
 Charlie


-DBATCH

For example:
make install -DBATCH [OTHER SWITCHES]

Hope this helps.

Windows 2003 probably has the driver for your NIC, but can't find because  
your card is one revision higher, let's say Gigabit 123b, and windows only  
has a driver for Gigabit123a or something like that.
Quite often (~90% of the time) this is the case on Windows 2000 and XP  
when it can't find a driver.
One (or a few) revisions higher or lower doesn't matter for the driver.
although I don't have any experience with Windows 2003, I think I can  
safely assume this is the case for windows 2003 to.
You will have to select the driver manually.

Martin


___
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: jboss powering down my machine?

2007-01-19 Thread Steel City Phantom
i figured it out.  i tried again after a fresh reboot and was finally 
able to get an error message out of it.  KDE shut down completely and i 
got a glimse of the console window before it powered down.  it had the 
message, processor temp 87 degrees C.  preforming emergency shutdown.  
pull my heat sink and find it packed completely full of dust.  rinsed it 
off and it works perfectly again.


Steel City Phantom wrote:
when i try to launch jboss thru eclipse on my bsd 6.2 machine, it gets 
about half way thru and then the machine powers down.  as i understood 
bsd, it was not possible for that to happen.  is there a log somewhere 
that i can look at to try to figure this out?  i can't find anything 
very useful on my own.


thanks

___
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: Multi Boot Installtion FreeBSd+Fedora+Debian

2007-01-19 Thread Anuj Singh
Hello,
I am sorry, actually it was working but taking too much time, and at
that time I was unable to go to any tty, to avoid mishap I used knoppix
qtparted and formated that partition (incomplete installation of BSD)
back to fat32 file system.

Now started my beastie installation , in fdisk utility I used T option
giving it 165 and partitioned, I have one confusion according to 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.html
says
Table 2-2. Partition Layout for First Disk

Partition
Filesystem
   Size
   Description
a
/
100 MB
This is the root
filesystem. Every
other filesystem
will be mounted
somewhere under
this one. 100 MB
is a reasonable
size for this
filesystem. You
will not be
storing too much
data on it, as a
regular FreeBSD
install will put
about 40 MB of
data here. The
remaining space is
for temporary
data, and also
leaves expansion
space if future
versions of
FreeBSD need more
space in /.
b
N/A
2-3 x RAM
The system's swap
space is kept on
this partition.
Choosing the right
amount of swap
space can be a bit
of an art. A good
rule of thumb is
that your swap
space should be
two or three times
as much as the
available physical
memory (RAM). You
should also have
at least 64 MB of
swap, so if you
have less than
32 MB of RAM in
your computer then
set the swap
amount to 64 MB.

If you have more
than one disk then
you can put swap
space on each
disk. FreeBSD will
then use each disk
for swap, which
effectively speeds
up the act of
swapping. In this
case, calculate
the total amount
of swap you need
(e.g., 128 MB),
and then divide
this by the number
of disks you have
(e.g., two disks)
to give the amount
of swap you should
put on each disk,
in this example,
64 MB of swap per
disk.


e
/var
50 MB
The /var directory
contains files
that are
constantly
varying; log
files, and other
administrative
files. Many of
these files are
read-from or
written-to
extensively during
FreeBSD's
day-to-day
running. Putting
these files on
another filesystem
allows FreeBSD to
optimize the
access of these
files without
affecting other
files in other
directories that
do not have the
same access
pattern.
f
/usr
Rest of disk
All your other
files will
typically be
stored in /usr and
its
subdirectories.


when I followed 100 MB for my root / it said 118MB is minimum
requirement. 

So I gave 
120MB for /
1024MB 2x Physical Ram
300MB /var
200MB /tmp
and rest is for /usr.
^target is to use X over Freebsd.

Problem I facing now is:
1:My debian is showing error dropping me to fsck, 
running e2fsck on hdc gives can not read superblock,
^I did some mistake with partitions.

Fedora is working fine,

At the boot manager time I installed Freebsd boot manager I had only 1
option to boot (I will read manual if it recognizes Linux installation
same as grub do).

again reinstalled grub with fedora core4 (rescue mode)
#chroot /mnt/sysimage
#grub-install /dev/hdc

added following lines in /etc/grub.conf
title FreeBSD 6.1
rootnoverify (hd0,a)
chainloader +1

I can boot into FreeBSD with this entry. 
Problem
1:it is taking some extra time same as it was taking at the installation
period. (most probably due to many partitions).

===
New fdisk -l shows
Disk /dev/hdc: 40.0 GB, 40060403712 bytes
16 heads, 63 sectors/track, 77622 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/hdc16089   7760036041827+   f  W95 Ext'd (LBA)
Partition 1 does not end on cylinder boundary.
/dev/hdc3   *  295436 2725632   a5  FreeBSD
Partition 3 does not end on cylinder boundary.
/dev/hdc5   *60896296  104359+  83  Linux
/dev/hdc66296   12384 3068383+  83  Linux
/dev/hdc7   12384   22536 5116671   83  Linux
/dev/hdc8   22536   24560 1020096   83  Linux
/dev/hdc9   24560   25580  514048+  83  Linux
/dev/hdc10  25580   31668 3068383+  83  Linux
/dev/hdc11  31668   33724 1036161   82  Linux swap /
Solaris
/dev/hdc12  33724   33931  104391   83  Linux
/dev/hdc13  33932   36975 1534176   83  Linux
/dev/hdc14  36976   37995  514048+  83  Linux
/dev/hdc15  37996   52212 7164958+  83  Linux

Partition table entries are not in disk order

and grub shell output is:

 GNU GRUB  version 0.95  (640K lower / 3072K upper memory)

 [ Minimal BASH-like line editing is supported.  For the first word, TAB
   lists possible command completions.  Anywhere else TAB lists the
possible
   completions of a device/filename.]

grub root (hd0,
 Possible partitions are:
   Partition num: 2, [BSD sub-partitions immediately follow]
 BSD Partition num: 'a',  Filesystem type is ufs2, partition type
0xa5
 BSD Partition num: 'b',  Filesystem type unknown, partition type
0xa5
 BSD Partition 

Re: How to install the 3945ABG Driver on a fresh FreeBSD 6.2 install?

2007-01-19 Thread Vince
Pietro Cerutti wrote:
 On 1/18/07, Daniel Tourde [EMAIL PROTECTED] wrote:
 Hello again,
 
 Hi Daniel,
 

 I built it. It works but it complains and sometimes it shuts down
 itself...
 About the complains, see below..
 What do you mean by it shuts down itself? Does the link goes down?
 Does the module unloads? ...
 
 That would be nice to know where to report the error messages
 
 The driver was written by
 Damien Bergamini damiendotbergaminiatfree.fr
 
Just so you know, Damien no longer develops this driver, to quote from
an email to the freebsd-net mailing list
[http://unix.derkeiler.com/Mailing-Lists/FreeBSD/net/2006-11/msg00076.html]

I just don't want to hear complaints from users if it doesn't work.
I don't provide any support for the FreeBSD version of wpi(4).

A shame but thats why the new driver is being developed. (hope it gets
backported to 6.x)


Vince

 Jan 18 20:24:55 guenevere kernel: rx tail flags error 702
 I also see dozens of these messages on my logs, but it doesn't seem to
 affect the normal operation of the wireless card.
 
 Daniel
 

___
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 install the 3945ABG Driver on a fresh FreeBSD 6.2 install?

2007-01-19 Thread Pietro Cerutti

On 1/19/07, Vince [EMAIL PROTECTED] wrote:

Just so you know, Damien no longer develops this driver, to quote from
an email to the freebsd-net mailing list
[http://unix.derkeiler.com/Mailing-Lists/FreeBSD/net/2006-11/msg00076.html]

I just don't want to hear complaints from users if it doesn't work.
I don't provide any support for the FreeBSD version of wpi(4).



Uh, in that case, apologizes for my wrong information!



Vince


--
Pietro Cerutti
ICQ: 117293691
PGP: 0x9571F78E

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


kernel color

2007-01-19 Thread abedini
hi all dear in FreeBSD project.
in NetBSD user can add this line to kernel to change kernel
BF and FG color:
 options WS_DEFAULT_FG=WSCOL_XXX
 options WS_DEFAULT_BG=WSCOL_XXXhow can use this trit in freebsd?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: kernel color

2007-01-19 Thread Martin Tournoij

On Fri, 19 Jan 2007 11:20:20 -, [EMAIL PROTECTED] wrote:


hi all dear in FreeBSD project.
in NetBSD user can add this line to kernel to change kernel
BF and FG color:
 options WS_DEFAULT_FG=WSCOL_XXX
 options WS_DEFAULT_BG=WSCOL_XXXhow can use this trit in freebsd?
___




From /usr/src/sys/conf/NOTES:
# The following options will let you change the default colors of syscons.
options SC_NORM_ATTR=(FG_GREEN|BG_BLACK)
options SC_NORM_REV_ATTR=(FG_YELLOW|BG_GREEN)
options SC_KERNEL_CONS_ATTR=(FG_RED|BG_BLACK)
options SC_KERNEL_CONS_REV_ATTR=(FG_BLACK|BG_RED)

Take a look at /usr/src/sys/conf/NOTES and  
/usr/src/sys/YOURARCH/conf/NOTES for all kernel options.


Hope this help.

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


Re: Mail etiquette (was: What is this mean by this term)

2007-01-19 Thread Gerard
On Thursday January 18, 2007 at 08:33:32 (PM) Jay Chandler wrote:


 Murray Taylor wrote:
  -Original Message-
  From: Greg Albrecht [mailto:[EMAIL PROTECTED] 
  Sent: Friday, 19 January 2007 11:42 AM
  To: Murray Taylor
  Cc: freebsd-questions
  Subject: Re: Mail etiquette (was: What is this mean by this term)
 
  On 18/01/07, Murray Taylor [EMAIL PROTECTED] wrote:
  
  Top posting is only one issue.  Others of great importance are
  trimming your posts, not breaking the lines into tiny 
  
  fragments, and
  
  not writing one-line paragraphs.  Your .sig is a good example of
  things that people should remove from replies.
 
  Greg
  
  Exactly! And not only my .sig which I do have control over whether
  I add it or not, and also the [EMAIL PROTECTED] stupid corporate 

  disclaimer also
  
  (over which I have no control) sigh
 
  mjt (no .sig)

  since i seem to be in the mood to muddy the waters today:
 
  have you considered using a mail address outside of your corporation?
  one which doesn't automatically add that disclaimer. i've never been
  fond of using my work email address for anything outside of work, but
  that's me. maybe this is an obvious answer but it is one way to please
  the etiquette overlords.
 
  -g
 
  -- 
  Greg Albrecht ([EMAIL PROTECTED])
  
 
  I started using the lists from work years ago when I was
  establishing the FreeBSD servers and it was easier to get
  QA stuff done... Since then the weenies have come along 
  and changed out a perfectly servicable Postfix / Cyrus
  mail system with M$ Exchg(barf), and the beanies wanted the 
  disclaimers ..

Well, if they pay the bills then it is their right to do as they please.
I guess you could always start your own company and enforce any
regulations you desired.

  sigh
 

 
 Have any of these disclaimers ever proven to be even the slightest bit 
 legally enforceable?
 
 I mean, for God's sake, they're at the bottom of the message, 
 essentially telling you not to read the message you just read.  

I read something in a computer magazine, I am not sure which one, that
clearly stated that those disclaimers are not worth the paper they are
written on.

-- 
Gerard

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


Libcap Installation Question

2007-01-19 Thread linux quest
When I am trying to install 'ngrep' in UNIX by issuing the 'make install clean' 
command in the ' /usr/ports/ngrep location ', I got an 'Error code 1'. It also 
states that there is a dependencies for pcap.2 which is not found in ' 
/usr/ports/net/libcap ' 

So, I go to '/usr/ports/net/libcap' - with the intention to issue a 'make 
install clean' command. However, UNIX gave me a message that there is no such 
file or directory.

Any ideas, how I may be able to install libcap for UNIX? Thanks.

Regards,
Linux Quest
 
-
No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mail etiquette

2007-01-19 Thread Robert Huff

Ted Mittelstaedt writes:

  For example, you can hold a gun to someone's head and make them
  sign a contract.  The second you walk away they take the contract
  to a court and bam, it's invalidated because they signed under
  duress.
  
  And if you look at recent court decisions, the definition of
  signing under duress has been -exceedingly- stretched these days.
  Nowadays if someone can convince a court that the contract holder
  didn't completely inform them of every last little condition, they
  can invalidate the contract.

Consent in the legal sense has two usually omitted
qualifiers: fully informed and freely given.  Duress negates the
second; failure to provide adequate information can negate the
first.
That being said, it may wall be the case the working definition
of adequate has expanded over time.  How it changed, and why, is
no doubt the subject of ongoing enquiry.


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: Mail etiquette (was: What is this mean by this term)

2007-01-19 Thread Erik Trulsson
On Thu, Jan 18, 2007 at 03:24:44PM -0800, Greg Albrecht wrote:
 On 18/01/07, Greg 'groggy' Lehey [EMAIL PROTECTED] wrote:
  Top-posting defined simply ...
 
  A: Because it fouls the order in which people normally read text.
  Q: Why is top-posting such a bad thing?
  A: Top-posting.
  Q: What is the most annoying thing on usenet and in e-mail?
 
  Unfortunately all Micro$lop 'standard' email clients and a few
  others put the cursor at the top of the email, so the bad habit has
  developed across the world both domestically and in businesses, to
  write there, rather than continuing the email thread at the bottom.
 
 Top posting is only one issue.  Others of great importance are
 trimming your posts, not breaking the lines into tiny fragments, and
 not writing one-line paragraphs.  Your .sig is a good example of
 things that people should remove from replies.
 
 i've been wanting to chime in on this. perhaps it should be taken into
 consideration that a good number of MODERN email clients support
 automatic threading of messages. this allows me to see each reply to a
 message after the original message, in succession. i understand that
 different people configure and use their email clients in different
 ways, but why is there such a pandering towards one versus the other.
 my email software  (gmail right now but has been mutt and thunderbird
 in the past) makes it really easy for me to get the context of a
 message as soon as it arrives. perhaps it's time for the rest of the
 world to step up and add auto-threading to their mta's?

Emails can arrive in a different order than they were sent, and people
do not always keep all the emails they receive.
There it is often the case that people do not have the original message
to get the context from.  






-- 
Insert your favourite quote here.
Erik Trulsson
[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: Libcap Installation Question

2007-01-19 Thread Vince
linux quest wrote:
 When I am trying to install 'ngrep' in UNIX by issuing the 'make install 
 clean' command in the ' /usr/ports/ngrep location ', I got an 'Error code 1'. 
 It also states that there is a dependencies for pcap.2 which is not found in 
 ' /usr/ports/net/libcap ' 
 
Firstly. Do you have the latest ports tree?
secondly are you running this as root (or via sudo)
secondly, what options did you choose when you ran 'make install clean'
  ie. i'm guessing you choose ports pcap.
Doing
'cd /usr/ports/net/ngrep  make '
myself gives

snip irrelevent bits---
===   ngrep-1.45 depends on file: /usr/local/lib/libpcap.a - not found
===Verifying install for /usr/local/lib/libpcap.a in
/usr/ports/net/libpcap
= libpcap-0.9.5.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
= Attempting to fetch from http://www.tcpdump.org/release/.
libpcap-0.9.5.tar.gz  100% of  423 kB   73 kBps
---snip me pressing ctr-c --


so you need /usr/local/lib/libpcap.a
and the port for this is /usr/ports/net/libpcap

I suggest you update your ports tree (cvsup or portsnap as you prefer)
and try again, otherwise choose base libpcap.
(copy and paste if you can cause you made a few typos in this email
which could have hindered troubleshooting)


Vince

 So, I go to '/usr/ports/net/libcap' - with the intention to issue a 'make 
 install clean' command. However, UNIX gave me a message that there is no such 
 file or directory.
 
 Any ideas, how I may be able to install libcap for UNIX? Thanks.
 
 Regards,
 Linux Quest
  
 -
 No need to miss a message. Get email on-the-go 
 with Yahoo! Mail for Mobile. Get started.
 ___
 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: no pv entries: increase vm.pmap.shpgperproc

2007-01-19 Thread Bill Moran
In response to peter [EMAIL PROTECTED]:
 Hi,
 My freebsd box runs the apache httpd2.0 server, postgresql8.1server,
 Recently, I got the below info in /var/crash.
 “Dump header from device /dev/da0s1b
   Architecture: i386
   Architecture Version: 2
   Dump Length: 1073127424B (1023 MB)
   Blocksize: 512
   Dumptime: Wed Jan 17 16:39:08 2007
   Hostname: myhost.mydomain.com
   Magic: FreeBSD Kernel Dump
   Version String: FreeBSD 6.0-RELEASE #0: Tue Apr 25 15:07:33 CST 2006
 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/MYKNL
   Panic String: no pv entries: increase vm.pmap.shpgperproc
   Dump Parity: 2383301964
   Bounds: 49
   Dump Status: good”
 I had searched in google, but I didn’t know how to do.

You _should_ be able to raise the vm.pmap.shpgperproc sysctl to prevent
the problem -- but there doesn't seem to be any such sysctl.  I'm not sure
what's going on here, but it seems to me that a PR is in order.

Failing that, you could set the following in your kernel config:
options PMAP_SHPGPERPROC=250
and rebuild/reinstall your kernel.  If you're not familiar with kernel
building, the docs are here:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html

The default value is 200, so I expect 250 will be enough of a bump to
fix the problem.  If it's not, raise it a little higher and try again.
I don't know of any way to tell exactly what this value should be other
than trial and error.  I've seen warnings that raising this value too
high can result in an unbootable kernel, so take care to understand how
to recover from the installation of an unbootable kernel.

The research I've done seems to indicate that pv exhaustion is very rare,
which is why you're having trouble finding reference to it in Google
searches.  That's the first reference I've seen to a sysctl --
usually the recommendation is to rebuild the kernel.  Google for
PMAP_SHPGPERPROC and you'll find some other (albeit few) discussions.

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


Re: Flash 9

2007-01-19 Thread Sergio Lenzi
   
 What would happen if one used the linux-alsa-libs from ports?  Would 
 that help with sound?

Does not work also... the library does not recognize the sound
hardware
besides it crashes some minutes after starting...  May be a problem
with 
the thread library... must be reworked.

Well as I said... I would bet in the gnash team... 



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


Re: the flash 9 player....

2007-01-19 Thread Sergio Lenzi


 
 I would love to see that work, but sync'ing the audio and video may be
 problematical.
 
 FWIW ...
 
   John
 

I tested the lastest version 0.7.2 it is better than the previous but
is missing the ability to play movies   about the sync of audio and
video
once the file is in the flv format, mplayer plays it very well with no
problem
and very low cpu consume

the original mplayer from macromedia  crashes because the mozilla
calls NP_Shutdown and the macromedia plugin does not get initialized
correctly by the mozzila  (I am using epiphany)...

I think that gnash is a good aproach... it forks a process and
so if it crashes, does not crash the browser... 


Not a good solution now.


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


Re: FreeBSD challenged by Internet

2007-01-19 Thread RW
On Thu, 18 Jan 2007 23:14:33 -0800
Ted Mittelstaedt [EMAIL PROTECTED] wrote:

 
 - Original Message - 
 From: RW [EMAIL PROTECTED]
 To: freebsd-questions@freebsd.org
 Sent: Thursday, January 18, 2007 7:43 AM
 Subject: Re: FreeBSD challenged by Internet
 
  On Thu, 18 Jan 2007 00:43:02 -0800
  Ted Mittelstaedt [EMAIL PROTECTED] wrote:
 
  The OP said that there was no problem with linux and windows, and
  that's consistent with what I saw on my d-link ADSL router.
  Presumably FreeBSD is doing something slightly different.
 
 Yes, it is, it's making IPv6 DNS queries. 

In my case, compiling-out IPv6 support from the kernel was the first
thing I tried, and it didn't make much difference. The DNS proxy worked
properly with Windows, but not FreeBSD.

  These problems is particularly acute in countries where PPPoA is the
  norm.

 And the other thing is that just about all the DSL setups I've seen in
 bridging mode do the PPPoE/PPPoA conversion automagically.

There's a history of PPPoE in the US, so people expect to have
it, even over ATM. In the UK BT turned-on PPPoEoA a few years ago, but
didn't really tell anyone, BT resellers generally don't provide much
support for it. LLU operators haven't bothered, because there's no real
demand.



 

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


Re: ssh public key authentification

2007-01-19 Thread Ceri Davies
On Thu, Jan 18, 2007 at 05:00:56PM -0600, Kirk Strauser wrote:
 On Thursday 18 January 2007 16:44, Christian Baer wrote:
 
  The problem was not the authorized_keys file itself, it was my home
  directory.
 
 I don't think so.  More likely, it was the .ssh directory itself.

Why not?  Group write is plenty enough for someone else to replace the
.ssh directory with another one, so sshd checks for that.

Ceri
-- 
That must be wonderful!  I don't understand it at all.
  -- Moliere


pgppxF88au6W8.pgp
Description: PGP signature


Re: What is this mean by this term

2007-01-19 Thread Ceri Davies
On Thu, Jan 18, 2007 at 04:31:41PM +1100, Murray Taylor wrote:

 Unfortunately all Micro$lop 'standard' email clients and a few others
 put the cursor at the top of the email,

Actually, Entourage does not.

While we're on the subject of etiquette, those insist on having this
much crap at the bottom of their mails, might like to include a sig
delimiter:

 ---
 The information transmitted in this e-mail is for the exclusive
 use of the intended addressee and may contain confidential
 and/or privileged material. Any review, re-transmission,
 dissemination or other use of it, or the taking of any action
 in reliance upon this information by persons and/or entities
 other than the intended recipient is prohibited. If you
 received this in error, please inform the sender and/or
 addressee immediately and delete the material. 
 
 E-mails may not be secure, may contain computer viruses and
 may be corrupted in transmission. Please carefully check this
 e-mail (and any attachment) accordingly. No warranties are
 given and no liability is accepted for any loss or damage
 caused by such matters.
 ---
 
 ### This e-mail message has been scanned for Viruses by Bytecraft ###
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 

Ceri
-- 
That must be wonderful!  I don't understand it at all.
  -- Moliere


pgpZWW6EOFbpu.pgp
Description: PGP signature


Re: Mail etiquette (was: What is this mean by this term)

2007-01-19 Thread Ceri Davies
On Fri, Jan 19, 2007 at 09:42:54AM +1030, Greg 'groggy' Lehey wrote:

 I think the biggest problem with Microsoft MUAs is not where they
 position the cursor, but the difficulty they cause in editing the
 text.  My editor also positions the cursor at the very top when I
 reply to a message.  But it also makes it possible to tidy things up.

To be fair to Microsoft (or perhaps this makes it even worse), their Mac
development team clearly understand this, as Entourage (the Mac
equivalent of Outlook) doesn't do any of the tens of stupid things that
Outlook does.

 Top posting is only one issue.  Others of great importance are
 trimming your posts, not breaking the lines into tiny fragments, and
 not writing one-line paragraphs.  Your .sig is a good example of
 things that people should remove from replies.

When they are correctly formatted (line-feed,hyphen,hyphen,space), good
MUAs can do this automatically.

Ceri
-- 
That must be wonderful!  I don't understand it at all.
  -- Moliere


pgpkqYP0AYgtW.pgp
Description: PGP signature


Re: Mail etiquette (was: What is this mean by this term)

2007-01-19 Thread Ceri Davies
On Fri, Jan 19, 2007 at 11:32:38AM +1100, Murray Taylor wrote:

 Exactly! And not only my .sig which I do have control over whether 
 I add it or not, and also the [EMAIL PROTECTED] stupid corporate disclaimer 
 also
 (over which I have no control) sigh

Though you could presumably add an empty .sig which would prevent others
from having to delete the rubbish every time they wanted to reply to you :)

Ceri
-- 
That must be wonderful!  I don't understand it at all.
  -- Moliere


pgp4p88nr0FyI.pgp
Description: PGP signature


Re: ssh public key authentification

2007-01-19 Thread Kirk Strauser
On Friday 19 January 2007 9:10 am, Ceri Davies wrote:

 Why not?  Group write is plenty enough for someone else to replace the
 .ssh directory with another one, so sshd checks for that.

To replace it with another 700 directory owned by the user, containing a 400 
file also owned by the user?
-- 
Kirk Strauser


pgpCCD0vRRwLq.pgp
Description: PGP signature


Re: Kernel Compiling Problem

2007-01-19 Thread Lowell Gilbert
Xu-Long Wang [EMAIL PROTECTED] writes:

 Some problem in my kernal file and it suggests that: one code error



 devicesbp # SCSI over FireWire (Requires scbus 
 and da)

Note the comment:  Requires scbus and da
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: no pv entries: increase vm.pmap.shpgperproc

2007-01-19 Thread Bill Moran
In response to Bill Moran [EMAIL PROTECTED]:

 In response to peter [EMAIL PROTECTED]:
  Hi,
  My freebsd box runs the apache httpd2.0 server, postgresql8.1server,
  Recently, I got the below info in /var/crash.
  “Dump header from device /dev/da0s1b
Architecture: i386
Architecture Version: 2
Dump Length: 1073127424B (1023 MB)
Blocksize: 512
Dumptime: Wed Jan 17 16:39:08 2007
Hostname: myhost.mydomain.com
Magic: FreeBSD Kernel Dump
Version String: FreeBSD 6.0-RELEASE #0: Tue Apr 25 15:07:33 CST 2006
  [EMAIL PROTECTED]:/usr/src/sys/i386/compile/MYKNL
Panic String: no pv entries: increase vm.pmap.shpgperproc
Dump Parity: 2383301964
Bounds: 49
Dump Status: good”
  I had searched in google, but I didn’t know how to do.
 
 You _should_ be able to raise the vm.pmap.shpgperproc sysctl to prevent
 the problem -- but there doesn't seem to be any such sysctl.  I'm not sure
 what's going on here, but it seems to me that a PR is in order.

http://www.freebsd.org/cgi/query-pr.cgi?pr=108121

-- 
Bill Moran
Collaborative Fusion Inc.
___
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 install the 3945ABG Driver on a fresh FreeBSD 6.2 install?

2007-01-19 Thread Abdullah Al-Marrie

On 1/18/07, Pietro Cerutti [EMAIL PROTECTED] wrote:

On 1/18/07, Daniel Tourde [EMAIL PROTECTED] wrote:
 Hello Pietro,

Again...
 PS: There are many drivers around on the net. That would be nice to indicate
 where you found that one, coz it seems to work... ;)

Figured out, I took it from here:

http://people.freebsd.org/~flz/local/wpi/wpi-freebsd-20061109.tgz

--
Pietro Cerutti
ICQ: 117293691
PGP: 0x9571F78E


And does it work for RELENG_6 now? or for HEAD?

--
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mail etiquette (was: What is this mean by this term)

2007-01-19 Thread Gerard Seibert
On Friday January 19, 2007 at 10:21:24 (AM) Ceri Davies wrote:


 On Fri, Jan 19, 2007 at 09:42:54AM +1030, Greg 'groggy' Lehey wrote:
 
  I think the biggest problem with Microsoft MUAs is not where they
  position the cursor, but the difficulty they cause in editing the
  text.  My editor also positions the cursor at the very top when I
  reply to a message.  But it also makes it possible to tidy things up.
 
 To be fair to Microsoft (or perhaps this makes it even worse), their Mac
 development team clearly understand this, as Entourage (the Mac
 equivalent of Outlook) doesn't do any of the tens of stupid things that
 Outlook does.

Actually, the MS Live Beta version can be configured to place the cursor
at the end when replying. 

  Top posting is only one issue.  Others of great importance are
  trimming your posts, not breaking the lines into tiny fragments, and
  not writing one-line paragraphs.  Your .sig is a good example of
  things that people should remove from replies.

No one needs a 10+ line signature. Perhaps they are compromising for
other shortcomings.
 
 When they are correctly formatted (line-feed,hyphen,hyphen,space), good
 MUAs can do this automatically.

I think the problem can be more readily attributed to the theory of
PEBKC.

-- 
Gerard

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


Re: Mail etiquette (was: What is this mean by this term)

2007-01-19 Thread Joe Holden

Gerard Seibert wrote:

On Friday January 19, 2007 at 10:21:24 (AM) Ceri Davies wrote:



On Fri, Jan 19, 2007 at 09:42:54AM +1030, Greg 'groggy' Lehey wrote:


I think the biggest problem with Microsoft MUAs is not where they
position the cursor, but the difficulty they cause in editing the
text.  My editor also positions the cursor at the very top when I
reply to a message.  But it also makes it possible to tidy things up.

To be fair to Microsoft (or perhaps this makes it even worse), their Mac
development team clearly understand this, as Entourage (the Mac
equivalent of Outlook) doesn't do any of the tens of stupid things that
Outlook does.


Actually, the MS Live Beta version can be configured to place the cursor
at the end when replying. 


Top posting is only one issue.  Others of great importance are
trimming your posts, not breaking the lines into tiny fragments, and
not writing one-line paragraphs.  Your .sig is a good example of
things that people should remove from replies.


No one needs a 10+ line signature. Perhaps they are compromising for
other shortcomings.

When they are correctly formatted (line-feed,hyphen,hyphen,space), good
MUAs can do this automatically.


I think the problem can be more readily attributed to the theory of
PEBKC.


There are also patches for Outlook to implement proper quoting and replying.

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


How to get best results from FreeBSD-questions

2007-01-19 Thread Greg Lehey

How to get the best results from FreeBSD questions.
===

Last update $Date: 2005/08/10 02:21:44 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the newcomers), and also those who answer the
questions (the hackers).

   Note that the term hacker has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is cracker, but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst
other things, it told you how to unsubscribe.  Here's a typical
message:

  Welcome to the freebsd-questions@freebsd.org mailing list!

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED]
  
(obviously, substitute your mail address for [EMAIL PROTECTED]).  You can
also make such adjustments via email by sending a message to:

  [EMAIL PROTECTED]
  
with the word 'help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including
changing the password, itself) or to unsubscribe.
  
Normally, Mailman will remind you of your freebsd.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send how to questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  

The Complete FreeBSD: errata and addenda

2007-01-19 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

The Complete FreeBSD has been through a total of five editions, including its
predecessor Installing and Running FreeBSD.  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Note also that the book has now been released for free download in PDF
form.  Instead of downloading the changed pages, you may prefer to
download the entire book.  See http://www.lemis.com/grog/Documentation/CFBSD/ 
for more information.

Have you found a problem with the book, or maybe something confusing?
Please let me know: I'm no longer constantly updating it, but I may be
able to help

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


php5-session port seems borked

2007-01-19 Thread Jeff MacDonald

Hi,

I was getting the error

Fatal error: Call to undefined function session_name() in

So, I thought i'd try recompiling session support for php, here is a
transcript of how that went :)

secure1# make
===  Building for php5-session-5.2.0
/bin/sh /usr/ports/www/php5-session/work/php-5.2.0/ext/session/libtool
--mode=compile cc  -I.
-I/usr/ports/www/php5-session/work/php-5.2.0/ext/session
-DPHP_ATOM_INC -I/usr/ports/www/php5-session/work/php-5.2.0/ext/session/include
-I/usr/ports/www/php5-session/work/php-5.2.0/ext/session/main
-I/usr/ports/www/php5-session/work/php-5.2.0/ext/session
-I/usr/local/include/php -I/usr/local/include/php/main
-I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend
-I/usr/local/include/php/ext  -DHAVE_CONFIG_H  -O -pipe
-mcpu=pentiumpro   -c
/usr/ports/www/php5-session/work/php-5.2.0/ext/session/session.c -o
session.lo
cc -I. -I/usr/ports/www/php5-session/work/php-5.2.0/ext/session
-DPHP_ATOM_INC -I/usr/ports/www/php5-session/work/php-5.2.0/ext/session/include
-I/usr/ports/www/php5-session/work/php-5.2.0/ext/session/main
-I/usr/ports/www/php5-session/work/php-5.2.0/ext/session
-I/usr/local/include/php -I/usr/local/include/php/main
-I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend
-I/usr/local/include/php/ext -DHAVE_CONFIG_H -O -pipe -mcpu=pentiumpro
-c /usr/ports/www/php5-session/work/php-5.2.0/ext/session/session.c
-fPIC -DPIC -o .libs/session.o
/usr/ports/www/php5-session/work/php-5.2.0/ext/session/session.c:85:
warning: parameter names (without types) in function declaration
/usr/ports/www/php5-session/work/php-5.2.0/ext/session/session.c: In
function `OnUpdateSaveDir':
/usr/ports/www/php5-session/work/php-5.2.0/ext/session/session.c:156:
warning: assignment makes pointer from integer without a cast
/usr/ports/www/php5-session/work/php-5.2.0/ext/session/session.c: At top level:
/usr/ports/www/php5-session/work/php-5.2.0/ext/session/session.c:285:
error: `ps' undeclared here (not in a function)
/usr/ports/www/php5-session/work/php-5.2.0/ext/session/session.c:285:
error: initializer element is not constant
/usr/ports/www/php5-session/work/php-5.2.0/ext/session/session.c:285:
error: (near initialization for
`session_module_entry.post_deactivate_func')
/usr/ports/www/php5-session/work/php-5.2.0/ext/session/session.c:286:
error: `ps' undeclared here (not in a function)
/usr/ports/www/php5-session/work/php-5.2.0/ext/session/session.c:286:
error: initializer element is not constant
/usr/ports/www/php5-session/work/php-5.2.0/ext/session/session.c:286:
error: (near initialization for `session_module_entry.globals_id')
/usr/ports/www/php5-session/work/php-5.2.0/ext/session/session.c:289:
warning: excess elements in struct initializer
/usr/ports/www/php5-session/work/php-5.2.0/ext/session/session.c:289:
warning: (near initialization for `session_module_entry')
/usr/ports/www/php5-session/work/php-5.2.0/ext/session/session.c:289:
warning: excess elements in struct initializer
/usr/ports/www/php5-session/work/php-5.2.0/ext/session/session.c:289:
warning: (near initialization for `session_module_entry')
/usr/ports/www/php5-session/work/php-5.2.0/ext/session/session.c:290:
warning: excess elements in struct initializer
/usr/ports/www/php5-session/work/php-5.2.0/ext/session/session.c:290:
warning: (near initialization for `session_module_entry')
/usr/ports/www/php5-session/work/php-5.2.0/ext/session/session.c: In
function `PHP_GINIT_FUNCTION':
/usr/ports/www/php5-session/work/php-5.2.0/ext/session/session.c:1892:
error: invalid type argument of `-'
/usr/ports/www/php5-session/work/php-5.2.0/ext/session/session.c:1893:
error: invalid type argument of `-'
/usr/ports/www/php5-session/work/php-5.2.0/ext/session/session.c:1894:
error: invalid type argument of `-'
/usr/ports/www/php5-session/work/php-5.2.0/ext/session/session.c:1895:
error: invalid type argument of `-'
/usr/ports/www/php5-session/work/php-5.2.0/ext/session/session.c:1896:
error: invalid type argument of `-'
/usr/ports/www/php5-session/work/php-5.2.0/ext/session/session.c:1897:
error: invalid type argument of `-'
/usr/ports/www/php5-session/work/php-5.2.0/ext/session/session.c:1898:
error: invalid type argument of `-'
*** Error code 1

Stop in /usr/ports/www/php5-session/work/php-5.2.0/ext/session.
*** Error code 1

Stop in /usr/ports/www/php5-session.

Let me know if I need to provide more information on this.

Jeff.

--
Unless otherwise indicated, anything I write is either garnered from
experience or pulled out of my ass, depending on situational needs..

Jeff MacDonald
___
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 install the 3945ABG Driver on a fresh FreeBSD 6.2 install?

2007-01-19 Thread Pietro Cerutti

On 1/19/07, Abdullah Al-Marrie [EMAIL PROTECTED] wrote:

On 1/18/07, Pietro Cerutti [EMAIL PROTECTED] wrote:
 On 1/18/07, Daniel Tourde [EMAIL PROTECTED] wrote:
  Hello Pietro,

 Again...
  PS: There are many drivers around on the net. That would be nice to indicate
  where you found that one, coz it seems to work... ;)

 Figured out, I took it from here:

 http://people.freebsd.org/~flz/local/wpi/wpi-freebsd-20061109.tgz

 --
 Pietro Cerutti
 ICQ: 117293691
 PGP: 0x9571F78E

And does it work for RELENG_6 now? or for HEAD?


It works for 6.2-STABLE, and for 6.2-RELEASE too, since I used it on
6.2.-PRERELEASE too..



--
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/




--
Pietro Cerutti
ICQ: 117293691
PGP: 0x9571F78E

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


buildworld fails, 6.1 to 6.2

2007-01-19 Thread Mark Busby
buildworld fails with this msg
  c++ -fpic -DPIC -O2 -fno-strict-aliasing -pipe -DIN_GLIBCPP_V3 
-DHAVE_CONFIG_H -I/usr/src/gnu/lib/libstdc++ 
-I/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++ 
-I/usr/src/gnu/lib/libstdc++/../../../contrib/gcc 
-I/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/include 
-frandom-seed=RepeatabilityConsideredGood -fno-implicit-templates 
-ffunction-sections -fdata-sections  -Wno-deprecated -c 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/src/locale-inst.cc -o 
locale-inst.So
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/include/bits/locale_facets.h:
 In member function `_InIter std::money_get_CharT, _InIter::get(_InIter, 
_InIter, bool, std::ios_base, std::_Ios_Iostate, long double) const [with 
_CharT = char, _InIter = std::istreambuf_iteratorchar, std::char_traitschar 
]':
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/include/bits/locale_facets.h:4016:
 internal compiler error: Segmentation fault: 11
Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://gcc.gnu.org/bugs.html for instructions.
*** Error code 1
  Stop in /usr/src/gnu/lib/libstdc++.
*** Error code 1
  Stop in /usr/src/gnu/lib.
*** Error code 1
  motown# uname -a
FreeBSD motown.xx.com 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat Dec 30 
22:22:17 CST 2006 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/MOTOWN  i386
I've cleaned out /usr/obj as the handbook states and rerun cvsup but still 
unable to complete a buildworld.
   
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: buildworld fails, 6.1 to 6.2

2007-01-19 Thread José G . Juanino
El viernes 19 de enero a las 18:42:34 CET, Mark Busby escribió:
 /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/include/bits/locale_facets.h:
  In member function `_InIter std::money_get_CharT, _InIter::get(_InIter, 
 _InIter, bool, std::ios_base, std::_Ios_Iostate, long double) const [with 
 _CharT = char, _InIter = std::istreambuf_iteratorchar, 
 std::char_traitschar ]':
 /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/include/bits/locale_facets.h:4016:
  internal compiler error: Segmentation fault: 11

Check your memory slots with with memtest:

http://www.bitwizard.nl/sig11/


-- 
http://personales.ya.com/banach


pgp3eHxbhoTt9.pgp
Description: PGP signature


Default config file for 6.1-Stable Kernel

2007-01-19 Thread Don O'Neil
Is the config file in the ISO for 6.1-stable correct and accurate how the
generic kernal that is on the dist is built?

It doesn't seem to be setup right to me, so before I build a kernel with
just a few minor changes I figured I'd ask.

If it doesn't have the right settings, does anyone have the build file for
the 6.1-stable generic kernel?

Thanks!

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


Re: Does Firefox run on the SPARC64 port of FreeBSD?

2007-01-19 Thread Michael Johnson

On 1/18/07, Christian Baer [EMAIL PROTECTED] wrote:

Michael Johnson wrote:

 Firefox only runs on = 601101 sparc64.

I am guessing that means a special revision of the UltraSPARC II processor,
but I don't really know, because google gets a lot of hits, mainly
explaining all sorts of soft that seems to have the same problem, but none
of these hits really explain the meaning behind this.

So even though this is getting a little OT:
In English, please!


I upgraded my sparc64 box today (7-CURRENT) and I do see Firefox
segfaulting when starting now, I'm not sure what has changed in Firefox
or FreeBSD yet, but I'll be looking for a fix in the coming days.



Regards
Chris
___
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]


How to catch a memory leak?

2007-01-19 Thread Roger Olofsson

Dear Mailing List,

The application vlc (found in ports) when run on FBSD 5.x and 6.x 
behaves as if there's a memory leak somewhere hidden in it. This is 
appearing when starting vlc from shell playing a playlist and streaming 
video over udp to LAN like so:


vlc --loop playlist.m3u --sout 
'#transcode{acodec=mpga,ab=192}:std{access=udp,mux=,dst=239.255.255.255}'


The memory of the machine slowly gets eaten until the application ends 
with the message 'Killed' when the memory has run out.


I have adressed this on the vlc forum and I have begun glancing on the 
massive source code of this very complex application.


Kris Kennaway has pointed out that it is most likely an issue with threads.

My question is how do I track down a possible memory leak and would 
there be a tool to monitor (from outside the application) what process 
that allocates memory and how much?


Running it through gdb breaks it and attaching gdp to it while running 
breaks it.


Grateful for any pointers to get me in the right direction. Thanks In 
Advance.





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


Re: Flash 9

2007-01-19 Thread lveax

i tested 9,but seems it isn't stable enough
___
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 catch a memory leak?

2007-01-19 Thread Chuck Swiger

On Jan 19, 2007, at 12:00 PM, Roger Olofsson wrote:
The application vlc (found in ports) when run on FBSD 5.x and 6.x  
behaves as if there's a memory leak somewhere hidden in it.

[ ... ]
My question is how do I track down a possible memory leak and would  
there be a tool to monitor (from outside the application) what  
process that allocates memory and how much?


Consider something like the valgrind port or dlmalloc.

--
-Chuck

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


Re: Default config file for 6.1-Stable Kernel

2007-01-19 Thread Pieter de Goeje
On Friday 19 January 2007 19:37, Don O'Neil wrote:
 Is the config file in the ISO for 6.1-stable correct and accurate how the
 generic kernal that is on the dist is built?
You're speaking of the 6.1-RELEASE ISO I presume.
Yes, the kernel that comes with the CD is GENERIC.
 It doesn't seem to be setup right to me, so before I build a kernel with
 just a few minor changes I figured I'd ask.

 If it doesn't have the right settings, does anyone have the build file for
 the 6.1-stable generic kernel?
You can find it in /usr/src/sys/your architecture/conf/GENERIC.

 Thanks!
You're welcome.

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


Re: php5-session port seems borked

2007-01-19 Thread Pieter de Goeje
On Friday 19 January 2007 18:13, Jeff MacDonald wrote:
 Hi,

 I was getting the error

 Fatal error: Call to undefined function session_name() in

 So, I thought i'd try recompiling session support for php, here is a
 transcript of how that went :)

 secure1# make
 ===  Building for php5-session-5.2.0
 /bin/sh /usr/ports/www/php5-session/work/php-5.2.0/ext/session/libtool
 --mode=compile cc  -I.
 -I/usr/ports/www/php5-session/work/php-5.2.0/ext/session
 -DPHP_ATOM_INC
 -I/usr/ports/www/php5-session/work/php-5.2.0/ext/session/include
 -I/usr/ports/www/php5-session/work/php-5.2.0/ext/session/main
 -I/usr/ports/www/php5-session/work/php-5.2.0/ext/session
 -I/usr/local/include/php -I/usr/local/include/php/main
 -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend
 -I/usr/local/include/php/ext  -DHAVE_CONFIG_H  -O -pipe
snip
My output differs significantly from your output, I guess you have removed the 
first 100 lines of output here; if not you should probably do a 'make clean' 
before 'make'. If that is not the case then I would try recompiling all php 
related ports.

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


Re: Hide ports make options/config

2007-01-19 Thread RW
On Fri, 19 Jan 2007 03:21:07 -0500
Charlie Hynson III [EMAIL PROTECTED] wrote:

 I am making myself an easy install sh shell script that configures my
 own basic setup on FreeBSD 6.2 Release. Wondering how I tell make when
 installing a port not to ask me make options/config (silent install).
 For all ports and or individual ports. Since I have my make options
 set in pkgtools config for sysutils/portupgrade.

Unless the behaviour of portupgrade has changed recently, this is a bad
idea. The options in pkgtools.conf only apply to ports that portupgrade
builds directly. During an initial  installation most of the ports get
built as missing dependencies, so miss the options set in pkgtools.conf.

A better way is to set the options in make.conf either directly or by
using sysutils/portconf.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mail etiquette

2007-01-19 Thread Tore Lund
Greg 'groggy' Lehey wrote:
 Top posting is only one issue.  Others of great importance are
 trimming your posts, not breaking the lines into tiny fragments, and
 not writing one-line paragraphs.  Your .sig is a good example of
 things that people should remove from replies.

Hmmm.  While I can agree with the other points, I don't see much wrong
with one-line paragraphs.  I can think of several situations where
one-line paragraphs are perfectly okay.  You may have some special cases
in mind.
-- 
Tore

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


gsfonts in X ?

2007-01-19 Thread Firas Kraiem
Hello everyone !

My problem is that fonts look really horrible in most websites (see screenshot 
at the end of this message). The same problem occured in various Linux 
distros and was solved by installing the gsfonts-x11 package. How would I do 
the same in FBSD ? The print/gsfonts port is installed but I guess I need to 
do something else. Any ideas ?

Firas

P.S. : screenshot available here : http://fkraiem.free.fr/gsfonts.png

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


Re: Mail etiquette

2007-01-19 Thread Bill Moran
In response to Tore Lund [EMAIL PROTECTED]:

 Greg 'groggy' Lehey wrote:
  Top posting is only one issue.  Others of great importance are
  trimming your posts, not breaking the lines into tiny fragments, and
  not writing one-line paragraphs.  Your .sig is a good example of
  things that people should remove from replies.
 
 Hmmm.  While I can agree with the other points, I don't see much wrong
 with one-line paragraphs.  I can think of several situations where
 one-line paragraphs are perfectly okay.  You may have some special cases
 in mind.

I think there's a miscommunication here.  I'm fairly certain that Greg is
specifically referring to paragraphs that are one _long_ line ... as in
scrolling off the right side of the screen, out the window and down the
street.

If you're referring to short paragraphs, like this one, you're OK (IMHO).

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


startup script with non-root user

2007-01-19 Thread Don Munyak

Hello,

I have an application I'd like to startup at boot, however, the script
needs to be started by a non-user account.

If I put the startup script in /usr/local/etc/rc.d/hobbit.sh

How do I get it to start using the user account 'hobbit'

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


Problems with custom kernel fbsd 6.2

2007-01-19 Thread James Hein
Hello,
My kernel for freebsd 6.2 is not compiling but only with my custom config.  I 
was able to compile it with the GENERIC kernel included, but my modified one 
will not compile.  All I see at the end of my compilation is:
awk -f /usr/home/ncvs/src/sys/modules/zlib/../../conf/kmod_syms.awk zlib.kld  
export_syms | xargs -J% objcopy % zlib.kld
ld -Bshareable  -d -warn-common -o zlib.ko.debug zlib.kld
objcopy --strip-debug zlib.ko.debug zlib.ko
1 error
*** Error code 2
1 error
*** Error code 2
1 error
It compiles ok with the generic kernel, but for whatever reason, my custom one 
will not compile.  My process was that I cvsupped the src files(for fbsd 6.2 
upgrade, from 6.1 p5), then cleaned out the /usr/obj stuff, then went back to 
my cvsup src directory and did a make buildworld, then I copied the GENERIC 
kernel file in sys/i386/conf to MAINSERVER, edited the ident option of the 
kernel config to reflect the name, copied MAINSERVER to /root/kernels then 
deleted the one in the conf directory and recreated it as a symlink to the one 
in the kernels directory.(lrwxr-xr-x  1 root  wheel 24 Jan 18 19:42 
MAINSERVER - /root/kernels/MAINSERVER  ls from conf directory.)  Then, I 
went back to the top level of src, and did a make -j4 buildkernel 
KERNCONF=MAINSERVER
I did manage to get the generic config working as is reflected by my uname: 
FreeBSD  6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 19 01:48:20 CST 2007 
james@:/usr/obj/usr/home/ncvs/src/sys/GENERIC  i386

Included is my hardware information from dmsg and my kernel config. If you see 
something in my kernel config that doesn't look right, please let me know.  
Thanks very much.  

James Hein#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.429.2.13 2006/10/09 18:41:36 simon 
Exp $

machine i386
cpu I686_CPU
ident   MAINSERVER

# To statically compile in device wiring instead of /boot/device.hints
#hints  GENERIC.hints # Default places to look for devices.

makeoptions DEBUG=-g# Build kernel with gdb(1) debug symbols

options SCHED_4BSD  # 4BSD scheduler
options PREEMPTION  # Enable kernel thread preemption
options INET# InterNETworking
#options INET6   # IPv6 communications protocols
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
options MD_ROOT # MD is a potential root device
#options NFSCLIENT   # Network Filesystem Client
#options NFSSERVER   # Network Filesystem Server
#options NFS_ROOT# NFS usable as /, requires NFSCLIENT
#optionsPROCFS  # Process filesystem (requires PSEUDOFS)
options PSEUDOFS# Pseudo-filesystem framework
options GEOM_GPT# GUID Partition Tables.
options COMPAT_43   # Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options COMPAT_FREEBSD5 # Compatible with FreeBSD5
#optionsSCSI_DELAY=5000 # Delay (in ms) before probing SCSI
options KTRACE  # ktrace(1) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time 
extensions
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
#optionsADAPTIVE_GIANT  # Giant mutex is adaptive.

device  apic# I/O APIC

# Bus support.
device  eisa
device  pci

# Floppy drives
device  fdc

# ATA and ATAPI devices
device  ata
device  atadisk # ATA disk drives
#device ataraid # ATA RAID drives
device  atapicd # ATAPI CDROM drives
#device 

Re: Problems with custom kernel fbsd 6.2

2007-01-19 Thread Firas Kraiem
On Friday 19 January 2007 23:18, James Hein wrote:
 Hello,
 My kernel for freebsd 6.2 is not compiling but only with my custom config. 
 I was able to compile it with the GENERIC kernel included, but my modified
 one will not compile.  All I see at the end of my compilation is: awk -f
 /usr/home/ncvs/src/sys/modules/zlib/../../conf/kmod_syms.awk zlib.kld 
 export_syms | xargs -J% objcopy % zlib.kld ld -Bshareable  -d -warn-common
 -o zlib.ko.debug zlib.kld
 objcopy --strip-debug zlib.ko.debug zlib.ko
 1 error
 *** Error code 2
 1 error
 *** Error code 2
 1 error
 It compiles ok with the generic kernel, but for whatever reason, my custom
 one will not compile.  My process was that I cvsupped the src files(for
 fbsd 6.2 upgrade, from 6.1 p5), then cleaned out the /usr/obj stuff, then
 went back to my cvsup src directory and did a make buildworld, then I
 copied the GENERIC kernel file in sys/i386/conf to MAINSERVER, edited the
 ident option of the kernel config to reflect the name, copied MAINSERVER to
 /root/kernels then deleted the one in the conf directory and recreated it
 as a symlink to the one in the kernels directory.(lrwxr-xr-x  1 root  wheel
 24 Jan 18 19:42 MAINSERVER - /root/kernels/MAINSERVER  ls from
 conf directory.)  Then, I went back to the top level of src, and did a make
 -j4 buildkernel KERNCONF=MAINSERVER I did manage to get the generic config
 working as is reflected by my uname: FreeBSD  6.2-RELEASE FreeBSD
 6.2-RELEASE #0: Fri Jan 19 01:48:20 CST 2007
 james@:/usr/obj/usr/home/ncvs/src/sys/GENERIC  i386

 Included is my hardware information from dmsg and my kernel config. If you
 see something in my kernel config that doesn't look right, please let me
 know. Thanks very much.

 James Hein

Since you disabled inet6, you should also disable the ipv6 to ipv4 tunneling 
(device   gif).

Hope that helps.

Firas

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


Re: startup script with non-root user

2007-01-19 Thread Greg Albrecht

according to rc.subr(8):

${name}_user
  User to run command as, using chroot(8).  if
  ${name}_chroot is set, otherwise uses su(1).  Only
  supported after /usr is mounted.

so in your /etc/rc.conf you could put:

hobbit_enable=YES
hobbit_user=hobbit


-g

On 19/01/07, Don Munyak [EMAIL PROTECTED] wrote:

Hello,

I have an application I'd like to startup at boot, however, the script
needs to be started by a non-user account.

If I put the startup script in /usr/local/etc/rc.d/hobbit.sh

How do I get it to start using the user account 'hobbit'

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




--
Greg Albrecht ([EMAIL PROTECTED])
An Indie, Hip Hop and IDM Podcast: The Letter G
http://theletterg.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: startup script with non-root user

2007-01-19 Thread Martin Tournoij
On Fri, Jan 19, 2007 at 05:30:00PM -0500, Don Munyak wrote:
 Hello,
 
 I have an application I'd like to startup at boot, however, the script
 needs to be started by a non-user account.
 
 If I put the startup script in /usr/local/etc/rc.d/hobbit.sh
 
 How do I get it to start using the user account 'hobbit'
 
 Thanks
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
But like the Good Book says... There's BIGGER DEALS to come!

You can use su, a very simple example:

script.sh:
su carpetsmoker startup.sh

startup.sh:
echo Hello, I am now running as user carpetsmoker
set


See the su man page for more information

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


Re: Daylight savings time / 6.1 and 4.11

2007-01-19 Thread hal


On Jan  18, 2007, at Thursday, Jan18, 2007 5:36 PM, Murray Taylor wrote:



This is an issue here at work. We have very many FreeBSD 4.x
machines and a
growing number of FreeBSD 6.x. The change when daylight
saving time starts
and ends is an issue for machines in the United States and, we think,
those in Canada. The way to check if your zone file is
correct is to do

zdump -v /etc/localtime | more

Look for the following


/etc/localtime  Sun Mar 11 09:59:59 2007 UTC = Sun Mar 11
01:59:59 2007 PST isdst=0 gmtoff=-28800
/etc/localtime  Sun Mar 11 10:00:00 2007 UTC = Sun Mar 11
03:00:00 2007 PDT isdst=1 gmtoff=-25200
/etc/localtime  Sun Nov  4 08:59:59 2007 UTC = Sun Nov  4
01:59:59 2007 PDT isdst=1 gmtoff=-25200
/etc/localtime  Sun Nov  4 09:00:00 2007 UTC = Sun Nov  4
01:00:00 2007 PST isdst=0 gmtoff=-28800

If you see this, your zone file will handle the change
correctly. The 6.x
series has the corrected zone files. 4.x does not have this.
The best way
to handle this is to copy the zone file from
/usr/share/zoneinfo on a 6.x
machine to your 4.x.


Josef



Interesting:

Just did an upgrade to 6.2-STABLE from 6.1-RELEASE-p10 and here is  
what I see.


uname -r

6.2-STABLE

zdump -v -c 2008 MST7MDT

MST7MDT  Sun Mar 11 08:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 MST  
isdst=0 gmtoff=-25200
MST7MDT  Sun Mar 11 09:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 MDT  
isdst=1 gmtoff=-21600
MST7MDT  Sun Nov  4 07:59:59 2007 UTC = Sun Nov  4 01:59:59 2007 MDT  
isdst=1 gmtoff=-21600
MST7MDT  Sun Nov  4 08:00:00 2007 UTC = Sun Nov  4 01:00:00 2007 MST  
isdst=0 gmtoff=-25200


Shows the new MST - MDT and MDT - MST dates

zdump -v -c 2008 /etc/localtime

/etc/localtime  Sun Apr  1 08:59:59 2007 UTC = Sun Apr  1 01:59:59  
2007 MST isdst=0 gmtoff=-25200
/etc/localtime  Sun Apr  1 09:00:00 2007 UTC = Sun Apr  1 03:00:00  
2007 MDT isdst=1 gmtoff=-21600
/etc/localtime  Sun Oct 28 07:59:59 2007 UTC = Sun Oct 28 01:59:59  
2007 MDT isdst=1 gmtoff=-21600
/etc/localtime  Sun Oct 28 08:00:00 2007 UTC = Sun Oct 28 01:00:00  
2007 MST isdst=0 gmtoff=-25200


Shows the old MST - MDT and MDT - MST dates

What did I miss?  What do I do next?

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


Re: gsfonts in X ?

2007-01-19 Thread Tore Lund
Firas Kraiem wrote:
 Hello everyone !
 
 My problem is that fonts look really horrible in most websites (see 
 screenshot 
 at the end of this message). The same problem occured in various Linux 
 distros and was solved by installing the gsfonts-x11 package. How would I do 
 the same in FBSD ? The print/gsfonts port is installed but I guess I need to 
 do something else. Any ideas ?

For my own part I simply turn off anti-aliasing:

?xml version=1.0?
!DOCTYPE fontconfig SYSTEM fonts.dtd
fontconfig
  match target=font
edit mode=assign name=antialias
  boolfalse/bool
/edit
  /match
/fontconfig

However, one person wrote to me and said that it worked better for him
to turn off the use of color for sub-pixel anti-aliasing, like this:

?xml version=1.0?
 !DOCTYPE fontconfig SYSTEM fonts.dtd
 fontconfig
   match target=font
 edit mode=assign name=rgba
   constnone/const
 /edit
   /match
 /fontconfig

Maybe one of these will work for you if you put it in ~/.fonts.conf.
-- 
Tore

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


bash or bash2

2007-01-19 Thread Agus

Hi...just that questionwhich one is better for an open server
enviroment? are there big diferences??

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


Re: bash or bash2

2007-01-19 Thread Andrew Pantyukhin

On 1/20/07, Agus [EMAIL PROTECTED] wrote:

Hi...just that questionwhich one is better for an open server
enviroment? are there big diferences??


bash is actually bash3, so go with it. It's newer. zsh is
better :-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem upgrading from 6.1-RELEASE to 6.2-RELEASE

2007-01-19 Thread Colin Percival
Amarendra Godbole wrote:
 Fetching metadata index... done.
 Fetching 1 metadata patches. done.
 Applying metadata patches... done.
 Fetching 1 metadata files... failed.
 
 Is this because of a connectivity issue on my end, or some issue with
 update1.freebsd.org? I don't see any connectivity issues from my side
 though. Thanks in advance.

The server has rebooted a couple of times in the past week (I needed to
upgrade it, too!) so it's possible that you were just happened to hit the
window when it was inaccessible.  Aside from that, I haven't seen any
connectivity problems -- but the internet being as unreliable as it is,
it's entirely possible.

FWIW, no files are installed until after everything is fetched, so if the
downloading fails, you can always try again.

Colin Percival


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


Re: startup script with non-root user

2007-01-19 Thread Don Munyak

Thanks so much Martin  Greg. I give these a try.

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


Nautilus fails to burn DVD

2007-01-19 Thread Mike McMillan
When right clicking on an .ISO file to burn to my DVD
player I get the error: 

Error writing to disk
There was an error writing to disk:
Unhandled error, aborting

The correct permissions are set, the user can burn a
DVD from the command line by growisofs -dvd-compat -Z
/dev/cd0=image.iso  I have not tried burning anything
other than ISOs with nautilus.

The user can mount and view DVDs from inside nautilus.
 If I try and burn the ISO without a blank DVD inside,
nautilus warns me about that, and prompts me to insert
a blank disc.  

I have Gnome 2.16.2 installed from packages, installed
on 1/19/07 by pkg_add -r gnome2.  

uname -a
FreeBSD fozzy.ucsc.edu 6.2-STABLE FreeBSD 6.2-STABLE
#2: Fri Jan 19 14:40:35 PST 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/FOZZY  i386



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


test

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


Problems with custom kernel fbsd 6.2

2007-01-19 Thread James Hein
Hi,
Thanks for trying to help, but that didn't seem to be it.  It did the same 
thing, with the same error.  Can you think of anything else that may be wrong?  
I'm considering rebuilding it again with debugging on, and using script to 
output it to a log. It has to be something in my config though, simply because 
the only thing different between my generic and custom compiles is the config 
file. I don't know how to make it not compile certain things with make, which 
makes my compile take awhile on it because of its specs. I've read something on 
how to do that, I just don't 'know' how to do it yet.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


handbook section 25.9.2.3 appears dated (Samba3)

2007-01-19 Thread Steve Franks

Just installed latest ports/net/samba3 and the smb.conf file disagrees with
section
25.9.2.3 Security Settings (Samba)
of the handbook with respect to the default authentication mode so far as I
can tell - look like smbpasswd has been replaced with something newer?

Steve

--
Steve Franks, KE7BTE
Staff Engineer
La Palma Devices, LLC
http://www.lapalmadevices.com
(520) 312-0089
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: handbook section 25.9.2.3 appears dated (Samba3)

2007-01-19 Thread Kris Kennaway
On Fri, Jan 19, 2007 at 08:23:23PM -0700, Steve Franks wrote:
 Just installed latest ports/net/samba3 and the smb.conf file disagrees with
 section
 25.9.2.3 Security Settings (Samba)
 of the handbook with respect to the default authentication mode so far as I
 can tell - look like smbpasswd has been replaced with something newer?

Check the samba documentation (and then consider submitting an update
once you've found the answer).

kris

pgpQYR8fbZvj0.pgp
Description: PGP signature


haldaemon User Not Created

2007-01-19 Thread Jason M. Lenthe
I just did a fresh install of FreeBSD 6.2 booting directly from CD 1 and
when asked to see the packages collection on disc, I said yes and
proceeded to install gnome2.  After rebooting into the new install, I
edited my rc.conf to turn on dbus, hald, polkitd, and avahi-daemon.
After rebooting again I received an error message that the haldaemon
user did not exist.

I checked the install script for hald, and it does indeed include a
command to create this user, but apparently it doesn't work when
installing off the CD before rebooting into the new install.  It is
considered incorrect to install gnome2 in this manner?  Or is this a bug?

I worked around this by force deleting and reinstalling the hald
package.  This successfully created the user.

A second question:  the FAQ at
http://www.freebsd.org/gnome/docs/faq2.html#full-gnome says to add
gnome_enable=YES to take care of dbus, hald, etc in one configuration
line.  This doesn't seem to work.  It seems like you need a separate
enable for dbus, hald, polkitd, and avahi-daemon.  What am I missing?

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


Re: [SOLVED] re(4) incorrect checksum

2007-01-19 Thread Pyun YongHyeon
On Thu, Jan 11, 2007 at 05:34:19PM +0100, Pietro Cerutti wrote:
  On 1/11/07, Pyun YongHyeon [EMAIL PROTECTED] wrote:
  In if_re.c, rev 1.46.2.18 wpaul@ fixed a long standing checksum
  offload issue by padding. Does re(4) work when you disable only Tx
  checksum offload?(i.e. ifconfig re0 -txcsum)
  
  yes, because -txcsum also disables Rx checksum on my NIC.
  
  # ifconfig re0
  
  options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
  
  # ifconfig re0 -txcsum
  
  options=18VLAN_MTU,VLAN_HWTAGGING
  
  

How about attached one?
Please make sure to test 'ping -s 1473 ipaddr_of_gateway'.

-- 
Regards,
Pyun YongHyeon
Index: if_rlreg.h
===
RCS file: /home/ncvs/src/sys/pci/if_rlreg.h,v
retrieving revision 1.64
diff -u -r1.64 if_rlreg.h
--- if_rlreg.h  16 Jan 2007 20:35:23 -  1.64
+++ if_rlreg.h  20 Jan 2007 05:05:21 -
@@ -443,7 +443,12 @@
 #define RL_RX_BUF_SZ   RL_RXBUF_64
 #define RL_RXBUFLEN(1  ((RL_RX_BUF_SZ  11) + 13))
 #define RL_TX_LIST_CNT 4
-#define RL_MIN_FRAMELEN60
+/*
+ * re(4) hardware IPv4 Tx checksum offload could be mangled with 28 bytes
+ * or less IP packets.
+ */
+#define RL_TXCSUM_MINLEN   28
+#define RL_MIN_FRAMELEN(ETHER_HDR_LEN + RL_TXCSUM_MINLEN)
 #define RL_TXTHRESH(x) ((x)  11)
 #define RL_TX_THRESH_INIT  96
 #define RL_RX_FIFOTHRESH   RL_RXFIFO_NOTHRESH
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: FreeBSD challenged by Internet

2007-01-19 Thread Brian

RW wrote:

On Thu, 18 Jan 2007 23:14:33 -0800
Ted Mittelstaedt [EMAIL PROTECTED] wrote:

  
- Original Message - 
From: RW [EMAIL PROTECTED]

To: freebsd-questions@freebsd.org
Sent: Thursday, January 18, 2007 7:43 AM
Subject: Re: FreeBSD challenged by Internet



On Thu, 18 Jan 2007 00:43:02 -0800
Ted Mittelstaedt [EMAIL PROTECTED] wrote:

The OP said that there was no problem with linux and windows, and
that's consistent with what I saw on my d-link ADSL router.
Presumably FreeBSD is doing something slightly different.
  
Yes, it is, it's making IPv6 DNS queries. 



In my case, compiling-out IPv6 support from the kernel was the first
thing I tried, and it didn't make much difference. The DNS proxy worked
properly with Windows, but not FreeBSD.

  

These problems is particularly acute in countries where PPPoA is the
norm.
  


  

And the other thing is that just about all the DSL setups I've seen in
bridging mode do the PPPoE/PPPoA conversion automagically.



There's a history of PPPoE in the US, so people expect to have
it, even over ATM. In the UK BT turned-on PPPoEoA a few years ago, but
didn't really tell anyone, BT resellers generally don't provide much
support for it. LLU operators haven't bothered, because there's no real
demand.



 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  
Careful if you say no to IPv6 in make.conf, my sendmail server wouldnt 
start after I did that until I commented out the IPv6 stuff from 
sendmail.cf.


Bri

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


Password on command line with SCP

2007-01-19 Thread Don O'Neil

Is there any way to pass the password for an SCP command via the command
line as a switch? I'd like to embed SCP in a script and pass the password
once through a command line input from the master script... By defauly any
time I use the -B mode it says passwords are required, and without -B it
asks for the password after the command starts to execute.

Thanks!

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


Re: Password on command line with SCP

2007-01-19 Thread Jeff Royle

Don O'Neil wrote:

Is there any way to pass the password for an SCP command via the command
line as a switch? I'd like to embed SCP in a script and pass the password
once through a command line input from the master script... By defauly any
time I use the -B mode it says passwords are required, and without -B it
asks for the password after the command starts to execute.

Thanks!

___


The only way I know of is to use keys for your authentication.

You then can use 'scp -B -i somekeyfile file1 file2 ... example.com:.'

Hope that helps.

Cheers,

Jeff

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


SSH2 question?

2007-01-19 Thread VeeJay

Hello

I have two questions, please comment...

1. Can one user have more than one public_keys i.e. multiple public_keys?

If yes to above, would all be stored at users path like /home/username/.ssh

If yes, to above, would all public keys be written at the same line
for option in ssh_config file AuthorizedKeysFile?

AuthorizedKeysFile  .ssh/user_authorized_keys

2. What about other users who also have SSH account, How to indentify in
ssh_config file that which public_key belongs to which user?

--
Thanks!

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


SATA II drives

2007-01-19 Thread [EMAIL PROTECTED]
I have a Promise Tx4 SATA II card with a 1/4 terabyte SATA II Western
digital drive.  This drive has some free space, a windows partition and
a Mepis 6.0 Linux partition.  

Will BSD work with a SATA II drive?  Will it see the other operating
systems?

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


Re: Password on command line with SCP

2007-01-19 Thread Dan Nelson
In the last episode (Jan 20), Jeff Royle said:
 Don O'Neil wrote:
  Is there any way to pass the password for an SCP command via the
  command line as a switch? I'd like to embed SCP in a script and
  pass the password once through a command line input from the master
  script... By defauly any time I use the -B mode it says passwords
  are required, and without -B it asks for the password after the
  command starts to execute.
 
 The only way I know of is to use keys for your authentication.
 
 You then can use 'scp -B -i somekeyfile file1 file2 ... example.com:.'

You can also use ports/lang/expect to script entering the password, but
it's more fragile than using keys.

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