Re: ntpd problem freebsd 5.3 [ and Re: I found your question about NTPd on Sep 27]

2004-11-21 Thread Christian Hiris
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 22 November 2004 03:40, [EMAIL PROTECTED] wrote:
> I am having the same problem you mentioned here.
> http://lists.freebsd.org/pipermail/freebsd-questions/2004-September/059279.
> html
>
> I was wondering if you ever found out the cause and/or a way to correct the
> problem.

As this answer appears to be more complete, than my first one, I attached it 
to the original thread, just for the archives. I'm not a ntp specialist, so 
maybe there are some things that I misunderstood, but I think it's better 
than no answer. ;-)

> Sep 23 17:13:41 panther ntpd[467]: kernel time sync enabled 2001
> Sep 23 21:29:44 panther ntpd[467]: kernel time sync enabled 6001
> Sep 23 21:46:48 panther ntpd[467]: kernel time sync enabled 2001
> Sep 24 01:11:39 panther ntpd[467]: kernel time sync enabled 6001
> Sep 24 01:45:47 panther ntpd[467]: kernel time sync enabled 2001
> Sep 24 02:19:59 panther ntpd[467]: kernel time sync enabled 6001

IMHO this isn't a problem - the messages are informational. ntpd just switches 
(kernel) clock discipline modes between PLL (Phase-Locked-Loop) and FLL 
(Frequency-Locked-Loop).

I recently found a good documentation on ntpd PLL/FLL hybrid mode (including 
the differences between ntp v3/v4 PLL/FLL mode's handling):   
http://www.eecis.udel.edu/~mills/database/papers/allan.pdf

I was pointed to the above link by  
http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/contrib/ntp/html/kern.html
You also can find this document in /usr/src, if you have sources installed on 
your system.

As I mentioned, there seems to be nothing wrong with messages 6001 and 2001.  
Kernel time discipline (and probably kernel time discipline messages) could 
be disabled via ntpdc control message's or ntpd config-file's "disable 
kernel" option. I think this also would disable nano-second 
clock-disciplining ability, so I would left it enabled. I never tried to 
disable kernel time discipline, so I can't imagine what would happen in real 
life ... 
http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/contrib/ntp/html/miscopt.html

See also the option "tinker allan" option. This option allows you to change 
the seconds for minimum Allan intercept, which is a parameter of the PLL/FLL 
clock discipline algorithm. I left this at default value, too.
http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/contrib/ntp/html/miscopt.html

Loopfilter's implementation can be found at: 
http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/contrib/ntp/ntpd/ntp_loopfilter.c
http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/sys/timex.h


Two simple examples of ntpd status decoding (see timex.h):

Status message "time sync enabled 2001" tells us:

STA_PLL   0x0001  [true]   /* enable PLL updates (rw) */
STA_NANO  0x2000  [true]   /* resolution (0 = us, 1 = ns) (ro) */
STA_MODE  0x4000  [false]  /* mode (0 = PLL, 1 = FLL) (ro) *
STA_CLK   0x8000  [false]  /* clock source (0 = A, 1 = B) (ro) */
- --
  0x2001  PLL upd. on, Resolution=ns, mode=PLL, clock-src=A

Status message "time sync enabled 6001" tells us:

STA_PLL   0x0001  [true]   /* enable PLL updates (rw) */
STA_NANO  0x2000  [true]   /* resolution (0 = us, 1 = ns) (ro) */
STA_MODE  0x4000  [true]   /* mode (0 = PLL, 1 = FLL) (ro) *
STA_CLK   0x8000  [false]  /* clock source (0 = A, 1 = B) (ro) */
- -
  0x6001  PLL upd. on, Resolution=ns, mode=FLL, clock-src=A

Cheers,
ch

- -- 
Christian Hiris <[EMAIL PROTECTED]> | OpenPGP KeyID 0x3BCA53BE 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBoZag09WjGjvKU74RAoveAJ9vbuBz+wDK24VZL9+KSKL4GDvMcgCbBvzm
4Yd/BHzqkNicKibb+rlDky0=
=SH5B
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Can "make rerelease" go backwards?

2004-11-21 Thread Kevin D. Kinsey, DaleCo, S.P.
I recently tried something new ... built my own release
with what I (naively || ) thought would be
RELENG_5_3 sources.  I'm hoping to use this "release
server" to set up boxes for the foreseeable future, so
I really want 5.3-RELEASE.  It was a neat experience,
not so hard as it seemed at first, and it was tre kewl to
watch FreeBSD install via FTP over a LAN 
However, in setting only the three variables required,
with CVSROOT equal to:
   [EMAIL PROTECTED]:/home/ncvs,
   I ended up with 6.X-CURRENT sources, as I'm sure
that anyone familiar with the process could easily have
foreseen (I guess I thought that somehow BUILDNAME
might have something to do with it, besides the obvious).
If I set CVSCMDARGS to the time that 5.3-RELEASE was
tagged, will a "make rerelease" do the equivalent of
"turning back the clock" without having to clean out
the source tree, etc?  I had to move a box from here
to the colo (and then back again) to get enough bw
to do the job (after 3 unsuccessful tries from here)
and would really like to do the job with minimal
"pull" from the 'Net if possible 
Anyone have a recommendation?  Or is it "back to
the colo" and "make release" again?
Thank you!
Kevin Kinsey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Hard drive min size for Dns install?

2004-11-21 Thread Kevin D. Kinsey, DaleCo, S.P.
Laszlo Antal wrote:
Hi,
How big hard drive do I need for a Fbsd 5.3+Bind
Installation??
I have a 1.2gb hdd would it be big enough?
 Thank you for all the advice
Laszlo
--lantal 

Certainly should be large enough.  A
"minimal" install is quite a bit less than 1.2G,
and even with full source and docs and a
ports tree you should come in under that
figure.
I'd probably create /var equal size to /usr
if DNS is all it's going to do.  YMMV
Kevin Kinsey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Hard drive min size for Dns install?

2004-11-21 Thread Laszlo Antal
Hi,
How big hard drive do I need for a Fbsd 5.3+Bind
Installation??
I have a 1.2gb hdd would it be big enough?
 Thank you for all the advice
Laszlo
--lantal
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Ogle Question

2004-11-21 Thread Genius Freak
On Sun, 21 Nov 2004 17:28:31 -0500, RL <[EMAIL PROTECTED]> wrote:
> Anyone?
> 
> And BTW, I also linked /dec/acd0 to /dev/dvd; still got the same issue.
> 
> 
> 
> 
> On Sat, 20 Nov 2004 17:49:20 -0500, RL <[EMAIL PROTECTED]> wrote:
> > Hi, I just installed ogle-gui and when I try to open up a dvd or play
> > it, I get such things as "DVDSetDVDRoot: Root not set"  That is both
> > when I run it as root and as a regular user. And therefore I cannot
> > play dvd's.
> >
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

If I remember correctly from about a month ago when i used ogle i had
to run it with "ogle  /dev/dvd" so it knew where to look i was useing
gnome at the time and I just changed the program link command I
created on my desktop...also if i remember right I could also browse
once the program loaded File menu > Load.

Hope this helps,

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


hello.

2004-11-21 Thread mase progamer
hello,
I own a small computer & gaming store. i was wondering if you could send me 
some freebsd posters & pamphlets & other such materials for advertisements. i 
have allot of people come through who are very smart &  a few who use freebsd & 
they have told me contact you that it is a awesome OS.I have ordered the 5 from 
fastdiscs.com.  i would also like information on being a reseller. it is a 
small company so we couldn't keep more than 10 or 15 copies on hand  at the 
current time/location.
please get back to me.


-
Do you Yahoo!?
 The all-new My Yahoo! – Get yours free!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: NEW: cannot ssh to my computer

2004-11-21 Thread Ivan Georgiev
Just another thing ...

If I remove myself from the group wheel then I CAN ssh to my computer; if I 
put myself back to wheel - then CANNOT ssh to the computer.

How can I ssh and be a member of the wheel group?


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


xorgconfig

2004-11-21 Thread Giuliano Cardozo Medalha
Hi,
I am trying to config my xorg with the command: "xorgconfig" ... without 
success.

When I run the command it start some questions, but it stops when 
referred to keyboard:

xkb rule file /usr/X11R6/lib/x11/xkb/rules not found
Anyone has some idea about that ?
There is some port to install ... to solve the problem ?
Thanks a lot,
Giuliano
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mplayer and mozilla...

2004-11-21 Thread Kent Stewart
On Sunday 21 November 2004 04:02 pm, Gary Kline wrote:
>   People,
>
>   Before I upgraded mplayerplugin, it worked happily with NPR
>   (and other sites).  I checked "Helper-Applications" in
>   mozilla; did not  see anything Windows.   It is probably that
>   I don't have this entered correctly.  ---Maybe this was
>   never done correctly... (?)
>
>   What am I supposed in have in the entry that tells mozilla
>   which binary to point at when it sees an *afs (?) sound file?
>
>   (mplayerplugin does give me clear audio when NPR asks if
>   I was Real or Windows, but not automatically.)
>
>   thanks for any insights.

Did you do the Help > About Plug-ins menu thing.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: Most Suitable version of FBSD for server?

2004-11-21 Thread Manuel Rabade Garcia
Steve Camp, who happens to be smarter than you, thinks:
> On Sun, Nov 21, 2004 at 08:22:24PM -0600, Chris wrote:
> > Eric Kjeldergaard wrote:
> > >>Which version of FBSD is currently most appropriate for use as
> > >>a server (mail, NFS, samba)?  4.9?  4.10?  5.somethingorother?
> > > 
> > > 
> > > Obviously you'll want something current so 4.9 is out of the question.
> > >  That kind of leaves the 2 distinct branches.  These are the 4.x and
> > > 5.x and are currently represented by 5.3 and 4.10.  Which you want is
> > > rather for you to decide.  I recommend trying both.  It seems like a
> > > lot of work, but is probably best.  Many say that for SMP, 5.3 has
> > > advantages although there have been threads in the lists that argue
> > > both ways.  I would recommend trying with 4.10 for a while and 5.3 for
> > > a while and load-testing each to see which performs better and which
> > > best fits your needs.
> > > 
> > 
> > While I agree (in part) I think the user ought to move to 5.x - 4.x is 
> > legacy, and no telling how much longer it will be until there is little 
> > to no support or development for it.
> 
> Is the  branch of 5.x (assuming 5.3 based on previous response)
> been fairly stable in people's experiences?  Has it been fairly bug-free?
> (I realize that is a pretty subjective question...)
> 

As a desktop or server OS FreeBSD 5.3 has been very stable for me (a
pretty subjective answer :-P)

My suggestion is to use FreeBSD 5.3 without doubt, you will get more
hardware supported, better performance, more features and (maybe the
most important) more support (security patches, bugfixes, etc).

Greetings.

-- 
Manuel Rabade Garcia
 WWW - http://mig-29.net
 GPG - 1024D/AA3325C0 2002-09-30
 Fingerprint - D2E5 76E1 CE2D 8783 545D  1F41 399B 5765 AA33 25C0
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Most Suitable version of FBSD for server?

2004-11-21 Thread Steve Camp
On Sun, Nov 21, 2004 at 08:22:24PM -0600, Chris wrote:
> Eric Kjeldergaard wrote:
> >>Which version of FBSD is currently most appropriate for use as
> >>a server (mail, NFS, samba)?  4.9?  4.10?  5.somethingorother?
> > 
> > 
> > Obviously you'll want something current so 4.9 is out of the question.
> >  That kind of leaves the 2 distinct branches.  These are the 4.x and
> > 5.x and are currently represented by 5.3 and 4.10.  Which you want is
> > rather for you to decide.  I recommend trying both.  It seems like a
> > lot of work, but is probably best.  Many say that for SMP, 5.3 has
> > advantages although there have been threads in the lists that argue
> > both ways.  I would recommend trying with 4.10 for a while and 5.3 for
> > a while and load-testing each to see which performs better and which
> > best fits your needs.
> > 
> 
> While I agree (in part) I think the user ought to move to 5.x - 4.x is 
> legacy, and no telling how much longer it will be until there is little 
> to no support or development for it.

Is the  branch of 5.x (assuming 5.3 based on previous response)
been fairly stable in people's experiences?  Has it been fairly bug-free?
(I realize that is a pretty subjective question...)

Regards,

--
Steve Camp
[EMAIL PROTECTED]


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


Re: bypass beastie press <1> to boot

2004-11-21 Thread Manuel Rabade Garcia
Kevin Smith, who happens to be smarter than you, thinks:
> I prefer that I don't have to wait for timeout - ie it just boots 
> directly with no timeout or interaction from user.
> 

Check the section 'Loader Settings' of /boot/defaults/loader.conf and
override the default configuration in /boot/loader.conf (don't tune
/boot/defaults/loader.conf), you might be interested in autoboot_delay,
and beastie_disable.

-- 
Manuel Rabade Garcia
 WWW - http://mig-29.net
 GPG - 1024D/AA3325C0 2002-09-30
 Fingerprint - D2E5 76E1 CE2D 8783 545D  1F41 399B 5765 AA33 25C0
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: bypass beastie press <1> to boot

2004-11-21 Thread Kevin Smith
I prefer that I don't have to wait for timeout - ie it just boots 
directly with no timeout or interaction from user.

thanks, -K
Eric Kjeldergaard wrote:
Is there a  simple  way to configure the boot loader so that it
immediately boots freebsd from the harddisk without having to get the
beastie menu and pressing the <1> key.
   

This may seem a bit basic, but you realise that you don't have to
press the '1' key, right?  It'll boot up after the timeout.  It's only
like 10 seconds or so and the other options can be quite useful if you
happen to need to boot to single user mode.
 

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


how to build duplex.iso?

2004-11-21 Thread zhe dou
hi there,

May i want to know how to make a cd_rom installation disk ISO image
included both 4.10 and 5.3 in one disk like the FreeBSD/i386 duplex
installation CD-ROM (about 550MB) disk in http://current.freebsd.org/.

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


Re: FreeBSD 5.3 + any smtp server, Refuses to receive any emails...

2004-11-21 Thread Kevin D. Kinsey, DaleCo, S.P.
Erik Ellis wrote:
FreeBSD 5.3 + any smtp server, Refuses to receive any emails from any
external domain EXEPT bredband.net, witch  is odd, cuz I haven't entered
anything about bredband.net.
Right now im using Sendmail, but iwe tried postfix but I get the same
problem. No errors in logs, no errors from "Postmaster". It just wont work.
What can be the problem.
Don't think theres any dns problems cuz its all updated and as I said. It
works when I send email from @bredband.net and @ellisdesign.org
  but not from anything else.
 

Forgive me for taking the last with a grain of salt, but I may
have found out something to shed some light:
---
[579] Sun 21.Nov.2004 
21:25:19  
[EMAIL PROTECTED]/backup/5.3-RELEASE/R/ftp/floppies]
host ellisdesign.org
ellisdesign.org has address 83.226.144.215
ellisdesign.org mail is handled by 10 mx.ellisdesign.org.

