Re: Crossbuilding 4-stable release on 5.x: perl missing

2004-06-08 Thread Ruben de Groot
Following up on myself to get an answer into the archives...
I finally managed to finish the release build by adding the LOCAL_SCRIPT 
variable. This script, run inside the chrooted environment, does the 
following 3 things:

- create a working /etc/resolv.conf
- pkg_add -r perl
- mount devfs (another show-stopper I bumped into later)
Ruben de Groot wrote:
Hi there,
I'm trying to build releases of releng_4 on a 5.2.1 system.
Unfortunately, the build fails because there's no perl installed in 
the chrooted environment.

Any tips or examples would be greatly appreciated as I'm a bit
stuck here. Thanks
Ruben
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


pflogsumm and postfix2 logs

2004-06-08 Thread dave
Hello,
I've got pflogsumm running to analyze and summarize postfix logs. In the
report it is reporting zero for all activities, even though i've sent mail
during the period of the check. Any ideas?
Thanks.
Dave.

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


ideal ipfw traffic shaping rules for small DSL net

2004-06-08 Thread Kenji M
Hello network gurus,
I'm looking for a good baseline ipfw shaping policy configuration for
people who are using small upstream DSL bandwidth.  I have 3Mbit 
downstream and 768K upstream and I use a ipf for natting and ipfw 
with dummynet to do traffic shaping.  Considering a 750KB upstream
pipe, what size queues would be the most beneficial to balance 
http, ssh, and other chat protocols sitting behind the natted firewall?

I'm looking for some sample configurations to study.

Any pointers appreciated!

-Kenji


-- 
+
kenji morishige
[EMAIL PROTECTED]
http://www.kenjim.com
+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


java not running .jar files without absolute path. (take II)

2004-06-08 Thread epilogue

anyone have thoughts on the below?  thanks.


--
Begin forwarded message:

Date: Thu, 3 Jun 2004 13:20:35 -0400
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: java not running .jar files without absolute path.


hey all,

> which java
/usr/local/jdk1.4.2/bin/java

> java -jar Jreepad-1.0.jar 
Error: could not find libjava.so
Error: could not find Java 2 Runtime Environment.

however, the program will run with an absolute path:
> /usr/local/jdk1.4.2/bin/java -jar Jreepad-1.0.jar


i don't see any typos in my $PATH (witness 'which' result above).

the same occurs with linux-sun-jdk (when i put it earlier in the $PATH)

am i missing something?  is this standard behaviour for java?


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


skippy-0.5.0 under fluxbox-devel-0.9.9 [take II]

2004-06-08 Thread epilogue

for those of you running many windows under X, skippy might be of interest
to you.  check it out.  if you manage to get it working and think you know
what i'm doing wrong, please let me know.   :)thanks.



Begin forwarded message:

Date: Thu, 3 Jun 2004 17:51:55 -0400
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: skippy-0.5.0 under fluxbox-devel-0.9.9


hello all,

has anyone got skippy to work under the most recent version of fluxbox? 
the skippy homepage (http://thegraveyard.org/skippy.php) says that it
should.

i followed the instructions about creating the .skippyrc file.  when i try
to launch skippy, i get the following errors:

~> skippy
WARNING: Ignoring invalid line: [general]
WARNING: Ignoring invalid line: keysym = F11
WARNING: Ignoring invalid line: distance = 50
WARNING: Ignoring invalid line: useNETWMFullscreen = true
WARNING: Ignoring invalid line: ignoreSkipTaskbar = false
WARNING: Ignoring invalid line: [xinerama]
WARNING: Ignoring invalid line: showAll = false
WARNING: Ignoring invalid line: [normal]
WARNING: Ignoring invalid line: brightness = 0.0
WARNING: Ignoring invalid line: tint = white
WARNING: Ignoring invalid line: opacity = 200
WARNING: Ignoring invalid line: border = black
WARNING: Ignoring invalid line: [highlight]
WARNING: Ignoring invalid line: brightness = 0.05
WARNING: Ignoring invalid line: tint = #d0d0ff
WARNING: Ignoring invalid line: opacity = 255
WARNING: Ignoring invalid line: border = #d0d0ff
WARNING: Ignoring invalid line: [tooltip]
WARNING: Ignoring invalid line: show = true
WARNING: Ignoring invalid line: border = black
WARNING: Ignoring invalid line: background = #e0e0ff
WARNING: Ignoring invalid line: text = black
WARNING: Ignoring invalid line: font = fixed-11:weight=bold
X Error of failed request:  BadAccess (attempt to access private resource
denied)  Major opcode of failed request:  33 (X_GrabKey)
  Serial number of failed request:  92
  Current serial number in output stream:  92

the author's usage instructions don't say anything about actually
launching skippy, whether via a terminal or .xinitrc.  i have the feeling
that i missed a step somewhere along the way.

any help would be appreciated.


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


freddbsd (Now what)

2004-06-08 Thread LW Ellis
First Thanx to all for the book / website suggestions

I have installed FreeBSD. I have two questions, I am a complete newby to
unix.

1)  I installed KDE lite package that came with the CD I downloaded.
Now what? Where is it? What is my next step?

2) How do I edit my 10/100 card settings, I'm not sure they're right yet.

Thanx

Later,
Leon
A fanatic is one who can't change his mind and won't change the subject.
Sir Winston Churchill

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


apcupsd port not starting

2004-06-08 Thread dave
Hello,
I've got the latest apcupsd port installed on my 5.2.1 machine. I've got
an APC xs1500va UPS which is supported. I'm going by the apcupsd user's
guide and have set both UPSTYPE and UPSCABLE to usb however when i start
apcupsd i keep getting the message:
"apcupsd driver type usb not found"
and it suggests i rerun configure with the --enable-usb option. I check the
port and one of the args passed to it's configure is --enable-usb.
Any help appreciated.
Thanks.
Dave.

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


Re: Printing to a network photosmart printer

