Re: Strange messages by fetchmail: Server certificate verification error

2008-11-11 Thread David Kelly
On Mon, Nov 10, 2008 at 10:52:41PM -0800, Jeremy Chadwick wrote:
> On Tue, Nov 11, 2008 at 07:18:31AM +0100, Polytropon wrote:
> 
> Secondly, this is a very, very common question on the fetchmail-users
> public mailing list (not at freebsd.org).  Google returns hundreds of
> results for "unable to get local issuer" fetchmail.

Perhaps now but it wasn't as common a couple of weeks ago when it bit
me.

> These messages mean that the POP3+SSL or IMAP+SSL server's SSL certs
> cannot be verified by fetchmail.  What you see are warnings, not
> errors, which is why fetching mail works regardless.  It's recommended
> you fix the warnings.

Yes, they were warnings that TLS failed and that it fell back to
unencrypted plain password.  :-(   Run "fetchmail -v" and see precisely
what the failure was and the solution.

> fetchmail-6.3.8_7, and a couple earlier versions (I would have to check
> to see when it was added), include security/ca_root_nss as a dependency.

I already had that but still had the problem.

> That port includes a list of common public CAs which certificates (on
> the server) can be verified against.

Running "fetchmail -v" I saw that I needed "Equifax Secure Global
eBusiness CA-1" which was apparently lacking from ca_root_nss.
Downloaded from Equifax (Safari on MacOS was happy with their cert) and
added them myself to /usr/local/certs. Some instructions said one must
run some sort of indexing utility against the certs. I found the utility
somewhere practically hidden and tried it. Generated files unlike
anything I had previously. Deleted extra and everything works anyway.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: hundred files to tar and untar

2008-11-10 Thread David Kelly
On Mon, Nov 10, 2008 at 08:10:36AM -0500, chloe K wrote:
> Hi 
>
>   I have hundred files to tar
>
>   How can I make tar the file but untar in different folder?
>
>   eg:
>
>   tar cvf html.tar /var/web/data/verion/cc.html
>
>   untar html.tar /var/web/data/root/cc.html
>
>   Thank you

RTFM. Specifically look at the -C option.

Or you could do it the simple way (note parenthesis, the cd only applies
within the parenthesis, when the command clompletes your shell is back
to the original directory):

(cd /var/web/data/verion/cc.html ; tar -cvf /html.tar * )
(cd /var/web/data/root/cc.html   ; tar -xvf /html.tar   )

The above does not store the path prefix in the tar archive, which is
perhaps the problem you were trying to solve?

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: DHCP release/renew lease - elegant solution?

2008-10-20 Thread David Kelly
On Mon, Oct 20, 2008 at 03:26:39PM +0200, Mel wrote:
> On Friday 17 October 2008 23:24:00 Nerius Landys wrote:
> 
> > I have an always-on FreeBSD box which is connected to the internet.
> > My ISP is some cable company and the IP address is determined via
> > DHCP; I used to always get the same IP address but recently the
> > address seems to be changing very frequently whenever I reboot the
> > machine.
> 
> If this is an always on machine, it makes no sense, unless the ISP is
> doing agressive accounting on there IP's:
> - give out a lease for x hours
> - but invalidate it anyway after  
> Doing a periodic dhclient -r would probably fix your problem, though
> the correct solution would be to complain with your ISP and switch to
> the competition if they don't get their stuff together.

It would help if Nerius would spend some time in the system logs and
dhclient man page to determine the state when his machine goes deaf. I
suspect firewall rules using static host IP address. Believe I have also
see this happen with natd, Once Upon A Time natd needed to be restarted
when the external IP address changed. Is possible for dhclient to do
this automatically.

As for a static IP address, many ISPs charge extra for this feature. One
ISP I deal with rotates our IP address every 18 to 48 hours and isn't
courteous enough to do it on a regular schedule or wait until off hours.
Means we have a couple of minutes of down time most every day when the
router recovers.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: New PATA Drive

2008-10-13 Thread David Kelly
On Mon, Oct 13, 2008 at 01:56:40PM -0700, Doug Hardie wrote:
> I am encountering an issue with a new 160 GB PATA drive.  Its being  
> installed on an old system (Pentium II).  The boot process never  
> really starts.  It gets in the BIOS to where it checks for drives and  
> hangs with the message searching for the primary drive on the  
> channel.  Normally I have that disabled because the boot drive is SCSI  
> but in that situation it just hangs and there are no messages.  This  
> drive is the only device on the channel and it is jumpered for Master.
> 
> I am suspecting that the issue is the drive ATA/100 is not falling  
> back to ATA/66/33 such that the motherboard can properly detect it.   
> Seagate does provide a utility to reset the drive back down from ATA/ 
> 100 but it requires that the boot get through to run the utility.  The  
> drive works fine in a Mac but the utility won't run there.  I can  
> continue to search for hardware that can boot with the drive attached  
> to run the utility or am I chasing my tail here?
> 
> Drive:  Seagate ST3160815A
> 
> Motherboard:  ASUS P2L97 - Manual says ATA/33 only.

I have had exactly that sort of problem with a 160G Seagate drive on old
hardware. And even if it did work it would have only recognized 128G due
to hardware or BIOS limitations.

In the end I swapped an old HD out of another machine that was happy
with the new drive.

A CPU and motherboard that does recognize your ATA100 drive costs less
than the HD. Perhaps its time to upgrade the MB?

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: uptime 2 years!

2008-10-09 Thread David Kelly

On Thu, Oct 09, 2008 at 05:11:13PM +0200, Zbigniew Szalbot wrote:


But the discussion that followed made me realize that uptime is not
everything. I also love to see huge uptimes on my servers but if
anything this discussion brought it home to me that more than anything
I need to take care of security updates which I do.


Yes, uptime isn't everything. But when security notices are published
its important to read the notice and question whether it immediately
applies to your situation.

In my case a kernel flaw which allows an otherwise valid user to elevate
authority is not terribly important on my 2 year machine. Something
which allows an unauthorized user into the machine is important. OTOH
while my kernel has been running 2 years I have wiped ports completely
several times and reinstalled. IIRC it takes 3 or 4 days to build X11
and KDE last time I tired. No longer has X11 or KDE.

--
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: uptime 2 years!

2008-10-09 Thread David Kelly
On Thu, Oct 09, 2008 at 07:07:31AM -0700, Chad Marshall wrote:
> 
>  Sorry to bother you...You know, you could just leave well enough  
> alone if you don't care. There goes any future donations from me and  
> my organization as this is more than the first untactful email I  
> recieved from this, I'll donate and use other platforms. Please don't  
> send any other emails

If your skin is that thin, then good riddance. But just what sort of
control over this email list do you expect of the "organization"? I
seriously doubt you contribute enough to pay for a full time list
moderator.

FreeBSD-Questions is not the right place to say, "2 years!",
FreeBSD-Chat is the right place, and that's exactly what I did several
days before this one appeared on Questions.

Meanwhile, you should know where the "off" switch is to unsubscribe as
somehow you managed to subscribe.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: silicon Graphics hardware

2008-09-21 Thread David Kelly


On Sep 21, 2008, at 2:23 PM, Erik Trulsson wrote:


FreeBSD does not (AFAIK) run on any Silicon Graphics machines.



During SGI's descent from greatness into obscurity they built Windows  
NT machines with Intel CPUs before embracing Linux. FreeBSD *should*  
run on those systems but IMO SGI performance and/or reliability  
doesn't justify their cost. OTOH if you are trying to resurrect free  
hardware then just "try it, nothing to lose." But at some point one  
must consider whether the cost of electricity to run old hardware is  
worth it.


--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.

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


Re: Google Chrome

2008-09-03 Thread David Kelly
On Wed, Sep 03, 2008 at 03:13:35PM +0100, RW wrote:
> 
> For most people that's already happened, except that it's Adobe-Flash
> WWW. Google's approach of open-source software, and open-extensions,
> leading to new standards, sounds a lot better to me.

What about this?
http://www.theregister.co.uk/2008/09/03/google_chrome_eula_sucks/

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: Streamripper 1.63.5 / FreeBSD7 - No artitst / track saved?

2008-08-19 Thread David Kelly


On Aug 19, 2008, at 3:25 AM, [EMAIL PROTECTED] wrote:

Hi, I really miss this feature of streamripper and have posted on  
the SR

forum relating to the problem.

In the meantime is there any trickery to get mplayer to dump  
individual

mp3 files rather than one long file?


I submitted a PR 6 months or a year ago. Somebody has to want the  
feature fixed and have the time and skills to debug before it will  
happen.


I haven't had the time. I did tcpdump the data stream enough to see  
the data is present. Found a version for MacOS X that the feature  
worked, which made fixing the FreeBSD version even less of a priority  
for me.


--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.



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


Re: [OT] Re: apple mac laptop.

2008-08-08 Thread David Kelly


On Aug 8, 2008, at 2:44 PM, Gary Kline wrote:


So besides the mac firewall [whatever], the laptop will be
behind my pfSense box.  So... --and to be completely honest, the
main reason for this >> $1000 laptop is *security*.  When she was
younger I wasn't that concerned is some kiddie cracker learned
that her favorite pet was a kitty.  Different now.


MacOS X comes with good old ipfw. Apple has added a 2nd firewall on  
top of that for 10.5, but apparently not pf.



Another question: can I install X11 without it bothering whatever
kind of mac front-end windowing comes with?  Be great if I could
admin this BSD-based computer from my office.



Yes, Apple provides X11 as an optional install on the included system  
DVD, but not preloaded from the factory.


While you are loading X11 I suggest you also install Xcode. Then again  
I think Xcode was pre-installed on my Mac Pro. Xcode is Apple's  
software development environment.


--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.

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


Re: joining 2 files together ?

2008-08-07 Thread David Kelly
On Thu, Aug 07, 2008 at 11:39:09AM -0400, David Gurvich wrote:
> You might try the old 'cat file1 file2 ... fileN'.

% cat file1 file2 ... fileN >> fileconcatenated

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: general questions about 7.0 and computer efficiency......

2008-08-05 Thread David Kelly


On Aug 5, 2008, at 3:58 PM, Wojciech Puchar wrote:


[EMAIL PROTECTED] {1004} uptime
1:30PM  up 670 days, 21:08, 2 users, load averages: 0.00, 0.00, 0.00

I found a 10G drive in the trash yesterday. Would one day be a nice
upgrade for the 4G drive in the above.


or add it, and use atacontrol detach/attach



You think I could replace the system drive that way?  :-)

--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.

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


Re: general questions about 7.0 and computer efficiency......

2008-08-05 Thread David Kelly
On Tue, Aug 05, 2008 at 11:56:12AM -0700, Gary Kline wrote:
> 
>   the datasheets for the 40G drives are lost lost.

Oh, come now! If you still know what make and model the drives are, the
datasheets are available online.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: general questions about 7.0 and computer efficiency......