[580] Sun 21.Nov.2004 21:25:25
[EMAIL PROTECTED]/backup/5.3-RELEASE/R/ftp/floppies]
host mx.ellisdesign.org
Host mx.ellisdesign.org not found: 3(NXDOMAIN)

So maybe it *is* at least partially due to DNS issues?
Kevin Kinsey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Most Suitable version of FBSD for server?

2004-11-21 Thread Eric Kjeldergaard
> Is the  branch of 5.x (assuming 5.3 based on previous response)
> been fairly stable in people's experiences?  Has it been fairly bug-free?
> (I realize that is a pretty subjective question...)

correct on 5.3 being the current release.  I find it quite stable.  I
have not crashed or locked or anything on any desktops/servers I have
installed it on.  This doesn't hold with my laptop, but the one crash
that I got was due (I think) to X rather than fBSD itself.  In general
when fBSD declares something STABLE for a release, they mean it.

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


Re: Most Suitable version of FBSD for server?

2004-11-21 Thread Chris
Eric Kjeldergaard wrote:
Which version of FBSD is currently most appropriate for use as
a server (mail, NFS, samba)?  4.9?  4.10?  5.somethingorother?

Obviously you'll want something current so 4.9 is out of the question.
 That kind of leaves the 2 distinct branches.  These are the 4.x and
5.x and are currently represented by 5.3 and 4.10.  Which you want is
rather for you to decide.  I recommend trying both.  It seems like a
lot of work, but is probably best.  Many say that for SMP, 5.3 has
advantages although there have been threads in the lists that argue
both ways.  I would recommend trying with 4.10 for a while and 5.3 for
a while and load-testing each to see which performs better and which
best fits your needs.
While I agree (in part) I think the user ought to move to 5.x - 4.x is 
legacy, and no telling how much longer it will be until there is little 
to no support or development for it.

--
Best regards,
Chris
To change an environment variable in tcsh you use: setenv NAME "value"
where NAME is the name of the variable and "value" its new value.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: bypass beastie press <1> to boot

2004-11-21 Thread Dan Nelson
In the last episode (Nov 21), Kevin Smith said:
> Is there a  simple  way to configure the boot loader so that it
> immediately boots freebsd from the harddisk without having to get the
> beastie menu and pressing the <1> key.

I use this in loader.conf:

beastie_disable="YES"
autoboot_delay="1"

That way you still have a 1-second window where you can hit space

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


Re: bypass beastie press <1> to boot

2004-11-21 Thread Eric Kjeldergaard
> Is there a  simple  way to configure the boot loader so that it
> immediately boots freebsd from the harddisk without having to get the
> beastie menu and pressing the <1> key.

This may seem a bit basic, but you realise that you don't have to
press the '1' key, right?  It'll boot up after the timeout.  It's only
like 10 seconds or so and the other options can be quite useful if you
happen to need to boot to single user mode.

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


Re: bypass beastie press <1> to boot

2004-11-21 Thread Chris
Kevin Smith wrote:
Is there a  simple  way to configure the boot loader so that it
immediately boots freebsd from the harddisk without having to get the
beastie menu and pressing the <1> key.

Have a look at /boot/defaults/loader.conf - there ought to be something 
there. Then, add it to /boot/loader.conf

--
Best regards,
Chris
When somebody drops something, everybody will kick it
around instead of picking it up.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


bypass beastie press <1> to boot

2004-11-21 Thread Kevin Smith
Is there a  simple  way to configure the boot loader so that it
immediately boots freebsd from the harddisk without having to get the
beastie menu and pressing the <1> key.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Most Suitable version of FBSD for server?

2004-11-21 Thread Eric Kjeldergaard
> Which version of FBSD is currently most appropriate for use as
> a server (mail, NFS, samba)?  4.9?  4.10?  5.somethingorother?

Obviously you'll want something current so 4.9 is out of the question.
 That kind of leaves the 2 distinct branches.  These are the 4.x and
5.x and are currently represented by 5.3 and 4.10.  Which you want is
rather for you to decide.  I recommend trying both.  It seems like a
lot of work, but is probably best.  Many say that for SMP, 5.3 has
advantages although there have been threads in the lists that argue
both ways.  I would recommend trying with 4.10 for a while and 5.3 for
a while and load-testing each to see which performs better and which
best fits your needs.

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


Most Suitable version of FBSD for server?

2004-11-21 Thread Steve Camp
Which version of FBSD is currently most appropriate for use as 
a server (mail, NFS, samba)?  4.9?  4.10?  5.somethingorother?

Thx,

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


Problems about Grub and FreeBSD

2004-11-21 Thread 殷鸣
Hi, all
I got some problems while installed FreeBSD onto a big disk. 

I installed 3 OS on my box, WIN98, Redhat9, and FreeBSD5r. BSD is resident
in the third partition, from 768cyl to 1800cyl, but the bios of my box
is rather old, which doesn't support big disks greater than 1024cyl. I
should have set a boot disk label in the 1024cyl, but I forgot to do
that. So, for either Grub (0.93) and bootmgr of BSD, they cannot load
the kernel directly.

Partition:
[0-767cyl WIN98] [768-1800cyl BSD] [...]

Disk label inside BSD partition:
[ / size:as much as this partition ] [ swap size:256M]

First question, how to load BSD's kernel outside of 1024cyl? My bios has
no version supporting big disks.

Second: I installed Grub in MBR, to boot these 3 OS. Since it wasn't
able to load the BSD's kernel outside of 1024cyl, I tried chainloader as
same as WIN98:
#grub.conf
rootnoverify (hd0,1) # the BSD partition
makeactive
chainloader +1

It worked, Grub loaded the boot sector of BSD partition and then, the
later one loaded the kernel correctly. But the loading was rather slow.
I mean, loading of kernel is rathr slow (takes about 20 seconds) , but
after kernel having been loaded, the system runs as fast as usual. 
Why?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Gravis USB gamepad, FreeBSD 5.3, and ZSNES

2004-11-21 Thread jason
Cam wrote:
I can't get my gamepad to work with zsnes.  dmesg tells me that its 
connected and recognized

ugen0: Gravis GamePad Pro USB, rev 1.00/2.00, addr 2
but when I start zsnes through the console, it says
ZSNES could not find any joysticks.
help?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"

I have a gamecube controller I hooked up via usb to my pc and I can use 
it to do stuff, just not play games!  $ man usbhidctl is what you will 
need to know.  The problem appears to be most emulators use joypad or 
something specific to linux.  But there is one in FreeBSD too, I just 
could never get the button mappings down.  What I was going to do was 
have x treat it like a keyboard or something and map the buttons from my 
controller to the keyboard keys.  I could get my gamepad to do things 
like change system system settings, but that was all.  If you have any 
thoughts or get it working let me know.

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


Re: FreeBSD 5.3 + any smtp server, Refuses to receive any emails...

2004-11-21 Thread Ash
Erik Ellis wrote:
FreeBSD 5.3 + any smtp server, Refuses to receive any emails from any
external domain EXEPT bredband.net, witch  is odd, cuz I haven't entered
anything about bredband.net.
Right now im using Sendmail, but iwe tried postfix but I get the same
problem. No errors in logs, no errors from "Postmaster". It just wont work.
What can be the problem.
Don't think theres any dns problems cuz its all updated and as I said. It
works when I send email from @bredband.net and @ellisdesign.org
  but not from anything else.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Erik,
Have you had a look at /etc/mail/README and/or 
/usr/share/sendmail/cf/README? Particularly the bits regarding relaying? 
If not, then those READMEs are probably a good place to start.

Will this SMTP server be accessible by everyone on the Internet? If so, 
you really do want to make sure you understand why it's bad to be an 
open relay and what the possible consequences are (e.g. being 
blacklisted, slapped around by your ISP, name calling, etc...).

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