2004-06-08 Thread Louis LeBlanc
On 06/08/04 05:46 PM, Warren Block sat at the `puter and typed:
> On Tue, 8 Jun 2004, Louis LeBlanc wrote:
> 
> >> See /usr/ports/print/hpijs.
> >
> > This certainly claims to work.  I'm not understanding something
> > though.  I'm trying to set it up through /etc/printcap as described,
> > but I still get the same problem after restarting lpd.
> >
> > I've downloaded the ppd, done the edits as recommended, and the
> > /etc/printcap entry is as follows:
> >
> >
> > Here's where I'm not sure:  The command I added to the ppd file is:
> > *FoomaticRIPPostPipe: "| rlpr [EMAIL PROTECTED]"
> >
> > Now, I changed this under the assumption that the queue on the printer
> > is named lp.  The machine is reachable (and pingable) at the dns name
> > "printer" so I'm sure that part is correct.
> 
> HP JetDirects use "raw" for the queue name.  Here is your printcap with 
> some suggested changes:
> 
> > lp|HP PSC 2510:\
>   :lp=:\
> >:rm=printer:\
>   :rp=raw:\
> >:if=/usr/local/bin/foomatic-rip:\
> >:af=/usr/local/etc/cups/ppd/HP-PSC_2500-hpijs.ppd:\
> >:sd=/var/spool/lpd/lp:\
>   :mx#0:\
> >:sh:
> 
> (Your if= and af= might be wrong; don't know.)


Thank you *very* much for your help Warren.  It turned out something
was still wrong.  I tried the CUPS install, and apparently found
something right, because I managed to get a test page printed from the
web interface to CUPS.  Looked pretty darn good actually.

The printcap file was automatically generated from the web management
input (http://localhost:631) which was pretty easy.  The only thing in
the printcap other than comments was
lp|lp:rm=keyslapper.org:rp=lp:

Once I got cups-lpr installed, it works fine.  Now the tricky part is
remembering the path to the cups version.  I can live with that.

Thanks again.

Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

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


Re: freebsd- Newby question

2004-06-08 Thread Reed L. O'Brien
I am trying to learn unix. I need a recommendation for a good beginers book
(eg: Unix for dummies)
AbsoluteBSD by MICHAEL LUCAS
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: does NATd _prevent_ use of stateful ipfw rules w/ keep-state?

2004-06-08 Thread JJB
Thanks for your example. I have finally had time to study it
and I see the flaw in it.

The example works fine for creating the entry in the dynamic table
for setup of keep-state inbound and outbound session start requests.
It even handles inbound packets that are part of an established
session
conversations, But for established outbound session conversations
the check-state rule releases the packet before it has been nated.

There lies in the flaw.

Do you have any suggestions on how to correct this?



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Thomas Wolf
Sent: Thursday, June 03, 2004 3:00 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: does NATd _prevent_ use of stateful ipfw rules w/
keep-state?


JJB <[EMAIL PROTECTED]> schrieb:

> Where do you get off calling my questioning of Luigi Rizzo's
answer
> as an attack.
> I have heard that party line statement all to often over that last
4
> years, with no backup proof. That party line canned answer may be
> sufficient for the original thread poster who has not invested the
> time yet to come to the realization that it doe's not work.
> My post to the tread was meant to bring this problem out so the
> experts can look into it and take corrective actions.

This should work although some features are missing
(loopback, anti-spoofing, identd..):

#!/bin/sh
log="log"
cmd="ipfw add"
allow="skipto 1"
oif=rl0
good_tcp="22,25,53,80,443,110"
good_udp="53"
good_icmp="icmptypes 0,3,8,11,12"
ipfw -f flush

$cmd 100 divert natd ip from any to any in via $oif
$cmd 105 check-state
$cmd 110 $allow icmp from any to any $good_icmp
$cmd 120 $allow udp from any to any $good_udp out keep-state
$cmd 130 $allow tcp from any to any $good_tcp out setup keep-state
$cmd 140 deny $log ip from any to any
$cmd 1 divert natd ip from any to any out via $oif
$cmd 10010 allow ip from any to any
$cmd 10020 deny ip from any to any


Thomas

--
Thomas Wolf
Wiener Software Fabrik
Dubas u. Wolf GMBH
1050 Wien, Mittersteig 4

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

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


Re: freebsd- Newby question

2004-06-08 Thread Jay Moore
On Tuesday 08 June 2004 04:27 pm, LW Ellis wrote:

> I am trying to learn unix. I need a recommendation for a good beginers book
> (eg: Unix for dummies)

I like Sobell's book, "A Practical Guide to the Unix System"

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


Building Perl with shared lib libperl

2004-06-08 Thread Robert Fitzpatrick
Trying to install a procedural language in PostgreSQL 7.4.2, pl/perl,
but it complains that my 'libperl is not a shared library' and that I
may need to rebuild my Perl. I am using Perl 5.6.1, is there a way to
set this option when using the port /usr/ports/lang/perl5?

-- 
Robert

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


Re: Top Consistency

2004-06-08 Thread Dan Nelson
In the last episode (Jun 08), Doug Hardie said:
> I am running FreeBSD 4.6 and top does not show consistent data (at
> least in my understanding).  The cpu states line shows the percent of
> time in user state.  I would expect the percent processor used by all
> the active processes to add up to something close to that. (single
> processor machine).  However, it never seems to come close.  Often it
> will show 25% user and the sums of the active processes utilizations
> will be around 2%.  Other times it will show 2% user and the sum of
> the processes is over 10%.  Is top wacky or is my understanding
> wrong?

The %WCPU and %CPU columns are weighted averages over ~60 seconds,
while the "CPU states" row is an instantaneous snapshot, so they will
almost never total up.

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


Re: Anti-Spam app for sendmail

2004-06-08 Thread Fernando Gleiser
On Tue, 8 Jun 2004, Thomas Farrell wrote:

> cpan mods needed.   I am using mailmonitor & sophos sweep works great I can
> block files or file extentions types, block subject content,  quarantine
> infected attachments, attempt to clean them.  You can go to sophos.com and
> fill out evalutaions for both mailmonitor & sweep . One thing mailmonitor
> needs to be run in linux compatibility mode and you need to install the
> linux versions of sweep & mailmonitor .  They actually make software
> packages for BSD. unfourtunatly mailmonitor is targeted to linux ,solaris &
> Windoz .
>

I'm using mimedefang+clamav for virus/malware. clamav is an open source
antivirus which works great for me

For spam, I use spamassasin called from within mimedefang.



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


Re: Improper shutdown of system / Fragmentation Problems / Boot logs

2004-06-08 Thread Thomas Farrell
Sometimes  the power goes out and my machine shuts off . when I power it
backup it fails at check root file system. and drops me into a shell I run
fsck /dev/da0s1a   and answer yes to fixing of fragmented inodes.  figure
out what drive/partition root is mounted of  by typing df and then run fsck
on it.

ssigc# df
Filesystem  1K-blocks UsedAvail Capacity  Mounted on
/dev/da0s1a   1813422  1323568   344478239%/
ssigc#fsck /dev/da0s1a


- Original Message -
From: "Bruce Hunter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 08, 2004 2:01 AM
Subject: Improper shutdown of system / Fragmentation Problems / Boot logs


> I am kinda new to FBSD, still kinda learning stuff. Anyway, when my
> system boots i see all kinda fragmentation information. How do I correct
> this? Any good reading material? Also, what should I do when I shutdown
> my system incorrectly and boot up again? Last questions! I promise. Is
> there a file that shows the data printed to screen durning boot?
> Probably, a log file.
>
> Thanks guys,
> Bruce
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>
>


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


Re: Anti-Spam app for sendmail

2004-06-08 Thread Thomas Farrell
Yes Mailscanner is good but you may have to jump through hoops to get it to
work with BSD . No matter what OS you will still need to install a bunch of
perl modules for mailscanner & spamassasin. If thats ok with you then they
are pretty good.  First your going to need a licensed version of sometype of
antivirus application you can always get freeB's  but they will eventually
run out. some of the AV for BSD  are panda, kaspersky,. macfee, and Sophos
& fprot . Both Fprot & Sophos have evaluation versions both are easy to
install and use. Your next choice is what mailscanner application to use. I
have setup mailscanner with the fprot & sweep succesfully on 4.8 could not
get it to work on 5.0 . I did not even try spamassasin because of all the
cpan mods needed.   I am using mailmonitor & sophos sweep works great I can
block files or file extentions types, block subject content,  quarantine
infected attachments, attempt to clean them.  You can go to sophos.com and
fill out evalutaions for both mailmonitor & sweep . One thing mailmonitor
needs to be run in linux compatibility mode and you need to install the
linux versions of sweep & mailmonitor .  They actually make software
packages for BSD. unfourtunatly mailmonitor is targeted to linux ,solaris &
Windoz .

PS  I had rambled on about sophos & mailmonitor in another bsd question here
is the link  and here is a response from some guy in Germany or something .
I guess he is using some other mailscanning software  check it out.
http://www.mail-archive.com/[EMAIL PROTECTED]/msg65212.html

http://www.mail-archive.com/[EMAIL PROTECTED]/msg65240.html

 I wonder who should ever need mailmonitor in FreeBSD
> Here we are running Sophos on several FBSD machines and we use amavis to
make it scan and filter
> our mails. That works perfectly and so I see no need for mailmonitor at
all.

- Original Message -
From: "Chris" <[EMAIL PROTECTED]>
To: "FreeBSD Questions" <[EMAIL PROTECTED]>
Sent: Tuesday, June 08, 2004 11:35 AM
Subject: Anti-Spam app for sendmail


> Any comments on a good anti-spam app that works with sendmail for a mail
> server?
>
> --
> Best regards,
> Chris
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>
>


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


Top Consistency

2004-06-08 Thread Doug Hardie
I am running FreeBSD 4.6 and top does not show consistent data (at 
least in my understanding).  The cpu states line shows the percent of 
time in user state.  I would expect the percent processor used by all 
the active processes to add up to something close to that. (single 
processor machine).  However, it never seems to come close.  Often it 
will show 25% user and the sums of the active processes utilizations 
will be around 2%.  Other times it will show 2% user and the sum of the 
processes is over 10%.  Is top wacky or is my understanding wrong?

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


Problem with Xfree86 resolution

2004-06-08 Thread Dragoncrest
	Not sure if this is something I did, or it's a limit of the driver or the 
card.  But I have a Nvidia FX 5200 I'm running and I tried bumping it to 
1400x1050 resolution with no luck.  Same with 1600x1200.  It seems stuck at 
1280x1024 resolution and I can't get it to go any higher.  Do I need to 
bump my monitor refresh or sync or anything like that?  I'm kinda stumped 
on this.  Any pointers would be welcome.  Thanks.

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


Re: Wisdom of automating upgrades

2004-06-08 Thread Stephen Liu
HI Luke,

Thanks for your advice.

> > Is there a way updating all installed ports
> > automatically wheneven the server/workstation is
> > booted and connected to Internet, similar to ntp
> > synchronizing the clock.
> > 
> in theory it should be possible to write a script
> that runs portupgrade
> and then run it once at boot time from cron but I
> have never done it
> personally. I can see some potential for disaster if
> it is not done with
> extreme care. 

Where can I find some reference in this respect.

TIA

B.R.
Stephen


___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Leaving a server on all day

2004-06-08 Thread Robert Storey
I'm surprised no one's mentioned this yet, but one way to significantly
reduce power consumption is to downclock the processor. Yes, that
reduces performance, but chances are you won't even notice it unless
you're running the server under a heavy load. You said your network
consists of two machines (a laptop and desktop) - that is very far from
a "heavy load". You said you have a 1.8 GHz Athlon - if you downclocked
it 50% you still probably wouldn't notice any change. I have an old
machine with a 300 MHz processor, but even that is more than adequate
when it's only serving web pages or mail to a single laptop. On most new
motherboards, you set the clock speed in the BIOS, but on older machines
it requires changing jumper settings. Obviously, doing it in BIOS is
much easier.

> : Yes; spills, flying objects, whatever. Most importantly, it's not on
> : the floor, and securely on my desk. I deal w/ the noise by keeping
> the
> 
> What is so bad with the floor?

I've found that when the machine is left on the floor, it sucks in a lot
of dust. And the dust coats everything and makes it run hotter. I live
in a dusty place, so I periodically have to open the case and blow out
the dust with an air compressor.

 
> : > That reminds me: is a CD/RW a feasible data backup device?  I've
> never used: > mine.
> : 
> : For me, yes it is. Tapes are, or were, too expensive. The CD/RW I

Read the FreeBSD Handbook, the section on "Raw Data CDs". That's the
backup method I use, and it works well. It's also kind of nice that
nobody else can read your CDs unless they're using FreeBSD.

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


Re: Improper shutdown of system / Fragmentation Problems / Boot logs

2004-06-08 Thread Robert Storey

> I am kinda new to FBSD, still kinda learning stuff. Anyway, when my
> system boots i see all kinda fragmentation information. How do I
> correct this? Any good reading material? 

FreeBSD will defragment itself without any action from the user.
However, defragmentation requires some blank space, and (ideally) you
should not let any partition get more than 80% full. You can check on
that with "df -h":

[EMAIL PROTECTED]:~> df -h
FilesystemSize   Used  Avail Capacity  Mounted on
/dev/ad0s2a   248M68M   160M30%/
devfs 1.0K   1.0K 0B   100%/dev
/dev/ad0s2g   2.4G   281M   1.9G13%/home
/dev/ad0s2e   248M   1.2M   227M 1%/tmp
/dev/ad0s2f   8.7G   2.4G   5.6G30%/usr
/dev/ad0s2d   248M17M   211M 8%/var

The column labeled "Capacity" tells you the percentage of space being
consumed - over 80% would be bad. Note that the "devfs" uses 100% (on
FBSD 5.x, it doesn't exist on 4.x) - that's no problem, it's not a
partition and it will always be 100%.

regards,
Robert


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


Re: Leaving a server on all day

2004-06-08 Thread Robert Huff

Mike Jeays writes:

>  A typical workstation might use 50 watts when idle.  If power is
>  5 cents per KW=hour, it will cost you about $2 a month. 50 watts
>  used to heat your room won't make a lot of difference - just a
>  bit less than a 60 watt light bulb...

You might be surprised.  We have an "office" that has one
computer 24x7 and two more averaging 16x7.  In winter, when rest of
the house is 68, the office can be as much as 10 degrees warmer 


Robert Huff



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


Re: Anti-Spam app for sendmail

2004-06-08 Thread Skylar Thompson
On Tue, Jun 08, 2004 at 10:35:45AM -0500, Chris wrote:
> Any comments on a good anti-spam app that works with sendmail for a mail 
> server?

I'd highly recommend MailScanner (http://www.mailscanner.info) combined
with SpamAssassin (http://www.spamassassin.org) and ClamAv
(http://www.clamav.net/). The great thing about MailScanner is that it
doesn't use milters, so you don't have to wait for a program to fire up and
risk sending back temporary failure error codes. As long as your disks can
keep up and you don't run out of queue space, it doesn't matter how long
MailScanner takes to process messages. It'll also process messages in
blocks, which makes things a lot more efficient if you're processing large
amounts of mail.

-- 
-- Skylar Thompson ([EMAIL PROTECTED])
-- http://www.cs.earlham.edu/~skylar/


pgpf9n4PBhuk2.pgp
Description: PGP signature


Re: Leaving a server on all day

2004-06-08 Thread Mike Jeays
On Tue, 2004-06-08 at 16:06, Bill Moran wrote:
> Charles Swiger <[EMAIL PROTECTED]> wrote:
> 
> > On Jun 8, 2004, at 1:59 PM, Bill Moran wrote:
> > >> Hopefully I'll get my flat screen back soon from repair.  I guess 
> > >> those use
> > >> less power, right?
> > >
> > > I remember having this conversation with someone not too long ago, and 
> > > our
> > > consensus was that flat screens used just as much power as tube 
> > > monitors.  Don't
> > > hold me to that, though, I don't seem to remember our testing 
> > > technique as being
> > > very ... uhm ... "scientific".
> > 
> > No need to guess, use an amp-meter.  :-)
> 
> What a crazy idea.
> 
> I seem to remember plugging monitors into a UPS in an attempt to use the cheesy
> "load meter" lights to tell which was drawing more juice, when that didn't
> show us any difference, we tried watching the power meter outside ... trying to
> guess which monitor made it spin faster ...
> 
> > >>  Also, a 1.8GHz Athlon won't use any more power than
> > >> necessary during idle time, right?
> > >
> > > Different processors are different.  Many newer CPUs will throttle 
> > > their power
> > > consumption while the machine is idle, but most older ones can't do 
> > > this.
> > > You'll need to research the specific CPU + motherboard to see if this 
> > > is
> > > available or not, but (as far as my lousy memory serves) Athlons in 
> > > the 1.8G
> > > range don't support reduced power during non-usage, and will consume 
> > > just as
> > > many watts while the system is idle as while it's doing a buildworld.
> > 
> > A 1.8GHz AMD is likely to be a Barton, or possibly a later-model 
> > Thoroughbred.  The CPU should have AMD's PowerNow! capabilities if APCI 
> > is enabled, and they should also significantly reduce power consumption 
> > if the OS runs the HLT instruction in the idle loop.
> 
> Ahh ... didn't know the 1.8s had that in them.
> 
> > I have one machine with an AMD 1800+ (1.54 MHz T'bred-B), which runs at 
> > perhaps 48 or 50 C if the system is idle.  If I run something like 
> > [EMAIL PROTECTED] for a day or so, the CPU will go up to around 56 or even 57 C 
> > as a result of the load.  The difference in thermal output due to load 
> > is very obvious.
> 
> But is thermal output a reliable indicator of power usage?  Logically, it seems
> like it would be, but I'd hate to assume.

Virtually all the power used gets converted into heat that will heat up
your room.

A typical workstation might use 50 watts when idle.  If power is 5 cents
per KW=hour, it will cost you about $2 a month. 50 watts used to heat
your room won't make a lot of difference - just a bit less than a 60
watt light bulb...

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


apache 2 in ports

2004-06-08 Thread info
Hi, I want to compile apache2 from ports with suexec.
Yet there is no mention of it at all in the Make file.

It is in Makefile.doc but i'm not sure if thats what i should beusing.

Can someone fill me in please.

Jeff.


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


FreeBSD on Soekris Boards (Was: Re: Leaving a server on all day)

2004-06-08 Thread Cordula's Web
> > Perhaps something like Soekris boards could be useful? Has
> > someone used them to build a power-saving server?
> 
> Sure.  I've got a Soekris net4801 sitting right next to me which is 
> running some custom network monitoring/IDS/IPS software, and the Via 
> EPIA mini-ITX form factor is another good choice for low-power 
> computing.  The EPIAs seem to have slightly flaky ATA support, though.

Ah yes, there are some howtos out there how to put FreeBSD 5.2.1
on a Soekris net4801; so it obviously seems to work.

Could someone with an net4801 please write an article for inclusion
in the Handbook? It would be great to have everything in one place :)

Thanks,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/

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


Re: Printing to a network photosmart printer

2004-06-08 Thread Warren Block
On Tue, 8 Jun 2004, Louis LeBlanc wrote:
See /usr/ports/print/hpijs.
This certainly claims to work.  I'm not understanding something
though.  I'm trying to set it up through /etc/printcap as described,
but I still get the same problem after restarting lpd.
I've downloaded the ppd, done the edits as recommended, and the
/etc/printcap entry is as follows:
Here's where I'm not sure:  The command I added to the ppd file is:
*FoomaticRIPPostPipe: "| rlpr [EMAIL PROTECTED]"
Now, I changed this under the assumption that the queue on the printer
is named lp.  The machine is reachable (and pingable) at the dns name
"printer" so I'm sure that part is correct.
HP JetDirects use "raw" for the queue name.  Here is your printcap with 
some suggested changes:

lp|HP PSC 2510:\
 :lp=:\
   :rm=printer:\
 :rp=raw:\
   :if=/usr/local/bin/foomatic-rip:\
   :af=/usr/local/etc/cups/ppd/HP-PSC_2500-hpijs.ppd:\
   :sd=/var/spool/lpd/lp:\
 :mx#0:\
   :sh:
(Your if= and af= might be wrong; don't know.)
-Warren Block * Rapid City, South Dakota USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Problem: cannot install on Dell 400SC

2004-06-08 Thread Jerry McAllister
Hi,

I am hoping someone can give us some clues about this problem.
A couple of us have done some searching, but found nothing that
bears directly on it.   Maybe some different search clues might
also help.   I am hoping for more than just "it won't work, because..."
but, even a conclusive one of those would get us off the point - which 
begins to dig in after a while...

Sorry this is rather long, but I wanted to include anything that 
might possibly be relevant.   Here goes.

One of our sites recently purchased a Dell Poweredge 400SC and
wants to run our school district network server system on it.   
Our system is currently based on FreeBSD 4.9 with some modifications 
to control the initial installation and aid in system management. 
We have it running on a number of other Dell Poweredge machines but 
not this particular model and especially not the LSIL SCSI controller.

It has a  2.4G Celeron CPU, 
  1 GB Memory
  Planar PE400SC, A/N, 2 Motherboard
  LSI Logics 53C1030 SCSI controller
  Fujitsu 36GB MAP337NP SCSI U320, 10K, 68 Pin connector hard drive.
  + NIC, IDE controller, CDROM, Tape drive, etc.

Although this model was not our recommendation, it would look like,
on paper, that it should at least, function.   But,,,

We cannot get any FreeBSD system to install on it, not ours or even
a straight FreeBSD 4.9 or 5.2.1 system - and I just tried 4.10 too with
the same result.   

It reads the CD, boots into the sysinstall or our install system just
fine.   It appears to do the fdisk and disklabel just fine.   Then it
hangs or appears to hang trying to do the newfs.   It puts out the message 
about writing superblocks and then nothing more comes out - no list
of superblocks of any kind, not even the first.

I have made up variations on our version of sysinstall with additional
messages but have not gotten any information that means anything to me.  

After a wait of several minutes it writes stuff to the ALT console.

If I let it set long enough (hours) it puts out a failed message.


I didn't have any MS install media handy, But did have my Partition Magic
"emergency" boot floppies around so I used them to take a look after
having attempted to do first our install, then FreeBSD 4.9 and finally 
FreeBSD 5.2.1.   

PM quite happily looked at things and recognized the FreeBSD slice (which, 
of course it called a partition).  So, I deleted the slice and created 
two and used the FreeBSD install CD to attempt to install on the second 
slice (da0s2) which it seemed happy to do.After checking again with 
PM and seeing that the new slicing had the FreeBSD id one it I popped in 
another FreeBSD cd and sysinstall happily read up that label with all 
the FreeBSD partitions (a,b,e,f,g,h) that I had made.   So, FreeBSD can 
obviously write some part of the disk.   But, newfs still would get to 
writing superblocks and then nothing more happened.

That is the thing that seems odd to me.  It does write to some part of
the disk, enough to write label information.   But, it does not seem
to be able to do any other type of write to the disk.   So, are the
writes so different that a controller can handle one and not the other?
There are several LSIL SCSI controllers listed in the hardware list and
some in the 53C series, but not exactly 53C1030.   Can the write be
enough similar to handle labels, but not other stuff?

One of the other people in our group put Linux on it - Debian I believe
 - and it appeared to install and write the disk just fine.  So, I take
that to mean that it isn't really just a flawed disk, though I suppose
that is still possible.

So, here is a blow-by-blow using any of the FreeBSD RELEASE cds I
happen to have handy (4.9. 5.2.1 and 4.10).

Basically, everything looks like it is going fine until after 
I select commit.   
It happily puts up a message on the curses screen saying

  "Making a new root filesystem on /dev/da0s1a"

Then it stops and appears to do no more - at least for a long time.

Here are the ALT-F2 console messages from when it starts to operate on
the disk:

|DEBUG: Scanning disk da0 for root filesystem
|DEBUG: Scanning disk da0 for swap filesystem
|Warning: Block size and bytes per inode restrict cylinders per group to 89
|
|/dev/da0s1a1048576 Sectors in 256 Cylinders of 1 tracks, 4096 sectors
|  512,0 MG in 3 cylinder groups (89 c/g, 178.00 MG/g, 21632 i/g)
|
|Super-block backups   (for fsck -b #) at:
|
|  Here we get a long wait 
|
|mpt1: time out on request index = 0xfe sequence=0x00e8
|mpt1: Status 0001; Mask 0001; Doorbell 2400
|request State on CHip
|SCSI IO  Request @ 0xc038b0b0
| Chain Offset  0x10
| Msg Flags 0x00
| Msg Content   0x00fe
| Bus:  0
| TargetID  0
| Sense Buffer Length   32
| LUN: 0x0
| Control   0x0106  WRITE SIMPLEQ

OT: The fan club (was: Re: [Going further OT] Re: Leaving a server on all day)

2004-06-08 Thread Jerry Dunham
On 8 Jun 2004 at 13:45, Jason Taylor wrote:

> Bill Moran wrote:
> 
> > Nico Meijer <[EMAIL PROTECTED]> wrote:
> > 
> >>BTW - I'd make sure I'd get/have a decent computer case with a decent 
> >>PSU with enough room for some decent 80mm or larger low noise fans 
> >>rather than opening up the side panel. Perhaps an aluminum (Chieftec 
> >>Dragon, anyone?) case with some Enermax and Zalman coolers and PSU might 
> >>do the trick. I've {b,s}een told a good airflow (front to back) is king.
> > 
> > I saw an article recently by a guy who had a degree in thermal dynamics or
> > something that was dispelling the common myths about PC cooling.
> > 
> > His conclusion was basically that airflow is king.  You need to move air across
> > the heat sinks that is cooler than the heat sinks are.  Sounds simple, but the
> > overall conclusion was that you could improve cooling without increasing noise
> > by ensuring that air from _outside_ the case was flowing directly over the
> > processor heatsink.  Reason this works well is becuase the air inside the case
> > is usually considerably warmer than the air outside the case, and moving warm
> > air across the heat sink doesn't accomplish much.  By drawing cool air in from
> > outside the case, things stay cooler.
> > 
> > Anyway, his suggestion was that the best thing you could do for your cooling
> > rig was to purchase/fab one of those little duct kits that allows the cpu fan
> > to pull air from outside the case.  Some cases even have the duct built in (my
> > brother's computer does).
> > 
> Ok, I'll chime in here.  Here's what everything I ever learned about 
> heat transfer and fluid flow tells me:
> 
> Everything Bill is saying is correct.  The best way to cool is to move 
> as much fluid (air is a fluid for the purpose of this discussion) as 
> fast as possible across whatever is hot.  Of course, the fluid has to be 
> cooler than whatever is being cooled.  A fan rotating at certain speed 
> is going to push a given volume of air in a given amount of time.  By 
> leaving the case covers on and providing only a few small "holes" for 
> the air to travel through, you're going to force the air coming through 
> those holes to travel through the case faster.
> 
> That being said, if the case design, component placement, etc. is such 
> that leaving the the cover off actually allows a significantly greater 
> volume of air to get to the heatsink(s) in a given amount of time, then 
> leaving the cover off is a good thing.

Okay, no degree in thermal here, but I used to design these things for 
a living (Dell, Tandem, Datapoint).  Sorry I missed the start of this 
thread, but I'll jump in here and see how much confusion I can 
generate.

The generalities above are generally true, generally.   :-)

Leaving a cover off may help or it may hurt, depending upon what's hot 
in the case and how leaving the cover off affects airflow over those 
items.  What you're interested in is a maximum of airflow (volume more 
than velocity) and a maximum of temperature delta specifically at the 
hot components.  (This assumes the temp of the air is lower than the 
hot component.  If it's warmer than the hot component your house is 
probably on fire and you've got bigger problems.)

You're also interested in things like maximum surface area at the 
heatsink/fluid interface, but that's a function of heatsink design, not 
fan design or placement, and there are other factors influencing the 
design of that interface. Obviously, if heatsink blades are crosswise 
to the airflow the heatsink will be much less efficient.

If the case is really well designed, the incoming air is directed at 
the hot components.  Since cases are generally generic and motherboards 
don't always put things in the same place, this may or may not be 
achieved.  This matchup issue is one of the reasons generic cases 
usually don't have ducts, since a misdirected duct is worse than no 
duct.  If you're Dell or HP and control both the MB and the case, you 
can use good, cheap ducts to allow the use of cheaper heatsinks because 
you know where everything is.  If the incoming cool air is not directed 
at the hot components, leaving off the cover may actually help, but if 
the case and motherboard are a good match leaving off the cover can 
disrupt the planned flow.

For moving a lot of air with low noise, go for the largest fan you can 
and run it slow.  The cases I'm using these days to build workstations 
are Antec Sonatas, and I mount two 120 mm fans, one in front and one in 
the rear, one exhausting and one intaking (therefore in series).  I 
wish they had proper ducting like the Fong Kai 603 I used to use, but 
our components are staying cool enough and the noise level is low.  If 
you prefer aluminum, the Antec Super LANboy is very similar to the 
Sonata, and we have one of these for a machine we carry around quite a 
bit.  Aluminum is a great help for weight, but I doubt it adds much to 
cooling unless you're mountin

Re: Printing to a network photosmart printer

2004-06-08 Thread Louis LeBlanc
On 06/07/04 05:18 PM, Warren Block sat at the `puter and typed:
> On Sun, 6 Jun 2004, Louis LeBlanc wrote:
> 
> > Since I've just gotten hold of a shiny new HP PSC photosmart 2510
> > printer, I'd really like to get some use out of it from my FreeBSD
> > system (don't want to waste it on the Windoze box).  Does anyone know
> > if and how this can be done?
> 
> First, check for information on that printer on
> 
> http://www.linuxprinting.org
> 
> There's no PSC 2510, but there is a PSC 2500, which is probably close 
> enough.  It uses the hpijs driver.
> 
> > BTW, it is network capable, and is plugged directly into the hub, with
> > the link indicating 100TX half duplex.
> >
> > I've tried apsfilter, and a good many of the ghostscript drivers, but
> > no good has come of it so far.
> 
> See /usr/ports/print/hpijs.

This certainly claims to work.  I'm not understanding something
though.  I'm trying to set it up through /etc/printcap as described,
but I still get the same problem after restarting lpd.

I've downloaded the ppd, done the edits as recommended, and the
/etc/printcap entry is as follows:

lp|HP PSC 2510:\
:lp=/dev/null:\
:rm=printer:\
:if=/usr/local/bin/foomatic-rip:\
:af=/usr/local/etc/cups/ppd/HP-PSC_2500-hpijs.ppd:\
:sd=/var/spool/lpd/lp:\
:mx#0\
:sh:

Here's where I'm not sure:  The command I added to the ppd file is:
*FoomaticRIPPostPipe: "| rlpr [EMAIL PROTECTED]"

Now, I changed this under the assumption that the queue on the printer
is named lp.  The machine is reachable (and pingable) at the dns name
"printer" so I'm sure that part is correct.

The thing is, after I start up lpd, I check the status:
# lpc status lp
lp:
queuing is enabled
printing is enabled
no entries in spool area
printer idle

Which is encouraging.  Problem is, once I try to send something to the
printer:
$ lpr -Plp flags.txt

And check the status, I get:
# lpc status lp
lp:
queuing is enabled
printing is enabled
1 entry in spool area
waiting for 10.8.20.10 to come up

Looks like it's just not able to find it.  Eventually, the IP is
replaced with the machine's name (printer).

The problem is, I don't know if the queue is really named lp.  There's
no documentation on it, and no mention in the thick book that came
with it.  Of course, it is probably worth mentioning that this appears
to be closer than I had gotten in the past (at least it's waiting :).

Can anyone give some pointers?

Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

What no spouse of a writer can ever understand is that a writer is working
when he's staring out the window.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: VPN server

2004-06-08 Thread Foster, ThomasX
PPTP solutions for FreeBSD include MPD and Poptop

IPSEC/VPN solution include using kernel IPSEC and GIF interfaces :
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ipsec.html

check out http://www.section6.net/help/pptphow.php for info on a
dedicated PPTP server using FreeBSD

Thomas Foster

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Joshua Lewis
Sent: Tuesday, June 08, 2004 3:11 PM
To: [EMAIL PROTECTED]
Subject: VPN server

I am looking for some recomendations for a powerful (yet simple if
possible) VPN server.

At present I will need to only have access to one other network in a
different office running Win2K PPTP. Hopefully I will need to expand in
the future to other networks that may or may not be MS based.

I would like if possible for the connections to be completly transparent
to a user. Best case senario is the user signs on to thier FreeBSD (I am
in a mixed network so there are a few XP systems also) system and opens
up
an application (or browse to a share on the other network) that connects
to the other network and it connects without any more user intervention.

LOL I am not asking much am I?

Thank you,
Joshua Lewis

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

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


AWSTATS Error & Resolution

2004-06-08 Thread Drew Tomlinson
After upgrading perl from 5.8.2 to 5.8.4, following the instructions in 
/usr/ports/UPDATING, I found awstats-6.0_1 no longer worked.  I ran 
awstats.pl interactively and received the following error:

Bizarre copy of ARRAY in aassign at /path/to/awstats.pl line 8707
After some checking, I found this issue was fixed in awstats.pl revision 
1.747.  I downloaded the most current revision (1.755) and replaced the 
revision that's included with the port.  This seems to solve the 
problem.  YMMV.

Is it appropriate to send a problem report about this?  I've never sent 
one so I want to be sure before bugging someone.

Hopefully this post will save others from having to research and resolve 
this issue.

Drew
--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books, & More!
http://www.alchemistswarehouse.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: make buildworld problem [lib/libedit]

2004-06-08 Thread Christian Hiris
On Tuesday 08 June 2004 17:41, Mantas Audickas wrote:
> Hello there,
> i don't know where to ask.. i have tried in many irc channels, but no
> one could help me..
> so i'm trying to make buildworld, but there i get an error, always the
> same.. i have tried in fresh installed os, with GENERIC kernel and with
> my own, cvsup source and so on.. but nothing goes better..
> I have read /usr/src/UPDATING.. and tried to follow rules.
> I put error log file in http://migla.ktu.lt/~cerberis/error .. maybe you
> can help me?
>

There was a thread about libedit, tr(1) and setlocale(3) on the 
freebsd-current mailing list.
 
http://lists.freebsd.org/pipermail/freebsd-current/2004-March/thread.html#22517

regards
ch

-- 
Christian Hiris <[EMAIL PROTECTED]> | OpenPGP KeyID 0x941B6B0B 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu


pgpkrJOGmRpwa.pgp
Description: signature


Re: [still going ... OT] Re: Leaving a server on all day

2004-06-08 Thread Bill Moran
Kevin Stevens <[EMAIL PROTECTED]> wrote:
> 
> On Tue, 8 Jun 2004, Jason Taylor wrote:
> 
> > Ok, I'll chime in here.  Here's what everything I ever learned about
> > heat transfer and fluid flow tells me:
> >
> > Everything Bill is saying is correct.  The best way to cool is to move
> > as much fluid (air is a fluid for the purpose of this discussion) as
> > fast as possible across whatever is hot.
> 
> As a point of interest, "as fast as possible" isn't always correct, though
> it may be WRT practical case-cooling considerations.  One consideration in
> designing race cars, especially those using stock engines, is to not
> overdrive the water pump at high rpms.  Not because of cavitation, because
> you can flow water through the engine faster than is optimal for heat
> dissipation.  Non intuitive, but true - has to do with the heat transfer
> across the water/metal surfaces and is otherwise over my head.  ;)

I think the original point of my post was lost.  Looking back, I don't think
I explained it well.

The author's point (damn ... wish I had saved a link to that URL) is that temp
differential is more important than air volume.  The upshot being that by
bringing air in from the outside of the case (which is cooler) you can run
slower fans (thus have a quieter system) and have the same quality of cooling.
The flip side is that if you need _more_ cooling, you can keep the same speed
fans, and by using cooler air you end up with better cooling overall.

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


VPN server

2004-06-08 Thread Joshua Lewis
I am looking for some recomendations for a powerful (yet simple if
possible) VPN server.

At present I will need to only have access to one other network in a
different office running Win2K PPTP. Hopefully I will need to expand in
the future to other networks that may or may not be MS based.

I would like if possible for the connections to be completly transparent
to a user. Best case senario is the user signs on to thier FreeBSD (I am
in a mixed network so there are a few XP systems also) system and opens up
an application (or browse to a share on the other network) that connects
to the other network and it connects without any more user intervention.

LOL I am not asking much am I?

Thank you,
Joshua Lewis

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


Re: freebsd- Newby question

2004-06-08 Thread Bill Moran
"LW Ellis" <[EMAIL PROTECTED]> wrote:

> I am trying to learn unix. I need a recommendation for a good beginers book
> (eg: Unix for dummies)
> I install Freebsd on an old desktop, but I have never used unix, and need a
> starting point.

_The_Comlete_FreeBSD_ by Greg Lehey has a lot of good chapters for beginners,
and as you learn, it'll still have a lot to teach you.

The online FreeBSD Handbook also has a chapter on basics:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/basics.html

HTH

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


Re: [Going further OT] Re: Leaving a server on all day

2004-06-08 Thread Kevin Stevens


On Tue, 8 Jun 2004, Jason Taylor wrote:

> Ok, I'll chime in here.  Here's what everything I ever learned about
> heat transfer and fluid flow tells me:
>
> Everything Bill is saying is correct.  The best way to cool is to move
> as much fluid (air is a fluid for the purpose of this discussion) as
> fast as possible across whatever is hot.

As a point of interest, "as fast as possible" isn't always correct, though
it may be WRT practical case-cooling considerations.  One consideration in
designing race cars, especially those using stock engines, is to not
overdrive the water pump at high rpms.  Not because of cavitation, because
you can flow water through the engine faster than is optimal for heat
dissipation.  Non intuitive, but true - has to do with the heat transfer
across the water/metal surfaces and is otherwise over my head.  ;)

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


