FreeBSD 5.4 release firewall/router and PF not loading rule sets

2005-07-07 Thread Nekdo Nekje
Hello list...

I have a few questions I would like to ask. Some may sound stupid, but
please bear with me since I'm new to FreeBSD and networking for that
matter...

So, I'm trying to build this router/firewall thingy for our local
network. The box has 3 NIC's, one for the Internet and two for the
local subnets. I have to build it so that the two subnets can not
comunicate with each other. I would also like to implement NAT for the
both subnets so that only the routers IP is visible on the net.  The
subnet hosts all have C-class adresses and not private network
addresses. I would also like to disable any connections from the
outside to the host and only allow the basic net services to be passed
out on the Internet, like web, smtp, etc...

The problem is I can not seem to get the firewall (PF) to work. The
computers IP's are all seen from the internet, NAT is not working...
if I type pfctl -s rules I only get two lines saying "ALTQ support not
compiled in the kernel. Disabling ALTQ support." Do I need ALTQ
support for what I'm trying to do.

Any ideas on what should I check on my system? I read the man for
pfctl but couldn't find the command for just checking the pf.conf file
for syntax errors. I was using pf -f /etc/pf.conf for that, and it's
not outputting any errors only the ALTQ thingy and the ssh session
disconnects so than I have to reconnect.
I have pf enabled in rc.conf and as far as I can tell it's loading
fine and the pflogd is also running. It's just not working... guess
I'm measing something or am just plain stupid...

Maybe I didn't understend how this is supposed to be so here is my
first attempt at PF rule set building... ;) Here is my pf.conf

--
ext_if="rl0"
ped_if="xl0"
adm_if="xl1"

priv_nets="{ 127.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/8 }"
porti="{ 20 21 25 80 443 }"

set loginterface $ext_if

scrub in all

nat on $ext_if from $ped_if:network to any -> ($ext_if)
nat on $ext_if from $adm_if:network to any -> ($ext_if)

block all

pass quick on lo0 all

antispoof quick for $ped_if inet
antispoof quick for $adm_if inet

block drop in quick on $ext_if from $priv_nets to any
block drop out quick on $ext_if from any to $priv_nets
block drop in quick on $ped_if from $ped_if:network to $adm_if
block drop in quick on $adm_if from $adm_if:network to $ped_if

pass in on $ped_if proto {tcp, udp } from $ped_if:network to $ext_if
port $porti keep state
pass out on $ped_if proto {tcp, udp } from $ped_if:network to $ext_if
port $porti keep state

pass in on $adm_if proto {tcp, udp } from $adm_if:network to $ext_if
port $porti keep state
pass out on $adm_if proto {tcp, udp} from $adm_if:network to $ext_if
port $porti keep state

pass in on $ext_if proto {tcp, udp} from any port { 22 } keep state

pass out on $ext_if proto tcp all modulate state flags S/SA
pass out on $ext_if proto { udp, icmp } all keep state
-

I you have any ideas please help. Thanks for your time and answers...

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


Re: tar Syntax Help

2005-07-07 Thread Carl Delsey
Try leaving off the leading / from each line in your exclude list. I
think what is happening is that, by default, tar drops the leading / from
each file it tars up so that when you untar, it extracts all files
relative to the current directory. I think because of this, when you
specify absolute paths in your exclude file, tar fails to match them.

Alternatively, if you want to keep the absolute paths, try tar with the -P
option. Your exclude list may work as is in that case. I haven't ever
tried that myself though. Just be careful when you untar if you do use that
switch.

Carl

On Thu, Jul 07, 2005 at 08:20:50PM -0700, Drew Tomlinson wrote:
> I'm trying to copy an entire file system while using an exclude file to 
> avoid copying things such as /dev, /proc, etc.  I've read the man page 
> and found the -X or --exclude-from tar option.  I've create a file 
> called /exclude.list.  It contains lines such as:
> 
> /exclude.list
> /dev
> /proc
> 
> But I can't figure out how to form the correct command line.  I 
> basically want to do this:
> 
> tar -cvf - --exclude-from /exclude.list -C / . | tar xpf - -C .
> 
> I've search the web and found examples that look similar to the above 
> but this does not work for me.  tar attempts to copy /dev and I get all 
> the associated errors.  I've tried other placements of either "-X", "X", 
> and "--exclude from" on the command line various things happen from it 
> just being ignored to tar thinking I want to create and archive named 
> "-X", etc., to tar trying to add a file named "-X", etc. to the current 
> archive.  I'm at a loss.
> 
> I'm using 4.11 and trying to make a good backup before upgrading to 
> 5.4.  Can anyone tell me the secret incantation to make this work?
> 
> Thanks,
> 
> Drew
> 
> -- 
> Visit The Alchemist's Warehouse
> Magic Tricks, DVDs, Videos, Books, & More!
> 
> http://www.alchemistswarehouse.com
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: tar Syntax Help

2005-07-07 Thread Matt Emmerton
> On 7/7/2005 8:38 PM Matt Emmerton wrote:
> >
> >>I'm trying to copy an entire file system while using an exclude file to
> >>avoid copying things such as /dev, /proc, etc.  I've read the man page
> >>and found the -X or --exclude-from tar option.  I've create a file
> >>called /exclude.list.  It contains lines such as:
> >>
> >>/exclude.list
> >>/dev
> >>/proc
> >>
> >>But I can't figure out how to form the correct command line.  I
> >>basically want to do this:
> >>
> >>tar -cvf - --exclude-from /exclude.list -C / . | tar xpf - -C .
> >>
> >>I've search the web and found examples that look similar to the above
> >>but this does not work for me.  tar attempts to copy /dev and I get all
> >>the associated errors.  I've tried other placements of either "-X", "X",
> >>and "--exclude from" on the command line various things happen from it
> >>just being ignored to tar thinking I want to create and archive named
> >>"-X", etc., to tar trying to add a file named "-X", etc. to the current
> >>archive.  I'm at a loss.
> >>
> >>I'm using 4.11 and trying to make a good backup before upgrading to
> >>5.4.  Can anyone tell me the secret incantation to make this work?
> >>
> >>
> >
> >-X only works with specific files, not entire directories.  You will need
to
> >list every file in /dev or /proc that you want to exclude, which is
somewhat
> >painful.
> >
> >The backup strategy that I've used on production systems is to back up
each
> >directory in a separate tar file.  Not only does this work quicker (since
> >you can fire off multiple tar sessions in parallel), but you can avoid
> >"special" directories like /dev and /proc, temporary mount points such as
> >/cdrom and /mnt, and other directories that don't need to backed up, such
as
> >/tmp.  It's also quite handy when you've got large volumes of data (such
as
> >in /home) and the complete system image won't fit on a single tape.
> >
> >The general notion of my script is the following:
> >
> >#!/bin/sh
> >for i in bin boot etc home modules root sbin usr var
> >do
> >  tar cvzf /backups/$i.`date +%Y%m%d`.tar.gz $i &
> >done
> >wait
> >echo "Backups completed!"
> >
> Thanks for your reply.  I can do it this way and will for the sake of
> speed.  However this post suggests that one can use wildcards.
>
> http://lists.freebsd.org/pipermail/freebsd-questions/2004-July/052207.html
>
> Have you ever tried that?  I did but was not successful.

I just tried this out (on 5.4-REL) and the wildcards appear to work fine.
If you specify wildcards on the command line (ie, with --exclude or -X), you
must quote them to prevent premature expansion.

--
Matt

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


Re: tar Syntax Help

2005-07-07 Thread Drew Tomlinson

On 7/7/2005 8:38 PM Matt Emmerton wrote:

 


I'm trying to copy an entire file system while using an exclude file to
avoid copying things such as /dev, /proc, etc.  I've read the man page
and found the -X or --exclude-from tar option.  I've create a file
called /exclude.list.  It contains lines such as:

/exclude.list
/dev
/proc

But I can't figure out how to form the correct command line.  I
basically want to do this:

tar -cvf - --exclude-from /exclude.list -C / . | tar xpf - -C .

I've search the web and found examples that look similar to the above
but this does not work for me.  tar attempts to copy /dev and I get all
the associated errors.  I've tried other placements of either "-X", "X",
and "--exclude from" on the command line various things happen from it
just being ignored to tar thinking I want to create and archive named
"-X", etc., to tar trying to add a file named "-X", etc. to the current
archive.  I'm at a loss.

I'm using 4.11 and trying to make a good backup before upgrading to
5.4.  Can anyone tell me the secret incantation to make this work?
   



-X only works with specific files, not entire directories.  You will need to
list every file in /dev or /proc that you want to exclude, which is somewhat
painful.

The backup strategy that I've used on production systems is to back up each
directory in a separate tar file.  Not only does this work quicker (since
you can fire off multiple tar sessions in parallel), but you can avoid
"special" directories like /dev and /proc, temporary mount points such as
/cdrom and /mnt, and other directories that don't need to backed up, such as
/tmp.  It's also quite handy when you've got large volumes of data (such as
in /home) and the complete system image won't fit on a single tape.

The general notion of my script is the following:

#!/bin/sh
for i in bin boot etc home modules root sbin usr var
do
 tar cvzf /backups/$i.`date +%Y%m%d`.tar.gz $i &
done
wait
echo "Backups completed!"

Thanks for your reply.  I can do it this way and will for the sake of 
speed.  However this post suggests that one can use wildcards.


http://lists.freebsd.org/pipermail/freebsd-questions/2004-July/052207.html

Have you ever tried that?  I did but was not successful.

Thanks,

Drew

--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books, & More!

http://www.alchemistswarehouse.com

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


Re: tar Syntax Help

2005-07-07 Thread Matt Emmerton


> I'm trying to copy an entire file system while using an exclude file to
> avoid copying things such as /dev, /proc, etc.  I've read the man page
> and found the -X or --exclude-from tar option.  I've create a file
> called /exclude.list.  It contains lines such as:
>
> /exclude.list
> /dev
> /proc
>
> But I can't figure out how to form the correct command line.  I
> basically want to do this:
>
> tar -cvf - --exclude-from /exclude.list -C / . | tar xpf - -C .
>
> I've search the web and found examples that look similar to the above
> but this does not work for me.  tar attempts to copy /dev and I get all
> the associated errors.  I've tried other placements of either "-X", "X",
> and "--exclude from" on the command line various things happen from it
> just being ignored to tar thinking I want to create and archive named
> "-X", etc., to tar trying to add a file named "-X", etc. to the current
> archive.  I'm at a loss.
>
> I'm using 4.11 and trying to make a good backup before upgrading to
> 5.4.  Can anyone tell me the secret incantation to make this work?

-X only works with specific files, not entire directories.  You will need to
list every file in /dev or /proc that you want to exclude, which is somewhat
painful.

The backup strategy that I've used on production systems is to back up each
directory in a separate tar file.  Not only does this work quicker (since
you can fire off multiple tar sessions in parallel), but you can avoid
"special" directories like /dev and /proc, temporary mount points such as
/cdrom and /mnt, and other directories that don't need to backed up, such as
/tmp.  It's also quite handy when you've got large volumes of data (such as
in /home) and the complete system image won't fit on a single tape.

The general notion of my script is the following:

#!/bin/sh
for i in bin boot etc home modules root sbin usr var
do
  tar cvzf /backups/$i.`date +%Y%m%d`.tar.gz $i &
done
wait
echo "Backups completed!"

--
Matt Emmerton

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


tar Syntax Help

2005-07-07 Thread Drew Tomlinson
I'm trying to copy an entire file system while using an exclude file to 
avoid copying things such as /dev, /proc, etc.  I've read the man page 
and found the -X or --exclude-from tar option.  I've create a file 
called /exclude.list.  It contains lines such as:


/exclude.list
/dev
/proc

But I can't figure out how to form the correct command line.  I 
basically want to do this:


tar -cvf - --exclude-from /exclude.list -C / . | tar xpf - -C .

I've search the web and found examples that look similar to the above 
but this does not work for me.  tar attempts to copy /dev and I get all 
the associated errors.  I've tried other placements of either "-X", "X", 
and "--exclude from" on the command line various things happen from it 
just being ignored to tar thinking I want to create and archive named 
"-X", etc., to tar trying to add a file named "-X", etc. to the current 
archive.  I'm at a loss.


I'm using 4.11 and trying to make a good backup before upgrading to 
5.4.  Can anyone tell me the secret incantation to make this work?


Thanks,

Drew

--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books, & More!

http://www.alchemistswarehouse.com

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


pam_start error

2005-07-07 Thread Bob Bomar
I am creating a custom image from 5.4, and
when I test the enviroment in chroot, I am
getting an error when using passwd:

# passwd 
Changing local password for root
passwd: pam_start(): system error

I have:

# ls /lib
libalias.so.4   libdevstat.so.4 libmd.so.2
libatm.so.2 libedit.so.4libncurses.so.5
libbegemot.so.1 libgeom.so.2libreadline.so.5
libbsdxml.so.1  libgpib.so.0libsbuf.so.2
libbsnmp.so.2   libipsec.so.1   libufs.so.2
libc.so.5   libipx.so.2 libutil.so.4
libcam.so.2 libkiconv.so.1  libz.so.2
libcrypt.so.2   libkvm.so.2
libcrypto.so.3  libm.so.3

# ls /usr/lib
aoutlibgnuregex.so  libpcap.so
libasn1.so  libgnuregex.so.2libroken.so
libasn1.so.5libipsec.so librpcsvc.so
libc.so libipsec.so.1   librpcsvc.so.2
libc.so.4   libipx.so   libssh.so
libc_r.so   libipx.so.2 libssh.so.2
libc_r.so.4 libkadm.so  libssl.so
libcom_err.so   libkadm.so.3libssl.so.3
libcom_err.so.2 libkrb.so   libutil.so
libcrypt.so libkrb5.so  libwrap.so
libcrypt.so.2   libkvm.so   libwrap.so.3
libcrypto.solibm.so libz.so
libcrypto.so.3  libmd.sopam_deny.so
libdevstat.so   libmp.sopam_opie.so
libdevstat.so.2 libncurses.so   pam_opieaccess.so
libdialog.so.4  libnetgraph.so  pam_permit.so
libedit.so  libnetgraph.so.1pam_radius.so
libedit.so.3libopie.so  pam_ssh.so
libfetch.so libpam.so   pam_tacplus.so
libfetch.so.3   libpam.so.2 pam_unix.so

What am I missing?

-- 
Bob Bomar
[EMAIL PROTECTED]
-
FreeBSD: The Power to Serve
http://www.freebsd.org



pgpVegQ2ivTqb.pgp
Description: PGP signature


3c589 pcmcia not active during install

2005-07-07 Thread Lee Harr

I am trying to install 5.4 on a Compaq LTE 5100 laptop.

Yesterday, I installed 4.11 on this system, and when the
installer came up, there was a dialog that said the
ethernet card was detected. It worked fine for the
install.

5.4 is not detecting the card.

This is an Etherlink III 10Base card with a 3C589C.

I found another message by googling which said I might
need to use the "Options" menu to rescan the hardware,
but nothing I tried there makes any difference.

Any other pointers?

_
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/


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


Re: ipsec with dynamic ip

2005-07-07 Thread Mike Tancsa
On Thu, 07 Jul 2005 13:52:15 +0200, in sentex.lists.freebsd.questions
you wrote:

>hi there,
>
>is there anyway (howto) to establish freebsd ipsec with dynamic ip?
>i got an a fix ip addressed freebsd server and would like t connect with 
>another freebsd but with dynamic address.

Using racoon, have a look at the 
generate_policy on;
option in racoon.conf

---Mike