Re: unable to compile jdk14

2004-11-21 Thread Kris Kennaway
On Sun, Nov 21, 2004 at 07:59:40PM -0500, Antoine Solomon wrote:
> Hello, I am unable to build the jdk14 port.  Here are the errors that I get
> 
> 
> .java ; \
> fi
> /usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.java:1:
> 'class' or 'interface' expected
> Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
> ^
> /usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.java:1:
> unclosed character literalJava HotSpot(TM) Client VM warning: Can't
> detect initial thread stack location
>^
> 2 errors
> gmake[4]: *** [.compile.classlist] Error 1
> gmake[4]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java/java'
> gmake[3]: *** [optimized] Error 2
> gmake[3]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java/java'
> gmake[2]: *** [all] Error 1
> gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java'
> gmake[1]: *** [all] Error 1
> gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make'
> gmake: *** [j2se-build] Error 2
> *** Error code 2
> 
> Stop in /usr/ports/java/jdk14.

This is a FAQ; search the archives.

Kris


pgpuuCf5I0nF0.pgp
Description: PGP signature


Re: your mail

2004-11-21 Thread Dick Davies
* Antoine Solomon <[EMAIL PROTECTED]> [1159 00:59]:
> Hello, I am unable to build the jdk14 port.  Here are the errors that I get
> 
> 
> .java ; \
> fi
> /usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.java:1:
> 'class' or 'interface' expected
> Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
> ^
> /usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.java:1:
> unclosed character literalJava HotSpot(TM) Client VM warning: Can't
> detect initial thread stack location
>^

ISTR you need linprocfs mounted for the linux jvm to run correctly (which is 
used to 
build the native one).

> 2 errors
> gmake[4]: *** [.compile.classlist] Error 1
> gmake[4]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java/java'
> gmake[3]: *** [optimized] Error 2
> gmake[3]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java/java'
> gmake[2]: *** [all] Error 1
> gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java'
> gmake[1]: *** [all] Error 1
> gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make'
> gmake: *** [j2se-build] Error 2
> *** Error code 2
> 
> Stop in /usr/ports/java/jdk14.
> 
> -- 
> Antoine W. Solomon Jr.
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 
My life, and by extension everyone else's, is meaningless. - Bender
Rasputin :: Jack of All Trades - Master of Nuns
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


unable to compile jdk14

2004-11-21 Thread Antoine Solomon
Hello, I am unable to build the jdk14 port.  Here are the errors that I get


.java ; \
fi
/usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.java:1:
'class' or 'interface' expected
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
^
/usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.java:1:
unclosed character literalJava HotSpot(TM) Client VM warning: Can't
detect initial thread stack location
   ^
2 errors
gmake[4]: *** [.compile.classlist] Error 1
gmake[4]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java/java'
gmake[3]: *** [optimized] Error 2
gmake[3]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java/java'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make'
gmake: *** [j2se-build] Error 2
*** Error code 2

Stop in /usr/ports/java/jdk14.

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


[no subject]

2004-11-21 Thread Antoine Solomon
Hello, I am unable to build the jdk14 port.  Here are the errors that I get


.java ; \
fi
/usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.java:1:
'class' or 'interface' expected
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
^
/usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.java:1:
unclosed character literalJava HotSpot(TM) Client VM warning: Can't
detect initial thread stack location
   ^
2 errors
gmake[4]: *** [.compile.classlist] Error 1
gmake[4]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java/java'
gmake[3]: *** [optimized] Error 2
gmake[3]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java/java'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make'
gmake: *** [j2se-build] Error 2
*** Error code 2

Stop in /usr/ports/java/jdk14.

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


Re: Diskless Servers

2004-11-21 Thread Tabor Kelly
Evan Sayer wrote:
Hello-
Is it a good idea to run a mail server or web server diskless?  The 
reason I want to do this is so that all of our server's files will be in 
one place which will make backups more convenient.  Basically I am 
thinking of running one NFS/TFTP file server with disks, and those disks 
will contain the partitions for a web server, a mail server, and a login 
server which will all boot diskless.  Is this safe and ok performance 
wise?  Thanks.
So, mbox format mail files can not be run over NFS because NFS does not 
implement posix standard file locking. You could run courier or qmail 
with maildir however. I use a patched version of qmail (and I love it), 
your can read about my experiences here (please note, I haven't quite 
finished this document yet and it is still a little rough around the 
edges): (http://tabor.taborandtashell.net/serversetup/qmail.html).

As for a web server, I don't know of any file locking problems, although 
for some specific implementations I would presume that they would pop up 
(ex: anything to do with a Berkley DB).

So, in short the answer to your question is: depends.
Note: I am not an expert unix system administrator, nor have I ever had 
a disk less server, I have however been monkeying with unix for about 8 
years now.

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


Re: Passing options to configure / compiler

2004-11-21 Thread Conrad J. Sabatier
On Sun, 21 Nov 2004 19:32:14 +0100, Martin Hudec <[EMAIL PROTECTED]>
wrote:

> Hello,
> 
> On Sun, Nov 21, 2004 at 05:40:01PM +0100 or thereabouts, Remko Lodder
> wrote:
> > Vittorio wrote:
> > >I couldn't find in the docs how to pass options to the configure
> > >script.
> > >
> > 
> > if you want to use WITH_TESTS for example you need to add
> > 
> > make WITH_TESTS=yes install clean (or something similiar)
> > 
> > when portupgrade'ing that you should do
> > 
> > portupgrade -M 'WITH_TESTS=yes' postgresql
> > (or again; something similiar)
> > 
> > Hope that helps!
> 
>   It would be nice for him to set options pkgtools.conf, which
> can be usually found in /usr/local/etc. 
> 
> For example:
> I want links to be compiled without X11 support, so I set in section
> named MAKE_ARGS following:
> 
>   'www/links' => 'WITHOUT_X11=yes',
> 
> so this compilation option will be reflected next time he uses
> portupgrade utility. Otherwise portupgrade will ignore previous
> compilation options. Or at least I don't know how to tell portupgrade
> which options did I use to compile the port :).

This also has the advantage of being able to set arguments to configure
which the port maintainer may not have provided knobs for, by doing
something like this:

'www/links' => 'CONFIGURE_ARGS+=--some-option-to-configure',

Of course, this all depends on having portupgrade installed, and using
it consistently for building/upgrading.

-- 
Conrad J. Sabatier <[EMAIL PROTECTED]> -- "In Unix veritas"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 5.3 + any smtp server, Refuses to receive any emails...

2004-11-21 Thread Brian Bobowski
Erik Ellis wrote:
FreeBSD 5.3 + any smtp server, Refuses to receive any emails from any
external domain EXEPT bredband.net, witch  is odd, cuz I haven't entered
anything about bredband.net.
Right now im using Sendmail, but iwe tried postfix but I get the same
problem. No errors in logs, no errors from "Postmaster". It just wont work.
What can be the problem.
Don't think theres any dns problems cuz its all updated and as I said. It
works when I send email from @bredband.net and @ellisdesign.org
  but not from anything else.
 

Does your ISP allow incoming SMTP connections? Not all ISPs do, 
especially if they don't expect their users to be running servers. See 
if you can get someone outside your ISP to try connecting to the SMTP 
port on your machine. If they get a connection refusal, then somewhere 
along the line, that port is being blocked.

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


mplayer and mozilla...

2004-11-21 Thread Gary Kline

People,

Before I upgraded mplayerplugin, it worked happily with NPR 
(and other sites).  I checked "Helper-Applications" in
mozilla; did not  see anything Windows.   It is probably that 
I don't have this entered correctly.  ---Maybe this was 
never done correctly... (?)

What am I supposed in have in the entry that tells mozilla
which binary to point at when it sees an *afs (?) sound file?

(mplayerplugin does give me clear audio when NPR asks if
I was Real or Windows, but not automatically.)

thanks for any insights.
-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: oracle 9.2.0.4 client on freebsd 5.3

2004-11-21 Thread eodyna
hi there,

i followed this guide.

http://ezine.daemonnews.org/200402/oracle.html

i ran 
/compat/linux/bin/bash \
/data01oracle/product/9.2.0.1.0/root.sh
which is that scripty thing :)

and i also created an arch directory prior tothe
install. but that doesn't seam fix this problem

bash-2.05b$ pwd
/compat/linux/bin
bash-2.05b$ ls -lsa | more
   2 -rwxr-xr-x   1 root  wheel   35 Nov 18 14:19
arch

bash-2.05b$ more arch
#!/compat/linux/bin/bash
echo i686


any other ideas?


ps: im not on the list, so if you can include me in on
the cc that would be great.

ta.
 --- Dan Nelson <[EMAIL PROTECTED]> wrote: 
> In the last episode (Nov 19), eodyna said:
> > I am having trouble starting Oracle Enterprise
> Manger on Freebsd 5.3
> > 
> > I have succesfully installed the client. Yay for
> me :) After the
> > client installation, the net assist was run and
> oem was automatically
> > started. (so i kinda know it works)
> > 
> > WHen i try to run oemapp from the command line
> (logged in as oracle)
> > i get the following error message
> > 
> > bash-2.05b$ oemapp
> > expr: syntax error
> > jre was not found in
> >
>
/data01/oracle/jre/1.1.8/bin//data01/oracle/jre/1.1.8/bin/../bin/i686/native_threads/jre
> 
> You probably need to run that script from a Linux
> bash shell, so it
> sees linux's expr ..
>  
> > it appears that these directories are concatinated
> together but im
> > not sure. jre definately exists in those
> directories.
> > 
> > when i try to run oemapp as a user other than
> oracle i
> > get the following error message
> > 
> > -su-2.05b$ oemapp
> > dirname: illegal option -- p
> > usage: dirname path
> > arch: not found
> 
> .. and  Linux's dirname and arch :)
> 
> > /data01/oracle/jre/1.1.8/bin/jre: 101: Syntax
> error:
> > word unexpected (expecting ")")
> 
> -- 
>   Dan Nelson
>   [EMAIL PROTECTED]
>  

Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD 5.3 + any smtp server, Refuses to receive any emails...

2004-11-21 Thread Erik Ellis
FreeBSD 5.3 + any smtp server, Refuses to receive any emails from any
external domain EXEPT bredband.net, witch  is odd, cuz I haven't entered
anything about bredband.net.

Right now im using Sendmail, but iwe tried postfix but I get the same
problem. No errors in logs, no errors from "Postmaster". It just wont work.
What can be the problem.

Don't think theres any dns problems cuz its all updated and as I said. It
works when I send email from @bredband.net and @ellisdesign.org
  but not from anything else.

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


Re: openssl 0.9.7e

2004-11-21 Thread Kris Kennaway
On Sun, Nov 21, 2004 at 08:39:31PM +, Chris wrote:
> How do you get openssl port to overwrite the base files, the following
> does NOT work.
> 
> make OPENSSL_OVERWRITE_BASE=yes install clean
> 
> it displays
> "#
> # this ports does not support the dynamic root
> # please undefine OPENSSL_OVERWRITE_BASE
> # and use WITH_OPENSSL_PORT=yes instead.
> #
> *** Error code 1
> 
> Stop in /usr/ports/security/openssl."
> 
> how to install in base?

Er, the error message you quoted tells you what you did wrong and how to fix it.

Kris


pgpobI004cUTq.pgp
Description: PGP signature


Re: Looking for a good NSS/Pam_LDAP/Open LDAP how-to for 5.x