Re: mysql user

2004-06-08 Thread RazorOnFreeBSD
Thanks everyone...
;)
Next time I'll use the ports. seems way easier (and originally that was
the reason I choose FreeBSD over Linux! :S )

- Original Message - 
From: "Matthew Seaman" <[EMAIL PROTECTED]>
To: "RazorOnFreeBSD" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, June 08, 2004 11:42 PM
Subject: Re: mysql user


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


Re: Hyperthreading question

2004-06-08 Thread Eugene Lee
On Tue, Jun 08, 2004 at 03:36:28PM -0400, Dwayne MacKinnon wrote:
: 
: I'm upgrading some machines from 4.8-RELEASE to 4.10-RELEASE. The 
: machines in question are dual-processor xeon boxes. Now, my boss is 
: adamant in that he doesn't want hyperthreading enabled on the machines.
: 
: In 4.8-RELEASE things were simple... I just didn't add the "options HTT" 
: line to my kernel config file. In 4.10-RELEASE though, HTT is enabled by
: default.
: 
: So, is there any way to shut off the hyperthreading? I've tried 
: disabling it in the BIOS, and had no luck whatsoever.

Hyperthreading is built into the kernel by default starting with
FreeBSD-4.9.  However, it is not enabled by default.  To do so,
do a "sysctl machdep.hlt_logical_cpus=0"

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


Re: mysql user

