Traffic upgrade 5.2.1 to 5.3

2005-02-07 Thread Florian Hengstberger
Hi!

I want to upgrade my box from 5.2.1 to 5.3 stable.
I have limited download, so, if I update the sources using cvsup
in order to make buildworld ..., is there a way to roughly estimated 
the traffic.
Case it's impossible, what's the typical order? A few MB, a few dozen
MB or more?
Another thing is that there seem to be problems with the avr-tools
my current work depends on. Is it somehow possible to keep this package
as it is while upgrading. 
What about upgrading the kernel only?

Thanks a lot,
Florian


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


Re: xhost +localhost

2005-02-07 Thread Loren M. Lang
On Sun, Feb 06, 2005 at 01:31:13PM +0100, Gert Cuykens wrote:
 On Sun, 6 Feb 2005 02:05:00 -0800, Loren M. Lang [EMAIL PROTECTED] wrote:
   PS is the x cookie in anyway related to the user passwd ?
  
  Completely unrelated, it's just a random number basicly.
  
 
 If it is a random number how can the xserver it user x random number
 and not user y random number ?

When the X server is first started a 128 bit binary number is generated
and stored in a file .Xauthority which is created in a users home
directory and made to be readable only by that user.  The X server read
the file on startup and, by default, only allows clients to connect that
know that magic number.  You can give that magic number to other people
and allow them to connect using the xauth program.  Every time the X
server is started a new number is generated and it used instead so
knowing what number was used last time the user logged in won't be
useful anymore.  It's pure chance that two users won't have the same
magic number at the same time, AFAIK, but with 2^128 possibilities, it's
EXTREMELY unlikely.

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Electricity bill [was: Re: Leaving a Computer Running ?]

2005-02-07 Thread Svein Halvor Halvorsen

* Erik Trulsson [2005-02-05 23:55 +0100]
  Also keep in mind that if you leave the computer running all the time
  it will show up on your electricity bill, so if you wish to save power
  you should shut down your computer over night.