Mike Tancsa, Sentex communications http://www.sentex.net
Providing Internet Access since 1994
[EMAIL PROTECTED], (http://www.tancsa.com)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Did we must put the mounted partition '/' and '/boot' in the same slice ?

2005-07-07 Thread Shark Wang
Thanks a lot, I had got the key points !

-Shark

On 7/8/05, Alex Zbyslaw <[EMAIL PROTECTED]> wrote:
> Shark Wang wrote:
> 
> >as I had read some partitions material about legacy Unix, I try to
> >separate '/boot' from '/' for my large space on '/' .
> >
> >another question come up : Is ad0s1d the first blocks of the disk which
> >based on partitions layout that my gave?
> >
> >
> >
> No, it isn't. ad0s1a would be the first blocks after the MBR.  Really,
> FreeBSD does not need or expect /boot to be separate so would not have
> put it at the front of the disk.  The only system I know which does that
> is Linux.  Out of curiosity, which "legacy Unix"?
> 
> --Alex
> 
> 


-- 
I'm just a bitMaker !
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: PF firewall log problems

2005-07-07 Thread fbsd_user
I am viewing pf log this way
tcpdump -n -e -ttt -r /var/log/pflog

Your reference to pflog man page is useless.
Been there already.
That gives some field names but not what is in them

One of the pf mane pages says there is way to shorten buffer write
cycle time.
How do tell PF in rc.conf these over ride options??



-Original Message-
From: Hornet [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 07, 2005 8:54 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED] ORG
Subject: Re: PF firewall log problems


On 7/7/05, fbsd_user <[EMAIL PROTECTED]> wrote:
> How can I change the default wait time for PF buffer writes to the
log file?
> The log records are being held in the buffers for a long time
before being
> written out.
> I want to change this to a shorter time.
 How are you viewing the data?

Realtime tcpdump
tcpdump -n -e -ttt -i pflog0
or
Viewing pflog
tcpdump -n -e -ttt -r /var/log/pflog

Anything written to the tty is going to be a bit slower, of course
if
you can "jack into your brain" all would be solved.


>
>
> Are there any tools or ports for use on the PF log file to create
better
> standardized reports?
I think there is one called hatchet. Of course you can't beat good
old
fashion grep,awk, and maybe sed

>
> Where can I find a description of the PF log record fields?
http://www.freebsd.org/cgi/man.cgi?query=pflog&sektion=4
>
> Thanks
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>


Erik

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


RE: speedy-cgi-perl mail list or forum

2005-07-07 Thread Tim Abbott

Have you tried http://www.codingforums.com/forumdisplay.php?f=5 ?

Tim



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Noah
Sent: Thursday, July 07, 2005 7:58 PM
To: freebsd-questions@freebsd.org
Subject: speedy-cgi-perl mail list or forum



Somebody please direct me to a speedy-cgi-perl support mail list and/or
support forum?

thanks in advance,

Noah

___
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: PF firewall log problems

2005-07-07 Thread Hornet
On 7/7/05, fbsd_user <[EMAIL PROTECTED]> wrote:
> How can I change the default wait time for PF buffer writes to the log file?
> The log records are being held in the buffers for a long time before being
> written out.
> I want to change this to a shorter time.
 How are you viewing the data?

Realtime tcpdump
tcpdump -n -e -ttt -i pflog0
or
Viewing pflog
tcpdump -n -e -ttt -r /var/log/pflog

Anything written to the tty is going to be a bit slower, of course if
you can "jack into your brain" all would be solved.


> 
> 
> Are there any tools or ports for use on the PF log file to create better
> standardized reports?
I think there is one called hatchet. Of course you can't beat good old
fashion grep,awk, and maybe sed

> 
> Where can I find a description of the PF log record fields?
http://www.freebsd.org/cgi/man.cgi?query=pflog&sektion=4
> 
> Thanks
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 


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


DarwinStreamingServer problem

2005-07-07 Thread steve lasiter
This is my second post and I wanted to say the replies
to my first post were very very helpful, thank you all
for what you are doing. 

I'm on release 5.4 and I'm attempting to install the
DarwinStreaming Server from the ports. I updated my
ports first. I then went to the
/net/DarwinStreamingServer port and upon my "make
clean install" command I get the following: 

"Please get DSS-v5_0_3_2.zip from
http://developer.apple.com/darwin/project/streaming/
And you must accept the APSL. Then, put in
/usr/ports/distfiles/DDS-v5_0_3_2.zip"

Of course I went to the location and could not find
any reference to this zip file. I've done an exaustive
search on Google, the BSD site, and the Apple site on
"DDS-v5_0_3_2.zip" and got no hits. 

I then thought I might do a manual and downloaded the
recent DarwinStreamingSrvr5.5-Source from the website.
I got it to compile successfuly with the ./Buildit
command but now the Install script will not work and
it appears that if I modified it somewhere I could get
it to work but I'm not that advanced and could not
find any good examples of the modified script on the
web.

I appreciate any help you guys can give me on this
one.

Dean Lasiter

 




Sell on Yahoo! Auctions – no fees. Bid on great items.  
http://auctions.yahoo.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Did we must put the mounted partition '/' and '/boot' in the same slice ?

2005-07-07 Thread Alex Zbyslaw

Shark Wang wrote:

as I had read some partitions material about legacy Unix, I try to 
separate '/boot' from '/' for my large space on '/' .


another question come up : Is ad0s1d the first blocks of the disk which 
based on partitions layout that my gave?


 

No, it isn't. ad0s1a would be the first blocks after the MBR.  Really, 
FreeBSD does not need or expect /boot to be separate so would not have 
put it at the front of the disk.  The only system I know which does that 
is Linux.  Out of curiosity, which "legacy Unix"?


--Alex

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



Re: Problems since 5.3-RELEASE-p15

2005-07-07 Thread Alex Zbyslaw

Tuc at T-B-O-H wrote:


The only pattern I see is that it starts all of a sudden, goes for
a little while, EVERYTHING you try to do fails, I get the 
/libexec/ld-elf.so.1: top: Shared object has no run-time symbol table

type errors, and then all of a sudden it goes about its merry way.

I'm not sure what a "run-time symbol table" is, and if it gets
rebuilt at any time, or is something thats part of the program, or what
But its not like one time it behaves one way, then another time it behaves
another. 

My description would be hazy at best, so hopefully someone more au fait 
will chime in.  But I can definitively state that, no it isn't something 
that gets rebuilt every so often.


However, if you run ktrace on a simple program like ls: ktrace ls
then do a kdump | less, you will see that after finding ls, 
/libexec/ld-elf.so.1 is the first thing accessed.  So, when things start 
working again, /libexec/ld-elf.so.1 is magically fixed, which just makes 
no sense.


I assume there are no other messages obvious errors in /var/log/messages?

One final thought is that it could be the disk.  You could try 
installing smartmontools and see if the disk thinks it is OK -- though 
of course it could be the controller.  But in such a case I might expect 
other errors.


I'd think if it was a memory issue, it'd be something other than 
the same "Shared object..." thing each time. One time it'd be a bus error,

another time a "this isn't executable", etc
 

The classic bad memory symptoms are periodic reboots, and random 
segmentation faults.  The latter is particular to bad memory, I would 
say.  The fomer can have other causes.


It's the intermittent nature of the fault that really makes me think 
hardware.  Am I right in remembering that you upgraded to 5.4 and still 
had the same problems?


--Alex



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


PF firewall log problems

2005-07-07 Thread fbsd_user
How can I change the default wait time for PF buffer writes to the log file?
The log records are being held in the buffers for a long time before being
written out.
I want to change this to a shorter time.


Are there any tools or ports for use on the PF log file to create better
standardized reports?

Where can I find a description of the PF log record fields?

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


speedy-cgi-perl mail list or forum

2005-07-07 Thread Noah


Somebody please direct me to a speedy-cgi-perl support mail list and/or
support forum?

thanks in advance,

Noah

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


Re: Did we must put the mounted partition '/' and '/boot' in the same slice ?

2005-07-07 Thread Shark Wang
as I had read some partitions material about legacy Unix, I try to 
separate '/boot' from '/' for my large space on '/' .

another question come up : Is ad0s1d the first blocks of the disk which 
based on partitions layout that my gave?

thanks!

-Shark


On 7/8/05, John McAree <[EMAIL PROTECTED]> wrote:
> > the following is my partitions layout, pls help to do some check:
> >
> > ad0s1d  /boot  -> 30M
> > ad0s1a  /  -> 512M
> > ad0s1b  swap -> 512M
> > ad0s1e  /usr -> 6144M
> > ad0s1f   /var -> 512M
> > ad0s1g  /home -> 2017M
> > ad0s1h  /tmp  -> 512M
> 
> I believe /boot needs to be on the first 1024 blocks of the disk. Why do
> you want a separate partition for /boot?
> 
> John.
> 
> 
> 
> 


-- 
I'm just a bitMaker !
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Has this box been hacked?

2005-07-07 Thread J65nko BSD
On 7/6/05, Brett Glass <[EMAIL PROTECTED]> wrote:
> 
> A client had a network problem, and I wanted to make sure that his FreeBSD 
> 4.11
> router wasn't the cause of it, so I rebooted it. I then did a "last" 
> command
> and saw the following:
> 
> root ttyv0 Tue Jul 5 12:01 - 12:05 (00:04)
> admin ttyp0 localhost Tue Jul 5 11:57 - 11:57 (00:00)
> root ttyv0 Tue Jul 5 11:49 - 12:00 (00:11)
> reboot ~ Tue Jul 5 11:49
> shutdown ~ Tue Jul 5 11:47
> root ttyv0 Tue Jul 5 11:37 - shutdown (00:10)
> reboot ~ Tue Jul 5 11:36
> shutdown ~ Tue Jul 5 05:36
> shutdown ~ Tue Jul 5 11:22
> 
> Note the "shutdown" entry with the time 5:36 AM, which is odd because it's 
> out of
> chronological order and the other logs don't show the typical debug 
> messages
> at that time. Where might such an entry come from? How likely is it that 
> the box
> has been rooted? Are there known exploits that might have been used to 
> root a
> FreeBSD 4.11-RELEASE machine? (The only unusual activity I can see in the 
> logs is a
> few attempts to log in as "root" via SSH. The attempts that were logged 
> were
> not successful, but of course a skilled attacker would cover his tracks.)


If you would have installed something like tripwire or aide, you would have 
been in a better position to find out whether the box has been owned. See 
http://www.onlamp.com/pub/a/bsd/2003/04/03/FreeBSD_Basics.html

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


SSH and gigabit NICs

2005-07-07 Thread Alex Zbyslaw

The setup:
  Both machines FreeBSD/i386 5.4
  a) AMD64 machine with on-board Marvel Gigabit NIC
  b) Athlon XP with cheap SMC Gigabit NIC (also Marvel)
  Cabling is brand new Cat5e.  Have tried various different cables of 
different lengths to no effect.


To rule out problems with a cheap switch, I have just wired the NICs 
together.


To benchmark, I had a huge bz2 file (430Mb) which I copied with scp and 
ftp from machine a to machine b.


On cheap NetGear 100Mb cards, the transfers both took ~40 seconds which 
is ~80Mbit.


On the new Gigabit hardware, ftp drops to 17 seconds, but scp takes 
longer!  Out of the box (no tweaking of any relevant parameters) it now 
takes over 53 seconds.


After tweaking tons of stuff, I can make scp take maybe 43 seconds, but 
at those settings, ftp takes well over a minute!


What is going on?  I know that 17 seconds for the ftp is hardly stellar 
(200+Mbit or so) but for £50 I could live with that.  But for ssh to get 
slower just boggles.  These days, almost anything you do over a network 
ends up using ssh -- specifically I was hoping to make rsyncs faster -- 
but for them to get slower?


I've seen odd ssh network behaviour on other boxen.  A couple old Linux 
servers were 2-3 times slower for ssh than ftp, but I put it down to 
oldness and Linux and general weirdness.  They were on a 100Mbit network.


When I monitor with "systat -ifstat" I can see ftp keeping up a 
reasonably regular transfer rate, but when I watch the ssh, it yoyos up 
and down wildly, but still never gets above about 80Mbit.  Both machines 
have plenty of idle CPU and the ssh is not compressed.


Does anyone have a clue what might be going on?


So far I have tried:
   HZ=1000 on both machines.  No effect.

   various net.inet.tcp.recvspace and net.inet.tcp.recvspace values on 
both machines.  About 4096 (down from the default of 32768) makes ssh 
work "best", but stuffs ftp.  65536 improves ftp a bit but ssh goes up 
to 53 seconds (~64Mbit).


   MTU values of 5-9000.  ~6000 the scp seems to start a bit faster 
(maybe 100Mbit) but soon drops back into the 60s.


Before anyone asks, the driver doesn't seem to support polling.

--Alex, baffled and really quite annoyed.



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


Re: Problems since 5.3-RELEASE-p15

2005-07-07 Thread Tuc at T-B-O-H
> > I did the standard tests for 24 hours (21 passes) and it didn't fail.
> >I ran the 90 minute fading one for 24 hours (8 runs) and it too didn't fail.
>
> It's almost a shame when a test like this passes.  It's much easier to 
> just replace some memory and get on with things than be stuck with an 
> intermittent problem.
>
Understood. This is a Dell Laptop that JUST went out of 3 year warranty
in May. Its still in pretty great condition, but if I had to start screwing
around with it, I might just get something else...
> 
> Could something be overheating?
>
I replaced the fans 6 months ago because it seemed a bearing was going.
(And we found SO MUCH dust inside it that it wasn't cooling properly. Now that
its clean, the fans even turn off at times!) Its happened on my lap, its 
happened on a glass table.
>
> Are you still getting random 
> segfaults?  Is there *any* pattern you can see?
> 
The only pattern I see is that it starts all of a sudden, goes for
a little while, EVERYTHING you try to do fails, I get the 
/libexec/ld-elf.so.1: top: Shared object has no run-time symbol table
type errors, and then all of a sudden it goes about its merry way.

I'm not sure what a "run-time symbol table" is, and if it gets
rebuilt at any time, or is something thats part of the program, or what
But its not like one time it behaves one way, then another time it behaves
another. I'd think if it was a memory issue, it'd be something other than 
the same "Shared object..." thing each time. One time it'd be a bus error,
another time a "this isn't executable", etc

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


RE: FreeBSD 5.4 and Sli 3114 sata controller broken?

2005-07-07 Thread Gayn Winters

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Evan Jones
> Sent: Thursday, July 07, 2005 12:49 PM
> To: freebsd-questions@freebsd.org
> Subject: FreeBSD 5.4 and Sli 3114 sata controller broken?
> 
> I have a Tyan s2882 mainboard with an integrated SLI 3114 SATA RAID 
> controler on board. I have four 120gig sata drives attached 
> to it. I can 
> succefully build a RAID 0, 1 or 10 in the BIOS, but the created RAID 
> dosent seem to show up in Freebsd. The drives get detected but I can 
> only seem to use them as individual drives and not a raid 
> array. I can 
> successfully create a raid using ATA control but from what I 
> understand 
> that is a software RAID only.
> 
> Anyone know what is going on? I cant seem to find any info on 
> Sli 3114 
> support in freebsd.
> 
My guess is that you are going to have to wait for the "mk III" patches
in the ata controller driver that are coming in 6.0.  Those of us using
the Intel ICH5 and ICH6 controllers (search for ICH6 in the mail
archives for questions, hackers, and hardware) are in the same boat.  To
learn about mk III (or mk3) read Soren Schmidt's March progress report
on the ata driver. Man ata shows that the SiI 3114 is supported, at
least as a set of disks.

-gayn


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


Re: Did we must put the mounted partition '/' and '/boot' in the same slice ?

2005-07-07 Thread Alex Zbyslaw

RW wrote:


On Thursday 07 July 2005 18:27, Alex Zbyslaw wrote:
 


1Gb just because it's peanuts to a 200Gb disk, and I don't bother with
/tmp separately.
   



I use one because, by default,  / is mounted without soft-updates. It is 
possible to turn it on, but for the sake of a few hundred MB it seems 
sensible to go with the default of a separate partition.  
 

If I ran a machine with users on it, I might agree :-)  But there's just 
me and I set TMP and TMPDIR to /var/tmp which many programs used to pick 
up on when I first set them years ago.  sort does, for e.g. and that was 
always a tmp killer in the kind of environments I worked in.  Plus *I* 
know to use /var/tmp.


Nowadays my /tmp has a small number of sockets and gubbins so I doubt 
softupdates would make any perceivable difference to me.


Horses for courses,

--Alex

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


Re: Problems since 5.3-RELEASE-p15

2005-07-07 Thread Alex Zbyslaw

Tuc at T-B-O-H wrote:

*If* there are intermittent memory errors, then it could be that SETI 
always happens to get them in the data it is dealing with, in which case 
it might run perfectly happily but just produce the wrong results.  
Memtest is dull, and stops you using your PC, but like Windows virus 
scans, it seems like a necessary evil in this case.


   


I did the standard tests for 24 hours (21 passes) and it didn't fail.
I ran the 90 minute fading one for 24 hours (8 runs) and it too didn't fail.
 

It's almost a shame when a test like this passes.  It's much easier to 
just replace some memory and get on with things than be stuck with an 
intermittent problem.


Could something be overheating?  Are you still getting random 
segfaults?  Is there *any* pattern you can see?


--Alex

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


Re: Libz