2004-06-08 Thread Matthew Seaman
On Tue, Jun 08, 2004 at 05:15:51PM +0200, RazorOnFreeBSD wrote:

> I maybe didn't see something, for sure it's a dumb problem
> I installed MySQL 4.0.20 from sources downloaded on MySQL website and then I checked 
> before adding my "mysql" user on the box if there was one  I never installed 
> MySQL before and I already have a mysql user but I don't know his password.
> What should I do ? Uninstall / ReInstall MySQL ? Delete user "mysql" and create 
> another one ? or is there an obvious first password to change I didn't get ?
> I'm a little bit lost there... even if it's not an obligation to have this user 
> named "mysql", it's easy to use everyday!

A mysql user will be created if you install mysql (any version) from
ports.  Even if you are strange enough to decide not to use ports, the
way the mysql user is set up by the port would be a good thing to
copy:

mysql:*:88:88::0:0:MySQL Daemon:/var/db/mysql:/sbin/nologin

Where UID 88 and group 88 are reserved for MySQL:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/dads-uid.html

This account is designed to be the owner of the MySQL processes and
nothing more.  Specifically, it has a locked password (the '*' in the
second field) and the shell set to /sbin/nologin -- a small program
that prints "This account is currently not available." and exits
immediately.  The home directory shown (/var/db/mysql) is the default,
and the location where MySQL keeps its data files. You can override
that when installing the port.

Note that you never need to login as the mysql user.  MySQL has it's
own set of user IDs and it's own passwords /within/ the database which
are separate from the passwd database on your server.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpmcOCgg0iAY.pgp
Description: PGP signature


Re: Leaving a server on all day

2004-06-08 Thread Harald Schmalzbauer
Am Dienstag, 8. Juni 2004 16:44 schrieb Peter Ulrich Kruppa:
> On Tue, 8 Jun 2004, Jonathon McKitrick wrote:
> > I have my desktop configured to run as a server and app server for a thin
> > client laptop.  Will running it all day without suspend mode use a lot of
> > power?
> >
> > Is it true that the heat buildup in a home system (rather than a heavily
> > fanned commercial system) will kill the drives faster and this is a good
> > reason to turn it off during the day when I am not home?
>
> This is only my personal experience:
> I have got a PIII running all day for over 2 years now (my
> "server"): no problems and I am using just the small fan it came
> with.
> I had two AMD's (a K6 and now an Athlon): for both I had to buy
> bigger fans since they started doing strange things after a
> while.
> At work I have seen three IDE harddisks decease on
> workstations during the last four and a half years, but never a
> SCSI harddisk. These workstations are shut down and rebooted

Just to brake illusions: I have seen lots of disks dieing. Mostly IDE disks 
because they're wide spreaded.
But I also had a several "server" SCSI disks (Seagate and IBM) which died, and 
they hadn't just quit their service, they (the two different I attempted to) 
were classified as inrecoverable by well known and even better paid special 
companies like Vogon.
So don't tap into the trap that SCSI disks are more reliable!

> quite often.
>
> So *my* summary for your private server would be:
> - Leaving it on all day will not kill your harddisks, in the
>contrary: even cheap ones will live longer.
> - AMD processors tend to run hot, so if you have one, you should
>look for a good fan.

This was true up to Coppermine/Tualatin, nowadays I'd prefere any AMD. The 
notrhwood and even worse the prescott INTELS (p4s) are dumb radiators.

My 0.02 ¤

Best regards,

-Harry

>
> Regards,
>
> Uli.
>
> > jm
> > --
> > My other computer is your windows box.
> > ___
> > [EMAIL PROTECTED] mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "[EMAIL PROTECTED]"
>
>   +---+
>
>   |Peter Ulrich Kruppa|
>   |
>  | Wuppertal |
>  |  Germany  |
>
>  +---+
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"






pgp2TiFUnSiyb.pgp
Description: signature


RE: freebsd- Newby question

2004-06-08 Thread Foster, ThomasX
Unix System Administrator's Handbook

# Paperback: 896 pages ; Dimensions (in inches): 1.30 x 9.23 x 7.06
# Publisher: Prentice Hall PTR; 3rd edition (August 2000)
# ISBN: 0130206016 | All Editions 


Hope that helps :D

Thomas Foster

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of LW Ellis
Sent: Tuesday, June 08, 2004 2:28 PM
To: [EMAIL PROTECTED]
Subject: freebsd- Newby question

I am trying to learn unix. I need a recommendation for a good beginers
book
(eg: Unix for dummies)
I install Freebsd on an old desktop, but I have never used unix, and
need a
starting point.

Thanx

Later,
Leon
A fanatic is one who can't change his mind and won't change the subject.
Sir Winston Churchill

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

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


Re: [Going further OT] Re: Leaving a server on all day

2004-06-08 Thread Kent Stewart
On Tuesday 08 June 2004 01:45 pm, Jason Taylor wrote:
> Bill Moran wrote:
> > Nico Meijer <[EMAIL PROTECTED]> wrote:
> >>Hi,

>
> Everything Bill is saying is correct.  The best way to cool is to
> move as much fluid (air is a fluid for the purpose of this
> discussion) as fast as possible across whatever is hot.  Of course,
> the fluid has to be cooler than whatever is being cooled.  A fan
> rotating at certain speed is going to push a given volume of air in a
> given amount of time.  By leaving the case covers on and providing
> only a few small "holes" for the air to travel through, you're going
> to force the air coming through those holes to travel through the
> case faster.
>
> That being said, if the case design, component placement, etc. is
> such that leaving the the cover off actually allows a significantly
> greater volume of air to get to the heatsink(s) in a given amount of
> time, then leaving the cover off is a good thing.
> 

I have 2 identical machines (AMD 2400+'s) except that one has 2x120mm 
fans (push pull) and the other doesn't. The one that has 1x120mm fan 
has Sonata punched in the covers at the top  of the front and back 
covers and that case runs 3-5oC cooler than the other case. I leave the 
cover off of the other one to keep things running cool. They both run 
setiathome 24x7 and generate equal amounts of heat. I don't like cpus 
running close to 50oC or higher.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


[OT] Re: Leaving a server on all day

2004-06-08 Thread Charles Swiger
On Jun 8, 2004, at 5:06 PM, Bernt. H wrote:
No need to guess, use an amp-meter.  :-)
Well If it measure trueRMS then you could use it, otherwise no.
You are correct that one needs to measure the voltage and use the RMS 
value, or DC series equivalent if you like that phrase, in order to 
figure out the power consumption accurately, but an {ammeter, 
amp-meter, DMM} which can deal with AC will do the right thing.

Radio Shack and the like will sell something with male and female 
plugs that will measure both voltage and current, and give you the 
current power load in Watts.  Smart UPSes may also have a similar 
capability.
Yes but it will only show you the correct value if the load is a pure 
resistans, not if it's reactiv, as all switching psu's are.
The ratio between the actual load and a purely resistive load is known 
as the power factor, and is why UPS are rated in terms of kVA rather 
than in terms of the wattage of the load.  For computer equipment [1], 
the power factor is lagging, representing an inductive rather than 
capacitive load, and the PF is typically about 0.9.

However, the electric company bills you for the power you draw from 
them, they don't give you a refund for the power "wasted" because your 
load is not purely resistive, so the notion of measuring the kVA rather 
than the "useful wattage" is not really "incorrect".

--
-Chuck
[1]: And almost everything else, too.  Most things use a transformer to 
convert line voltage into whatever voltage the device wants, which is 
inductive, or consist of a motor, also inductive.  Motors which draw a 
lot of current when starting (which is most of them) tend to have a 
"starting capacitor" to help manage the surge current and also help 
adjust the power factor back towards 1.0 to improve their efficiency.  
The so-called "ballast" in fluorescent lights serves much the same 
purpose.

We thank you for tuning in to basic electronics, and return you to your 
regularly scheduled FreeBSD programming.  :-)

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


freebsd- Newby question

2004-06-08 Thread LW Ellis
I am trying to learn unix. I need a recommendation for a good beginers book
(eg: Unix for dummies)
I install Freebsd on an old desktop, but I have never used unix, and need a
starting point.

Thanx

Later,
Leon
A fanatic is one who can't change his mind and won't change the subject.
Sir Winston Churchill

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


mysql user

2004-06-08 Thread RazorOnFreeBSD
Hi everyone,

I maybe didn't see something, for sure it's a dumb problem
I installed MySQL 4.0.20 from sources downloaded on MySQL website and then I checked 
before adding my "mysql" user on the box if there was one  I never installed MySQL 
before and I already have a mysql user but I don't know his password.
What should I do ? Uninstall / ReInstall MySQL ? Delete user "mysql" and create 
another one ? or is there an obvious first password to change I didn't get ?
I'm a little bit lost there... even if it's not an obligation to have this user named 
"mysql", it's easy to use everyday!

Thanks.

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


Re: Anti-Spam app for sendmail

2004-06-08 Thread Bernt. H
Chris wrote:
Any comments on a good anti-spam app that works with sendmail for a mail 
server?

Yes. You can have a look at messagewall its in the ports.
www.messagewall.org
Been using it for the past year now and it's works just fine.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Leaving a server on all day

2004-06-08 Thread Charles Swiger
On Jun 8, 2004, at 4:06 PM, Bill Moran wrote:
Charles Swiger <[EMAIL PROTECTED]> wrote:
No need to guess, use an amp-meter.  :-)
What a crazy idea.
I seem to remember plugging monitors into a UPS in an attempt to use 
the cheesy
"load meter" lights to tell which was drawing more juice, when that 
didn't
show us any difference, we tried watching the power meter outside ... 
trying to
guess which monitor made it spin faster ...
:-)  The "smart" versions of UPSes (as in, APC's SmartUPS line) will 
often have a serial connection which not only does the "deassert DTR 
when the battery is low" thingy, but will communicate other information 
about the state of the UPS.  That will include the power consumption of 
the load measured more accurately than 5 green LEDs would be able to 
show you.

A really serious UPS, such as a PowerWare 9330, may have ethernet and 
SNMP support and will do things like tell you the power factor of the 
load, typically about 0.9 for computer stuff.  But I admit, a 20kVA UPS 
is outside of what a normal home user would want.  And the batteries 
are freaking heavy... :-)

I have one machine with an AMD 1800+ (1.54 MHz T'bred-B), which runs 
at
perhaps 48 or 50 C if the system is idle.  If I run something like
[EMAIL PROTECTED] for a day or so, the CPU will go up to around 56 or even 57 
C
as a result of the load.  The difference in thermal output due to load
is very obvious.
But is thermal output a reliable indicator of power usage?  Logically, 
it seems
like it would be, but I'd hate to assume.
Conservation of energy is a law, so any assumptions being made are 
pretty safe.

When you pump 0.5 amps @ 120VAC into a 60 watt light-bulb, you end up 
getting about 54 watts of radiant heat and about 6 watts of visible 
light.  A computer's CPU eats about the same amount of power, and sends 
a watt or so back out in terms of data signals, but most of the energy 
used by the processor to actually process data gets emitted as heat.

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


Re: Leaving a server on all day

2004-06-08 Thread Bernt. H
Charles Swiger wrote:
On Jun 8, 2004, at 1:59 PM, Bill Moran wrote:
Hopefully I'll get my flat screen back soon from repair.  I guess 
those use
less power, right?

I remember having this conversation with someone not too long ago, and 
our
consensus was that flat screens used just as much power as tube 
monitors.  Don't
hold me to that, though, I don't seem to remember our testing 
technique as being
very ... uhm ... "scientific".

No need to guess, use an amp-meter.  :-)
Well If it measure trueRMS then you could use it, otherwise no.

Radio Shack and the like will sell something with male and female plugs 
that will measure both voltage and current, and give you the current 
power load in Watts.  Smart UPSes may also have a similar capability.
Yes but it will only show you the correct value if the load is a pure 
resistans, not if it's reactiv, as all switching psu's are.

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


Re: [Going further OT] Re: Leaving a server on all day

2004-06-08 Thread Jason Taylor
Bill Moran wrote:
Nico Meijer <[EMAIL PROTECTED]> wrote:
Hi,

What is so bad with the floor?
Ever move into a beautiful house only to find the floor *flooded* at the 
first serious cloud break? ;-)

BTW - I'd make sure I'd get/have a decent computer case with a decent 
PSU with enough room for some decent 80mm or larger low noise fans 
rather than opening up the side panel. Perhaps an aluminum (Chieftec 
Dragon, anyone?) case with some Enermax and Zalman coolers and PSU might 
do the trick. I've {b,s}een told a good airflow (front to back) is king.