2004-11-21 Thread Jon Adams

Cezar Fistik wrote:
Hello Jon,
Sunday, November 21, 2004, 3:16:27 PM, you wrote:
JA> I tried this one:
JA> 
http://www.cultdeadsheep.org/FreeBSD/docs/Quick_and_dirty_FreeBSD_5_x_and_nss_ldap_mini-HOWTO.html
JA> and it emphatically does not work, and I followed it to the letter I
JA> think it has something to do with NSS only using SSL/port 636.
JA> so then I tried it with that added still no dice
I followed the above howto word by word too and it didn't work from
the first try. So I made some searches, I think on pamldap or on
openldap mailing lists, don't remember exactly, and found another
explanation on how to set things up. As far as I remember, my problem
was with ldap.conf and nss_ldap.conf files which reside in
/usr/local/etc/. This files must be identical, so you may symlink
them, as I did. After that everything started to work, in my case ssh
through pam_ldap.
 

I found this to be the case also  I didnt think to symlink them 
though (Doh)

Unfortunately, my detailed configs are at work, so if you won't find
anything I'll post them on monday.
 

would greatly appreciate it  I cant get ssh logins (or any others) 
to work... really frustrating...

Thanks...
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Alsmost have NSS/PAM/LDAP... neew a lil help ( was Re: Looking for a good NSS/Pam_LDAP/Open LDAP how-to for 5.x)

2004-11-21 Thread Jon Adams
After much banging my head against the desk, I have it kinda working...
I can su - to a user (from root) and get home directory... but... and I 
have tried PLAIN, CRYPT, and SSHA passwords...
I cannot login,  su - (when prompted for password), ssh in...

here is a some of the conf files
east# more /usr/local/etc/pam_ldap/ssh.conf
host 127.0.0.1
port 389
base dc=all,dc=net
ldap_version 3
ssl off
tls_ciphers HIGH:MEDIUM:+SSLv2:RSA
tls_checkpeer no
pam_login_attribute uid
east# cat /etc/pam.d/sshd
#
# $FreeBSD: src/etc/pam.d/sshd,v 1.15 2003/04/30 21:57:54 markm Exp $
#
# PAM configuration for the "sshd" service
#
# auth
authsufficient  /usr/local/lib/pam_ldap.so  no_warn 
try_first_pass config=/usr/local/etc/pam_ldap/ssh.conf
authrequiredpam_nologin.so  no_warn
authsufficient  pam_opie.so no_warn 
no_fake_prompts
authrequisite   pam_opieaccess.so   no_warn allow_local
#auth   sufficient  pam_krb5.so no_warn 
try_first_pass
#auth   sufficient  pam_ssh.so  no_warn 
try_first_pass
authrequiredpam_unix.so no_warn 
try_first_pass

# account
#accountrequiredpam_krb5.so
account sufficient  /usr/local/lib/pam_ldap.so 
config=/usr/local/etc/pam_ldap/ssh.conf
account requiredpam_login_access.so
account requiredpam_unix.so

# session
#sessionoptionalpam_ssh.so
session sufficient  /usr/local/lib/pam_ldap.so 
config=/usr/local/etc/pam_ldap/ssh.conf
session requiredpam_permit.so

# password
#password   sufficient  pam_krb5.so no_warn 
try_first_pass
passwordsufficient  /usr/local/lib/pam_ldap.so 
config=/usr/local/etc/pam_ldap/ssh.conf
passwordrequiredpam_unix.so no_warn 
try_first_pass

east# more /usr/local/etc/ldap.conf
rootbinddb cn=Manager,dc=all,dc=net
uri ldaps://69.17.104.19:636/
binddn cn=Manager,dc=all,dc=net
ssl yes
bindpw 
port 636
nss_base_passwd ou=People,dc=all,dc=net?one
nss_base_group  ou=Groups,dc=all,dc=net?one
pam_password SSHA
> uname -a
FreeBSD east 5.1-RELEASE FreeBSD 5.1-RELEASE #3: Tue Nov  9 22:43:42 GMT 
2004 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/ORACLE  i386
(I put in the oracle required changes and some TCP/IP related stuff)

> ./slapd -VV
@(#) $OpenLDAP: slapd 2.2.18 (Nov 21 2004 02:33:07) $
   
[EMAIL PROTECTED]:/usr/ports/net/openldap22-sasl-server/work/openldap-2.2.18/servers/slapd

> sshd -v
sshd version OpenSSH_3.6.1p1 FreeBSD-20030423
strings on slappasswd show the following are compiled in::
{SSHA}
{CRYPT}
{SHA}
{MD5}
{LANMAN}
{SASL}
{UNIX}
{CLEARTEXT}




Jon Adams wrote:
I tried this one:
http://www.cultdeadsheep.org/FreeBSD/docs/Quick_and_dirty_FreeBSD_5_x_and_nss_ldap_mini-HOWTO.html 

and it emphatically does not work, and I followed it to the letter 
I think it has something to do with NSS only using SSL/port 636.

so then I tried it with that added still no dice
Help!

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Ogle Question

2004-11-21 Thread RL
Anyone?

And BTW, I also linked /dec/acd0 to /dev/dvd; still got the same issue. 


On Sat, 20 Nov 2004 17:49:20 -0500, RL <[EMAIL PROTECTED]> wrote:
> Hi, I just installed ogle-gui and when I try to open up a dvd or play
> it, I get such things as "DVDSetDVDRoot: Root not set"  That is both
> when I run it as root and as a regular user. And therefore I cannot
> play dvd's.
>
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: two hdd partitation

2004-11-21 Thread Brian Bobowski
Dude Dude wrote:
hey, i will install tomorrow freebsd in a machine with two hdd 
(60+80GB), and i would like to use freebsd on both, what should i do?

During installation put /usr under onde disk, and all the other stuff 
in the other? will these work?

thank u
You may want to consider putting some swap space on both drives, because 
this will allow for (relatively) simultaneous access, and should speed 
up swap performance. Other than that, the only difference should be that 
you have two drives to select from when creating your FreeBSD slices, 
and will thus have two slices when it comes to actually making 
partitions and assigning mount points.

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


Re: turning off IPv6 support in BSD

2004-11-21 Thread dave
Hello,
If you turn off ipv6 support either in the kernel or via rc.conf will it
be possible to load ipfilter as a module vs. compiling it in to the kernel?
I turned off ipv6 in the kernel on a 5.3 box, but ipfilter was unable to
load the module was not found because it depended on ipv6.
Thanks.
Dave.

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


Re: turning off IPv6 support in BSD

2004-11-21 Thread Chris Hill
On Sun, 21 Nov 2004, Michael W. Oliver wrote:
On 2004-11-21T11:31:44-0500, Robert Huff wrote:
David Jenkins writes:
ipv6_enable="YES" is defined in /etc/defaults/rc.conf, so you
have to define ipv6_enable="NO" in /etc/rc.conf to realize any
change.
 Not on my system (RELENG_5_3)...
 # cat /etc/defaults/rc.conf | grep ipv6_enable
 ipv6_enable="NO"# Set to YES to set up for IPv6.
	Affirmed for -CURRENT.
Yeah, you guys are right... as far as I can tell, it's always been set
to "NO" in /etc/defaults/rc.conf.  Sorry 'bout that.
Not only that, but it appears not to matter. I'm running 4.10 on this 
machine (same as the OP), with ipv6_enable="NO" in /etc/defaults/rc.conf 
and nothing to override it in /etc/rc.conf. Yet the machine booted with 
IPv6 enabled. Only when I disabled IPv6 in the kernel did v6 stop trying 
to happen. This also had the effect of speeding up name resolution by 
Mozilla and friends, which IIRC was the OP's issue in the first place.

--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging <|> ]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: turning off IPv6 support in BSD

2004-11-21 Thread Michael W. Oliver
On 2004-11-21T11:31:44-0500, Robert Huff wrote:
> David Jenkins writes:
> > > ipv6_enable="YES" is defined in /etc/defaults/rc.conf, so you
> > > have to define ipv6_enable="NO" in /etc/rc.conf to realize any
> > > change. 
> >
> >  Not on my system (RELENG_5_3)...
> >
> >  # cat /etc/defaults/rc.conf | grep ipv6_enable
> >  ipv6_enable="NO"# Set to YES to set up for IPv6.
>
>   Affirmed for -CURRENT.
>
>   Robert Huff

Doh!

Yeah, you guys are right... as far as I can tell, it's always been set
to "NO" in /etc/defaults/rc.conf.  Sorry 'bout that.

-- 
Michael W. Oliver
[see complete headers for contact information]



pgpQPw2UGjENZ.pgp
Description: PGP signature


Gravis USB gamepad, FreeBSD 5.3, and ZSNES

2004-11-21 Thread Cam
I can't get my gamepad to work with zsnes.  dmesg tells me that its 
connected and recognized

ugen0: Gravis GamePad Pro USB, rev 1.00/2.00, addr 2
but when I start zsnes through the console, it says
ZSNES could not find any joysticks.
help?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


freetype 2 error question

2004-11-21 Thread dick hoogendijk
I get a lot of the following errors. They all are related to Xft. I.e.
"portupgrade -rR XFree86-4-clients" stops with the following errors:

#ifndef FT_FREETYPE_H
#error "`ft2build.h' hasn't been included yet!"
#error "Please always use macros to include FreeType header files."
#error "Example:"
#error "  #include "
#error "  #include FT_FREETYPE_H"
#endif

-(Compiling fvwm results in the same way)-

After some googling I learn this error is quite common.

I want your opinion on some changes I made in
/usr/X11R6/include/X11/Xft/Xft.h

The original file states:

#include 
#include 
#include 
#include 

After I changed some lines, XFree86-4-clients compiled well. The errors
disappeared. But I wonder if my changes were right. What I did was:

#include 
#include 
#include FT_FREETYPE_H
#include 
#include 

As you can see, I left out the line "#include "
completely, but now I wonder if I should have left it in the header
file, following my changes.. I.e.:

#include 
#include 
#include FT_FREETYPE_H
#include   <-- leave it here 
#include 
#include 

Please give me some advise..

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.10 ++ Debian GNU/Linux (Woody)
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: two hdd partitation

2004-11-21 Thread Dude Dude
just because i never install freebsd in a machine iwth two hdd, and i dont 
know if it is possible to partitionate 2 hdd at the same tipe under the 
installation!!

the most reasonable thing to do is, the 80GB hdd under /usr and the 60GB hdd 
put it with fbsd automatic  partitionable method, isnt it ??

thx
_
MSN Messenger: converse com os seus amigos online. 
http://messenger.msn.com.br

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


Re: openssl 0.9.7e

2004-11-21 Thread Chris
How do you get openssl port to overwrite the base files, the following
does NOT work.

make OPENSSL_OVERWRITE_BASE=yes install clean

it displays
"#
# this ports does not support the dynamic root
# please undefine OPENSSL_OVERWRITE_BASE
# and use WITH_OPENSSL_PORT=yes instead.
#
*** Error code 1

Stop in /usr/ports/security/openssl."

how to install in base?