2008-08-05 Thread David Kelly
On Tue, Aug 05, 2008 at 11:19:31AM -0700, Gary Kline wrote:
> 
>   I kep track on the load on my main server, and it is rarely above
>   0.20.  If the load is a poor metric of power use, what is
>   better?  (My new `Watt-o-Meter' is checking the power right now,
>   but I would like to know what drink the most juice: disk,RAM,
>   processor, OpSys?  Number of hit/hours? I want my upgrades to
>   be as cost-effective as possible, in other words. 

There isn't a good generic answer to your question. "It all depends" on
exactly what hardware you have. A good rule of thumb is 10W for each
disk drive, but some were much higher. Pull the data sheets for your
drives.

A Kill-A-Watt on the power cord is the best way to answer the total
question. My old ancient Dell Optiplex running 5.5 draws about 60 watts
including the APS 350CS UPS. Am not about to unplug it without good
reason:

[EMAIL PROTECTED] {1004} uptime
 1:30PM  up 670 days, 21:08, 2 users, load averages: 0.00, 0.00, 0.00

I found a 10G drive in the trash yesterday. Would one day be a nice
upgrade for the 4G drive in the above.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: Find what options a precompiled package uses

2008-08-01 Thread David Kelly
On Fri, Aug 01, 2008 at 10:33:27AM -0400, David Gurvich wrote:
> I don't want to know what options are set for building a port.
> I want to know what options were used in a previously built port that
> is either available as a tar file or installed on a system, preferably
> checking the tar file for the options.

If you got the precomipled port from official sources then that which is
in /usr/ports *is* how it was optioned, with the possible exception of
the X stuff.

If someone else precompiled the port, then ask them.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: Find what options a precompiled package uses

2008-08-01 Thread David Kelly
On Fri, Aug 01, 2008 at 10:15:49AM -0400, David Gurvich wrote:
> How does one find the options that a particular package was built with,
> without installing the package?  I don't see any such options in
> pkg_info and wondered if there were some other tool.

You could go to the port in /usr/ports/ and "make patch" which will do
everything right up to building the port. Then browse the sources to see
what has been selected. Sometimes its easier to see the options selected
by watching the port compile. A simple "make" will compile the port but
not install it. A potential problem is that if a build dependency is
missing it will try to build and install that first.

A build dependency is something needed to build the port but not needed
to run the port. Precompiled ports bypass the need for build
dependencies.

Or you could just study the Makefile and supporting files in /usr/ports/
to see what the defaults are for your particular precompiled port.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: help

2008-07-29 Thread David Kelly
On Tue, Jul 29, 2008 at 09:09:15AM +0300, John Dakos [ Enovation Technologies ] 
wrote:

[2224 lines deleted]

If you want help, start by learning that quoting entire email digests is
frowned upon.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: another beginner-type question.

2008-07-21 Thread David Kelly
On Mon, Jul 21, 2008 at 01:32:57PM -0700, Gary Kline wrote:
> On Mon, Jul 21, 2008 at 03:09:46PM -0500, David Kelly wrote:
> > On Mon, Jul 21, 2008 at 12:51:28PM -0700, Gary Kline wrote:
> > > 
> > > I've already tried
> > > 
> > > 1, / d
> > > 
> > > and a other such. zip.
> > 
> > % sed -e "1,//d" < junk.in > junk.out
> 
>   thanks, david.  i was havinf cofffee when i thought "sed!"
>   but was way off on the syntax.

Not so far off, just one more / and you were there.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: another beginner-type question.

2008-07-21 Thread David Kelly
On Mon, Jul 21, 2008 at 12:51:28PM -0700, Gary Kline wrote:
> 
> i could do this kwik and dirty, and type in/fix any anomalies later, but
> it would be nice to know.
> 
> I've already tried
> 
> 1, / d
> 
> and a other such. zip.

% sed -e "1,//d" < junk.in > junk.out

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: why is this script failing?

2008-07-15 Thread David Kelly


On Jul 15, 2008, at 4:50 PM, Gary Kline wrote:


On Tue, Jul 15, 2008 at 02:02:24PM -0500, David Kelly wrote:


Is probably best to postpone wildcard expansion until the last moment
because if any of the filenames contain spaces the space will  
probably
cause a break between arguments. The first time the wildcard  
expands to
a filename with a space the space will be escaped. But the second  
time

you use it that escape is lost. So its best to expand it in the place
its needed.


thanks for this clarification!  until yesterday, whe  you
mmentioned blanks[whitespace], as id a song title, i  hadn't
tought about songs like "Not Ready to Make Nice.ogg" e.g.
I am not sure why these players store the  song in wav format
without deleting the files, but when my limited /tmp is full,
certain aps fail mysteriously.  with a fwdozen more line of code
they could at least fail more gracefully.


You might consider adding something like

setenv  TMPDIR  /home/dkelly/tmp
setenv  TMP /home/dkelly/tmp

to your ~/.cshrc (or whatever appropriate for the shell you are  
using). This moves "/tmp" for cooperative applications into private  
space where you might have more room. Of course KDE is probably  
starting via a different route. Or maybe not.


--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.

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


Re: why is this script failing?

2008-07-15 Thread David Kelly
On Tue, Jul 15, 2008 at 11:35:00AM -0700, Gary Kline wrote:
> On Tue, Jul 15, 2008 at 07:37:02AM +0200, Wojciech Puchar wrote:
> > >
> > >   why is this script not finding them?
> > >
> > >
> > >wav=/tmp/kde-kline/\*wav\*
> > 
> > why you put \ before *
> 
>   to allow the shell to catch various formsof strings with "wav"
>   embedded.

I questioned that escape earlier.

Without the \ escape the variable ${wav} will contain all the files
matching the pattern. But with the escape it will literally be 
"/tmp/kde-kline/*wav*". Wildcard expansion doesn't occur until later
when Gary does something like this:

rm ${wav}

which is processed as if he had just now typed:

rm /tmp/kde-kline/*wav*

while without the escape it might appear like this:

rm /tmp/kde-kline/file1.wav /tmp/kde-kline/file2.wav

Is probably best to postpone wildcard expansion until the last moment
because if any of the filenames contain spaces the space will probably
cause a break between arguments. The first time the wildcard expands to
a filename with a space the space will be escaped. But the second time
you use it that escape is lost. So its best to expand it in the place
its needed.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: why is this script failing?

2008-07-14 Thread David Kelly
On Mon, Jul 14, 2008 at 02:56:27PM -0700, Gary Kline wrote:
> 
>   But as you point out, the followingisthat much more effective.
>   or at least lesss typing.
> 
> > 
> > But why do it the hard way?
> > 
> > #!/bin/sh
> > /bin/rm /tmp/kde-kline/*wav > /dev/null 2>&1
> 
>   with this,
> > 
> > /bin/rm /tmp/kde-kline/*log > /dev/null 2>&1

The other advantage of the simple version above is that it handles
spaces in the file name. The others need a bit more care to make sure
spaces are quoted else they will separate arguments in the shell
interpreter.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: why is this script failing?

2008-07-14 Thread David Kelly
On Mon, Jul 14, 2008 at 01:12:47PM -0700, Gary Kline wrote:
> 
>   why is this script not finding them?
> 
> 
> wav=/tmp/kde-kline/\*wav\*
> 
> if [ -s $wav ]

As others have pointed out because if "/tmp/kde-kline/file1.wav
/tmp/kde-kline/file2.wav" is found the -s will fail because $wav isn't a
single file. Or it could be that your escaped wildcards are staying
escaped.

I use something like this to move files out of a Maildir:

#!/bin/sh
for i in /tmp/kde-kline/*wav
do
# if nothing or nonsense was found then $i won't exist
if [ -e $i ]
then
echo "Found " $i
/bin/rm $i
fi
done

But why do it the hard way?

#!/bin/sh
/bin/rm /tmp/kde-kline/*wav > /dev/null 2>&1


-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: Simple Text Mail Setup

2008-06-23 Thread David Kelly
On Mon, Jun 23, 2008 at 10:45:39AM -0700, Rem Roberti wrote:
> > 
> > No.  What you really want to do is set smart_host to the outgoing
> > mail server provided by your ISP.
> 
> Please forgive my ignorance here, but how does one accomplish that?

Google "sendmail smart_host".

I started using postfix many years ago at the recommendation of a friend
who hosts really big mail systems on FreeBSD. The biggest immediate
advantage was that I felt the configuration files were easier to read
and understand.

As I posted earlier, set "relayhost =" whatever you would put in a
conventional email app as the SMTP delivery point and then postfix will
send everything there that doesn't belong here.

In all probability that is the only edit you will need for postfix.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: Simple Text Mail Setup

2008-06-23 Thread David Kelly
On Mon, Jun 23, 2008 at 01:30:33PM -0400, Bill Moran wrote:
> In response to FT <[EMAIL PROTECTED]>:
> 
> No.  What you really want to do is set smart_host to the outgoing
> mail server provided by your ISP.

Yes. Use exactly the same delivery path as a "normal" PC/Mac email
client would use. Deliver to comcast and let them figure out how to
deliver, don't be too smart and try to deliver direct yourself.

In postfix its the "relayhost" variable in main.cf. This email was
brought to you with mutt and postfix, via smtp.knology.net.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: clone a drive, no raid involved

2008-06-19 Thread David Kelly
On Thu, Jun 19, 2008 at 12:08:34PM -0400, Brad Mettee wrote:
> I'm setting up a pair of machines with almost identical OS config, and
> completely identical hardware. One is a primary DNS server, the other
> is secondary. NS1 will also serve web, NS2 will be a mail server. Both
> are low volume/loads.
> 
> It looks like I can use DD to copy an entire drive, but it's a 500G
> drive and that's going to take a really long time (especially since
> it's brand new with no data besides base OS).

Yes dd(1) works, especially if the 2nd drive is equal size or larger
than the original.

> My question: Is there a better way to duplicate a drive including boot
> info?

Mount both drives on same machine, right? Then move one to the other?

I think you will find its not all that hard to build the 2nd machine
from install CDs. But it is a useful learning exercise to learn how to
clone a drive before all hell breaks loose and the whole world is
depending on you.

Study the man page for bsdlabel(8) and reproduce the configuration on
your 2nd drive that you see on your first.

Write the new filesystems with newfs(8).

Then for each filesystem (only showing / below):

mount /dev/your-2nd-drive's-root /mnt
    dump -0aL -f - / | ( cd /mnt/ ; restore -r )

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: Stripe sizes with gstripe

2008-06-13 Thread David Kelly
On Fri, Jun 13, 2008 at 09:08:48AM +0200, Wojciech Puchar wrote:
> >>Does gstripe read an entire stripe at a time?  If so, why do that instead 
> >>of
> >>just reading a few requested blocks?  If not, then is there any advantage
> >>to large stripes?
> >
> >Apparently it won't read anything larger than your stripe size which 
> >defaults to a miserable 4k.
> 
> 
> depending from what's needed, but unless i need just huge linear transfer, 
> i set stripe size to something huge, like 256MB.
> 
> then single read is rarely split on 2 disks, while multiple reads have 
> good chances to touch different drives

Come to think of it I didn't try setting the stripe size larger than the
ATA max transaction size of 128k.

Still, I don't understand what is going on when I use md5(1) on a
gigabyte file hosted on a gstripe partition with 128k stripes that
"systat -v" reports transactions are usually between 42k and 43k each?

On a non-striped filesystem the same operation runs 126k to 127k
transfers.

Transfer bandwidth seems to be limited by the number of transactions per
second more than the size of the transaction.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: Stripe sizes with gstripe

2008-06-12 Thread David Kelly


On Jun 12, 2008, at 3:21 PM, Kirk Strauser wrote:

Does gstripe read an entire stripe at a time?  If so, why do that  
instead of
just reading a few requested blocks?  If not, then is there any  
advantage

to large stripes?


Apparently it won't read anything larger than your stripe size which  
defaults to a miserable 4k.


Doesn't appear the driver collects multiple pending reads and merges  
them into one transaction. Don't know if ATA/SATA allows that or not,  
believe it was called "scatter/gather" in SCSI.


Built a gstripe volume a while back and played with various stripe  
sizes trying to maximize KB/t as shown in "systat -v" during massive  
file read/writes. A stripe size of 131072 (128k bytes) was the best I  
could get at about 43 KB/t. About 25 MB/sec each on two drives that  
are capable of 4x that on a Mac Pro (about 55 MB/sec single drive on  
inner tracks to 100 MB/sec on outer, reading with md5).


Anyway, throughput was terrible with the default 4k stripe.

If there is a tuning knob that I have missed, would appreciate being  
told what.


IIRC vinum's default stripe was about 87.5kB and "systat -v" reported  
transactions of that size.


--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.

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


Re: Duplex printer advice

2008-06-04 Thread David Kelly


On Jun 4, 2008, at 4:54 AM, Wojciech Puchar wrote:


Did you know that Ghostscript is used as the Postscript engine
in a number of printers?


very possible as it's one of the best renderer available - for free.


There was a PBS computer show interviewing historically important  
people. Believe it was the first episode interviewing Andy Hertzfeld.  
When the discussion rolled around to open source software Andy said  
someone he knew was making a very good living porting and supporting  
Ghostscript to embedded printers. Possibly one of the principals  
behind ghostscript.


--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.

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


Re: Duplex printer advice

2008-06-04 Thread David Kelly


On Jun 4, 2008, at 4:46 AM, Ted Mittelstaedt wrote:


What part of:

"...there was no case i found postscript to print faster...You won't  
on an

HP printer, at least not an older one..."

is not understandable?

Let me repeat - on most HP printers PostScript IS SLOWER BECAUSE
HP DESIGNED IT THAT WAY.  It is NOT slower because of some inherent
issue with PostScript itself.

Did you know that Ghostscript is used as the Postscript engine
in a number of printers?


Only in "postscript compatible" printers such as the Brother HL-5250DN.

When Genuine Postscript is included it is ported to the printer by  
Adobe. Adobe does not allow it to be crippled as conspiracy-theory Ted  
claims. All genuine Postscript printers ship with similar CPUs,  
originally Motorola 68000 family, for this very reason.


--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.

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


Re: Duplex printer advice

2008-06-02 Thread David Kelly

On Mon, Jun 02, 2008 at 02:03:30PM -0700, Ted Mittelstaedt wrote:


Inkjet color printing is NEVER cheaper.

Color laser is what you want.  There are some really good inexpensive
units out there.  I recall reading the inexpensieve Samsung color
laser even speaks Postscript.

The only time inkjet makes sense is if your printing needs for your
lifetime consist of a single ream of paper.


Or if you want photo quality.


My HP Laserjet 4+ at home is the oldest operating piece of computer
equipment I have.  And I fully expect it to last another decade, and
once it dies, I have another one in the basement that I picked up for
$50 - WITH a duplexer.


We have one at work that if it was up to me I too would sell it for $50
if anyone offered. Its a networked color HP 4M something that prints 11"
wide. Letter prints sideways, and 11x17 prints lengthwise.

Its slower than Christmas when printing photos. Maybe 2 pages per hour.

We keep it because 1) its paid for, 2) we have space for it, and 3) it
prints very pretty color text for proposals.

We have a networked inkjet HP all-in-one sitting next to the laser for
when photos are more important. And a Kyocera all-in-one laser for B&W.


The reason the printer mfgrs love inkjets is that not only is the cost
per page far higher, necessitating frequent ink cartridge changes, but
the ink cartridges themselves dry up and stop working, and the
printers jam, strip gears, and stop working.  Thus you are able to
sell the person printer after printer.


All of the above applies to lasers.


If you look at laserjet sales, the only movement on the printers


Laserjet is an HP trademark.


When I visit Fry's every once in a while and overhear people
discussing what printer to buy, I love to drag them over to the
salesguy's little kiosk and point out the HP Laserjet 8000n behind the
counter, which occupies just about all free space in the kiosk.


An HP8000 (and 4000, 4050, 5000) are excellent industrial grade laser
printers. HP makes very few industrial grade inkjets, generally not
found at Frys. HP also makes cheap-as-dirt lasers such as the HP-1020.


I ask them, why would Fry's stick this giant printer behind the
counter, and suck up all free space if a small "personal" printer
occuping so much less space was as good of a deal?


If anyone working the Frys showroom floor was capable of answering that
question then they are grossly over qualified.

--
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: Duplex printer advice

2008-06-01 Thread David Kelly


On Jun 1, 2008, at 5:49 PM, Kurt Buff wrote:

As a matter of not going mad - what driver are you using for this  
printer?



Search the list archives, Gary Kline is the latest to have worked out  
those specific details. I usually use apsfilter but haven't  
reinstalled it since the wipe and reinstall of my ports after  
upgrading to 7.0-stable. Most of my 12,000 pages were printed from  
MacOS X.


At another location I have a FreeBSD 5.4 or 5.5 machine with something  
like 600 days of uptime which uses apsfilter, ghostscript via hpdj  
driver, to the PCL-5 network interface on a Kyocera printer.  
Ironically the Kyocera has a postscript interface but we never figured  
out how/who was turning it off.


Know the hooks are there in the print system to enable duplex but  
haven't made much use of them from FreeBSD. Most all of my 12,000  
pages were duplex.


--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.

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


Re: Duplex printer advice

2008-06-01 Thread David Kelly


On Jun 1, 2008, at 5:23 PM, Ted Mittelstaedt wrote:


Just one warning about these.

The toner empty light blinks use the same pattern as the
fuser fail.  And, unlike the HP units, you usually can't
"shake down" the cartridge to get an extra hundred or
so pages out of it.  Don't jump to conclusions that the
fuser is bad when it's out of toner.



An irony of this printer is a new drum is $180 MSRP but refurbished  
5250's or 5240's are about $100.


If ever my drum needs replacement I'll buy a refurbished printer.

The 5240 is the same thing but without network, duplex, or postscript.  
So when buying for spare parts its just as good as a 5250.


--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.

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


Re: Duplex printer advice

2008-06-01 Thread David Kelly


On May 31, 2008, at 6:34 PM, Derek Ragona wrote:


At 04:12 PM 5/31/2008, Kurt Buff wrote:

All,

I'm looking to replace my current printer - a Dell 1700n - because I
can't make it work with FreeBSD/Linux.

To replace it, I'd like to get a duplex printer, as I really hate to
waste paper. Does anyone have good experience with one that isn't
terribly expensive (expensive to me means more than US$500) and that
works with with FreeBSD? Even better if it has Ethernet.

I'm only finding (on ostg.pricegrabber.com) the Lexmark Optra T622DN
and T522DN, but don't know much about them.

Anyone care to share?

Kurt


My 2 cents is I'd looks for a printer with a built-in network  
interface and that has postscript and pcl emulations.  In addition  
look at the replacement toner cost and figure out the cost of  
ownership across 3-5 years.


I would look at lexmark, and samsung.  Lexmark have higher duty  
cycles (pages per month) and take larger toner cartidges.  The  
samsung's make nice work group low duty cycle printers.


Lexmark and Dell are infamous for expensive toner-lock-ins.

We had this discussion months ago where I recommended a Brother  
HL-5250DN. I have about 12,000 trouble free pages on mine, just don't  
bother trying to print envelopes.


Has ethernet, duplex, postscript emulation, PCL-6, just about  
everything but a paper tray large enough to hold a full ream. Multiple  
paper trays are an available but expensive and rare option.


Readily available from Staples and other places for $250. Refurbished  
units occasionally appear for $100. The usual 3rd party toner places  
have refills for under $20 that I've found are good for about 6,000  
dense pages.


$187: http://bensbargains.net/deal/66407/

Staples recently (no longer) had refurbished Brother MFC-8660DN on  
sale for $200. Appears to be the same printer and features plus  
scanner with paper feed, and fax.


--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.

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


Re: Stumped:: web HTML. Caution, may be OT.

2008-05-30 Thread David Kelly
On Fri, May 30, 2008 at 10:52:31AM -0400, Bob Johnson wrote:
> 
> I suspect that using an editor that _correctly_ highlights HTML code
> would solve most of your problems.

Yes, that is why I suggested tidy in addition to the other online
validators. If one's editor tool doesn't help, tidy is close at hand.
Can standardize the coding format. Can help fix errors. Can point out
errors.

> To me, a content management system only makes sense for a site that is
> either large, or has multiple authors. If you update your site
> frequently, a WYSIWYG HTML editor would be helpful and should have a
> very small learning curve. I think others have already suggested a
> few.

I really don't like the output of the WYSIWYG HTML editors I've seen. A
real text editor with HTML syntax parser for assistance is probably
best for anyone willing to read HTML.

I think CVS or Subversion /usr/ports/devel/subversion is among the best
"content management systems" available.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: Stumped:: web HTML. Caution, may be OT.

2008-05-29 Thread David Kelly
On Wed, May 28, 2008 at 11:57:35PM -0700, Gary Kline wrote:
>   Several weeks ago a friend asked why my www.thought.org page 
>   was so hard to read.  She said that part of my text was black
>   on the deep-blue bg on my RHS.  I stopped and checked with
>   firefox; things looked fine.  I've done all markup by hand since
>   '94, very carefully, with only browsers in the ports tree--
>   mozilla, firefox, a couple others.

Others have suggested online validators. /usr/ports/www/tidy is another
that can check your code, even attempt repairs. Can also be used to
standardize the coding format much like GNU indent for C code. Comes
built-in to BBEdit on Mac where I do most of my HTML authoring.

Eyeballing your code the first thing that stood out was:

BACKGROUND="/usr/local/www/data/Graphics/paper0.jpg"

Don't think that will work for anyone other than yourself, and only when
you are on the server itself. Unless one has a file with that exact same
name and path.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: Lock down the all-staff email list? sendmail, alias, majordomo?

2008-05-19 Thread David Kelly
On Mon, May 19, 2008 at 03:23:30PM +, brad davison wrote:
> 
> Our company has a sendmail server 8.13.8 running on FBSD 6.2 with
> procmail.  We currently have an alias set up for our all-staff email
> (we only have about 200 users).  Someone recently sent out an email to
> the all-staff that someone didn't like, so now I have to restrict who
> can send to it.

If one is willing to consider replacing sendmail with postfix it appears
there may be several ways to restrict who may send messages to an
address. "man 5 access" and "man 5 header_checks" are my first guesses.

Header_checks seems to run before the message is queued. If there is a
match you can accept, reject, redirect, or many other things.

OTOH if only a few people are allowed to send to all-staff then maybe it
would be best to manually maintain a mail list in their personal address
books?

Another way to deal with it would be to rewrite the all-staff header
with a bogus undeliverable address so that the minions don't know what
the single whole world address is? So that if they reply it doesn't
deliver, or it only delivers to a few select people? Only the privileged
few know the real-all-staff email address.

I know, its "security by obscurity" but when absolute security is not
needed and all that is needed is protection from the ignorant its often
plenty good enough.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: time drift

2008-05-15 Thread David Kelly
On Thu, May 15, 2008 at 08:57:59PM +0200, Volker Jahns wrote:
> FreeBSD 6.2 running on X86 hardware (FSC) shows a remarkable time
> drift
> 
> running ntpdate every half hour shows that the system looses about 10-14 sec 
> each time.
> 15 May 10:06:48 ntpdate[7200]: step time server 192.53.103.108 offset 
> -13.799602 sec
> 15 May 10:36:48 ntpdate[7515]: step time server 192.53.103.108 offset 
> -12.813941 sec
> 15 May 11:06:48 ntpdate[7879]: step time server 192.53.103.108 offset 
> -13.651921 sec
> 15 May 11:36:50 ntpdate[8079]: step time server 192.53.103.108 offset 
> -11.109298 sec
> 15 May 12:06:50 ntpdate[8289]: step time server 192.53.103.108 offset 
> -11.836499 sec

[...]

> What would be your suspicion on the large time drift of the FreeBSD
> 6.2 system?

Its PC commodity-grade. Not all that unusual even for stuff sold
claiming to be a "server". This is in no small part why ntpd exists.

nptd calculates a correction coefficient and (under FreeBSD) stores it
in /var/db/ntpd.drift for use on next start so as to more quickly
establish a lock.

So in short ntpd calibrates your clock in order to minimize the
corrections required. Is The Right Thing To Do.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: download source code on Linux

2008-05-14 Thread David Kelly
On Wed, May 14, 2008 at 11:56:06AM -0500, David Kelly wrote:
> On Wed, May 14, 2008 at 10:08:08PM +0530, Onkar wrote:
> > But I am finding no files with extension .c or .h
> > [image: 
> > File:]generic.aa<ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/6.1-RELEASE/kernels/generic.aa>
> > 1392
> [...]
> > what are these ??
> 
> Tarballs.
> 
> Grab ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/i386/6.3-RELEASE/src/
> then to get the files out of, say, scontrib, do something like this:
> 
> % cat scontrib.* | tar -xvzf -

Chuck Swiger's post caused me to relook at mine. There are .inf files in
the mix which will cause tar a bit of heartache above. This would be
better:

% cat scontrib.[ab]* | tar -xvzf -

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: download source code on Linux

2008-05-14 Thread David Kelly
On Wed, May 14, 2008 at 10:08:08PM +0530, Onkar wrote:
> But I am finding no files with extension .c or .h
> [image: 
> File:]generic.aa<ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/6.1-RELEASE/kernels/generic.aa>
> 1392
[...]
> what are these ??

Tarballs.

Grab ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/i386/6.3-RELEASE/src/
then to get the files out of, say, scontrib, do something like this:

% cat scontrib.* | tar -xvzf -

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: [SSHd] Increasing wait time?

2008-05-06 Thread David Kelly
On Tue, May 06, 2008 at 09:31:15AM -0800, Beech Rintoul wrote:
> >
> > Is there a way to configure SSHd, so that the wait time between
> > login attempts increases after X failed tries?
> 
> Not that I know of. You should look into denyhosts (in the ports) it
> works well and even has a RBL feature to block some of these script
> kiddies proactively. Unfortunately, these attempts have become a fact
> of life. I probably get 20 - 30 attempts a day between my various
> servers.

Depending on how you use ssh from external systems you could add
firewall rules to disallow all but known sources.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: Any Known Issues when using both RS-232 and Native Serial Ports?

2008-04-22 Thread David Kelly
On Tue, Apr 22, 2008 at 03:41:54PM -0500, Martin McCormick wrote:
> We have a FreeBSD6.2 system capturing serial data on /dev/ttyd0.
> /dev/ttyd1 is currently set up for serial console use and we may
> want to add a third serial port to run yet another serial data
> capture engine.
> 
>   Since receiving serial data is far more problematic than
> transmitting it, can anybody think of any particular problem one
> might encounter if both the data acquisition ports happened to
> be trying to receive data simultaneously?
> 
>   The serial console port is not really an issue because
> it will be rarely ever used.

Problems with two lousy little serial ports running at the same time
under FreeBSD?  Heck no! Just use something better than a 16 MHz 386SX
with 640K and you'll be fine. BTDT, and even that little system had no
problems with serial I/O.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: Can't log in as root on new 7.0 install

2008-04-14 Thread David Kelly
On Mon, Apr 14, 2008 at 01:16:45PM -0400, Jerry McAllister wrote:
> 
> Well, the two things I would guess are:  there is a syntax error in
> adding your regular id to the wheel group and you are typing in the
> root password incorrectly.

In ancient times I had IRIX lock out a user because there was a space at
the end of their entry in /etc/passwd. Not hardly believing it myself,
made a link copy of csh with a space at the end and the user could
login. Fixed /etc/passwd, deleted the link, and placed a trouble report
with SGI.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: How to instal my NIC Card?

2008-04-04 Thread David Kelly
On Fri, Apr 04, 2008 at 08:01:20AM -0400, Steven Friedrich wrote:
> 
> First, you need to check that the card was detected during boot.
> as root, do "dmesg | grep em0"

As root? That is really necessary?

In my experience dmesg only works a short time after boot. A day or so
later the dmesg buffer gets cleared. The safest thing is to read
/var/run/dmesg.boot, a file stashed away for exactly this sort of future
reference.

> This will show a few lines beginning with em0: if it was detected.
> You didn't say what kernel config you are running. If you haven't
> created a custom kernel, then you're running GENERIC, which supports
> the Intel card you're trying to use.
> 
> If it was NOT detected, then show us your kernel config.
> If you don't know what that is, as any user, do "uname -a" and copy
> the output here.

As root, "kldload if_em" should load and initialize the driver if its
not built into the kernel. If this works then rather than build a new
kernel one can add if_em_load="YES" to /boot/loader.conf

> If it DID detect it during boot, then grep em0 /etc/rc.conf
> Hope this helps

/etc/rc.conf is where one puts the startup parameters for em0 but there
is no point trying to configure em0 until em0 is listed by ifconfig. If
sysinstall didn't see em0 then there wouldn't be anything for em0 in
rc.conf.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: Laptop advice

2008-03-27 Thread David Kelly
On Thu, Mar 27, 2008 at 01:53:57PM -0400, Joe Demeny wrote:
> 
> In the end, the best advice seems to be indeed to take the FreeBSD CD
> to the brick-and-mortar store...

Or you could purchase an Apple Mac Book and have a commercially
supported Unix pre-installed. Guess that would take all the "fun" out of
it?

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: Mac osX drivers

2008-03-24 Thread David Kelly
On Mon, Mar 24, 2008 at 02:26:23PM +1000, Da Rock wrote:
> I know I keep asking about drivers, but what about Mac drivers? I
> understand that Mac osX is based fairly well on BSD, so would the
> drivers be portable?

Drivers for doing what?

> This is all on a current project I'm working on...

Go study the available Darwin code from 
http://www.opensource.apple.com/darwinsource/

I believe you will discover many of the drivers in MacOS X came from
FreeBSD. That doesn't mean changes were not needed, it means the
developers thought it easier to make the changes rather than write from
scratch. Many of the key developers came from FreeBSD.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: Subversion and FreeBSD permission problems

2008-03-23 Thread David Kelly


On Mar 23, 2008, at 11:01 AM, Darrell Blake wrote:

If I move into a temp directory and do "svn checkout
file:///usr/local/svn/repository/TestProject" it works fine but if I
do "svn svn://127.0.0.1/TestProject" I get an error stating "svn:
Can't connect to host '127.0.0.1': Connection refused".

Also, if I try and use TortoiseSVN to browse the repository externally
I get an error stating "Error * Can't connect to host '192.168.0.10':
No connection could be made because the  target machine actively
refused it."



I suggest using svn+ssh: rather than svn:

Then so long as you can ssh into the machine you can do svn.

--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.

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


Re: more on FreeBSD and Brother HL-5250-DN

2008-03-20 Thread David Kelly
On Thu, Mar 20, 2008 at 10:31:27AM -0700, Gary Kline wrote:
> 
>   Very late last night it occurred to me that the reason no
>   /dev/lpt0 was that my parallel cable isn't plugged into my new
>   printer.  The test pages work via the cat5 <-> switch; this
>   HTML helped me configure the 5250.  When I another geek over 
>   here to plug things together, I'll be able to test the
>   /etc/printcap.   Here it is, as auto-installed by dpkg -i::
> 
> HL5250DN:\
> :mx=0:\
> :sd=/var/spool/lpd/HL5250DN:\
> :sh:\
> :lp=/dev/usb/lp0:\
> :if=/usr/local/Brother/lpd/filterHL5250DN:

I forgot, is there a reason you are not using apsfilter out of ports?
Stick with apsfilter and its lengthy guided text-based config and you
will have a working printer in short order.

Have almost never used my 5250 from FreeBSD so its not currently
configured and I'm no where near it at the moment. But after fussing
with other "solutions" including CUPS, I keep coming back to good old
simple apsfilter.

To print via network lpd style change your lp line to :lp=:\

Specify the remote system by IP address or name something like this:
:rm=kyocera.local:\

And specify the printer queue on rm that one is to print:
:rp=lp:\

You can list the printer name in /etc/hosts if its difficult to add to
DNS proper. Or just put the numbers in rm= above. I have a caching bind
running above where I've added a .local domain for internal machines.

The main thing I use the Kyocera printer (above) is to print man pages.
"man -t man | lp". Very pretty and impressive man pages.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: OT: brother hl-5250dn here.

2008-03-19 Thread David Kelly
On Wed, Mar 19, 2008 at 11:54:43AM -0700, Gary Kline wrote:
> 
>   Ihave my new printer here, hooked into my hub/switch.  What next?
>   How to configure it to get a DHCP lease.  I just rebooted my
>   pfSense firewall and do not see any new leases!

Out of the box my HL-5250DN got a lease from dhcpd on my FreeBSD 6.2
system.

The 5250 network manual says if it can't find a DHCP server then it will
pick an address in the range of 169.254.1.0 to 169.254.254.255. If for
some reason APIPA is disabled it will select 192.0.0.192.

Modern hub/switches are wonderful for their purchase price and value
received, but often have problems of their own. Often helps to power
cycle a switch when moving connectors around

If pfSense is configured to issue IP addresses via DHCP and isn't
issuing one to the printer, then suspect something else issued an IP
address. If there is any possible path between your printer and cable or
DSL modem then suspect the modem issued (or refused to issue) and IP
address.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: bsdlabel, now no boot

2008-03-19 Thread David Kelly
On Wed, Mar 19, 2008 at 10:31:18AM -0400, Walker wrote:
> On Tue, Mar 18, 2008 at 10:26 PM, David Kelly <[EMAIL PROTECTED]> wrote:
> >
> >  System is now booting ad0 by starting at ad4 and hopping to ad6,
> >  then to ad0.
> 
> Yes, you've discovered a "feature" of the 400SC (I have 3).  If you
> have PATA and SATA disks installed:
> 
> SATA disabled in BIOS -> PATA boots
> SATA enabled in BIOS -> SATA boots, and stops if it can't (PATA never
> attempted)
> 
> The best work around is to install a boot loader on your SATA HD to
> point to the PATA HD.

Yes, thats what is running now. Sadly I've already recycled the two SATA
drives that came out and don't remember how they were configured that
the PATA drive booted. Know I have used boot0cfg(8) in the past but
don't recall if it was on this system. Using boot0cfg one can set the
timeout to 0 so that the drive immediately hops to the next.

However I'm thinking the Dell BIOS ignores the SATA drives during boot
if the MBR is zeroed. With virgin SATA drives installed and enabled but
not yet labeled the system booted off the PATA drive.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: bsdlabel, now no boot

2008-03-18 Thread David Kelly


On Mar 18, 2008, at 1:45 PM, David Kelly wrote:

Cutting to the chase, my Windows-style partition table is sane (does  
the FreeBSD "partition" need to be marked bootable?), and my BSD  
slice table appears to be reasonable and sane. But the drive is not  
bootable.


"fdisk -B ad0" didn't hurt nor help. No error message.
"fdisk -Bi ad0" didn't hurt nor help. No error message.
"bsdlabel -B ad0s1" didn't hurt nor help. No error message.

The only error messages have been in sysinstall running from the 6.1  
minimal installation.


Is probably a good time for me to wipe this drive and install 7.0,  
but now that I have reached that conclusion and have nothing else to  
loose I'd like to learn how to recover from this situation.



"nothing else to *lose*", silly me.

Having had a fresh attack at my broken system tonight I discovered the  
original PATA drive boots if I disable the SATA drives in BIOS. What  
appears to be happening is that no matter the BIOS is told to boot  
"IDE" (and doesn't have a SATA boot option) once the SATA drives have  
enough formatting to look bootable to BIOS, the BIOS boots the ad4  
SATA drive rather than the ad0 PIDE drive.  :-(


I was trying to geom stripe ad4 and ad6, not ad4s1 and ad6s1. Made my  
gstripe with ad4s1 and ad6s1 so that the boot MBR stays untouched.


System is now booting ad0 by starting at ad4 and hopping to ad6, then  
to ad0.


--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.

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


Re: Warnings after overclock

2008-03-18 Thread David Kelly


On Mar 18, 2008, at 3:32 PM, Ghirai wrote:


Hello list,

I just overclocked my CPU a bit for the sake of it,
from 2.3GHz to ~2.8GHz.


You know that you should create a new message and address it to the  
list rather than edit a reply to another thread the way you sent the  
above?


No matter how hard you edit the following headers (In-Reply-To: and  
References:) remained in your message hidden from casual view. For  
those who read this list in collapsed threaded view would never have  
seen your message under "bsdlabel, now no boot" unless they were  
reading that thread.


Date: Tue, 18 Mar 2008 22:32:03 +0200
From: Ghirai <[EMAIL PROTECTED]>
To: freebsd-questions@freebsd.org
Message-Id: <[EMAIL PROTECTED]>
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>

--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.

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


bsdlabel, now no boot

2008-03-18 Thread David Kelly
I was playing last night on my home FreeBSD system which is the only  
machine there that has internet access. And did something wrong.


Had added two new SATA HD's and was playing with gstripe, adjusting  
the stripe size. Default 4k stripe resulted in a filesystem that runs  
at only 10 MB/sec or so.


Had run gstripe, bsdlabel, and newfs, 4 or 5 times with different  
stripe sizes when suddenly the old was gone and I couldn't create a  
new. Nothing in /dev/stripe/. This is FreeBSD 6.2-STABLE circa July  
2007. "OK, something is messed up, lets reboot." Didn't do the usual  
"F1 FreeBSD" boot, fell back to a 0:ad(0,a)/boot/ prompt asking what  
to boot. I didn't *think* I was playing with the disk label on the  
PATA drive where FreeBSD is supposed to boot but clearly I've hosed  
something. Machine rebooted without problems earlier when the new  
drives were installed.


Booted the 6.1-RELEASE CD from which this system was originally  
installed. Fiddled with the FDISK and labeler sections and didn't do  
any good. Didn't do any harm. My original partition table is still  
there along with the BSD slices.


Wasn't getting anywhere with the CD so I installed a minimal binary  
6.1 on one of the SATA drives (ad4s1). While I was there I set mount  
points for the PATA drive ad0s1 under /old/. Told it to write the  
FreeBSD boot manager and everything. This works. Still can't boot the  
PATA drive. But have mounted the old partitions. Then umounted and ran  
"dump -0af" for each old filesystem into dump images.


The boot manager is back (at least on the SATA drive) as F1 for  
FreeBSD and F5 for another drive, but F5 beeps and doesn't change.


Think I have tried all the boot options in fdisk and bsdlabel, nothing  
seems to work.


Then tried sysinstall from the minimal 6.1 and used the "Write" option  
under fdisk to flush my update right now to disk and received an error  
that it could not write the disk. Nothing was mounted from that drive.  
Got same sort of error in the slice editor.


I don't think my Dell PowerEdge 400SC has any sort of protection for  
the MBR in BIOS. Will look again tonight.


Noticed the PATA drive was painfully slow under 6.1. Know I had DMA  
enabled manually in loader.conf under 6.2 and wondering if FreeBSD can  
write sector 0 via DMA but BIOS is blocking it if DMA is not used?


Cutting to the chase, my Windows-style partition table is sane (does  
the FreeBSD "partition" need to be marked bootable?), and my BSD slice  
table appears to be reasonable and sane. But the drive is not bootable.


"fdisk -B ad0" didn't hurt nor help. No error message.
"fdisk -Bi ad0" didn't hurt nor help. No error message.
"bsdlabel -B ad0s1" didn't hurt nor help. No error message.

The only error messages have been in sysinstall running from the 6.1  
minimal installation.


Is probably a good time for me to wipe this drive and install 7.0, but  
now that I have reached that conclusion and have nothing else to loose  
I'd like to learn how to recover from this situation.


--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.



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


Re: Urgent: filesystem "full", though space is available

2008-03-17 Thread David Kelly
On Mon, Mar 17, 2008 at 06:11:47PM +0100, Erwan David wrote:
> 
> I use lsof to get the list of removed files still open (lsof +L1,
> useful after a port upgrade to check wether all upgraded daemons
> indeed restarted). It seems it's not possible with fstat.

... which is exactly what Jennifer needs at this moment (if she has room
to install lsof). She has removed files yet not freed space and needs a
tool to figure out who/what has these files open.

Early in this thread I recommended a reboot. What, 4 hours ago and the
server still ailing? A 5 minute reboot might have been a minor
inconvenience in retrospect.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: Urgent: filesystem "full", though space is available

2008-03-17 Thread David Kelly
On Mon, Mar 17, 2008 at 08:34:18AM -0700, Dr. Jennifer Nussbaum wrote:
> 
> Hi, Ive got a big problem now on a production server.
> 
> When i do various things, i am getting "write failed, file system full"
> messages all over the place. Ive gone through and deleted
> things i can, and i should have the space now, but its just
> not available:

Deleted files only disappear from the directory listings. File space is
not freed until the last process closes the open file.

A programming "trick" is to create/open temporary file(s) when program
is launched then unlink (delete) the file(s) while they are still open.
As long as one has an open file handle the files are perfectly usable.
When program terminates normally or by exception, the OS cleans up and
no mess is left.

> $ df -m
> Filesystem  1M-blocks Used Avail Capacity  Mounted on
> /dev/da0s1a  2015 1858-3   100%/
> /dev/da0s1e 14061 9002  393370%/usr/local
> procfs  00 0   100%/proc
> 
> I dont know what kind of math lets you do 2015-1858 and gives
> you an answer of -3!

There is an 8% reserve that only root can eat into. You are 3 MB into
your 8% reserve. This is BSD Unix 101.

> I have softupdates, or whatever, but i dont know how to get 
> it to release this space. I cant reboot the running server.
> I am planning on adding a disc to this system but right now
> i need to get this space released ASAP! Can anyone help?

A reboot is the fastest way to close open files and release their space.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: Looking for a FTP sync'er suggestion

2008-03-11 Thread David Kelly
On Wed, Mar 12, 2008 at 12:10:23AM +0800, Luke Jee top-posted:
> Try rsync

[...]

> >I am looking for a program able to make a remote FTP site look like  
> >a copy of a local dir. I feel as if I were dunce-cap-awards(R)  
> >nominated, but I really did not find one!

rsync isn't going to work unless one has more control over the http
server than one usually gets. Must install rsync on each end. If one has
that much control then I'd say use svn or cvs to keep the website in
sync. You need version control anyway, might as well use it as your
synchronization utility.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: USB printer

2008-03-10 Thread David Kelly
On Mon, Mar 10, 2008 at 12:59:38PM -0700, Gligor Lucian wrote:
> Does FreeBSD support a USB printer?

Yes.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: subversion -make error

2008-03-09 Thread David Kelly


On Mar 9, 2008, at 7:02 PM, comperr wrote:


On Mar 9, 12:40 pm, Lowell Gilbert <[EMAIL PROTECTED]
well.ilk.org> wrote:


Is python installed from the ports system?
What does "which python" tell you?


[EMAIL PROTECTED] ~]# which python
[EMAIL PROTECTED] ~]# pkg_info -x python
Information for python-2.5,2:

Information for python25-2.5.2_1:
[EMAIL PROTECTED] ~]# pkg_info |grep python
python-2.5,2The "meta-port" for the default version of Python
interpret
python25-2.5.2_1An interpreted object-oriented programming  
language


Python should have been found in /usr/local/bin/python:

[EMAIL PROTECTED] {1009} which python
/usr/local/bin/python

--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.

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


Re: subversion -make error

2008-03-07 Thread David Kelly
On Fri, Mar 07, 2008 at 10:34:55AM -0800, comperr wrote:
> Hey - when I try "make install clean" on subversion I get

"make install clean" usually works but it only says to build the install
and clean targets, doesn't say in what order.

"make install && make clean" resolves the ambiguity.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: DJ500 dead after >= 16 years.

2008-02-21 Thread David Kelly


On Feb 21, 2008, at 1:17 PM, Gary Kline wrote:

Great; another printer heard about.SO far the Brother at <=  
$200 with 7000
pages at a $30 cartridge sounds better.I've done mostly the  
"academic",
plain b&w over the years.   Hm, well, then I have had some papers  
returned

with feedback marked in blue in OOo.


The Genuine Brother TN-580 cartridge is about $75. A quick search  
finds "remanufactured" cartridges for $22, or do-it-yourself reload  
kits for under $20. I had to buy my first replacement as reloads were  
not yet available.


I got just under 2,000 sheets on the 3,500 rated sheet TN-550  
cartridge which came with the printer. Just over 4,000 on the 7,000  
rated TN-580. Then nearly 7,000 using a $20 reload kit. Printing  
essentially the same thing, a membership flyer packed full of text on  
one side and a JPEG on the other.


The $20 Meritline.com reload kit I used smells a lot different than  
the original Brother toner.


Amazon.com seems to have the best reputable prices on the HL-5250DN  
at the moment. $190 new, or $155 refurbished, free shipping.


There is a fancy Brother color printer [on sale] at Costco for like  
$700. (!)
After my heart was shocked back to life, I double-checked.   I  
can't imagine

what it does for 700 clams, but don't have room for it here anyway.


If you need it, then you need it. But watch for operational costs.

Can you use any paper with the laser printers, or does it have to  
meet a

certain spec?   I heard a severe warning about using junk paper.


Can use as nice of a paper as you want. Paper prices are rising. I  
have been buying $3.50 paper from Staples but this last time simply  
bought an entire case for whatever they demanded. Something between  
20 and 24 pound is best. 20 is great for printing manuals, 24 is  
better if you are mailing a flyer that is folded and taped without an  
envelope.


--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.



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


Re: DJ500 dead after >= 16 years.

2008-02-20 Thread David Kelly
On Wed, Feb 20, 2008 at 12:02:25AM -0800, Gary Kline wrote:
> 
>   Nutshell, I'd like anyone's ideas/experiences with some of these 
>   new HP/<<< or whateverbrand>>> printers. I wouldn't *mind* if I
>   could scan in text from a techy paper into HTML or PDF or text.
>   But mostly, like 99.44%  plain black text.  My old deskjet used
>   gs as a filter to print PostScript.  Do we have any such plugin
>   support, or are printers still roll-your-own?  [FWIW, I can't
>   seem to get CUPS working...  altho it maay be my misssing
>   /dev/lpt0.]

I have been pleased with my purchase of a Brother HL-5250DN several years
ago. Was $250 at the time, usually can be found on sale now for under
$200. Refurbished HL-5240's under $100.

This is a 30 ppm (rated) laser with ethernet, USB, HPL-6 and Brother's
Postscript-3 clone. Also prints duplex. 3rd party toner refills are $20
for roughly 7,000 pages. Drum is rated at 25,000 pages. If it doesn't
last that long a new or refurbished printer is cheaper than a
replacement drum.

Have fond memories of old HP-4000N, HP-4050N, and HP-5000N printers but
nothing used was available as inexpensive as the Brother was. The
Brother is better suited for my uses as its very quick to warm up from
sleep, maybe as fast as my DJ-990.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: License Question

2008-01-21 Thread David Kelly
On Mon, Jan 21, 2008 at 11:09:07PM +0300, Free BSD wrote:
> Hello, i have a question about licensing FreeBSD: i would be like
> install freebsd in corporation on workstation (don't servers). Its
> free ? Or FreeBSD free for individual using ?

http://www.freebsd.org/copyright/freebsd-license.html doesn't
distinguish between individuals, corporations, hobby use, etc.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: rough method of cleaning the ports tree

2007-12-19 Thread David Kelly


On Dec 19, 2007, at 8:47 PM, Chuck Robey wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

David Kelly wrote:


Remove all the temporary work files, and remove all distribution  
files

that are not current with the ports' Makefiles:

# portsclean -CD

Requires the portupgrade port.


In the past, doing a global make clean wouild die, especially on  
ports that
were marked broken.  I don;'t know if that's been fixed, because  
about once a

month, i just do:

find /usr/ports -type d -name work -exec rm -rf {} \;

I've had the -delete fail from time to time, I can't remember the  
error, but
doing the rm via the -exec keyword, that's never failed, and  
cleaning out the

work directories, that absolutely cleans stuff up quickly.


Not sure how deep the buffers are for wildcard expansion but  
apparently deep enough to do the above simpler. I use tcsh, selection  
of one's shell has everything to do with wildcard expansion.


# cd /usr/ports
# rm -r */*/work
#

--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.



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


Re: rough method of cleaning the ports tree

2007-12-19 Thread David Kelly
On Thu, Dec 20, 2007 at 12:34:24AM +0800, Erich Dollansky wrote:

> >>Even though it will take quite a bit longer you should just do a
> >>"make distclean" in /usr/ports that way anything you hand modified
> >>will be retained (also you might want to consider keeping a local
> >>cvs repository if this is an issue)
> >
> >That's a good idea too.
> >But, it might not do enough.  So, still consider moving /usr/ports.
> >
> it does what I really want. I do not have a space problem. I simply
> want to get rid of the stuff which is not really needed.

Tuning in late but this seems appropriate:

Remove all the temporary work files, and remove all distribution files
that are not current with the ports' Makefiles:

# portsclean -CD

Requires the portupgrade port.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: top posting (off-topic)

2007-11-23 Thread David Kelly


On Nov 22, 2007, at 9:10 PM, Paul Schmehl wrote:

Understood from that perspective, perhaps you can see why people  
might dislike top posting.


When asking a favor of another, a wise man would not offend his  
potential helper. Many here (and elsewhere) will not reply to a top- 
poster. You want some of my time then you had better take the minimal  
effort to phrase and format your communication.


Less effort, actually. A trimmed insert-reply is not only a more  
accurate communication, but faster to create, as well as faster to  
read and comprehend.


--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.

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


Re: top posting (off-topic)

2007-11-22 Thread David Kelly

(Moved to freebsd-chat where it belongs.)

On Nov 22, 2007, at 3:22 PM, Brent Jones wrote:

I for one prefer top posting, as usually I have read a particular  
thread

enough times that I like to cut to the chase and read the new input
without having to scroll down, sometimes navigating an endless nesting
of >>>


Top posting is the worst format to use for reply. Close 2nd worst is  
the no-trim bottom post.


If new content doesn't start somewhere very close to the top then the  
sender failed to create a message worth reading. By trimming and  
inserting comments in the proper place one creates a semblance to the  
alternating back and forth of live conversation.



  For me, reading through top posted replies saves time and
effort.  If I happened to miss something in the conversation I can
scroll down to find it.


Reading from bottom up is painful. Even more painful after a couple  
of generations the added quoting and occasional wrapping get thrown in.


There is no excuse to resend the entire thread with every new  
contribution, especially when dealing with a mailing list. If you  
thought the prior messages were worth keeping then you kept them.  
Else you can go online and find them.


The sender bears some responsibility for every word sent, or re-sent.  
One should never send a message one has not fully read and proofread.  
Top-posters almost never review the bulk they send else they wouldn't  
send the unreadable junk. Or at least I'm giving benefit of doubt  
that they would not.



Anyone else feel the same?


No. Heck no.

--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.



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


Re: Can anyone recommend an external firewire-based drive?

2007-11-14 Thread David Kelly
On Wed, Nov 14, 2007 at 12:23:53PM -0800, George Hartzell wrote:
> David Kelly writes:
> > 
> > I haven't used it with FreeBSD but my Seagate 300G works very with
> > Macintosh. LaCie is another highly respected brand among Mac users.
> 
> Are you running Mac OS X on your mac, or FreeBSD?

I see little point in running FreeBSD on my Mac. I have other boxes
which run FreeBSD perfectly fine so it would be a waste of a perfectly
good MacOS X. A Dell with FreeBSD is an excellent coprocessor for a Mac.

Many FreeBSD things run perfectly fine on MacOS. I'd like avr-gcc to run
as well on Mac as on FreeBSD, but its only svn and Terminal.app away
from my Mac. And not currently worth my effort to properly build a
current version on the Mac.

I rather like editing in BBedit on the Mac. I think the free
TextWrangler would be just as good for my use but don't remember if
integrated CVS and SVN are included.

Downloaded, installed, checked, nope. No CVS/SVN from within
TextWrangler.

> I'm planning to buy myself a mac pro in the near future (as soon as
> they announce the penryn based models) and am planning to dual boot
> RELENG_7 on it.

I bought one of the first quad 2.6 GHz Mac Pros. Its sweet! Strangely
not as solid as my dual G4-867 GHz. The Mac Pro almost always wakes
immediately from sleep when manually invoked but stays down the 2nd
time. Since Leopard it has failed to properly wake from sleep twice. But
no such problem with the G4. 

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: Can anyone recommend an external firewire-based drive?

2007-11-14 Thread David Kelly
On Wed, Nov 14, 2007 at 12:09:47PM -0600, Doug Poland wrote:
> Hello,
> 
> I'm looking for an external, firewire-based, hard-drive from which to 
> run FreeBSD 7.0 (i386).  Ideally, I'd boot from this device as well, but 
> I'm not sure if FreeBSD (or my BIOS) supports booting from firewire.
> 
> Can anyone recommend a manufacturer and/or model?

I haven't used it with FreeBSD but my Seagate 300G works very with
Macintosh. LaCie is another highly respected brand among Mac users.

There were some Western Digital Firewire externals on the market but
many Mac users had problems. With Apple as one of Firewire's parents its
pretty sad if a Firewire product doesn't work with a Mac.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: Formatting man pages -> txt file

2007-10-12 Thread David Kelly
On Fri, Oct 12, 2007 at 09:14:07AM +0200, Alain G. Fabry wrote:
> 
> Hello,
> 
> I'd like to get a man page in .txt format.
> 
> What I tried was "man man > man.txt", but this gives me the man pages
> with many control char.
> 
> How can I get a man page to be formatted to a regular .txt file?

Others have already said. What I like is "man -t man > man.ps" to create
a Postscript file. Prints beautifully.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: cron jobs not done during sleep

2007-09-17 Thread David Kelly
On Mon, Sep 17, 2007 at 08:22:45AM -0700, Steve Franks wrote:
> Correct me if I'm wrong, but cron doesn't keep track of the last time
> something was done, does it?  Which is to say if my system is crashed,
> was asleep, or powered off when a job is supposed to happen, it will
> not happen the next time the system is successfully operational, will
> it?  It's not obvious to me for sure either way from any sources I've
> read (man crontab, google), and unix tends towards k.i.s.s. (which is
> why we like it)
> 
> ...I understand why that would be important behavior if something
> would cause problems executed other than 9am on Mondays...
> 
> Is there a tool or setting to implement this functionality?  I want
> something to happen weekly, I don't care when.  Assume I am off the
> commercial power grid and I'm not going to leave my system powered on
> just to make sure my backups get run.  I use it when I need it, then I
> turn it off.  More people should.  Electricity is not free from a
> economic, social, or environmental perspective, and promises to be
> less so with time.

Is easy enough to implement yourself. Write a script containing your
weekly commands. Launch it every hour or so.

First thing in your script look for a flag file indicating last time
your script was run. If it does not exist, create it (suggest using
touch), and run the rest of your script.

If the flag file does exist compare dates. If older than some specified
interval then touch(1) it and run the rest of your script. Might get
fancy and code the date test in the crontab command field.

/var/run might be a good place to put your flag file.

Notice the test(1) utility can compare new/older file dates and that
touch(1) can stamp a future date on the file.

You can compile a future date with "date -v +1W". Play with the
formatting options to make the output compatible with input to touch.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: ntpd time server

2007-09-15 Thread David Kelly
On Sat, Sep 15, 2007 at 08:46:09PM -, [EMAIL PROTECTED] wrote:
> Is it possible to use ntpd as a client as well as a server?

Of course. Your server is a client of its own ntpd.

> I have my firewall setup to get updates from the Internet which it does
> without any problem.  However, I am not seeing any clients syncrhonizing
> with the firewall.
> 
> The firewall ntp.conf files contains the following.
> 
> server ntp-2.mcs.anl.gov prefer
> driftfile /data_prgs/local/etc/ntp.drift

Is my understanding these days the Politically Correct and Polite thing
to do is not list a specific machine (unless its yours) as ntp server
but to use servers which have volunteered to be placed in a revolving
DNS pool, like this:

server 0.pool.ntp.org
server 1.pool.ntp.org
server 2.pool.ntp.org
server pool.ntp.org

> The clients contain the following.
> server firewall
> driftfile /var/db/ntp.drift
> 
> firewall is a resolved via internal DNS, and it is resolved to the correct
> IP address.
> 
> Any suggestions would be greatly appreciated.

On your clients type "ntpd -c peers" and one machine should be listed,
your "server" named "firewall" something like this (on MacOS X):

% ntpdc -c peers
 remote   local  st poll reach  delay   offsetdisp
===
=andraia.local   192.168.123.177  2 40963 0.00085 -0.231870 3.95285


Do the same thing on the "server" to see what it thinks of the servers
it is connected to.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: Good FreeBSD Supported Gigabit Ethernet Card?

2007-09-14 Thread David Kelly
On Fri, Sep 14, 2007 at 10:45:00AM -0400, Rob wrote:
> 
> In my experience, 100Mb will net the theoretical max of 10MB/sec, but 
> Gigabit only gets 30MB/sec on a good day.

Depends on how fast one's disks are. 30MB/sec is about "normal" these
days for real world disk thruput.

Haven't fiddled much with configurations but I have a pair of Seagate
SATA-300 on SATA-150 interface 300 GB drives striped with gvinum that
currently peak at about 60 MB/sec, paired. Individually about 45 MB/sec.

Have older Hitachi 160's that were faster on FreeBSD under vinum than
the Seagates under gvinum.  Currently mounted, striped, on Mac Pro, and
will sustain 90+ MB/sec peaking at almost 100.

Between those two filesystems I can usually ftp at over 50 MB/sec.
Limited by disk bandwidth.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: Good FreeBSD Supported Gigabit Ethernet Card?

2007-09-14 Thread David Kelly
On Fri, Sep 14, 2007 at 08:55:33AM -0500, Jeffrey Goldberg wrote:
> On Sep 14, 2007, at 1:25 AM, Subhro Kar wrote:
> 
> >No offence meant, but why would you like to upgrade a "home"  
> >network to Gbit? Is it required at all?
> 
> I've been slowly undertaking the same kind of upgrade and so would  
> like to know whether my reasons are sound.
> 
> As of six months ago all of the daily used desktops (three) in my  
> house are gigabit, but none of the servers are.  For the past year or  
> so any time I bought a new switch, I've bought a gigabit switch.

I'm a touch concerned about the number of switches your network might
have. Is best to bite the bullet and get single big central switch.

> Eventually I would like to have a proper NAS sharing out home  
> directories.  The desktops are all OS X.  Some members of the  
> household play with iMovie which involves some very large files.

Might be best to leave home directories on individual machines and add
network storage that each user has control over.

> I don't know when I'll get around to setting up the NAS, but many  
> decisions I make today keep that goal in mind.  Thus, I am migrating  
> to gigabit on my home network.  When I do build the NAS, I will  
> certainly be looking for a good FreeBSD supported gigabit ethernet card.

Years ago I bought a Dell PowerEdge 400SC 2.8GHz for about $400 direct.
Has an on board 10/100/1000 Intel served by the FreeBSD em driver. Has
been completely without issue. Wire speed between FreeBSD and MacOS X
machines is essentially same as disk speed. The striped drives in my Mac
Pro will sustain 90 MB/sec but would not when they were installed in the
FreeBSD machine.

Have no problems playing DVDs created in iMovie/iDVD on my MacBook Pro
via wireless from the Free BSD drives. Use NFS to share from FreeBSD,
double-click to mount the .iso image on the MacBook, launch Apple's DVD
player. Eject the image when done.

> Do I really need gigabit?  Of course not.  But I don't really need  
> most of the stuff I do.

I remember when a PC ethernet card was $1000 and required $400 of
software to barely make it work under DOS. Today gigabit and plain old
"fast" ethernet are virtually the same price. Is best to go ahead and
get gigabit.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: Which versioning system is the simplest to use??

2007-09-11 Thread David Kelly
On Tue, Sep 11, 2007 at 03:41:14PM -0300, Agus wrote:
> Hi List,
> 
> I am doing a little bit of security and log watching with sec.pl and
> was trying to mantain de secconf files organized...  So whenever one
> is changed it keeps track of the change and can rollback
> 
> O that is what i am going to use de versioning sytem for...
> 
> I will appreciate your tips very much

CVS is already in FreeBSD. It works very well but is widely accepted
that a redesign could do better. Subversion's stated goal is to be a
better CVS than CVS. The commands are very much the same but most else
is different underneath.

A negative to Subversion is that it tries to be everything for everyone.
Doesn't appear to be a subversion-lite version available.

At the moment I continue to use CVS for older stuff that was started
under CVS, and SVN for new stuff.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: IPFW and HTTPS problem

2007-08-25 Thread David Kelly


On Aug 25, 2007, at 4:15 PM, Narek Gharibyan wrote:

I enabled https for my webmail. It works for LAN client but doesn't  
work for
Internet clients. I checked with tcpdump ipfw filters the incomping  
https

packets unless the rule


tcpdump is the hard way.

# ipfw zero

try the webmail.

# ipfw -a list

Examine the above list for rules have been hit since zero. Your  
answer lies among the rules which have been hit.


You might add "ipfw add 65000 deny log ip from any to any" and see  
what shows in /var/log/security for more details.


If you see hits on a rule but don't understand why, add "log" to it.  
Probably best to duplicate that rule with a lower number so the "log"  
version is used first. And easy to remove the logging version later  
without touching the original.


--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.

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


Re: ports clean

2007-08-15 Thread David Kelly
On Wed, Aug 15, 2007 at 09:27:15AM -0400, Grant Peel wrote:
> How con I run make clean in the /usr/ports directory and ensure the
> CPU does not get all eaten up?
> 
> I need to do this on two name servers so no users need to log in or
> anything...it can run for a whole day and not bother anyone.

"portsclean -C" does "rm -r /usr/ports/*/*/work"

You might add "nice +20" (or whatever the syntax is for your shell) in
front of that.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: Convince me, please!

2007-08-09 Thread David Kelly
On Thu, Aug 09, 2007 at 01:34:47PM -0500, Reid Linnemann wrote:
> Written by David Kelly on 08/09/07 12:56>>
> >
> >What "standard utility" in FreeBSD didn't start somewhere outside of
> >BSD?
> 
> I'm not talking about origins, I'm talking about maintainers. The
> software you've listed are maintained by third parties not affiliated
> with either operating system, so I don't see how you can consider them
> "standard utilities".

Go look at /usr/src/contrib/ and /usr/src/gnu/ for FreeBSD "standard"
items maintained from outside and imported.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: Convince me, please!

2007-08-09 Thread David Kelly
On Thu, Aug 09, 2007 at 12:33:20PM -0500, Reid Linnemann wrote:
> Written by David Kelly on 08/09/07 12:30>>
> >On Thu, Aug 09, 2007 at 06:54:37PM +0200, Wojciech Puchar wrote:
> >>>For the best user experience, and Unix too: MacOS X.
> >>a very little unix (few tools and kernel) + lots of bulky overhead ...
> >
> >Try it, you will find otherwise. The user interface works without
> >hassle. MacOS X comes with more standard utilities than does FreeBSD,
> >for instance procmail, fetchmail, sqlite3, Apache, php 4.4.7, ...
> 
> Not that I'm against your argument that OS X is a good system, but since 
> when are 3rd party services standard utilities?

What "standard utility" in FreeBSD didn't start somewhere outside of
BSD?

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: Convince me, please!

2007-08-09 Thread David Kelly
On Thu, Aug 09, 2007 at 06:54:37PM +0200, Wojciech Puchar wrote:
> 
> >For the best user experience, and Unix too: MacOS X.
> 
> a very little unix (few tools and kernel) + lots of bulky overhead ...

Try it, you will find otherwise. The user interface works without
hassle. MacOS X comes with more standard utilities than does FreeBSD,
for instance procmail, fetchmail, sqlite3, Apache, php 4.4.7, ...

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: Convince me, please!

2007-08-09 Thread David Kelly
On Wed, Aug 08, 2007 at 11:22:26PM -0500, Latitude wrote:
> I'm interested in changing over to FreeBSD from Windows, but I'll have
> to say, you guys don't really present a forceful argument to Windows
> users of how easy the switch may be.  I get knee-deep in FreeBSD
> jargon the second I get to your webpage. I need to see an overwhelming
> argument that FreeBSD is a perfectly acceptable alternative for home
> desktop users who have previously known only Windows.

I don't know that such a claim is ever made from within FreeBSD. FreeBSD
is Unix, for and by those who know and love Unix. Linux is the one
wanting to be a better Windows than Windows.

For the best user experience, and Unix too: MacOS X.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: 10Mbps versus 100Mbps Cable Modems

2007-07-12 Thread David Kelly
On Thu, Jul 12, 2007 at 11:21:50AM -0400, fbsd2 wrote:
> Am I missing some thing here? 
> I though 10Mbps/100Mbps ends up controlling the 
> max packet size traveling over the internet.

Yes, you are missing something.

> So if your using 10Mbps, you end up generating 10 separate packets
> versus 1 packet at 100Mbps to move the same amount of data.

No, MTU stays the same. Jumbo packet support is popular for gigabit
ethernet but MTU is generally limited to 1500 for external internet
connections.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: /usr/ports/packages cleanup

2007-07-12 Thread David Kelly
On Thu, Jul 12, 2007 at 08:46:26AM -0500, Jonathan Horne wrote:
> my packages dir is starting to have more than a few packages of incrementing 
> versions.  example:
> 
> [EMAIL PROTECTED] All] $ ls kde-3*
> kde-3.5.6_1.tbz  kde-3.5.7.tbz
> 
> is there a simple way to clean the packages directory, and only keep the 
> latest version of each package?

Install the portupgrade port and use "portsclean -CD" to sweep
/usr/ports/ of spare working files and to clear /usr/ports/distfiles/ of
all non-current source files.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: 10Mbps versus 100Mbps Cable Modems

2007-07-11 Thread David Kelly
On Wed, Jul 11, 2007 at 01:27:08PM -0400, fbsd2 wrote:
> Sure they have more than 10Mbps bandwidth. 
> People who became subscribers during the first 4 years 
> they were in business all got 100Mbps modems.
> 
> As I see it, down grading to obsolete 10Mbps modems 
> is degrading overall network performance.

IIRC DOCSIS 2.0 only provided 30 million bps aggregate bandwidth,
assuming the cable system used all available channels for data.

Ethernet speed should not be confused with the cable wire speed.

The obsolete 3-Com "shark fin" cable modem I had never delivered more
than 1.5M bps out the ethernet port. The Motorola that replaced it is
much better.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: password failure- after mergmaster

2007-07-09 Thread David Kelly
On Mon, Jul 09, 2007 at 01:29:44PM -0700, Chuck Swiger wrote:
> On Jul 9, 2007, at 1:25 PM, Peter Boosten wrote:
> >
> >Having read this I must admit that it's a complete mystery to me why
> >mergemaster would touch your password file at all...
> 
> Because sometimes new versions of the OS come with new built-in user  
> accounts, which need to be added to the existing passwd or groups  
> databases somehow?

Yes, exactly. Have to *merge* the changes into /etc/master.passwd rather
than brute force overwrite.

Notice the difference from my first post in this thread, the file which
was clobbered is /etc/master.passwd, not just /etc/passwd which is a
dummy file generated from master.passwd.

In single user he can "mount -a" to get all the filesystems mounted
read/write, then extract /etc/master.passwd file from his level 0 dump.
But once again it needs to be diff'ed against the "new" version written
by mergemaster to see why mergemaster changed it.

Then the password databases need to be rebuilt. The easiest way (and
only way I remember without manpage surfing) is to run vipw and
trivially change the master password file. On exit vipw rebuilds the
password databases with pwd_mkdb(8) (I had to look that up).

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: password failure- after mergmaster

2007-07-09 Thread David Kelly
On Mon, Jul 09, 2007 at 04:06:01PM -0400, Jean-Paul Natola wrote:
> OOOPSS-
> 
> I got mergemaster to run- but now that the system restarted the root password
> and my password are invalid-
> 
> I can ONLY start in single user mode-

You let mergemaster clobber the password file.

So in single user, "mount -a", then use vipw to recreate your accounts
in the password database. On exit from vipw use passwd to set the
passwords. 

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: (no subject)

2007-06-07 Thread David Kelly
On Thu, Jun 07, 2007 at 12:15:16PM -0500, Benton, William E wrote:
> does BSD have any compilers onboard that the user can access? ANSI c???
> or others??

Yes.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: Seeking recommendation for anti-spam software

2007-06-06 Thread David Kelly
On Wed, Jun 06, 2007 at 07:15:09PM +0200, Roland Smith wrote:
> On Wed, Jun 06, 2007 at 12:00:59PM -0400, Richard Coleman wrote:
> >  I am running a mail server using Postfix and Dovecot.  I would like to 
> > hear 
> >  people's recommendation for which port to use to add server side 
> > anti-spam.  
> >  The problem these days is a richness of choices, so it's hard to know port 
> >  which to try.
> > 
> >  And call it a quirk of mine, but I really dislike (server) software
> >  with a large number of dependencies.  That rules out Spam Assassin.
> >  But I am fairly conversant with mail and Postfix/Dovecot in
> >  general, so I don't mind any integration work.
> 
> Bogofilter works very well, after you've trained it with some spam &
> ham. You can get a head start by starting from someone else's wordlist.

Yes, works very well for me too. Am running it in parallel with other
spam filters and find if I was to have only one spam filter it would be
bogofilter. Found SpamAssassin to be very resource intensive and its
processing (lookup time) slow.

Bogofilter is lean and effective. Only negative is that it needs to be
trained.

> But I'm running it from procmail on my mail only.  I've never bothered
> to integrate it into postfix.

Would be very handy if someone were to make a port of scripts with
something like ADD_SPAM, NOT_SPAM, and SPAM folders under IMAP to drive
bogofilter remotely from an email client. Train as spam messages placed
in ADD_SPAM and then move them into something like ADDED_SPAM. Have
bogofilter place found spam in SPAM, user puts falses in NOT_SPAM.
Scripts train bogofilter on contents of NOT_SPAM and put in something
like NOT_SPAMMED. Users may clean out SPAM, ADDED_SPAM, and NOT_SPAMMED
as they fill. The point is to never throw anything away with the
scripts.

Then on top of that one ought to have some means of global spam filter
database in addition to per-user databases.

This is such a good idea am sure somebody has done it already, I just
don't know where.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: recreating directory structure

2007-05-29 Thread David Kelly
On Tue, May 29, 2007 at 04:04:22PM -0400, Robert Huff wrote:
> 
>   Some of the directories under /usr/src have gone missing.
>   How do I re-create the directory structure?  I know mtree is
> involved, but have no idea which flags and what file to feed it.

Use your original installation CD to restore to its original contents.
Or use cvsup to automatically download the missing files and
directories. Would be easiest to use cvsup to bring your sources up to a
current release.

Same as one would do to restore /usr/src from CD, one can get a fresh
copy of the tarballs from one of the FreeBSD mirrors. For 6.2 download
all of:

/pub/FreeBSD/releases/i386/6.2-RELEASE/src

Then simply untar them into /usr/src.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: Newby with Bother Printer

2007-05-28 Thread David Kelly
On Mon, May 28, 2007 at 03:06:37PM +0100, Ken Williams wrote:
> 
> Hi Has anyone here got a Brother MFC-410CN printer to work with BSD either on 
> the network or usb, I am struggleing, but won't go into the details in case 
> someone already has easy setup details

Why are you replying-to a different thread and changing the subject?

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: laser printer - which one?

2007-05-25 Thread David Kelly
On Thu, May 24, 2007 at 08:49:17PM -0700, Bill Campbell wrote:
> On Thu, May 24, 2007, David Kelly wrote:
> 
> >Have been very happy with performance and operating costs of HP  
> >4000's, 5000N, and 8100N. Couldn't find one used for what my Brother  
> >HL-5250DN cost new, so I bought the Brother. Only problem has been  
> >the HP's would print envelopes better than the Brother.
> 
> I haven't found any printer that really works well with envelopes
> (unless you count some Pitney Bowes printers that are designed
> specifically for printing high volumes of flyers, envelopes and
> brochures).

An original Apple Stylewriter 1200 was exceptional at envelopes. The
printer most closely resembled the wringer on my grandmother's classic
Maytag washer when I was a kid. Straight path, no bend, printer was
about 3" thick.

Have been feeding about 1500 envelopes per year between a pair of HP-990
and HP-970 inkjets. The older 970 is faster but doesn't fully release
the envelope on eject and will wad it up if one doesn't pull it out
before the next starts. The 990 often pauses before starting, then
spends extra time with optical sensors looking for page edges. And about
half the time pulls a #10 envelope thru cocked at an angle. I use them
anyway.

Recently the 990 feed screwed up to the point it was not usable. Took it
out to the garage and blew it out with compressed air. Didn't find any
smoking guns so I didn't have much hope, but that did the trick.

> >Have not been terribly happy with HP inkjets and my statement above  
> >is based on the apparent observation the HP inkjet crew has been  
> >designing lasers lately.
> 
> I have an HP Photosmart 7360 that I like, largely because I don't use it
> very much, and it's designed so that it can through long periods of
> inactivity without clogging the nozzles.

In the HP print driver there is an option deep in the settings for
"black only". The default setting mixes color with black to print text.
Black text looks awful if the color cartridge is empty, but perfectly
good if you select the "black only" option. One thing I'm not happy
about is that the printer flat out won't work without a color cartridge,
no matter that I'm only printing black. Had an empty color cartridge go
bad and the printer quit. Since then I've collected empties from friends
to keep around so that the printer will still run if it decides the
color cartridge must be replaced again.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: laser printer - which one?

2007-05-24 Thread David Kelly


On May 24, 2007, at 2:00 PM, Roland Smith wrote:


I've had good experiences with HP laserjets.


Me too. But in my opinion HP now makes Good LaserJets, and Cheap  
LaserJets. Take your pick, they don't make exceptional LaserJets and  
sell them cheap.


Have been very happy with performance and operating costs of HP  
4000's, 5000N, and 8100N. Couldn't find one used for what my Brother  
HL-5250DN cost new, so I bought the Brother. Only problem has been  
the HP's would print envelopes better than the Brother.


Have not been terribly happy with HP inkjets and my statement above  
is based on the apparent observation the HP inkjet crew has been  
designing lasers lately.


--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.

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


Re: laser printer - which one?

2007-05-24 Thread David Kelly
On Thu, May 24, 2007 at 07:55:40PM +0200, Gabor Kovesdan wrote:
> Hello,
> 
> might be a bit off here, but I'm sure some of you have experiences with 
> laser printers. I would like to buy a (relatively) cheap laser printer 
> with the following requirements:
> 
> - quality (I mean here, that I want to use it for a long time, thus it 
> should be of good quality and be robust)
> - has such a toner, *that can be refilled cheaply*
> - prints in good quality, speed and noise is not that important
> - should work under FreeBSD / Linux, not just under Windows

About 14 months ago and 10,000 pages I bought a Brother HL-5250DN at
Staples for $250. That seems to still be the going price. Have no
regrets. Prints both sides, ethernet and USB interfaces, rated 30 ppm
and prints faster than any printer we have at work. Postscript-3 clone
and PCL-6.

Works perfectly from MacOS and FreeBSD, altho I almost never use it from
FreeBSD and can't really say I've given it a FreeBSD workout.

As an early adopter it took a while for aftermarket refills to hit the
market but the rated 7,000 page refill is under $20. Only difference I
have noticed is the smell, and its only different, not better, not
worse.

Am a little concerned about the cost of replacing the drum, rated for
25,000 pages. Going rates for Bother toner + Brother drum is almost the
same as a new HL-5250DN printer. With any luck the resurfaced drum
companies will be ramped up by the time I need one.

No point in running an envelope thru this printer, it wrinkles.

Shortly after making my purchase some were running a special including
an optional paper tray which would hold a full ream. The special bundled
all that at the same $250 I paid. Have not seen that extra tray offered
since.

> As for the price, I'm thinking of 100 000 HUF (about 400 EUR) as
> *very* maximum. The price is important, but the first point is more
> important at all...I color laser printer would be cool if this amount
> of money is sufficient for this, but a BW one is ok, too.

If you are concerned about refill prices then I would expect color would
be out of the question as operating costs are higher even when printing
B&W.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: customized strip down freebsd OS (less than 50MB)

2007-05-18 Thread David Kelly
On Fri, May 18, 2007 at 07:16:46PM +0530, bsenthil wrote:
> Hi,
> 
> I am looking for mini freebsd customized OS (less than 50MB). Is it 
> possible to customize the freebsd to below 50MB?
> 
> The list of modules i run over freebsd OS
> 1. TCP/IP stack
> 2. package installation.
> 3. File read and write operation
> 4. Apache server
> 
> What is the minimum size of the stripped freebsd OS ?

In years past I got FreeBSD 4.4 down to about 10 MB. Then added Apache
on top, PHP, Perl, etc. Interesting that each was roughly another 10 MB.

> Please let me know detail/link how to customize freebsd OS.

Start with a block of granite and remove everything that doesn't look
like your sculpture.

Believe I started with information found here:
http://www.minibsd.org/download.php

I played with the FreeBSD build system and was building world in a
different location than stock, with compiler options special for a
bottom end Soekris board. Built everything dynamically linked that I
could, traditionally everything in /bin was statically linked.

Built ports chrooted in my new virtual world built above.

Used scripts originating with minibsd to cross reference runtime
libraries and application dependencies so that only the necessary
libraries were moved to my CF card. I kept a file listing all the files
I considered mandatory.

Had several Makefiles, one for each stage of the build. Started by using
"cvs checkout" to start with fresh source code.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: can't zip large files 2gb >

2007-05-04 Thread David Kelly
On Fri, May 04, 2007 at 01:33:09PM -0400, David Banning wrote:
> 
> first time I have tried files of this size - but I get the same
> problem no matter what compression utility I use; tried gzip, bzip2,
> rzip and compress.

Which is why I suspected a corrupted library and asked that ldd(1) be
run on his utilities. We found they were statically linked, in
/usr/bin/. That sounds fishy.

As for running out of ram, if the whole system was built statically
linked then such would not be surprising.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: can't zip large files 2gb >

2007-05-04 Thread David Kelly
On Fri, May 04, 2007 at 01:42:59PM -0400, David Banning wrote:
> 
> What seems strange is that the failure is not a massive failure
> the gzipped and then gunzipped file is only 2 bites difference
> on a 3G file. I am wondering now if something could be amiss in
> my BIOS - any thoughts here?

FreeBSD should be BIOS agnostic. Once booted the BIOS is out of the
picture.

Where do the original and output differ? Use cmp(1) and it should list
the offset where first difference occurs:

% cmp aes_ctr.c aes_ctr2.c
aes_ctr.c aes_ctr2.c differ: char 1065, line 50

Probably won't list a line number. What would be telling is if the
problem occurs on a nice boundary like 2G. Sadly that would be typical
of Linux as FreeBSD has not had a 2G file size limit, ever. At least not
since 2.0.0. It has had cases where signed 32 bit values were used that
caused problems. To this day MacOS X's ftp client doesn't understand
file transfers over 2G. Transfers them just fine but gets confused as to
how much it has downloaded and how much is remaining.

Am thinking I know a 4.x machine that can be fired up with little more
effort than to attach a KVM and flip the switch. Will see in about 6 or
8 hours.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: can't zip large files 2gb >

2007-05-03 Thread David Kelly
Correction:

On Thu, May 03, 2007 at 07:10:37AM -0500, David Kelly wrote:
> 
> Can't keep from thinking somehow your hardware is broken because  
> myself and others have been gzip, bzip, zipping, large files for a  
> long time under FreeBSD without problems. BUT on 6.0 I had  
> intermittent problems trying to download files over 4 GB with  
> FreeBSD. But seemingly only with "old" files, more than a day old.

"over 4 GB *from* FreeBSD." ftpd was having problems reading the large
file, sometimes.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: can't zip large files 2gb >

2007-05-03 Thread David Kelly


On May 2, 2007, at 11:41 PM, David Banning wrote:

I haven't been paying 100% attention. Just how does it fail? What  
do you

mean by "corrupt"?

Does the process run to completion?


All programs zip with no errors. On reading;

root# bzip2 -t zippedfile.bz2
bzip2: 3s1.com-smartstage_ftp-full-20070502-0125AM.1b.tar.bz2:
data integrity (CRC) error in data


Can't keep from thinking somehow your hardware is broken because  
myself and others have been gzip, bzip, zipping, large files for a  
long time under FreeBSD without problems. BUT on 6.0 I had  
intermittent problems trying to download files over 4 GB with  
FreeBSD. But seemingly only with "old" files, more than a day old.


A workaround was to cat file > /dev/null from a shell login about the  
same time as I started the ftp download. This clue helped eventually  
find the real problem in the FreeBSD kernel.


Just for kicks, try "cat file > /dev/null" while the compression  
process is running on same file. This might help keep your source  
file in cache while the compression process runs.


Apparently you have a spare original copy of the data laying around  
but another thing to try is "gzip -c file > file.gz" which does not  
destroy the original.


--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.

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


Re: can't zip large files 2gb >

2007-05-02 Thread David Kelly
On Wed, May 02, 2007 at 02:08:16PM -0400, David Banning wrote:
>
> Here is a summary;
> 
> original 3G tar file; untars fine
> gzip; corrupts
> bzip2; currupts
> compress; corrupts
> rzip; corrupts

I haven't been paying 100% attention. Just how does it fail? What do you
mean by "corrupt"?

Does the process run to completion?

Are the output zip files reasonable in size?

Are the expanded files reasonable in size? If so where does the mismatch
start?

Is the problem always in the same place for the same input file?

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: Code beautification and/or printing utilities that are not part of an editor

2007-04-19 Thread David Kelly


On Apr 19, 2007, at 4:10 PM, Andrew Falanga wrote:


Another question for everyone.  Are there any programs, hopefully
available in the ports, that one can use to print source code files to
a printer (or create as a postscript file)?

I'd like something that I can feed a C++ program, have it parse
through the code, print line numbers to the left of the page and
(optionally) color code the syntax.  Does anything like this exist?


a2ps was once a nice and simple ascii to PS converter then it bloated  
into a source code pretty-printer. Has been at least 10 years since I  
used it.


GNU indent is a very useful code reformatter.

--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.



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


Re: every two weeks

2007-04-18 Thread David Kelly
On Wed, Apr 18, 2007 at 03:54:33PM +0100, Joe Holden wrote:
> John Haig wrote:
> > 
> >Every two weeks my Freebsd 5.3 box goes down. 
> 
> Sounds like a potential PSU issue, is there anyone at the facility to
> test/replace it?

How about a BIOS issue? Seems there is an option for periodic shutdowns
in some. Also an option controlling the on/off state when power is
restored after an outage. Whether to always power up, "restore last
state", or always remain off until the button is pushed.

John asked about diagnostics as to what the machine was doing when it
went down. Start by comparing the shutdown dates. Is there a pattern?

When it restarts does it complain about an improper shutdown? Think this
should be noted in /var/log/messages.

Does a cleaning crew come around about the time the machine dies?

Is the machine on a UPS?

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


<    1   2   3   4   5   6   >