I saw an article recently by a guy who had a degree in thermal dynamics or
something that was dispelling the common myths about PC cooling.
His conclusion was basically that airflow is king.  You need to move air across
the heat sinks that is cooler than the heat sinks are.  Sounds simple, but the
overall conclusion was that you could improve cooling without increasing noise
by ensuring that air from _outside_ the case was flowing directly over the
processor heatsink.  Reason this works well is becuase the air inside the case
is usually considerably warmer than the air outside the case, and moving warm
air across the heat sink doesn't accomplish much.  By drawing cool air in from
outside the case, things stay cooler.
Anyway, his suggestion was that the best thing you could do for your cooling
rig was to purchase/fab one of those little duct kits that allows the cpu fan
to pull air from outside the case.  Some cases even have the duct built in (my
brother's computer does).
Ok, I'll chime in here.  Here's what everything I ever learned about 
heat transfer and fluid flow tells me:

Everything Bill is saying is correct.  The best way to cool is to move 
as much fluid (air is a fluid for the purpose of this discussion) as 
fast as possible across whatever is hot.  Of course, the fluid has to be 
cooler than whatever is being cooled.  A fan rotating at certain speed 
is going to push a given volume of air in a given amount of time.  By 
leaving the case covers on and providing only a few small "holes" for 
the air to travel through, you're going to force the air coming through 
those holes to travel through the case faster.

That being said, if the case design, component placement, etc. is such 
that leaving the the cover off actually allows a significantly greater 
volume of air to get to the heatsink(s) in a given amount of time, then 
leaving the cover off is a good thing.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: make buildworld problem

2004-06-08 Thread Giorgos Keramidas
On 2004-06-08 18:41, Mantas Audickas <[EMAIL PROTECTED]> wrote:
> Hello there, 
> i don't know where to ask.. i have tried in many irc channels, but no
> one could help me..
> so i'm trying to make buildworld, but there i get an error, always the
> same.. i have tried in fresh installed os, with GENERIC kernel and with
> my own, cvsup source and so on.. but nothing goes better..
> I have read /usr/src/UPDATING.. and tried to follow rules.
> I put error log file in http://migla.ktu.lt/~cerberis/error .. maybe you
> can help me?

It could be that your source tree is at fault.  Try deleting
/usr/src/lib/libedit and CVSup'ing again.

- Giorgos

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


Re: Leaving a server on all day

2004-06-08 Thread Charles Swiger
On Jun 8, 2004, at 2:54 PM, Cordula's Web wrote:
AMD processors now have fairly good thermal behavior when they are
idle, although it obviously helps if one can enable APCI and power
management capabilities to either throttle down the CPU speed or even
go into sleep mode.
What about other architectures? If you don't need x86 compat,
perhaps CPU models in other arches have much lower consumption?
Certainly this is true of the ARM and even the Motorola 68K, as you 
mention:

For a box that runs mainly as router, apache, postfix, cyrus, ...
even an old MC68k would do just fine (esp. if you are limited
by bandwidth, not CPU cycles...).
...there are a lot of people using an embedded M68K as a low-power 
applicance computing device.

Perhaps something like Soekris boards could be useful? Has
someone used them to build a power-saving server?
Sure.  I've got a Soekris net4801 sitting right next to me which is 
running some custom network monitoring/IDS/IPS software, and the Via 
EPIA mini-ITX form factor is another good choice for low-power 
computing.  The EPIAs seem to have slightly flaky ATA support, though.

Anyone living in a country with exorbitant high taxes on power
lurking here?
People here in the US got to pay for Enron and the like, sure, 
especially those in CA.

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


Re: OT: group coding standards

2004-06-08 Thread Giorgos Keramidas
On 2004-06-07 13:10, "Goodleaf, John" <[EMAIL PROTECTED]> wrote:
>
>It's a hard problem. How do you provide conventions that don't annoy
>the hell out of programmers, but which ensure that legibile,
>maintainable code is left?

First of all, I should note this: As long as there is a way to configure
the two most popular editors (vi and Emacs) to adhere to this standard
of yours, the only thing that matters is to avoid like hell all
non-standard styles.  Consistently keeping the standard is more
important than the rules of the standard itself.

>Any suggestions welcome. Please cc me directly, as I'm not currently
>on this list.

Some people hate the resulting style, other love it... but there is a
coding standards' guideline on your FreeBSD installation waiting to be
read by you:

man 9 style

- Giorgos


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


Re: Anti-Spam app for sendmail

2004-06-08 Thread Eric Crist
On Tuesday 08 June 2004 10:35, Chris wrote:
> Any comments on a good anti-spam app that works with sendmail for a mail
> server?

Yeah,  try SpamAssassin.  I've been using it since January, and have almost 
zero SPAM delivered to my inbox now.  I think in all that time it has only 
had one false positive (my mom sending email as HTML, from word.)

HTH
-- 
Keep your pecker hard and your powder dry, and the world WILL turn.


pgpn5ddRBnYNr.pgp
Description: signature


i845->i865 on 4.9 RELEASE

2004-06-08 Thread AlexZivenko
Hi guys!

I have one question for you.
I had an intel mainboard on i845 chipset. All was beautiful with
4.9 Release.
When I got i865 chipset I have many problems...
first time, when I reinstalled FreeBSd It was rebooting when I boot that,
then  it was some eroor with BTX loader.
It was written many registers and addresses and then message
BTX halted.

Please help.
Sorry for my eng.
mailto:[EMAIL PROTECTED]

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


Re: [Going further OT] Re: Leaving a server on all day

2004-06-08 Thread Bill Moran
Nico Meijer <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> > What is so bad with the floor?
> 
> Ever move into a beautiful house only to find the floor *flooded* at the 
> first serious cloud break? ;-)
> 
> BTW - I'd make sure I'd get/have a decent computer case with a decent 
> PSU with enough room for some decent 80mm or larger low noise fans 
> rather than opening up the side panel. Perhaps an aluminum (Chieftec 
> Dragon, anyone?) case with some Enermax and Zalman coolers and PSU might 
> do the trick. I've {b,s}een told a good airflow (front to back) is king.

I saw an article recently by a guy who had a degree in thermal dynamics or
something that was dispelling the common myths about PC cooling.

His conclusion was basically that airflow is king.  You need to move air across
the heat sinks that is cooler than the heat sinks are.  Sounds simple, but the
overall conclusion was that you could improve cooling without increasing noise
by ensuring that air from _outside_ the case was flowing directly over the
processor heatsink.  Reason this works well is becuase the air inside the case
is usually considerably warmer than the air outside the case, and moving warm
air across the heat sink doesn't accomplish much.  By drawing cool air in from
outside the case, things stay cooler.

Anyway, his suggestion was that the best thing you could do for your cooling
rig was to purchase/fab one of those little duct kits that allows the cpu fan
to pull air from outside the case.  Some cases even have the duct built in (my
brother's computer does).

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


Re: Leaving a server on all day

2004-06-08 Thread Bill Moran
Charles Swiger <[EMAIL PROTECTED]> wrote:

> On Jun 8, 2004, at 1:59 PM, Bill Moran wrote:
> >> Hopefully I'll get my flat screen back soon from repair.  I guess 
> >> those use
> >> less power, right?
> >
> > I remember having this conversation with someone not too long ago, and 
> > our
> > consensus was that flat screens used just as much power as tube 
> > monitors.  Don't
> > hold me to that, though, I don't seem to remember our testing 
> > technique as being
> > very ... uhm ... "scientific".
> 
> No need to guess, use an amp-meter.  :-)

What a crazy idea.

I seem to remember plugging monitors into a UPS in an attempt to use the cheesy
"load meter" lights to tell which was drawing more juice, when that didn't
show us any difference, we tried watching the power meter outside ... trying to
guess which monitor made it spin faster ...

> >>  Also, a 1.8GHz Athlon won't use any more power than
> >> necessary during idle time, right?
> >
> > Different processors are different.  Many newer CPUs will throttle 
> > their power
> > consumption while the machine is idle, but most older ones can't do 
> > this.
> > You'll need to research the specific CPU + motherboard to see if this 
> > is
> > available or not, but (as far as my lousy memory serves) Athlons in 
> > the 1.8G
> > range don't support reduced power during non-usage, and will consume 
> > just as
> > many watts while the system is idle as while it's doing a buildworld.
> 
> A 1.8GHz AMD is likely to be a Barton, or possibly a later-model 
> Thoroughbred.  The CPU should have AMD's PowerNow! capabilities if APCI 
> is enabled, and they should also significantly reduce power consumption 
> if the OS runs the HLT instruction in the idle loop.

Ahh ... didn't know the 1.8s had that in them.

> I have one machine with an AMD 1800+ (1.54 MHz T'bred-B), which runs at 
> perhaps 48 or 50 C if the system is idle.  If I run something like 
> [EMAIL PROTECTED] for a day or so, the CPU will go up to around 56 or even 57 C 
> as a result of the load.  The difference in thermal output due to load 
> is very obvious.

But is thermal output a reliable indicator of power usage?  Logically, it seems
like it would be, but I'd hate to assume.

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


Re: [OT] What's "QED"? (was Re: Wisdom of automating upgrades)

2004-06-08 Thread Jos De Laender
Bill Campbell wrote:


The original Latin is ``Quod Erat Demonstrandum'', translates to that was
demonstrated (about as much as I remember from five years of Latin).
 

Quod erat demonstrandum is correct. The translation is rather : what 
needed to be proven, what needed to be demonstrated ...
(although this is probably very poor English :-) )

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


[Going further OT] Re: Leaving a server on all day

2004-06-08 Thread Nico Meijer
Hi,
What is so bad with the floor?
Ever move into a beautiful house only to find the floor *flooded* at the 
first serious cloud break? ;-)

BTW - I'd make sure I'd get/have a decent computer case with a decent 
PSU with enough room for some decent 80mm or larger low noise fans 
rather than opening up the side panel. Perhaps an aluminum (Chieftec 
Dragon, anyone?) case with some Enermax and Zalman coolers and PSU might 
do the trick. I've {b,s}een told a good airflow (front to back) is king.

OT nonetheless and good luck... Nico
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


5.2.1 fails to install on Toshiba Satellite A15-S127