On Sun, 21 Nov 2004 07:17:41 -0800, Kris Kennaway <[EMAIL PROTECTED]> wrote:
> On Sun, Nov 21, 2004 at 07:01:53AM -0600, J.D. Bronson wrote:
> > Has anyone been successful at building openssl 0.9.7e from src
> > on FreeBSD 5.3?
> >
> > ./config --prefix=/usr --openssldir=/etc/ssl threads shared zlib
> >
> >
> > It will fail if I use 'shared' but build fine with static.
> >
> > Last time a new version came out, I built it from src and then moved files
> > where I needed to so I didnt have to remake the entire system.
> >
> > It worked perfect...of course the last version did BUILD! :(
> 
> You can just use the openssl port with the appropriate build option to
> make it overwrite the base files.
> 
> Kris
> 
> 
>
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: two hdd partitation

2004-11-21 Thread Subhro



> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owner-freebsd-
> [EMAIL PROTECTED] On Behalf Of Dude Dude
> Sent: Monday, November 22, 2004 1:11
> To: [EMAIL PROTECTED]
> Subject: two hdd partitation
> 
> hey, i will install tomorrow freebsd in a machine with two hdd (60+80GB),
> and i would like to use freebsd on both, what should i do?
> 
> During installation put /usr under onde disk, and all the other stuff in
> the
> other? will these work?
> 

There is no reason why it should not work. Why do you have the feeling that
it might not work?

Regards
S.

Indian Institute of Information Technology
Subhro Sankha Kar
Block AQ-13/1, Sector V
Salt Lake City
PIN 700091
India


smime.p7s
Description: S/MIME cryptographic signature


RE: RAM facilities

2004-11-21 Thread Subhro



> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owner-freebsd-
> [EMAIL PROTECTED] On Behalf Of Dude Dude
> Sent: Monday, November 22, 2004 1:00
> To: [EMAIL PROTECTED]
> Subject: RAM facilities
> 
> i'm buying a new amd64 processor, and i would like to know if having
> 2*256+512 is equal to have 1GB of RAM, the speed will be the same?
> 

There should not be any noticeable performance differences.

Regards
S.

Indian Institute of Information Technology
Subhro Sankha Kar
Block AQ-13/1, Sector V
Salt Lake City
PIN 700091
India


smime.p7s
Description: S/MIME cryptographic signature


Re: Where to install DNS?

2004-11-21 Thread Francisco Reyes
On Sun, 21 Nov 2004, Laszlo Antal wrote:
Where is the best place to install DNS??
Depends.
Does it have to be on a separate computer,
No.
or can I install it on the same machine with the web and ftp server?
You can.
Depending on the machine (ie CPU, Memory) and how much combined usage you 
have you should be able to run all your servers off the same machine... 
from a performance standpoint.

Security is another issue.
In particular you need to have public FTP? It is safer to use scp.
Also what kind of DNS will this be? A backup DNS, primary or caching?
Only time I can think performance would be an issue is if you were to run 
a primary DNS for a very buy domain or domains.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Where to install DNS?

2004-11-21 Thread Laszlo Antal
Hi,
Where is the best place to install DNS??
Does it have to be on a separate computer,
or can I install it on the same machine with the web and ftp server?
Thank you all advice
Laszlo
--lantal
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


device problem

2004-11-21 Thread Ivars
Hi!
I got an old PC - Compaq Deskpro 4000 - 166mhz/64ram/etc.
And i tried to install FreeBSD 5.2 on it, but i failed. Everything goes ok - 
system boots normaly (from CD), freebsd installer starts, and when i choose to 
install it says - "no disks found". and this message also appears when i want 
to change source media ("no cdrom/dvdrom found") or load install configuration 
("no floppies found").
I tried to google my problem, but there were no good results.
Linux is installing and working perfectly on this computer, but freebsd fails 
to install.

maybe you could help?

but dont suggest to go into the bios - i can`t get into it :)))


thanks.

---
Ivars
[EMAIL PROTECTED]

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


two hdd partitation

2004-11-21 Thread Dude Dude
hey, i will install tomorrow freebsd in a machine with two hdd (60+80GB), 
and i would like to use freebsd on both, what should i do?

During installation put /usr under onde disk, and all the other stuff in the 
other? will these work?

thank u
_
MSN Hotmail, o maior webmail do Brasil. http://www.hotmail.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RAM facilities

2004-11-21 Thread Dude Dude
hey,
i'm buying a new amd64 processor, and i would like to know if having 
2*256+512 is equal to have 1GB of RAM, the speed will be the same?

thx
_
MSN Messenger: converse com os seus amigos online. 
http://messenger.msn.com.br

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


Re: Tracing Disk Activity

2004-11-21 Thread Hanspeter Roth
  On Nov 21 at 10:50, Chuck Swiger spoke:

> Hanspeter Roth wrote:
> >I have set an idle timeout for the hard-disk. But when there is no
> >user activity there are frequent disk accesses.
> 
> Yes, this is Unix.  Even when there is no user activity, a Unix system 
> normally is still running a number of daemons such as syslogd which 
> regularly write to the filesystem.  Beyond that, the syncer mechanism tries 
> to reduce the number of dirty memory buffers every thirty seconds or so.

I guess that some daemons are causing disk access. But it must be
not only syslogd.
Is the syncer causing the disk to spin up even if there is nothing
to flush?

[...]
> Instead you probably will need to mount filesystems read-only and create 
> RAM disks in a fashion similar to booting off limited-write media like 

My idea is to transfer those files that are written also when the
user is idle to a RAM disk (some from /var/log and dhclient.leases).
But I don't want to mount the filesystems read-only.

> Compact Flash.  Either that, or simply shutdown the system or run zzz to 
> suspend the system via APM/APCI.

This is less convenient and probably doesn't work on my laptop. (I
have to check whether the upgrade to 5.3R has changed something in
this respect.)

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


Re: newsyslog and chrooted bind on 5.3

2004-11-21 Thread Vince Hoffman

On Sat, 20 Nov 2004, Ruben de Groot wrote:
On Sat, Nov 20, 2004 at 07:45:56AM +0100, Kees Plonsz typed:
Vince Hoffman wrote:
Hi all,
 since i updated my server to 5.3 and went with the default option
of chrooting bind, anytime named recives a HUP signal it dies. Is this
expected ? its a bit of a bugger as i will have to use cron and a short
shell script instead of an entry in newsyslog.conf.
You can let bind log through the syslog facility. I think that's even the
default. That way there's no need to "HUP" named.
Thanks for the reply, I'll go back to letting syslog do its job i guess 
;) 
I only had it logging to files to try and separate some statistics at one 
point.

Vince
Vince
There was a discussion about that a few hours ago.
Use "/etc/rc.d/named restart" instead.
That won't work with newsyslog. newsyslog needs a pidfile to send a HUP
to the logging proces after the logs are rotated.
Ruben
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Passing options to configure / compiler

2004-11-21 Thread Remko Lodder
Martin Hudec wrote:

	It would be nice for him to set options pkgtools.conf, which
can be usually found in /usr/local/etc. 

For example:
I want links to be compiled without X11 support, so I set in section
named MAKE_ARGS following:
'www/links' => 'WITHOUT_X11=yes',
so this compilation option will be reflected next time he uses
portupgrade utility. Otherwise portupgrade will ignore previous
compilation options. Or at least I don't know how to tell portupgrade
which options did I use to compile the port :).
Ah yes, i was not aware of that yet (saved my make options in a
seperated file... ;)). Thanks!
Cheers!

Cheers,
Martin

--
Kind regards,
Remko Lodder
FreeBSD (Dutch) Documentation Team
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Passing options to configure / compiler

2004-11-21 Thread Martin Hudec
Hello,

On Sun, Nov 21, 2004 at 05:40:01PM +0100 or thereabouts, Remko Lodder wrote:
> Vittorio wrote:
> >I couldn't find in the docs how to pass options to the configure script.
> >
> 
> if you want to use WITH_TESTS for example you need to add
> 
> make WITH_TESTS=yes install clean (or something similiar)
> 
> when portupgrade'ing that you should do
> 
> portupgrade -M 'WITH_TESTS=yes' postgresql
> (or again; something similiar)
> 
> Hope that helps!

It would be nice for him to set options pkgtools.conf, which
can be usually found in /usr/local/etc. 

For example:
I want links to be compiled without X11 support, so I set in section
named MAKE_ARGS following:

'www/links' => 'WITHOUT_X11=yes',

so this compilation option will be reflected next time he uses
portupgrade utility. Otherwise portupgrade will ignore previous
compilation options. Or at least I don't know how to tell portupgrade
which options did I use to compile the port :).


Cheers,

Martin

-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

"Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws."

   Douglas Adams, "The Hitchhiker's Guide to the Galaxy"


pgpcpLvoMsmEm.pgp
Description: PGP signature


Re: Passing options to configure / compiler

2004-11-21 Thread Remko Lodder
Vittorio wrote:
I couldn't find in the docs how to pass options to the configure script.
For instance, I'm compiling postgresql under FreeBSD 5.3 stable.
After 'cd /usr/ports/databases/postgresql7' and ' make' a list of 
configure options is shown; among them I'm interested in "WITH_TESTS"" 
but I do not know how  to pass this option to the compiler (or to 
configure).
if you want to use WITH_TESTS for example you need to add
make WITH_TESTS=yes install clean (or something similiar)
when portupgrade'ing that you should do
portupgrade -M 'WITH_TESTS=yes' postgresql
(or again; something similiar)
Hope that helps!
Could you please help me?
Vittorio
--
Kind regards,
Remko Lodder
FreeBSD (Dutch) Documentation Team
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Installation of Free BSD

2004-11-21 Thread W. D.
At 10:07 11/21/2004, [EMAIL PROTECTED] wrote:
>Can you send me simple detailed directions on the installation as well as  
>how to set up for IP address and DSL. The instructions with the disks  were  a 
>bit confusing. I can't get the software to open after installation so I know  
>that we are doing something wrong. Thanks.

This might also help:
http://www.US-Webmasters.com/FreeBSD/Install/

Start Here to Find It Fast!™ -> http://www.US-Webmasters.com/best-start-page/
$8.77 Domain Names -> http://domains.us-webmasters.com/

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


Diskless Servers

2004-11-21 Thread Evan Sayer
Hello-
Is it a good idea to run a mail server or web server diskless?  The 
reason I want to do this is so that all of our server's files will be 
in one place which will make backups more convenient.  Basically I am 
thinking of running one NFS/TFTP file server with disks, and those 
disks will contain the partitions for a web server, a mail server, and 
a login server which will all boot diskless.  Is this safe and ok 
performance wise?  Thanks.

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


Re: book recommendation...?

2004-11-21 Thread Chuck Robey
On Sun, 21 Nov 2004, Volker Kindermann wrote:

> Hi,
>
>
> > I am looking for a good FreeBSD book recomendation
> > that would over the 5.x series and be available in Barnes/Noble
> > locally.
>
> I would recommend Michal Lucas' "Absolute BSD" from NoStarch Press. Only 
> caveat is perhaps that it was written in 2002.

I am surprised that the first book suggested *wasn't* this one:  The
Design & Implementation of the FreeBSD Operating System (McKusick &
Neville-Neil).  This bad boy is written for FreeBSD 5.2, which means
(rather miraculously) that it's actually up to date, full of real life
descriptions, and about as useful a book on Unix as you could possibly
purchase.

It rather depends on what sort of book you're going after, because this IS
a rather academically oriented book ... it's not for beginners, it assumes
you are a journeyman programmer.  I loved it, best, highest
recommendation.

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


Chuck Robey | Interests include C & Java programming, FreeBSD,
[EMAIL PROTECTED]   | electronics, communications, and SF/Fantasy.

New Year's Resolution:  I will not sphroxify gullible people into looking up
fictitious words in the dictionary (on the wall at my old fraternity,
Signa Phi Nothing).

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


Solved: Can't remove files: Operation not permitted

2004-11-21 Thread Erik Norgaard
Christian Hiris wrote:
# chflags -R noschg *
Thanks, this solved my problem. I looked at chmod for some strange 
options - but I overlooked the reference to chflags...

Cheers, Erik
--
Ph: +34.666334818  web: 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
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Can't remove files: Operation not permitted

2004-11-21 Thread Christian Hiris
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 21 November 2004 17:38, Erik Norgaard, Christian Hiris wrote:
> On Sunday 21 November 2004 17:33, Christian Hiris wrote:
> > On Sunday 21 November 2004 17:18, Erik Norgaard wrote:
> > > Hi,
> > >
> > > I have messed around trying to set up a freebsd diskless, so to
> > > populate a root directory i ran (FreeBSD 6.0-CURRENT)
> > >
> > > # cd /usr/src
> > > # make buildworld
> > > # make DESTDIR=/var/nclt installworld
> > >
> > > Now the problem is that I can't get rid of /var/nclt again, not even in
> > > single user mode. I can't change file permissions.
> > >
> > > How do I clean up from this again?
> >
> > # cd /var/nclt
> > # chfags -R noschg *
>
> Sorry - should read
> # chflags -R noschg *
>
> > # rm -rf *

Normally I don't spoof sender-ids. I'll immedately have a cup of coffee.
Hopefully things run better afterwards ;-) 

- -- 
Christian Hiris <[EMAIL PROTECTED]> | OpenPGP KeyID 0x3BCA53BE 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBoMeQ09WjGjvKU74RAgCHAJ9hePFqzA1G0linWKqe9aEDAcE8YACfbyxL
0UNgupG/OXL7tANiMjxe5/s=
=Rp53
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Can't remove files: Operation not permitted

2004-11-21 Thread Subhro

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owner-freebsd-
> [EMAIL PROTECTED] On Behalf Of Erik Norgaard
> Sent: Sunday, November 21, 2004 21:49
> To: [EMAIL PROTECTED]
> Subject: Can't remove files: Operation not permitted
> 
> Hi,
> 
> I have messed around trying to set up a freebsd diskless, so to populate
> a root directory i ran (FreeBSD 6.0-CURRENT)
> 
> # cd /usr/src
> # make buildworld
> # make DESTDIR=/var/nclt installworld
> 
> Now the problem is that I can't get rid of /var/nclt again, not even in
> single user mode. I can't change file permissions.
> 
> How do I clean up from this again?
> 

sysctl kern.securelevel?

Unset the noschg flag.

Regards
S.

Indian Institute of Information Technology
Subhro Sankha Kar
Block AQ-13/1, Sector V
Salt Lake City
PIN 700091
India


smime.p7s
Description: S/MIME cryptographic signature


Re: book recommendation...?

2004-11-21 Thread Benjamin Walkenhorst
J.D. Bronson wrote:
I am looking for a good FreeBSD book recomendation
that would over the 5.x series and be available in Barnes/Noble
locally.
The Complete FreeBSD by Greg Lehey is very good.
If you don't mind something more general, Essential System Administration"
by Aeleen Frisch is very good, but it covers a broad range of operating 
systems
and topics you're not going to need if you just use FreeBSD at home.

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


Re: Can't remove files: Operation not permitted

2004-11-21 Thread Erik Norgaard
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 21 November 2004 17:33, Christian Hiris wrote:
> On Sunday 21 November 2004 17:18, Erik Norgaard wrote:
> > Hi,
> >
> > I have messed around trying to set up a freebsd diskless, so to populate
> > a root directory i ran (FreeBSD 6.0-CURRENT)
> >
> > # cd /usr/src
> > # make buildworld
> > # make DESTDIR=/var/nclt installworld
> >
> > Now the problem is that I can't get rid of /var/nclt again, not even in
> > single user mode. I can't change file permissions.
> >
> > How do I clean up from this again?
>
> # cd /var/nclt
> # chfags -R noschg *

Sorry - should read 
# chflags -R noschg *

> # rm -rf *

- -- 
Christian Hiris <[EMAIL PROTECTED]> | OpenPGP KeyID 0x3BCA53BE 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBoMRp09WjGjvKU74RAlWQAJ0X2NjyMoq3/nabwmcfR4/vYlj1jACdFaoR
HPH5SlX86AqhlBFGHEJGWG4=
=LAuW
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Can't remove files: Operation not permitted

2004-11-21 Thread Christian Hiris
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 21 November 2004 17:18, Erik Norgaard wrote:
> Hi,
>
> I have messed around trying to set up a freebsd diskless, so to populate
> a root directory i ran (FreeBSD 6.0-CURRENT)
>
> # cd /usr/src
> # make buildworld
> # make DESTDIR=/var/nclt installworld
>
> Now the problem is that I can't get rid of /var/nclt again, not even in
> single user mode. I can't change file permissions.
>
> How do I clean up from this again?

# cd /var/nclt
# chfags -R noschg *
# rm -rf *

- -- 
Christian Hiris <[EMAIL PROTECTED]> | OpenPGP KeyID 0x3BCA53BE 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBoMNt09WjGjvKU74RAv6pAJ48CTo7yADrqIYo1sEQP8O0UNBVpwCeNCmO
Qc8LbXTwAmsnGxLRPitjL0Y=
=gpRP
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: turning off IPv6 support in BSD

2004-11-21 Thread Robert Huff

David Jenkins writes:


>  > ipv6_enable="YES" is defined in /etc/defaults/rc.conf, so you
>  > have to define ipv6_enable="NO" in /etc/rc.conf to realize any
>  > change. 
>  
>  Not on my system (RELENG_5_3)...
>  
>  # cat /etc/defaults/rc.conf | grep ipv6_enable
>  ipv6_enable="NO"# Set to YES to set up for IPv6.

Affirmed for -CURRENT.


Robert Huff


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


seaching for asterisk/freebsd isdn hardware

2004-11-21 Thread Thomas May
Hi,

 

i have installed the asterisk pbx port, does anyone know about

isdn hardware to work with ?

 

thanx thomas


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.799 / Virus Database: 543 - Release Date: 19.11.2004
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: turning off IPv6 support in BSD

2004-11-21 Thread David Jenkins
On Sun, 21 Nov 2004 09:58:39 -0500, Michael W. Oliver
<[EMAIL PROTECTED]> wrote:
> On 2004-11-21T11:01:09+, David Jenkins wrote:
> 
> 
> > On Sun, 21 Nov 2004 12:27:19 +0200, Panagiotis Christias
> > <[EMAIL PROTECTED]> wrote:
> > > On Sun, 21 Nov 2004 03:59:23 +1100, andrew clarke <[EMAIL PROTECTED]> 
> > > wrote:
> > >
> > >
> > > > On Sat, Nov 20, 2004 at 04:50:58PM +, Danny Browne wrote:
> > > >
> > > > > How do i turn off IPv6 support in FreeBSD 4.10?
> > > >
> > > > Remove "options INET6" from your kernel config file
> > > > (/sys/i386/conf/XXX), rebuild your kernel and reboot your machine.
> > > >
> > > > There may be a way to turn it off at runtime using sysctl, but I don't
> > > > know what it is, and in hindsight it probably wouldn't make much sense
> > > > to do that at runtime, although I'm willing to be convinced otherwise. 
> > > > :)
> > > >
> > > > Regards
> > > > Andrew
> > >
> > > You can also comment out the 'ipv6_enable="YES"' line in /etc/rc.conf.
> >
> > I just ensured my rc.conf didn't have
> >
> > ipv6_enable="YES"
> >
> > dropped to single user mode and came back up and it appears there is
> > still support for IPv6
> 
> ipv6_enable="YES" is defined in /etc/defaults/rc.conf, so you have to
> define ipv6_enable="NO" in /etc/rc.conf to realize any change.

Not on my system (RELENG_5_3)...

# cat /etc/defaults/rc.conf | grep ipv6_enable
ipv6_enable="NO"# Set to YES to set up for IPv6.

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


Re: Installation of Free BSD

2004-11-21 Thread Christian Hiris
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 21 November 2004 17:07, [EMAIL PROTECTED] wrote:
> Can you send me simple detailed directions on the installation as well as
> how to set up for IP address and DSL. The instructions with the disks  were
>  a bit confusing. I can't get the software to open after installation so I
> know that we are doing something wrong. Thanks.

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

- -- 
Christian Hiris <[EMAIL PROTECTED]> | OpenPGP KeyID 0x3BCA53BE 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBoMCW09WjGjvKU74RAs4rAJ4zSZDKmAzzWych0pBZOXgbwXv+WQCfYFlU
PAliRYLH1HtDyJWtjx/aJvY=
=+VhF
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Can't remove files: Operation not permitted

2004-11-21 Thread Erik Norgaard
Hi,
I have messed around trying to set up a freebsd diskless, so to populate 
a root directory i ran (FreeBSD 6.0-CURRENT)

# cd /usr/src
# make buildworld
# make DESTDIR=/var/nclt installworld
Now the problem is that I can't get rid of /var/nclt again, not even in 
single user mode. I can't change file permissions.

How do I clean up from this again?
Thanks, Erik
--
Ph: +34.666334818  web: 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
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Tracing Disk Activity

2004-11-21 Thread Chuck Swiger
Hanspeter Roth wrote:
I have set an idle timeout for the hard-disk. But when there is no
user activity there are frequent disk accesses.
Yes, this is Unix.  Even when there is no user activity, a Unix system 
normally is still running a number of daemons such as syslogd which regularly 
write to the filesystem.  Beyond that, the syncer mechanism tries to reduce 
the number of dirty memory buffers every thirty seconds or so.

How can one trace disk access?
I'd like to know the kind of access and on which files/directories/
nodes. I'd like to log on the console or on a memory disk file.
If you ask this question in the hopes of shutting down disk access long enough 
to permit your drives to spin down, then please be aware that such an answer 
won't help.

Instead you probably will need to mount filesystems read-only and create RAM 
disks in a fashion similar to booting off limited-write media like Compact 
Flash.  Either that, or simply shutdown the system or run zzz to suspend the 
system via APM/APCI.

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


Re: book recommendation...?

2004-11-21 Thread Mike Jeays
On Sun, 2004-11-21 at 09:27, J.D. Bronson wrote:
> I am looking for a good FreeBSD book recomendation
> that would over the 5.x series and be available in Barnes/Noble
> locally.
> 
> (My wife is looking for some gift ideas for me and I felt this might be a 
> good start)
> 
> I dont need a totally novice book, nor do I need a super-advanced book.
> 
> Something that can cover stuff in between and ideas on performance
> and security.
> 
> Thanks!
> 
>   -JDB
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Greg Lehey's "The Complete FreeBSD" would be my choice.

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


Re: Installation of Free BSD

2004-11-21 Thread FrostyPup
Can you send me simple detailed directions on the installation as well as  
how to set up for IP address and DSL. The instructions with the disks  were  a 
bit confusing. I can't get the software to open after installation so I know  
that we are doing something wrong. Thanks.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Warning Message Showing up on install

2004-11-21 Thread Josh Paetzel
On Sunday 21 November 2004 16:01, Doug Paquette wrote:
> Group,
>
> I have a warning messaeg showing up on my computer when trying to
> install Free BSD 4.9 on an IDE hard drive and cannot for the life
> of me figure out what is causing this. I have looked into
> everything I know and dont know what to do.
>
> The Warning message says something about a Geometry error or
> something like that to do with the bios or something.
>
> I have taken a photo of the screen with my camera and have attached
> it to this message.
>
> If anyone can help me out with this it would be greatly
> appreciated.
>
> Thanks much
>
> Doug

It seems to me that I've had that error in the past and have been able 
to just ignore it. :-/

Thanks, 

Josh Paetzel


-- 
Thanks,

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


Warning Message Showing up on install

2004-11-21 Thread Doug Paquette
Group,
I have a warning messaeg showing up on my computer when trying to install 
Free BSD 4.9 on an IDE hard drive and cannot for the life of me figure out 
what is causing this. I have looked into everything I know and dont know 
what to do.

The Warning message says something about a Geometry error or something like 
that to do with the bios or something.

I have taken a photo of the screen with my camera and have attached it to 
this message.

If anyone can help me out with this it would be greatly appreciated.
Thanks much
Doug
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Tracing Disk Activity

2004-11-21 Thread Hanspeter Roth
  On Nov 21 at 14:00, David Jenkins spoke:

> On Sun, 21 Nov 2004 10:33:47 +0100, Hanspeter Roth <[EMAIL PROTECTED]> wrote:
> > Hello,
> > 
> > I have set an idle timeout for the hard-disk. But when there is no
> > user activity there are frequent disk accesses.
> > How can one trace disk access?
> > I'd like to know the kind of access and on which files/directories/
> > nodes. I'd like to log on the console or on a memory disk file.
> 
> There may be a much better way of doing this but have a look at fstat(1).

Fstat(1) seems to take snapshots only and doesn't show # of bytes
transfered. Using fstat by polling frequently misses programs run
between poll.

I'd like a tool that displays in real-time (similar to tcpdump).

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


Re: vinum problems

2004-11-21 Thread Christian Hiris
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 21 November 2004 14:36, Александр Деревянко wrote:
[...]
>  From my point of view, vinum root partition is really useless. You will
> never have the availability comparable to hardware RAID (i mean,
> downtime), and will have a lot of troubles with booting from it.
>  From my own expirience, the same results as root vinum partition can be
> made easily:
> 1. Make a small partition on every drive in the system. 128 Megs from
> every drive will be enought.
> 2. Make each partition bootable, and every day (by cron job in least
> activity hour) make a dump/restore from the main root partition to all
> other.
> 3. usr, var and all other partitions must reside on vinum partition,
> using rest of the space on the partition.
> 4. Swap partitions must also be made on every drive.

Points 1., 2. (and 4.) also could be solved by setting up a gmirror(8) raid1 
array on the partitions in question. This works w/o the dump/restore/cron and 
the setup process is very simple. There is also a gstripe(8) and a gconcat(8) 
geom-class available in 5.3.

- -- 
Christian Hiris <[EMAIL PROTECTED]> | OpenPGP KeyID 0x3BCA53BE 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBoLSu09WjGjvKU74RAsVTAJ9fhTjB1ZM2xLL8qom7XjnwkSlTqwCfYFNs
O3aVVBC5ksXfYc5aYrgrS8I=
=xqaZ
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: openssl 0.9.7e

2004-11-21 Thread Kris Kennaway
On Sun, Nov 21, 2004 at 07:01:53AM -0600, J.D. Bronson wrote:
> Has anyone been successful at building openssl 0.9.7e from src
> on FreeBSD 5.3?
> 
> ./config --prefix=/usr --openssldir=/etc/ssl threads shared zlib
> 
> 
> It will fail if I use 'shared' but build fine with static.
> 
> Last time a new version came out, I built it from src and then moved files 
> where I needed to so I didnt have to remake the entire system.
> 
> It worked perfect...of course the last version did BUILD! :(

You can just use the openssl port with the appropriate build option to
make it overwrite the base files.

Kris


pgpvtaloQOJX2.pgp
Description: PGP signature


Re: turning off IPv6 support in BSD

2004-11-21 Thread Ryan J. Cavicchioni
Isn't it supposed to be
ipv6_enable="NONE"
I could be wrong.
andrew clarke wrote:
On Sun, Nov 21, 2004 at 09:58:39AM -0500, Michael W. Oliver wrote:
 

To get rid of IPv6 completely (why would you want this? :) ), you should
definitely rebuild your kernel without INET6.
   

I suppose it would be a good idea to remove IPv6 support from hosts on
IPv4-only intranets because it's then one less thing to worry about from
a security point of view.  Plus, of course, marginally less overhead in
the kernel.
Regards
Andrew
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
 

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


Re: turning off IPv6 support in BSD

2004-11-21 Thread andrew clarke
On Sun, Nov 21, 2004 at 09:58:39AM -0500, Michael W. Oliver wrote:

> To get rid of IPv6 completely (why would you want this? :) ), you should
> definitely rebuild your kernel without INET6.

I suppose it would be a good idea to remove IPv6 support from hosts on
IPv4-only intranets because it's then one less thing to worry about from
a security point of view.  Plus, of course, marginally less overhead in
the kernel.

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


Re: book recommendation...?

2004-11-21 Thread J.D. Bronson
At 09:03 AM 11/21/2004, Volker Kindermann wrote:
Hi,
> I am looking for a good FreeBSD book recomendation
> that would over the 5.x series and be available in Barnes/Noble
> locally.
I would recommend Michal Lucas' "Absolute BSD" from NoStarch Press. Only 
caveat is perhaps that it was written in 2002.

 -volker
I noticed this...so I am hopeful to find a more up to date book :)
thanks -

--
J.D. Bronson
Aurora Health Care // Information Services // Milwaukee, WI USA
Office: 414.978.8282 // Email: [EMAIL PROTECTED] // Pager: 414.314.8282
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: book recommendation...?

2004-11-21 Thread Volker Kindermann
Hi,


> I am looking for a good FreeBSD book recomendation
> that would over the 5.x series and be available in Barnes/Noble
> locally.

I would recommend Michal Lucas' "Absolute BSD" from NoStarch Press. Only caveat 
is perhaps that it was written in 2002.

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


Re: turning off IPv6 support in BSD

2004-11-21 Thread Michael W. Oliver
On 2004-11-21T11:01:09+, David Jenkins wrote:
> On Sun, 21 Nov 2004 12:27:19 +0200, Panagiotis Christias
> <[EMAIL PROTECTED]> wrote:
> > On Sun, 21 Nov 2004 03:59:23 +1100, andrew clarke <[EMAIL PROTECTED]> wrote:
> > 
> > 
> > > On Sat, Nov 20, 2004 at 04:50:58PM +, Danny Browne wrote:
> > >
> > > > How do i turn off IPv6 support in FreeBSD 4.10?
> > >
> > > Remove "options INET6" from your kernel config file
> > > (/sys/i386/conf/XXX), rebuild your kernel and reboot your machine.
> > >
> > > There may be a way to turn it off at runtime using sysctl, but I don't
> > > know what it is, and in hindsight it probably wouldn't make much sense
> > > to do that at runtime, although I'm willing to be convinced otherwise. :)
> > >
> > > Regards
> > > Andrew
> > 
> > You can also comment out the 'ipv6_enable="YES"' line in /etc/rc.conf.
> 
> I just ensured my rc.conf didn't have 
> 
> ipv6_enable="YES"
> 
> dropped to single user mode and came back up and it appears there is
> still support for IPv6

ipv6_enable="YES" is defined in /etc/defaults/rc.conf, so you have to
define ipv6_enable="NO" in /etc/rc.conf to realize any change.

FYI, since I actively use IPv6, I can't really say what the above
definition will actually accomplish, but wanted to clear up what needed
to be defined in /etc/rc.conf.

To get rid of IPv6 completely (why would you want this? :) ), you should
definitely rebuild your kernel without INET6.

-- 
Michael W. Oliver
[see complete headers for contact information]



pgpZSE3kPhrt0.pgp
Description: PGP signature


Re: book recommendation...?

2004-11-21 Thread Ryan J. Cavicchioni
J.D.
I really like the two following books:
1. Complete FreeBSD (ISBN: 0596005164)
2. Absolute BSD (ISBN: 1886411743)
Regards,
Ryan
J.D. Bronson wrote:
I am looking for a good FreeBSD book recomendation
that would over the 5.x series and be available in Barnes/Noble
locally.
(My wife is looking for some gift ideas for me and I felt this might 
be a good start)

I dont need a totally novice book, nor do I need a super-advanced book.
Something that can cover stuff in between and ideas on performance
and security.
Thanks!
 -JDB
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Building own installer DVD with customized packages bundle

2004-11-21 Thread Nyoman
Hi,
I want to build a DVD for release 5.3, so that I can have
bunch of packages in just one installer media.
I have read this two articles:
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/releng/index.html
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/releng-packages/index.html
so far the basic ideas that I grasp are:
- to make the list of 'wanted' packages, I should use as reference:
  src/release/scripts/print-cdrom-packages.sh
- do the actual splitting of the packages
  (that is, to only 1 DVD and 'scratch' directory),
  using the scripts available at ports/Tools/scripts/release/
  as base/reference.
but i have no experience before with creating ISO for FreeBSD,
so I want to know,..
- how do I incorporate the newly 'splitted' packages to the
  FreeBSD installer CD (i.e Disc 1 of 5.3 RELEASE)
- what else should I consider?
thanks a lot,
regards,
Guido
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


book recommendation...?

2004-11-21 Thread J.D. Bronson
I am looking for a good FreeBSD book recomendation
that would over the 5.x series and be available in Barnes/Noble
locally.
(My wife is looking for some gift ideas for me and I felt this might be a 
good start)

I dont need a totally novice book, nor do I need a super-advanced book.
Something that can cover stuff in between and ideas on performance
and security.
Thanks!
 -JDB
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Looking for a good NSS/Pam_LDAP/Open LDAP how-to for 5.x

2004-11-21 Thread Cezar Fistik
Hello Jon,

Sunday, November 21, 2004, 3:16:27 PM, you wrote:

JA> I tried this one:
JA> 
http://www.cultdeadsheep.org/FreeBSD/docs/Quick_and_dirty_FreeBSD_5_x_and_nss_ldap_mini-HOWTO.html

JA> and it emphatically does not work, and I followed it to the letter I
JA> think it has something to do with NSS only using SSL/port 636.

JA> so then I tried it with that added still no dice

I followed the above howto word by word too and it didn't work from
the first try. So I made some searches, I think on pamldap or on
openldap mailing lists, don't remember exactly, and found another
explanation on how to set things up. As far as I remember, my problem
was with ldap.conf and nss_ldap.conf files which reside in
/usr/local/etc/. This files must be identical, so you may symlink
them, as I did. After that everything started to work, in my case ssh
through pam_ldap.

Unfortunately, my detailed configs are at work, so if you won't find
anything I'll post them on monday.



-- 
Best regards,
 Cezarmailto:[EMAIL PROTECTED]


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


Re: Tracing Disk Activity

2004-11-21 Thread David Jenkins
On Sun, 21 Nov 2004 10:33:47 +0100, Hanspeter Roth <[EMAIL PROTECTED]> wrote:
> Hello,
> 
> I have set an idle timeout for the hard-disk. But when there is no
> user activity there are frequent disk accesses.
> How can one trace disk access?
> I'd like to know the kind of access and on which files/directories/
> nodes. I'd like to log on the console or on a memory disk file.

There may be a much better way of doing this but have a look at fstat(1).

Hope this helps.

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


Re: vinum problems

2004-11-21 Thread Александр Деревянко
Chris Smith wrote:
Hi,
I've just built a machine with a vinum root successfully.  All vinum
sets show that they are up and working.  There are two ATA disks in a
RAID1 root formation.
Some questions?
1. The set has just failed completely (sorry it isn't up and working
now) on the first reboot.  It is possible to bring the machine up from
the primary disk with no problems but any attempt to start the mirror
drive causes a panic with a "hardware error" although checking it with
bsdlabel shows the partition table is intact.  Any ideas?  the drive is
fine - i've pulled it and tested it and it's fine.  It's booting using
BootMgr.
I've killed it completely now by reloading the vinum config twice.  so
it's out of action permanently. 

I did make sure that there was enough space at the start of the disk for
the vinum info to survive.
2. Speed.  The vinum set is a "concat" disk.  The read performance was
really slow (visibly so).  Can you boot off a striped volume and will it
benefit me at all making it a striped volume at all rather than a
concat?  

hardware:
SIL3112 SATA RAID controller.
2x 80Gb Seagate barracuda ATA disks (ad4, ad6)
FreeBSD-5.3-STABLE
config:
cant provide this - it won't boot any more.
Any ideas?  Or any good resources on setting up a RAID1 root disk???
Cheers,
- Chris.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
 

From my point of view, vinum root partition is really useless. You will 
never have the availability comparable to hardware RAID (i mean, 
downtime), and will have a lot of troubles with booting from it.
From my own expirience, the same results as root vinum partition can be 
made easily:
1. Make a small partition on every drive in the system. 128 Megs from 
every drive will be enought.
2. Make each partition bootable, and every day (by cron job in least 
activity hour) make a dump/restore from the main root partition to all 
other.
3. usr, var and all other partitions must reside on vinum partition, 
using rest of the space on the partition.
4. Swap partitions must also be made on every drive.

You can easily boot up from every disk in the system, and it will be 
always configured propertly (assuming you don't change a lot in root 
filesystem every day).

The described configuration is used at least one year on my work, for 
the SCM system server.

The only problem can be that you can't hot-unplug the disk from which 
you are booted.
But it's really very few system's build on average PC hardware and 
doesn't allowed to went of to the 5-10 minutes. In any case, the RAID 
(even hardware) is not enought to make a system with less than 1 
hour/year offline.

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


Re: Call for help: -lkse (libkse trouble)

2004-11-21 Thread klr
I fixed this some days ago, edited the makefile @ usr src lib libpthread
and changed LIB=pthread to LIB=kse , then make all install.

Perhaps I ran into this problem because I installed from a 5.2.1 cd (5.3
over NFS) and did a minimal install.

Hope this helps someone in the future with this fishy problem..

Regards,

Hugo

> On Fri, Nov 19, 2004 at 01:07:52PM -0600, [EMAIL PROTECTED] wrote:
>
>> I did a cd /usr/src/lib/libpthread && make all install -- This should
>> have
>> installed libkse too. When I changed THREAD_LIBS=-lkse (from -pthread),
>> I
>> got an error from ld while compiling the driver.. Was something like:
>> /usr/bin/ld: Cannot find -lkse (error code 1 , blah blah)..
>
> There is no such thing as libkse any more; libpthread is the default
> thread library and uses kernel-supported threads ("KSEs")
>
> It sounds like you didn't completely update your system, or you're
> still trying to use things compiled for the old version.
>
> Kris


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


Looking for a good NSS/Pam_LDAP/Open LDAP how-to for 5.x

2004-11-21 Thread Jon Adams
I tried this one:
http://www.cultdeadsheep.org/FreeBSD/docs/Quick_and_dirty_FreeBSD_5_x_and_nss_ldap_mini-HOWTO.html
and it emphatically does not work, and I followed it to the letter I 
think it has something to do with NSS only using SSL/port 636.

so then I tried it with that added still no dice
Help!
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


openssl 0.9.7e

2004-11-21 Thread J.D. Bronson
Has anyone been successful at building openssl 0.9.7e from src
on FreeBSD 5.3?
./config --prefix=/usr --openssldir=/etc/ssl threads shared zlib
It will fail if I use 'shared' but build fine with static.
Last time a new version came out, I built it from src and then moved files 
where I needed to so I didnt have to remake the entire system.

It worked perfect...of course the last version did BUILD! :(

--
J.D. Bronson
Aurora Health Care // Information Services // Milwaukee, WI USA
Office: 414.978.8282 // Email: [EMAIL PROTECTED] // Pager: 414.314.8282
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


php mail() sendmail hanging

2004-11-21 Thread Thomas S. Crum
Pardon me if this is off list, but any help would be appreciated.

When hitting php pages that use the mail() function, I get a 5 second hang
in the browser.  The mail is then being delivered fine.

Many of the same scripts that use this mail function ran fine with ½ sec. or
less delay on my old redhat box. I am not blaming FreeBSD, as I'm certain I
just don’t have them configured the same.

Any fixes to make it run quicker would be greatly appreciated. I've included
the sendmail.mc and php.ini files below.

Best,
 
Thomas S. Crum

# Sendmail .mc file
divert(-1)
divert(0)
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.10.2.19 2003/12/31
17:42:16 gshapiro Exp $')
OSTYPE(freebsd4)
DOMAIN(generic)

FEATURE(access_db, `hash -o -T /etc/mail/access')
FEATURE(blacklist_recipients)
FEATURE(local_lmtp)
FEATURE(mailertable, `hash -o /etc/mail/mailertable') FEATURE(virtusertable,
`hash -o /etc/mail/virtusertable')

FEATURE(use_cw_file)
dnl set SASL options
TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
define(`confDEF_AUTH_INFO', `/etc/mail/auth-info')dnl

dnl Uncomment to allow relaying based on your MX records.
dnl NOTE: This can allow sites to use your server as a backup MX without
dnl   your permission.
dnl FEATURE(relay_based_on_MX)

dnl DNS based black hole lists
dnl 
dnl DNS based black hole lists come and go on a regular basis dnl so this
file will not serve as a database of the available servers. dnl For that,
visit dnl
http://directory.google.com/Top/Computers/Internet/Abuse/Spam/Blacklists/

dnl Uncomment to activate Realtime Blackhole List
dnl information available at http://www.mail-abuse.com/
dnl NOTE: This is a subscription service as of July 31, 2001 dnl
FEATURE(dnsbl) dnl Alternatively, you can provide your own server and
rejection message: dnl FEATURE(dnsbl, `blackholes.mail-abuse.org', `"550
Mail from " $&{client_addr} " rejected, see
http://mail-abuse.org/cgi-bin/lookup?"; $&{client_addr}')

dnl Dialup users should uncomment and define this appropriately dnl
define(`SMART_HOST', `your.isp.mail.server')

dnl Uncomment the first line to change the location of the default dnl
/etc/mail/local-host-names and comment out the second line. dnl
define(`confCW_FILE', `-o /etc/mail/sendmail.cw') define(`confCW_FILE', `-o
/etc/mail/local-host-names')

dnl Enable for both IPv4 and IPv6 (optional) DAEMON_OPTIONS(`Name=IPv4,
Family=inet') dnl DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O')

define(`confBIND_OPTS', `WorkAroundBroken') define(`confNO_RCPT_ACTION',
`add-to-undisclosed') define(`confPRIVACY_FLAGS',
`authwarnings,noexpn,novrfy')
MAILER(local)
MAILER(smtp)

# php.ini

; Language Options ;


; Enable the PHP scripting language engine under Apache.
engine = On

; Allow the  tags are recognized.

; NOTE: Using short tags should be avoided when developing applications or ;
libraries that are meant for redistribution, or deployment on PHP ; servers
which are not under your control, because short tags may not ; be supported
on the target server. For portable, redistributable code, ; be sure not to
use short tags. short_open_tag = On

; Allow ASP-style <% %> tags.
asp_tags = Off

; The number of significant digits displayed in floating point numbers.
precision=  14

; Enforce year 2000 compliance (will cause problems with non-compliant
browsers) y2k_compliance = On

; Output buffering allows you to send header lines (including cookies) even
; after you send body content, at the price of slowing PHP's output layer a
; bit.  You can enable output buffering during runtime by calling the output
; buffering functions.  You can also enable output buffering for all files
by ; setting this directive to On.  If you wish to limit the size of the
buffer ; to a certain size - you can use a maximum number of bytes instead
of 'On', as ; a value for this directive (e.g., output_buffering=4096).
output_buffering = 4096

; You can redirect all of the output of your scripts to a function.  For ;
example, if you set output_handler to "mb_output_handler", character ;
encoding will be transparently converted to the specified encoding. ;
Setting any output handler automatically turns on output buffering. ; Note:
People who wrote portable scripts should not depend on this ini
;   directive. Instead, explicitly set the output handler using
ob_start().
;   Using this ini directive may cause problems unless you know what
script 
;   is doing.
; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
;   and you cannot use both "ob_gzhandler" and
"zlib.output_compression". 
;output_handler =

; Transparent output compression using the zlib library
; Valid values for this option are 'off', 'on', or a specific buffer size ;
to be used for compression (default is 4KB) ; Note: Resulting chunk size may
vary due to nature of compression. PH

RE: Passing options to configure / compiler

2004-11-21 Thread Subhro


-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Vittorio
Sent: Sunday, November 21, 2004 18:36
To: [EMAIL PROTECTED]
Subject: Passing options to configure / compiler

For instance, I'm compiling postgresql under FreeBSD 5.3 stable.
After 'cd /usr/ports/databases/postgresql7' and ' make' a list of
configure options is shown; among them I'm interested in "WITH_TESTS""
but I do not know how  to pass this option to the compiler (or to
configure).

make -DWITH_TESTS or make WITH_TESTS=yes

Regards
S.

Indian Institute of Information Technology
Subhro Sankha Kar
Block AQ-13/1, Sector V
Salt Lake City
PIN 700091
India



smime.p7s
Description: S/MIME cryptographic signature


Re: Passing options to configure / compiler

2004-11-21 Thread Martin Hudec
Hello,

On Sun, Nov 21, 2004 at 01:06:05PM + or thereabouts, Vittorio wrote:
> I couldn't find in the docs how to pass options to the configure script.
> 
> For instance, I'm compiling postgresql under FreeBSD 5.3 stable.
> After 'cd /usr/ports/databases/postgresql7' and ' make' a list of 
> configure options is shown; among them I'm interested in "WITH_TESTS"" 
> but I do not know how  to pass this option to the compiler (or to 
> configure).

For example: 

# make WITH_TESTS=yes install clean

List of possible options is obtainable through reading the Makefile.


Cheers,

Martin

-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

"Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws."

   Douglas Adams, "The Hitchhiker's Guide to the Galaxy"


pgpqbnucmzaY3.pgp
Description: PGP signature


Passing options to configure / compiler

2004-11-21 Thread Vittorio
I couldn't find in the docs how to pass options to the configure script.

For instance, I'm compiling postgresql under FreeBSD 5.3 stable.
After 'cd /usr/ports/databases/postgresql7' and ' make' a list of 
configure options is shown; among them I'm interested in "WITH_TESTS"" 
but I do not know how  to pass this option to the compiler (or to 
configure).

Could you please help me?

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


  1   2   >