2005-07-07 Thread Louis LeBlanc
On 07/07/05 11:37 PM, Kvesdn Gbor sat at the `puter and typed:
> Frank de Bot wrote:
> 
> > Recently a bug was discoverd which affected various unix platforms 
> > including FreeBSD. ( 
> > ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:16.zlib.asc 
> > )
> >
> > But it say it only affects the 5.x releases and not the 4. Is it true 
> > only the 5.x releases are affected? (I think it rather odd, because 
> > libz is pretty 'universal'
> >
> Hi,
> 
> Yes, it's true. Only 5.3 and 5.4 are affected. Colin Percival has 
> confirmed this on the freebsd-security list.

Keep in mind, this is already fixed in both versions:
Corrected:  2005-07-06 14:01:11 UTC (RELENG_5, 5.4-STABLE)
2005-07-06 14:01:30 UTC (RELENG_5_4, 5.4-RELEASE-p4)
2005-07-06 14:01:52 UTC (RELENG_5_3, 5.3-RELEASE-p18)

5.4-RELEASE-p4 was tagged yesterday.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Gilbert's Discovery:
  Any attempt to use the new super glues results in the two pieces
  sticking to your thumb and index finger rather than to each other.


pgpOQ8B5k1yMg.pgp
Description: PGP signature


Re: Serial Access

2005-07-07 Thread Emanuel Strobl
Am Freitag, 8. Juli 2005 00:16 schrieb Frank de Bot:
> Hi,
>
> My server support by bios remote access via the serial port. Configured
> it, bios shows up on my terminal client. But as soon the FreeBSD has
> been loaded. (Last message I get through was: "Press [enter] to boot
> immedialty".
> Is it needed for FreeBSD to take over the serial console from here, or
> can it continue to show things without the help of FreeBSD?

You have to tell the kernel to use the serial port as console. You can do 
so by adding the line "console=comconsole" to /boot/loader.conf or 
instruct the first stage loader to use serail console with the command 
'echo -h > /boot.config'
For serial port configuration you may also want to have a look at the 
sysctl machdep.conspeed and to the /etc/make.conf option 
BOOT_COMCONSOLE_PORT and BOOT_COMCONSOLE_SPEED, both compile time 
variables.
If you want to have a login on the serial line you also have to enable a 
getty in /etc/ttys.

Best regards,

-Harry

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


pgpn9QwR21nax.pgp
Description: PGP signature


Serial Access

2005-07-07 Thread Frank de Bot

Hi,

My server support by bios remote access via the serial port. Configured 
it, bios shows up on my terminal client. But as soon the FreeBSD has 
been loaded. (Last message I get through was: "Press [enter] to boot 
immedialty".
Is it needed for FreeBSD to take over the serial console from here, or 
can it continue to show things without the help of FreeBSD?


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


Re: Remote connection as root help

2005-07-07 Thread Jeremy Johnston

Efren Bravo wrote:


Hi,

Well first off its not the best idea, to enable it you need to edit 
the PermitRootLogin
option in /etc/ssh/sshd_config then restart sshd (sh /etc/rc.d/sshd 
restart)




Would be a better idea to enter as other member user of wheel group 
and then become this user as root by "su" command or the group wheel 
has special privileges?


Thanks..



Correct. And your username must be part of the wheel group to allow it 
to preform su


--
Jeremy Johnston (President / Developer)
SmartServ Hosting
Email: [EMAIL PROTECTED]
Phone: 1-250-402-6634 Ext. 201
Cell: 1-250-402-9583 | [EMAIL PROTECTED] (150 Characters max)
Fax: 1-250-402-6634
Toll Free: 1-866-702-2904

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


Re: Libz

2005-07-07 Thread Charles Swiger

On Jul 7, 2005, at 5:31 PM, Frank de Bot wrote:
Recently a bug was discoverd which affected various unix platforms  
including FreeBSD. ( ftp://ftp.freebsd.org/pub/FreeBSD/CERT/ 
advisories/FreeBSD-SA-05:16.zlib.asc )


But it say it only affects the 5.x releases and not the 4. Is it  
true only the 5.x releases are affected? (I think it rather odd,  
because libz is pretty 'universal'


I believe FreeBSD-4.x ships with zlib-1.1.x, whereas the security  
problem described above affects only the zlib-1.2.x branch found in  
FreeBSD-5, Linux, and elsewhere.  I seem to recall Colin Percival  
saying as much, but you can double-check with the security officer if  
you like...


--
-Chuck


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



Re: Remote connection as root help

2005-07-07 Thread Jeremy Johnston
Well first off its not the best idea, to enable it you need to edit the 
PermitRootLogin

option in /etc/ssh/sshd_config then restart sshd (sh /etc/rc.d/sshd restart)

Efren Bravo wrote:


Hi,

Al last I could enter to freeBSD by SSH. After I erased all 
inetd_enable="YES" instances except one. Also I downloaded the PuTTY 
client.
I had to create other user to connect myself to freeBSD because it 
doesn't leave me as root user.

How do I to connect myself to freeBSD by ssh as root?

Thanks...



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





--
Jeremy Johnston (President / Developer)
SmartServ Hosting
Email: [EMAIL PROTECTED]
Phone: 1-250-402-6634 Ext. 201
Cell: 1-250-402-9583 | [EMAIL PROTECTED] (150 Characters max)
Fax: 1-250-402-6634
Toll Free: 1-866-702-2904

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


Re: Libz

2005-07-07 Thread Kövesdán Gábor

Frank de Bot wrote:

Recently a bug was discoverd which affected various unix platforms 
including FreeBSD. ( 
ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:16.zlib.asc 
)


But it say it only affects the 5.x releases and not the 4. Is it true 
only the 5.x releases are affected? (I think it rather odd, because 
libz is pretty 'universal'



Hi,

Yes, it's true. Only 5.3 and 5.4 are affected. Colin Percival has 
confirmed this on the freebsd-security list.


Cheers,

Gábor Kövesdán
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Remote connection as root help

2005-07-07 Thread jdyke



Efren Bravo wrote:

Hi,

Al last I could enter to freeBSD by SSH. After I erased all 
inetd_enable="YES" instances except one. Also I downloaded the PuTTY 
client.
I had to create other user to connect myself to freeBSD because it 
doesn't leave me as root user.

How do I to connect myself to freeBSD by ssh as root?


you really should not.  but if you abosolutely want to, you can modify 
/etc/ssh/sshd_config and add PermitRootLogin Yes, its either commented out 
andn/or set to no, the default.  If this is open to any other traffic except for 
local lan, then just use the better approach


ssh in and then `su - ` and enter roots password.  of course to do this, you 
must have entered your other user as part of group 'wheel'


Jd


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


Libz

2005-07-07 Thread Frank de Bot
Recently a bug was discoverd which affected various unix platforms 
including FreeBSD. ( 
ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:16.zlib.asc 
)


But it say it only affects the 5.x releases and not the 4. Is it true 
only the 5.x releases are affected? (I think it rather odd, because libz 
is pretty 'universal'


Thanks in advanced,

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


Remote connection as root help

2005-07-07 Thread Efren Bravo

Hi,

Al last I could enter to freeBSD by SSH. After I erased all 
inetd_enable="YES" instances except one. Also I downloaded the PuTTY 
client. 

I had to create other user to connect myself to freeBSD because it 
doesn't leave me as root user. 


How do I to connect myself to freeBSD by ssh as root?

Thanks...



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


Re: Problems since 5.3-RELEASE-p15

2005-07-07 Thread Tuc at T-B-O-H
> >>If the problem is intermittent then I would  suspect the hardware (I 
> >>know, everyone always says that, but I really have used a brand new 
> >>server which segfaulted randomly and it really was a memory problem).  
> >>Try building a memtest86 CD from the ports (from a different machine 
> >>perhaps) and running it for at least several hours, though it might not 
> >>take that long.  Your BIOS might also support extended memory tests (try 
> >>disabling quick POST) though they are supposed to be less effective than 
> >>memtest86.
> >>
> >>
> >>
> > Ok, will try that. I run SETI so I think I'm constantly stressing 
> >the machine. But I'll give it a try.
> >
> *If* there are intermittent memory errors, then it could be that SETI 
> always happens to get them in the data it is dealing with, in which case 
> it might run perfectly happily but just produce the wrong results.  
> Memtest is dull, and stops you using your PC, but like Windows virus 
> scans, it seems like a necessary evil in this case.
> 
I did the standard tests for 24 hours (21 passes) and it didn't fail.
I ran the 90 minute fading one for 24 hours (8 runs) and it too didn't fail.

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


Re: perl-after-upgrade

2005-07-07 Thread Bob Hall
On Thu, Jul 07, 2005 at 01:53:48PM -0500, Paul Schmehl wrote:
> --On Thursday, July 07, 2005 14:39:44 -0400 Bob Hall <[EMAIL PROTECTED]> 
> wrote:
> >
> >As I stated above, I used portupgrade. That means that any messages at
> >the end of the perl upgrade scrolled off the screen and out of the
> >screen buffer when portupgrade carried out the next install. One of the
> >problems with portupgrade is that you rarely see the post-upgrade
> >messages when you do batch upgrades.
> >
> That's an easily solved problem.  After you finish portupgrade, view the 
> pkg-message file in any port you have a question about.  E.g. % view 
> /usr/ports/lang/perl5.8/pkg-message

Aha. The instructions in the post-install message are not repeated in
the perldoc page. And the message does suggest using "rehash". Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Fwd: Re[2]: hang-up's on clean FreeBSD 5.4 on compilation

2005-07-07 Thread Zenobius Xavierus
DM> Looks like that. There is a couple of memory test programs, I like these:

DM> http://www.memtest86.com/
DM> http://www.ocztechnology.com/aboutocz/press/2004/114

Yep, it was memory problem.
I had 2x64Mb and 1x128 - the 64 modules was my friends.. and they are
corrupt.

Sorry for trashing up the list ;-)

-- 
Pozdrawiam
Piotr Baranowski

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


Re: [nycbug-talk] Minimum Install w/ X11 on Virtual PC

2005-07-07 Thread Hakim Singhji
Actually Garrett,

Your first answer was quite helpful as well. I am trying to figure out
the best way to use X windows, a wm and xterm in a manner that will
not slow down performance to a crawl, something that will resemble my
development environment on my main machine without a full install or
dual boot on this laptop.

Will I be able to find everthing I need in the ports collection.

On 7/7/05, Garrett Cooper <[EMAIL PROTECTED]> wrote:
> Ah, yes... sorry for the poor answering earlier. eterm, aterm and
> xterm all handle terminal coloring very nicely, with eterm being the most
> resource hungry of the three terminals listed previously.
> My apologies for the confusing prior answer.
> -Garrett
> 
> On Thu, 7 Jul 2005, Scott Robbins wrote:
> 
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> >
> > On Thu, Jul 07, 2005 at 02:40:09PM -0400, Hakim Singhji wrote:
> >> Hi All,
> >>
> >> I am going to install FreeBSD 5.4 on MS Virtual PC. My PC (IBM
> >> Thinkpad R51) only has 256MB of RAM available. I do not want to
> >> install Gnome or KDE however I would like the benefits of colors in
> >> text editors, backgrounds, etc. as this is going to be a testing
> >> environment for application development.
> >>
> >> What is the best way to go about doing this? In VPC I allot
> >> approximately 96MB of RAM for the Virtual Machine and I was thinking
> >> 256MB for virtual SWAP (would that even help... the default is like
> >> 166MB for 96MB of RAM... or something like that.
> >
> > If I understand your question, you'd like a window manager that is
> > pretty light but has the ability to do backgrounds and the like.
> > Both rxvt and aterm are lightweight xterms that can show backgrounds as
> > they run--there is also eterm, but it's more resource intensive.
> >
> > As for the window manager itself, I like fluxbox, and it's considered
> > relatively light.  There is weewm, which can have a background
> > image--actually, I think most of them can now, using xsetbg.  Fluxbox
> > has fbsetbg which will set a background, but does require some other
> > program to do that--some people use feh, xv and xli are two other
> > programs that can work with fbsetbg to set your background.
> >
> > I hope I've understood that aspect of your question.  If not, apologies
> > for wasting your time.
> >
> > - --
> > Scott Robbins
> > GPG KeyID EB3467D6
> > ( 1B848 077D 66F6 9DB0 FDC2  A409 FA54 D575 EB34 67D6 )
> > gpg --keyserver pgp.mit.edu --recv-keys EB3467D6
> > -BEGIN PGP SIGNATURE-
> > Version: GnuPG v1.4.1 (FreeBSD)
> >
> > iD8DBQFCzYqd+lTVdes0Z9YRApO9AJ43TJNzDlkyrOj3A+7TiVevl9W+FACdFVhQ
> > BdnWUecCa8GxxOzbuwFjRlQ=
> > =j3gM
> > -END PGP SIGNATURE-
> > ___
> > 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]"
> 


-- 
Hakim Singhji
[EMAIL PROTECTED]
"Where danger is, grows the saving power also" (qtd. in Heidegger 28).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: perl-after-upgrade

2005-07-07 Thread RW
On Wednesday 06 July 2005 20:10, Bob Hall wrote:
> I don't know squat about perl. I recently ran portupgrade, which
> upgraded perl. Goose stopped working, because the location for Curses.pm
> was no longer in @INC. I tried to run perl-after-upgrade, but I couldn't
> get it to run. I've got a book that said to use
>   # perl perl-after-upgrade
> or
>   # ./perl-after-upgrade
> I also tried just
>   # perl-after-upgrade
> No joy. Just for the heck of it, I tried
>   * sh perl-after-upgrade
> and dang if it didn't run. It didn't look to me like an sh script, but
> what do I know? It wasn't supposed to change anything without the -f
> option, but goose ran afterward, so it obviously changed things. I
> looked for Curses.pm, and it moved to a directory listed in @INC.
>
> Anybody have any advice? Comments? How was I supposed to get
> perl-after-upgrade to run?

I used to be a bit sceptical about portmanager, but for the sake of a few 
hours of unattended extra building, you can simply ignore this kind of thing. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [nycbug-talk] Minimum Install w/ X11 on Virtual PC

2005-07-07 Thread Garrett Cooper
	Ah, yes... sorry for the poor answering earlier. eterm, aterm and 
xterm all handle terminal coloring very nicely, with eterm being the most 
resource hungry of the three terminals listed previously.

My apologies for the confusing prior answer.
-Garrett

On Thu, 7 Jul 2005, Scott Robbins wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, Jul 07, 2005 at 02:40:09PM -0400, Hakim Singhji wrote:

Hi All,

I am going to install FreeBSD 5.4 on MS Virtual PC. My PC (IBM
Thinkpad R51) only has 256MB of RAM available. I do not want to
install Gnome or KDE however I would like the benefits of colors in
text editors, backgrounds, etc. as this is going to be a testing
environment for application development.

What is the best way to go about doing this? In VPC I allot
approximately 96MB of RAM for the Virtual Machine and I was thinking
256MB for virtual SWAP (would that even help... the default is like
166MB for 96MB of RAM... or something like that.


If I understand your question, you'd like a window manager that is
pretty light but has the ability to do backgrounds and the like.
Both rxvt and aterm are lightweight xterms that can show backgrounds as
they run--there is also eterm, but it's more resource intensive.

As for the window manager itself, I like fluxbox, and it's considered
relatively light.  There is weewm, which can have a background
image--actually, I think most of them can now, using xsetbg.  Fluxbox
has fbsetbg which will set a background, but does require some other
program to do that--some people use feh, xv and xli are two other
programs that can work with fbsetbg to set your background.

I hope I've understood that aspect of your question.  If not, apologies
for wasting your time.

- --
Scott Robbins
GPG KeyID EB3467D6
( 1B848 077D 66F6 9DB0 FDC2  A409 FA54 D575 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCzYqd+lTVdes0Z9YRApO9AJ43TJNzDlkyrOj3A+7TiVevl9W+FACdFVhQ
BdnWUecCa8GxxOzbuwFjRlQ=
=j3gM
-END PGP SIGNATURE-
___
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: [nycbug-talk] Minimum Install w/ X11 on Virtual PC

2005-07-07 Thread Scott Robbins
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, Jul 07, 2005 at 02:40:09PM -0400, Hakim Singhji wrote:
> Hi All,
> 
> I am going to install FreeBSD 5.4 on MS Virtual PC. My PC (IBM
> Thinkpad R51) only has 256MB of RAM available. I do not want to
> install Gnome or KDE however I would like the benefits of colors in
> text editors, backgrounds, etc. as this is going to be a testing
> environment for application development.
> 
> What is the best way to go about doing this? In VPC I allot
> approximately 96MB of RAM for the Virtual Machine and I was thinking
> 256MB for virtual SWAP (would that even help... the default is like
> 166MB for 96MB of RAM... or something like that.

If I understand your question, you'd like a window manager that is
pretty light but has the ability to do backgrounds and the like.  
Both rxvt and aterm are lightweight xterms that can show backgrounds as
they run--there is also eterm, but it's more resource intensive.  

As for the window manager itself, I like fluxbox, and it's considered
relatively light.  There is weewm, which can have a background
image--actually, I think most of them can now, using xsetbg.  Fluxbox
has fbsetbg which will set a background, but does require some other
program to do that--some people use feh, xv and xli are two other
programs that can work with fbsetbg to set your background.

I hope I've understood that aspect of your question.  If not, apologies
for wasting your time.

- -- 
Scott Robbins
GPG KeyID EB3467D6
( 1B848 077D 66F6 9DB0 FDC2  A409 FA54 D575 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCzYqd+lTVdes0Z9YRApO9AJ43TJNzDlkyrOj3A+7TiVevl9W+FACdFVhQ
BdnWUecCa8GxxOzbuwFjRlQ=
=j3gM
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Did we must put the mounted partition '/' and '/boot' in the same slice ?

2005-07-07 Thread RW
On Thursday 07 July 2005 18:27, Alex Zbyslaw wrote:
> 1Gb just because it's peanuts to a 200Gb disk, and I don't bother with
> /tmp separately.

I use one because, by default,  / is mounted without soft-updates. It is 
possible to turn it on, but for the sake of a few hundred MB it seems 
sensible to go with the default of a separate partition.  

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


Re: FreeBSD 5.4 and Sli 3114 sata controller broken?

2005-07-07 Thread Chad Leigh -- Shire.Net LLC


On Jul 7, 2005, at 1:48 PM, Evan Jones wrote:


hey,

I have a Tyan s2882 mainboard with an integrated SLI 3114 SATA RAID  
controler on board. I have four 120gig sata drives attached to it.  
I can succefully build a RAID 0, 1 or 10 in the BIOS, but the  
created RAID dosent seem to show up in Freebsd. The drives get  
detected but I can only seem to use them as individual drives and  
not a raid array. I can successfully create a raid using ATA  
control but from what I understand that is a software RAID only.


Anyone know what is going on? I cant seem to find any info on Sli  
3114 support in freebsd.


That is actually a software raid as well with BIOS support for setup  
and configuration...  But the driver does all the RAID work at  
runtime...


I have the S2882 and could not get the Sil3114 working even with JBOS  
with 5.3 back when I was installing and going live and so I ended up  
with a RocketRAID 1820a from highpoint (and use it for JBOD only --  
my RAID is SCSI and Adaptec 2200S)


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


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


FreeBSD 5.4 and Sli 3114 sata controller broken?

2005-07-07 Thread Evan Jones

hey,

I have a Tyan s2882 mainboard with an integrated SLI 3114 SATA RAID 
controler on board. I have four 120gig sata drives attached to it. I can 
succefully build a RAID 0, 1 or 10 in the BIOS, but the created RAID 
dosent seem to show up in Freebsd. The drives get detected but I can 
only seem to use them as individual drives and not a raid array. I can 
successfully create a raid using ATA control but from what I understand 
that is a software RAID only.


Anyone know what is going on? I cant seem to find any info on Sli 3114 
support in freebsd.


Jul  7 14:06:56 greysrv syslogd: kernel boot file is /boot/kernel/kernel
Jul  7 14:06:56 greysrv kernel: Copyright (c) 1992-2005 The FreeBSD Project.
Jul  7 14:06:56 greysrv kernel: Copyright (c) 1979, 1980, 1983, 1986, 
1988, 1989, 1991, 1992, 1993, 1994
Jul  7 14:06:56 greysrv kernel: The Regents of the University of 
California. All rights reserved.
Jul  7 14:06:56 greysrv kernel: FreeBSD 5.4-RELEASE #1: Wed Jun 15 
23:13:01 EDT 2005
Jul  7 14:06:56 greysrv kernel: 
[EMAIL PROTECTED]:/usr/src/sys/amd64/compile/GREYSRV
Jul  7 14:06:56 greysrv kernel: Timecounter "i8254" frequency 1193182 Hz 
quality 0
Jul  7 14:06:56 greysrv kernel: CPU: AMD Opteron(tm) Processor 242 
(1593.20-MHz K8-class CPU)
Jul  7 14:06:56 greysrv kernel: Origin = "AuthenticAMD"  Id = 0xf5a  
Stepping = 10
Jul  7 14:06:56 greysrv kernel: 
Features=0x78bfbff
Jul  7 14:06:56 greysrv kernel: AMD 
Features=0xe0500800

Jul  7 14:06:56 greysrv kernel: real memory  = 1073676288 (1023 MB)
Jul  7 14:06:56 greysrv kernel: avail memory = 1027469312 (979 MB)
Jul  7 14:06:56 greysrv kernel: ACPI APIC Table: 
Jul  7 14:06:56 greysrv kernel: FreeBSD/SMP: Multiprocessor System 
Detected: 2 CPUs

Jul  7 14:06:56 greysrv kernel: cpu0 (BSP): APIC ID:  0
Jul  7 14:06:56 greysrv kernel: cpu1 (AP): APIC ID:  1
Jul  7 14:06:56 greysrv kernel: MADT: Forcing active-low polarity and 
level trigger for SCI
Jul  7 14:06:56 greysrv kernel: ioapic0  irqs 0-23 on 
motherboard
Jul  7 14:06:56 greysrv kernel: ioapic1  irqs 24-27 on 
motherboard
Jul  7 14:06:56 greysrv kernel: ioapic2  irqs 28-31 on 
motherboard

Jul  7 14:06:56 greysrv kernel: acpi0:  on motherboard
Jul  7 14:06:56 greysrv kernel: acpi0: Power Button (fixed)
Jul  7 14:06:56 greysrv kernel: Timecounter "ACPI-fast" frequency 
3579545 Hz quality 1000
Jul  7 14:06:56 greysrv kernel: acpi_timer0: <24-bit timer at 
3.579545MHz> port 0x5008-0x500b on acpi0

Jul  7 14:06:56 greysrv kernel: cpu0:  on acpi0
Jul  7 14:06:56 greysrv kernel: acpi_throttle0:  on 
cpu0

Jul  7 14:06:56 greysrv kernel: cpu1:  on acpi0
Jul  7 14:06:56 greysrv kernel: pcib0:  port 
0xcf8-0xcff on acpi0

Jul  7 14:06:56 greysrv kernel: pci0:  on pcib0
Jul  7 14:06:56 greysrv kernel: pcib1:  at device 
6.0 on pci0

Jul  7 14:06:56 greysrv kernel: pci3:  on pcib1
Jul  7 14:06:56 greysrv kernel: ohci0:  
mem 0xfeafc000-0xfeafcfff irq 19 at device 0.0 on pci3

Jul  7 14:06:56 greysrv kernel: usb0: OHCI version 1.0, legacy support
Jul  7 14:06:56 greysrv kernel: usb0:  on 
ohci0

Jul  7 14:06:56 greysrv kernel: usb0: USB revision 1.0
Jul  7 14:06:56 greysrv kernel: uhub0: AMD OHCI root hub, class 9/0, rev 
1.00/1.00, addr 1
Jul  7 14:06:56 greysrv kernel: uhub0: 3 ports with 3 removable, self 
powered
Jul  7 14:06:56 greysrv kernel: ohci1:  
mem 0xfeafd000-0xfeafdfff irq 19 at device 0.1 on pci3

Jul  7 14:06:56 greysrv kernel: usb1: OHCI version 1.0, legacy support
Jul  7 14:06:56 greysrv kernel: usb1:  on 
ohci1

Jul  7 14:06:56 greysrv kernel: usb1: USB revision 1.0
Jul  7 14:06:56 greysrv kernel: uhub1: AMD OHCI root hub, class 9/0, rev 
1.00/1.00, addr 1
Jul  7 14:06:56 greysrv kernel: uhub1: 3 ports with 3 removable, self 
powered
Jul  7 14:06:56 greysrv kernel: atapci0:  
port 
0xa800-0xa80f,0xac00-0xac03,0xb000-0xb007,0xb400-0xb403,0xbc00-0xbc07 
mem 0xfeafec00-0xfeafefff irq 19 at device 5.0 on pci3

Jul  7 14:06:56 greysrv kernel: ata2: channel #0 on atapci0
Jul  7 14:06:56 greysrv kernel: ata3: channel #1 on atapci0
Jul  7 14:06:56 greysrv kernel: ata4: channel #2 on atapci0
Jul  7 14:06:56 greysrv kernel: ata5: channel #3 on atapci0
Jul  7 14:06:56 greysrv kernel: pci3:  at device 6.0 (no 
driver attached)
Jul  7 14:06:56 greysrv kernel: fxp0:  
port 0xa400-0xa43f mem 0xfeaa-0xfeab,0xfeafb000-0xfeafbfff irq 
18 at device 8.0 on pci3

Jul  7 14:06:56 greysrv kernel: miibus0:  on fxp0
Jul  7 14:06:56 greysrv kernel: inphy0:  
on miibus0
Jul  7 14:06:56 greysrv kernel: inphy0:  10baseT, 10baseT-FDX, 
100baseTX, 100baseTX-FDX, auto

Jul  7 14:06:56 greysrv kernel: fxp0: Ethernet address: 00:e0:81:2d:ec:b5
Jul  7 14:06:56 greysrv kernel: isab0:  at device 7.0 on 
pci0

Jul  7 14:06:56 greysrv kernel: isa0:  on isab0
Jul  7 14:06:56 greysrv kernel: atapci1:  
port 0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0

Jul  7 14:06:56 greysrv kernel: ata0: channel #0 on atapci1
Jul  7 14:06:56 greysrv kernel: ata1: channel #1 on atapci1
Jul  7 14:06:56 greysr

Re: SA rules_dujour

2005-07-07 Thread Martin Hepworth
Hi

May I suggest you as this on the sa-users list. You'll get specific
help for you config

--
Martin

On 7/7/05, Jean-Paul Natola <[EMAIL PROTECTED]> wrote:
> Hi everyone,
> 
> I have installed Spamassassin and rules_dujour
> 
> I have NOT changed any settings , it is a vanilla install no config files or
> anything has been modified, yet  spam is coming right through
> 
> Here's the header of one; I feel I'm missing something , I mean just by the
> subject I would think it would detect it--
> 
> 
> X-Spam-Score: 0.2 (/)
> X-Spam-Report: Spam detection software, running on the system "mfilter", has
> identified this incoming email as possible spam.  The original
> message
> has been attached to this so you can view it (if it isn't spam) or
> label
> similar future email.  If you have any questions, see
> the administrator of that system for details.
> Content preview:  Tuesday/Wednesday Sale! Fares from $49*. Tuesdays
> and
> Wednesdays just became your favorite days of the week! Take advantage
> of these great low fares and book your vacation today! Book on
> spiritair.com by 11:59PM EST on 7/6/05 for travel on Tuesdays and
> Wednesdays only from 7/12/05-9/28/05 unless otherwise noted. [...]
> Content analysis details:   (0.2 points, 5.0 required)
> pts rule name  description
> 
> 
> 
> 
> 
> 
> 
> Jean-Paul Natola
> Network Administrator
> Information Technology
> Family Care International
> 588 Broadway Suite 503
> New York, NY 10012
> Phone:212-941-5300 xt 36
> Fax:  212-941-5563
> Mailto: [EMAIL PROTECTED]
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Minimum Install w/ X11 on Virtual PC

2005-07-07 Thread Garrett Cooper

Hakim,
	You're pressing it a bit considering that X does use up a bit of 
resources, and considering that you have an additional system overlayed on 
top of Windows (I assume you are using XP), you will want to actually go 
out and get more RAM. You are unfortunately working with conditions which 
may become extremely laggy for you and will ultimately lead to less than 
desired performance. I know because I ran Windows XP on vmware, and having 
another Virtual machine running on your computer eats up a lot of 
resources, and hence decreases the peak usable performance of the system 
greatly. Either get at least 512 Mb Ram, or consider switching from 
Gnome/KDE to something doable like Fluxbox, FWM2, or XFCE since they don't 
use nearly as much memory as Gnome/KDE.

-Garrett

On Thu, 7 Jul 2005, Hakim Singhji wrote:


Hi All,

I am going to install FreeBSD 5.4 on MS Virtual PC. My PC (IBM
Thinkpad R51) only has 256MB of RAM available. I do not want to
install Gnome or KDE however I would like the benefits of colors in
text editors, backgrounds, etc. as this is going to be a testing
environment for application development.

What is the best way to go about doing this? In VPC I allot
approximately 96MB of RAM for the Virtual Machine and I was thinking
256MB for virtual SWAP (would that even help... the default is like
166MB for 96MB of RAM... or something like that.

Again... how can I get the most out of x11/xorg with out using a great
deal of resources?

Best,
--
Hakim Singhji
[EMAIL PROTECTED]
"Where danger is, grows the saving power also" (qtd. in Heidegger 28).
___
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: SA rules_dujour

2005-07-07 Thread Louis LeBlanc
On 07/07/05 02:04 PM, Jean-Paul Natola sat at the `puter and typed:
> Hi everyone, 
> 
> I have installed Spamassassin and rules_dujour
> 
> I have NOT changed any settings , it is a vanilla install no config files or
> anything has been modified, yet  spam is coming right through
> 
> Here's the header of one; I feel I'm missing something , I mean just by the
> subject I would think it would detect it--
> 
> 
> X-Spam-Score: 0.2 (/)
> X-Spam-Report: Spam detection software, running on the system "mfilter", has
>   identified this incoming email as possible spam.  The original message
>   has been attached to this so you can view it (if it isn't spam) or label
>   similar future email.  If you have any questions, see
>   the administrator of that system for details.
>   Content preview:  Tuesday/Wednesday Sale! Fares from $49*. Tuesdays and
>   Wednesdays just became your favorite days of the week! Take advantage
>   of these great low fares and book your vacation today! Book on
>   spiritair.com by 11:59PM EST on 7/6/05 for travel on Tuesdays and
>   Wednesdays only from 7/12/05-9/28/05 unless otherwise noted. [...] 
>   Content analysis details:   (0.2 points, 5.0 required)
>   pts rule name  description
> 

Note the score and the required score.  0.2 is a good long way from 5.0.
You may wish to take any saved spam and use it to teach SA what spam is,
because the Bayes learner is actually quite good at swaying this the
right way.  Also, if you're like me, you'll want to bump the required
score down.

When I was getting 200+ spams a day (some days over 300), SA was letting
through 2 or 3 a week.  Now I get 3 or 4 a week (I shut off the problem
domain for 6 months) and SA lets 1 or 2 a week.  It's a numbers game.
The more educated Bayes is, the smaller the percentage of FNs are.

The problem is that Bayes won't kick in until you teach it with enough
spam - I don't remember the kick-in point offhand.  I've seen a message
get pushed through several different installations of SA (all the same
version and config) and come out with drastically different scores, all
because of Bayes.  The better systems are ALWAYS educated on a regular
basis.

Also, since you're starting off, you'll get a lot of mileage out of the
SA list.

I use Maildir mailboxes on my system and when I learned how important
teaching Bayes is, I actually wrote a little perl script to check for
spam messages marked as read (Maildir/.spam/cur/*) and pipe them
automagically through the Bayes learner before moving them off to the
spam backup directory.  I also separate out the autolearned spam and
just push that off to the backup regardless of the read/unread status.
I think I've gotten about 2 FPs in 3 years of using SA.  Those FPs
really weren't spam, but they were all messages I didn't want to get
anyway, like chain letters or some other rubbish.  :)

HTH
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Linus' Law:
  There is no heavier burden than a great potential.


pgpND9n0VCxmn.pgp
Description: PGP signature


Re: perl-after-upgrade

2005-07-07 Thread Paul Schmehl

--On Thursday, July 07, 2005 14:39:44 -0400 Bob Hall <[EMAIL PROTECTED]> wrote:


As I stated above, I used portupgrade. That means that any messages at
the end of the perl upgrade scrolled off the screen and out of the
screen buffer when portupgrade carried out the next install. One of the
problems with portupgrade is that you rarely see the post-upgrade
messages when you do batch upgrades.

That's an easily solved problem.  After you finish portupgrade, view the 
pkg-message file in any port you have a question about.  E.g. % view 
/usr/ports/lang/perl5.8/pkg-message


Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Minimum Install w/ X11 on Virtual PC

2005-07-07 Thread Hakim Singhji
Hi All,

I am going to install FreeBSD 5.4 on MS Virtual PC. My PC (IBM
Thinkpad R51) only has 256MB of RAM available. I do not want to
install Gnome or KDE however I would like the benefits of colors in
text editors, backgrounds, etc. as this is going to be a testing
environment for application development.

What is the best way to go about doing this? In VPC I allot
approximately 96MB of RAM for the Virtual Machine and I was thinking
256MB for virtual SWAP (would that even help... the default is like
166MB for 96MB of RAM... or something like that.

Again... how can I get the most out of x11/xorg with out using a great
deal of resources?

Best,
-- 
Hakim Singhji
[EMAIL PROTECTED]
"Where danger is, grows the saving power also" (qtd. in Heidegger 28).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: perl-after-upgrade

2005-07-07 Thread Bob Hall
On Thu, Jul 07, 2005 at 06:55:58PM +0200, legalois wrote:
> Bob Hall wrote:
> >I don't know squat about perl. I recently ran portupgrade, which
> >upgraded perl. Goose stopped working, because the location for Curses.pm
> >was no longer in @INC. I tried to run perl-after-upgrade, but I couldn't
> >get it to run. I've got a book that said to use
> > # perl perl-after-upgrade
> >or
> > # ./perl-after-upgrade
> >I also tried just
> > # perl-after-upgrade
> >No joy. Just for the heck of it, I tried 
> > * sh perl-after-upgrade
> >and dang if it didn't run. It didn't look to me like an sh script, but
> >what do I know? It wasn't supposed to change anything without the -f
> >option, but goose ran afterward, so it obviously changed things. I
> >looked for Curses.pm, and it moved to a directory listed in @INC.
> >
> >Anybody have any advice? Comments? How was I supposed to get
> >perl-after-upgrade to run?
> >___
> >freebsd-questions@freebsd.org mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >To unsubscribe, send any mail to 
> >"[EMAIL PROTECTED]"
> >
> >
> 
> A longish message appears at the end of the perl upgrade build, that 
> explains how to run perl-after-upgrade. 

As I stated above, I used portupgrade. That means that any messages at
the end of the perl upgrade scrolled off the screen and out of the
screen buffer when portupgrade carried out the next install. One of the
problems with portupgrade is that you rarely see the post-upgrade
messages when you do batch upgrades.

> If you overlooked that, the same 
> instructions are at
> #perldoc perl-after-upgrade

That's identical to the man page, which didn't supply any information
that helped. So if the man page, perldoc page, and post-install message
were the same, none of them contained the information I needed.

> If the script is in a directory not in your root's path, find the full 
> path to the script with
> #locate perl-after-upgrade
> (but make sure your locate db is up-to-date, first).

As I stated above, I tried "./perl-after-upgrade" and I looked at the
script, neither of which would have been possible if I didn't know where
the script was.

As I mentioned in my followup post, I solved the problem with "rehash".
A mention of this in /usr/ports/UPDATING would help those of use who
rarely use tcsh unless we need to run something as root. Also in the man
page. Any situation that requires perl-after-upgrade probably also
requires rehash.

I found the solution at 
http://marc.theaimsgroup.com/?l=freebsd-ports&m=111980508717308&w=2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: procmail kill problems in dmesg?

2005-07-07 Thread Matthias Buelow
Matt Juszczak <[EMAIL PROTECTED]> writes:

>Procmail is the only one segfaulting with signal 11.  POP3 has exiting 
>with signal 6 a few times, but only a few, and its been sporadic.

I assume that you've checked that you're running the latest version (or
ports version) of procmail?

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


Re: hang-up's on clean FreeBSD 5.4 on compilation

2005-07-07 Thread Dmitry Mityugov
On 7/7/05, Piotr Baranowski <[EMAIL PROTECTED]> wrote:
> Hello
> 
> I have posted before, about my problems with Kernel compilation.
> Now it's bigger problem ;-)
> 
> I still can't compile the kernel.
> 
> Now i reinstalled FreeBSD 5.4, totally clean download.
> It's just for education/fun, so i can do that.. for now.
> 
> I choosed Standard install, Devel distribution, and installed linux
> base.
> One additional package: CVSup.
> Nothing more, nothing less.
> 
> After installation, i used CVSup to get newest source [ src-all ].
> Then i ran:
> 1) cd /usr/src
> 2) make buildworld
> 
> it hanged up my PC..
> i tried this several times, and it hangs up in different places,
> always on 'cc' command.
> 
> Maybe it's something with my memory?
...

Looks like that. There is a couple of memory test programs, I like these:

http://www.memtest86.com/
http://www.ocztechnology.com/aboutocz/press/2004/114

-- 
Dmitry

"We live less by imagination than despite it" - Rockwell Kent, "N by E"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


SA rules_dujour

2005-07-07 Thread Jean-Paul Natola
Hi everyone, 

I have installed Spamassassin and rules_dujour

I have NOT changed any settings , it is a vanilla install no config files or
anything has been modified, yet  spam is coming right through

Here's the header of one; I feel I'm missing something , I mean just by the
subject I would think it would detect it--


X-Spam-Score: 0.2 (/)
X-Spam-Report: Spam detection software, running on the system "mfilter", has
identified this incoming email as possible spam.  The original
message
has been attached to this so you can view it (if it isn't spam) or
label
similar future email.  If you have any questions, see
the administrator of that system for details.
Content preview:  Tuesday/Wednesday Sale! Fares from $49*. Tuesdays
and
Wednesdays just became your favorite days of the week! Take advantage
of these great low fares and book your vacation today! Book on
spiritair.com by 11:59PM EST on 7/6/05 for travel on Tuesdays and
Wednesdays only from 7/12/05-9/28/05 unless otherwise noted. [...] 
Content analysis details:   (0.2 points, 5.0 required)
pts rule name  description

 

 
 
 
 
Jean-Paul Natola
Network Administrator
Information Technology
Family Care International
588 Broadway Suite 503
New York, NY 10012
Phone:212-941-5300 xt 36
Fax:  212-941-5563
Mailto: [EMAIL PROTECTED] 

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


Re: help with she script

2005-07-07 Thread Alejandro Pulver
On Wed, 6 Jul 2005 23:29:17 -0400
"fbsd_user" <[EMAIL PROTECTED]> wrote:

> On Sun, 3 Jul 2005 16:47:24 -0400
> "fbsd_user" <[EMAIL PROTECTED]> wrote:
> 
> > This is my last coding problem.
> >
> >
> > target="check-state"
> >
> > # Find the rule number of the target rule where you want the
> doorman
> > # pass rules inserted before.
> >
> > ruleno=`ipfw list | sed -n -e "s/00\([0-9]*\) $target/\1/p"`
> >
> > The output of 'ipfw list' looks like this
> >
> > n  a 5 position sequence rule number
> > blank  followed by a empty single position
> > x-xa 10 to 80 position rule text
> 
> 
> 00010 allow ip from any to any via lo0
> 00015 check-state
> 00110 allow tcp from any to 68.168.240.26 dst-port 53 out via dc0
> setup keep-state
> 00111 allow udp from any to 68.168.240.26 dst-port 53 out via dc0
> keep-state
> 00120 allow udp from any to any dst-port 67 out via dc0 keep-state
> 00200 allow tcp from any to any dst-port 80 out via dc0 setup
> keep-state
> >
> >
> > When the rule text matches the target text I want the
> > first 5 position rule number to go into ruleno.
> >
> > Large rules files may use all 5 positions and then
> > the above code will fail to get the rule number.
> > Tried to remove the s/00\ but had syntax problems.
> >

Hello,

If you want to include the first two digits you have to remove the two
zeros from the pattern.

ruleno=`ipfw list | sed -n -e "s/\([0-9]*\) $target/\1/p"`
 ^^

This is because in the other pattern when the rule number does not start
with "00" then it will not be matched and nothing will be returned.

Explanation:

The 's' is the substitute command, '/' is the operand separator, the
'\(' and '\)' construct saves the text it matches in the register '\1',
'[0-9]*' matches any number of digits (even 0 of them), $target is
replaced with the contents of the shell variable. All of that is
replaced by just the text matched between '\(' and '\)'. The 'p' flag
causes the line (after substitution, that is, the text between '\(' and
'\)') to be printed (and assigned to ruleno).

Hope that helps.

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


Re: procmail kill problems in dmesg?

2005-07-07 Thread Matt Juszczak

Do the segfaults only happen when you run procmail?  If other programs
fail randomly with segfaults, then it's more likely to be a general
memory-hardware problem.  If it's only procmail that fails it could be
just a procmail bug.



Procmail is the only one segfaulting with signal 11.  POP3 has exiting 
with signal 6 a few times, but only a few, and its been sporadic.

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


Re: imap-uw / squirrellmail / mysql / postfix / postfixadmin question

2005-07-07 Thread M. Goodell
The accounts are kept in MySQL via a PostfixAdmin installation. Again, I can 
deliver mail all day to any virtual host / account I setup in PostfixAdmin but 
I am not able to get SquirrellMail to login to get the mail.
 
I am using the following group of applicaitons together:
 
imap-uw / squirrellmail / mysql / postfix / postfixadmin
 
Thanks, 
 
Michael

Paul Schmehl <[EMAIL PROTECTED]> wrote:
--On Wednesday, July 06, 2005 20:18:37 -0700 "M. Goodell" 
wrote:

> Hello,
>
> I have successfully installed: imap-uw / squirrellmail / mysql / postfix
> / PostfixAdmin and have setup postfix virtual domain capability. Postfix
> accepts mail for virtual hosts / accounts that I configured with
> PostfixAdmin very well. Watching the mail log the mail arrives and is
> delivered to the /usr/local/virtual/ directory with no problems at all.
> However, the problem I have having is I cannot get SquirrellMail /
> imap-uw to access the mailboxes I have setup for any of the virtual
> domains / accounts. It keeps giving me a login error like the user does
> not exist. I am able to use SquirrellMail to get mail for "real" system
> accounts with ease.
> I think I need to somehow get imap-uw / squirrellmail to recognize the
> virtual domains & accounts but I am not sure how to do it.
> Can anyone shed some light on the problem ?
>
The accounts have to exist somewhere. The system accounts exist in 
/etc/passwd. Where do the virtual accounts exist? Are you using 
cyrus-sasl?

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

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


Re: Did we must put the mounted partition '/' and '/boot' in the same slice ?

2005-07-07 Thread Alex Zbyslaw

Shark Wang wrote:


I put '/boot' for an individual partition just for 1023 cylinder
story, although FreeBSD did
not need this action !

the following is my partitions layout, pls help to do some check:

ad0s1d  /boot  -> 30M
ad0s1a  /  -> 512M
ad0s1b  swap -> 512M
ad0s1e  /usr -> 6144M
ad0s1f   /var -> 512M
ad0s1g  /home -> 2017M
ad0s1h  /tmp  -> 512M 


But after I finished my installation and reboot FreeBSD, it will not
load sccuessfully!
 

Do the install again but do not make /boot a partition.  1Gb is more 
than ample for / and /boot.  Given that you have /tmp separately, 256Mb 
would do.  I, at least, never used that much even.


/dev/ad12s1a981527   122405   78060014%/

1Gb just because it's peanuts to a 200Gb disk, and I don't bother with 
/tmp separately.


For all the talk of the 1024 cylinder problem, I have never encountered 
it.  I suspect that while it was true of older hardware, that it just 
isn't the case any more.  If this is a problem, then it is just the / 
(root) partition that needs to start inside 1024 cylinders.


Apart from that, my opinion is that having swap = 2.5 * memory is still 
a reasonable rule of thumb.  You may never need it but a) it's a tiny 
fraction of your disk and b) if you expand your memory in the future you 
still have enough swap.  You must have at least as much swap as physical 
memory.  With 1Gb I put in 4Gb of swap, just because it's peanuts 
compared to a 200Gb disk.  If I double my memory, I still have plenty of 
swap.


/var depends on what this machine does.  If it is a mailserver then 512M 
is inadequate, for a home machine it's probably plenty.  If you ever 
need a crash dump from the kernel (and you may *never* need one, but if 
you do...) then you need as much free disk space as you have physical 
memory.


There was a recent thread about disk sizing (maybe a month ago?) so try 
searching the archive.


I also found this useful when clarifying my thoughts about how to 
partition a new disk:


http://keramida.serverhive.com/weblog/archives/2004-10-26/daemonizing-a-new-disk

--Alex


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


Re: procmail kill problems in dmesg?

2005-07-07 Thread Giorgos Keramidas
On 2005-07-07 13:20, Matt Juszczak <[EMAIL PROTECTED]> wrote:
> >Signal 11 is a segmentation fault.  This _might_ be an indication of
> >hardware/memory problems.
>
> Actually all the seg faults signal 11 happened at one time (within 20
> seconds), after checking messages   it hasn't happened since.
>
> Could it have been a fluke?

Do the segfaults only happen when you run procmail?  If other programs
fail randomly with segfaults, then it's more likely to be a general
memory-hardware problem.  If it's only procmail that fails it could be
just a procmail bug.

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


Re: Electrical circuits simulator

2005-07-07 Thread Björn König

Shantanoo wrote:


I haven't check Oregano. But for electrical circuit simulation 'spice'
is nice :)


I used spice too for a few weeks only. It's very powerful, but as far as 
I know it has no GUI (everybody wants a GUI ;-p) and in my opinion it's 
very hard to learn quickly without a printed documentation and without 
lots of examples.


By the way, I suggest 'chipmunk' if you want to build circuits with 
gates, simple controllers, segment displays and so on.


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


Re: procmail kill problems in dmesg?

2005-07-07 Thread Matt Juszczak

Signal 11 is a segmentation fault.  This _might_ be an indication of
hardware/memory problems.



Actually all the seg faults signal 11 happened at one time (within 20 
seconds), after checking messages 



it hasn't happened since.

Could it have been a fluke?

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


Re: Migrating FreeBsd installation to another hard drive

2005-07-07 Thread Alex Zbyslaw

Chris Roos wrote:


Alex Zbyslaw wrote:


Chris Roos wrote:

One final question is whether the dump/restore process is the best 
approach in this instance?  I have read about using dd but am not 
entirely sure whether this would do what I need?


No, you should use dump/restore and if it is the root partition you 
will need to edit fstab afterwards.


Can I just double check that the editing of fstab is only applicable 
if my device names change?


Correct.  If the device will end up on the same controller and logical 
position (master, slave, whatever) then you do not need to edit it.  
However, if you plan to reboot the machine and just boot off the new 
disk without changing its position first, then edit fstab.  You can 
always edit it back again before moving the hardware around.


--Alex


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


Re: perl-after-upgrade

2005-07-07 Thread legalois

Bob Hall wrote:

I don't know squat about perl. I recently ran portupgrade, which
upgraded perl. Goose stopped working, because the location for Curses.pm
was no longer in @INC. I tried to run perl-after-upgrade, but I couldn't
get it to run. I've got a book that said to use
# perl perl-after-upgrade
or
# ./perl-after-upgrade
I also tried just
# perl-after-upgrade
No joy. Just for the heck of it, I tried 
	* sh perl-after-upgrade

and dang if it didn't run. It didn't look to me like an sh script, but
what do I know? It wasn't supposed to change anything without the -f
option, but goose ran afterward, so it obviously changed things. I
looked for Curses.pm, and it moved to a directory listed in @INC.

Anybody have any advice? Comments? How was I supposed to get
perl-after-upgrade to run?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"




A longish message appears at the end of the perl upgrade build, that 
explains how to run perl-after-upgrade. If you overlooked that, the same 
instructions are at

#perldoc perl-after-upgrade
If the script is in a directory not in your root's path, find the full 
path to the script with

#locate perl-after-upgrade
(but make sure your locate db is up-to-date, first).
- Jacques

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


hang-up's on clean FreeBSD 5.4 on compilation

2005-07-07 Thread Piotr Baranowski
Hello

I have posted before, about my problems with Kernel compilation.
Now it's bigger problem ;-)

I still can't compile the kernel.

Now i reinstalled FreeBSD 5.4, totally clean download.
It's just for education/fun, so i can do that.. for now.

I choosed Standard install, Devel distribution, and installed linux
base.
One additional package: CVSup.
Nothing more, nothing less.

After installation, i used CVSup to get newest source [ src-all ].
Then i ran:
1) cd /usr/src
2) make buildworld

it hanged up my PC..
i tried this several times, and it hangs up in different places,
always on 'cc' command.

Maybe it's something with my memory?

Now i'm DLing release CDs, maybe it's something with net install,
wrong packages, or something.

Do i have to configure 'make' in some way before compiling anything?

Everything seems to be ok, but it just don't work ;-)

> 1) check that you have sources. reinstall sources from CD or recvsup.
> 2) check that you have correct version of C compiler. Try compile simple
> C program.
> 3) do "rm -fr /usr/obj/usr/src/sys/OWIEC"
> 4) then try second, and correct method

i have sources, i tried to compile mc from ports, it's throwing 'no
such file' errors, i removed OWIEC and tried second method - i had
same errors

> That's wrong.  You are trying to build just a kernel, before a userland
> has been compiled.  Use "make buildworld" and "make buildkernel", unless
> you know exactly what you are doing and why.

Now i know :-)
I tried to 'make buildworld', but it haged my PC, then i now - after
install - i'll try some mem tests.
In most cases i don't know exactly what i'm doing - i'm just learning.

> Hmmm.  You haven't by any chance overwritten the system version of
> make(1) with GNU make, right?

Nope. I did only the Devel without X-server install. Now and then.

> What do you see when you try to run the command:
> 
> # make --version

it returns:
# make --version
make: illegal option -- -
usage: make 

I always had bad influence on Unix-like systems ;-)
I tried many different Linux dists: from old RedHat, SuSe to Debian,
Gentoo and Slack.. i always have problems ;-)
But now i'm gonna be tough :-)

TIA
Piotr




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


Re: procmail kill problems in dmesg?

2005-07-07 Thread Giorgos Keramidas
On 2005-07-07 11:45, Matt Juszczak <[EMAIL PROTECTED]> wrote:
>
> Getting flooded with:
>
> pid 65128 (procmail), uid 3005: exited on signal 11
> pid 65138 (procmail), uid 806: exited on signal 11
> pid 65142 (procmail), uid 24112: exited on signal 11
> [...]
> This is a high traffic mail server  is this normal?  Why does
> procmail sometimes exit on signal 11 like this?

Signal 11 is a segmentation fault.  This _might_ be an indication of
hardware/memory problems.

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


Re: ftp access Q's to ftp.freeBSD & mirrors

2005-07-07 Thread datora tehnika
Hey all --

Am reading through http://sourceforge.net/projects/filezilla as these
messages came in.

Going on third recommendation for this :
> Freebsd installer guide. www.a1poweruser.com

THANKS! I have it already !  ;-)  Downloaded & ready to read off-line
for the next couple of days.  Have also grokked through
ftp://ftp.freebsd.org/pub/FreeBSD/doc/en/ for articles & handbook. 
Sketching out install strategy for multi-boot systems .. .but will
post those as separate questions as I formulate them.

Using postal mail to Latvia isn't a tech problem ... it's a small cost
and time nightmare.  If there was something I really wanted or need
mailed, sure, but the economics here are near first-world prices at
third-world wages, so throwing money away is not a good survival
strategy.  And, waiting around three or four weeks for mail to arrive
(maybe even unmolested by the postal workers) just isn't time
effective.

Current update is that I seem to be connecting via ftp .. it looks
like I was leaving a trailing slash on the URL as pasted from the web
browser.  Have now established ftp connections to a couple of mirrors
& ready to go with the one w/ best speed; looks like 30 Kbits/sec is
max for the region.

FileZilla looks like the way to go.  If I don't have my ISO's within
15 or 18 hours, I'll ask again.  Just now getting FileZilla DL'd &
installed & learning the interface enough to get it going with the
resume feature active.

Sorry, but got side-tracked by the London bombings today.  Got a
couple of friends working there I'm trying to get ahold of.  No joy
yet.  I know the odds are in their favor ... but I also lost an
acquaintance in the WTC on 9/11, so I'm a bit distracted.  Tech is fun
& career, but that's 2ndary to friends.

Thanks all for jumping in to help out !  Hopefully I'll be a
contributing member before too much longer.  More serious questions
regarding multi-boot systems and dual-processor kernal configuration
are about to follow.  Trust me on that ...

  ;-)

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


RE: Migrating FreeBsd installation to another hard drive

2005-07-07 Thread Ruben Bloemgarten
That would be "# fdisk -BI /dev/ar0" "B" for bootable.
The FBSD boot manager is on slice *a which is left intact when using dump.
The reason I went to an intermediate drive is . . .  I only had two slots
available on SATA backpane. 

Oh and check out 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/boot-blocks.html

Good luck,

Ruben

-Original Message-
From: Chris Roos [mailto:[EMAIL PROTECTED] 
Sent: July 07, 2005 5:13 PM
To: [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Subject: Re: Migrating FreeBsd installation to another hard drive

Thanks for the time taken to detail all of the steps.  I think I am 
doing roughly the same thing except you are going via from _source_ to 
_intemediary_ back to _source_ once the RAID is sorted.  I am going 
straight from _source_ to _destination_.

I may be wrong but do any of your steps below involve writing the 
standard mbr (not the freebsd boot manager) to the drive?

Thanks for your help,

Chris

Ruben Bloemgarten wrote:
> Hi there, 
> I had to do something similar i.e. change RAID levels, there is no need to
> install anything. Just use the fixit CD. Here is my procedure : 
> Ofcourse you'll have to change disk[slice] names to what suits you. NOTE:
I
> used tar for the /usr slice as I had some size constraints and therefore
> needed some compression ( I could have piped the dump to gzip ofcourse,
but
> didn't). In my opinion dump&restore is the best procedure. But dd works as
> well.
> Regards, 
> Ruben 
> 
> 1. boot from CD
> 2. goto fixit CD
> 3. create new mount point 
>--> # mkdir /new_mnt
> 4. mount external drive /new_mnt
>--> # mount /dev/da0s1 /new_mnt
> 5. mount / on /mnt
># mount /dev/ar0s1a /mnt
> 6. backup fstab and bsdlabel
>--> # cp /mnt/etc/fstab /new_mnt/fstab.BAK
># bsdlabel ar0s1 > /new_mnt/bsdlabel.BAK
> 7. dump / 
>--> # umount /mnt
># dump -0au -C 32 -f /new_mnt/root_dump /dev/ar0s1a
> 8. dump /var
>--> # dump -0au -C 32 -f /new_mnt/var_dump /dev/ar0s1e
> 9. tar /usr ( or only those subsystems which contain userdata
> (dbase,mail,etc)
>--> # mount /dev/ar0s1f /mnt
># cd /mnt
># tar czf /new_mnt/usr_tar.tar.gz ./
> 10.unmount all mounted filesystems 
>--> # umount /mnt
># umount /new_mnt
> 11. exit fixit and boot CD
> 12. power down
> 13. replace disks
> 14. boot to RAID config tool
> 15. set array to RAID0
> 16. reboot to CD
> 17. exit to FIXIT
> 18. erase current disklabel & create new label with one slice
> --> # dd if=/dev/zero of=/dev/ar0 bs=512 count=32
> # fdisk -BI /dev/ar0
>   # dd if=/dev/zero of=/dev/ar0s1 bs=512 count=32
>   # bsdlabel -w -B ar0s1
> 19. read disklabel & note c partition value
> 20. mount external disk & edit saved slice (step 6)
> 21. write edited label to disk
> 22. --> # bsdlabel -R /dev/ar0s1 /new_mnt
> 23. --> # newfs /dev/ar0s1[a,d,e,f)
> 24. --> # mount /dev/ar0s1d /tmp
> 25. --> # export TMPDIR=/tmp
> 26. mount & restore /
> --> # mount /dev/ar0s1a /mnt
> # cd /mnt
> # restore rf [PATHNAME_TO_root_dump]
> 27. umounting / and mount & restore /var
> --> # cd ..
> # umount /mnt
> # mount /dev/ar0s1e /mnt
> # cd /mnt
> # restore rf [PATHNAME_TO_var_dump]
> 28. extracting usr_tar.tar.gz into /usr
> --> # cd ..
> # umount /mnt
> # mount /dev/ar0s1f /mnt
> # cd /mnt
> # tar xzvf [PATHNAME_TO_usrtar] ./
> 29. umount all open filesystems
> --> # umount /tmp
> # umount /mnt
> # umount /new_mnt
> 30.  exit single user mode and startup
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Chris Roos
> Sent: July 06, 2005 6:11 PM
> To: freebsd-questions@freebsd.org
> Subject: Migrating FreeBsd installation to another hard drive
> 
> Hi,
> 
> I've recently had the job of moving a FreeBsd installation to another 
> hard drive.
> 
> After quite a lot of reading I got round to following this article[1] 
> using a VMWare FreeBsd instance.  In brief the article uses dump and 
> restore to move the data from one mounted partition to another in single 
> user mode.  It also suggests that before you do this, you perform a 
> minimum install on the destination disk to ensure that it boots fine.
> 
> First time round, I did the minimum install and then followed the steps 
> (minus the MAKEDEV step as I'm running 5.3R) to backup the data to the 
> destination.  This all worked fine.
> 
> Second time round, I didn't do a minimum install, rather I just set-up 
> the slice and partitions on the destination using sysinstall, and then 
> did the dump/restore.  On booting from the destination disk this time, 
> nothing happened.  I reasoned that it was because I had no boot manager 
> installed and so went ahead and used boot0cfg -B to install the FreeBsd 
> boot manager.  The disk now boots; however, I would prefer to use the 
> equivalent of the 'Standard - Install a s

Re: Network Debugging

2005-07-07 Thread Hornet
On 7/7/05, Mark Bucciarelli <[EMAIL PROTECTED]> wrote:
> I'm trying to improve the performance of our rural homebrew wireless
> broadband and am hoping some of the folks here can give me a pointer or
> two as to what network monitoring tools I should use.
> 
> Background:
> 
> - my internet access is five wireless and five wired hops downstream
>   from a 1/2 T1 (ten Buffalo AirStation G54 routers in all).
> 
> - my connection has a lot of jitter--ping's usually vary from 10ms to
>   150ms within a two second window
> 
> - FWIU, jitter is related to congestion
> 
> - I have setup a FreeBSD box to monitor [1] each router along the path
>   using smokeping.
> 
> The smokeping charts are showing me some interesting stuff.  Here is
> some data from the past three hours (I am using the smokeping default of
> 20 pings sent every five minutes):
> 
>|- Building 1 --|  |--- Bldg 0 --...
> 
>+---+  ++  +---+
>| .203  |  | .202   |  | .201  |
>| Router In |<- wire ->| Router Out |<- wireless ->| Router In |
>+---+  ++  +---+
> 
> avg RTT: 7.3ms  12.1ms  7.8ms
> 
>  % lost: 2.37%  14.25%  2.64%
> 
> max RTT: 20ms   80ms13ms
> 
> 
> My FreeBSD box is a four more wireless hops to the left of .203.
> 
> A slew of questions ...
> 
> What is going on here?
> 
> I am confused by the max RTT readings and packet loss stats for .202 and
> .201.  How can a router further away from me have better performance?

Most routers put a lower priority on ICMP, If the middle router  has a
higher load on it (which by your diagram it should), then the B router
would be slower to respond to ICMP.

Try using MTR (Matt's traceroute) It will give your real time stats on
your network hack.

> 
> Over the past 13 hours, the averages are consistent with the three-hour
> averages, while the Max RTT discrepancies are even higher:
> 
>   .203 / .202 / .201 = 20ms / 145ms / 13ms.
> 
> Is .202 congested?
> 
> Is the .202 router "bad"?
> 
> How can I debug this further?  SNMP?
> 
> If SNMP, what values should I track/inspect?
>   - # of packets with errors?
>   - # of queued packets?
>   - ??
> 
> Thanks for any pointers,
> 
> m
> 
> [1] Pentium II 350MHz with 4 Gb drive, underclocked to 100MHz so I can
> turn off the power supply fan and make it real quiet.  :)
> 
> ___
> 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: Did we must put the mounted partition '/' and '/boot' in the same slice ?

2005-07-07 Thread John McAree
> the following is my partitions layout, pls help to do some check:
>
> ad0s1d  /boot  -> 30M
> ad0s1a  /  -> 512M
> ad0s1b  swap -> 512M
> ad0s1e  /usr -> 6144M
> ad0s1f   /var -> 512M
> ad0s1g  /home -> 2017M
> ad0s1h  /tmp  -> 512M

I believe /boot needs to be on the first 1024 blocks of the disk. Why do
you want a separate partition for /boot?

John.



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


Re: Did we must put the mounted partition '/' and '/boot' in the same slice ?

2005-07-07 Thread John McAree
> the following is my partitions layout, pls help to do some check:
>
> ad0s1d  /boot  -> 30M
> ad0s1a  /  -> 512M
> ad0s1b  swap -> 512M
> ad0s1e  /usr -> 6144M
> ad0s1f   /var -> 512M
> ad0s1g  /home -> 2017M
> ad0s1h  /tmp  -> 512M

I believe /boot needs to be on the first 1024 blocks of the disk. Why do
you want a separate partition for /boot?

John.



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


Xorg 6.8.2 Big Problems....

2005-07-07 Thread perikillo
   MY KEYBOARD DOSENT RESPOND

  Hi i have almost 1 month trying to run xorg, the problem is my
keyboard, went i run

test#startx
  
  X window system start, my mouse is working, but my keyboard dosent
respond to anything.

If i test the xorg config:

test# Xorg -config xorg.conf.new

  The black and grey grid and an X mouse cursor appear, if i press
Ctrl+Alt+Backspace my keyboard respond and send me back to my shell.

  Now, i have been testing with freebsd 5.3 and 5.4 release, i see
that on both release we have xorg 6.8.2, and they are using the new
driver kbd, i see that we have the choice to use the old driver
keyboard, i change my x.org config file and the driver, but the same
results no answer from my keyboard.

  Another thing, went i test my keyboard pressing different keys, went
i kill my session with the mouse option "Kill", i found all the time
strange characters on my shell, example this are from today in the
morning test:

xauth: (argv):1:  bad display name "devhora:0" in "remove" command
^_^^ Ÿ9 ^_ž ^YŸ¹^^&™9ž¦^\+^^:ºœ«ž ^\¹œ^NŽ^NŽ^]8^NŽ^NŽ^\œ^NŽ^\œ^NŽ^O^R
œ^NŽ:º^O^R
œ^NŽ:º:^O^R
œ^NŽ:º:º^A<;¼»à57EൕGÅÇNÎKOËÏà^\RSàœÓÒàMàPàKàÐàÍàËàOàQàSàÑàÏFàRÆàÒàÓ^[^Zloa
d: 0.66  cmd: csh 479 [running] 0.15u 0.04s 0% 1944k
¹•!/"load: 0.66  cmd: csh 479 [running] 0.15u 0.04s 0% 1944k
¯¡ "9¹ ¸devhora#

 devhora is the name of my computer. 

My xorg.conf files have been made with this two options:

test# Xorg -config xorg.conf.new
 
and

test# xorgconfig

But no results with any of both options. I read my X log on
/var/log/X.org.0.log but any errors appear.

I have another system running freebsd 5.2.1-Release and the X system
is working very well,  on this system my keyboard is working, i see
that here the xorg version is < 6.8.2 and the xorg is not using the
new driver kbd, we still using the old driver keyboard.

Them, i was thinking that maybe my keyboard was the problem but went i
test with 5.2.1 i see that is not, i think the new drivers is the
problem.

I have my xorg files, log, dmesg, if someone could help me how to fix
this i will apreciate, i dont know if someone else has this problem
right now with xorg 6.8.2, someone from this list say to me that after
he change his system to 5 stable, his keyboard start to work, but, i
am going to try to see if i can find the problem, iam not a guru but i
can read the files.

Thanks all for your time, i hope we can fix this little problem, if
not i will test with 5 stable i send the results.

I dont want this mail to be to long i only going to put my Xorg log
from /var/log/, i someone need more information just ask for it, and i
with pleasure send the info.

 greetings.

NOTE: 
 Test with with out any succes:
  -Freebsd 5.3 Release + buildworld + ports update  --> p17
  -Freebsd 5.4 Release + buildworld + ports update  --> p3
  Xorg 6.8.2 from porst and packages.

 Test with success
 -Freebsd 5.2.1 Release + buildworld + ports update
 -Xorg version < 6.8.2 from packages of Release 5.3.

Hardware:
Mouse: USB Belkin
Keyboard: standard 104 keys PS/2.
Motherbaord: P6SBA
CPU: PII 266MHZ
RAM: 384 SDIM PC-100.

  My Log:

X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: FreeBSD 5.3 i386 [ELF] 
Current Operating System: FreeBSD devhora 5.3-RELEASE-p17 FreeBSD
5.3-RELEASE-p17 #0: Wed Jul  6 19:29:53 PDT 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/DEVHORA i386
Build Date: 07 July 2005
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Jul  7 06:24:39 2005
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Simple Layout"
(**) |-->Screen "Screen 1" (0)
(**) |   |-->Monitor "My Monitor"
(**) |   |-->Device "Diamond Fire GL 1000 PRO"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(WW) `fonts.dir' not found (or not valid) in "/usr/X11R6/lib/X11/fonts/local/".
Entry deleted from font path.
(Run 'mkfontdir' on "/usr/X11R6/lib/X11/fonts/local/").
(**) FontPath set to
"/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.2
X.Org Video Driver: 0.7
X.Org XInput driver : 0.4
X.Org Server Extension : 0.2
X.Org Font Renderer : 0.4
(II) Loader running on freebsd
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Modu

Re: disk write barriers

2005-07-07 Thread Matthias Buelow
Lowell Gilbert <[EMAIL PROTECTED]> writes:

>Do you have a background in OS design?  It affects the answer, because
>you seem to be referring to access barriers and disk cache flushes
>interchangeably, which doesn't make sense, especially on
>multiprocessor systems.

>From what I understand from some googling, disk write barriers are
specially crafted i/o requests (within the vfs/driver infrastructure)
that are acted on by block drivers as following: all requests before a
barrier request will be completed before any request that follows the
barrier is executed. The driver accomplishes that by issuing the
respective flush commands (or uses queue ordering or whatever is
supported by the drive) or (in the case of IDE/SATA), may disable and
reenable the cache on a barrier. Thus, the barrier maintains an on-disk
ordering in requests between "earlier" and "later" requests (otherwise
the driver and/or the disk could reorder writes at will).

Since the system doesn't actually run with the cache disabled because
it's only used for flushing at sequence points, neither performance nor
drive wearout is negatively influenced (noticably, that is).

An actual application of this is, with journaled filesystems, that the
journal will get written to disk before the data is updated. This will
guarantee filesystem integrity. From what I understand, MS Windows is
doing it that way, and Linux is also using that mechanism (with support
for SATA disks only in the latest 2.6 kernel, though.)

>The problem with caching has nothing to do with flushing the cache; if
>you flush the cache often, there's no advantage to using it anyway.
>The whole speedup from using on-disk caching comes from the fact that
>the drive reorders the writes at will, and lies to the operating
>system by saying the writes are done when they aren't.  Among other

Apparently, performance (and wear&tear) is not overly negatively
influenced, since it's used only for periodic flushing after the journal
has been written (or potentially, at other events, such as a sync() or
fsync() etc.)

>obvious problems, this negates the careful ordering calculated by
>softupdates.

That's where my headaches start.
Softupdates doesn't write a journal at intervals but seems to order
writes in general, in a continuous way. Therefore, it would appear that
there are no such sequence points. I'm not really aware of the details
of how softupdates works, so I'm probably wrong.
I only know that running with the cache disabled seems to be the only
safe way to assure that the ordering done by softupdates isn't broken.
But disabling the cache is a no-no on modern drives, since they are
constructed to be used with the cache on, and disabling it will yield
terrible performance and significantly reduce the MTBF, at least on
IDE/SATA drives (I'm not talking about enterprise-grade 15krpm SCSI
drives, where the situation might be different).

So what's the recommended procedure? Relying on an UPS or that the power
will not fail? I mean, I could run fully asynch then and the whole
softupdates is of little use, except for (relatively rare) occasions of
a kernel crash.

>This doesn't follow.  Just because you know that your drive supports
>disabling the cache does not mean that it is safe to do so.

Why is that so?

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


procmail kill problems in dmesg?

2005-07-07 Thread Matt Juszczak


Getting flooded with:

pid 65128 (procmail), uid 3005: exited on signal 11
pid 65138 (procmail), uid 806: exited on signal 11
pid 65142 (procmail), uid 24112: exited on signal 11
pid 65143 (procmail), uid 11977: exited on signal 11
pid 65146 (procmail), uid 29601: exited on signal 11
pid 65149 (procmail), uid 18864: exited on signal 11
pid 65239 (procmail), uid 19458: exited on signal 11
pid 65240 (procmail), uid 22242: exited on signal 11
pid 65242 (procmail), uid 2005: exited on signal 11
pid 65244 (procmail), uid 14209: exited on signal 11
pid 65243 (procmail), uid 22118: exited on signal 11
pid 65246 (procmail), uid 17854: exited on signal 11
pid 65247 (procmail), uid 18156: exited on signal 11
pid 65248 (procmail), uid 16655: exited on signal 11
pid 65249 (procmail), uid 18389: exited on signal 11
pid 65250 (procmail), uid 11977: exited on signal 11
pid 65251 (procmail), uid 0: exited on signal 11
pid 65267 (procmail), uid 1762: exited on signal 11
pid 65349 (procmail), uid 11977: exited on signal 11
pid 65350 (procmail), uid 1982: exited on signal 11
pid 65351 (procmail), uid 15324: exited on signal 11
pid 65433 (procmail), uid 3183: exited on signal 11
pid 65435 (procmail), uid 12280: exited on signal 11
pid 65436 (procmail), uid 11977: exited on signal 11
pid 65534 (procmail), uid 2005: exited on signal 11
pid 65535 (procmail), uid 22662: exited on signal 11
pid 65537 (procmail), uid 24477: exited on signal 11
pid 65538 (procmail), uid 1397: exited on signal 11
pid 65540 (procmail), uid 11645: exited on signal 11
pid 65612 (procmail), uid 21744: exited on signal 11
pid 65621 (procmail), uid 24147: exited on signal 11
pid 65724 (procmail), uid 2005: exited on signal 11
pid 65725 (procmail), uid 580: exited on signal 11
pid 65726 (procmail), uid 11977: exited on signal 11

This is a high traffic mail server  is this normal?  Why does procmail 
sometimes exit on signal 11 like this?


Thanks!

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


Re: ports: www/jakarata-tomcat*

2005-07-07 Thread Chris Knipe

What about /etc/make.conf or the Makefiles in the jakarta-tomcat ports
directories?

John.




Thanks John :) 


/etc/make.conf had it defined.

--
Chris.


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


Re: Electrical circuits simulator

2005-07-07 Thread Shantanoo
On 7/7/05, Andrey Simonenko <[EMAIL PROTECTED]> wrote:
> Hello all,
> 
> What do you recommend to use for electrical circuits simulating?
> I need such software for educational purposes.  I found Oregano in
> ports/cad, but may be I missed something and there is alternative
> with the same or better level of features as Oregano.

I haven't check Oregano. But for electrical circuit simulation 'spice'
is nice :)

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


Re: imap-uw / squirrellmail / mysql / postfix / postfixadmin question

2005-07-07 Thread Paul Schmehl
--On Wednesday, July 06, 2005 20:18:37 -0700 "M. Goodell" 
<[EMAIL PROTECTED]> wrote:



Hello,

I have successfully installed: imap-uw / squirrellmail / mysql / postfix
/ PostfixAdmin and have setup postfix virtual domain capability. Postfix
accepts mail for virtual hosts / accounts that I configured with
PostfixAdmin very well. Watching the mail log the mail arrives and is
delivered to the /usr/local/virtual/ directory with no problems at all.
However, the problem I have having is I cannot get SquirrellMail /
imap-uw to access the mailboxes I have setup for any of the virtual
domains / accounts. It keeps giving me a login error like the user does
not exist. I am able to use SquirrellMail to get mail for "real" system
accounts with ease.
I think I need to somehow get imap-uw / squirrellmail  to recognize the
virtual domains & accounts but I am not sure how to do it.
Can anyone shed some light on the problem ?

The accounts have to exist somewhere.  The system accounts exist in 
/etc/passwd.  Where do the virtual accounts exist?  Are you using 
cyrus-sasl?


Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ports: www/jakarata-tomcat*

2005-07-07 Thread Chris Knipe

Nopes.  I'm sure I'm afraid...

[EMAIL PROTECTED]:~# cd /usr/ports/www/jakarta-tomcat41/
[EMAIL PROTECTED]:/usr/ports/www/jakarta-tomcat41# unset JAVA_HOME
[EMAIL PROTECTED]:/usr/ports/www/jakarta-tomcat41# make WITHOUT_X11=yes install 
clean
jakarta-tomcat-4.1.31_1: Environment error: "JAVA_PORT" should not be 
defined.

*** Error code 1

Stop in /usr/ports/www/jakarta-tomcat41.
[EMAIL PROTECTED]:/usr/ports/www/jakarta-tomcat41#


--
Chis.

- Original Message - 
From: "Louis LeBlanc" <[EMAIL PROTECTED]>

To: ; <[EMAIL PROTECTED]>
Sent: Thursday, July 07, 2005 5:21 PM
Subject: Re: ports: www/jakarata-tomcat*



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


Re: ports: www/jakarata-tomcat*

2005-07-07 Thread Louis LeBlanc
On 07/07/05 04:06 PM, Chris Knipe sat at the `puter and typed:
> Lo all,
> 
> [EMAIL PROTECTED]:/usr/ports/www/jakarta-tomcat41# make WITHOUT_X11=yes 
> install 
> clean
> jakarta-tomcat-4.1.31_1: Environment error: "JAVA_PORT" should not be 
> defined.
> *** Error code 1
> 
> 
> I did tripple check, at the time of running make, the variable is NOT 
> defined.  I can't install any of the tomcat versions Help???

Are you sure that didn't say "JAVA_HOME"?  That gets me every time I try
to upgrade Tomcat.

Just `unset JAVA_HOME` then try again.

Good luck.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Allen's Axiom:
  When all else fails, read the instructions.


pgpexi6vJykYL.pgp
Description: PGP signature


Re: Migrating FreeBsd installation to another hard drive

2005-07-07 Thread Chris Roos
Thanks for the time taken to detail all of the steps.  I think I am 
doing roughly the same thing except you are going via from _source_ to 
_intemediary_ back to _source_ once the RAID is sorted.  I am going 
straight from _source_ to _destination_.


I may be wrong but do any of your steps below involve writing the 
standard mbr (not the freebsd boot manager) to the drive?


Thanks for your help,

Chris

Ruben Bloemgarten wrote:
Hi there, 
I had to do something similar i.e. change RAID levels, there is no need to
install anything. Just use the fixit CD. Here is my procedure : 
Ofcourse you'll have to change disk[slice] names to what suits you. NOTE: I

used tar for the /usr slice as I had some size constraints and therefore
needed some compression ( I could have piped the dump to gzip ofcourse, but
didn't). In my opinion dump&restore is the best procedure. But dd works as
well.
Regards, 
Ruben 


1. boot from CD
2. goto fixit CD
3. create new mount point 
   --> # mkdir /new_mnt

4. mount external drive /new_mnt
   --> # mount /dev/da0s1 /new_mnt
5. mount / on /mnt
   # mount /dev/ar0s1a /mnt
6. backup fstab and bsdlabel
   --> # cp /mnt/etc/fstab /new_mnt/fstab.BAK
   # bsdlabel ar0s1 > /new_mnt/bsdlabel.BAK
7. dump / 
   --> # umount /mnt

   # dump -0au -C 32 -f /new_mnt/root_dump /dev/ar0s1a
8. dump /var
   --> # dump -0au -C 32 -f /new_mnt/var_dump /dev/ar0s1e
9. tar /usr ( or only those subsystems which contain userdata
(dbase,mail,etc)
   --> # mount /dev/ar0s1f /mnt
   # cd /mnt
   # tar czf /new_mnt/usr_tar.tar.gz ./
10.unmount all mounted filesystems 
   --> # umount /mnt

   # umount /new_mnt
11. exit fixit and boot CD
12. power down
13. replace disks
14. boot to RAID config tool
15. set array to RAID0
16. reboot to CD
17. exit to FIXIT
18. erase current disklabel & create new label with one slice
--> # dd if=/dev/zero of=/dev/ar0 bs=512 count=32
# fdisk -BI /dev/ar0
# dd if=/dev/zero of=/dev/ar0s1 bs=512 count=32
# bsdlabel -w -B da0s1
19. read disklabel & note c partition value
20. mount external disk & edit saved slice (step 6)
21. write edited label to disk
22. --> # bsdlabel -R /dev/ar0s1 /new_mnt
23. --> # newfs /dev/ar0s1[a,d,e,f)
24. --> # mount /dev/ar0s1d /tmp
25. --> # export TMPDIR=/tmp
26. mount & restore /
--> # mount /dev/ar0s1a /mnt
# cd /mnt
# restore rf [PATHNAME_TO_root_dump]
27. umounting / and mount & restore /var
--> # cd ..
# umount /mnt
# mount /dev/ar0s1e /mnt
# cd /mnt
# restore rf [PATHNAME_TO_var_dump]
28. extracting usr_tar.tar.gz into /usr
--> # cd ..
# umount /mnt
# mount /dev/ar0s1f /mnt
# cd /mnt
# tar xzvf [PATHNAME_TO_usrtar] ./
29. umount all open filesystems
--> # umount /tmp
# umount /mnt
# umount /new_mnt
30.  exit single user mode and startup

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris Roos
Sent: July 06, 2005 6:11 PM
To: freebsd-questions@freebsd.org
Subject: Migrating FreeBsd installation to another hard drive

Hi,

I've recently had the job of moving a FreeBsd installation to another 
hard drive.


After quite a lot of reading I got round to following this article[1] 
using a VMWare FreeBsd instance.  In brief the article uses dump and 
restore to move the data from one mounted partition to another in single 
user mode.  It also suggests that before you do this, you perform a 
minimum install on the destination disk to ensure that it boots fine.


First time round, I did the minimum install and then followed the steps 
(minus the MAKEDEV step as I'm running 5.3R) to backup the data to the 
destination.  This all worked fine.


Second time round, I didn't do a minimum install, rather I just set-up 
the slice and partitions on the destination using sysinstall, and then 
did the dump/restore.  On booting from the destination disk this time, 
nothing happened.  I reasoned that it was because I had no boot manager 
installed and so went ahead and used boot0cfg -B to install the FreeBsd 
boot manager.  The disk now boots; however, I would prefer to use the 
equivalent of the 'Standard - Install a standard MBR (no boot manager)' 
option from sysinstall as FreeBsd is the only OS on the disk and so I 
don't need the option of booting to it or anything else.  I'm guessing 
that I would use fdisk to do this but if so am not entirely sure how. 
In addition, is this safe to perform on a disk with data or would I need 
to go through the dump/restore process again?


One final question is whether the dump/restore process is the best 
approach in this instance?  I have read about using dd but am not 
entirely sure whether this would do what I need?


Thanks in advance for any help,

Chris

[1] http://bsdvault.net/sections.php?op=viewarticle&artid=121

___
freebsd-questions@freebsd.org mailing list
http://lists.free

Re: Migrating FreeBsd installation to another hard drive

2005-07-07 Thread Chris Roos

Alex Zbyslaw wrote:

Chris Roos wrote:

One final question is whether the dump/restore process is the best 
approach in this instance?  I have read about using dd but am not 
entirely sure whether this would do what I need?


No, you should use dump/restore and if it is the root partition you will 
need to edit fstab afterwards.


Can I just double check that the editing of fstab is only applicable if 
my device names change?  During my testing here I have been migrating to 
a secondary disk that eventually becomes the primary.  As such I haven't 
had to change the fstab (both origin and eventually destination are 
device ad0).  When I do this for real however, I will be migrating from 
a single drive to an array so understand that in that case I will need 
to edit fstab to reflect the device change (this should be fine as I 
have had to do this in the past).



--Alex

PS There's a FAQ all about this.  I have no wish to decry the bsdvault 
article you quote, since I haven't read it -- it may even be the same as 
the FAQ.  But if the FAQ or handbook  has a section answering your 
question, then it is always likely to be the best starting point.


http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NEW-HUGE-DISK 

Thanks, I'd already read the faq and the bsdvault procedure is very 
similar in content.  I just wondered if there was any better/other ways 
really..


Thanks for your help,

Chris

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


Re: Did we must put the mounted partition '/' and '/boot' in the same slice ?

2005-07-07 Thread Shark Wang
I put '/boot' for an individual partition just for 1023 cylinder
story, although FreeBSD did
not need this action !

the following is my partitions layout, pls help to do some check:

ad0s1d  /boot  -> 30M
ad0s1a  /  -> 512M
ad0s1b  swap -> 512M
ad0s1e  /usr -> 6144M
ad0s1f   /var -> 512M
ad0s1g  /home -> 2017M
ad0s1h  /tmp  -> 512M 

But after I finished my installation and reboot FreeBSD, it will not
load sccuessfully!

Could you tell me what's the mistakes ? thanks a lot !

-Shark

On 7/7/05, Alex Zbyslaw <[EMAIL PROTECTED]> wrote:
> Shark Wang wrote:
> 
> >Today, I heard something on the partition policy for FreeBSD.
> >
> >Someone said that we must put the mounted partition '/' and '/boot'
> >in the same slice, otherwise, the System will not boot up !
> >
> >
> So what?
> 
> Please explain what actual problem you are trying to solve and why you
> would want to make /boot a partition at all?
> 
> Have you read relevant sections from the handbook?
> 
> You could start with:
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disk-organization.html
> 
> --Alex
> 
> 


-- 
I'm just a bitMaker !
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Network Debugging

2005-07-07 Thread Mark Bucciarelli
I'm trying to improve the performance of our rural homebrew wireless
broadband and am hoping some of the folks here can give me a pointer or
two as to what network monitoring tools I should use.

Background:

- my internet access is five wireless and five wired hops downstream
  from a 1/2 T1 (ten Buffalo AirStation G54 routers in all).

- my connection has a lot of jitter--ping's usually vary from 10ms to
  150ms within a two second window

- FWIU, jitter is related to congestion

- I have setup a FreeBSD box to monitor [1] each router along the path
  using smokeping.

The smokeping charts are showing me some interesting stuff.  Here is
some data from the past three hours (I am using the smokeping default of
20 pings sent every five minutes):

   |- Building 1 --|  |--- Bldg 0 --...

   +---+  ++  +---+ 
   | .203  |  | .202   |  | .201  |
   | Router In |<- wire ->| Router Out |<- wireless ->| Router In |
   +---+  ++  +---+ 

avg RTT: 7.3ms  12.1ms  7.8ms

 % lost: 2.37%  14.25%  2.64%

max RTT: 20ms   80ms13ms


My FreeBSD box is a four more wireless hops to the left of .203.

A slew of questions ...

What is going on here?

I am confused by the max RTT readings and packet loss stats for .202 and
.201.  How can a router further away from me have better performance?

Over the past 13 hours, the averages are consistent with the three-hour
averages, while the Max RTT discrepancies are even higher:

  .203 / .202 / .201 = 20ms / 145ms / 13ms.

Is .202 congested?  

Is the .202 router "bad"?

How can I debug this further?  SNMP?

If SNMP, what values should I track/inspect?  
  - # of packets with errors?
  - # of queued packets?
  - ??

Thanks for any pointers,

m

[1] Pentium II 350MHz with 4 Gb drive, underclocked to 100MHz so I can
turn off the power supply fan and make it real quiet.  :)

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


Re: root passwd

2005-07-07 Thread Aaron Peterson
On 7/7/05, शंतनु (Shantanoo) <[EMAIL PROTECTED]> wrote:
> On 7/7/05, billy gates <[EMAIL PROTECTED]> wrote:
> > can you help me to get root passwd without boot loader?(may be software for 
> > windows or linux)
> 
> password is stored as the md5 of the string. can't be reverse engineered.
> 
> Regards,
> Shantanoo

Of course, you can change the root password if you have physical
access to the machine.  Boot into single user mode, "mount -a", and
use the "passwd" command to make a new password.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

ports: www/jakarata-tomcat*

2005-07-07 Thread Chris Knipe

Lo all,

[EMAIL PROTECTED]:/usr/ports/www/jakarta-tomcat41# make WITHOUT_X11=yes install 
clean
jakarta-tomcat-4.1.31_1: Environment error: "JAVA_PORT" should not be 
defined.

*** Error code 1


I did tripple check, at the time of running make, the variable is NOT 
defined.  I can't install any of the tomcat versions Help???


--
Chris. 



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


Re: Nothing works

2005-07-07 Thread Thomas Leveille
On 7/7/05, Jonathan Arnold <[EMAIL PROTECTED]> wrote:
> I would recommend Greg Lehey's
> "Complete FreeBSD" (note: I helped proofread the book and got a free copy
> for it - but it's still a great book!). I also found "FreeBSD Unleashed" to
> be pretty solid as well.

FreeBSD Unleashed is the only one I bought a few years ago and it's
quite good though there's nothing more than what you find in the
handbook and man pages.

It costs only 60$ for both volumes of the handbook on paper and there
is CD+Hanbook Vol 1 bundle for the same price. Vol.1 covers pretty
much everything a new user should know in the first hours..

freebsd mall :
http://www.freebsdmall.com/cgi-bin/fm

> But my basic advice is to take a deep breath, take things step by step, and
> ask (nicely!) here if/when you have questions.  Take a look at some web
> sites, as there are lots of them out there with helpful advice. Check out
> BSDForums.org for even more help.

>From experience, it's always good to have the information on paper,
especially for someone who doesn't have a second computer with a web
access.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: root passwd

2005-07-07 Thread Shantanoo
On 7/7/05, billy gates <[EMAIL PROTECTED]> wrote:
> can you help me to get root passwd without boot loader?(may be software for 
> windows or linux)

password is stored as the md5 of the string. can't be reverse engineered. 

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


Re: disk write barriers

2005-07-07 Thread Lowell Gilbert
Matthias Buelow <[EMAIL PROTECTED]> writes:

> Now my question is: Does FreeBSD also implements these barriers, or an
> equivalent mechanism, as claimed on the above URL?

Do you have a background in OS design?  It affects the answer, because
you seem to be referring to access barriers and disk cache flushes
interchangeably, which doesn't make sense, especially on
multiprocessor systems.

>If it does, why then
> the frequent advice to disable write-back caching? Or is that only for
> the couple drives that ignore any flush cache/disable wb commands? 

The problem with caching has nothing to do with flushing the cache; if
you flush the cache often, there's no advantage to using it anyway.
The whole speedup from using on-disk caching comes from the fact that
the drive reorders the writes at will, and lies to the operating
system by saying the writes are done when they aren't.  Among other
obvious problems, this negates the careful ordering calculated by
softupdates.

>I
> know my drive doesn't ignore that command (since performance drops
> sharply, when I disable the cache), so I would be on the safe side.

This doesn't follow.  Just because you know that your drive supports
disabling the cache does not mean that it is safe to do so.

> Would it be possible to get an authoritative statement from a FreeBSD
> developer here on that matter?

Could depend on how much you're willing to pay them.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Copying data onto a NTFS partitioned hdd

2005-07-07 Thread John Brooks
WinNT does not support FAT32

--
John Brooks
[EMAIL PROTECTED] 

> 
> BTW, I had to format as NTFS since Win2K is my only option for the
> moment; first time I ever tried to use WinNT to format a volume or
> drive as FAT32 & was strikingly unsurprised when it failed at such a
> banal task.  I am now operating under the assumption I must reformat
> later to use with *nix/*BSD, so this thread is quite interesting to me
> so I can do it right the next time .. hopefully within a week to ten
> days.
> 

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


Re: Did we must put the mounted partition '/' and '/boot' in the same slice ?

2005-07-07 Thread Alex Zbyslaw

Shark Wang wrote:


Today, I heard something on the partition policy for FreeBSD.

Someone said that we must put the mounted partition '/' and '/boot'
in the same slice, otherwise, the System will not boot up !
 


So what?

Please explain what actual problem you are trying to solve and why you 
would want to make /boot a partition at all?


Have you read relevant sections from the handbook? 


You could start with:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disk-organization.html

--Alex

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


Re: Nothing works

2005-07-07 Thread Jonathan Arnold

Timothy McLouth wrote:
I also bought a book for $47 which is useless, the title is misleading..."The design and implementation of FreeBSD" 


Yeah, that's not the book for newbie help.  I would recommend Greg Lehey's
"Complete FreeBSD" (note: I helped proofread the book and got a free copy
for it - but it's still a great book!). I also found "FreeBSD Unleashed" to
be pretty solid as well.

But my basic advice is to take a deep breath, take things step by step, and
ask (nicely!) here if/when you have questions.  Take a look at some web
sites, as there are lots of them out there with helpful advice. Check out
BSDForums.org for even more help.

--
Jonathan Arnold (mailto:[EMAIL PROTECTED])
Daemon Dancing in the Dark, a FreeBSD weblog:
http://freebsd.amazingdev.com/blog/

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


root passwd

2005-07-07 Thread billy gates
can you help me to get root passwd without boot loader?(may be software for 
windows or linux)
 

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


install FreeBSD 5.3 and gnome2 help

2005-07-07 Thread Brian Duke
This is probably the wrong list to post to. Please direct me to a more
appropriate one if this is the case.

I'm having trouble building gnome2.

OS if FreeBSD 5.3

Fresh install.

Loaded via ftp

The very first thing I do is update the ports tree.

Next I try to build gnome2 and it's the libgnomecanvas that fails.

Here is the output from the make install:

 

bsd_ws1# cd /usr/ports/x11/gnome2

bsd_ws1# make install clean

===>  Installing for gnome2-2.10.1

===>   gnome2-2.10.1 depends on file: /usr/X11R6/libexec/gweather-applet-2 -
not found

===>Verifying install for /usr/X11R6/libexec/gweather-applet-2 in
/usr/ports/x11/gnomeapplets2

===>   gnomeapplets2-2.10.1_3 depends on file:
/usr/X11R6/libdata/pkgconfig/gnome-system-tools.pc - not found

===>Verifying install for
/usr/X11R6/libdata/pkgconfig/gnome-system-tools.pc in
/usr/ports/sysutils/gnomesystemtools

===>   gnomesystemtools-1.2.0_2 depends on file:
/usr/X11R6/share/setup-tool-backends/scripts/xml.pl - found

===>   gnomesystemtools-1.2.0_2 depends on executable: gmake - found

===>   gnomesystemtools-1.2.0_2 depends on file: /usr/local/bin/libtool15 -
found

===>   gnomesystemtools-1.2.0_2 depends on file:
/usr/local/bin/intltool-extract - found

===>   gnomesystemtools-1.2.0_2 depends on file:
/usr/X11R6/libdata/pkgconfig/gnome-mime-data-2.0.pc - found

===>   gnomesystemtools-1.2.0_2 depends on executable: pkg-config - found

===>   gnomesystemtools-1.2.0_2 depends on shared library: esd.2 - found

===>   gnomesystemtools-1.2.0_2 depends on shared library: atk-1.0.901 -
found

===>   gnomesystemtools-1.2.0_2 depends on shared library: eel-2.12 - not
found

===>Verifying install for eel-2.12 in /usr/ports/x11-toolkits/eel

===>   eel-2.10.1_1 depends on executable: gmake - found

===>   eel-2.10.1_1 depends on file: /usr/local/bin/libtool15 - found

===>   eel-2.10.1_1 depends on file: /usr/local/bin/intltool-extract - found

===>   eel-2.10.1_1 depends on file:
/usr/X11R6/libdata/pkgconfig/gnome-mime-data-2.0.pc - found

===>   eel-2.10.1_1 depends on executable: pkg-config - found

===>   eel-2.10.1_1 depends on shared library: esd.2 - found

===>   eel-2.10.1_1 depends on shared library: atk-1.0.901 - found

===>   eel-2.10.1_1 depends on shared library: gailutil.17 - not found

===>Verifying install for gailutil.17 in /usr/ports/accessibility/gail

===>   gail-1.8.4 depends on executable: gmake - found

===>   gail-1.8.4 depends on file: /usr/local/bin/libtool15 - found

===>   gail-1.8.4 depends on file: /usr/local/bin/intltool-extract - found

===>   gail-1.8.4 depends on executable: pkg-config - found

===>   gail-1.8.4 depends on shared library: atk-1.0.901 - found

===>   gail-1.8.4 depends on shared library: glib-2.0.600 - found

===>   gail-1.8.4 depends on shared library: gtk-x11-2.0.600 - found

===>   gail-1.8.4 depends on shared library: art_lgpl_2.5 - found

===>   gail-1.8.4 depends on shared library: glade-2.0.0 - found

===>   gail-1.8.4 depends on shared library: gnomecanvas-2.1000 - not found

===>Verifying install for gnomecanvas-2.1000 in
/usr/ports/graphics/libgnomecanvas

===>  Building for libgnomecanvas-2.10.2_1

gmake  all-recursive

gmake[1]: Entering directory
`/usr/ports/graphics/libgnomecanvas/work/libgnomecanvas-2.10.2'

Making all in libgnomecanvas

gmake[2]: Entering directory
`/usr/ports/graphics/libgnomecanvas/work/libgnomecanvas-2.10.2/libgnomecanva
s'

gmake  all-am

gmake[3]: Entering directory
`/usr/ports/graphics/libgnomecanvas/work/libgnomecanvas-2.10.2/libgnomecanva
s'

/bin/sh /usr/local/bin/libtool15 --mode=link cc  -O -pipe   -L/usr/local/lib
-o libgnomecanvas-2.la -rpath /usr/X11R6/lib  -version-info 1000:2:1000
gnome-canvas-shape.lo gnome-canvas-bpath.lo gnome-canvas-path-def.lo
gnome-canvas-clipgroup.lo gnome-canvas-line.lo gnome-canvas-pixbuf.lo
gnome-canvas-polygon.lo gnome-canvas-rect-ellipse.lo gnome-canvas-text.lo
gnome-canvas-rich-text.lo gnome-canvas-util.lo gnome-canvas-widget.lo
gnome-canvas.lo libgnomecanvastypes.lo -L/usr/local/lib -L/usr/X11R6/lib
-lgtk-x11-2.0 -lgdk-x11-2.0 -lXrandr -lXi -lXinerama -lXcursor -latk-1.0
-lgdk_pixbuf-2.0 -lpangoxft-1.0 -lXft -lXrender -lXext -lpangox-1.0 -lX11
-lart_lgpl_2 -lpangoft2-1.0 -lfontconfig -lfreetype -lz -lpango-1.0 -lm
-lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -liconv

libtool15: link: CURRENT `1000' is not a nonnegative integer

libtool15: link: `1000:2:1000' is not valid version information

gmake[3]: *** [libgnomecanvas-2.la] Error 1

gmake[3]: Leaving directory
`/usr/ports/graphics/libgnomecanvas/work/libgnomecanvas-2.10.2/libgnomecanva
s'

gmake[2]: *** [all] Error 2

gmake[2]: Leaving directory
`/usr/ports/graphics/libgnomecanvas/work/libgnomecanvas-2.10.2/libgnomecanva
s'

gmake[1]: *** [all-recursive] Error 1

gmake[1]: Leaving directory
`/usr/ports/graphics/libgnomecanvas/work/libgnomecanvas-2.10.2'

gmake: *** [all] Error 2

*** Error code 2

 

Stop in /usr/ports/graphics/libgnomecanvas.

*** Error code 1

 


snapshot - 5.4 panic

2005-07-07 Thread Per olof Ljungmark

I did a test install of snapshot(8)
http://people.freebsd.org/~rse/snapshot/
It seemingly worked well, I could mount the snapshots as expected etc. 
This morning when I rebuilt the system from 5.4p1 to p4 and rebooted.


At boot the system panicked:
panic: snapblkfree: Inconsistent block type

setting
amd_enable="NO"
did not help

I did a "rm -rf .snap" on all concerned slices and that stopped the 
system from panicking.


I'm not particulary fluent with what snapshot does and would like to 
hear from anyone that might have a clue.


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


Re: Copying data onto a NTFS partitioned hdd

2005-07-07 Thread Bart Silverstrim


On Jul 7, 2005, at 7:07 AM, Igor Robul wrote:


datora tehnika wrote:


''too small.''  Then I went with ''default,'' but then the volume size
was ''too large.'' (for a 40 GB drive, the identical twin of which

This is known problem for Windows 2000 DiskManager. You can create 
FAT32 with Win98, Partition Magic, Linux, FreeBSD. Windows 2000 will 
be able to access disk.


I know it isn't what one would probably want to hear as a solution, but 
there are two other possibilities...


Purchase a cheap Windows system to act as a file server on your home 
network, and you can share data using CIFS, or...


Create a partition for Windows to share data with FreeBSD, and use an 
IFS driver to access it in a neutral filesystem, like EXT3 (something 
like http://uranus.it.swin.edu.au/~jn/linux/ext2ifs.htm ).


Depending on what you're using Windows for, you could also look into 
running something like VMWare on FreeBSD.


Personally, just for less hassle down the road, I'd personally opt for 
the second machine and use file shares to share data.  But that's just 
me...


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


Keymapping in X: xterm vs. rxvt

2005-07-07 Thread Christopher Illies
I have some problems with how some programs as sh or dc behave in
aterm, but not xterm. 

About my system:
~%uname -a
FreeBSD Klabautermann.ks.se 5.4-STABLE FreeBSD 5.4-STABLE #8: Thu Jun
30 21:18:02 CEST 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CUSTOM  i386

With a Swedish keyboard:
~%cat /etc/rc.conf
[...]
keymap="swedish.iso"
[...]

~%cat /usr/X11R6/lib/X11/xorg.conf
[...]
Section "InputDevice"
Identifier  "Keyboard0"
Driver  "kbd"
Option  "XkbRules" "xorg"
Option  "XkbModel" "pc105"
Option  "XkbLayout" "se"
Option  "XkbVariant" "nodeadkeys"
EndSection
[...]

~%cat .login_conf
[...]
me:\
:charset=iso-8859-1:\
:lang=en_US.ISO8859-1
[...]

The problem starts when I use any of rxvt/aterm/wterm with sh as their
shell (e.g. aterm -e sh): In this case when I press "SHIFT" + "8",
which should give me "(" (= open parenthesis) on my keyboard, the shell 
executes a backspace. Also the backspace does not work, but apart from that
all other keys, including special characters, seem to work fine.

With xterm I do not see any of these problems at all.

All other shells, csh, tcsh and zsh work fine with aterm.

So far I could ignore all this and be happy using aterm with zsh, but
when I now (aterm and zsh) use a program like dc or ficl, which
require input, I again have "SHIFT" + "8" mapped to "BACKSPACE" not to
"(". Again, dc does not have this problem run in xterm.

This behaviour seems to be inheritable, because when start xterm not
directly from the window manager, but from aterm, both sh and dc have
"SHIFT" + "8" mapped to a backspace-like action. I checked the $TERM
variable, but that is always "rxvt" on aterm and "xterm" on xterm.

BTW, bc and vi run fine under all conditions, i.e. "(" is where it
should be.

So to conclude: There is something that sh, dc and ficl have in common
concerning how they interpret keys under X that does not work together
with aterm/rxvt/wterm, but runs fine with xterm. Then again, this
behavior seems to be inheritable.

Result: I am confused. Where is the problem? Is it my configuration,
something with xorg, something with rxvt/aterm/wterm or something with
sh/dc/...? How can I fix it, so that sh and dc will have the correct
keyboard mapping also in aterm?

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


ipsec with dynamic ip

2005-07-07 Thread Géczi Szabolcs

hi there,

is there anyway (howto) to establish freebsd ipsec with dynamic ip?
i got an a fix ip addressed freebsd server and would like t connect with 
another freebsd but with dynamic address.


thx

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


Re: Copying data onto a NTFS partitioned hdd

2005-07-07 Thread datora tehnika
On 7/7/05, Igor Robul <[EMAIL PROTECTED]> wrote:
> datora tehnika wrote:
> 
> >''too small.''  Then I went with ''default,'' but then the volume size
> >was ''too large.'' (for a 40 GB drive, the identical twin of which
> >
> This is known problem for Windows 2000 DiskManager. You can create FAT32
> with Win98, Partition Magic, Linux, FreeBSD. Windows 2000 will be able
> to access disk.

Nice to have a recipe to get the porridge just right.  ;-)

I'm gonna take a stab at it over the next couple of days & I'll post
results, but I _think_ I can get the Win98 fdisk onto a bootable
floppy and then FAT32 & partition a hard drive from there.  I seem to
recall having done it about four years back, but i'm a bit fuzzy on
the details at this moment.  Need to pull my Win98 CD & some old tech
references.

THANKS !

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


Re: ftp access Q's to ftp.freeBSD & mirrors

2005-07-07 Thread datora tehnika
THANK YOU !

I have no idea why this would not work before .. exactly why I was
whining so loudly here.  This should have been a no-brain try &
succeed once thing.

I just now tried ftp.lt.freebsd.org, [EMAIL PROTECTED] as the password
and in like flynn.

Bizarre ... the email address I am posting this from was not accepted !!

Yep .. I knew WSFTP95 does not have resume; sorry about the confusion
in my posts.  I was using this to establish an FTP connection to check
that I could & to get a speed test out of it for time estimates at
different sites.  It's such an old and reliable application & I know
it pretty well I didn't want to confuse myself (moreso than I usually
am!) by bumping around several new interfaces.

THX for the smartFTP link; I'm collecting a whole set of freebie ftp
utilities; resume was not so critical before as it has suddenly
become.  I haven't DL'd anything larger than about 90 or 100 MB in the
last two years.

My cable cnnxn currently runs about 100 MB/ hour with some varience
(~29 - 32 bps is norm) ... so, y'all will be crazed ... er, graced
with my newbie install attempts Real Soon Now; I expect by Monday
depending on other things I am trying to get done.

I know all about burning an ISO with something like nero ... that is
exactly what I use; I have a fully licensed personal copy of 5.5 that
hasn't failed me yet for many IOS's, including linux installs.  Nero
rocks !

I have ftp.  I am happy.

Paldies!  ;-)

  -- datora

Successful session established :

WINSOCK.DLL: WinSock 2.0
WS_FTP LE 5.08 2000.01.13, Copyright (c) 1992-2000 Ipswitch, Inc.
- -
connecting to 213.197.128.70:21
Connected to 213.197.128.70 port 21
220 ocean.cs.microlink.lt FTP server (Version 6.00LS) ready.
USER anonymous
331 Guest login ok, send your email address as password.
PASS (hidden)
230 Guest login ok, access restrictions apply.
PWD
257 "/" is current directory.
SYST
215 UNIX Type: L8 Version: BSD-199506
Host type (S): UNIX (standard)
PASV
227 Entering Passive Mode (213,197,128,70,219,158)
connecting to 213.197.128.70:56222
- -
connecting to 213.197.128.70:56222
Connected to 213.197.128.70 port 56222
LIST
150 Opening ASCII mode data connection for '/bin/ls'.
Received 402 bytes in 0.1 secs, (30.00 Kbps), transfer succeeded
226 Transfer complete.

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


Did we must put the mounted partition '/' and '/boot' in the same slice ?

2005-07-07 Thread Shark Wang
Today, I heard something on the partition policy for FreeBSD.

Someone said that we must put the mounted partition '/' and '/boot'
in the same slice, otherwise, the System will not boot up !

Can someone give me a confirmed anwser? thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Copying data onto a NTFS partitioned hdd

2005-07-07 Thread Igor Robul

datora tehnika wrote:


''too small.''  Then I went with ''default,'' but then the volume size
was ''too large.'' (for a 40 GB drive, the identical twin of which
 

This is known problem for Windows 2000 DiskManager. You can create FAT32 
with Win98, Partition Magic, Linux, FreeBSD. Windows 2000 will be able 
to access disk.


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


  1   2   >