2004-06-08 Thread Mikhail V.Paremski
I tried to install FBSD 5.2.1 on Toshiba Satellite A15-S127 (Mobile Intel 
Celeron Id=0xf27 Stepping = 7 2GHz/256M/30G CDRW, USB floppy.

During boot from installation floppy kernel hungs just after:
pcibios: BIOS version 2.10
Using $PIR table, 6 entries at 0xc00f01a0
pcib0:  at pcibus 0 on motherboard
pci0:  on pcib0
pci_cfgintr: 0:2 INTA BIOS irq 10
Also, I tried to use 5.2.1-RELEASE-miniinst.iso and booted it with ACPI
disabled mode. Result was the same.
There are not to many parameters which I can change in Toshiba BIOS 
"Device configuration" menu and, I hope, I tried them all without success. 
It might be, I missed something. What BIOS parameters are most important 
in this case.

I did try to setup 4.10 without any problem.
What can I try else? May be I need to build some castom kernel? What 
changes to GENERIC configuration could help? Or I need to try to do some 
changes in kernel source?

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


Hyperthreading question

2004-06-08 Thread Dwayne MacKinnon
Hi all,
I'm upgrading some machines from 4.8-RELEASE to 4.10-RELEASE. The 
machines in question are dual-processor xeon boxes. Now, my boss is 
adamant in that he doesn't want hyperthreading enabled on the machines.

In 4.8-RELEASE things were simple... I just didn't add the "options HTT" 
line to my kernel config file. In 4.10-RELEASE though, HTT is enabled by
default.

So, is there any way to shut off the hyperthreading? I've tried 
disabling it in the BIOS, and had no luck whatsoever.

Thanks,
DMK
PS: A direct reply would be welcome. I'm not subscribed to the mailing list.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD.org e-mail addresses

2004-06-08 Thread Garance A Drosihn
At 5:20 AM + 6/8/04, Andreas Carnaily wrote:
Hello All!
I have a strange question and I couldn't answer it myself
in any documentation.
Can I get some e-mail address [EMAIL PROTECTED]
If I can, what should I do or who should I be?
You have to be an active committer to the FreeBSD project, which
means you have to first get people inside the project who like
your work, and who have the time to mentor you so you know all
the rules of being a FreeBSD committer.
I need this for working with FreeBSD people and mailing lists.
You should not "need" a freebsd.org address for working with any
FreeBSD person.  If you do, then *that* person should be guiding
you through the process of becoming a committer, or providing you
with some other kind of access if you need special access in
order to work with them.
--
Garance Alistair Drosehn=   [EMAIL PROTECTED]
Senior Systems Programmer   or  [EMAIL PROTECTED]
Rensselaer Polytechnic Instituteor  [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Leaving a server on all day

2004-06-08 Thread Jonathon McKitrick
On Tue, Jun 08, 2004 at 03:05:14PM -0400, Joe Altman wrote:
: Yes; spills, flying objects, whatever. Most importantly, it's not on
: the floor, and securely on my desk. I deal w/ the noise by keeping the

What is so bad with the floor?

: > That reminds me: is a CD/RW a feasible data backup device?  I've never used
: > mine.
: 
: For me, yes it is. Tapes are, or were, too expensive. The CD/RW I

Is there a readme on this?  I could never figure out how to get burncd to
work with backups.

: purchase a UPS. There is a webpage somewhere that lists models of UPS

Good idea.


jm
-- 
My other computer is your windows box.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Leaving a server on all day

2004-06-08 Thread Joe Altman
On Tue, Jun 08, 2004 at 07:51:51PM +0100, Jonathon McKitrick wrote:
> On Tue, Jun 08, 2004 at 02:42:16PM -0400, Joe Altman wrote:
> : Take the side off of your case, turn the open side toward the wall,
> 
> Why against the wall?  So nothing damages it?

Yes; spills, flying objects, whatever. Most importantly, it's not on
the floor, and securely on my desk. I deal w/ the noise by keeping the
fan on my Enermax low; it has an adjustable spin rate via a knob on
the back. Drives are noisy, with no way around that problem.

> : with some space between it and the wall. Especially during the summer.
> 
> My setup has a fan in the back, and also one on the side.  Is that close
> enough?

It's one way to do it. Whether or not it's enough is up to you.

> : I don't put my box on the floor, if you were wondering. I have an
> 
> Mine is in the CPU slot of a tiny computer desk.

Well, the thing for me is to keep the side open, so the heat spills
out.

> : Athlon 1.2, a Plextor CD/RW, and multiple drives in the 7200 rpm
> 
> That reminds me: is a CD/RW a feasible data backup device?  I've never used
> mine.

For me, yes it is. Tapes are, or were, too expensive. The CD/RW I
purchased was, two years ago, about the same price as current DVD/RW
drives. I'd go with a DVD nowadays; pay a little more, but have Gigs
of backup space rather than Megs of storage.

> : range; and of course a gpu, and the psu, and the sound card...they all
> : generate heat. The kicker: I'm on the top floor of my building in a
> : treeless area. I'd rather the heat spill out the side, than have it
> 
> I feel your pain.  I'm third floor in an old house with no A/C.

No A/C? Sheesh. Oh, BTW: if it's an old house, do yourself a favor:
purchase a UPS. There is a webpage somewhere that lists models of UPS
units supported by FreeBSD...I forget where.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Leaving a server on all day

2004-06-08 Thread Cordula's Web
> > less power, right?  Also, a 1.8GHz Athlon won't use any more power than
> > necessary during idle time, right?
> 
> AMD processors now have fairly good thermal behavior when they are 
> idle, although it obviously helps if one can enable APCI and power 
> management capabilities to either throttle down the CPU speed or even 
> go into sleep mode.

What about other architectures? If you don't need x86 compat,
perhaps CPU models in other arches have much lower consumption?

For a box that runs mainly as router, apache, postfix, cyrus, ...
even an old MC68k would do just fine (esp. if you are limited
by bandwidth, not CPU cycles...).

Perhaps something like Soekris boards could be useful? Has
someone used them to build a power-saving server?

Anyone living in a country with exorbitant high taxes on power
lurking here?

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/

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


Re: [OT] What's "QED"? (was Re: Wisdom of automating upgrades)

2004-06-08 Thread Robert Huff

Bill Campbell writes:

>  The original Latin is ``Quod Erat Demonstrandum'', translates to
>  that was demonstrated (about as much as I remember from five
>  years of Latin).

Perfect passive periphrastic, if I've got it right.


Robert Huff


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


Re: Leaving a server on all day

2004-06-08 Thread Jonathon McKitrick
On Tue, Jun 08, 2004 at 02:42:16PM -0400, Joe Altman wrote:
: Take the side off of your case, turn the open side toward the wall,

Why against the wall?  So nothing damages it?

: with some space between it and the wall. Especially during the summer.

My setup has a fan in the back, and also one on the side.  Is that close
enough?

: I don't put my box on the floor, if you were wondering. I have an

Mine is in the CPU slot of a tiny computer desk.

: Athlon 1.2, a Plextor CD/RW, and multiple drives in the 7200 rpm

That reminds me: is a CD/RW a feasible data backup device?  I've never used
mine.

: range; and of course a gpu, and the psu, and the sound card...they all
: generate heat. The kicker: I'm on the top floor of my building in a
: treeless area. I'd rather the heat spill out the side, than have it

I feel your pain.  I'm third floor in an old house with no A/C.

jm
-- 
My other computer is your windows box.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: fstab

2004-06-08 Thread Jerry McAllister
> 
> > asuming that you have done the whole fdisk/disklabel/newfs you can list
> > the contents of /dev thus, ls /dev to find out.  It will be ad1s1d oassume
> > something like that
> 
> I do have several ad1* devices in /dev but I can not mount them. So I
> asume they are just there to be there?
> 
> Why would it be ad1s1d? If the whole drive is being used wouldn't it be
> ad1s1a?

It would be whatever you used in the disklabel run (or the one done
for you if you use sysinstall).   'd' is unlikely and so is 'c'

jerry

> 
> 
> Thank you,
> Joshua Lewis
> 
> 
> 
> Anubis
> > Joshua Lewis wrote:
> >>>/dev/ad1s1 what?  a, d, e, f,g ??
> >>
> >>
> >> Do I specify? I am using the whole drive. should I change it to
> >> /dev/ad1s1a?
> >>
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Leaving a server on all day

2004-06-08 Thread Charles Swiger
On Jun 8, 2004, at 1:59 PM, Bill Moran wrote:
Hopefully I'll get my flat screen back soon from repair.  I guess 
those use
less power, right?
I remember having this conversation with someone not too long ago, and 
our
consensus was that flat screens used just as much power as tube 
monitors.  Don't
hold me to that, though, I don't seem to remember our testing 
technique as being
very ... uhm ... "scientific".
No need to guess, use an amp-meter.  :-)
Radio Shack and the like will sell something with male and female plugs 
that will measure both voltage and current, and give you the current 
power load in Watts.  Smart UPSes may also have a similar capability.

 Also, a 1.8GHz Athlon won't use any more power than
necessary during idle time, right?
Different processors are different.  Many newer CPUs will throttle 
their power
consumption while the machine is idle, but most older ones can't do 
this.
You'll need to research the specific CPU + motherboard to see if this 
is
available or not, but (as far as my lousy memory serves) Athlons in 
the 1.8G
range don't support reduced power during non-usage, and will consume 
just as
many watts while the system is idle as while it's doing a buildworld.
A 1.8GHz AMD is likely to be a Barton, or possibly a later-model 
Thoroughbred.  The CPU should have AMD's PowerNow! capabilities if APCI 
is enabled, and they should also significantly reduce power consumption 
if the OS runs the HLT instruction in the idle loop.

I have one machine with an AMD 1800+ (1.54 MHz T'bred-B), which runs at 
perhaps 48 or 50 C if the system is idle.  If I run something like 
[EMAIL PROTECTED] for a day or so, the CPU will go up to around 56 or even 57 C 
as a result of the load.  The difference in thermal output due to load 
is very obvious.

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


Re: Leaving a server on all day

2004-06-08 Thread Joe Altman
On Tue, Jun 08, 2004 at 01:21:01PM +0100, Jonathon McKitrick wrote:
> 
> I have my desktop configured to run as a server and app server for a thin
> client laptop.  Will running it all day without suspend mode use a lot of
> power?
> 
> Is it true that the heat buildup in a home system (rather than a heavily
> fanned commercial system) will kill the drives faster and this is a good
> reason to turn it off during the day when I am not home?

Take the side off of your case, turn the open side toward the wall,
with some space between it and the wall. Especially during the summer.

I don't put my box on the floor, if you were wondering. I have an
Athlon 1.2, a Plextor CD/RW, and multiple drives in the 7200 rpm
range; and of course a gpu, and the psu, and the sound card...they all
generate heat. The kicker: I'm on the top floor of my building in a
treeless area. I'd rather the heat spill out the side, than have it
pulled out the psu or the fan on the back. I've seen rigs that have
hoses which pull the heat out of the box, and pump it into the wall.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: free

2004-06-08 Thread Dan Strick
On Tue, 8 Jun 2004 08:44:44 -0700 (PDT), dauda braimah wrote:
>>
> How do I install freebsd and another Os in a pc with
> 2gigabyte hdd disk eg Window XP and freebsd.
>
> How do I format a system that has freebsd 4.5 in it
>>

I strongly recommend against trying to shoehorn XP and FreeBSD onto
a 2 GB disk.  Windows XP requires about 1 GB plus 1.5 times as much
disk space as you have main memory for a swapfile.  If you have
enough main memory (so that you never have to swap) you can save
space by deleting the swap file after Windows XP is installed.
You can also choose not to install all the possible parts of FreeBSD.
I don't know how much space you can reasonably save.  I install
everything and after building a bunch of ports I find that I am
using almost 1.8 GB in the /usr partition (including /usr/local
but not /usr/ports).  Given that modern disk drives cost only about
$1 per GB, the extra effort required to fit both OS onto a 2 GB
disk is just not worth it.

In any case, if you insist on trying this anyway, I would install
XP first.  If possible, I would pre-create an empty 1+ GB type 11
MBR partition (DOS or Windows 95 with 32 bit FAT) and zero it,
leaving the rest of the disk unused.  Otherwise I would use the
XP installation program to set up the disk and try to convince
it to allocate only 1 GB or so for XP.  Try to make sure it
creates a Fat32 file system and not a FAT16 or NTFS file system
(because FAT16 is too inefficient and FreeBSD cannot reliably
write into NTFS file systems).  Then I would install FreeBSD in
the rest of the disk, installing only the minimum amount of
software that I needed and not expecting to install much if any
additional software afterwards.  Don't even think about loading
an elaborate GUI.  You can install X11 and if TWM is not enough
you can try something like FVWM.  During the FreeBSD disk setup
phase, I would install the usual FreeBSD MBR bootstrap program
on top of whatever XP installed.

This won't be an issue with a 2 GB disk, but I would try to insure
that the FreeBSD root partition lies within the first 8 GB of the
the disk in order to avoid various bootstrap configuration problems.

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


Re: free

2004-06-08 Thread arden
can't believe I'm answering this especially on here but the min spec for
XP is 1.5 gig that doesn't leave much for BSDs or to run any
applications in either OS hard disks are cheap as chips these days think
its time to upgrade 

arden  

  
On Tue, 2004-06-08 at 18:38, Bill Moran wrote:
> [Please use "reply all" to include the mailing list in subsequent questions,
> I do not always have time to respond to all follow-ups.]
> 
> dauda braimah <[EMAIL PROTECTED]> wrote:
> > Hi Bill,
> > thanks for that email and the prompt reply.
> > 
> > What practical minimum size required to install
> > freebsd and XP
> 
> I have not idea how little a disk Windows XP will fit on, but I doubt 2G will
> be big enough.
> 
> How much space you need for FreeBSD depends entirely on what you want to do.
> If you just want to use it as an internet firewall, you can do a minimal
> installation of less than a few hundred meg.  If you want to do C-language
> development for servers or console applications, you could probably get away
> with less than 1G.  If you want a full-blown graphical interface with web
> browser and office suite, you're going to need at least 10G.
> 
> > 
> > Thanks 
> > > dauda braimah <[EMAIL PROTECTED]> wrote:
> > > 
> > > > How do I install freebsd and another Os in a pc
> > > with
> > > > 2gigabyte hdd disk eg Window XP and freebsd.
> > > > 
> > > > How do I format a system that has freebsd 4.5 in
> > > it 
> > > 
> > > Have you read the install docs?:
> > > 
> > >
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html
> > > 
> > > Be sure you back up any important data before
> > > starting, _especially_ if 
> > > you're unfamiliar with the process.
> > > 
> > > If you hit specific questions or problems as you go,
> > > don't hesitate to ask
> > > the list again.
> 

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


Re: Dangerous file system / disk problem

2004-06-08 Thread Ben Paley
On Tuesday 08 June 2004 10:38, Malcolm Kay wrote:
> On Tuesday 08 June 2004 05:20, Ben Paley wrote:

> > But seriously, does any of this suggest a course of action to you? I'm
> > planning to try the "set sysid to 0" plan... what if that doesn't work?
>
> Sounds like an excellent idea. Perhaps windows is seeing the slice as a fs
> it knows about but finds it unformatted, so is offering to do that for you.
>
> So maybe setting sysid to zero (which I think registers as an undefined
> slice) will stop windows making the offer.
>
> Whatever else I can't see how this would make the situation worse.

Well, this seems to solve my problem. That is, Windows no longer sees an extra 
disk, so I guess it won't try to format it! Now I feel happy about letting 
other people use the computer again... death threats wear out on 10 year olds 
so quickly...

On the other hand, Partition Magic won't run any more - I get "library or disk 
not open" which seems to me like a typically uninformative Windows error 
message. Perhaps it's not even connected. Who cares? I can live without 
partition magic.

Thank you all so much for your thoughts and advice, I really appreciate it.

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


Re: Leaving a server on all day

2004-06-08 Thread Charles Swiger
On Jun 8, 2004, at 1:27 PM, Jonathon McKitrick wrote:
Hopefully I'll get my flat screen back soon from repair.  I guess 
those use
less power, right?  Also, a 1.8GHz Athlon won't use any more power than
necessary during idle time, right?
Yes, a flat screen typically uses about 50W; a big CRT might use 100 to 
150W.

AMD processors now have fairly good thermal behavior when they are 
idle, although it obviously helps if one can enable APCI and power 
management capabilities to either throttle down the CPU speed or even 
go into sleep mode.

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


Re: free

2004-06-08 Thread Kent Stewart
On Tuesday 08 June 2004 10:38 am, Bill Moran wrote:
> [Please use "reply all" to include the mailing list in subsequent
> questions, I do not always have time to respond to all follow-ups.]
>
> dauda braimah <[EMAIL PROTECTED]> wrote:
> > Hi Bill,
> > thanks for that email and the prompt reply.
> >
> > What practical minimum size required to install
> > freebsd and XP
>
> I have not idea how little a disk Windows XP will fit on, but I doubt
> 2G will be big enough.

I agree. My WinXP directory by itself is 1.8 GB and the applications are 
exponential from there :).

>
> How much space you need for FreeBSD depends entirely on what you want
> to do. If you just want to use it as an internet firewall, you can do
> a minimal installation of less than a few hundred meg.  If you want
> to do C-language development for servers or console applications, you
> could probably get away with less than 1G.  If you want a full-blown
> graphical interface with web browser and office suite, you're going
> to need at least 10G.

I am not sure that is enough. For example, just updating java-1.4, you 
need 1.7+ GB free. I think there are other ports that need much more. I 
have /usr/ports as a stand alone mount point and created a 15 GB 
filesystem just for the ports. It is currently running at 20% used.

Kent
>
> > Thanks
> >
> > > dauda braimah <[EMAIL PROTECTED]> wrote:
> > > > How do I install freebsd and another Os in a pc
> > >
> > > with
> > >
> > > > 2gigabyte hdd disk eg Window XP and freebsd.
> > > >
> > > > How do I format a system that has freebsd 4.5 in
> > >
> > > it
> > >
> > > Have you read the install docs?:
> >
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.h
> >tml
> >
> > > Be sure you back up any important data before
> > > starting, _especially_ if
> > > you're unfamiliar with the process.
> > >
> > > If you hit specific questions or problems as you go,
> > > don't hesitate to ask
> > > the list again.

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Leaving a server on all day

2004-06-08 Thread Bill Moran
Jonathon McKitrick <[EMAIL PROTECTED]> wrote:

> On Tue, Jun 08, 2004 at 05:18:07PM +0100, Richard Caley wrote:
> : In article <[EMAIL PROTECTED]>, Jonathon McKitrick (jm) writes:
> : 
> : jm> I have my desktop configured to run as a server and app server for a thin
> : jm> client laptop.  Will running it all day without suspend mode use a lot of
> : jm> power?
> : 
> : Turn the monitor off, especially if it is getting old. I have a 19inch
> : from back when they were expensive and it eats power. 
> 
> Hopefully I'll get my flat screen back soon from repair.  I guess those use
> less power, right?

I remember having this conversation with someone not too long ago, and our
consensus was that flat screens used just as much power as tube monitors.  Don't
hold me to that, though, I don't seem to remember our testing technique as being
very ... uhm ... "scientific".

>  Also, a 1.8GHz Athlon won't use any more power than
> necessary during idle time, right?

Different processors are different.  Many newer CPUs will throttle their power
consumption while the machine is idle, but most older ones can't do this.
You'll need to research the specific CPU + motherboard to see if this is
available or not, but (as far as my lousy memory serves) Athlons in the 1.8G
range don't support reduced power during non-usage, and will consume just as
many watts while the system is idle as while it's doing a buildworld.

Please note that I am not an authority on hardware, if I'm off-base here, I
wouldn't mind a correction ;)  But this is how things stand to the best of
my knowledge.

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


Re: [OT] What's "QED"? (was Re: Wisdom of automating upgrades)

2004-06-08 Thread Bill Campbell
On Tue, Jun 08, 2004, Kent Stewart wrote:
>On Tuesday 08 June 2004 09:36 am, Bill Moran wrote:
>> Peter Risdon <[EMAIL PROTECTED]> wrote:
>> > Robert Huff wrote:
>> > >Peter Risdon writes:
>> > >> I suppose what I'm driving at is whether the RELENG_4 branch
>> > >> sees many commits that are likely to be problematic.
>> > >
>> > >  In general, no.
>> > >  On the other hand ... think of this as a Murphy's Law scenario:
>> > >if you automate, it _will_ break horribly two days before some
>> > >absolutely critical deadline.
>> >
>> > QED
>>
>> I must be "out of touch" with my jargon ...
>>
>> What's "QED"?
>
>I remember seeing that  at the end of mathematical proofs at the 
>University where the professor was too lazy to finish their 
>documentation. It was much more fitting here :).

The original Latin is ``Quod Erat Demonstrandum'', translates to that was
demonstrated (about as much as I remember from five years of Latin).

Bill
--
INTERNET:  [EMAIL PROTECTED]   Bill Campbell; Celestial Software LLC
UUCP:  camco!bill   PO Box 820; 6641 E. Mercer Way
FAX:   (206) 232-9186   Mercer Island, WA 98040-0820; (206) 236-1676
http://www.celestial.com/

You need only reflect that one of the best ways to get yourself a
reputation as a dangerous citizen these days is to go about repeating
the very phrases which our founding fathers used in the struggle for
independence.
-- Charles A. Beard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: free

2004-06-08 Thread Bill Moran
[Please use "reply all" to include the mailing list in subsequent questions,
I do not always have time to respond to all follow-ups.]

dauda braimah <[EMAIL PROTECTED]> wrote:
> Hi Bill,
> thanks for that email and the prompt reply.
> 
> What practical minimum size required to install
> freebsd and XP

I have not idea how little a disk Windows XP will fit on, but I doubt 2G will
be big enough.

How much space you need for FreeBSD depends entirely on what you want to do.
If you just want to use it as an internet firewall, you can do a minimal
installation of less than a few hundred meg.  If you want to do C-language
development for servers or console applications, you could probably get away
with less than 1G.  If you want a full-blown graphical interface with web
browser and office suite, you're going to need at least 10G.

> 
> Thanks 
> > dauda braimah <[EMAIL PROTECTED]> wrote:
> > 
> > > How do I install freebsd and another Os in a pc
> > with
> > > 2gigabyte hdd disk eg Window XP and freebsd.
> > > 
> > > How do I format a system that has freebsd 4.5 in
> > it 
> > 
> > Have you read the install docs?:
> > 
> >
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html
> > 
> > Be sure you back up any important data before
> > starting, _especially_ if 
> > you're unfamiliar with the process.
> > 
> > If you hit specific questions or problems as you go,
> > don't hesitate to ask
> > the list again.


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