Given that your house needs to be warmed up (a presumption I think is 
correct for Sweden as you appears to be sending from; it sure does for 
Norway, I don't know about the OP), it does not matter where that heat 
comes from. If your other heating is termostatically controlled, then 
running your computer all night long uses no less electricity than leaving 
your heating on. Eventually, all those kWhs ends up as heat. You might 
just as well use it for something usefull in the way from electric to 
thermic energy, and not just send your electrons through an electric 
resistance for nothing (except heat-generation)!


(Of course this argument is not valid if you need to cool your house, or 
if you use radiators, water-born heating, a wood-burning stove or 
something else other than electricity to warm up your house)


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


Re: Electricity bill [was: Re: Leaving a Computer Running ?]

2005-02-07 Thread markzero
 * Erik Trulsson [2005-02-05 23:55 +0100]
   Also keep in mind that if you leave the computer running all the time
   it will show up on your electricity bill, so if you wish to save power
   you should shut down your computer over night.
 
 Given that your house needs to be warmed up (a presumption I think is 
 correct for Sweden as you appears to be sending from; it sure does for 
 Norway, I don't know about the OP), it does not matter where that heat 
 comes from. If your other heating is termostatically controlled, then 
 running your computer all night long uses no less electricity than leaving 
 your heating on. Eventually, all those kWhs ends up as heat. You might 
 just as well use it for something usefull in the way from electric to 
 thermic energy, and not just send your electrons through an electric 
 resistance for nothing (except heat-generation)!
 

Actually, I've found that five machines, each with two disks, onboard
graphics and sound, an average 700mhz P3 with a 250w power supply
haven't really made a dent on my electricity bill. In the summer of
last year, however, I bought an air conditioner and this added £40
(roughly $75) to my bill. I see I'm not the only one that thought of
using the servers AS the heating! 

Mark

-- 
PGP: http://www.darklogik.org/pub/pgp/pgp.txt
B776 43DC 8A5D EAF9 2126 9A67 A7DA 390F DEFF 9DD1


pgpG6wXSp08xX.pgp
Description: PGP signature


RE: Re[2]: Sendmail host lookup problem

2005-02-07 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Hexren
 Sent: Sunday, February 06, 2005 2:49 PM
 To: Ted Mittelstaedt
 Cc: freebsd-questions@freebsd.org
 Subject: Re[2]: Sendmail host lookup problem




  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Hexren
  Sent: Sunday, February 06, 2005 1:46 PM
  To: freebsd-questions@freebsd.org
  Subject: Sendmail host lookup problem
 
 
  I have a LAN in the 192.168.0 range. I am trying to send mail from
  192.168.0.78 (gc-infra.steenbuck.net) to 192.168.0.29
  (bettchen.steenbuck.net).
  This leeds to 550 errors. Host unknown (Name server:
  bettchen.steenbuck.net: host not found)
 
  192.168.0.29 is also acting as my DNS Server. Both machines
  have correct (or so I hope) entries in the nameserver.

 TM Either you don't have correct entries in the nameserver, or your
 TM /etc/resolv.conf on gc-infra is not using 192.168.0.29 as it's
 TM nameserver.

 TM What is the output of nslookup on gc-infra when you key in
 TM the bettchen.steenbuck.net name?  What is it when you issue
 TM a set type=mx at the nslookup prompt followed by the
 TM bettchen.steenbuck.net name?  What is it when you key in the
 TM IP number 192.168.0.29?

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

 -

 [gc-infra:~]#nslookup bettchen.steenbuck.net
 Server: 192.168.0.29
 Address:192.168.0.29#53


This is a problem, the output should read:

Server: bettchen.steenbuck.net
Address:192.168.0.29

Name:   bettchen.steenbuck.net
Address: 192.168.0.29

 Name:   bettchen.steenbuck.net
 Address: 192.168.0.29

 -
 [gc-infra:~]#nslookup
  set type=mx
  bettchen.steenbuck.net
 Server: 192.168.0.29
 Address:192.168.0.29#53

 bettchen.steenbuck.net  mail exchanger = 10 bettchen.steenbuck.net.


Here's another possible problem, the output should read:

bettchen.steenbuck.net  preference=10, mail exchanger = 10
bettchen.steenbuck.net
(followed by some glue data)


 -

 [gc-infra:~]#nslookup 192.168.0.29
 Server: 192.168.0.29
 Address:192.168.0.29#53

 29.0.168.192.in-addr.arpa   name =
 bettchen.steenbuck.net.0.168.192.in-addr.arpa.


name should be bettchen.steenbuck.net, not
bettchen.steenbuck.net.0.168.192.in-addr.arpa.


Post your zone files in bettchen as well as named.conf


Ted

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


Re: Traffic upgrade 5.2.1 to 5.3

2005-02-07 Thread Tom Huppi



On Mon, 7 Feb 2005, Florian Hengstberger wrote:

 Hi!

 I want to upgrade my box from 5.2.1 to 5.3 stable.
 I have limited download, so, if I update the sources using cvsup
 in order to make buildworld ..., is there a way to roughly estimated
 the traffic.
 Case it's impossible, what's the typical order? A few MB, a few dozen
 MB or more?

I've recently used this technique to update several boxes from
5.1-ish to 5.3 with good results.  I'm behind a 24k modem
connection, and I don't recall the cvsup taking more than an hour
when I did it right.  Note that you will want to make sure that
you have not just /usr/src/sys, but also thing like
/usr/src/usr.bin, /usr/src/gnu, etc.  From the original iso
install, my system contained only the former and I had to download
more than I should have (via cvsup.)  I believe the rest to be on
the original distribution iso image, but in my case I just let the
download proceed.  I had built custom kernels so I thought my
/usr/src was complete, but it turns out that you need a lot more
to 'buildworld' (duh!) and I only realized this when I started the
cvsup (since it slipped by me in reading the handbook.)

You should be able to tar up your original /usr/src and start a
cvsup and see if you like how it's preceeding (if you have disk
space.)  I've played all kinds of games taking such tarballs from
one machine to another on cdrom, and have had no problems.

 Another thing is that there seem to be problems with the avr-tools
 my current work depends on. Is it somehow possible to keep this package
 as it is while upgrading.
 What about upgrading the kernel only?

A 'buildworld' will upgrade more than the 'kernel only' (system
compiler, system utilities, etc), but will _not_ upgrade things
from the ports collection.  Nor will a cvsup of 'src-all' update
your ports skeleton.  iirc, a cvsup of 'ports-all' tends to take
longer than one of 'src-all' (when done logically as per my above
notes)  but it's certainly dependant on the history of what you
start out with.

I did not notice any of my applications from pre-buildworld not
working after the upgrade, but I pretty much set to the task of
rebuilding a lot of them right way (after a separate upgrade of my
ports tree) so I didn't put much time into testing this.  You
would want to read /usr/src/UPDATING to try to spot any potential
gotcha's that you might tip you over with respect to running
earlier software that might be important to you.

BTW, you probably know this, but there are a few things to read up
on and think about (i.e., mergemaster -p, mergemaster, backups,
etc.)  Again, I had great luck with the procedures, but it did
take some thinking about and some time, and a few mis-steps.  I'd
mainly re-installed from scratch as a means of upgrading prior to
this.

I hope this helps.  Hopefully someone took better notes of the
size questions you have.

Thanks,

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


RE: favor

2005-02-07 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Joshua Tinnin
 Sent: Sunday, February 06, 2005 2:20 PM
 To: freebsd-questions@freebsd.org
 Cc: Anthony Atkielski
 Subject: Re: favor
 
 
 How do you suggest this list and all others like it deal with 
 this matter, in 
 practical terms? Don't suggest hiring lawyers, as that's 
 hardly practical. 

Clearly I think Anthony is saying in his posts to me that the
list managers should e-mail legal boilerplate to every subscriber
that they would then agree to, which would basically state that
the poster waives their copyrights if they post.

The problem I see is that doing this creates a
contract, which is one of the issues we are disagreeing on.
It also changes the signups on the list to that of an
access-controlled forum which means that
the owners of the forum are exercising editorial control,
meaning they are republishing posts to the list, which means
they have to obtain rights to do this from each poster when
that poster posts.

He is saying that since the act of signing up for the list creates a 
contract between the list owners and the poster, the list owner
should issue a contract to the signupee that outlines their
(lack of) rights if they post.

I disagree that the act of signing up for the list creates a
contract, since the list is publically available without signup,
and espically since the list can be posted to by the general
public without signup.

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


Re: .snap

2005-02-07 Thread Svein Halvor Halvorsen

* Gert Cuykens [2005-02-07 00:32 +0100]
  What are .snap directories ? 


Take a look at these references:

 -  mksnap_ffs(8)
 -  dump(8)   [under the -L option]
 -  mount(8)  [under the -o snapshot option]
 -  /usr/src/sys/ufs/ffs/README.snapshot


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


Re: favor

2005-02-07 Thread Eric Kjeldergaard
After having read this thread (yes, every line of it...) I'm really
quite interested in it.  Unfortunately, an analogy dropped off perhaps
below Señor Atkielski's radar so I thought I would recreate it and
hear his (and of course everyone else's) opinion(s) on it.

Let us make an analogue betwixt our Valerie and one who submits to the
local newspaper.  There is a roughly equal level of consent given in
both cases, and the mailing list (newspaper company) is understood to
be able to reproduce this to all subscribers.  Further, the mail
(newspaper) is archived in both cases by the mailing list authority
(newspaper company) and third parties (mirrors of mailing lists, other
mailing list archives, libraries, etc.) all of which are generally
available for viewing by the public.

So this request would be likened unto our Valerie writing to the
newspaper company and asking that any and all copies of the paper
which her submission was quoted in be burnt/destroyed/what have you. 
The newspaper company certainly has legal right to destroy their
archived copies and may choose to do so, though I doubt the newspaper
agency is legally bound to do that.

Would this not be a reasonable analogy (if we throw out the fact that
the newspaper companies are generally capitalist entities since it has
little bearing here)?  Certainly the newspaper didn't require a
contract to be signed by its submitters before distributing publicly
their submissions.  I don't see that a mailing list would need such a
thing.  The submissions are given under the understanding that they
shall be publicly available both to subscribers and non subscribers in
their favourite restaurants and libraries.

-- 
If I write a signature, my emails will appear more personalised.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: smbfs problems

2005-02-07 Thread Eric Kjeldergaard
 I don't have X on the FBSD machine so I was not able to test viewing
 the JPEG images locally on the FBSD side.

As kind of an aside, cat can tell you quite adequately if you can view
the contents of the file.


-- 
If I write a signature, my emails will appear more personalised.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



Re: problem with realplayer

2005-02-07 Thread Loren M. Lang
On Sun, Feb 06, 2005 at 01:41:35AM -0600, Brian John wrote:
 Hello, whenever I try to run realplayer I get the following:
 $ realplay
 
 (realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
 module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
 Failed to load pixbuf file: 
 /usr/local/lib/RealPlayer/share/realplay/icon.png: Couldn't recognize 
 the image file format for file 
 '/usr/local/lib/RealPlayer/share/realplay/icon.png'

Install graphics/linux-gdk-pixbuf from ports.

 
 (realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
 module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
 
 (realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
 module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
 
 (realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
 module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
 
 (realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
 module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
 
 (realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
 module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
 
 (realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
 module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
 
 (realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
 module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
 
 (realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
 module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
 
 (realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
 module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
 
 (realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
 module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
 
 (realplay.bin:94093): GLib-WARNING **: GError set over the top of a 
 previous GError or uninitialized memory.
 This indicates a bug in someone's code. You must ensure an error is NULL 
 before it's set.
 The overwriting error message was: Couldn't recognize the image file 
 format for file '/usr/local/lib/RealPlayer/share/default/pause.png'
 
 (realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
 module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
 
 (realplay.bin:94093): GLib-WARNING **: GError set over the top of a 
 previous GError or uninitialized memory.
 This indicates a bug in someone's code. You must ensure an error is NULL 
 before it's set.
 The overwriting error message was: Couldn't recognize the image file 
 format for file '/usr/local/lib/RealPlayer/share/default/volume_mute.png'
 
 (realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
 module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
 
 (realplay.bin:94093): GLib-WARNING **: GError set over the top of a 
 previous GError or uninitialized memory.
 This indicates a bug in someone's code. You must ensure an error is NULL 
 before it's set.
 The overwriting error message was: Couldn't recognize the image file 
 format for file '/usr/local/lib/RealPlayer/share/default/volume_off.png'
 
 (realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
 module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
 
 (realplay.bin:94093): GLib-WARNING **: GError set over the top of a 
 previous GError or uninitialized memory.
 This indicates a bug in someone's code. You must ensure an error is NULL 
 before it's set.
 The overwriting error message was: Couldn't recognize the image file 
 format for file '/usr/local/lib/RealPlayer/share/default/volume_low.png'
 
 (realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
 module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
 
 (realplay.bin:94093): GLib-WARNING **: GError set over the top of a 
 previous GError or uninitialized memory.
 This indicates a bug in someone's code. You must ensure an error is NULL 
 before it's set.
 The overwriting error message was: Couldn't recognize the image file 
 format for file '/usr/local/lib/RealPlayer/share/default/volume_mid.png'
 
 (realplay.bin:94093): GdkPixbuf-WARNING **: Can not open pixbuf loader 
 module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
 
 (realplay.bin:94093): GLib-WARNING **: GError set over the top of a 
 previous GError or uninitialized memory.
 This indicates a bug in someone's code. You must ensure an error is NULL 
 before it's set.
 The overwriting error message was: Couldn't recognize the image file 
 format for file '/usr/local/lib/RealPlayer/share/default/volume_high.png'
 
 ** (realplay.bin:94093): WARNING **: No builtin or dynamically loaded 
 modules
 were found. Pango will not work correctly. This 

Re: Very general shutdown question

2005-02-07 Thread Dick Davies
* Steven [EMAIL PROTECTED] [0203 23:03]:
 Hello Ned,
 
 you can add the user to the operator group. it is possible to run 
 shutdown then (but not halt etc).

Be caneful of that, I think operator  has other privileges too
(can read from any disk for starters).

 
 You could also create a shutdown user with a login shell pointing to a 
 shutdown script.

But that won't work if they still don't have permission to run it...

-- 
'...and then we wrote scripts to write the configs for us, and using
these scripts, we made mistakes in a faster, more automated manner.'
-- A Gentle Introduction to Cricket, on MRTG configuration
Rasputin :: Jack of All Trades - Master of Nuns
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Very general shutdown question

2005-02-07 Thread James Alexander Cook
On Mon, Feb 07, 2005 at 11:49:22AM +, Dick Davies wrote:
 * Steven [EMAIL PROTECTED] [0203 23:03]:
  Hello Ned,
  
  you can add the user to the operator group. it is possible to run 
  shutdown then (but not halt etc).
 
 Be caneful of that, I think operator  has other privileges too
 (can read from any disk for starters).
 
  
  You could also create a shutdown user with a login shell pointing to a 
  shutdown script.
 
 But that won't work if they still don't have permission to run it...
 

What if you put the shutdown user in the operator group?

I don't plan to use this solution, but out of curiousity, are there any
security problems with creating a privileged user with a widely known password
but a login shell that does something specific, like shutting down the system?

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


Re: what is /entrophy ?

2005-02-07 Thread Jan Grant
On Sun, 6 Feb 2005, Jay Moore wrote:

 On Wednesday 02 February 2005 05:52 am, Gert Cuykens wrote:
 
  what is /entrophy ? can i delete it ?
 
 I believe it is a mis-spelled version of /entropy

Your computer attempts to collect randomness by sampling the timings 
of various physical events. That's what the /dev/random device provides: 
this kernel-harvested randomness. Various cryptographic systems require 
a supply of good random numbers in order to operate.

When the machine first boots, the kernel's entropy pool is empty. It 
would consequently take potentially quite a few minutes to harvest 
sufficient randomness from interrupts in order to satisfy the needs of 
such things as sshd.

The solution is the /entropy file: when the machine shuts down, it saves 
spare random bits that have not yet been used into this file. On 
reboot, the kernel's random pool is reinitialised using these spare 
bits. Assuming nobody's sneaked a peek at them in the itme the machine's 
been turned off, this is a reasonable way to quickly satisfy the startup 
requirements for randomness.

-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287864 or +44 (0)117 9287088 http://ioctl.org/jan/
You see what happens when you have fun with a stranger in the Alps?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


/var Full

2005-02-07 Thread Warren
im trying to get cacti working, but since im using a small P2 300 machine with 
a small hdd my /var has suddenly become full and im wodering what is safe and 
not safe so to speak to del in the /var dir .. the following are the dir's i 
have.

drwxr-xr-x   2 rootwheel 512 Feb 24  2004 account
drwxr-xr-x   4 rootwheel 512 Aug  8  2004 at
drwxr-x---   2 rootwheel 512 Feb  5 03:01 backups
drwxr-x---   2 rootwheel 512 Aug  8  2004 crash
drwxr-x---   3 rootwheel 512 Aug  8  2004 cron
drwxr-xr-x  10 rootwheel 512 Feb  6 20:51 db
dr-xr-xr-x   2 rootwheel 512 Feb 24  2004 empty
drwx--   2 rootwheel 512 Feb 24  2004 heimdal
drwxr-xr-x   2 rootwheel 512 Feb  7 03:09 log
drwxrwxr-x   3 rootmail  512 Feb  4 21:41 mail
drwxr-xr-x   2 daemon  wheel 512 Aug  8  2004 msgs
drwxr-xr-x   5 rootwheel 512 Oct  3 22:26 named
drwxr-xr-x   2 rootwheel 512 Feb 24  2004 preserve
drwxr-xr-x   5 rootwheel 512 Feb  5 12:15 run
drwxrwxr-x   2 rootdaemon512 Feb 24  2004 rwho
drwx--x---   4 rootuucp  512 Jan 21 22:40 smtpd
drwxr-xr-x   8 rootwheel 512 Aug  8  2004 spool
drwxrwxrwt   7 rootwheel 512 Feb  6 19:52 
-- 
Yours Sincerely
Shinjii
http://www.shinji.nq.nu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ac`97

2005-02-07 Thread aaa aaa

Please remind me how to write ac`97 in /boot/device.hints?
FreeBSD 5.2.1
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /var Full

2005-02-07 Thread albi
Warren wrote:
im trying to get cacti working, but since im using a small P2 300 machine with 
a small hdd my /var has suddenly become full and im wodering what is safe and 
not safe so to speak to del in the /var dir .. the following are the dir's i 
have.
--- cut 
drwxr-xr-x   2 rootwheel 512 Feb  7 03:09 log
drwxrwxr-x   3 rootmail  512 Feb  4 21:41 mail
these two directories are probably the ones you want to look at, some 
logfiles might have grown pretty big, and maybe there's loads of mail in
/var/mail ? (switching to email for your users in their home-dirs is an 
idea)

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


ac`97

2005-02-07 Thread aaa aaa


how to write ac`97 into /boot/device.hints
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /var Full

2005-02-07 Thread Warren
On Mon, 7 Feb 2005 11:20 pm, albi wrote:
 Warren wrote:
  im trying to get cacti working, but since im using a small P2 300 machine
  with a small hdd my /var has suddenly become full and im wodering what is
  safe and not safe so to speak to del in the /var dir .. the following are
  the dir's i have.

 --- cut 

  drwxr-xr-x   2 rootwheel 512 Feb  7 03:09 log
  drwxrwxr-x   3 rootmail  512 Feb  4 21:41 mail

 these two directories are probably the ones you want to look at, some
 logfiles might have grown pretty big, and maybe there's loads of mail in
 /var/mail ? (switching to email for your users in their home-dirs is an
 idea)

Sadly neither the log dir nor mail had much in it since they where the 1st 2 i 
also thought of.

-- 
Yours Sincerely
Shinjii
http://www.shinji.nq.nu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /var Full

2005-02-07 Thread albi
Warren wrote:
Sadly neither the log dir nor mail had much in it since they where the 1st 2 i 
also thought of.
what about /var/tmp ? also, a du -h /var might help
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Electricity bill [was: Re: Leaving a Computer Running ?]

2005-02-07 Thread Bart Silverstrim
On Feb 7, 2005, at 3:34 AM, markzero wrote:
* Erik Trulsson [2005-02-05 23:55 +0100]
 Also keep in mind that if you leave the computer running all the 
time
 it will show up on your electricity bill, so if you wish to save 
power
 you should shut down your computer over night.
Given that your house needs to be warmed up (a presumption I think is
correct for Sweden as you appears to be sending from; it sure does for
Norway, I don't know about the OP), it does not matter where that heat
comes from. If your other heating is termostatically controlled, then
running your computer all night long uses no less electricity than 
leaving
your heating on. Eventually, all those kWhs ends up as heat. You might
just as well use it for something usefull in the way from electric to
thermic energy, and not just send your electrons through an electric
resistance for nothing (except heat-generation)!

Actually, I've found that five machines, each with two disks, onboard
graphics and sound, an average 700mhz P3 with a 250w power supply
haven't really made a dent on my electricity bill. In the summer of
last year, however, I bought an air conditioner and this added £40
(roughly $75) to my bill. I see I'm not the only one that thought of
using the servers AS the heating!
My basement where my Apple G5 runs, during the cold snaps we've 
recently had in PA, was typically ~50-55 degrees Farenheit.  The 
computer keeping itself warm was a bonus.

As for electrical use, I remember I once needed to drain an APC UPS so 
I hooked it up to a Christmas tree in the living room to run it down.  
The load meter on the front, although it's a very very rough indicator 
of load, had the same number of bars for the Xmas tree as it did for 
the old PIII with monitor and some peripherals hooked up to it...

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


control udp, icmp packets

2005-02-07 Thread adrian kok
Hi all

I am running zebra in freebsd.
but can I have feature like cisco iso?
I got the document from cymru about icmp and udp as
follows:

I tried the dummynet but it is not working properly!
If you have this experience about dummynet working
fine in router, please share to me.

Thank you

 ! Allow UDP to occupy no more than 2 Mb/s of the
pipe.
 rate-limit input access-group 150 201 25
25 conform-action transmit exceed-action drop
 ! Allow ICMP to occupy no more than 500 Kb/s of the
pipe.
 rate-limit input access-group 160 50 62500 62500
conform-action transmit exceed-action drop
 ! Allow multicast to occupy no more than 5 Mb/s of
the pipe.
 rate-limit input access-group 170 500 375000
375000 conform-action transmit exceed-action drop

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


control udp, icmp packets

2005-02-07 Thread adrian kok
Hi all

I am running zebra in freebsd.
but can I have feature like cisco iso?
I got the document from cymru about icmp and udp as
follows:

I tried the dummynet but it is not working properly!
If you have this experience about dummynet working
fine in router, please share to me.

Thank you

 ! Allow UDP to occupy no more than 2 Mb/s of the
pipe.
 rate-limit input access-group 150 201 25
25 conform-action transmit exceed-action drop
 ! Allow ICMP to occupy no more than 500 Kb/s of the
pipe.
 rate-limit input access-group 160 50 62500 62500
conform-action transmit exceed-action drop
 ! Allow multicast to occupy no more than 5 Mb/s of
the pipe.
 rate-limit input access-group 170 500 375000
375000 conform-action transmit exceed-action drop

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


Re: /var Full

2005-02-07 Thread Warren
On Mon, 7 Feb 2005 11:34 pm, albi wrote:
 Warren wrote:
  Sadly neither the log dir nor mail had much in it since they where the
  1st 2 i also thought of.

 what about /var/tmp ? also, a du -h /var might help

awesome .. i was wondering about a command to list the stuff inthe individual 
dir's and it seems some old packages that have been de-installed ahev remnets 
and a lot of them in the /var/db port totalling a significant amount of Meg.  
Thanks for the help.

-- 
Yours Sincerely
Shinjii
http://www.shinji.nq.nu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portsdb -uU fails

2005-02-07 Thread Lowell Gilbert
Vonleigh Simmons [EMAIL PROTECTED] writes:

  Have you got a refuse file?  Don't.
 
   No.
 
  Are you doing the cvsup on the ports-all collection,
  with a cvs tag of '.'?  If not, do.
 
   Yes and yes.

Have you got enough bandwidth to comfortably remove the whole
multimedia directory and cvsup again?  The problem you're hitting it
that you are *not* getting the whole ports collection.  You need to
figure out why that is; I am not seeing the same symptoms.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Very general shutdown question

2005-02-07 Thread Lowell Gilbert
Anish Mistry [EMAIL PROTECTED] writes:

 On Sunday 06 February 2005 11:46 am, Ned Harrison wrote:
  I run FreeBSD 5.3 on my home PC in a stand alone machine as a desktop.   Is
  it possible to set it up so an ordinary user can shut the system?  I've
  created a couple of accounts that are not in the wheel group so I can give
  friends and house guests the chance to play on a non-Microsoft system.   I
  don't want to give them root access just to shut it down.
 
  None of the books which I have discuss using FreeBSD in this way.  They are
  mostly geared to setting up networks running it for businesses.  Areas
  where one may not want an ordinary user to be able to shutdown the machine.
  However, I prefer having the machine off when I'm not on it.  If it's not
  possible that fine I can continue working around it like I do now.
 
 The easiest way I've found to do this is assuming you have X installed and 
 are 
 using a login manager ie. KDM/GDM/Login.app just use the shutdown 
 functionality of the login manager to shutdown the system.  The most fool 
 proof way if you've got ACPI on this system it to just tap the power button 
 and it'll shutdown.

For this case, where it sounds like the users will always be at the
console, that last one has to be the easiest way to go.  Or maybe
setting a key combination to do the same (ctrl-alt-del, anyone?).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /var Full

2005-02-07 Thread Erik Norgaard
Warren wrote:
im trying to get cacti working, but since im using a small P2 300 machine with 
a small hdd my /var has suddenly become full and im wodering what is safe and 
not safe so to speak to del in the /var dir .. the following are the dir's i 
have.

drwxr-xr-x   2 rootwheel 512 Feb 24  2004 account
drwxr-xr-x   4 rootwheel 512 Aug  8  2004 at
drwxr-x---   2 rootwheel 512 Feb  5 03:01 backups
drwxr-x---   2 rootwheel 512 Aug  8  2004 crash
drwxr-x---   3 rootwheel 512 Aug  8  2004 cron
drwxr-xr-x  10 rootwheel 512 Feb  6 20:51 db
dr-xr-xr-x   2 rootwheel 512 Feb 24  2004 empty
drwx--   2 rootwheel 512 Feb 24  2004 heimdal
drwxr-xr-x   2 rootwheel 512 Feb  7 03:09 log
drwxrwxr-x   3 rootmail  512 Feb  4 21:41 mail
drwxr-xr-x   2 daemon  wheel 512 Aug  8  2004 msgs
drwxr-xr-x   5 rootwheel 512 Oct  3 22:26 named
drwxr-xr-x   2 rootwheel 512 Feb 24  2004 preserve
drwxr-xr-x   5 rootwheel 512 Feb  5 12:15 run
drwxrwxr-x   2 rootdaemon512 Feb 24  2004 rwho
drwx--x---   4 rootuucp  512 Jan 21 22:40 smtpd
drwxr-xr-x   8 rootwheel 512 Aug  8  2004 spool
drwxrwxrwt   7 rootwheel 512 Feb  6 19:52 
Although you have now found your solution, I'd recommend for such a 
question to submit the output of 'du -d1' instead - this will show which 
directories are using up the space.

Cheers, Erik
--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[SOLVED] Re: jade error: Undefined symbol _ZNK6Origin14asEntityOriginEv

2005-02-07 Thread Alejandro Pulver
On Sun, 6 Feb 2005 18:19:51 -0800
Kris Kennaway [EMAIL PROTECTED] wrote:

 On Sun, Feb 06, 2005 at 11:09:22PM -0300, Alejandro Pulver wrote:
  On Sun, 6 Feb 2005 22:23:18 -0300
  Alejandro Pulver [EMAIL PROTECTED] wrote:
  
   Hello,
   
   I installed 'docproj-jadetex' to learn how to make Docbook documents (in 
   SGML). When I run 'nsgmls' (texproc/sp) (when doing 'make' on a FreeBSD 
   documentation source, or manually) it outputs the following error:
   
   /libexec/ld-elf.so.1: /usr/local/lib/libstyle.so.1: Undefined symbol 
   _ZNK6Origin14asEntityOriginEv
  
   How do I fix it?
  
  Sorry, I made a mistake: the program that generated the error message was 
  'jade' (port is 'print/jadetex'), not 'nsgmls'.
 
 You forgot to mention details about your FreeBSD installation.  Did
 you formerly run FreeBSD 4.x and then update to 5.x?  If so, you need
 to rebuild your ports, because C++ code compiled with gcc 2.95 (which
 is the version in 4.x) is incompatible with code compiled with gcc 3.4
 (in 5.3).  portupgrade is the easiest way to do this, e.g. with the -P
 switch.
 
 Kris
 

Sorry, I was tired and I made mistakes and forgot a couple of things.

I have FreeBSD 5.3 (from a fresh installation), and I never updated my 
system/ports. I installed 'jade' from a package: jade-1.2.1_8.

I solved the problem. The reason was that I installed 'sp' (textproc/sp) from a 
package (sp-1.3.4) (as the 'fdp-primer' says) and it overrited (without saying 
it conflicts with 'jade') the following programs/libraries:

bin/nsgmls
bin/sgmlnorm
bin/spam
bin/spent
bin/sx
[ header files in include/sp ]
lib/libsp.a
lib/libsp.so.1

So the missing symbol was in '/usr/local/lib/libsp.so.1' (which was overritten 
by 'sp'):

nm /usr/local/lib/libsp.so.1 | grep _ZNK6Origin14asEntityOriginEv
0009cf04 T _ZNK6Origin14asEntityOriginEv

While doing that in the library from 'sp' outputs nothing.

This is strange: 'fdp-primer' says one need to install it, but it replaces 
binaries without warning and finally 'jade' does not work.

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


Re: /var Full

2005-02-07 Thread Warren
On Tue, 8 Feb 2005 12:19 am, Erik Norgaard wrote:
 Warren wrote:
  im trying to get cacti working, but since im using a small P2 300 machine
  with a small hdd my /var has suddenly become full and im wodering what is
  safe and not safe so to speak to del in the /var dir 

 Although you have now found your solution, I'd recommend for such a
 question to submit the output of 'du -d1' instead - this will show which
 directories are using up the space.

 Cheers, Erik

enterprise# du -d1 /var
2   /var/.snap
2   /var/account
6   /var/at
16  /var/backups
4   /var/crash
8   /var/cron
32946   /var/db
2   /var/empty
2   /var/heimdal
2   /var/log
4   /var/mail
4   /var/msgs
2   /var/preserve
40  /var/run
2   /var/rwho
185556  /var/spool
5376/var/tmp
20  /var/yp
26  /var/named
28  /var/smtpd
224050  /var

-- 
Yours Sincerely
Shinjii
http://www.shinji.nq.nu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


startup

2005-02-07 Thread Marshall Kiam-Laine
***hi all, rookie fiddler calling :)

   just loaded fbsd5.3amd64 but it stopped at the login prompt.

   (1) $startkde didnt work, is that the right command please ?

   (2) what command to start gnome ?

   (3) how to tell it to start one of the GUI automatically ?

   many thanks,   [EMAIL PROTECTED]

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


Re: /var Full

2005-02-07 Thread chip
On Mon, 7 Feb 2005 22:48:41 +1000, Warren
[EMAIL PROTECTED] wrote:
 im trying to get cacti working, but since im using a small P2 300 machine with
 a small hdd my /var has suddenly become full and im wodering what is safe and
 not safe so to speak to del in the /var dir .. the following are the dir's i
 have.
 

 --
 Yours Sincerely
 Shinjii
 http://www.shinji.nq.nu


I went through /var cleaning this up myself yesterday.   I found the
httpd-access.log and httpd-error.log was quite large and wouldn't turn
over after a certain date or size.  I also saw the snmpd.log was
getting pretty big.   I see that you've checked mail already.  My
cacti user mailbox was quite large as well.   ...just a few more
things to check...

-- 
Just my $.02, your mileage may vary,  batteries not included, etc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sendmail masquerading configuration

2005-02-07 Thread Ruben de Groot
On Sun, Feb 06, 2005 at 02:28:17AM -0800, Ted Mittelstaedt typed:
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Ian Moore
  Sent: Sunday, February 06, 2005 2:07 AM
  To: freebsd-questions@freebsd.org
  Subject: Sendmail masquerading configuration
  
  
  Hi,
  I'm hoping someone can help me with this.
  
  I want to make sendmail (on a 5.3-Release server) leave the 
  host name out of 
  the sender address when sending mail from that machine.
  I.E. mail from root currently has a sender address of 
  [EMAIL PROTECTED], I 
  want it to be [EMAIL PROTECTED] instead.
  
 
 Not possible, I think, as I recall masquerading only works on 
 users not in the T macro. (ie: Trusted Users)  root is
 most definitely in this macro.

Actually, I believe it's the EXPOSED_USERS macro, and it can be
adjusted; e.g. in sendmail.cf:

C{E}root

just remove the root user from this line. In conjunction with a 
MASQUERADE_AS macro, this will allow root to send email coming from
your domain without your hostname.
You might want to use the MASQUERADE_ENVELOPE macro as well, 'cause
that's probably what your isp is filtering on (the envelope_from
address). Read all about it in /usr/share/sendmail/cf/README.

BTW, I agree that masquerading is NOT the proper way to do these
things.

Ruben

 Masquerading is a bullshit way of doing this kind of
 thing anyhow.  Use the -f switch if your calling the sendmail
 binary directly from programs.  If your using /bin/mail 
 as a MUA, then get a better one like Elm or Pine that
 lets you do this.
 
 Ted
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


handling multiple ips on a box?

2005-02-07 Thread Ken Hawkins
Your message
  To:  'freebsd-questions@freebsd.org'
  Subject: handling multiple ips on a box?
  Sent:Wed, 2 Feb 2005 10:17:55 -0600
did not reach the following recipient(s):
'freebsd-questions@freebsd.org' on Fri, 4 Feb 2005 10:18:33 -0600
The message was undeliverable because the recipient specified in the
recipient postal address was not known at this address
The MTS-ID of the original message is: c=US;a=
;p=Broadjam;l=HERMES-050202161755Z-19504
MSEXCH:IMS:Broadjam:HQ:HERMES 3450 (000B09AA) 450 Client host
rejected: cannot find your hostname, [68.249.86.134]

From: Ken Hawkins [EMAIL PROTECTED]
Date: February 2, 2005 11:17:55 AM EST
To: 'freebsd-questions@freebsd.org' freebsd-questions@freebsd.org
Subject: handling multiple ips on a box?
Sorry if this is not quite the place to ask however, if it is not can
someone point me toward the right resource (on the net) for answers. I
am
running FreeBSD on a box with an ethernet;
ifconfig
em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
inet ???.???.???.151 netmask 0x broadcast 10.50.255.255
inet6 fe80::230:48ff:fe2c:76e2%em0 prefixlen 64 scopeid 0x1
inet ???.???.???.152 netmask 0x broadcast 10.50.1.152
inet ???.???.???.153 netmask 0x broadcast 10.50.1.153
ether 00:30:48:2c:76:e2
media: Ethernet 100baseTX full-duplex
status: active
the ??? are just our ips. you will notice that .152 and .153 are
aliases
and are mapped to external ips via a switch. my question is how can I
resolve names to the ip aliases on the box? ie
???.???.???.152 - a.net
and
???.???.???.153 - b.net
is this a /etc/hosts kind of entry?
???.???.???.152web1.a.net web1
???.???.???.152web1.a.net.
???.???.???.153web1.b.net web1
???.???.???.153web1.b.net.
any help would be greatly appreciated!
ken;
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: wget port

2005-02-07 Thread John J Vaughan
Or you could try using curl instead.
ports/ftp/curl
-John
On Sunday, February 6, 2005, at 01:36  PM, DanGer wrote:
Hi dave,
Sunday, February 6, 2005, 7:11:28 PM, you has on mind:
Hello,
I was wondering what the status of the wget ports was? I've been 
getting
an error about wget 1.8.2 having vulnerabilities so i uninstalled it 
and
installed or tried to install wget-devel, but portaudit said it also 
had
vulnerabilities and it would not permit the install to continue.
Thanks.
Dave.
wget has serious vulnerabilities that aren't already fixed even in
devel port...if you want install wget despite these vulns, try to do
make -DDISABLE_VULNERABILITIES install
--
Best Regards,
+--==/\/\==--+   (__)  FreeBSD
| DanGer [EMAIL PROTECTED] |\\\'',)  The
| [EMAIL PROTECTED] ICQ261701668 |  \/  \ ^Power
| http://danger.homeunix.org |  .\._/_)To
+--==\/\/==--+ Serve
[ Joe's Moturary: You Stab 'Em, We Slab 'Em! ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: startup

2005-02-07 Thread Andrew L. Gould
On Monday 07 February 2005 08:33 am, Marshall Kiam-Laine wrote:
 ***hi all, rookie fiddler calling :)

just loaded fbsd5.3amd64 but it stopped at the login prompt.

(1) $startkde didnt work, is that the right command please ?

(2) what command to start gnome ?

(3) how to tell it to start one of the GUI automatically ?

many thanks,   [EMAIL PROTECTED]

The documentation at the link below should help:

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

Best of luck,

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


Re: VRRP

2005-02-07 Thread Matthew Seaman
On Sat, Feb 05, 2005 at 11:54:57AM +0100, Nils Vogels wrote:
 Chris Knipe wrote:
 
 | Hi,
 |
 | Does FreeBSD have any support, or does anyone know of any open
 | source applications that can be used to get some form of VRRP into
 | FreeBSD 4.11 / 5.x?
 
 A quick make search learns:
 
 | cd /usr/ports
 | make search key=vrrp
 Port:   freevrrpd-0.8.7_1
 Path:   /usr/ports/net/freevrrpd
 Info:   This a VRRP RFC2338 Compliant implementation under FreeBSD
 Maint:  [EMAIL PROTECTED]
 B-deps:
 R-deps:
 

If you're running 5.x-STABLE, then OpenBSD's CARP has been ported.  See:


http://www.freebsd.org/cgi/man.cgi?query=pfsyncapropos=0sektion=0manpath=FreeBSD+6.0-currentformat=html

(Yes, I know that man page is from 6-CURRENT.  They don't seem to have
5-STABLE manpages up on the site right now.)

 Cheers,

 Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   8 Dane Court Manor
  School Rd
PGP: http://www.infracaninophile.co.uk/pgpkey Tilmanstone
Tel: +44 1304 617253  Kent, CT14 0JL UK


pgpshhubVzX4y.pgp
Description: PGP signature


Re: Electricity bill [was: Re: Leaving a Computer Running ?]

2005-02-07 Thread Anthony Atkielski
markzero writes:

m Actually, I've found that five machines, each with two disks, onboard
m graphics and sound, an average 700mhz P3 with a 250w power supply
m haven't really made a dent on my electricity bill.

My bills have been unusually high lately and it prompted me to do some
calculation to see if the computers were responsible for the bills.  I
have three computers running continuously, but the calculations showed
that they still don't make much of a dent in my electricity bill, even
in my small apartment.  The total is about 500 kwh per month, out of
some 1400 kwh.  I don't know where the rest is going, but I suspect that
an aging electric water heater is consuming more than all the computer
equipment combined.  There's no other explanation (I run A/C in summer
which ups the bill considerably, but that doesn't apply at this time of
year).

Since the computers are necessary for both work and play, I consider
running them to be electricity wisely used.  I do turn the monitors off
when I'm not home, but since they are all flat panels now, that
represents only a trivial amount of electricity.

-- 
Anthony


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


RE: Cleaning Out Ports?

2005-02-07 Thread Matt LaPlante
That's correct; this type of functionality is exactly what I was searching
for.


 -Original Message-
 From: Loren M. Lang [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, February 01, 2005 6:50 AM
 To: Michael C. Shultz
 Cc: freebsd-questions@freebsd.org; Matt LaPlante
 Subject: Re: Cleaning Out Ports?
 
 
 There's still one missing part to it that gentoo's portage has.  In
 addition to the standard database of installed packages, emerge keeps
 track
 of every single package that you explicitly installed in a file called
 world.  Upgrades read this file and update all the packages listed,
 including there dependencies first.  Now if a package that was installed
 to satisfy a dependency, but not explicitly installed is now longer
 needed, it will stay on the system until the next time emerge --depclean
 is run.  --depclean tells emerge to remove any packages that are not in
 the world file and are not needed to satify dependencies for packages in
 the world file, either directly or indirectly.  I think this is the
 behavior that the original poster was asking for.  AFAIK, this is not
 yet possible in FreeBSD, but it should be a trivial matter to add
 something like a world file to portupgrade.  Maybe, if I have time this
 week I could work on a patch...
 
 

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


Re: favor

2005-02-07 Thread Anthony Atkielski
Ted Mittelstaedt writes:

TM Clearly I think Anthony is saying in his posts to me that the
TM list managers should e-mail legal boilerplate to every subscriber
TM that they would then agree to, which would basically state that
TM the poster waives their copyrights if they post.

Approximately, yes.  A better agreement would be one that requires that
the subscriber license his posts for archiving and public access and
agree that he will not consider this an invasion of privacy.
Relinquishing copyright is a huge step and it's pretty rare to ask
anyone to do it.

An alternative is to make the archive accessible only to current
members, and to purge posts from any member who leaves the list.
There's still a bit of risk in that but it eliminates most potential
objections.

TM The problem I see is that doing this creates a
TM contract, which is one of the issues we are disagreeing on.

A contract exists already.  This just formalizes the terms.

TM It also changes the signups on the list to that of an
TM access-controlled forum which means that the owners of the forum are
TM exercising editorial control, meaning they are republishing posts to
TM the list, which means they have to obtain rights to do this from
TM each poster when that poster posts.

Requiring that a person subscribe to receive messages is already access
control.

If you don't want any access control, you must go to an open forum
format and eliminate the mailing list.  Then anyone can read and anyone
can post ... like USENET.

TM He is saying that since the act of signing up for the list creates a
TM contract between the list owners and the poster, the list owner
TM should issue a contract to the signupee that outlines their (lack
TM of) rights if they post.

The act of doing just about anything with another person or organization
often creates a contract of some kind.  Making it explicit only helps to
protect both parties from misunderstandings and litigation.

TM I disagree that the act of signing up for the list creates a
TM contract, since the list is publically available without signup,
TM and espically since the list can be posted to by the general
TM public without signup.

It's impossible to receive the list by e-mail without signing up. A
person who signs up has every reason to believe that only other people
who have also signed up will receive his posts, since that's how mailing
lists normally work. He also has every reason to believe that his posts
will be ephemeral, existing only as e-mail messages, since again that is
how mailing lists work. Archiving messages without telling subscribers
about it and requiring them to agree with it only invites trouble.

It should be kept in mind that when geeks meet lawyers, the geeks always
lose.

-- 
Anthony


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


Should nwfs and ncp* be working in 5.3R?

2005-02-07 Thread Bob Johnson
I'm trying to use nwfs and the ncp- utilities and when I do I get a 
kernel panic (at the moment I forget which one).  Should they be working 
in 5.3R?

# kldstat
Id Refs AddressSize Name
 1   17 0xc040 37ee4c   kernel
 22 0xc077f000 1c180linux.ko
 31 0xc079c000 2b34 if_ef.ko
 41 0xc079f000 47dc snd_via8233.ko
 52 0xc07a4000 1d4fcsound.ko
 62 0xc07c2000 9c50 ncp.ko
 73 0xc07cc000 28a4 libmchain.ko
 81 0xc07cf000 4ad9c8   nvidia.ko
 91 0xc0c7d000 aa3c nwfs.ko
10   14 0xc0c88000 537f0acpi.ko
111 0xc2c94000 2c000nfsclient.ko
121 0xc2da2000 2000 green_saver.ko
# cat /boot/loader.conf
agp_load=NO
if_ef_load=YES
linux_load=YES
ncp_load=YES
nvidia_load=YES
nwfs_load=YES
snd_via8233_load=YES
# ifconfig
[...]
bfe0f0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
ipx 80e39800.e018f3334f
inet6 fe80::2e0:18ff:fef3:334f%bfe0f0 prefixlen 64 scopeid 0x9
ether 00:e0:18:f3:33:4f
bfe0f1: flags=8842BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
ether 00:e0:18:f3:33:4f
bfe0f2: flags=8842BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
ether 00:e0:18:f3:33:4f
bfe0f3: flags=8842BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
ether 00:e0:18:f3:33:4f
[...]
# uname -a
FreeBSD scanner.engnet.ufl.edu 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Wed 
Feb  2 15:40:14 EST 2005 
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/BOBJ27  i386


Results don't change if I move IPX to other frame types, or to all four 
of them simultaneously, and similarly it doesn't seem to matter whether 
I have ipxrouted running or not, nor does it matter whether I boot the 
GENERIC kernel or my normal kernel.

Thanks,
- Bob


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


Re: IP Filter changes in FreeBSD

2005-02-07 Thread Jim Arnold
On Mon, Feb 07, 2005 at 12:24:09AM -0500, Jim Arnold wrote:
 I updated my firewall that is using IPF. I went from FreeBSD 4.7
 stable to 4.11 stable. When using 4.7 stable I only had this is my
 rc.conf file:
 ipfilter_enable=YES
 ipfilter_program=/sbin/ipf
 ipfilter_rules=/etc/ipf.conf
 ipfilter_flags=
 When I went to 4.11 stable I had to uncomment these options in my
 kernel config file:
 options IPFILTER
 options IPFILTER_LOG
 I'm just curious why it worked without the above options in my kernel
 for 4.7 and I had to have them in 4.11?
If you don't have it in your kernel, the module will be loaded at boot
time if it's available.  If you don't have the module either, you
can't use ipfilter.
I must have been using the module with 4.7 stable since I did not 
have that in the kernel I was running with 4.7. After I upgraded to 
4.11 and IPF was not working I edited my kernel config file to 
uncomment the lines for IPF and then compiled the new kernel. I still 
don't have an answer why this happened.

Was the module taken out of 4.11 or an earlier version on FreeBSD? 
I'm just curious as a learning experience what went on in my 
situation.

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


Re: favor

2005-02-07 Thread David Gerard
Anthony Atkielski ([EMAIL PROTECTED]) [050208 03:08]:

 An alternative is to make the archive accessible only to current
 members, and to purge posts from any member who leaves the list.
 There's still a bit of risk in that but it eliminates most potential
 objections.


That would sorta suck. I know I write my questions and answers with a view
to them being searchable on the web maybe months or years later, as I know
how very grateful I am to those whose archived words have helped me before.

So it helps the copyright situation, but breaks the usefulness of any
archive.


- d.



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


Unable to get phpMyAdmin working

2005-02-07 Thread Pat Maddox
I just installed phpMyAdmin from ports, and it didn't look like I
needed to make any changes to the config file.  Initially I set the
authorization type as http, but when it wasn't working, I specified
the root username and password and tried config instead.  I get this
error:

phpMyAdmin was unable to read your configuration file!
This might happen if php finds a parse error in it or php cannot find the file.
Please call the configuration file directly using the link below and
read the php error message(s) that you receive. In most cases a quote
or a semicolon is missing somewhere.
If you receive a blank page, everything is fine.

So then I click on the link to config.inc.php like it says, and it's a
blank page.  So everything should be fine...but it's definitely not. 
Any clue what I need to do?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: favor

2005-02-07 Thread Anthony Atkielski
Eric Kjeldergaard writes:

EK Let us make an analogue betwixt our Valerie and one who submits to the
EK local newspaper.  There is a roughly equal level of consent given in
EK both cases ...

Not so, on two points: (1) the newspaper is obviously available to
anyone (it's on the newsstands), and not only to a selected group, and
(2) the messages to the newspaper appear in print and are thus much less
ephemeral than e-mail messages.  A person sending a letter to a
newspaper knows that everyone may see it, because he saw the newspaper
on the newsstands--that's how newspapers are.  He also knows that his
letter may be archived, because newspapers are on paper and are often
kept in morgues indefinitely.

These assumptions are not valid for mailing lists.  It's reasonable to
assume that a mailing list distributes messages only to people who are
subscribed to the mailing list.  It's also reasonable to assume that the
messages sent to the list don't exist outside of their ephemeral
distribution to the members of the list.

Someone submitting to a periodical with a closed circulation
(subscribers only) would be a closer analogy to the case at hand, but it
still would not match the ephemeral character of a mailing list.

EK Would this not be a reasonable analogy (if we throw out the fact
EK that the newspaper companies are generally capitalist entities since
EK it has little bearing here)?

No, for reasons stated above.

EK Certainly the newspaper didn't require a contract to be signed by
EK its submitters before distributing publicly their submissions.

Many periodicals impose conditions on anyone writing letters to the
editor, which they clearly state in the same place where they give
instructions on how to send letters to the editor.

EK I don't see that a mailing list would need such a thing. The
EK submissions are given under the understanding that they shall be
EK publicly available both to subscribers and non subscribers in their
EK favourite restaurants and libraries.

There is no such understanding with respect to a mailing list.

-- 
Anthony


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


Re: favor

2005-02-07 Thread Anthony Atkielski
David Gerard writes:

DG That would sorta suck. I know I write my questions and answers with
DG a view to them being searchable on the web maybe months or years
DG later, as I know how very grateful I am to those whose archived
DG words have helped me before.

Having to search an archive of e-mail messages as a substitute for real
support sucks to begin with.  I've almost never found anything useful
when searching the archives, and even when I have, it takes longer to
find it in the archives than it does to just ask the question again.

DG So it helps the copyright situation, but breaks the usefulness of
DG any archive.

The copyright situation is an unavoidable legal mandate, not an option.
You cannot defend against an infringement action by saying that
respecting copyright would have been inconvenient for you.

-- 
Anthony


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


Re: favor

2005-02-07 Thread Eric Kjeldergaard
  Archiving messages without telling subscribers
 about it and requiring them to agree with it only invites trouble.

http://lists.freebsd.org/mailman/listinfo/freebsd-questions

This is the page on which you sign up.  You'll notice it says this in the about:

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

  To see the collection of prior postings to the list, visit the
freebsd-questions Archives.

Since we are discussing implicit contracts, I would think that the
announcement that the collection of prior postings is linked to and
mentioned/described to be reasonable notification that the mailing
list gets archived.

-- 
If I write a signature, my emails will appear more personalised.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unable to get phpMyAdmin working

2005-02-07 Thread Ken Hawkins
do you have a php.ini file? what version of apache are you running? did 
you set up the Ailas in httpd.conf as well as define its  access?

Alias /phpmyadmin/ /usr/local/www/phpMyAdmin/
Directory /path to phpmyAdmin/phpMyAdmin
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
/Directory
what is the error in your http error log and/or phperr log file? you 
will probably see a undefined error somewhere, at least this is what I 
saw and i have a php.ini file in place.

make sure you have:
.:/php/includes
in you include_path and/or move the php.ini file out of /usr/local/etc 
dir and restart apache (not graceful as this haas been an issue for 
leaving the php ini stuff loaded in the past) to see what happens.

I am making a stab at your problem here ad might be way, WAY off base 
however you will have log info in /var/log(your logging dir default) 
for apache and php (phperr) let us know what is in those logs and I can 
help out a bit more. recently ran the gauntlet of php installation hell 
earlier.

ken;
On Feb 7, 2005, at 11:12 AM, Pat Maddox wrote:
I just installed phpMyAdmin from ports, and it didn't look like I
needed to make any changes to the config file.  Initially I set the
authorization type as http, but when it wasn't working, I specified
the root username and password and tried config instead.  I get this
error:
phpMyAdmin was unable to read your configuration file!
This might happen if php finds a parse error in it or php cannot find 
the file.
Please call the configuration file directly using the link below and
read the php error message(s) that you receive. In most cases a quote
or a semicolon is missing somewhere.
If you receive a blank page, everything is fine.

So then I click on the link to config.inc.php like it says, and it's a
blank page.  So everything should be fine...but it's definitely not.
Any clue what I need to do?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

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


Re: favor

2005-02-07 Thread Eric Kjeldergaard
 EK Let us make an analogue betwixt our Valerie and one who submits to the
 EK local newspaper.  There is a roughly equal level of consent given in
 EK both cases ...
 
 Not so, on two points: (1) the newspaper is obviously available to
 anyone (it's on the newsstands), and not only to a selected group, and

Not always so, I know of many newspapers that go to subscribers only
(which local libraries are often among).  This is especially true of
places without newstands.

 (2) the messages to the newspaper appear in print and are thus much less
 ephemeral than e-mail messages.  

I think there may be a fundamental misunderstanding of media going on
here.  Newspapers are printed on newspaper which gives them a very
short lifespan.  More importantly, e-mail by its nature is delivered
to mail servers which almost without exception store the mail to a
persistent data store (often an hard disk).  In this way, mail is
archived (sometimes nearly permanently) and is not ephemeral at all. 
I have mail myself that dates back some 5 years, as long as I've been
a computer user.

 A person sending a letter to a
 newspaper knows that everyone may see it, because he saw the newspaper
 on the newsstands--that's how newspapers are.  He also knows that his
 letter may be archived, because newspapers are on paper and are often
 kept in morgues indefinitely.

Though this simply isn't how all newspapers are, one posting to a
public (meaning without exception anyone wishing to may subscribe to
it) mailing list knows that the submission may be archived (for
instance because the sign-up page references that all posts are
archived).  The person also knows that anyone (not everyone in this
case because that would be spam) may see it because anyone may have
requested the mailing list mail.  Further, there is no way for the
person submitting the message to know who or how many people will see
it nor for how long they will keep it.

[Snip for lack of current relevance]

 Many periodicals impose conditions on anyone writing letters to the
 editor, which they clearly state in the same place where they give
 instructions on how to send letters to the editor.

Many also do not.  The common theme is only that they give a method
for submission (as mailing lists do).

Envisioning the paper I was thinking of (I'm from a small town), it
suits your model much better in that it is only given to subscribers
and does not go into detail on special requirements for submissions,
it simply says that If you would like to submit, please send to  and
the address.  You city folk complicate things.  In this sort of
instance, it still seems unlikely that a submitter could request that
their submission be removed from existence, especially the libraries
archive.

-- 
If I write a signature, my emails will appear more personalised.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Very general shutdown question

2005-02-07 Thread Anthony Philipp
 Date: Mon, 7 Feb 2005 11:49:22 +
 From: Dick Davies [EMAIL PROTECTED]
 Subject: Re: Very general shutdown question
 To: FreeBSD Questions freebsd-questions@freebsd.org
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=us-ascii
 
 * Steven [EMAIL PROTECTED] [0203 23:03]:
  Hello Ned,
  
  you can add the user to the operator group. it is possible to run 
  shutdown then (but not halt etc).
 
 Be caneful of that, I think operator  has other privileges too
 (can read from any disk for starters).

Can't you just install sudo and give them permission to sudo shutdown. If it 
needs to be scripted you can do it so it doesn't ask for a password. 

 
  
  You could also create a shutdown user with a login shell pointing to a 
  shutdown script.
 
 But that won't work if they still don't have permission to run it...

Hopefully this would allow them to shutdown. 
Anthony Philipp
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: favor

2005-02-07 Thread David Gerard
Anthony Atkielski ([EMAIL PROTECTED]) [050208 03:16]:
 David Gerard writes:
 
 DG That would sorta suck. I know I write my questions and answers with
 DG a view to them being searchable on the web maybe months or years
 DG later, as I know how very grateful I am to those whose archived
 DG words have helped me before.
 
 Having to search an archive of e-mail messages as a substitute for real
 support sucks to begin with.  I've almost never found anything useful
 when searching the archives, and even when I have, it takes longer to
 find it in the archives than it does to just ask the question again.
 

I go to a site called google.com and I enter error messages verbatim, and
often what comes back is a pile of mailing list posts. They are far
superior to nothing.


 DG So it helps the copyright situation, but breaks the usefulness of
 DG any archive.
 
 The copyright situation is an unavoidable legal mandate, not an option.
 You cannot defend against an infringement action by saying that
 respecting copyright would have been inconvenient for you.
 


Of course. However, I am pointing out that the searchable archive on the
web is a fantastically useful thing and worth trying to preserve, not a
minor detail not worth considering in the search for a resolution.


- d.



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


Re: favor

2005-02-07 Thread Anthony Atkielski
Eric Kjeldergaard writes:

EK To see the collection of prior postings to the list, visit the
EK freebsd-questions Archives.
EK
EK Since we are discussing implicit contracts, I would think that the
EK announcement that the collection of prior postings is linked to and
EK mentioned/described to be reasonable notification that the mailing
EK list gets archived.

It's not.  And there must be no other way of subscribing in order for
this method to be valid, anyway.

Why do you think that software companies and Web sites and other
organizations require you to check a box to accept terms and conditions,
instead of just assuming that you read and understand them when they are
displayed?

-- 
Anthony


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


Re: Unable to get phpMyAdmin working

2005-02-07 Thread Pat Maddox
I managed to get it working by chowning the entire phpMyAdmin dir to
www:www.  Not sure if that's the best thing, but it works.



On Mon, 7 Feb 2005 11:22:41 -0500, Ken Hawkins [EMAIL PROTECTED] wrote:
 do you have a php.ini file? what version of apache are you running? did
 you set up the Ailas in httpd.conf as well as define its  access?
 
 Alias /phpmyadmin/ /usr/local/www/phpMyAdmin/
 
 Directory /path to phpmyAdmin/phpMyAdmin
  Options Indexes MultiViews
  AllowOverride None
  Order allow,deny
  Allow from all
  /Directory
 
 what is the error in your http error log and/or phperr log file? you
 will probably see a undefined error somewhere, at least this is what I
 saw and i have a php.ini file in place.
 
 make sure you have:
 
 .:/php/includes
 
 in you include_path and/or move the php.ini file out of /usr/local/etc
 dir and restart apache (not graceful as this haas been an issue for
 leaving the php ini stuff loaded in the past) to see what happens.
 
 I am making a stab at your problem here ad might be way, WAY off base
 however you will have log info in /var/log(your logging dir default)
 for apache and php (phperr) let us know what is in those logs and I can
 help out a bit more. recently ran the gauntlet of php installation hell
 earlier.
 
 ken;
 
 On Feb 7, 2005, at 11:12 AM, Pat Maddox wrote:
 
  I just installed phpMyAdmin from ports, and it didn't look like I
  needed to make any changes to the config file.  Initially I set the
  authorization type as http, but when it wasn't working, I specified
  the root username and password and tried config instead.  I get this
  error:
 
  phpMyAdmin was unable to read your configuration file!
  This might happen if php finds a parse error in it or php cannot find
  the file.
  Please call the configuration file directly using the link below and
  read the php error message(s) that you receive. In most cases a quote
  or a semicolon is missing somewhere.
  If you receive a blank page, everything is fine.
 
  So then I click on the link to config.inc.php like it says, and it's a
  blank page.  So everything should be fine...but it's definitely not.
  Any clue what I need to do?
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 
 

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


undoing ifconfig plumb?

2005-02-07 Thread Ken Hawkins
is this possible? i have a box that is unreachable now after I had ran 
ifconfig em0 plumb command.

I am in the midst of setting up a box that has multiple ip's on a 
single ethernet connection with differing subnet masks however, in the 
midst i got botted off the box (ssh kick) and BANG cannot  get back in!

ssh: connect to host web1.prosoundweb.com port 22: No route to host
I need to undo my screw up here. can anyone help out?
thanks,
ken;
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: favor

2005-02-07 Thread Anthony Atkielski
Eric Kjeldergaard writes:

EK Not always so, I know of many newspapers that go to subscribers only
EK (which local libraries are often among).  This is especially true of
EK places without newstands.

It doesn't matter where they go.  It only matters where they may be
expected to go by someone writing to the newspaper.

EK I think there may be a fundamental misunderstanding of media going on
EK here.

A mailing list isn't the press.

EK Newspapers are printed on newspaper which gives them a very
EK short lifespan.

Most libraries and newspapers have archives going back for decades.

EK More importantly, e-mail by its nature is delivered to mail servers
EK which almost without exception store the mail to a persistent data
EK store (often an hard disk). In this way, mail is archived (sometimes
EK nearly permanently) and is not ephemeral at all.

These archives are not accessible to the general public.

Note that it is perfectly possible to set up a mailing list that forbids
local archiving, or any archiving at all.  Some mailing lists have good
reason to do this.

EK Many also do not.

They take a greater risk.

EK You city folk complicate things.

The larger the world, the more complex it becomes.  And the Internet
covers the planet.

-- 
Anthony


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


Re: favor

2005-02-07 Thread Anthony Atkielski
David Gerard writes:

DG I go to a site called google.com and I enter error messages
DG verbatim, and often what comes back is a pile of mailing list posts.
DG They are far superior to nothing.

No doubt, but they are far inferior to a formal, well-organized support
system.

The lack of support and accountability is FreeBSD's greatest handicap
for corporate and mission-critical use.  Certainly, the OS is solid and
reliable; but if and when it fails, there's nowhere to turn.

This same problem afflicts just about all open-source software, and will
prove to be a limiting factor in the adoption of open source for the
forseeable future.

DG Of course. However, I am pointing out that the searchable archive on
DG the web is a fantastically useful thing and worth trying to
DG preserve, not a minor detail not worth considering in the search for
DG a resolution.

You can preserve it if you place it in the proper framework.  But you
must also recognize that you may not be able to organize it exactly as
you wish without infringing the rights of others.

-- 
Anthony


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


perl upgrade broke 5.3 system

2005-02-07 Thread dave
Hello,
I just updated ports after being away for two weeks. The update process
itself went fine, my problem came when i ran the command to update
perl-dependent ports as suggested in /usr/ports/UPDATING. I got a bunch of
failed updates, php4-extensions, and any of my p5* ports, apache2,
subversion, ices, etc. I've tried manually running portupgrade packagename
but all i get is a prompt, it's as if portupgrade thinks everything is
updated, but dependent perl ports are not working. The noticer was when
MailScanner couldn't find SpamAssassin although the latest version of both
ports are installed.
On another question when i install a port if it installs dependencies
and those are only needed by that port, when i uninstall the port i'd like
to updte and remove those dependencies as well, is this doable?
Some urgency!
Thanks.
Dave.

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


Re: favor

2005-02-07 Thread Eric Kjeldergaard
 It doesn't matter where they go.  It only matters where they may be
 expected to go by someone writing to the newspaper.

right.  And in this case, the person expects it to go to untold and
unnamed numbers of people who desire to see the message.  Which is,
after all, exactly who's seeing it.

 EK I think there may be a fundamental misunderstanding of media going on
 EK here.
 
 A mailing list isn't the press.

That's why this is an analogy.  I'm not saying that a mailing list is
the press, in this case, it certainly doesn't carry news, really, it's
more like the opinions section of a newspaper which is also not the
press.

 EK Newspapers are printed on newspaper which gives them a very
 EK short lifespan.
 
 Most libraries and newspapers have archives going back for decades.
 
Likewise, most mailing lists have archives going back for decades.

 EK More importantly, e-mail by its nature is delivered to mail servers
 EK which almost without exception store the mail to a persistent data
 EK store (often an hard disk). In this way, mail is archived (sometimes
 EK nearly permanently) and is not ephemeral at all.
 
 These archives are not accessible to the general public.

Generally true, though there are exceptions.

 Note that it is perfectly possible to set up a mailing list that forbids
 local archiving, or any archiving at all.  Some mailing lists have good
 reason to do this.

I simply don't see how a mailing list would forbid local archiving,
that simply is how email works.  The message goes out and sits on the
computer that it was sent to.  Certainly there is no way to outlaw it
being stored on that server.

[the next in regards to papers not publishing guidelines for
submitting, but only a method]
(the content must have accidentally gotten snipped)
 EK Many also do not.
 
 They take a greater risk.

Perhaps they take a greater risk, or perhaps things are simpler than
that.  Perhaps, upon submitting something according to the simple
instructions with intent for it to be published, it gets published as
the general populous would expect...Often things are not complicated.


-- 
If I write a signature, my emails will appear more personalised.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Electricity bill [was: Re: Leaving a Computer Running ?]

2005-02-07 Thread Lars Kristiansen

 Since the computers are necessary for both work and play, I consider
 running them to be electricity wisely used.  I do turn the monitors off
 when I'm not home, but since they are all flat panels now, that
 represents only a trivial amount of electricity.

That reminds me:
Please also consider fire hazards!
I have had a CRT-monitor catching on fire.

--
Hilsen Lars



 --
 Anthony


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


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


Re: ifconfig: SIOCIFDESTROY: Invalid argument, was (undoing ifconfig plumb?)

2005-02-07 Thread Ken Hawkins
ok i got back into the box however when i try;
ifconfig em0 unplumb i receive:
ifconfig: SIOCIFDESTROY: Invalid argument
I was booted in the midst of the process (ssh kickoff) and think that I 
might have been partially done with the plumb and 'up' ifconfig steps. 
how can i undo all that 'plumb' and 'up' commands did for ifconfig?

thanks,
ken;
On Feb 7, 2005, at 11:46 AM, Ken Hawkins wrote:
is this possible? i have a box that is unreachable now after I had ran 
ifconfig em0 plumb command.

I am in the midst of setting up a box that has multiple ip's on a 
single ethernet connection with differing subnet masks however, in the 
midst i got botted off the box (ssh kick) and BANG cannot  get back 
in!

ssh: connect to host web1.prosoundweb.com port 22: No route to host
I need to undo my screw up here. can anyone help out?
thanks,
ken;
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

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


Re: favor

2005-02-07 Thread David Gerard
Anthony Atkielski ([EMAIL PROTECTED]) [050208 03:53]:
 David Gerard writes:
 
 DG I go to a site called google.com and I enter error messages
 DG verbatim, and often what comes back is a pile of mailing list posts.
 DG They are far superior to nothing.

 No doubt, but they are far inferior to a formal, well-organized support
 system.


Actually, I most profitably apply it in my day job, which is administering
Solaris ;-) The purpose of vendors is to say to your boss that you have an
SLA; getting actual *support* out of anyone (with exceptions like NetApp)
is something best avoided IME.


 The lack of support and accountability is FreeBSD's greatest handicap
 for corporate and mission-critical use.  Certainly, the OS is solid and
 reliable; but if and when it fails, there's nowhere to turn.


Corporate arse-covering rather than actual support, but yeah. I am told the
horrible tale of a friend who is having to shift a pile of servers from
FreeBSD to Red Hat because Red Hat have SLAs and they couldn't find
sufficiently corporate-looking support for FreeBSD that did.


 This same problem afflicts just about all open-source software, and will
 prove to be a limiting factor in the adoption of open source for the
 forseeable future.


The trick will be to get organisations offering SLAs interested in the
program. Even then the fact that it's hard to undercut $0 is a powerful
factor in its spread.

That is, if fame is your interest; FreeBSD's is mostly to do a very nice
operating system. NetBSD's interest is even less oriented in this direction
- they want to produce a beautiful piece of computer science.


 DG Of course. However, I am pointing out that the searchable archive on
 DG the web is a fantastically useful thing and worth trying to
 DG preserve, not a minor detail not worth considering in the search for
 DG a resolution.
 
 You can preserve it if you place it in the proper framework.  But you
 must also recognize that you may not be able to organize it exactly as
 you wish without infringing the rights of others.


Of course.

However, I must also point out that avoiding what we at Wikipedia call
copyright paranoia is also important. Is someone *actually likely* to sue?
Will it be a lone nutter or will there be hundreds of people? What could be
argued to be the reasonable expectation? What constitutes fair use? When
can no harm no foul be likely to apply? These questions require actual
Combat Lawyers and aren't going to be sorted out in idle mailing list
chitchat.

Realistically: a FreeBSD mailing list copyright apocalypse is not likely.
If it seems likely, there are enough soft steps to take first. The sky is
not in fact falling.


- d.



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


Re: Intel EMT64 Xeon vs AMD Opteron

2005-02-07 Thread Chris Dillon
On Fri, 4 Feb 2005, Scott Long wrote:
With FreeBSD, it's a bit of a toss-up.  There is no strong affinity 
set or enforced between process memory and where the process is 
running. Having some notion of affinity (i.e. NUMA support) would be 
a good thing.  Oh, and the 4+2 configurations are typically pretty 
poor, regardless.
For non-NUMA-aware operating systems, you should turn on Node 
Interleaving for the memory system which will spread the memory 
accesses across all processors.  Hopefully all multi-processor Opteron 
system BIOSes will give you this option, my Tyan S2885 does.

--
 Chris Dillon - cdillon(at)wolves.k12.mo.us
 FreeBSD: The fastest, most open, and most stable OS on the planet
 - Available for IA32, IA64, AMD64, PC98, Alpha, and UltraSPARC architectures
 - PowerPC, ARM, MIPS, and S/390 under development
 - http://www.freebsd.org
Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: favor

2005-02-07 Thread Joshua Tinnin
On Monday 07 February 2005 08:16 am, Anthony Atkielski 
[EMAIL PROTECTED] wrote:
 David Gerard writes:

 DG That would sorta suck. I know I write my questions and answers
 with DG a view to them being searchable on the web maybe months or
 years DG later, as I know how very grateful I am to those whose
 archived DG words have helped me before.

 Having to search an archive of e-mail messages as a substitute for
 real support sucks to begin with.  I've almost never found anything
 useful when searching the archives, and even when I have, it takes
 longer to find it in the archives than it does to just ask the
 question again.

If you want real support, that costs money, and it doesn't matter if 
you're talking about BSD, Linux, Windows, Solaris, etc.

 DG So it helps the copyright situation, but breaks the usefulness of
 DG any archive.

 The copyright situation is an unavoidable legal mandate, not an
 option. You cannot defend against an infringement action by saying
 that respecting copyright would have been inconvenient for you.

Again, what are the damages?

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


Re: favor

2005-02-07 Thread Joshua Tinnin
On Monday 07 February 2005 08:37 am, Anthony Atkielski 
[EMAIL PROTECTED] wrote:
 Eric Kjeldergaard writes:

 EK To see the collection of prior postings to the list, visit the
 EK freebsd-questions Archives.
 EK
 EK Since we are discussing implicit contracts, I would think that
 the EK announcement that the collection of prior postings is linked
 to and EK mentioned/described to be reasonable notification that the
 mailing EK list gets archived.

 It's not.  And there must be no other way of subscribing in order for
 this method to be valid, anyway.

 Why do you think that software companies and Web sites and other
 organizations require you to check a box to accept terms and
 conditions, instead of just assuming that you read and understand
 them when they are displayed?

Since this is a volunteer organization, and it seems to me that you have 
the most interest in it, and if you refuse to let this go, then I have 
a suggestion. Hire a lawyer and write up a legally sound plan, and then 
submit it. Until then, you're demanding things of people that simply 
aren't going to happen, just because you demand it.

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


Re: favor

2005-02-07 Thread Joshua Tinnin
On Monday 07 February 2005 08:13 am, Anthony Atkielski 
[EMAIL PROTECTED] wrote:
 Eric Kjeldergaard writes:
 EK I don't see that a mailing list would need such a thing. The
 EK submissions are given under the understanding that they shall be
 EK publicly available both to subscribers and non subscribers in
 their EK favourite restaurants and libraries.

 There is no such understanding with respect to a mailing list.

Do you have examples of case law to back up your assertion?

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


Re: Electricity bill [was: Re: Leaving a Computer Running ?]

2005-02-07 Thread markzero
  Since the computers are necessary for both work and play, I consider
  running them to be electricity wisely used.  I do turn the monitors off
  when I'm not home, but since they are all flat panels now, that
  represents only a trivial amount of electricity.
 
 That reminds me:
 Please also consider fire hazards!
 I have had a CRT-monitor catching on fire.

Of course, I forgot to mention that all the machines are connected to a
KVM switch arrangement - one monitor which is constantly off (emergency
console access only). The KVM switch arrangement is an exciting exercise
in spaghetti cable contortion, being two four port switches attached to
a two port switch. These switches should technically not be able to work
without a power supply but evidently they work just fine. I don't
question the arrangement, I just observe it from across the room. We get
along fine.

Mark

-- 
PGP: http://www.darklogik.org/pub/pgp/pgp.txt
B776 43DC 8A5D EAF9 2126 9A67 A7DA 390F DEFF 9DD1


pgpFu0k8tYCq1.pgp
Description: PGP signature


Re: favor

2005-02-07 Thread Bart Silverstrim
On Feb 7, 2005, at 11:30 AM, Eric Kjeldergaard wrote:
EK Let us make an analogue betwixt our Valerie and one who submits 
to the
EK local newspaper.  There is a roughly equal level of consent given 
in
EK both cases ...

Not so, on two points: (1) the newspaper is obviously available to
anyone (it's on the newsstands), and not only to a selected group, and
Not always so, I know of many newspapers that go to subscribers only
(which local libraries are often among).  This is especially true of
places without newstands.
Given that the it is rather common sense that the Internet has a long 
memory about things, and that this is a mailing list going out to any 
wazoo who subscribes, and that there are archives that are known to 
exist by anyone who bothers to take a few moments to look at what 
they're getting into by posting, and that people have been quoted and 
quoted and quoted so many times from the previous posts that it would 
be nearly impossible to purge a person's entire transcript from each 
and every message out there in which it's been quoted short of an EM 
burst that would wipe out every computers' hard drive on the planet, as 
well as the difficulty in getting copyright agreements to stick equally 
to me, you, and Ichabod in the country of Elbonia, wouldn't it make 
sense just to say, If you don't want it known to everyone, encrypt 
it...if you want people's help, post it in cleartext, and risk it 
forever quoting the fact that you were at some point ignorant of a 
subject and asking for help?

I mean, how many people have even touched on the subject of copyright 
infringment by the fact that I am quoting two other people in this 
message, and this is something done CONSTANTLY with hundreds of 
thousands of messages out there?  You give consent by letting your 
words fly out there.  You sent it, I got it, don't want me to read it, 
shoulda' encrypted it or not sent it at all.

c'mon...sending to a mailing list where there are little if any 
safeguards to restrict access kinda' should imply that you're giving 
consent for others to get the messages and may reproduce it.  Hell, if 
anything, it's a safeguard.  I've seen some people on Usenet that have 
used the Google cache to point out where someone twisted or altered 
quoting of their original messages so the fact that it's archived and 
mirrored *helped* them prove they said what they claimed.

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


Re: favor

2005-02-07 Thread Bart Silverstrim
On Feb 7, 2005, at 11:37 AM, Anthony Atkielski wrote:
Eric Kjeldergaard writes:
EK To see the collection of prior postings to the list, visit the
EK freebsd-questions Archives.
EK
EK Since we are discussing implicit contracts, I would think that the
EK announcement that the collection of prior postings is linked to and
EK mentioned/described to be reasonable notification that the mailing
EK list gets archived.
It's not.  And there must be no other way of subscribing in order for
this method to be valid, anyway.
Why do you think that software companies and Web sites and other
organizations require you to check a box to accept terms and 
conditions,
instead of just assuming that you read and understand them when they 
are
displayed?
You mean the boilerplate like the one for the CD I just recently 
installed telling me what I could run their program on, only to 
discover that their program was nothing but a bunch of PDF files 
hyperlinked by an index.html page?  PLEASE.  These companies don't even 
bother reading their own license agreements anymore.  They get some 
generic thing drafted by their lawyer (or steal someone else's) and 
spew it into their packaged software to cover their butts.  The one I 
read was definitely for an application of some kind, but the content on 
the CD was definitely NOT an application.

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


Re: .snap

2005-02-07 Thread Gert Cuykens
On Mon, 7 Feb 2005 10:52:28 +0100 (CET), Svein Halvor Halvorsen
[EMAIL PROTECTED] wrote:
 
 * Gert Cuykens [2005-02-07 00:32 +0100]
   What are .snap directories ?
 
 Take a look at these references:
 
  -  mksnap_ffs(8)
  -  dump(8)   [under the -L option]
  -  mount(8)  [under the -o snapshot option]
  -  /usr/src/sys/ufs/ffs/README.snapshot
 
 
 Svein Halvor


So that means i can delete the directories right :)

What is a snapshot of a filesystem ? How big is a snapshot for example
of a 8gb hd ? What is the difference between a snapshot and a bacup
image of the hd ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: perl upgrade broke 5.3 system

2005-02-07 Thread Joshua Tinnin
On Monday 07 February 2005 09:02 am, dave [EMAIL PROTECTED] 
wrote:
 Hello,
 I just updated ports after being away for two weeks. The update
 process itself went fine, my problem came when i ran the command to
 update perl-dependent ports as suggested in /usr/ports/UPDATING. I
 got a bunch of failed updates, php4-extensions, and any of my p5*
 ports, apache2, subversion, ices, etc. I've tried manually running
 portupgrade packagename but all i get is a prompt, it's as if
 portupgrade thinks everything is updated, but dependent perl ports
 are not working. The noticer was when MailScanner couldn't find
 SpamAssassin although the latest version of both ports are installed.

Well, it's always tricky. What I did this time is:

% pkg_info -R perl\*  ~/perlports

A list of dependencies is now in the text file perlports. In order to 
get a working environment, I did this first (I use xfce4 on this 
machine):

# portupgrade -rRf xfce

Then I force-upgraded all the rest of the xorg ports that weren't 
upgraded by that command, then all libraries, then individual programs, 
and finally the ports in meta ports, then the meta ports themselves. 
Most of this was done automatically; I copied perlports to a different 
file, edited out some lines, and added commands, put the list in the 
order stated previously, set the file as executable, then I ran it as a 
script. Most of the lines in the script look like this (yelp is an 
example):

portupgrade -f yelp-2.6.5 ;

It took a long time, as always, but I had zero problems. I also had 
xfce4, SpamAssassin, KMail and some other programs I use all the time 
up and running right away. I'm sure this could be done in a more 
automated fashion, but I've always run into dependency problems that 
way, if ports aren't upgraded in the right order, e.g., libraries 
first, so there's always clean up work to do. I avoided that this time, 
though it took a little longer to have each upgrade be a separate line 
in a script.

 On another question when i install a port if it installs
 dependencies and those are only needed by that port, when i uninstall
 the port i'd like to updte and remove those dependencies as well, is
 this doable? Some urgency!

Yes, as long as those dependencies aren't needed elsewhere. You can run 
the pkg_info -r command to find out, then run pkg_info -R on the 
dependencies, or you can run:

make pretty-print-run-depends-list
make pretty-print-build-depends-list

in the appropriate port folder (e.g., /usr/ports/www/firefox). There's 
also sysutils/pkg_cutleaves .

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


Re: Very general shutdown question

2005-02-07 Thread Tabor Kelly
Well thanks, too bad I was planning on using those to make my backup 
jobs easier. Anyway, here is a quick C program to accomplish the same 
thing:

/* main.c */
#include unistd.h
#include stdlib.h
int main(int argc, char *argv[])
{
extern char **environ;
execve(/sbin/halt, argv, environ);
return EXIT_SUCCESS; /* note: we never actually get here */
}
to compile it, but type 'gcc main.c'
then copy a.out to /halt
then 'chown root:wheel /halt'
then 'chmod a+s /halt'
But when I got done writing and testing the program, I thought to myself:
Why not just set /sbin/halt to SUID root?
--
Tabor Kelly
[EMAIL PROTECTED]
http://tabor.taborandtashell.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: .snap

2005-02-07 Thread John
On Mon, Feb 07, 2005 at 07:03:56PM +0100, Gert Cuykens wrote:
 On Mon, 7 Feb 2005 10:52:28 +0100 (CET), Svein Halvor Halvorsen
 [EMAIL PROTECTED] wrote:
  
  * Gert Cuykens [2005-02-07 00:32 +0100]
What are .snap directories ?
  
  Take a look at these references:
  
   -  mksnap_ffs(8)
   -  dump(8)   [under the -L option]
   -  mount(8)  [under the -o snapshot option]
   -  /usr/src/sys/ufs/ffs/README.snapshot
  
  
  Svein Halvor
 
 
 So that means i can delete the directories right :)
 
 What is a snapshot of a filesystem ? How big is a snapshot for example
 of a 8gb hd ? What is the difference between a snapshot and a bacup
 image of the hd ?

Rather than filling up the archives with it again, I'll send you
by private e-mail to messages I wrote about a month ago that addressed
these issues.
-- 

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


Python with threading core dumps on 5.3

2005-02-07 Thread Payment Online
I am consistantly getting seg faults and bus errors when running a
multi threaded python application under 5.3-release-p2.  Python was
built from the port(python 2.4) with threading enabled.  Rebuilding
with the huge stack size option enabled didn't make a difference.  The
application uses twisted (www.twistedmatrix.com) and it runs fine
until I put it under a bit of a load and have 20-30 simultaneous
threads running.  Then it core dumps.  Following is the backtrace from
the core file.  The backtrace is always the same.  Are threads just
generally problematic on Freebsd?

#0  0x2823cdbb in pthread_testcancel () from /usr/lib/libpthread.so.1
#1  0x28234b06 in pthread_mutexattr_init () from /usr/lib/libpthread.so.1
#2  0x in ?? ()
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [SOLVED] Re: jade error: Undefined symbol _ZNK6Origin14asEntityOriginEv

2005-02-07 Thread Kris Kennaway
On Mon, Feb 07, 2005 at 11:23:46AM -0300, Alejandro Pulver wrote:

 I solved the problem. The reason was that I installed 'sp' (textproc/sp) from 
 a package (sp-1.3.4) (as the 'fdp-primer' says) and it overrited (without 
 saying it conflicts with 'jade') the following programs/libraries:
 
 bin/nsgmls
 bin/sgmlnorm
 bin/spam
 bin/spent
 bin/sx
 [ header files in include/sp ]
 lib/libsp.a
 lib/libsp.so.1

Yes, that looks unfriendly.  You should file a PR requesting that a
CONFLICTS directive be added so that this problem does not happen
again to someone else.

Kris


pgpKru6Hg6VBx.pgp
Description: PGP signature


Re: IP Filter changes in FreeBSD

2005-02-07 Thread Kris Kennaway
On Mon, Feb 07, 2005 at 11:08:54AM -0500, Jim Arnold wrote:

 If you don't have it in your kernel, the module will be loaded at boot
 time if it's available.  If you don't have the module either, you
 can't use ipfilter.
 
 I must have been using the module with 4.7 stable since I did not 
 have that in the kernel I was running with 4.7. After I upgraded to 
 4.11 and IPF was not working I edited my kernel config file to 
 uncomment the lines for IPF and then compiled the new kernel. I still 
 don't have an answer why this happened.
 
 Was the module taken out of 4.11 or an earlier version on FreeBSD? 

No, it's still there as long as you build modules.  If you have
NO_MODULES in your make.conf, you won't, of course.

Kris


pgpO2G6Zeff7w.pgp
Description: PGP signature


Re: favor

2005-02-07 Thread Anthony Atkielski
Eric Kjeldergaard writes:

EK Perhaps they take a greater risk, or perhaps things are simpler than
EK that. Perhaps, upon submitting something according to the simple
EK instructions with intent for it to be published, it gets published
EK as the general populous would expect...Often things are not
EK complicated.

You forget the most likely option of all:  For years, cyberspace was
dominated by geeks, and ignored by lawyers and the general public.  Now,
with the general public and the lawyers watching cyberspace very closely
indeed, it will no longer be possible for the geeks to get away with
doing whatever they want, for better or for worse.

Greater regulation and legal hassles are the trend for the future.
Pretending it isn't happening will only leave one all the more
vulnerable to it as it arrives.

-- 
Anthony


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


Re: perl upgrade broke 5.3 system

2005-02-07 Thread Kris Kennaway
On Mon, Feb 07, 2005 at 12:02:08PM -0500, dave wrote:
 Hello,
 I just updated ports after being away for two weeks. The update process
 itself went fine, my problem came when i ran the command to update
 perl-dependent ports as suggested in /usr/ports/UPDATING. I got a bunch of
 failed updates, php4-extensions, and any of my p5* ports, apache2,
 subversion, ices, etc. I've tried manually running portupgrade packagename
 but all i get is a prompt, it's as if portupgrade thinks everything is
 updated, but dependent perl ports are not working.

portupgrade -f

 The noticer was when
 MailScanner couldn't find SpamAssassin although the latest version of both
 ports are installed.

It sounds like some of the ports are still installed in the perl 5.8.5
directory, so the newer ports that have been rebuilt against perl
5.8.6 cannot find them.  That was what the command in UPDATING was
supposed to fix though, so maybe there is a corner case that was not
covered.  If you can reproduce this, talk to the [EMAIL PROTECTED]
mailing list.

 On another question when i install a port if it installs dependencies
 and those are only needed by that port, when i uninstall the port i'd like
 to updte and remove those dependencies as well, is this doable?

Not automatically, because the system can't know if you're actually
using any of those build-time dependencies yourself (e.g. you might be
using gmake or gcc 3.4 for your own non-port projects), but the
pkg_cutleaves port can help to do this.

Kris


pgpcz5zAQYGAu.pgp
Description: PGP signature


Re: Python with threading core dumps on 5.3

2005-02-07 Thread Kris Kennaway
On Mon, Feb 07, 2005 at 11:14:36AM -0800, Payment Online wrote:
 I am consistantly getting seg faults and bus errors when running a
 multi threaded python application under 5.3-release-p2.  Python was
 built from the port(python 2.4) with threading enabled.  Rebuilding
 with the huge stack size option enabled didn't make a difference.  The
 application uses twisted (www.twistedmatrix.com) and it runs fine
 until I put it under a bit of a load and have 20-30 simultaneous
 threads running.  Then it core dumps.  Following is the backtrace from
 the core file.  The backtrace is always the same.  Are threads just
 generally problematic on Freebsd?

You'll need to recompile with debugging symbols in order to get a
useful trace.  The python maintainer might be able to talk you through
this.

Kris

 #0  0x2823cdbb in pthread_testcancel () from /usr/lib/libpthread.so.1
 #1  0x28234b06 in pthread_mutexattr_init () from /usr/lib/libpthread.so.1
 #2  0x in ?? ()


pgpDBe8pLv8vI.pgp
Description: PGP signature


Re: Should nwfs and ncp* be working in 5.3R?

2005-02-07 Thread Kris Kennaway
On Mon, Feb 07, 2005 at 11:08:16AM -0500, Bob Johnson wrote:
 I'm trying to use nwfs and the ncp- utilities and when I do I get a 
 kernel panic (at the moment I forget which one).  Should they be working 
 in 5.3R?

ISTR there were bugs in 5.3-R that were fixed in 5.3-STABLE (these
systems are not widely used, and it seems that none of the users
tested them during the prerelease period).  Try updating.

Kris


pgpKL5K6GSpW2.pgp
Description: PGP signature


Re: favor

2005-02-07 Thread Anthony Atkielski
David Gerard writes:

DG Actually, I most profitably apply it in my day job, which is administering
DG Solaris ;-) The purpose of vendors is to say to your boss that you have an
DG SLA; getting actual *support* out of anyone (with exceptions like NetApp)
DG is something best avoided IME.

Sometimes you need support quickly, more quickly than you can manage on
your own ... especially for mission-critical servers.  That's when a
complete formal support structure becomes invaluable.  And that's what
is missing from most open-source software, including FreeBSD.

DG Corporate arse-covering rather than actual support, but yeah. I am
DG told the horrible tale of a friend who is having to shift a pile of
DG servers from FreeBSD to Red Hat because Red Hat have SLAs and they
DG couldn't find sufficiently corporate-looking support for FreeBSD
DG that did.

Exactly.

You can run FreeBSD in these environments IF you have highly qualified
in-house personnel to maintain it.  It doesn't matter how reliable
FreeBSD is, you need _someone_ who can fix it in an emergency.  And if
no such person is available with a phone call outside your organization,
you need the expertise in-house.  And if you don't have it in-house, you
can't use FreeBSD.

Linux is only marginally better.  You need an external support
organization with extremely competent technicians that has agreed to
provide you with some specific level of support, such that they risk a
lawsuit if they don't cough up when you call.  Then you get support.

DG The trick will be to get organisations offering SLAs interested in the
DG program. Even then the fact that it's hard to undercut $0 is a powerful
DG factor in its spread.

Getting those organizations interested in open source will effectively
negate most of the advantages of open source.  You'll be paying someone
for your software again, and you'll be dependent on them again, and
you'll be using their proprietary solutions ... again.

DG Realistically: a FreeBSD mailing list copyright apocalypse is not
DG likely.

True.  But it only takes one lawsuit to wipe out the entire project.

-- 
Anthony


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


Re: favor

2005-02-07 Thread Anthony Atkielski
Joshua Tinnin writes:

JT If you want real support, that costs money, and it doesn't matter
JT if you're talking about BSD, Linux, Windows, Solaris, etc.

Yes, and that's the paradox of open source.  There's really no such
thing as a free lunch.

Even if you know your product inside and out and support it yourself, it
still costs you your time, and time is money.

-- 
Anthony


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


Re: favor

2005-02-07 Thread Anthony Atkielski
Joshua Tinnin writes:

JT Since this is a volunteer organization, and it seems to me that you
JT have the most interest in it, and if you refuse to let this go, then
JT I have a suggestion. Hire a lawyer and write up a legally sound
JT plan, and then submit it. Until then, you're demanding things of
JT people that simply aren't going to happen, just because you demand
JT it.

I'm not demanding; I'm warning.

And I would volunteer, but I have to dedicate most of my waking hours to
paying the rent and groceries.  We are not all independently wealthy.

-- 
Anthony


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


Re: Python with threading core dumps on 5.3

2005-02-07 Thread Payment Online
 
 You'll need to recompile with debugging symbols in order to get a
 useful trace.  The python maintainer might be able to talk you through
 this.

Ok I'll do that in a bit and post the results.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: favor

2005-02-07 Thread Joshua Tinnin
On Monday 07 February 2005 11:17 am, Anthony Atkielski 
[EMAIL PROTECTED] wrote:
 Eric Kjeldergaard writes:

 EK Perhaps they take a greater risk, or perhaps things are simpler
 than EK that. Perhaps, upon submitting something according to the
 simple EK instructions with intent for it to be published, it gets
 published EK as the general populous would expect...Often things are
 not EK complicated.

 You forget the most likely option of all:  For years, cyberspace was
 dominated by geeks, and ignored by lawyers and the general public. 
 Now, with the general public and the lawyers watching cyberspace very
 closely indeed, it will no longer be possible for the geeks to get
 away with doing whatever they want, for better or for worse.

 Greater regulation and legal hassles are the trend for the future.
 Pretending it isn't happening will only leave one all the more
 vulnerable to it as it arrives.

Yes, but waving your hands in the air doesn't solve anything. Moreover, 
you haven't proven that your issues with the way the list is run is a 
legal liability. Although anyone can speculate about law, when you're 
getting into this area, it helps a lot if you're qualified to speak 
with authority. If it is indeed a liability, you need to do more than 
posit that it might be, and you should have some examples to back up 
your assertions. If you're asking FreeBSD to change their mailing list, 
then you have to present more than a layperson's opinion that there 
might be a problem, and, really, you should have a solution, otherwise 
all you're doing is waving your hands.

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


Re: IP Filter changes in FreeBSD

2005-02-07 Thread Jim Arnold
On Mon, Feb 07, 2005 at 11:08:54AM -0500, Jim Arnold wrote:
 If you don't have it in your kernel, the module will be loaded at boot
 time if it's available.  If you don't have the module either, you
 can't use ipfilter.
 I must have been using the module with 4.7 stable since I did not
 have that in the kernel I was running with 4.7. After I upgraded to
 4.11 and IPF was not working I edited my kernel config file to
 uncomment the lines for IPF and then compiled the new kernel. I still
 don't have an answer why this happened.
 Was the module taken out of 4.11 or an earlier version on FreeBSD?
No, it's still there as long as you build modules.  If you have
NO_MODULES in your make.conf, you won't, of course.
Kris
Attachment converted: osx:Untitled 3599 (/) (000B9F03)
I'm using the same /etc/make.conf file when I first put this box 
online in 2002. In that make.conf
file the line is commented out:

#NO_MODULES=true# do not build modules with the kernel
But the question for me is still, how did this work in 4.7 if the 
above was commented out in my /etc/make.conf file and I did not have 
these uncommented in my kernel config file when I built my
custom kernel for 4.7?

options IPFILTER
options IPFILTER_LOG
Thanks,
Jim

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


Re: Electricity bill [was: Re: Leaving a Computer Running ?]

2005-02-07 Thread Louis LeBlanc
On 02/07/05 09:21 AM, Svein Halvor Halvorsen sat at the `puter and typed:
 
 * Erik Trulsson [2005-02-05 23:55 +0100]
   Also keep in mind that if you leave the computer running all the time
   it will show up on your electricity bill, so if you wish to save power
   you should shut down your computer over night.
 
 
 Given that your house needs to be warmed up (a presumption I think is 
 correct for Sweden as you appears to be sending from; it sure does for 
 Norway, I don't know about the OP), it does not matter where that heat 
 comes from. If your other heating is termostatically controlled, then 
 running your computer all night long uses no less electricity than leaving 
 your heating on. Eventually, all those kWhs ends up as heat. You might 
 just as well use it for something usefull in the way from electric to 
 thermic energy, and not just send your electrons through an electric 
 resistance for nothing (except heat-generation)!
 
 
 (Of course this argument is not valid if you need to cool your house, or 
 if you use radiators, water-born heating, a wood-burning stove or 
 something else other than electricity to warm up your house)

I'm coming into this thread a bit late, but if you go to
http://www.energyfederation.org/consumer/default.php

On the left nav frame, go to Products / Meters  Monitors /
Electricity Meters / P3 Kill a WATT

You'll see a neat little gadget that will tell you exactly what your
computers electrical usage is.  It should be pretty easy to match up
with your electric bill and see what the cost would be.  This unit is
designed for the US power grid, but I'm sure a little googling will
give you an idea what to expect for Europe and other parts of the
planet.

BTW, I have my primary system up 24/7.  My last machine, which was an
older Dell Optiplex G1 to begin with, ran almost nonstop for nearly 3
years.  Only reboots were for upgrades and loss of power.  Other
machines are typically delegated to hibernation when not needed.

HTH

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Heisenberg may have been here.


pgpa2HJRVEd1z.pgp
Description: PGP signature


ISP connection issue

2005-02-07 Thread Shawn B
I am fairly new at *nix and FreeBSD. I am attempting
to run a privately owned, publically accessible web
server from a PC running FreeBSD 4.8. I configured
ppp.conf and rc.conf for the *old* ISP settings (the
ones that worked a year ago), and now they do now
work. I cannot connect the machine to the ISP.
Although PPP does enable, I cannot resolve any
domains. The ISP is Bell-Sympatico (Canada), and they
are completely unwilling to help me, or provide
software that will accommodate *nix systems
specifically. They do, however, have PPPoE software
for Linux. Since I am new to FreeBSD, I do not want to
try this software unless I know it will work ok. The
software is available here
http://service.sympatico.ca/index.cfm?method=content.viewcontent_id=1138category_id=99

I have tried every possible option I could conjure-up
with no avail. I have even exhaustively searched the
FreeBSD Handbook and Man pages on-line, and other
resources (such as Google) were no help.

I thank you for any help yous' may provide to me. I am
running short on time and patience in getting this
system on-line. If this should have been send
elsewhere, please let me know. 

__ 
Post your free ad now! http://personals.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mplayer vs xine

2005-02-07 Thread Gert Cuykens
On Mon, 7 Feb 2005 03:42:05 -0800, Loren M. Lang [EMAIL PROTECTED] wrote:
 On Mon, Feb 07, 2005 at 01:59:39AM +0100, Danny Pansters wrote:
  On Saturday 5 February 2005 02:50, Rob wrote:
   Jacob S wrote:
I like mplayer for cli stuff and xine for gui.
Mainly because the cli stuff I do is downloading and
converting streams from wma/rm to wav/ogg/mp3, etc.
and I use the gui for watching videos and such.
  
   How do you convert realmedia to other formats with
   mplayer?
   Or maybe first: how do you play realmedia streams
   with mplayer?
  
   I have installed:
  mplayer-gtk2-0.99.5_6
  linux-realplayer-10.0.2_1
  win32-codecs-2.1.0.p5,1
  
   I can't play realplay streams with mplayer.
   When I do:
  mplayer -vo x11 rtsp://some.site.com/movie.rm;
  
   I get lots of output in my terminal, among wich I
   see:
  
 Opening video decoder: [realvid] RealVideo decoder
 opening shared obj
   '/usr/local/lib/win32/drv4.so.6.0'
 Error: Shared object libc.so.6 not found, required
 by drv4.so.6.0 opening win32 dll 'drv4.so.6.0'
  
   But libc.so.6 is in /usr/compat/linux/lib. Hmm, why
   is that not found? I then did
  ldconfig -m /usr/compat/linux/lib
  
   That helped. I started mplayer again, but then
   mplayer crashed, as follows:
  
   [...snip...]
   ==
   Opening audio decoder: [realaud] RealAudio decoder
   opening shared obj '/usr/local/lib/win32/cook.so.6.0'
  
   MPlayer interrupted by signal 10 in module:
   init_audio_codec
   - MPlayer crashed. This shouldn't happen.
 It can be a bug in the MPlayer code _or_ in your
 drivers _or_ in your
 gcc version. If you think it's MPlayer's fault,
 please read
 DOCS/HTML/en/bugreports.html and follow the
 instructions there. We can't and
 won't help unless you provide this information when
 reporting a possible bug.
  
   ==
  
   Any idea why I've got such problems with mplayer
   and real video streams?
 
  I never gotten it to work either, a few of the codecs do -- I think the 
  win32
  only ones, but not the Unix ones from linux-realplayer. I'm sure 
  mplayer/xine
  being natively compiled while the real codecs are mostly linux libraries via
  compat must be the problem.
 
  If someone wants to fix this, do look at what NetBSD does. They have a
  seperate real codecs package for it, I'm not sure what they do but their
  mplayer/xine do work with the rv1 to 4 codecs, and no errors about cook and
  all.
 
 I've had problems getting mplayer and xine to work with real codecs on
 linux, some error with cook.dll or something.  I think it will only work
 with rp8 or rp9 codecs, but even though didn't work when I was running
 in linux.  I finally gave up and installed realplayer 10 which works
 good in both linux and freebsd.

Who needs realplayer anyway :P 

PS when i play a mp3 with xmms i can do as much as i want, it will
never interfear with the playing music. With mplayer i can have for
example a cash size of 10 secondes but after 10 seconds i can manege
to do a buffer underrun.

How i can tell mplayer to do the same buffering as xmms ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: favor

2005-02-07 Thread Robert Marella
On Sun, 2005-02-06 at 15:38 -0800, Ted Mittelstaedt wrote:

many emails :)

Sorry if I offended anyone with my previous post re: freebsd-legal mail
list. I just feel that all being discussed after the first 20 or so was
3 or 4 individuals expressing their opinions to each other. 

I _firmly_ believe that all have that right to express themselves. In
fact I have fought to protect that right.

That being said, I want to say I was wrong. There is more to discuss on
this issue and I would like to add something.

Poster 1 asks a question. Poster 2 answers with an excellent howto  that
solves the problem for multitudes. Me, thinking this is great, prints
the post. 

Poster 2 decides he wants the archive wiped clean of his howto. And
Freebsd complies.

Can I then pass the hard copy to some of my associates without being
sued?

Keep up the good work.

Robert

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


Re: Electricity bill - OT

2005-02-07 Thread Robert Marella
On Mon, 2005-02-07 at 17:01 +0100, Anthony Atkielski wrote:
   I don't know where the rest is going, but I suspect that
 an aging electric water heater is consuming more than all the computer
 equipment combined.  

I put a timer on my hot water heater and only run it a couple of hours
per day. Saved about $30 per month. Of course, YMMV, I live in Hawai`i.


Robert

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


Re: ISP connection issue

2005-02-07 Thread Roland Smith
On Mon, Feb 07, 2005 at 03:06:25PM -0500, Shawn B wrote:
 I am fairly new at *nix and FreeBSD. I am attempting
 to run a privately owned, publically accessible web
 server from a PC running FreeBSD 4.8. I configured

Maybe a bit OT, but you should consider upgrading to the latest release,
especially on a machine accessible from the internet.

Check your agreement with the ISP. Some ISPs expressly forbid you to
run a server, or they might require you to ask permission first. You'll
probably need a static IP address and a DNS record for your machine to
be accessible.

If you're new to FreeBSD and UNIX I'd recommend setting up and
administrating your own workstation for a while before setting up and
maintaining a publicly accessible webserver.

If you're only going to administer your machine from the console (which
is preferable, IMHO), disable all external access, e.g. by putting
something like -:ALL:ALL EXCEPT LOCAL as the only rule in
/etc/login.access. Do not run sshd, and certainly not telnet. In fact
disable all servers that you do not need, and close all ports (via the
firewall) except the ports needed for a web-server (port 80 and
what-have-you). Run the webserver in a jail.

 ppp.conf and rc.conf for the *old* ISP settings (the
 ones that worked a year ago), and now they do now
 work. I cannot connect the machine to the ISP.
 Although PPP does enable, I cannot resolve any
 domains.

Can you reach other hosts by IP address? If so, it's probably just a
question of telling your system where to find the nameservers:

Add one or two nameserver lines to /etc/resolv.conf. I.e. lines
that consist of the word nameserver followed by the IP address of the
nameserver (seperated by whitespace). IIRC, you should also add or
change the hosts line in /etc/nsswitch.conf to read hosts: files dns.

 The ISP is Bell-Sympatico (Canada), and they
 are completely unwilling to help me, or provide
 software that will accommodate *nix systems
 specifically.

Most ISP's helpdesks I've dealt with are somewhat clueless WRT anything
but Windows. Maybe if you can get through one of their networking guys
(who'll probably be running some kind of UNIX) you might get some more
meaningfull answers.

 I have tried every possible option I could conjure-up
 with no avail. I have even exhaustively searched the
 FreeBSD Handbook and Man pages on-line, and other
 resources (such as Google) were no help.

See e.g. §11.10 in the manual on configuration files, especially §11.10.2.

HTH, Roland
-- 
R.F. Smith   /\ASCII Ribbon Campaign
r s m i t h @ x s 4 a l l . n l  \ /No HTML/RTF in e-mail
http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail
public key: http://www.keyserver.net / \Respect for open standards


pgpkIQo2d4tup.pgp
Description: PGP signature


Fwd: /var Full

2005-02-07 Thread Ben Dover
You might want to try doing a  cd /var and then try the command du -h
which will show how much space each directory is using thus showing
what is eating up your space.  Compare this to df -h and if the
numbers dont hash out a process is keeping disk space.  To find out
which process could be doing that you can install lsof from
/usr/ports/sysutils/lsof   In my case it was as easy as killing apache
and restarting it and I cleared up hundreds of MB of space.


-- Forwarded message --
From: Warren [EMAIL PROTECTED]
Date: Tue, 8 Feb 2005 00:24:41 +1000
Subject: Re: /var Full
To: freebsd-questions@freebsd.org


On Tue, 8 Feb 2005 12:19 am, Erik Norgaard wrote:
 Warren wrote:
  im trying to get cacti working, but since im using a small P2 300 machine
  with a small hdd my /var has suddenly become full and im wodering what is
  safe and not safe so to speak to del in the /var dir

 Although you have now found your solution, I'd recommend for such a
 question to submit the output of 'du -d1' instead - this will show which
 directories are using up the space.

 Cheers, Erik

enterprise# du -d1 /var
2   /var/.snap
2   /var/account
6   /var/at
16  /var/backups
4   /var/crash
8   /var/cron
32946   /var/db
2   /var/empty
2   /var/heimdal
2   /var/log
4   /var/mail
4   /var/msgs
2   /var/preserve
40  /var/run
2   /var/rwho
185556  /var/spool
5376/var/tmp
20  /var/yp
26  /var/named
28  /var/smtpd
224050  /var

--
Yours Sincerely
Shinjii
http://www.shinji.nq.nu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ISP connection issue

2005-02-07 Thread Rick Fournier
You dont need any software from sympatico, you can use ppp from FreeBSD to do 
pppoe. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/pppoe.html

make sure your username ends with @sympatico.ca, then make sure you get valid 
sympatico DNS servers in your /etc/resolv.conf file.

-- I worked at sympatico once, their real bitches about unix/linux support, 
and to think the guy from roaring penguin who wrote the linux pppoe client 
onced worked for them. they should at least recommend that one! --

-Rick

On February 7, 2005 03:06 pm, Shawn B wrote:
 I am fairly new at *nix and FreeBSD. I am attempting
 to run a privately owned, publically accessible web
 server from a PC running FreeBSD 4.8. I configured
 ppp.conf and rc.conf for the *old* ISP settings (the
 ones that worked a year ago), and now they do now
 work. I cannot connect the machine to the ISP.
 Although PPP does enable, I cannot resolve any
 domains. The ISP is Bell-Sympatico (Canada), and they
 are completely unwilling to help me, or provide
 software that will accommodate *nix systems
 specifically. They do, however, have PPPoE software
 for Linux. Since I am new to FreeBSD, I do not want to
 try this software unless I know it will work ok. The
 software is available here
 http://service.sympatico.ca/index.cfm?method=content.viewcontent_id=1138c
ategory_id=99

 I have tried every possible option I could conjure-up
 with no avail. I have even exhaustively searched the
 FreeBSD Handbook and Man pages on-line, and other
 resources (such as Google) were no help.

 I thank you for any help yous' may provide to me. I am
 running short on time and patience in getting this
 system on-line. If this should have been send
 elsewhere, please let me know.

 __
 Post your free ad now! http://personals.yahoo.ca
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-isp
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
Rimasec Internet Services
www.rimasec.net / [EMAIL PROTECTED]
phone: (514) 998-7830 / fax: (514) 998-7130

Owner  Systems Administrator / Rick Fournier ([EMAIL PROTECTED])
GnuPG / PGP Key: 31846E22 (http://www.rimasec.net/keys/rick.asc)
Key Fingerprint: B1E3 AE2E C867 F491  BF9F 9485 7818 122D 3184 6E22


pgp9KFlaAaqXY.pgp
Description: PGP signature


Change Apache version string

2005-02-07 Thread Pat Maddox
I've got mod_php installed as well as mod_jk, so whenever there's a
404 Apache displays
Apache/2.0.52 (FreeBSD) PHP/4.3.10 mod_jk/1.2.6

I'm not sure if I'm being overly paranoid, but I don't really like the
fact that all that info gets displayed.  Is there any way I can change
Apache's version string, like I can with any ftp or smtp daemon?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ISP connection issue

2005-02-07 Thread mario

So, Shawn B wrote:
 I am fairly new at *nix and FreeBSD. I am attempting
 to run a privately owned, publically accessible web
 server from a PC running FreeBSD 4.8. I configured
 ppp.conf and rc.conf for the *old* ISP settings (the
 ones that worked a year ago), and now they do now
 work. I cannot connect the machine to the ISP.
 Although PPP does enable, I cannot resolve any
 domains. The ISP is Bell-Sympatico (Canada), and they
you mean you can connect? can you ping their gateway ip.
domain resolution is done via dns. You need to add the dns server address
they provide to your /etc/resolv.conf file by hand, or run your own
dnscache.
i guess PPPoE only provides a gateway address which is handled by
 add default HISADDR
below.

 are completely unwilling to help me, or provide
 software that will accommodate *nix systems
sounds like SBC

 specifically. They do, however, have PPPoE software
 for Linux. Since I am new to FreeBSD, I do not want to

ppp does pppoe out of the box. Here's mine
[quote]
default:
# this was my old pacbell sbc account dynamic ip nunber
# my nic card is ed0
pacbell:
 set log Phase tun command
 set ifaddr 10.10.0.1/0 10.10.0.2/0
 set timeout 0
# my nic card is ed0
 set device PPPoE:ed0
 set authname [EMAIL PROTECTED]
 set authkey mypass
 set dial
 set login
 add default HISADDR

# nowadays i have static numbers hence this works
speakeasy:
set log Phase Chat LCP IPCP CCP tun command
set device /dev/cuaa1
set speed 115200
set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
 \\ AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT
set timeout 180
set phone 240 9004
set authname myaccount
set authkey mypasswd
set login TIMEOUT 10 \\ \\ gin:--gin: \\U word: \\P
add default HISADDR
[/quote]

 I have tried every possible option I could conjure-up
 with no avail. I have even exhaustively searched the
 FreeBSD Handbook and Man pages on-line, and other
 resources (such as Google) were no help.

you mean here?
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/pppoe.html
then
[snip]
21.5.3 Running ppp
As root, you can run:
# ppp -ddial name_of_service_provider
[/snip]

That would translate into
ppp -ddial pacbell
or
ppp -ddial speakeasy

 I thank you for any help yous' may provide to me. I am
 running short on time and patience in getting this
 system on-line. If this should have been send
 elsewhere, please let me know.
cross posting is generally frowned upon


mario;

Micro$oft is nice, as long as it's not required.
We Can Put an End to the Requirement:
http://www.fsf.org/philosophy/no-word-attachments.html
B.T.W. do YOU schmut!?   --|--   http://www.schmut.com


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


Re: ISP connection issue

2005-02-07 Thread mario
So, mario wrote:
 # nowadays i have static numbers hence this works
 speakeasy:
 set log Phase Chat LCP IPCP CCP tun command
 set device /dev/cuaa1
 set speed 115200
 set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
  \\ AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40
 CONNECT
 set timeout 180
 set phone 240 9004
 set authname myaccount
 set authkey mypasswd
 set login TIMEOUT 10 \\ \\ gin:--gin: \\U word: \\P
 add default HISADDR
scrap this!! that is my dial up fallback account :o


mario;

Micro$oft is nice, as long as it's not required.
We Can Put an End to the Requirement:
http://www.fsf.org/philosophy/no-word-attachments.html
B.T.W. do YOU schmut!?   --|--   http://www.schmut.com


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


Re: ISP connection issue

2005-02-07 Thread Rick Fournier
Their RADIUS servers *should* assign DNS addresses automatically...

-Rick

On February 7, 2005 04:59 pm, mario wrote:
 you mean you can connect? can you ping their gateway ip.
 domain resolution is done via dns. You need to add the dns server address
 they provide to your /etc/resolv.conf file by hand, or run your own
 dnscache.
 i guess PPPoE only provides a gateway address which is handled by
  add default HISADDR
 below.

-- 
Rimasec Internet Services
www.rimasec.net / [EMAIL PROTECTED]
phone: (514) 998-7830 / fax: (514) 998-7130

Owner  Systems Administrator / Rick Fournier ([EMAIL PROTECTED])
GnuPG / PGP Key: 31846E22 (http://www.rimasec.net/keys/rick.asc)
Key Fingerprint: B1E3 AE2E C867 F491  BF9F 9485 7818 122D 3184 6E22


pgpIbPPGPtOad.pgp
Description: PGP signature


Re: Change Apache version string

2005-02-07 Thread darren kirby
quoth the Pat Maddox:
 I've got mod_php installed as well as mod_jk, so whenever there's a
 404 Apache displays
 Apache/2.0.52 (FreeBSD) PHP/4.3.10 mod_jk/1.2.6

 I'm not sure if I'm being overly paranoid, but I don't really like the
 fact that all that info gets displayed.  Is there any way I can change
 Apache's version string, like I can with any ftp or smtp daemon?

In your apache conf file change ServerTokens directive:

### Set to one of:  Full | OS | Minor | Minimal | Major | Prod
### where Full conveys the most information, and Prod the least.
ServerTokens Prod

-d
--
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
...the number of UNIX installations has grown to 10, with more expected...
- Dennis Ritchie and Ken Thompson, June 1972


pgpRVzoHEDVBD.pgp
Description: PGP signature


Re: Change Apache version string

2005-02-07 Thread dick hoogendijk
On Mon, 7 Feb 2005 14:59:19 -0700
Pat Maddox [EMAIL PROTECTED] wrote:

 I've got mod_php installed as well as mod_jk, so whenever there's a
 404 Apache displays
 Apache/2.0.52 (FreeBSD) PHP/4.3.10 mod_jk/1.2.6
 
 I'm not sure if I'm being overly paranoid, but I don't really like the
 fact that all that info gets displayed.  Is there any way I can change
 Apache's version string, like I can with any ftp or smtp daemon?

ServerSignature Off

Put this in your httpd.conf file and apache won't show anything ;-)

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11 ++ FreeBSD 5.3
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: .snap

2005-02-07 Thread Gert Cuykens
On Mon, 7 Feb 2005 12:36:06 -0600, John [EMAIL PROTECTED] wrote:
 On Mon, Feb 07, 2005 at 07:03:56PM +0100, Gert Cuykens wrote:
  On Mon, 7 Feb 2005 10:52:28 +0100 (CET), Svein Halvor Halvorsen
  [EMAIL PROTECTED] wrote:
  
   * Gert Cuykens [2005-02-07 00:32 +0100]
 What are .snap directories ?
  
   Take a look at these references:
  
-  mksnap_ffs(8)
-  dump(8)   [under the -L option]
-  mount(8)  [under the -o snapshot option]
-  /usr/src/sys/ufs/ffs/README.snapshot
  
  
   Svein Halvor
  
 
  So that means i can delete the directories right :)
 
  What is a snapshot of a filesystem ? How big is a snapshot for example
  of a 8gb hd ? What is the difference between a snapshot and a bacup
  image of the hd ?
 
 Rather than filling up the archives with it again, I'll send you
 by private e-mail to messages I wrote about a month ago that addressed
 these issues.
 --
 
 John Lind
 [EMAIL PROTECTED]
 

Thx so i learnt from this that 
A) i can delete .snap directories
B) snapshot + data = bacup image
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Change Apache version string

2005-02-07 Thread Teejay Teodoro
If you wanna be more 'adventurous', you could even use ModSecurity[0].
To change you Apache server 'string' to... let's say... IIS? Here's
the rule...

   # Change Server: string
   SecServerSignature Microsoft-IIS/2.0 (Unix)

Have fun. It's easy to learn and to fiddle around with.

[0] www.modsecurity.org

On Mon, 7 Feb 2005 14:59:19 -0700, Pat Maddox [EMAIL PROTECTED] wrote:
 I've got mod_php installed as well as mod_jk, so whenever there's a
 404 Apache displays
 Apache/2.0.52 (FreeBSD) PHP/4.3.10 mod_jk/1.2.6
 
 I'm not sure if I'm being overly paranoid, but I don't really like the
 fact that all that info gets displayed.  Is there any way I can change
 Apache's version string, like I can with any ftp or smtp daemon?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


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


  1   2   >