Re: Leaving a server on all day

2004-06-08 Thread Jonathon McKitrick
On Tue, Jun 08, 2004 at 05:18:07PM +0100, Richard Caley wrote:
: In article <[EMAIL PROTECTED]>, Jonathon McKitrick (jm) writes:
: 
: jm> I have my desktop configured to run as a server and app server for a thin
: jm> client laptop.  Will running it all day without suspend mode use a lot of
: jm> power?
: 
: Turn the monitor off, especially if it is getting old. I have a 19inch
: from back when they were expensive and it eats power. 

Hopefully I'll get my flat screen back soon from repair.  I guess those use
less power, right?  Also, a 1.8GHz Athlon won't use any more power than
necessary during idle time, right?

jm
-- 
My other computer is your Windows box.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: acpi question

2004-06-08 Thread Oliver B. Fischer
Hello Dan,
there is a separate list on ACPI: [EMAIL PROTECTED]
May you wish to subscribe to it.
Regards,
Oliver Fischer
Dan Cojocar wrote:
Hello,
I noticed that my hw.acpi.thermal.tz0.active is set -1 and i can't change this 
value, what is this meaning?
Thanks,
Dan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [OT] What's "QED"? (was Re: Wisdom of automating upgrades)

2004-06-08 Thread Kent Stewart
On Tuesday 08 June 2004 09:36 am, Bill Moran wrote:
> Peter Risdon <[EMAIL PROTECTED]> wrote:
> > Robert Huff wrote:
> > >Peter Risdon writes:
> > >> I suppose what I'm driving at is whether the RELENG_4 branch
> > >> sees many commits that are likely to be problematic.
> > >
> > >   In general, no.
> > >   On the other hand ... think of this as a Murphy's Law scenario:
> > >if you automate, it _will_ break horribly two days before some
> > >absolutely critical deadline.
> >
> > QED
>
> I must be "out of touch" with my jargon ...
>
> What's "QED"?

I remember seeing that  at the end of mathematical proofs at the 
University where the professor was too lazy to finish their 
documentation. It was much more fitting here :).

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Perl and linux emulation

2004-06-08 Thread Daniel Bye
On Tue, Jun 08, 2004 at 11:27:29AM -0500, Jason Godfrey wrote:
> Hello.
> 
> I have a perl module (Adobe's FDF toolkit) that uses two .so files as part
> of it's magic. These files come precompiled for Linux. Not surprisingly, when
> I try to do a perl "use" on the module I get an error like this:
> 
> Can't load '/usr/local/lib/perl5/site_perl/5.6.1/FDF.so' for module Acrobat::FDF: 
> Shared object "libc.so.6" not found at 
> /usr/local/lib/perl5/5.6.1/i386-freebsd/DynaLoader.pm line 206.
>  at /usr/local/lib/perl5/5.6.1/Acrobat/FDF.pm line 741
> 
> 
> Is there a way to use a Linux compiled .so file with the a perl compiled for
> FreeBSD? If not, does anyone know of a way to easily install a seperate perl
> compiled as a linux binary?

The best way to proceed, I suppose, would be to install the linux_base port.
The lib you need is installed as part of it.  To make it accessible, you may
need to run ldconfig -elf -R /compat/linux/lib after installation.

HTH

Dan


pgp1LKUYU9wyy.pgp
Description: PGP signature


Re: [OT] What's "QED"? (was Re: Wisdom of automating upgrades)

2004-06-08 Thread Andrew L. Gould
On Tue, 8 Jun 2004 12:36:47 -0400
Bill Moran <[EMAIL PROTECTED]> wrote:

> Peter Risdon <[EMAIL PROTECTED]> wrote:
> 
> > Robert Huff wrote:
> > 
> > >Peter Risdon writes:
> > >
> > >> I suppose what I'm driving at is whether the RELENG_4 branch sees
> > >> many commits that are likely to be problematic.
> > >>
> > >   In general, no.
> > >   On the other hand ... think of this as a Murphy's Law scenario:
> > >if you automate, it _will_ break horribly two days before some
> > >absolutely critical deadline.
> > >  
> > 
> > QED
> 
> I must be "out of touch" with my jargon ...
> 
> What's "QED"?
> 
> -- 
> Bill Moran

If I recall correctly, it's Latin: "quod erat demonstrandum", meaning
"as it has been demonstrated".

Andrew Gould



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


[OT] What's "QED"? (was Re: Wisdom of automating upgrades)

2004-06-08 Thread Bill Moran
Peter Risdon <[EMAIL PROTECTED]> wrote:

> Robert Huff wrote:
> 
> >Peter Risdon writes:
> >
> >> I suppose what I'm driving at is whether the RELENG_4 branch sees
> >> many commits that are likely to be problematic.
> >>
> > In general, no.
> > On the other hand ... think of this as a Murphy's Law scenario:
> >if you automate, it _will_ break horribly two days before some
> >absolutely critical deadline.
> >  
> 
> QED

I must be "out of touch" with my jargon ...

What's "QED"?

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


Re: fstab

2004-06-08 Thread Joshua Lewis
> asuming that you have done the whole fdisk/disklabel/newfs you can list
> the contents of /dev thus, ls /dev to find out.  It will be ad1s1d oassume
> something like that

I do have several ad1* devices in /dev but I can not mount them. So I
asume they are just there to be there?

Why would it be ad1s1d? If the whole drive is being used wouldn't it be
ad1s1a?


Thank you,
Joshua Lewis



Anubis
> Joshua Lewis wrote:
>>>/dev/ad1s1 what?  a, d, e, f,g ??
>>
>>
>> Do I specify? I am using the whole drive. should I change it to
>> /dev/ad1s1a?
>>
>>
>> Thank you,
>> Joshua Lewis
>>
>>
>>
>> Anubis
>>
>>>Joshua Lewis wrote:
>>>
The last time I edited this file my system ceased to boot. I have made
what
looks to me like a valid entry. This is the same thing I entered in
 last
time. I am not going to save this but does it look valid to anyone out
there?


# DeviceMountpoint  FStype  Options Dump
Pass#
/dev/ad0s1b noneswapsw  0
0
/dev/ad0s1a /   ufs rw  1
1
/dev/ad0s1f /tmpufs rw  2
2
/dev/ad0s1g /usrufs rw  2
2
/dev/ad0s1e /varufs rw  2
2
/dev/acd0c  /cdrom  cd9660  ro,noauto   0
0
/dev/acd1c  /cdrom1 cd9660  ro,noauto   0
0

This is the line I added
/dev/ad1s1  /disk2  ufs rw  2
 2


proc/proc   procfs  rw  0
0

>>>
>>>/dev/ad1s1 what?  a, d, e, f,g ??
>>>
>>>
>>>
>>
>>
>>
>
> asuming that you have done the whole fdisk/disklabel/newfs you can list
> the contents of /dev thus, ls /dev to find out.  It will be ad1s1d or
> something like that
>
>
>

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


Re: Wisdom of automating upgrades

2004-06-08 Thread Bill Moran
Peter Risdon <[EMAIL PROTECTED]> wrote:

> Bill Moran wrote:
> 
> >Peter Risdon <[EMAIL PROTECTED]> wrote:
> >  
> >>cvsup'ing overnight is routine and fine.
> >>
> >>The make build/install stuff seems a bit more delicate. I'm happy that I 
> >>have figured out how to automate this, but not _whether_ I should do so. 
> >>I am of course only considering tracking RELENG_4 at this stage.
> >
> >Why not just cvsup/buildworld/buildkernel nightly, and monitor the FreeBSD
> >security advisory list.  When a security problem is found, you only have to
> >installworld/installkernel, which is usually pretty quick.
> 
> Yes, it is. That's a good compromise.

Watching the other posts, I would suggest another compromise as well: track
RELENG_4_10, not RELENG_4.  Much more conservative commit policy.

When (if?) 4.11 comes out, you should expect a careful, manual switch from
the RELENG_4_10 branch to the RELENG_4_11 branch.  I've been doing this since
4.7?  and have had very few problems.  But, occasionally, there are significant
changes between a point release.

> >>Ports are perhaps more likely to be problematic (though less likely to 
> >>be a blocker to remote fixing than a failure to boot). 
> >>
> >Install portaudit, which will include nightly audits of port problems in your
> >daily run email.  This takes the guesswork out of when to upgrade.  By cvsupping
> >the ports nightly, you only have to run portupgrade to get things updated.
> >
> >Because of the dependencies in ports (which can get rather complex) I wouldn't
> >recommend automatically doing much with ports.
> 
> If something in the dependency tree is broken or is imperfectly handled 
> without manual intervention, the upgrade process stops short of 
> deinstalling the existing port.

I _was_ going to comment on this, but you beat me to the punch ;)

This is a fantastic feature of portupgrade, which makes the package an
incredible tool!

> A more severe problem would occur when a configuration file format 
> changes, or there's deprecation and replacement.

This is the greater concern, and one that I doubt if portupgrade can address.
This bit me not too long ago, because of the migration of a lot of ports to
rcng ... without a _enable="YES" line in /etc/rc.conf, a lot of the
ports I upgraded didn't start after upgrading.  Not a big deal, but a subtle
warning to be careful of config changes in ports!

> Perhaps I should say I'm pretty sure full automation would be unwise.

I agree.  As I said before, big companies don't even automate the Windows Update
process, because (despite Microsoft's claims) doing so has bit them in the past.

> It 
> isn't unobvious and if it hasn't yet been done there's probably a reason 
> for it. I'm trying to get a handle on what that is and to what extent 
> solutions such as the one you suggested above can be used.

Good luck.  I highly recommend portaudit!  At least you know when it's time to
do things.

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


Perl and linux emulation

2004-06-08 Thread Jason Godfrey
Hello.

I have a perl module (Adobe's FDF toolkit) that uses two .so files as part
of it's magic. These files come precompiled for Linux. Not surprisingly, when
I try to do a perl "use" on the module I get an error like this:

Can't load '/usr/local/lib/perl5/site_perl/5.6.1/FDF.so' for module Acrobat::FDF: 
Shared object "libc.so.6" not found at 
/usr/local/lib/perl5/5.6.1/i386-freebsd/DynaLoader.pm line 206.
 at /usr/local/lib/perl5/5.6.1/Acrobat/FDF.pm line 741


Is there a way to use a Linux compiled .so file with the a perl compiled for
FreeBSD? If not, does anyone know of a way to easily install a seperate perl
compiled as a linux binary?

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


Re: free

2004-06-08 Thread Bill Moran
dauda braimah <[EMAIL PROTECTED]> wrote:

> How do I install freebsd and another Os in a pc with
> 2gigabyte hdd disk eg Window XP and freebsd.
> 
> How do I format a system that has freebsd 4.5 in it 

Have you read the install docs?:

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

Be sure you back up any important data before starting, _especially_ if 
you're unfamiliar with the process.

If you hit specific questions or problems as you go, don't hesitate to ask
the list again.

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


Re: Leaving a server on all day

2004-06-08 Thread Richard Caley
In article <[EMAIL PROTECTED]>, Jonathon McKitrick (jm) writes:

jm> I have my desktop configured to run as a server and app server for a thin
jm> client laptop.  Will running it all day without suspend mode use a lot of
jm> power?

Turn the monitor off, especially if it is getting old. I have a 19inch
from back when they were expensive and it eats power. 

-- 
Mail me as [EMAIL PROTECTED]_O_
 |<

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


Re: Wisdom of automating upgrades

2004-06-08 Thread Peter Risdon
Robert Huff wrote:
Peter Risdon writes:
 

I suppose what I'm driving at is whether the RELENG_4 branch sees
many commits that are likely to be problematic.
   

	In general, no.
	On the other hand ... think of this as a Murphy's Law scenario:
if you automate, it _will_ break horribly two days before some
absolutely critical deadline.
 

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


Re: Wisdom of automating upgrades

2004-06-08 Thread Peter Risdon
Bill Moran wrote:
Peter Risdon <[EMAIL PROTECTED]> wrote:
 

cvsup'ing overnight is routine and fine.
The make build/install stuff seems a bit more delicate. I'm happy that I 
have figured out how to automate this, but not _whether_ I should do so. 
I am of course only considering tracking RELENG_4 at this stage.
   

Why not just cvsup/buildworld/buildkernel nightly, and monitor the FreeBSD
security advisory list.  When a security problem is found, you only have to
installworld/installkernel, which is usually pretty quick.
 

Yes, it is. That's a good compromise.

Ports are perhaps more likely to be problematic (though less likely to 
be a blocker to remote fixing than a failure to boot). 

   

Install portaudit, which will include nightly audits of port problems in your
daily run email.  This takes the guesswork out of when to upgrade.  By cvsupping
the ports nightly, you only have to run portupgrade to get things updated.
Because of the dependencies in ports (which can get rather complex) I wouldn't
recommend automatically doing much with ports.
 

If something in the dependency tree is broken or is imperfectly handled 
without manual intervention, the upgrade process stops short of 
deinstalling the existing port. Otherwise, the thought of automation 
wouldn't have crossed my mind. Of course, the time spent tidying up such 
situations might outweigh the time saved.

A more severe problem would occur when a configuration file format 
changes, or there's deprecation and replacement.

Perhaps I should say I'm pretty sure full automation would be unwise. It 
isn't unobvious and if it hasn't yet been done there's probably a reason 
for it. I'm trying to get a handle on what that is and to what extent 
solutions such as the one you suggested above can be used.

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


portupgrade -c (was Re: Boot GUI / Boot data and process / Fragmentation)

2004-06-08 Thread Randy Pratt
On Tue, 8 Jun 2004 00:59:58 -0700
Kent Stewart <[EMAIL PROTECTED]> wrote:

> On Tuesday 08 June 2004 12:37 am, Bruce Hunter wrote:
> > Thanks for your help Kent
> >
> > I read something about using portversion -c with the portupgrade
> > command to upgrade installed pkgs that needed to be updated.
> >
> > When I run portversion -c  :: I get a print out of things needed to
> > be upgraded and at the end, it shows a 'if' statment.
> >
> > How do you use this command with portupgrade so it just updates them
> > instead of just showing me. Just do it dang it... just do it! ;o)

The output of "portversion -c" needs to be redirected to a file:

portversion -c > scriptname.sh

To make it usable as a shell script, it needs to have

#!/bin/sh

added at the top to insure that it uses the sh command interperter.
Then, the script needs to be made executable:

chmod 744 scriptname.sh

Then it can be run as root:

./scriptname.sh

> I'm not the one to ask because I use the -c and do them one at a time. 
> The portupgrade option -rRa will do some of it. I just want it to do it 
> at my convience and choosing :). I also have an AMD 2400+ that sits off 
> to the side of my computer desk and I build everything on it. The 
> problem with the -c list is that it doesn't build dependancies first.

I think it will build the required dependencies first *if* they
need updated.  The synopsis of portupgrade is:

portupgrade [ ... bunch of options ... ] pkgname-glob

A list of ports can be passed to portugrade and it will check which
needs to be built first.  This can easily be checked if you have
doubts.  Use -n for "no-execute" and -f to "force".  This is a test
case I tried where liveMedia is a dependency of mplayer:

  # portupgrade -nf mplayer-gtk-esound-0.92.1_2 liveMedia-2004.06.07,1
  --->  Session started at: Tue, 08 Jun 2004 11:06:39 -0400
  --->  Reinstallation of net/liveMedia started at: Tue, 08 Jun 2004
11:06:40 -0400
  --->  Reinstalling 'liveMedia-2004.06.07,1' (net/liveMedia)
OK? [no]
  --->  Reinstallation of net/liveMedia ended at: Tue, 08 Jun 2004
11:06:40 -0400 (consumed 00:00:00)
  --->  Reinstallation of multimedia/mplayer started at: Tue, 08 Jun
2004 11:06:41 -0400
  --->  Reinstalling 'mplayer-gtk-esound-0.92.1_2'
(multimedia/mplayer)
OK? [no]
  --->  Reinstallation of multimedia/mplayer ended at: Tue, 08 Jun
2004 11:06:41 -0400 (consumed 00:00:00)
  --->  Listing the results (+:done / -:ignored / *:skipped / !:failed)
+ net/liveMedia (liveMedia-2004.06.07,1)
+ multimedia/mplayer (mplayer-gtk-esound-0.92.1_2)
  --->  Packages processed: 2 done, 0 ignored, 0 skipped and 0 failed
  --->  Session ended at: Tue, 08 Jun 2004 11:06:41 -0400 (consumed 00:00:01)
  #

Notice that liveMedia was updated first even though it was last in
the list of ports passed to portupgrade.  The portversion -c 
produces a list of ports and stores them in its variable $pkgs.
Portupgrade will take the list and build them in the correct
dependency order.

I've used this approach for several years now and it works fine.

However, caution should be used when scripting the upgrading of
ports.  After cvsupping and running portsdb -Uu, the
/usr/ports/UPDATING should be read and any items that are
applicable to the installation should be followed before running
any scripts or other portupgrade commands.

If you still prefer doing ports manually, the output of
portupgrade -c can still be useful.  By modifying the script
slightly, it will produce a list of ports to be updated in the
order they should be updated.  Just change the line:

portupgrade "$@" $pkgs

to:

pkg_glob $pkgs | pkg_sort

It should be noted that some ports may not work until the entire
list is updated and as usual, your mileage may vary.

I'm sure someone will correct me if I'm thinking wrong about this.

Best regards,

Randy

[ ... other topics snipped ... ]

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


Re: Wisdom of automating upgrades

2004-06-08 Thread Robert Huff

Peter Risdon writes:

>  I suppose what I'm driving at is whether the RELENG_4 branch sees
>  many commits that are likely to be problematic.

In general, no.
On the other hand ... think of this as a Murphy's Law scenario:
if you automate, it _will_ break horribly two days before some
absolutely critical deadline.
I have learned from bitter experience that guaranteed updates,
aren't.


Robert Huff


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


Re: F-Prot update errors

2004-06-08 Thread Hasse
On Tuesday 08 June 2004 17.08, [EMAIL PROTECTED] wrote:
> I install F-Prot from the ports.  If I run check-updates.pl from the
> console I get a sucessful update everytime (or a nothing updates found
> message) but if I added the script into the crontab (via crontab -e as
> root) I get the following Email:
>
> ***
> * F-Prot Antivirus Updater*
> ***
>
> There's a new version of:
> "Document/Office/Macro viruses" signatures on the web.
> Starting to download...
> Download completed.
>
> Preparing to install Document/Office/Macro viruses signatures.
> unzip: not found
> Error trying to unzip: macrdef2.zip.
> Make sure unzip is installed and it's location is within your PATH variable
> Fatal error.Exiting...
>
>
>
> if I do a echo $path I get:
>
> /sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin
> /usr/X11R6/bin /root/bin
>
> if I do a which unzip I get:
>
> /usr/local/bin/unzip
>
> so unzip is clearly in the path...  Anyone have any ideas?  Here is my
> crontab string:
>
> 27 4,16 * * * /usr/local/f-prot/tools/check-updates.pl -cron
>
> ns1# uname -a
> FreeBSD ns1.valuedj.com 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Thu Mar 11
> 09:35:27 PST 2004
> ___
As far as I remember, according to the install doc for F-Prot,
you're supposed to put /usr/local/bin before /usr/bin in your path.
Also it depends of using bash shell.
Check the docs at F-Prot's website.
/Hasse.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: fxp0: device timeout with thinkpad r40

2004-06-08 Thread Luke Kearney

On Tue, 8 Jun 2004 17:45:09 +0200
<[EMAIL PROTECTED]> spake thus:

> Hey
> 
> I've found some documented problems with this on google but nothing that really 
> helped me. I have an IBM Thinkpad R40 and finding chipset information for it all the 
> docs say that it's an Ethernet Driver(ya i know) so the best i've got is that it's 
> intergrated into the motherboard. I even have the pdf manual with all hardware specs 
> and all it says is the following:
> 
>   GAU: Intel PRO/Wireless Network Connection 802.11b, 56K14 modem, 10/100 
> Ethernet, BluetoothTM,15
> 
>   G3U: 56K modem, 10/100 Ethernet (Wi-Fi wireless upgradable with built-in 
> antenna)GDU: IBM 11a/b Wi-Fi wireless, 56K modem, 10/100 Ethernet
>  BAU: Intel PRO/Wireless Network Connection 802.11b, 56K modem, 10/100 Ethernet
> 
>   BSU: Cisco 802.11b, 56K modem, 10/100 Ethernet
> 
>   B4U: 56K modem, 10/100 Ethernet (Wi-Fi wireless upgradable with built-in 
> antenna)
>  5TU: Cisco 802.11b, 56K modem, 10/100 Ethernet
> 
>   58U, 5JU, F2U: 56K modem, 10/100 Ethernet (Wi-Fi wireless upgradable with 
> built-in antenna)
>  2QU: Intel PRO/Wireless Network Connection 802.11b, 56K modem, 10/100 Ethernet
> 
>   47U, 24U, 22U, 2JU: 56K modem, 10/100 Ethernet (Wi-Fi wireless upgradable with 
> built-in antenna)
>  6LU, 3LU: IBM 11a/b Wi-Fi wireless, 56K modem, 10/100 Ethernet
> 
>   2FU: Intel PRO/Wireless Network Connection 802.11b, 56K modem, 10/100 Ethernet
> 
>   2SU: Cisco 802.11b, 56K modem, 10/100 Ethernet
> 
>   27U, 26U: 56K modem, 10/100 Ethernet (Wi-Fi wireless upgradable with built-in 
> antenna)
>  
> 
> 
> 
> ...which is weird because it also talks a lot about the wlan card which might be 
> causing all of this.
> 
> Well basically i need some help from someone who got freebsd working on a similar 
> laptop and i would really appriciate it.

I have an IBM X30 which has an onboard wireless and onboard ethernet
interface. It was no drama to setup at all however I do get device
timeouts on the wireless NIC from time to time. Often when trying to cp
large files via NFS. What does dmesg tell you about the wlan NIC?

HTH

LukeK

-- 
Luke Kearney <[EMAIL PROTECTED]>

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


Re: Leaving a server on all day

2004-06-08 Thread Chiang Seng Chang
Well... X is not started automatically (a.k.a. no gdm/kdm)... sometimes 
I'd like to "play" with some X stuff...

I know there are other solution, like build on a fast machine and 
install onto the slow one.  I didn't bother because 1) the server is 
still working while the upgrade is taking it's own sweet time, and more 
importantly 2) I have no fast machine ;-)

I put x11 into the ignore list in pkgtools.conf, but the recent perl 5.8 
upgrade seems to ignore that and build everything anyway.

-cs
p.s. sorry have to resend this cos' "toying" with my postfix canonical 
settings...

Peter Ulrich Kruppa wrote:
On Tue, 8 Jun 2004, Chiang Seng Chang wrote:
I also have an always-on "headless" server running for like 3 years 
now without any problem.

I use it for: apache, samba, vpn, postfix (the "usual" server apps).
I think the "key" is to use the minimal (translate: cooler, less power 
hungry) components.

Mine is P2-400 with 5400 rpm HDDs.
A UPS would be a nice addition.
The ONLY issue I have is it takes a few *days* to do portupgrade -ar ;-)
maybe I should just remove all the X stuff.
You really should do this. All your services are configured via text 
files anyway.

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


Re: Ernesto Ortiz

2004-06-08 Thread Jerry McAllister
> 
> I have been doing some research on FreeBSD and I want to use it as my OS but 
> i have no idea on what files I need to download from the ftp sites. If 
> anyone can help with my problem I would appreciate it a lot. I have a really 
> good computer and I am sure that is more than capable of running 
> FreeBSD...But I lack the understanding on what I need to get to install it 
> in my PC.

It depends a little on how you want to do the install.
That further depends a little on the quality of your network connection.

If your network connection is not very fast or you have trouble FTPing
files, then you will probably want to download, burn and build from
the -RELEASE-i386-disc1.iso and (possibly) -RELEASE-i386-disc2.iso
files.   

In this case, everything you need to do an installation and even install
a few of the most popular ports is on the CD[s].  Once you download
them, you can proceed without using the net. 

If your network connection is reasonable and you don't have any trouble
with ftp, then the easiest is to just download the
  -RELEASE-i386-miniinst.iso
If you use the mini-iso, then the boot and install stuff is in the
iso, but all the binaries, packages and ports skeleton are downloaded
during the install process from the mirror site you specify during
the install.

The  in the names above refers to the version number.   So, if you
want to load version 4.10 from the mini-iso, then it would be
4.10-RELEASE-i386-miniinst.iso

Note that for releases 4.9 and earlier the mini-iso is  xxx-mini.iso
rather than xxx-miniinst.iso 
I am not sure what prompted the change.  Just makes it harder to type
accurately as far as I can see.

So, ftp to ftp.freebsd.org,   log in as anonymous with your Email address
as password.   Then cd to:   pub/FreeBSD/releases/i386/ISO-IMAGES/

again where  is the version you want.   
So for  version 4.10 it is:   pub/FreeBSD/releases/i386/ISO-IMAGES/4.10
The iso images are all there.

You might also want to download the CHECKSUM.MD5 file and use md5
to verify the integrety of the download.  All the checksums for a 
particular release are in the one file and it is a straight text file.

I normally choose to install over the net so I just download the mini-iso.
But, I am fortunate in connections, having access to a university
high speed links, but unfortunate in funds, due to the same university
relationship.  

One further choice that is worth considering is to buy a preburned CD
set from one of several vendors that package a set already for you.
Usually that includes the CDs that you can get from FreeBSD, plus
usually some additional CDs with some of the ports, plus most often
a printed copy of the handbook or some other printed documentation.
One special benefit of buying the CD set if you can is that most of
these companies donate part of their receipts to the FreeBSD project.

IF you buy the set, then you can install without having any network 
connection (or a bad one).

jerry

> 
> Thanks for your time.
> Sincerly Ernesto Ortiz
> 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


fxp0: device timeout with thinkpad r40

2004-06-08 Thread stefan
Hey

I've found some documented problems with this on google but nothing that really helped 
me. I have an IBM Thinkpad R40 and finding chipset information for it all the docs say 
that it's an Ethernet Driver(ya i know) so the best i've got is that it's intergrated 
into the motherboard. I even have the pdf manual with all hardware specs and all it 
says is the following:

  GAU: Intel PRO/Wireless Network Connection 802.11b, 56K14 modem, 10/100 
Ethernet, BluetoothTM,15

  G3U: 56K modem, 10/100 Ethernet (Wi-Fi wireless upgradable with built-in 
antenna)GDU: IBM 11a/b Wi-Fi wireless, 56K modem, 10/100 Ethernet
 BAU: Intel PRO/Wireless Network Connection 802.11b, 56K modem, 10/100 Ethernet

  BSU: Cisco 802.11b, 56K modem, 10/100 Ethernet

  B4U: 56K modem, 10/100 Ethernet (Wi-Fi wireless upgradable with built-in antenna)
 5TU: Cisco 802.11b, 56K modem, 10/100 Ethernet

  58U, 5JU, F2U: 56K modem, 10/100 Ethernet (Wi-Fi wireless upgradable with 
built-in antenna)
 2QU: Intel PRO/Wireless Network Connection 802.11b, 56K modem, 10/100 Ethernet

  47U, 24U, 22U, 2JU: 56K modem, 10/100 Ethernet (Wi-Fi wireless upgradable with 
built-in antenna)
 6LU, 3LU: IBM 11a/b Wi-Fi wireless, 56K modem, 10/100 Ethernet

  2FU: Intel PRO/Wireless Network Connection 802.11b, 56K modem, 10/100 Ethernet

  2SU: Cisco 802.11b, 56K modem, 10/100 Ethernet

  27U, 26U: 56K modem, 10/100 Ethernet (Wi-Fi wireless upgradable with built-in 
antenna)
 



...which is weird because it also talks a lot about the wlan card which might be 
causing all of this.

Well basically i need some help from someone who got freebsd working on a similar 
laptop and i would really appriciate it.




Med vänliga hälsningar

Stefan Midjich, Swebase AB
Tel: 042-20 15 00
Fax: 042-20 15 03
E-post: [EMAIL PROTECTED]
Webb: http://swebase.com

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


free

2004-06-08 Thread dauda braimah
How do I install freebsd and another Os in a pc with
2gigabyte hdd disk eg Window XP and freebsd.

How do I format a system that has freebsd 4.5 in it 

Thanks you and God bless




__
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


make buildworld problem

2004-06-08 Thread Mantas Audickas
Hello there, 
i don't know where to ask.. i have tried in many irc channels, but no
one could help me..
so i'm trying to make buildworld, but there i get an error, always the
same.. i have tried in fresh installed os, with GENERIC kernel and with
my own, cvsup source and so on.. but nothing goes better..
I have read /usr/src/UPDATING.. and tried to follow rules.
I put error log file in http://migla.ktu.lt/~cerberis/error .. maybe you
can help me?

thanks for time..

p.s. some info about system:

22:29:35 / # uname -a
FreeBSD WD.kobra.ktu.lt 5.2.1-RELEASE-p8 FreeBSD 5.2.1-RELEASE-p8 #5:
Fri Jun  4 18:23:25 EEST 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/WD  i386

22:29:36 / # gcc --version
gcc (GCC) 3.3.3 [FreeBSD] 20031106


22:29:52 / # cat /etc/make.conf
# -- use.perl generated deltas -- #
# Created: Thu Apr 22 19:02:38 2004
# Setting to use base perl from ports:
PERL_VER=5.6.1
PERL_VERSION=5.6.1
PERL_ARCH=mach
NOPERL=yo
NO_PERL=yo
NO_PERL_WRAPPER=yo

22:30:14 / # echo $PATH
./:/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/root/bin:/stuff/bin:/usr/local/linux-ibm-jdk1.4.1/bin

22:33:36 / # cat /etc/supfile/source.sup
*default host=cvsup2.lt.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_5_2
*default delete use-rel-suffix

*default compress

src-all

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


  1   2   >