Re: Hell Installing OpenLDAP/Berkeley-DB/Java

2006-09-11 Thread Ted Johnson
I found a different file to build BerkeleyDB and built it successfully:
/usr/ports/databases/p5-BerkeleyDB
Then I rebuilt OpenLDAP from here:
/usr/ports/net/openldap23-server
Following the OpenLDAP tutorial, I edited slapd.conf and created an 
example.ldif file. Then I ran:
ldapadd -x -D cn=admin,dc=2012,dc=vi -W -f example.ldif 
(all correct for my domain/configuration). I was asked to give my LDAP 
password. When I entered it (exactly as is in the slapd.conf file) I was told 
that was incorrect:
ldap_bind: Invalid credentials (49)
This makes me believe that Berkeley isn't properly installed. How can I test 
that? What steps do you take to properly install this duo?
TIA,
Ted2

Atom Powers [EMAIL PROTECTED] wrote: On 9/8/06, Ted Johnson  wrote:
 Hi;
 I tried to install OpenLDAP, but it needs Berkeley-DB and complained that the 
 version installed was incompatible. I tried compiling it without Berkeley 
 (using GNU instead) but it wouldn't. I tried installing  Berkeley DB without 
 Java (for simplicity's sake), but that didn't work. I tried moving that 
 installation to where the ports would be but still no go. So I tried a make 
 of the berkeley-db port but that complained it needed a Java plug-in that had 
 to be loaded manually because of licensing restrictions.

I don't know why BDB would want Java (check make.conf?). I've done
several OpenLDAP/BDB installs recently and I never installed any kind
of Java.

-- 
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



-
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great rates 
starting at 1cent;/min.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Origin of hard drive parameters

2006-09-11 Thread jdow

From: Ian Graeme Hilt [EMAIL PROTECTED]


May I point out that I was not interested in CHS alone. My focus was the
origin of the hard drives parameters i.e. geometry, which is the subject of  
discussion. From this discussion and other sources I have learned that CHS,  as you 
say, is arbitrary when referring to modern drives. To be specific,

drives adhering to ATA/ATAPI Specification 6 and later. ATA/ATAPI Spec. 5 and
earlier used CHS mode for representing hard drive capacity. The reason I am  interested 
in this topic is partially because of my idle curiosity. I'm the

type of person interested in the challenge of answering questions. The
questions, How does the BIOS automatically detect correct values for hard
disks? and, Where is this information stored? have been stuck in my head  for at 
least 6 months. No amount of searching the web provided me with
satisfactory results. I tried a few tests of my own, all of which failed to  answer my 
questions. So, I decided to appeal to the FreeBSD-questions mailing

list. Mainly because I have found useful answers to other questions here. The
other part of my reason is that one of my coworkers thought this information
was stored on the platters of the hard drive. I thought differently but I
could not _prove_ it.


Good reason. And the information is indeed stored on the platters of
the hard disks in a place you cannot read directly. It is easier for
me to refer to SCSI than to ATA. With SCSI the operating code for the
disk is stored on the disk. What comes up at first is enough SCSI to
say I'm a disk; and, I'm not ready.  When you issue ReadCapacity,
Mode Sense, and Inquiry commands you are accessing data stored on the
same reserved sectors as the disk's operating code. Special diagnositic
commands allow the operating code to be modified. The Mode Select
command allows you to reconfigure the disk's geometry. This takes
effect after you next low level format the drive if you have no other
intervening commands. This allows you to alter the spare blocks and
cylinders on the disk as well as configure most other operating
parameters. These are stored where operating systems normally cannot
see them with normal read/write commands.

So your coworker is correct, it is stored on the drive and barring
nvram on the drive it is stored on the actual platters.


As for storing it - read block zero of the disk.
Be DAMN careful not to WRITE to block zero. And if you DO write
to block zero at about the time I quit doing such low level stuff
and moved to other things there were several SCSI hard disk
manufacturers using code that had a defect such that if you wrote
more than one disk block starting at block 0 the whole disk was
toast until you did a fresh low level format on it. One sincerely
hopes THAT defect is gone these days.)

{O.O}   Joanne


Reading through ATA/ATAPI -7 has helped me rephrase my questions into one:
When the command READ NATIVE MAX ADDRESS is issued to the device, from where
is this information returned?


It may be cached somewhere for quick returns. There are tools for tuning
disk performance for both ATA and SCSI disks that can alter the operating
parameters. Some options read OS cached values. Others dig down and issue
the 'standard' query commands and read the actual values off the disk. The
disk is the final arbiter, in modern terms. When doing the configuration
utility that became arguably the most popular one for the Amiga I ran
across some small number of hard disks that returned off by 1 values for
size. (Micropolis was one offender at one time.) And I also ran across
drives delivered with only the first few megabytes formatted. So I built
into the configuration utility an actual search for the last readable
block. I used the lesser of that value and the value the drive declared
to Read Capacity commands. At least the formats it generated were safe.
(I think it was either Maxtor or CDC/Seagate that had the partially
formatted drives escape from their factory.)

I hope this answers questions enough so that the next question is more
obvious. (And in retrospect - the drive is the only thing that knows
the precise formatting parameters. So it is quite logical that the
original source for the size data is the drive itself. This is not
always, in my experience, a constant for all revisions of the same
model of drive.)

{^_^}   Joanne 


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


Re: Making startup order static

2006-09-11 Thread Alex Zbyslaw

White Hat wrote:


FreeBSD 6.1

I need to keep several programs starting in a
particular order.

clamav-clamd
clamav-freshclam
clamsmtpd
saslauthd
dovecot
postfix
fetchmail

By default, they do not start in that order. I have
modified the rc.d files to force them to start in the
order specified above.

The problem is that every time I update these programs
the rc.d startup file is modified which destroys the
changes I have made. This then requires me to recreate
the modifications to force the start up order I
require.

Is there anyway I can achieve this goal in a
simplified manner? I thought perhaps there might be
something I could add to the /etc/rc.conf file;
however, I have not discovered it.
 

You might get more informed answers if you try asking this question on 
the freebsd-rc@ mailing list.


I believe 6.1 uses rcorder for scripts from /usr/local/etc/rc.d, in 
which case you might be able to create local patches in the relevant 
ports which added appropriate e.g.


# BEFORE:
# PROVIDES:
# REQUIRE:

lines to force the order you want.  This assumes that they do not use 
.sh suffixed scripts and that you use cvsup rather than portsnap, which 
I believe would trash your local patches.


--Alex


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


Re: Newbie Experience

2006-09-11 Thread Bill Moran
Bob Walker [EMAIL PROTECTED] wrote:
 Hi,
 
 I have always wanted to better understand Unix, and so I finally made the
 decision to switch some of my office PCs over to either a Unix or Linux
 system. With office suites like OpenOffice, I felt that I would be able to
 transition away from Windows with minimal disruption to my business. So, I
 downloaded the .iso images from FreeBSD, Suse, and Fedora. I initially
 favored FreeBSD, since it seemed to have the closest lineage to pure Unix,
 and that was important to me, but after many, many attempts to install both
 the OS and Gnome desktop environment, I threw up my hands.

I'm confused.  What compelled you to torture yourself, _then_ complain
about it to a list that's sole purpose in existing is to help prevent
you from torturing yourself?

If you had posted many questions and got no answers, I could understand
throwing up your hands.  As it stands, you might want to use those hands
to smack yourself for making your life more difficult than it needs to
be.

If you have problems, ask on the list at the time the problem occurs.
Complaining after the fact (as you're doing) accomplishes nothing.

While I can't speak for the project officially, I would wager to say:
1) We know our installation is not as pretty and easy as others, and
2) We don't care.

We are a community.  We're not Microsoft.  We're not interested in
driving users away by saying here's everything you need, don't bother
us again.  Our limited resources are focused on developing the really
important parts of the system.  While few would complain if the
install process were made easier, nobody has the time to work on it.
Become part of the community and ask questions when you have trouble.
Find a local user's group.  But please, please don't complain about the
OS not working right when you use it wrong.  The FreeBSD community is
an integral part of the OS.  Not making use of the FreeBSD community
and then complaining that the OS is difficult to use would be like not
using a mouse then complaining that MS Windows is hard to use.

-- 
Bill Moran

Democracy is two wolves and a lamb voting on what to have
for lunch. Liberty is a well-armed lamb contesting the vote.

Benjamin Franklin

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


how to get one OBJDIR per kernel

2006-09-11 Thread [LoN]Kamikaze
I have several systems which all use the same /usr/obj over NFS.
In the make.conf of those systems WRKDIRPREFIX is set to /usr/obj/${HOST},
which keeps machines from messing with each other while they build ports.

Those machines have their own kernel configurations, which reside in
/root/kernels/ and are linked from /usr/src/sys/ARCH/conf . I also have
the following in my make.conf .

# Load specific configuration for the kernel.
.if exists(/root/kernels/${KERNCONF}.mk)
.include /root/kernels/${KERNCONF}.mk
.endif

This way I can have settings for a different world per kernel as well.
I.e. with NO_PROFILE set for kernels without debugging. The trouble is
that different kernels still clash in the same OBJDIR. I would like to
have something like MAKEOBJDIRPREFIX=/usr/obj/${KERNCONF} , the trouble
being that it cannot be set in make.conf .
Is there a way around this restriction?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Making startup order static

2006-09-11 Thread White Hat
--- Alex Zbyslaw [EMAIL PROTECTED] wrote:

[...]

 I believe 6.1 uses rcorder for scripts from
 /usr/local/etc/rc.d, in 
 which case you might be able to create local patches
 in the relevant 
 ports which added appropriate e.g.
 
 # BEFORE:
 # PROVIDES:
 # REQUIRE:
 
 lines to force the order you want.  This assumes
 that they do not use 
 .sh suffixed scripts and that you use cvsup rather
 than portsnap, which 
 I believe would trash your local patches.

I do employ portsnap, so that would probably not be a
viable solution. I am presently looking into
implementing one that was suggested by a recent
poster. I would have thought that there would have
existed a simpler method to control on a  permanent
basis the loading of programs. I guess not.

-- 

White Hat 
[EMAIL PROTECTED]

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


NAT+IPSEC toubles

2006-09-11 Thread Administrators
Hi,

I'm building VPN connected to CISCO device.

I NEED to translate my LAN adress to a given adress.

The VPN work well when I try doing
ifconfig em0 alias [EMAIL PROTECTED]
ping -S [EMAIL PROTECTED] dest_@

but I didn't manage to translate LAN adresse AND having VPN used.

I can pass throug VPN using actual adress but the CISCO endpoint drop it
or I translate, but packets didn't go in the VPN.

Any idea ?

Using 4.9-RELEASE-p4, ipf and ipnat

Hubert Adgié.
Administrateur Système.

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


Re: Newbie Experience

2006-09-11 Thread Jeff Rollin

On 11/09/06, Bill Moran [EMAIL PROTECTED] wrote:


Bob Walker [EMAIL PROTECTED] wrote:
 Hi,

 I have always wanted to better understand Unix, and so I finally made
the
 decision to switch some of my office PCs over to either a Unix or Linux
 system. With office suites like OpenOffice, I felt that I would be able
to
 transition away from Windows with minimal disruption to my business. So,
I
 downloaded the .iso images from FreeBSD, Suse, and Fedora. I initially
 favored FreeBSD, since it seemed to have the closest lineage to pure
Unix,
 and that was important to me, but after many, many attempts to install
both
 the OS and Gnome desktop environment, I threw up my hands.

I'm confused.  What compelled you to torture yourself, _then_ complain
about it to a list that's sole purpose in existing is to help prevent
you from torturing yourself?

If you had posted many questions and got no answers, I could understand
throwing up your hands.  As it stands, you might want to use those hands
to smack yourself for making your life more difficult than it needs to
be.

If you have problems, ask on the list at the time the problem occurs.
Complaining after the fact (as you're doing) accomplishes nothing.

While I can't speak for the project officially, I would wager to say:
1) We know our installation is not as pretty and easy as others, and
2) We don't care.

We are a community.  We're not Microsoft.  We're not interested in
driving users away by saying here's everything you need, don't bother
us again.  Our limited resources are focused on developing the really
important parts of the system.  While few would complain if the
install process were made easier, nobody has the time to work on it.
Become part of the community and ask questions when you have trouble.
Find a local user's group.  But please, please don't complain about the
OS not working right when you use it wrong.  The FreeBSD community is
an integral part of the OS.  Not making use of the FreeBSD community
and then complaining that the OS is difficult to use would be like not
using a mouse then complaining that MS Windows is hard to use.

--
Bill Moran



Well said, Sir.

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


Re: how to get one OBJDIR per kernel

2006-09-11 Thread [LoN]Kamikaze
[LoN]Kamikaze wrote:
 ... The trouble is
 that different kernels still clash in the same OBJDIR. I would like to
 have something like MAKEOBJDIRPREFIX=/usr/obj/${KERNCONF} , the trouble
 being that it cannot be set in make.conf .
 Is there a way around this restriction?
 

Just for the record I found a solution. My first test indicates that it
works fine, that makes me wonder why the restriction is there.

.if !make(dummy)
MAKEOBJDIRPREFIX=   ${WRKDIRPREFIX}/${KERNCONF}
.endif
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Newbie Experience

2006-09-11 Thread Jonathan Horne
On Monday 11 September 2006 05:29, Jeff Rollin wrote:
 On 11/09/06, Bill Moran [EMAIL PROTECTED] wrote:
  Bob Walker [EMAIL PROTECTED] wrote:
   Hi,
  
   I have always wanted to better understand Unix, and so I finally made
 
  the
 
   decision to switch some of my office PCs over to either a Unix or Linux
   system. With office suites like OpenOffice, I felt that I would be able
 
  to
 
   transition away from Windows with minimal disruption to my business.
   So,
 
  I
 
   downloaded the .iso images from FreeBSD, Suse, and Fedora. I initially
   favored FreeBSD, since it seemed to have the closest lineage to pure
 
  Unix,
 
   and that was important to me, but after many, many attempts to install
 
  both
 
   the OS and Gnome desktop environment, I threw up my hands.
 
  I'm confused.  What compelled you to torture yourself, _then_ complain
  about it to a list that's sole purpose in existing is to help prevent
  you from torturing yourself?
 
  If you had posted many questions and got no answers, I could understand
  throwing up your hands.  As it stands, you might want to use those hands
  to smack yourself for making your life more difficult than it needs to
  be.
 
  If you have problems, ask on the list at the time the problem occurs.
  Complaining after the fact (as you're doing) accomplishes nothing.
 
  While I can't speak for the project officially, I would wager to say:
  1) We know our installation is not as pretty and easy as others, and
  2) We don't care.
 
  We are a community.  We're not Microsoft.  We're not interested in
  driving users away by saying here's everything you need, don't bother
  us again.  Our limited resources are focused on developing the really
  important parts of the system.  While few would complain if the
  install process were made easier, nobody has the time to work on it.
  Become part of the community and ask questions when you have trouble.
  Find a local user's group.  But please, please don't complain about the
  OS not working right when you use it wrong.  The FreeBSD community is
  an integral part of the OS.  Not making use of the FreeBSD community
  and then complaining that the OS is difficult to use would be like not
  using a mouse then complaining that MS Windows is hard to use.
 
  --
  Bill Moran

  Well said, Sir.


truly.

indeed it is said, that the fastest way to get the highest quantity of help, 
is to make a post about how horrible an operating system is, that you spent 
hours and hours and got nothing done, and that you have already decided that 
you never want to see [insert OS here] again.

myself, as an admin of such a support forum (the unfortunatly now defunct 
linuxiso.org), i long ago learned to ignore the the ones that we have 
already lost, and keep my eyes open for the many more that will (usually 
with minutes) replace them, who are actually there to learn.

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


kernel version changes release version. (was Re: How to change kernel version tag?)

2006-09-11 Thread Spencer PriceNash
On Fri, Aug 25, 2006 at 06:22:42PM +0800, Yuan, Jue wrote:

 Hi all.
 
 Could I change the kernel version tag manually? say, I have a kernel which is 
 7.0-CUREENT, but for some reasons I wanna it be something like 6.1-RELEASE, 
 while the kernel itself does't change from 7.0-CURRENT to 6.1-RELEASE. All I 
 want is the change of tag. For example, if this works, then when I 
 type uname -a in console, I would get 6.1-RELEASE ... instead 
 of 7.0-CURRENT 
 
 I guess some config files in src/sys/ could take care of this. But I cannot 
 find it out. Anybody knows how to get this job done?
 
 Any ideas are really appreciated. :-)

That seems an odd thing to do, but as it turns out, I somehow managed
to do it.

On Aug22, my old box had 5.3-RELEASE with a custom kernel.  Here's
something from a script that does backups every night, with the
date as MMDDHHMMSS starting every line (hostname changed to
avoid embarassment):

20060722234517:FreeBSD oldbox 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Sat Nov 27 
01:53:23 CST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SPENCER1  i386

On Aug23 I upgraded to 5.4 (tried 6.1, but the old box hung repeatedly
after any fsck):

20060723234514:FreeBSD oldbox 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May  8 
10:21:06 UTC 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

I installed a custom kernel on Aug 29.  The release version changed.
Here's what the old box says it is now:

20060729234515:FreeBSD oldbox 5.3-RELEASE-p31 FreeBSD 5.3-RELEASE-p31 #0: Sat 
Jul 29 11:33:15 CDT 2006 [EMAIL 
PROTECTED]:/usr/obj/usr/src/sys/kernel.2006072910  i386

I have no idea what I did to cause the change.

Anyone have any idea what happened?  I'm not so sure this is a great
thing.  It hasn't seemed to bother anything.  cvsup/portupgrade
didn't seem to mind.  Neither did portsnap/portmanager.

Haven't tried booting with the previous kernel to see what happens,
as the box needs to stay up for a while.
-- 
Spencer PriceNash  [EMAIL PROTECTED]many other addresses
http://www.io.com/~spencer   many other sites
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: requesting advice on freebsd as vmware guest

2006-09-11 Thread Igor Robul
On Mon, Sep 04, 2006 at 09:06:54PM -0500, Eric Schuele wrote:
 On 09/04/2006 16:00, Peter wrote:
 Hi,
 I have XP (3 GHz Pentium and 1.5 MB RAM) running at work and would like
 to have access to a FBSD system within it.  
 
 Have you considered Virtual PC from MS?  I believe its free.
As VMware server 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mod_ntln for apache2

2006-09-11 Thread Igor Robul
On Tue, Sep 05, 2006 at 03:20:35PM +0600, Клопотнюк Михаил Сергеевич wrote:
 
 I have FreeBSD 5.4 and Apache2 (Apache2-2.0.53_1).
 I need compile module mod_ntlm for apache. Compiling stops with this
 errors:
 # make install
 ===  Building for mod_ntlm-0.4
You need  mod_ntlm2

It is not in ports, but I have successfully builded it from source.
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Sequence of execution of getopt() and usage()...

2006-09-11 Thread Amarendra Godbole

Hi,

This is a general FreeBSD source related question, and I am posting it
here, as it did not fit in any other FreeBSD lists...

While browsing through sources for different userland utilities (cat,
chmod, and so on), I noticed that in main(), first getopt() is called
in a while loop, and then the check for the number of arguments passed
is done. Something like this (from chmod.c):

int
main(int argc, char *argv[])
{
...
   while ((ch = getopt(argc, argv, HLPRXfghorstuvwx)) != -1)
...
   if (argc  2)
   usage();
...
}

Can't we check for the number of arguments *before* calling getopt()?
Something like:

int
main(int argc, char *argv[])
{
...
   if (argc  2)
   usage();
...
   while ((ch = getopt(argc, argv, HLPRXfghorstuvwx)) != -1)
...
}


This might make it a bit more efficient, though I don't have numbers'
to prove this.

I observe a similar pattern in other utilities too - which might mean
that there was a sound reason as to why it was done this way. Can
someone be kind enough to explain this? Thanks in advance!

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


Re: FreeBSD not popular in Asia?

2006-09-11 Thread Alexandre Vieira

That makes me kind angry too but many other failed to show the big corps
what the bsd* OSs worth.

Macromedia know about freebsd, the linux dev coordinator posts about freebsd
in his product blog but they don't care.. they know that having a linux
driver is enough to have a good reputation in the OSS world. There is
a 2.5Ksignatures petition regarding flash, there are
2.5M hits with freebsd macromedia search string in google, they have like
hundres of *bsd messages in the wish forms... what else can be shown to
proove that we exist? Nothing... they just don't care.. unless the whole OSS
comunity speaks.. there isn't much we can do.

Anyway, I've added some boxes to the bsdstats project.

Cheers

On 9/11/06, Norberto Meijome [EMAIL PROTECTED] wrote:


On Sat, 9 Sep 2006 05:34:48 -0300 (ADT)
Marc G. Fournier [EMAIL PROTECTED] wrote:

 For those that are accusing bsdstats of being a pissing match ... I'm
 personally tired of watching Linux get all the support when, IMHO, the
 *BSDs are the better system ... the point of bsdstats is to show ppl
that
 do not support the *BSDs (native Flash plugin anyone?) that their is a
 market they are missing out on ...

well, if you put it like that, it makes more.

ATI-X drivers is something that definitely interest me ;)

_
{Beto|Norberto|Numard} Meijome

Ninety percent of the time things turn out worse than you thought they
would.
The other ten percent of the time you had no right to expect that much.
  Augustine

I speak for myself, not my employer. Contents may be hot. Slippery when
wet.
Reading disclaimers makes you go blind. Writing them is worse. You have
been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]





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


Newbie Experience #2

2006-09-11 Thread Bob Walker
Thanks to *all* who responded to my whining -- you've been great, and I am
going to give FreeBSD another try. Apologies to all if I sounded like a
twit... I was just eager to try something new as I have had it with MS
products. Regards,

Bob Walker 
Surveys  Forecasts, LLC
2323 North Street
Fairfield, CT 06824-1738
T +1.203.255.0505
F +1.203.549.0635
M +1.203.685.8860
www.safllc.com
 

NOTICE: The information in this message is intended only for the
person or entity to which it  is addressed and contains confidential
and privileged material. Any review, retransmission, dissemination
or other use of this information by persons or entities other than the
intended recipient is prohibited. If you received this email in error,
immediately contact the sender and destroy all copies of this email
and all other documents included with it. Thank you.


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


Re: Making startup order static

2006-09-11 Thread RW
On Sunday 10 September 2006 19:11, White Hat wrote:
 FreeBSD 6.1

 I need to keep several programs starting in a
 particular order.
...
 The problem is that every time I update these programs
 the rc.d startup file is modified which destroys the
 changes I have made. 

I've got around this problem in the past by essentially making a new startup 
file, so foo_enable=YES  becomes  myfoo_enable=YES, foo.sh becomes myfoo.sh 
etc. This works reasonably well, because not much actually references local 
startup files, in the startup sequence.

For anything complicated  I would write a script to automate patching of the 
startup scripts.  



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


Re: kernel version changes release version. (was Re: How to change kernel version tag?)

2006-09-11 Thread Yuan, Jue

/sys/conf/newvers.sh

This file will determine the kernel version tag showed at booting
time. Don't know if it has anything to do with your problem.

HTH :-)

On 9/11/06, Spencer PriceNash [EMAIL PROTECTED] wrote:

On Fri, Aug 25, 2006 at 06:22:42PM +0800, Yuan, Jue wrote:

 Hi all.

 Could I change the kernel version tag manually? say, I have a kernel which is
 7.0-CUREENT, but for some reasons I wanna it be something like 6.1-RELEASE,
 while the kernel itself does't change from 7.0-CURRENT to 6.1-RELEASE. All I
 want is the change of tag. For example, if this works, then when I
 type uname -a in console, I would get 6.1-RELEASE ... instead
 of 7.0-CURRENT 

 I guess some config files in src/sys/ could take care of this. But I cannot
 find it out. Anybody knows how to get this job done?

 Any ideas are really appreciated. :-)

That seems an odd thing to do, but as it turns out, I somehow managed
to do it.

On Aug22, my old box had 5.3-RELEASE with a custom kernel.  Here's
something from a script that does backups every night, with the
date as MMDDHHMMSS starting every line (hostname changed to
avoid embarassment):

20060722234517:FreeBSD oldbox 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Sat Nov 27 
01:53:23 CST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SPENCER1  i386

On Aug23 I upgraded to 5.4 (tried 6.1, but the old box hung repeatedly
after any fsck):

20060723234514:FreeBSD oldbox 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May  8 
10:21:06 UTC 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

I installed a custom kernel on Aug 29.  The release version changed.
Here's what the old box says it is now:

20060729234515:FreeBSD oldbox 5.3-RELEASE-p31 FreeBSD 5.3-RELEASE-p31 #0: Sat 
Jul 29 11:33:15 CDT 2006 [EMAIL 
PROTECTED]:/usr/obj/usr/src/sys/kernel.2006072910  i386

I have no idea what I did to cause the change.

Anyone have any idea what happened?  I'm not so sure this is a great
thing.  It hasn't seemed to bother anything.  cvsup/portupgrade
didn't seem to mind.  Neither did portsnap/portmanager.

Haven't tried booting with the previous kernel to see what happens,
as the box needs to stay up for a while.



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


Re: Newbie Experience #2

2006-09-11 Thread Jud

On Mon, 11 Sep 2006 08:46:13 -0400, Bob Walker [EMAIL PROTECTED] said:
 Thanks to *all* who responded to my whining -- you've been great, and I
 am
 going to give FreeBSD another try. Apologies to all if I sounded like a
 twit... I was just eager to try something new as I have had it with MS
 products. Regards,
 
 Bob Walker 
 Surveys  Forecasts, LLC
 2323 North Street
 Fairfield, CT 06824-1738
 T +1.203.255.0505
 F +1.203.549.0635
 M +1.203.685.8860
 www.safllc.com

Heh, no, you didn't sound like a twit.  You're quite correct - everyone
who uses FreeBSD knows that a better (meaning, at least to many folks,
more simplified and graphical) installer would be nice.  But as someone
said in response to your original post, the people who currently
contribute most heavily to the project are more interested in other
areas.

Some information about FreeBSD and this mailing list (at least IMHO - I
can't and don't speak for the project, nor am I the most informed person
on this list by a long shot):

- It's a volunteer project.  The whole OS and all the little pieces are
built (with few exceptions) for love, not money, by people who earn a
living working on something else.  Given that, the people who do build
the OS have put together something of remarkable quality over an
extended period.  One reason for the state of the installer is that it
is considered good enough, and people with limited time would rather
spend that time making sure the system almost never breaks, particularly
not in mission-critical situations.

- World domination is much less on the FreeBSD Project's radar screen
than it is for other OSs with monetary (see Microsoft, Apple, etc.) or
religious (see Linux, Free Software Foundation, GPL, Richard Stillman,
etc.) motivations.  So there are only 3 ways to get FreeBSD folks
working on a problem that interests you: (1) pay them; (2) learn about
programming and do it yourself (at a high enough standard to have your
code accepted for inclusion in the OS); or (3) learn enough to be able
to show at least one person with relevant programming expertise what an
interesting problem this really is.

- Many of us remember our own newbie experiences, and if you demonstrate
some interest and a willingness to learn, there are plenty of folks on
this list who can and will meet you more than halfway.

- There's a fair amount of UNIX/*BSD blood flowing in OS X's innards, so
if the do-it-yourself aspect gets tiring and you don't mind spending
money on an OS, you may want to look at Macs.  Interoperability with
Windows office apps might be a bit easier to attain going that road.

Jud
-- 
I'd take the awe of understanding over the awe of ignorance any day. - 
Douglas Adams

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


Putting a command/script as a user's shell

2006-09-11 Thread Karol Kwiatkowski
Good day everyone,

I'm trying to make it possible to restart (as in 'shutdown -r now') a
FreeBSD based router from LAN network as easy as possible so it can be
used by non-technical people.

I'm sure some will ask why would I need that - it's an USB modem
connecting to ADSL line that locks up sometimes and all my attempts to
make it restart itself have failed.

I came up with this idea:

- add another user to the system, let it be 'restart'
- add 'restart' to group operator
- let 'restart' to login through SSH from LAN with a key (passwords
forbidden)
- put a restart command as it's shell (so it automagically restarts
the router)

Does that sound reasonably? Security is not an issue, it's secure
enough for me.


OK, now for technical question. I realise I cannot put arguments to
the command in the shell area in passwd file, so I wrote a short script:

$ cat /home/restart/restart.sh
#!/bin/sh
/sbin/shutdown -r now
$ ls -l /home/restart/restart.sh
-rwx--  1 restart  restart  33 Sep 11 15:24


put that as restart's user shell:

# grep restart /etc/master.passwd
restart:*:1017:1017::0:0:restart:/home/restart:/home/restart/restart.sh


and tried locally but it's not working:

# su - restart
su: /home/restart/restart.sh: Permission denied


I'm not sure where 'Permission denied' come from. Setup looks to be
OK, here's what I get with /usr/bin/id as a shell:

# su - restart
uid=1017(restart) gid=1017(restart) groups=1017(restart), 5(operator)


I'm sure I'm missing something here. Anyone have some pointers?

Cheers,

Karol

-- 
Karol Kwiatkowski  freebsd at orchid dot homeunix dot org
OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc



signature.asc
Description: OpenPGP digital signature


FreeBSD installer (was Re: Newbie Experience #2)

2006-09-11 Thread Jonathan McKeown
On Monday 11 September 2006 15:56, Jud wrote:
 everyone who uses FreeBSD knows that a better (meaning,
 at least to many folks, more simplified and graphical)
 installer would be nice  

Perhaps as an option. The problem is that you need to install a graphical 
environment to run a graphical installer. Simplicity means different things 
to different people, too.

I set up new and replacement servers, using commodity hardware for cost 
reasons, for our various offices around South Africa. I used to have a KVM 
switch with a spare monitor and keyboard in my office for doing the 
installations, or if I was going elsewhere to install delivered hardware or 
update an existing box, we needed to arrange a spare screen and keyboard at 
the location.

I now have a slightly-adjusted installation CD (I downloaded the disc 1 and 2 
ISO images from Freebsd.org, unpacked disc 1 onto a hard drive and edited 
boot/loader.conf, adding the line
console=comconsole
then made a new ISO and burned to a fresh CD labelled ``disc 1- serial'').

Now the only time my servers get a screen/keyboard connected is to configure 
the BIOS when they are first unpacked. Otherwise the basic install is done 
from the serial boot CD with my laptop as a serial terminal, up to the point 
where I can ssh to the box and start customising, adding packages etc. From 
my point of view it doesn't get simpler than that.

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


Re: Putting a command/script as a user's shell

2006-09-11 Thread backyard


--- Karol Kwiatkowski [EMAIL PROTECTED]
wrote:

 Good day everyone,
 
 I'm trying to make it possible to restart (as in
 'shutdown -r now') a
 FreeBSD based router from LAN network as easy as
 possible so it can be
 used by non-technical people.
 
 I'm sure some will ask why would I need that - it's
 an USB modem
 connecting to ADSL line that locks up sometimes and
 all my attempts to
 make it restart itself have failed.
 
 I came up with this idea:
 
 - add another user to the system, let it be
 'restart'
 - add 'restart' to group operator
 - let 'restart' to login through SSH from LAN with a
 key (passwords
 forbidden)
 - put a restart command as it's shell (so it
 automagically restarts
 the router)
 
 Does that sound reasonably? Security is not an
 issue, it's secure
 enough for me.
 
 
 OK, now for technical question. I realise I cannot
 put arguments to
 the command in the shell area in passwd file, so I
 wrote a short script:
 
 $ cat /home/restart/restart.sh
 #!/bin/sh
 /sbin/shutdown -r now
 $ ls -l /home/restart/restart.sh
 -rwx--  1 restart  restart  33 Sep 11 15:24
 
 
 put that as restart's user shell:
 
 # grep restart /etc/master.passwd

restart:*:1017:1017::0:0:restart:/home/restart:/home/restart/restart.sh
 
 
 and tried locally but it's not working:
 
 # su - restart
 su: /home/restart/restart.sh: Permission denied
 
 
 I'm not sure where 'Permission denied' come from.
 Setup looks to be
 OK, here's what I get with /usr/bin/id as a shell:
 
 # su - restart
 uid=1017(restart) gid=1017(restart)
 groups=1017(restart), 5(operator)
 
 
 I'm sure I'm missing something here. Anyone have
 some pointers?
 
 Cheers,
 
 Karol
 
 -- 
 Karol Kwiatkowski  freebsd at orchid dot homeunix
 dot org
 OpenPGP:

http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc
 
 

make the shell script group executable and make it
group operator maybe try making it owned by root. I
think what is happening is it is running under the
priveledges of restart not operator because operators
groups cannot execute the command only the restart
user can due to the priveledges. And when the
restart.sh passes its group priveledges to the sript
callout to shutdown it fails because shutdown can only
run as operator. That would be my guess


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


device vt causes boot freeze

2006-09-11 Thread Anton Shterenlikht
I installed a custom kernel with vt console driver enabled. I also enabled vt 
in /boot/device.hints. Now my boot process freezes just after the countdown 
finishes. The hard drive busy indicator is always on.

If I disable vt and enable sc at the boot loader prompt (set 
hint.vt.0.disabled=1, unset hint.sc.0.disabled) then I can boot fine with sc.

I did not encounter any problems during building or install.

Am I missing something in the kernel configuration file?
Am I using /boot/device.hints properly?
Can I enable both sc and vt in device.hints?

thanks
anton


The details:

%uname -imprs
FreeBSD 6.0-RELEASE i386 i386 TRY

%cat /usr/src/sys/i386/conf/TRY
machine i386
cpu I686_CPU
ident   TRY

# To statically compile in device wiring instead of /boot/device.hints
#hints  GENERIC.hints # Default places to look for devices.

makeoptions DEBUG=-g# Build kernel with gdb(1) debug symbols

#optionsSCHED_ULE   # ULE scheduler
options SCHED_4BSD  # 4BSD scheduler
options PREEMPTION  # Enable kernel thread preemption
options INET# InterNETworking
options INET6   # IPv6 communications protocols
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
options MD_ROOT # MD is a potential root device
options MSDOSFS # MSDOS Filesystem
options CD9660  # ISO 9660 Filesystem
options PROCFS  # Process filesystem (requires PSEUDOFS)
options PSEUDOFS# Pseudo-filesystem framework
options GEOM_GPT# GUID Partition Tables.
options COMPAT_43   # Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options COMPAT_FREEBSD5 # Compatible with FreeBSD5
options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
options KTRACE  # ktrace(1) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time 
extensions
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
options AHC_REG_PRETTY_PRINT# Print register bitfields in debug
# output.  Adds ~128k to driver.
options AHD_REG_PRETTY_PRINT# Print register bitfields in debug
# output.  Adds ~215k to driver.
options ADAPTIVE_GIANT  # Giant mutex is adaptive.

device  apic# I/O APIC

# Bus support.
device  pci

# Floppy drives
device  fdc

# ATA and ATAPI devices
device  ata
device  atadisk # ATA disk drives
device  atapicd # ATAPI CDROM drives
device  atapifd # ATAPI floppy drives
options ATA_STATIC_ID   # Static device numbering

# SCSI peripherals
device  scbus   # SCSI bus (required for SCSI)
#device ch  # SCSI media changers
device  da  # Direct Access (disks)
#device cd  # CD
#device pass# Passthrough device (direct SCSI access)

# atkbdc0 controls both the keyboard and the PS/2 mouse
device  atkbdc  # AT keyboard controller
device  atkbd   # AT keyboard
device  psm # PS/2 mouse

device  vga # VGA video card driver

# syscons is the default console driver, resembling an SCO console
device  sc

# Enable this for the pcvt (VT220 compatible) console driver
device  vt
options XSERVER # support for X server on a vt console
options FAT_CURSOR  # start with block cursor

# Add suspend/resume support for the i8254.
device  pmtimer

# PCCARD (PCMCIA) support
# PCMCIA and cardbus bridge support
device  cbb # cardbus (yenta) bridge
device  pccard  # PC Card (16-bit) bus
device  cardbus # CardBus (32-bit) bus

# Serial (COM) ports
device  sio # 8250, 16[45]50 based serial ports

# Parallel port
device  ppc
device  ppbus   # Parallel port bus (required)
device  lpt # Printer
device  plip# TCP/IP over parallel
device  ppi # Parallel port interface device

# PCI Ethernet NICs that use the common MII 

Re: FreeBSD installer (was Re: Newbie Experience #2)

2006-09-11 Thread Jud

On Mon, 11 Sep 2006 16:26:33 +0200, Jonathan McKeown
[EMAIL PROTECTED] said:
 On Monday 11 September 2006 15:56, Jud wrote:
  everyone who uses FreeBSD knows that a better (meaning,
  at least to many folks, more simplified and graphical)
  installer would be nice  
 
 Perhaps as an option. The problem is that you need to install a graphical 
 environment to run a graphical installer. Simplicity means different
 things 
 to different people, too.
[snip]
 Now the only time my servers get a screen/keyboard connected is to
 configure 
 the BIOS when they are first unpacked. Otherwise the basic install is
 done 
 from the serial boot CD with my laptop as a serial terminal, up to the
 point 
 where I can ssh to the box and start customising, adding packages etc.
 From 
 my point of view it doesn't get simpler than that.

Yes, I meant at least to many folks literally - there are many people
for whom a graphical installer would be overcomplication.  I personally
like the The BSD Installer URL: http://www.bsdinstaller.org/; it
just happens to suit the way I install a system in that it makes
available most of what I tweak and I don't use most of what it hides.  I
wish the Summer of Code project to adapt it for FreeBSD installation
(URL: http://wikitest.freebsd.org/BSDInstaller were more alive than it
appears to be.

Jud
-- 
I'd take the awe of understanding over the awe of ignorance any day. - 
Douglas Adams

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


Re: Putting a command/script as a user's shell

2006-09-11 Thread Kirk Strauser
On Monday 11 September 2006 09:20, Karol Kwiatkowski wrote:
 Good day everyone,

 I'm trying to make it possible to restart (as in 'shutdown -r now') a
 FreeBSD based router from LAN network as easy as possible so it can be
 used by non-technical people.

First of all, it's easy enough to do this securely that you might as well do 
it.  Install sudo, and use visudo to create a sudoers file with entries 
like:

   User_AliasREBOOTERS = username1,username2,username3
   REBOOTERS ALL = (root) NOPASSWD: /sbin/reboot

Next, create a reboot script for them:

   # cat /usr/local/sbin/reboot.sh
   sudo /sbin/reboot

Finally, use OpenSSH's built-in options to run the script at login.  From 
sshd(8):

AUTHORIZED_KEYS FILE FORMAT

 []

 command=command
 Specifies that the command is executed whenever this key is used
 for authentication.

So, make each user's authorized_keys file look something like:

ssh-rsa [long base64 string] [EMAIL PROTECTED] 
command=/usr/local/sbin/reboot.sh

Alternatively, do all the above for one single account: your restart user.  
Use authorized_keys to limit which of your real users has access to reboot 
the machine, and use ssh -l restart balkyrouter.example.com to trigger it.  
You could even go so far as to add a clause to /etc/ssh/ssh_config (or 
~/.ssh/config for each individual user) like:

Host rebootrouter
Hostname balkyrouter.example.com
User restart

so that your users just run ssh rebootrouter.

So, to recap, when a user logs in, the reboot.sh script will be executed.  It 
will use sudo to run the reboot command as root, without prompting the user 
to enter any password.  It's easy, it works, and it doesn't require any 
setuid trickery or special accounts or anything else.
-- 
Kirk Strauser


pgp6bWTuEAWYV.pgp
Description: PGP signature


Re: Newbie Experience

2006-09-11 Thread Norberto Meijome
On Mon, 11 Sep 2006 05:32:40 -0400
Bill Moran [EMAIL PROTECTED] wrote:

 We are a community.  We're not Microsoft.  We're not interested in
 driving users away by saying here's everything you need, don't bother
 us again.  Our limited resources are focused on developing the really
 important parts of the system.  While few would complain if the
 install process were made easier, nobody has the time to work on it.
 Become part of the community and ask questions when you have trouble.
 Find a local user's group.  But please, please don't complain about the
 OS not working right when you use it wrong.  The FreeBSD community is
 an integral part of the OS.  Not making use of the FreeBSD community
 and then complaining that the OS is difficult to use would be like not
 using a mouse then complaining that MS Windows is hard to use.

nicely put Bill :)

I would add, spend some time each day reading the mailing lists and help where
you can, and ask where you can't :)

in light of that... i've read about at least 1 project to improve on our
installer (SOC 2005) - is that already in place in Fbsd 6? (dont think
so...seems pretty similar to the old one to me...)

Any other related projects to improve the installer? I *KNOW* it isn't the most
important part of the system, but every bit counts, and I think that having
both a ncurses and a GUI (non-ncurses ;) )based installer would be quite nice
and modern. And I'd be definitely happy to help where I can. PC-BSD has one,
right? 

anyway...just looking for pointers atm...

thanks everyone!

_
{Beto|Norberto|Numard} Meijome

What you are afraid to do is a clear indicator of the next thing you need to do.

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD installer (was Re: Newbie Experience #2)

2006-09-11 Thread Norberto Meijome
On Mon, 11 Sep 2006 16:26:33 +0200
Jonathan McKeown [EMAIL PROTECTED] wrote:

 On Monday 11 September 2006 15:56, Jud wrote:
  everyone who uses FreeBSD knows that a better (meaning,
  at least to many folks, more simplified and graphical)
  installer would be nice  
 
 Perhaps as an option. The problem is that you need to install a graphical 
 environment to run a graphical installer. Simplicity means different things 
 to different people, too.

absolutely. but you don't need to install anything to run a graphical
installer. And, ideally, you wouldn't be forced to have only the graphical
installer option, you'd still be able to use the good old ncurses or hack your
own -serial one :)

_
{Beto|Norberto|Numard} Meijome

Ugly programs are like ugly suspension bridges: they're much more liable to
collapse than pretty ones, because the way humans (especially engineer-humans)
perceive beauty is intimately related to our ability to process and understand
complexity. A language that makes it hard to write elegant code makes it hard
to write good code. Eric Raymond

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Torrentflux, PHP, and Apache

2006-09-11 Thread Andy Greenwood

torrentflux has it's own forum for problems like this. Please consult
http://www.torrentflux.com/forum for help. I don't check that forum
anymore as I'm a dev for  b4rt's mod. If you can't get any help from
the official TF folks, email me off-list and I'll see what I can do.

On 9/10/06, Ryan Winograd [EMAIL PROTECTED] wrote:

Hi all,
I have a strange problem here. I just installed torrentflux on my
freebsd6.1 box and it was working great for a few minutes. Then, for
some reason i can't figure out, i was no longer able to view index.php.
Other php files were parsed by the server just fine, but for some reason
when i tried to access index.php I either got actual php code or a blank
file. Let me reiterate that the other php pages for just fine...so I am
a little confused. Any advice? Ideas on what could be causing this?

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


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


Re: /usr/bin/ld: cannot find -lstdc++_p

2006-09-11 Thread Lowell Gilbert
Viswas Nair [EMAIL PROTECTED] writes:

 I get the message /usr/bin/ld: cannot find -lstdc++_p while building the
 xfe X11 file manager.
 A google did not give any ideas.
 Need help.

Well, start with whether libstdc++_p.a actually exists in /usr/lib.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Newbie Experience

2006-09-11 Thread Bill Moran
In response to Norberto Meijome [EMAIL PROTECTED]:

 Any other related projects to improve the installer? I *KNOW* it isn't the 
 most
 important part of the system, but every bit counts, and I think that having
 both a ncurses and a GUI (non-ncurses ;) )based installer would be quite nice
 and modern. And I'd be definitely happy to help where I can. PC-BSD has one,
 right? 

The community _is_ aware of the deficiency.  It just hasn't completed an
acceptable replacement yet.  Probably the best known attempt was libh:

http://www.freebsd.org/projects/libh.html

The libh project is just waiting around for someone to revitalize it.

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


Re: Newbie Experience

2006-09-11 Thread Alex de Kruijff
On Sun, Sep 10, 2006 at 11:42:19PM +0200, Andreas Davour wrote:
 
 Too bad you felt it was that horrific.
 
 In my experience FreeBSD is sometimes a bit harder than modern Linux 
 distros to install, but are much nicer to maintain and use.

I found leaning linux was much harder because there wore no mailing list
compaired to the ones FreeBSD has.

 A: Because it fouls the order in which people normally read text.
 Q: Why is top-posting such a bad thing?
 A: Top-posting.
 Q: What is the most annoying thing on usenet and in e-mail?

Top-posting!

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howtos based on my personal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://alex.kruijff.org/FreeBSD/

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


Re: Newbie Experience

2006-09-11 Thread Anton Shterenlikht
On 2006 Sep 11, Bill Moran wrote:
 In response to Norberto Meijome [EMAIL PROTECTED]:
 
  Any other related projects to improve the installer? I *KNOW* it isn't the 
  most
  important part of the system, but every bit counts, and I think that having
  both a ncurses and a GUI (non-ncurses ;) )based installer would be quite 
  nice
  and modern. And I'd be definitely happy to help where I can. PC-BSD has one,
  right? 
 
 The community _is_ aware of the deficiency.  It just hasn't completed an
 acceptable replacement yet.  Probably the best known attempt was libh:

I'm very happy with the installer as it is. I usually use floppies and then 
install via ftp, so I'd prefer to keep the installer as small as possible. 
Maybe even ncurses is not necessary.

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


Re: FreeBSD installer (was Re: Newbie Experience #2)

2006-09-11 Thread Norberto Meijome
On Mon, 11 Sep 2006 17:51:28 +0200
Alex de Kruijff [EMAIL PROTECTED] wrote:

  absolutely. but you don't need to install anything to run a graphical
  installer. And, ideally, you wouldn't be forced to have only the graphical
  installer option, you'd still be able to use the good old ncurses or hack
  your own -serial one :)
 
 But then two versions of a installer have to be maintained, meaning more
 work. Everyone can use the ncurses version. Its seems to me that the
 time it takes to make a second version could better go in to other
 parts of FreeBSD.

not if both read the same config and display it in a different manner, very
much like the Linux kernel's make config / menuconfig / xconfig

_
{Beto|Norberto|Numard} Meijome

Any society that would give up a little liberty to gain a little security will
deserve neither and lose both. Benjamin Franklin

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Newbie Experience

2006-09-11 Thread Bill Moran
In response to Anton Shterenlikht [EMAIL PROTECTED]:

 On 2006 Sep 11, Bill Moran wrote:
  In response to Norberto Meijome [EMAIL PROTECTED]:
  
   Any other related projects to improve the installer? I *KNOW* it isn't 
   the most
   important part of the system, but every bit counts, and I think that 
   having
   both a ncurses and a GUI (non-ncurses ;) )based installer would be quite 
   nice
   and modern. And I'd be definitely happy to help where I can. PC-BSD has 
   one,
   right? 
  
  The community _is_ aware of the deficiency.  It just hasn't completed an
  acceptable replacement yet.  Probably the best known attempt was libh:
 
 I'm very happy with the installer as it is. I usually use floppies and
 then install via ftp, so I'd prefer to keep the installer as small as
 possible. Maybe even ncurses is not necessary.

One of the goals of libh was to build a library that could display in a
number of different ways: i.e. graphical or curses.

It's possible that libh stalled because their goals were too lofty ...

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


Re: installing 6.1 on Compaq Proliant 5000

2006-09-11 Thread Lee Shackelford
Good morning, Mr. Mittelstaedt.  Again, many thanks for your response to my
question.  My original purpose in purchasing the computer was to install
multiple operating systems for hobbyist purpose.  The computer's major
selling point was that it has five hard drives.  My original idea was to
install a different operating system on each one.  When I discovered that
it had the rather sophisticated RAID-5 system implemented in hardware, I
discarded that idea in favor of partitioning the hard drive to install the
operating systems.  The next operating system that I wanted after Windows
Server 2000, with which it came equipped was FreeBSD.  This project has
become painfully involved, first of all, because I did not understand the
fact, documented nowhere, that the BIOS of a computer intended to be a
server is totally different from the BIOS of a computer intended to be a
workstation.  With experience, and with information eventually traded
across the internet from other computer enthusiasts trying to do the same
thing, I have eventually gained enough understanding of the BIOS to
proceed.  The process has also been stymied by the fact that the developers
of the boot program for sysinstall have failed, even in its latest edition,
to install in BOOT the necessary features to read the output of a Compaq
server BIOS, in particular the ability to correctly interpret the size of
memory.  Thanks to you, other respondents, and experience, I feel that I
now have a grip of that issue.  My latest problem stems from the fact that
I had intended to install a portion of the BSD operating system in a
primary Windows partition (BSD slice) below the 1024 cylinder limit, and
the rest of it in a larger Windows logical partition within the extended
partition, above 1024 cylinders.  Even though the handbook, as well as
several other documents, clearly states that the operating system cannot be
loaded into a logical partition, the implication of that statement did not
register in my brain until I tried to do it.  I wonder if system designers
realize the extent to which the requirements that the entire system, or at
least the boot BSD partition be loaded below 1024 cylinders, and the
requirement that the operating system not be loaded into the extended
Windows partition are in conflict in a multiple operating system
environment.  Some documentation says that the 1024 cylinder limit does not
apply in many cases, but it never says when it applies and when it does not
apply.  I feel, that to make this system work, I will have to use some type
of exotic partition manager such as Ranish or XOSL that can create a large
number of primary partitions.  I had originally wished to stick with GNU
tools such as parted and grub.  I realize my explanation is a bit long
winded, but I hope it clarifies my goals.  Yours truly, Lee Shackelford


   
 Ted  
 Mittelstaedt 
 [EMAIL PROTECTED]  To 
 o.comfreebsd-questions@freebsd.org,
   Lee Shackelford   
 09/06/2006 11:07  [EMAIL PROTECTED]
 PM cc 
   
   Subject 
   Re: installing 6.1 on Compaq
   Proliant 5000   
   
   
   
   
   
   




This isn't unusual, it happens with certain array cards.

If the disk drivers of each different operating system don't agree in how
the disk is laid out that the intelligent driver array controller
presents
to
them, then your screwed - you cannot use the array card for a multi-boot
system.

Sometimes you can get away with it by installing FreeBSD on part of
the disk, and a subsequent disk driver will see the FreeBSD partition and
understand not to overwrite it.  But, sometimes not.

It strikes me that Win 2003 Server is going to run dogpile slow, I
simply cannot fathom why you want to multiboot this system in the
first place.  The only OS's that are going to run worth a damn on it
are Linux and FreeBSD, and you just need to pick one or the
other.

Ted

PS:  You do understand the 

Re: Window Manager Recommendations

2006-09-11 Thread Joel Adamson
Gerard,

Thanks for the recommendations.  I'm still using Windows at work, so I'll keep 
your recommendations in mind.

Let me explain the situation, just for your peace of mind: Let's say I'm 
writing something in a word processor; I want to check something on the 
internet, or I want to initiate a download.  I open my browser and click on a 
few things and then go back to my word processor while I'm waiting for a 
webpage to load.  The annoying behavior is that Ill be typing, and I type darn 
fast, and then when the webpage is done loading, the focus will shift and I'll 
still be typing.  I'll type half a word before I realize that I'm now looking 
at a webpage.  Sometimes I even use the alt key or the control key and that's 
when it can really skrew me up.

Come to think of it, it's only Internet explorer that does this.

Thanks,
Joel

Gerard Seibert [EMAIL PROTECTED] wrote: Joel Adamson wrote:

 I am switching over my desktop system to FreeBSD soon and want to
 choose a nice window manager.  One of the more annoying things I want
 to get away from in Microsoft Windows is focus-shifting: I'll be typing
 along in one place, then a webpage will finish loading, the window
 focus shifts, I keep typing and execute a bunch of commands in the new window
 (chosen by Windows, rather than by me, who would be content to keep
 typing and go to the webpage when I'm good and ready).

I prefer KDE myself, but there are many options out there to choose from.

BTW, the Window's scenario you describe is totally configurable. You
could start by downloading 'Power Tools':

http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx

That should take care of most of your easily corrected problems until
you settle on a new GUI. I am slightly perplexed by the webpage will
finish loading ...  passage however. Are you inferring that a page just
mysteriously loaded on its own? More than likely you initialed the
operation. The majority of people I believe would want the page that
they are opening to become the primary focus point. You can change the
configuration to have pages open in the background however, although I
fail to see why.


-- 
Gerard Seibert
[EMAIL PROTECTED]




Joel J. Adamson 
Arlington, MA

-
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great rates 
starting at 1¢/min.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How do I give 2 parameters to programs in an unix enviroment?

2006-09-11 Thread hackmiester (Hunter Fuller)


On 8 September 2006, at 08:10, Lasse Edlund wrote:

If I have two files foo and bar and try to run diff on them I  
write:

$diff foo bar
I can also write
$cat foo | diff - bar
But how do I give a program two (2) commands? not only to diff
but to any program that wants double input...
I wanna do
$cat foo | cat bar | diff - -


The entire purpose of cat is to concatenate files (make them output  
one after another). So, do:


cat foo bar | diff - -


especially with echo commands that would be handy so I dont have to
create files!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions- 
[EMAIL PROTECTED]




--
hackmiester (Hunter Fuller)

svinx yknow when you go to a party, and everyones hooked up except  
one guy and one girl

svinx and so they look at each other like.. do we have to?
svinx intel  nvidia must be lookin at each other like that right now


Phone
Voice: +1 251 589 6348
Fax: Call the voice number and ask.

Email
General chat: [EMAIL PROTECTED]
Large attachments: [EMAIL PROTECTED]
SPS-related stuff: [EMAIL PROTECTED]

IM
AIM: hackmiester1337
Skype: hackmiester31337
YIM: hackm1ester
Gtalk: hackmiester
MSN: [EMAIL PROTECTED]
Xfire: hackmiester


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


Re: NAT+IPSEC toubles

2006-09-11 Thread Erik Norgaard

Administrators wrote:

Hi,

I'm building VPN connected to CISCO device.

I NEED to translate my LAN adress to a given adress.

The VPN work well when I try doing
ifconfig em0 alias [EMAIL PROTECTED]
ping -S [EMAIL PROTECTED] dest_@

but I didn't manage to translate LAN adresse AND having VPN used.

I can pass throug VPN using actual adress but the CISCO endpoint drop it
or I translate, but packets didn't go in the VPN.

Any idea ?


IPSec does not work across NAT. The problem is authenticated headers 
which simply won't work because it assumes the ip header to be untouched.


If you have a natting box this will rewrite the source/destination ip 
which means that the recipient cannot verify the authencity of the packet.


You should be able to get things working without AH.

Cheers, Erik
--
Ph: +34.666334818  web: http://www.locolomo.org
X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Network mail

2006-09-11 Thread hackmiester (Hunter Fuller)


On 8 September 2006, at 11:45, Jerold McAllister wrote:


hackmiester (Hunter Fuller) writes:
I'm old school. Back in my day, we didn't have the Internet we  
have  today, and our UNIX boxes could mail over the network we had  
strung.  I don't care what mail app I use. I just want to be able  
to have two  boxes, boxbox and snowy, for example, and be able to  
'mail boxbox'  from snowy and vice versa. This has to be on a  
system-wide basis, so  people on my shell server can do it easily.  
Any ideas? A quick tutorial?

--
hackmiester (Hunter Fuller)


If you have some network connection between the two boxes (and any  
others)
Just follow the handbook and set up sendmail on each.   If you do  
not want
Email from anywhere else, then set it up to accept mail connections  
only

from those two boxen.
You don't need any of the other fancy stuff out there unless you  
see some

feature that you just gotta have.


So, as long as I set up sendmail and one host knows the other's name  
and can resolve it, it will Just Work™?



jerry

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




--
hackmiester (Hunter Fuller)

svinx yknow when you go to a party, and everyones hooked up except  
one guy and one girl

svinx and so they look at each other like.. do we have to?
svinx intel  nvidia must be lookin at each other like that right now


Phone
Voice: +1 251 589 6348
Fax: Call the voice number and ask.

Email
General chat: [EMAIL PROTECTED]
Large attachments: [EMAIL PROTECTED]
SPS-related stuff: [EMAIL PROTECTED]

IM
AIM: hackmiester1337
Skype: hackmiester31337
YIM: hackm1ester
Gtalk: hackmiester
MSN: [EMAIL PROTECTED]
Xfire: hackmiester


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


Re: Newbie Experience

2006-09-11 Thread jan gestre

On 9/11/06, Bob Walker [EMAIL PROTECTED] wrote:


Hi,



I have always wanted to better understand Unix, and so I finally made the
decision to switch some of my office PCs over to either a Unix or Linux
system. With office suites like OpenOffice, I felt that I would be able to
transition away from Windows with minimal disruption to my business. So, I
downloaded the .iso images from FreeBSD, Suse, and Fedora. I initially
favored FreeBSD, since it seemed to have the closest lineage to pure
Unix,
and that was important to me, but after many, many attempts to install
both
the OS and Gnome desktop environment, I threw up my hands.



In brief, the installation process is just awful. After multiple attempts
on
an admittedly older machine (Pentium II 266Mhz, 256KB ram, 30GB hard
drive,
S3 Virge graphics card), I was able to get the FreeBSD OS installed, but
could not configure Gnome or KDE properly. The documentation is sketchy at
best. I had to learn about X11, Xorg, XFree86, and all of the gory history
of X before I could even begin to use ee and know to edit the /etc/rc.conf
file. The installation process did not recognize my graphics card or
Ethernet connection, and all I could get was a crude 600x800 display. And
DesktopBSD was even worse.



I then repartitioned my drive and sequentially installed Fedora Core 5 amd
then Suse 10.1. Both were EASY to install, Fedora in particular recognized
all of my peripherals, and I was up and running with it in about two
hours.
Conversely, FreeBSD took me multiple days and has still left me
bewildered.
Needless to say, I was very disappointed. I feel that FreeBSD will never
achieve broader acceptance (even with momentum building for alternative
OS)
among people with modest technical proficiency and fairly simple
requirements (i.e., spreadsheets, word processing, presentations, email).
FreeBSD has an awful out of the box experience. It's too bad, because I
think FreeBSD is probably a better OS, but I'll never really know.
Regards,



too bad, you experienced that, the FreeBSD sysinstall is not that really
hard, it may seem daunting at first because of its text mode but it is very
straight forward, i guess you have to read the handbook over and over again
to fully comprehend the things you missed why things like X is not working,
it will also help if you will include the error messages as to why you can't
run/install gnome or kde. imo you missed some dependencies that's why you're
having a hard time.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Restore master.passwd from pwd.db and spwd.db

2006-09-11 Thread Leo Mrafko
Hello,

after some weird disk accident I have only pwd.db and spwd.db from my
passwd files left. Passwd and master.passwd are missing. Couln't find them
in /lost+found too. The system is running, but I can not add new users, of
course (baybe only using pwd_mkdb -u ).
Is there any way how to reconstruct master.passwd ? I was searching
through the archives and dind't finde the answer. I was also trying to
look into pwd_mkdb source, but ...

Thanks in advance
Leo Mrafko

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


Re: Restore master.passwd from pwd.db and spwd.db

2006-09-11 Thread michael johnson

On 9/11/06, Leo Mrafko [EMAIL PROTECTED] wrote:

Hello,

after some weird disk accident I have only pwd.db and spwd.db from my
passwd files left. Passwd and master.passwd are missing. Couln't find them
in /lost+found too. The system is running, but I can not add new users, of
course (baybe only using pwd_mkdb -u ).
Is there any way how to reconstruct master.passwd ? I was searching
through the archives and dind't finde the answer. I was also trying to
look into pwd_mkdb source, but ...



/var/backups contains a few files you may need.


Thanks in advance
Leo Mrafko

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


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


Re: Sequence of execution of getopt() and usage()...

2006-09-11 Thread Chuck Swiger

On Sep 11, 2006, at 5:27 AM, Amarendra Godbole wrote:

This is a general FreeBSD source related question, and I am posting it
here, as it did not fit in any other FreeBSD lists...


This list is a quite reasonable choice to ask such questions.  :-)


While browsing through sources for different userland utilities (cat,
chmod, and so on), I noticed that in main(), first getopt() is called
in a while loop, and then the check for the number of arguments passed
is done. Something like this (from chmod.c):

[ ... ]

Can't we check for the number of arguments *before* calling getopt()?

[ ... ]

I observe a similar pattern in other utilities too - which might mean
that there was a sound reason as to why it was done this way. Can
someone be kind enough to explain this? Thanks in advance!


Sure.  The issue is that utilities which require a certain number of  
arguments do not want to count the option flags being passed in, but  
argc's count includes these flags and any values being passed to  
flags which take a value (ie, getopt() options followed by a colon :).


It's much easier to process the options and then do argc -= optind,  
and then determine whether the remaining # of arguments left meet the  
criteria for the particular program.


--
-Chuck

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


Re: Restore master.passwd from pwd.db and spwd.db

2006-09-11 Thread Leo Mrafko
On Mon, 11 Sep 2006, michael johnson wrote:

 On 9/11/06, Leo Mrafko [EMAIL PROTECTED] wrote:
  Hello,
 
  after some weird disk accident I have only pwd.db and spwd.db from my
  passwd files left. Passwd and master.passwd are missing. Couln't find them
  in /lost+found too. The system is running, but I can not add new users, of
  course (baybe only using pwd_mkdb -u ).
  Is there any way how to reconstruct master.passwd ? I was searching
  through the archives and dind't finde the answer. I was also trying to
  look into pwd_mkdb source, but ...
 

 /var/backups contains a few files you may need.

Yeah, really, thanks, I found there some backup. But I still wonder, if
there is a possibily to reconstruct master passwd back from .db files,
e.g. in case this backup is not up-to-date. I think it should be possible,
but I don't knw how..

Thanks
Leo

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


Re: Newbie Experience

2006-09-11 Thread Jeff Rollin

On 11/09/06, jan gestre [EMAIL PROTECTED] wrote:


On 9/11/06, Bob Walker [EMAIL PROTECTED] wrote:

 Hi,



 I have always wanted to better understand Unix, and so I finally made
the
 decision to switch some of my office PCs over to either a Unix or Linux
 system. With office suites like OpenOffice, I felt that I would be able
to
 transition away from Windows with minimal disruption to my business. So,
I
 downloaded the .iso images from FreeBSD, Suse, and Fedora. I initially
 favored FreeBSD, since it seemed to have the closest lineage to pure
 Unix,
 and that was important to me, but after many, many attempts to install
 both
 the OS and Gnome desktop environment, I threw up my hands.



 In brief, the installation process is just awful. After multiple
attempts
 on
 an admittedly older machine (Pentium II 266Mhz, 256KB ram, 30GB hard
 drive,
 S3 Virge graphics card), I was able to get the FreeBSD OS installed, but
 could not configure Gnome or KDE properly. The documentation is sketchy
at
 best. I had to learn about X11, Xorg, XFree86, and all of the gory
history
 of X before I could even begin to use ee and know to edit the
/etc/rc.conf
 file. The installation process did not recognize my graphics card or
 Ethernet connection, and all I could get was a crude 600x800 display.
And
 DesktopBSD was even worse.



 I then repartitioned my drive and sequentially installed Fedora Core 5
amd
 then Suse 10.1. Both were EASY to install, Fedora in particular
recognized
 all of my peripherals, and I was up and running with it in about two
 hours.
 Conversely, FreeBSD took me multiple days and has still left me
 bewildered.
 Needless to say, I was very disappointed. I feel that FreeBSD will never
 achieve broader acceptance (even with momentum building for alternative
 OS)
 among people with modest technical proficiency and fairly simple
 requirements (i.e., spreadsheets, word processing, presentations,
email).
 FreeBSD has an awful out of the box experience. It's too bad, because
I
 think FreeBSD is probably a better OS, but I'll never really know.
 Regards,


too bad, you experienced that, the FreeBSD sysinstall is not that really
hard, it may seem daunting at first because of its text mode but it is
very
straight forward, i guess you have to read the handbook over and over
again
to fully comprehend the things you missed why things like X is not
working,
it will also help if you will include the error messages as to why you
can't
run/install gnome or kde. imo you missed some dependencies that's why
you're
having a hard time.



Discussions like these leave me lost for words... The last time I had
trouble with a FreeBSD install, it was because sysinstall neglected to
install a kernel! (I remember the days when people used to complain about
(n)curses-based Linux installs... Fire up Windows XP's setup.exe, and what
do you get?!)

Which is to say, apart from the occasional bug I really don't see what the
problem is with sysinstall.  To me it's the best thing this side of YaST for
getting (certain areas of) system administration done. (Yeah, I know a lot
of you probably hate YaST in particular or Linux in general... whilst I like
FreeBSD, I have to say that it really suffers in comparison to Linux in the
area of driver support. I know that's not all the FBSD developers' fault,
but when you're sat there fighting with a piece of recalcitrant hardware,
surprisingly enough assigning blame to where it belongs is often the last
thing on your mind!) It's really hard to make a cock-up with FreeBSD
installation - apart from not knowing how much space to set aside! There
really ought to be something about that in the manual

This is going off-topic quite a bit, but the same could be said for NetBSD
(not, in my experience, with OpenBSD.) They're really hard to cock-up if you
just *follow* *the darned* *instructions*. After coming away from Windows,
it's actually nice to have some decent documentation!

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


Re: Restore master.passwd from pwd.db and spwd.db

2006-09-11 Thread Chuck Swiger

On Sep 11, 2006, at 12:14 PM, Leo Mrafko wrote:

/var/backups contains a few files you may need.


Yeah, really, thanks, I found there some backup. But I still  
wonder, if

there is a possibily to reconstruct master passwd back from .db files,
e.g. in case this backup is not up-to-date. I think it should be  
possible,

but I don't knw how..


You should be able to use pwd_mkdb -p; see the manpage.

--
-Chuck

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


Re: Restore master.passwd from pwd.db and spwd.db

2006-09-11 Thread Leo Mrafko
On Mon, 11 Sep 2006, Chuck Swiger wrote:

 On Sep 11, 2006, at 12:14 PM, Leo Mrafko wrote:
  /var/backups contains a few files you may need.
 
  Yeah, really, thanks, I found there some backup. But I still
  wonder, if
  there is a possibily to reconstruct master passwd back from .db files,
  e.g. in case this backup is not up-to-date. I think it should be
  possible,
  but I don't knw how..

 You should be able to use pwd_mkdb -p; see the manpage.

Thanks, but sorry, this can only make passwd from master.passwd, AFAIK.

Leo

 --
 -Chuck


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


Re: Newbie Experience

2006-09-11 Thread Chuck Swiger

On Sep 11, 2006, at 12:15 PM, Jeff Rollin wrote:

Discussions like these leave me lost for words...


Perhaps, although it seems you recovered quickly.  :-)

Which is to say, apart from the occasional bug I really don't see  
what the

problem is with sysinstall.


Credits: It's highly functional.  It can configure a lot of things  
about a FreeBSD system, either during or after the installation of  
the system.  It's CLI/remote-serial-console friendly.


Debits: It's oriented towards technical people.  People who don't  
understand computers well in general, and the details of disk layouts  
in particular, tend to get hopelessly confused.  Not only do they  
usually not know how to access the help inside sysinstall, many times  
the help text is not available, or is not comprehensible unless you  
have the already-mentioned technical background.


Fortunately, the outstanding docs available for FreeBSD do a lot to  
walk people through the process, even novices.  Unfortunately, people  
want to use computers without having to read the docs.  Just ask your  
mom/grandparents/etc.  :-)



To me it's the best thing this side of YaST for
getting (certain areas of) system administration done. (Yeah, I  
know a lot

of you probably hate YaST in particular or Linux in general...


Why would you think that?  I'd imagine that most of the people using  
FreeBSD end up having a Linux box or two around for one reason or  
another.


As for YaST, well, whatever gets the job done.  It reminds me a bit  
too much of SMIT from AIX, or perhaps cPanel or Webmin, but other  
people seem to prefer such interfaces to a CLI prompt.


--
-Chuck

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


IBM Netfinity 3500 and 5.5

2006-09-11 Thread Toomas Aas

Hello!

Is anyone successfully running RELENG_5_5 on IBM Netfinity 3500? I have
one such machine here (Type 8644-10X, with IBM ServeRAID 3L) that was
running RELENG_5_4 (and 5.3 before that, IIRC) quite happily. Now I cvsupped
to RELENG_5_5 and built a new world and kernel, but when booting the new
kernel the boot process just hangs after these two lines:

ata0: channel #0 on atapci0
ata1: channel #1 on atapci0

After these two lines have been printed, the machine hangs hard. Pressing
the NumLock key on the keyboard doesn't affect the NumLock led. Only thing
that remains to do is to press the power button.

Googling brought me (to my surprise) to FreeBSD 5.5-RELEASE i386 installation
notes that I had neglected to read. It says there that Netfinity 3500 may hang
when onboard NIC is configured. So I rebooted after disabling the onboard NIC
in BIOS, but that didn't help - booting still hangs at the same place.
Additionally the same problem is noted in installation notes for 5.4 and 5.3,
which run successfully on this box. And anyway, the hang happens long before
the NIC is configured (or even long before it is probed when 5.4 boots - not
sure about 5.5, maybe the device probing order has changed).

Other things I have tried (and all with same miserable results):

- Booting with GENERIC kernel
- Booting with ACPI disabled
- Removing all USB device support from kernel (during booting of FreeBSD 5.4,
  the next line in dmesg after ata0 and ata1 is uhci0)
- Disabling USB support in BIOS
- Disabling SMP support in BIOS

Anything else I should try, before cvsupping (cvsdowning?) back to RELENG_5_4?
I would like to avoid going to 6 right now, since that would involve a lot of
port rebuilding.

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


Re: Newbie Experience

2006-09-11 Thread jdow

From: Alex de Kruijff [EMAIL PROTECTED]


On Sun, Sep 10, 2006 at 11:42:19PM +0200, Andreas Davour wrote:


Too bad you felt it was that horrific.

In my experience FreeBSD is sometimes a bit harder than modern Linux 
distros to install, but are much nicer to maintain and use.


I found leaning linux was much harder because there wore no mailing list
compaired to the ones FreeBSD has.


A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?


Top-posting!


You must HATE blogs.

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


Re: How do I give 2 parameters to programs in an unix enviroment?

2006-09-11 Thread Jan Grant
On Mon, 11 Sep 2006, hackmiester (Hunter Fuller) wrote:

 On 8 September 2006, at 08:10, Lasse Edlund wrote:
 
  If I have two files foo and bar and try to run diff on them I write:
  $diff foo bar
  I can also write
  $cat foo | diff - bar
  But how do I give a program two (2) commands? not only to diff
  but to any program that wants double input...
  I wanna do
  $cat foo | cat bar | diff - -
 
 The entire purpose of cat is to concatenate files (make them output one after
 another). So, do:
 
 cat foo bar | diff - -

This advice is wrong.

To answer the original question: the shell pipe connects the stdout of 
the first process to the stdin of the second process using a pipe. The 
stock shells don't have a way of doing what you're after. If you have 
fdescfs mounted, ksh can do something like what you're after using the 
syntax:

diff (cat foo) (cat bar)

zsh supports something similar and can work around the lack of fdescfs.


-- 
jan grant, ISYS, University of Bristol. http://www.bris.ac.uk/
Tel +44 (0)117 3317661   http://ioctl.org/jan/
( echo ouroboros; cat )  /dev/fd/0 # it's like talking to yourself sometimes
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Extensions and Themes in Firefox

2006-09-11 Thread Jeff Rollin

Hi list,

I'm using FBSD 6.1-RELEASE and I'm having trouble downloading extensions and
themes in firefox (installed from packages). They all complain that they're
not supported in Unknown.

Any ideas on how to fix this, please?

TIA

Jeff Rollin

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


Re: Extensions and Themes in Firefox

2006-09-11 Thread michael johnson

On 9/11/06, Jeff Rollin [EMAIL PROTECTED] wrote:

Hi list,

I'm using FBSD 6.1-RELEASE and I'm having trouble downloading extensions and
themes in firefox (installed from packages). They all complain that they're
not supported in Unknown.



What theme/extension are you trying to install?


Any ideas on how to fix this, please?

TIA

Jeff Rollin

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


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


ATA driver

2006-09-11 Thread Danial Thom
Has anyone ported the ata drivers with SATA
support back to 4.x? It is doable or are there
some new kernel structures that won't port?

DT

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


Re: Newbie Experience

2006-09-11 Thread Anton Shterenlikht
 Needless to say, I was very disappointed. I feel that FreeBSD will never
 achieve broader acceptance (even with momentum building for alternative
 OS)
 among people with modest technical proficiency and fairly simple
 requirements (i.e., spreadsheets, word processing, presentations, email).
 FreeBSD has an awful out of the box experience. It's too bad, because I
 think FreeBSD is probably a better OS, but I'll never really know.
 Regards,
 
 
 too bad, you experienced that, the FreeBSD sysinstall is not that really
 hard, it may seem daunting at first because of its text mode but it is very
 straight forward, i guess you have to read the handbook over and over again
 to fully comprehend the things you missed why things like X is not working,
 it will also help if you will include the error messages as to why you can't
 run/install gnome or kde. imo you missed some dependencies that's why you're
 having a hard time.

When I first installed FreeBSD, circa 2003, version 4.9, the two reasons I 
chose it over Redhat and Debian were the simplicity of the installation and 
good manual. The install process on REdhat and Debian was awkward, at least for 
me, and I could not make them work on my old compaq armada laptop. In contrast 
just following the manual and choosing default install parameters I got Freebsd 
working fast.

During the installation I actually learned a lot about unix and Freebsd, the 
sort of details which are important to know anyway.

It is hard to find the right balance between simplicity and functionality. It 
seems the balance in the Freebsd install is about right.

anton

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


samba and localhost?

2006-09-11 Thread Henrik Hudson
Hey List-

running: 6.1-stable
samba: 3.0.23b

Question about the loopback interface for sambaI've got a dual-homed host 
and when I set this in my smb.cnf

bind interfaces only = yes
interfaces = em0 lo0
hosts deny = ALL
hosts allow = 10.0.0.0/24 127.

I get errors when running samab tests stating:

querying ECW on 127.255.255.255
Sending a packet of len 50 to (127.255.255.255) on port 137
Packet send failed to 127.255.255.255(137) ERRNO=Can't assign requested 
address
name_query failed to find name ECW#1d

I do have PF filter running, but I don't see any blocks on the pf logs.  When 
I'm actually trying to do anything with samba I just get can't find login 
server errors. When I modify this to:  interfaces = em0   then most of my 
services work fine, but I can't use net commands, etc.. since they try and 
connect on the localhost.

How can I fix this?


Henrik
-- 
Henrik Hudson
[EMAIL PROTECTED]
--
God, root, what is difference? Pitr; UF (http://www.userfriendly.org/)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Extensions and Themes in Firefox

2006-09-11 Thread [EMAIL PROTECTED]

Quoting Jeff Rollin [EMAIL PROTECTED]:


Hi list,

I'm using FBSD 6.1-RELEASE and I'm having trouble downloading extensions and
themes in firefox (installed from packages). They all complain that they're
not supported in Unknown.

Any ideas on how to fix this, please?

TIA

Jeff Rollin

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




I solved this problem on my freebsd 6.1-STABLE box by deinstalling all 
graphical web tools (Opera, Firefox, etc) enabling linux binary 
compatibility, and then installing the linux versions of all those 
graphical www tools I had just installed.


then the linux-plugins

I'm very pleased with the results, as many plugings dont have a BSD version.




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


Re: Window Manager Recommendations

2006-09-11 Thread Anton Shterenlikht
On 2006 Sep 11, Joel Adamson wrote:
 Gerard,
 
 Thanks for the recommendations.  I'm still using Windows at work, so I'll 
 keep your recommendations in mind.
 
 Let me explain the situation, just for your peace of mind: Let's say I'm 
 writing something in a word processor; I want to check something on the 
 internet, or I want to initiate a download.  I open my browser and click on a 
 few things and then go back to my word processor while I'm waiting for a 
 webpage to load.  The annoying behavior is that Ill be typing, and I type 
 darn fast, and then when the webpage is done loading, the focus will shift 
 and I'll still be typing.  I'll type half a word before I realize that I'm 
 now looking at a webpage.  Sometimes I even use the alt key or the control 
 key and that's when it can really skrew me up.

I've been using xfce and mwm and never had problems with focus shifting.

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


Re: Newbie Experience

2006-09-11 Thread Ralph Ellis
On Monday 11 September 2006 2:12 pm, Anton Shterenlikht wrote:
  Needless to say, I was very disappointed. I feel that FreeBSD will never
  achieve broader acceptance (even with momentum building for alternative
  OS)
  among people with modest technical proficiency and fairly simple
  requirements (i.e., spreadsheets, word processing, presentations,
   email). FreeBSD has an awful out of the box experience. It's too bad,
   because I think FreeBSD is probably a better OS, but I'll never really
   know. Regards,
 
  too bad, you experienced that, the FreeBSD sysinstall is not that really
  hard, it may seem daunting at first because of its text mode but it is
  very straight forward, i guess you have to read the handbook over and
  over again to fully comprehend the things you missed why things like X is
  not working, it will also help if you will include the error messages as
  to why you can't run/install gnome or kde. imo you missed some
  dependencies that's why you're having a hard time.

 When I first installed FreeBSD, circa 2003, version 4.9, the two reasons I
 chose it over Redhat and Debian were the simplicity of the installation and
 good manual. The install process on REdhat and Debian was awkward, at least
 for me, and I could not make them work on my old compaq armada laptop. In
 contrast just following the manual and choosing default install parameters
 I got Freebsd working fast.

 During the installation I actually learned a lot about unix and Freebsd,
 the sort of details which are important to know anyway.

 It is hard to find the right balance between simplicity and functionality.
 It seems the balance in the Freebsd install is about right.

 anton

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
I think that for people who have never seen FreeBSD before, PC-BSD or 
DesktopBSD are good choices for starting points. Most of the install choices 
are made for you. Later if someone wants to do a custom install, they will 
have more familiarity with the choices or have a good FreeBSD book like 
FreeBSD 6 Unleashed which can help sort out the problems.
Ralph Ellis
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Newbie Experience

2006-09-11 Thread backyard


--- Chuck Swiger [EMAIL PROTECTED] wrote:

 On Sep 11, 2006, at 12:15 PM, Jeff Rollin wrote:
  Discussions like these leave me lost for words...
 
 Perhaps, although it seems you recovered quickly. 
 :-)
 
  Which is to say, apart from the occasional bug I
 really don't see  
  what the
  problem is with sysinstall.

I'm in that club myself. It takes a few times to get
it down, but it is simple once you know the basic
steps of getting FreeBSD on a box. The trick is of
course understanding the basic steps which is where
most don't take the time to research. I know I read
through tha handbook a few times before I attempted my
first go, and I know I messed up royally even still.
But now its more frustrating to figure out what I want
to do while the packages are downloading then anything
else.

 
 Credits: It's highly functional.  It can configure a
 lot of things  
 about a FreeBSD system, either during or after the
 installation of  
 the system.  It's CLI/remote-serial-console
 friendly.
 
 Debits: It's oriented towards technical people. 
 People who don't  
 understand computers well in general, and the
 details of disk layouts  
 in particular, tend to get hopelessly confused.  Not
 only do they  
 usually not know how to access the help inside
 sysinstall, many times  
 the help text is not available, or is not
 comprehensible unless you  
 have the already-mentioned technical background.

I would have to concurr with this 100%. My first go at
FreeBSD was a little rough do to this whole concept of
two partitionings. I thought to myself now why would
anyone want to do this. I wouldn't consider myself at
the time a novice, but I wouldn't consider myself too
bright either... Now it makes perfect sense to have
one partition and multiple slices. It makes an fstab
look a lot nicer. nothing more annoying then not
having say a linux box boot because you selected the
extended partitions number instead of the logical
drive contained therein... and keeping track of a
million partitions get old quick. 

 
 Fortunately, the outstanding docs available for
 FreeBSD do a lot to  
 walk people through the process, even novices. 
 Unfortunately, people  
 want to use computers without having to read the
 docs.  Just ask your  
 mom/grandparents/etc.  :-)
 

most people want to use everything without reading the
manual. I think thats why there's labels on the
toaster not to stick a fork in it, or a tag to not use
a hair dryer in the shower... Personally I turn to the
Cadillac shop manual when I want to tune up my eldo,
it makes sense to me. I know software is the same way,
but most people don't want to take any time figuring
out what their doing; pardon my vulgarity but Taco
Bell exists for a reason, man pages...

  To me it's the best thing this side of YaST for
  getting (certain areas of) system administration
 done. (Yeah, I  
  know a lot
  of you probably hate YaST in particular or Linux
 in general...
 
 Why would you think that?  I'd imagine that most of
 the people using  
 FreeBSD end up having a Linux box or two around for
 one reason or  
 another.

I find it was for not reading the FreeBSD manuals...
if people think FreeBSD is hard I cannot imagine what
they think about Linux. Sure it has that flashy
install program, well except Gentoo and maybe a few
others, but upgrading the kernel can make setting up a
FreeBSD box from scratch WITHOUT the manuals seem like
a cake walk... I will admit to having a linux
partition on my laptop, but only because I haven't
taken the time to backup FreeBSD and give myself 15
more gigs... I will give Linux this, if I were
building an embedded system I would probably go with
Linux, but only because the obscure hardware sometimes
in PC104s has vendor supported linux drivers. That and
I understand how Linux boots better then FreeBSD, I'm
hoping this will change soon; even have a Treo 650
lying around with X windows name all over it... might
have to try OpenBSD for that one though...


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


just what does kserel mean?

2006-09-11 Thread Nestor Wheelock
I have searched all over the net for a good definition of what the top 
state, kserel means.  When I run mysql this is the state in which it 
runs.


  PID USERNAME  THR PRI NICE   SIZERES STATE  C   TIME   WCPU COMMAND
 2117 mysql  17  200   323M 59080K kserel 0   0:02  0.00% mysqld


I'm a newbie with freebsd and am concerned that this might be some sort of 
problem since my installation of Mysql turned out to be rather 
challenging.


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


Re: Newbie Experience

2006-09-11 Thread backyard


--- Anton Shterenlikht [EMAIL PROTECTED] wrote:

  Needless to say, I was very disappointed. I feel
 that FreeBSD will never
  achieve broader acceptance (even with momentum
 building for alternative
  OS)
  among people with modest technical proficiency
 and fairly simple
  requirements (i.e., spreadsheets, word
 processing, presentations, email).
  FreeBSD has an awful out of the box experience.
 It's too bad, because I
  think FreeBSD is probably a better OS, but I'll
 never really know.
  Regards,
  
  
  too bad, you experienced that, the FreeBSD
 sysinstall is not that really
  hard, it may seem daunting at first because of its
 text mode but it is very
  straight forward, i guess you have to read the
 handbook over and over again
  to fully comprehend the things you missed why
 things like X is not working,
  it will also help if you will include the error
 messages as to why you can't
  run/install gnome or kde. imo you missed some
 dependencies that's why you're
  having a hard time.
 
 When I first installed FreeBSD, circa 2003, version
 4.9, the two reasons I chose it over Redhat and
 Debian were the simplicity of the installation and
 good manual. The install process on REdhat and
 Debian was awkward, at least for me, and I could not
 make them work on my old compaq armada laptop. In
 contrast just following the manual and choosing
 default install parameters I got Freebsd working
 fast.
 
 During the installation I actually learned a lot
 about unix and Freebsd, the sort of details which
 are important to know anyway.
 
 It is hard to find the right balance between
 simplicity and functionality. It seems the balance
 in the Freebsd install is about right.
 
 anton
 

I've only been around since FreeBSD 5.4 myself, and
found during installs that sysinstall would get
confused if you changed your mind and went backwards
through the menus to reconfigure options. it seems
like the one in 6.1 is a lot better, but maybe I just
move back and forth less...

That being said once it is installed it is a million
times easier to maintain and upgrade then any Linux
I've used. I had an old Digital 486 I had to install
Redhat 7.3 thinking I could easily update to the
latest kernel. I found I had to go through so many
dependancies to do so I finally said whatever kernel
was there was good enough. Talk about having to be a
GNU guru to get things installed correctly without
clobbering the old stuff and running into trouble... 
Of late I was using Gentoo which I found to be FreeBSD
like with its portage system, until recently when it
seems they changed many system level interface stuff
sometime after April 2006 and now I cannot seem to
update it. Even a full system rebuild has blocking
packages that boggle my mind as they were compile from
source originally...

sysinstall isn't all that bad. It could be flashier,
it could be graphical, it could be a lot of things. If
it really bothers you that much you can make yourself
a livecd system that brings up X and restores a basic
install, or cvsups whatever system you want on your
pc/sparc/whatever and builds it from source. that is
the beauty of Unix. True Unix not an emulator like
Linux. That and the fact you get an OS with a set of
base software and a compiler out of the box. Linux is
only the kernel, you have to make hundreds of
independant software packages work together to get a
system running. Each one with their own independant
configuration files, and hundreds of man pages to
read. Even the rc.d system is a separate package.

now I'm sure things have progressed with Fedora Core
where updating is nice and simple, but the shear
amount of chaos that is Linux just drives me nutz.
Sysinstall does take a few installs to get down pat,
but once you do it can be setup almost in your sleep.
You do need to get used to the differences of Unix vs
most PC OSs whereby you need to in laymens term
partition twice. A feature I love because it keeps
fstab making sense. 

Like anything you can't expect to try something
completely new without expecting to fall on your face
a few times. I wouldn't just through on scuba gear and
dive the Atlantic Ocean in search of the Titanic... I
would expect to have to read, maybe take some classes
(mess up FreeBSD bad and start over) and try in a pool
instead of the ocean a few times (use non-mission
critical machines to learn with) 

The unfortunate truth is Unix is not Microsoft
Windows, well some might consider it unfortunate...
Windows tells you what to do, what software you must
use, what drivers you must use, where you must install
things, what daemons listen to what ports and their is
little you can do to change it. Unix is just a set of
simple commands strung together in scripts and pipes
that can do whatever you want it to do. X11 is not
Unix it is a software package designed to allow
netrocentric GUI applications to talk to a screen,
keyboard and mouse. Its a monster in and of itself...
Complete with its own documentation...


Re: Question

2006-09-11 Thread Svein Halvor Halvorsen
Jonathan Chen wrote:
 To unzip ZIPs, you need to install archivers/unzip. To unzip RARs, you
 need to install archivers/unrar.

The new bsdtar (by way of libarchive) can read zip files quite nicely.
At least most of them, in my experience. According to the man page
libarchive-formats(5):

   Zip format
 Libarchive can extract from most zip format archives.  It
 currently only supports uncompressed entries and entries
 compressed with the ``deflate'' algorithm.  Older zip
 compression algorithms are not supported.


The base system tar is bsdtar (from 5.3-RELEASE, I think)


Svein Halvor



signature.asc
Description: OpenPGP digital signature


Re: just what does kserel mean?

2006-09-11 Thread Dan Nelson
In the last episode (Sep 11), Nestor Wheelock said:
 I have searched all over the net for a good definition of what the top 
 state, kserel means.  When I run mysql this is the state in which it 
 runs.
 
   PID USERNAME  THR PRI NICE   SIZERES STATE  C   TIME   WCPU COMMAND
  2117 mysql  17  200   323M 59080K kserel 0   0:02  0.00% mysqld

That's just a wait state used inside libkse threads meaning a thread is
waiting for something to do.  Note that for a threaded program, the
STATE seen by top is that of only one thread owned by the process. 
Press 'H' to see each thread on its own line.

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


Re: Newbie Experience

2006-09-11 Thread Jerold McAllister
backyard writes: 

--- Chuck Swiger [EMAIL PROTECTED] wrote: 


On Sep 11, 2006, at 12:15 PM, Jeff Rollin wrote:
 Discussions like these leave me lost for words... 

Perhaps, although it seems you recovered quickly. 
:-) 


 Which is to say, apart from the occasional bug I
really don't see  
 what the

 problem is with sysinstall.


I'm in that club myself. It takes a few times to get
it down, but it is simple once you know the basic
steps of getting FreeBSD on a box. The trick is of



 some excised
 


comprehensible unless you  
have the already-mentioned technical background.


I would have to concurr with this 100%. My first go at
FreeBSD was a little rough do to this whole concept of
two partitionings. I thought to myself now why would
anyone want to do this. I wouldn't consider myself at
the time a novice, but I wouldn't consider myself too
bright either... Now it makes perfect sense to have
one partition and multiple slices. It makes an fstab
look a lot nicer. 


Of course, I think you just said that backwards.
I think by FreeBSD terminology you probably mean one slice and
several partitions (a-h) in it... 

jerry 


  nothing more annoying then not
having say a linux box boot because you selected the
extended partitions number instead of the logical
drive contained therein... and keeping track of a
million partitions get old quick.  




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





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


Re: just what does kserel mean?

2006-09-11 Thread Chuck Swiger

On Sep 11, 2006, at 3:14 PM, Nestor Wheelock wrote:
I have searched all over the net for a good definition of what the  
top state, kserel means.  When I run mysql this is the state in  
which it runs.


  PID USERNAME  THR PRI NICE   SIZERES STATE  C   TIME   WCPU  
COMMAND
 2117 mysql  17  200   323M 59080K kserel 0   0:02  0.00%  
mysqld


I'm a newbie with freebsd and am concerned that this might be some  
sort of problem since my installation of Mysql turned out to be  
rather challenging.


This state is set in the kse_release() call in sys/kern/kern_kse.c,  
and appears to mean that the process is waiting to be woken up by a  
signal or is otherwise blocked waiting for more work; this is handled  
by returning control to userspace via an upcall.


See man kse_release:

 In other words, as soon as there is a scheduling decision to be  
made, the
 KSE becomes unassigned, because the kernel does not presume to  
know how
 the process' other runnable threads should be scheduled.   
Unassigned KSEs
 always return to user space as soon as possible via the upcall  
mechanism
 (described below), allowing the user process to decide how that  
KSE
 should be utilized next.  KSEs always complete as much work as  
possible

 in the kernel before becoming unassigned.

[ ... ]

 The kse_release() system call is used to ``park'' the KSE  
assigned to the
 currently running thread when it is not needed, e.g., when  
there are more
 available KSEs than runnable user threads.  The thread converts  
to an
 upcall but does not get scheduled until there is a new reason  
to do so,

 e.g., a previously blocked thread becomes runnable, or the timeout
 expires.  If successful, kse_release() does not return to the  
caller.


--
-Chuck

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


Re: Newbie Experience

2006-09-11 Thread backyard


--- Jerold McAllister [EMAIL PROTECTED] wrote:

 backyard writes: 
 
  --- Chuck Swiger [EMAIL PROTECTED] wrote: 
  
  On Sep 11, 2006, at 12:15 PM, Jeff Rollin wrote:
   Discussions like these leave me lost for
 words... 
  
  Perhaps, although it seems you recovered quickly.
 
  :-) 
  
   Which is to say, apart from the occasional bug
 I
  really don't see  
   what the
   problem is with sysinstall.
  
  I'm in that club myself. It takes a few times to
 get
  it down, but it is simple once you know the basic
  steps of getting FreeBSD on a box. The trick is of
 
   some excised
  
 
  comprehensible unless you  
  have the already-mentioned technical background.
  
  I would have to concurr with this 100%. My first
 go at
  FreeBSD was a little rough do to this whole
 concept of
  two partitionings. I thought to myself now why
 would
  anyone want to do this. I wouldn't consider myself
 at
  the time a novice, but I wouldn't consider myself
 too
  bright either... Now it makes perfect sense to
 have
  one partition and multiple slices. It makes an
 fstab
  look a lot nicer. 
 
 Of course, I think you just said that backwards.
 I think by FreeBSD terminology you probably mean one
 slice and
 several partitions (a-h) in it... 

in the interest of not confusing a newbie in the
future I would say yes I did. my biggest problem is
mixing my own vernacular with what the rest of the
world uses... At any rate having one slice for my Unix
and partitioning that slice up with the filesystems I
wish to populate is a good thing. After a while you
even get used to what a-h is all about and to stay
away from c unless you need to dd a mistaken gvinum
configuration away... In retrospec this probably
messes new folks up cause like myself they generally
assume a partition is what we would call a slice... 



-brian

 
 jerry 
 
nothing more annoying then not
  having say a linux box boot because you selected
 the
  extended partitions number instead of the logical
  drive contained therein... and keeping track of a
  million partitions get old quick.  
  
  
  
  -brian
  ___
  freebsd-questions@freebsd.org mailing list
 

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

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


Upgrade server from i386 - amd64 kernel ...

2006-09-11 Thread Marc G. Fournier


Just had a new 64bit server installed at the colo, but they accidentally 
installed a i386 ISO, instead of an AMD64 one ... is it possible to build 
/ install an amd64 world, or do I have to re-install from a proper ISO 
first ?


Thanks ...


Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrade server from i386 - amd64 kernel ...

2006-09-11 Thread Leo Mrafko
Yes, in fact it's pretty simple, quoting /usr/src/Makefile:

# If TARGET_ARCH=arch (e.g. ia64, sparc64, ...) is specified you can
# cross build world for other architectures using the buildworld target,
# and once the world is built you can cross build a kernel using the
# buildkernel target.

Just read through /usr/src/Makefile and /usr/src/UPDATING.

Leo.

On Mon, 11 Sep 2006, Marc G. Fournier wrote:


 Just had a new 64bit server installed at the colo, but they accidentally
 installed a i386 ISO, instead of an AMD64 one ... is it possible to build
 / install an amd64 world, or do I have to re-install from a proper ISO
 first ?

 Thanks ...

 
 Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
 Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
 Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: Origin of hard drive parameters

2006-09-11 Thread Ian Graeme Hilt
On Monday 11 September 2006 2:42 am, jdow wrote:
 From: Ian Graeme Hilt [EMAIL PROTECTED]

  May I point out that I was not interested in CHS alone. My focus was the
  origin of the hard drives parameters i.e. geometry, which is the subject
  of  discussion. From this discussion and other sources I have learned
  that CHS,  as you say, is arbitrary when referring to modern drives. To
  be specific, drives adhering to ATA/ATAPI Specification 6 and later.
  ATA/ATAPI Spec. 5 and earlier used CHS mode for representing hard drive
  capacity. The reason I am  interested in this topic is partially because
  of my idle curiosity. I'm the type of person interested in the
  challenge of answering questions. The questions, How does the BIOS
  automatically detect correct values for hard disks? and, Where is this
  information stored? have been stuck in my head  for at least 6 months.
  No amount of searching the web provided me with
  satisfactory results. I tried a few tests of my own, all of which failed
  to  answer my questions. So, I decided to appeal to the
  FreeBSD-questions mailing list. Mainly because I have found useful
  answers to other questions here. The other part of my reason is that one
  of my coworkers thought this information was stored on the platters of
  the hard drive. I thought differently but I could not _prove_ it.

 Good reason. And the information is indeed stored on the platters of
 the hard disks in a place you cannot read directly.

How do you know this is true?

 It is easier for 
 me to refer to SCSI than to ATA. With SCSI the operating code for the
 disk is stored on the disk. What comes up at first is enough SCSI to
 say I'm a disk; and, I'm not ready.  When you issue ReadCapacity,
 Mode Sense, and Inquiry commands you are accessing data stored on the
 same reserved sectors as the disk's operating code. Special diagnositic
 commands allow the operating code to be modified. The Mode Select
 command allows you to reconfigure the disk's geometry. This takes
 effect after you next low level format the drive if you have no other
 intervening commands. This allows you to alter the spare blocks and
 cylinders on the disk as well as configure most other operating
 parameters. These are stored where operating systems normally cannot
 see them with normal read/write commands.

 So your coworker is correct, it is stored on the drive 

Actually, he was arguing this information was stored on the platters of the 
hard drive. I was arguing it could be stored in a chip on the hard drive 
which I'm thinking of as the CMOS for a motherboard.

 and barring nvram on the drive it is stored on the actual platters. 

This is exactly my point. There is cause for reasonable doubt that it isn't 
stored on the platters.


  As for storing it - read block zero of the disk.
  Be DAMN careful not to WRITE to block zero. And if you DO write
  to block zero at about the time I quit doing such low level stuff
  and moved to other things there were several SCSI hard disk
  manufacturers using code that had a defect such that if you wrote
  more than one disk block starting at block 0 the whole disk was
  toast until you did a fresh low level format on it. One sincerely
  hopes THAT defect is gone these days.)
 
  {O.O}   Joanne
 
  Reading through ATA/ATAPI -7 has helped me rephrase my questions into
  one: When the command READ NATIVE MAX ADDRESS is issued to the device,
  from where is this information returned?

 It may be cached somewhere for quick returns. 

Yes, but it also may be stored in the hard drive's CMOS.

 There are tools for tuning 
 disk performance for both ATA and SCSI disks that can alter the operating
 parameters. Some options read OS cached values. Others dig down and issue
 the 'standard' query commands and read the actual values off the disk. The
 disk is the final arbiter, in modern terms. When doing the configuration
 utility that became arguably the most popular one for the Amiga I ran
 across some small number of hard disks that returned off by 1 values for
 size. (Micropolis was one offender at one time.) And I also ran across
 drives delivered with only the first few megabytes formatted. So I built
 into the configuration utility an actual search for the last readable
 block. I used the lesser of that value and the value the drive declared
 to Read Capacity commands. At least the formats it generated were safe.
 (I think it was either Maxtor or CDC/Seagate that had the partially
 formatted drives escape from their factory.)


It is possible the the factory settings for the capacity of a hard drive are 
stored in a chip, which I'm calling CMOS, on the circuit board attached to 
the hard drive. This information is then modified and saved to an 
inaccessible portion of the hard drive's platters or to another area of the 
hard drive's CMOS using the ATA command SET MAX ADDRESS, SET MAX ADDRESS EXT 
for 48 bit mode, or similar command. Then when the command IDENTIFY DEVICE is 
sent to 

Re: Upgrade server from i386 - amd64 kernel ...

2006-09-11 Thread Marc G. Fournier


'k, I knew about cross-compiling, just wasn't sure if it was that simple 
to upgrade the system being cross-compiled onto ... thanks ...


On Tue, 12 Sep 2006, Leo Mrafko wrote:


Yes, in fact it's pretty simple, quoting /usr/src/Makefile:

# If TARGET_ARCH=arch (e.g. ia64, sparc64, ...) is specified you can
# cross build world for other architectures using the buildworld target,
# and once the world is built you can cross build a kernel using the
# buildkernel target.

Just read through /usr/src/Makefile and /usr/src/UPDATING.

Leo.

On Mon, 11 Sep 2006, Marc G. Fournier wrote:



Just had a new 64bit server installed at the colo, but they accidentally
installed a i386 ISO, instead of an AMD64 one ... is it possible to build
/ install an amd64 world, or do I have to re-install from a proper ISO
first ?

Thanks ...


Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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




Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrade server from i386 - amd64 kernel ...

2006-09-11 Thread RW
On Tuesday 12 September 2006 02:18, Marc G. Fournier wrote:
 'k, I knew about cross-compiling, just wasn't sure if it was that simple
 to upgrade the system being cross-compiled onto ... thanks ...

I don't think it is that simple. I'd search the amd64 list if I were you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrade server from i386 - amd64 kernel ...

2006-09-11 Thread Marc G. Fournier

On Tue, 12 Sep 2006, RW wrote:


On Tuesday 12 September 2006 02:18, Marc G. Fournier wrote:

'k, I knew about cross-compiling, just wasn't sure if it was that simple
to upgrade the system being cross-compiled onto ... thanks ...


I don't think it is that simple. I'd search the amd64 list if I were you.


Found two posts that basically state 'try only if you are machoistic', so 
I think I'll just re-install :)



Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrade server from i386 - amd64 kernel ...

2006-09-11 Thread Leo Mrafko
Yes, I've done it a few months ago.. Just read through the files.. As far
as I remember you need to build amd64 world, then kernel, installworld,
installkernel, reboot, voila, it works.. I had some small problems which I
don't remember now, you will able to solve them for sure. Maybe don't
forget to backup your data first ;-)

On Mon, 11 Sep 2006, Marc G. Fournier wrote:


 'k, I knew about cross-compiling, just wasn't sure if it was that simple
 to upgrade the system being cross-compiled onto ... thanks ...

 On Tue, 12 Sep 2006, Leo Mrafko wrote:

  Yes, in fact it's pretty simple, quoting /usr/src/Makefile:
 
  # If TARGET_ARCH=arch (e.g. ia64, sparc64, ...) is specified you can
  # cross build world for other architectures using the buildworld target,
  # and once the world is built you can cross build a kernel using the
  # buildkernel target.
 
  Just read through /usr/src/Makefile and /usr/src/UPDATING.
 
  Leo.
 
  On Mon, 11 Sep 2006, Marc G. Fournier wrote:
 
 
  Just had a new 64bit server installed at the colo, but they accidentally
  installed a i386 ISO, instead of an AMD64 one ... is it possible to build
  / install an amd64 world, or do I have to re-install from a proper ISO
  first ?
 
  Thanks ...
 
  
  Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
  Email . [EMAIL PROTECTED]  MSN . [EMAIL 
  PROTECTED]
  Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 

 
 Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
 Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
 Yahoo . yscrappy   Skype: hub.orgICQ . 7615664

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


Re: just what does kserel mean?

2006-09-11 Thread Eric Schuele

On 09/11/06 17:14, Nestor Wheelock wrote:
I have searched all over the net for a good definition of what the top 
state, kserel means.  When I run mysql this is the state in which it 


I don't mean to be stating the obvious... but as a newbie you might not 
know that KSE == Kernel Schedulable Entity


You can do all sorts of googling on freebsd KSE and as Chuck mentioned 
browse sys/kern/kern_kse.c


HTH.


runs.

  PID USERNAME  THR PRI NICE   SIZERES STATE  C   TIME   WCPU COMMAND
 2117 mysql  17  200   323M 59080K kserel 0   0:02  0.00% mysqld


I'm a newbie with freebsd and am concerned that this might be some sort 
of problem since my installation of Mysql turned out to be rather 
challenging.


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





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


Re: Extensions and Themes in Firefox

2006-09-11 Thread [EMAIL PROTECTED]

Quoting Xiao-Yong Jin [EMAIL PROTECTED]:


[EMAIL PROTECTED] [EMAIL PROTECTED] writes:


Quoting Jeff Rollin [EMAIL PROTECTED]:


Hi list,

I'm using FBSD 6.1-RELEASE and I'm having trouble downloading 
extensions and

themes in firefox (installed from packages). They all complain that they're
not supported in Unknown.

Any ideas on how to fix this, please?

TIA

Jeff Rollin


I solved this problem on my freebsd 6.1-STABLE box by deinstalling all
graphical web tools (Opera, Firefox, etc) enabling linux binary
compatibility, and then installing the linux versions of all those
graphical www tools I had just installed.

then the linux-plugins

I'm very pleased with the results, as many plugings dont have a BSD version.


Can you explain it in detail?  I can't find detailed instructions in
the Handbook.  What about the flash plugin, the java plugin, the
realplayer, the openoffice plugin, or even the mplayerplug-in?

Thank you,
Xiao-Yong
--
  ,,,
 (o o)
---ooO-(_)-Ooo---




Ok, assuming your www browser of choice is firefox (similarly for Opera)

uninstall firefox

then make sure linux binary compatibility is enabled, the easiest way 
to do that is with sysinstall.  (read the handbook for more info on 
this step)


Now cd into /usr/ports/www
and look at any port whose name starts with linux

the ones I found most helpful where:
linux-firefox
linux-flashplugin7
linuxpluginwrapper

you might also want to look at
linux-mplayer-plugin if you use mplayer for windows media files

hope that helps.

Rance
make sure your options are what you want, and that should fix you.




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


RSS feeds for important sites?

2006-09-11 Thread Marc G. Fournier


I'm trying to get my rss reader configured up so that I no longer miss 
anything ... or, at least, make it easier to keep on top of everything ...


I can't seem to find stuff like DaemonNews and such ...

Does anyone have a list of BSD related RSS feeds that they'd be willing to 
share?


Thankx ...


Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: RSS feeds for important sites?

2006-09-11 Thread Napoleon Dynamite
On Monday 11 September 2006 19:21, Marc G. Fournier wrote:
 I'm trying to get my rss reader configured up so that I no longer miss
 anything ... or, at least, make it easier to keep on top of everything ...

 I can't seem to find stuff like DaemonNews and such ...

 Does anyone have a list of BSD related RSS feeds that they'd be willing to
 share?

 Thankx ...


Hi Mark,

I think you're asking about all the BSDs, so here is what I have.
For FreeBSD I use the RSS feeds off the main project  page, for NetBSD off 
theirs, and for OpenBSD, which doesn't have any on their page, I get them off 
of http://undeadly.org (the busiest of these first three.) I also subscribe 
to the BSD related feeds off of Secunia. I don't know DragonflyBSD well 
enough to point you anywhere.
Other than that I haven't found any others.
The security feeds are the best because the instant I get one on FreeBSD, I 
recompile userland and the kernel.

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


Re: Origin of hard drive parameters

2006-09-11 Thread jdow

From: Ian Graeme Hilt [EMAIL PROTECTED]


On Monday 11 September 2006 2:42 am, jdow wrote:

From: Ian Graeme Hilt [EMAIL PROTECTED]

 May I point out that I was not interested in CHS alone. My focus was the
 origin of the hard drives parameters i.e. geometry, which is the subject
 of  discussion. From this discussion and other sources I have learned
 that CHS,  as you say, is arbitrary when referring to modern drives. To
 be specific, drives adhering to ATA/ATAPI Specification 6 and later.
 ATA/ATAPI Spec. 5 and earlier used CHS mode for representing hard drive
 capacity. The reason I am  interested in this topic is partially because
 of my idle curiosity. I'm the type of person interested in the
 challenge of answering questions. The questions, How does the BIOS
 automatically detect correct values for hard disks? and, Where is this
 information stored? have been stuck in my head  for at least 6 months.
 No amount of searching the web provided me with
 satisfactory results. I tried a few tests of my own, all of which failed
 to  answer my questions. So, I decided to appeal to the
 FreeBSD-questions mailing list. Mainly because I have found useful
 answers to other questions here. The other part of my reason is that one
 of my coworkers thought this information was stored on the platters of
 the hard drive. I thought differently but I could not _prove_ it.

Good reason. And the information is indeed stored on the platters of
the hard disks in a place you cannot read directly.


How do you know this is true?


A friend of mine, who goes or went by the ID scsi, worked at Micropolis
then Hitachi then Maxtor then Seagate. I watched her put the operating
code on the disks. I also have written and used a MODE SELECT/MODE
SENSE utility that allowed me to alter the drive's formatting. I KNOW
that data was not downloaded to the drive by the OS. cough I had
adequate source for the Amiga OS by that time to know. {^_-} The OS
knew how to read the data it needed off the drive. And so did the
RDPrepX utility I wrote. If it was not stored on the drive NOT in
one of the active user sectors then it was PFM that the drive worked
at all. (I still have a fondness for the Amiga Rigid Disk Blocks
format. If I can fix the BSD machine's Chinese Capacitor Syndrom
and get it back on line I plan to make sure BSD has the ability to
at least read the Amiga RDBs. The filesystem is another ballgame,
though. That may already be covered. But most people get the RDB
parsing wrong one way or another, particularly for 2k physical block
size magneto-optical stoage.)


It is easier for
me to refer to SCSI than to ATA. With SCSI the operating code for the
disk is stored on the disk. What comes up at first is enough SCSI to
say I'm a disk; and, I'm not ready.  When you issue ReadCapacity,
Mode Sense, and Inquiry commands you are accessing data stored on the
same reserved sectors as the disk's operating code. Special diagnositic
commands allow the operating code to be modified. The Mode Select
command allows you to reconfigure the disk's geometry. This takes
effect after you next low level format the drive if you have no other
intervening commands. This allows you to alter the spare blocks and
cylinders on the disk as well as configure most other operating
parameters. These are stored where operating systems normally cannot
see them with normal read/write commands.

So your coworker is correct, it is stored on the drive


Actually, he was arguing this information was stored on the platters of the  hard 
drive. I was arguing it could be stored in a chip on the hard drive

which I'm thinking of as the CMOS for a motherboard.


I can verify that the drives at the time I was working on them did not
have nvram on the drives. And you cannot store it on the motherboard
and still have the disks portable, which simple experiments can prove.
The earliest drives were VERY parts deficient. As they progressed the
companies got smart and figured We have this EXCELLENT non-volatile
storage quite handy to us so we'll store the firmware with the parameters
on the platters and simply start counting block zero after this data
space. It works. I was astonished, twice (once at the cleverness and
second at my stupidity for not thinking of it before hand), when scsi
told me about it. Gayle really digs disk drive internals. Erm, and by
accident I latched on to a copy of the Micropolis code for one of the
last disks they made. It's in there. And I've NEVER shared it. 'T
would not be right to do that.


and barring nvram on the drive it is stored on the actual platters.


This is exactly my point. There is cause for reasonable doubt that it isn't  stored on 
the platters.


See my Duh reaction above. Why spend MORE money for nvram when there
is a nice rotating non-volatile store quite handy. It can bootstrap
nicely several ways.

1) Read parameters so it knows when to step heads from block zero or
  zero and one. Then load the operating firmware, switch to it, and
  run 

Re: RSS feeds for important sites?

2006-09-11 Thread Marc G. Fournier

On Mon, 11 Sep 2006, Napoleon Dynamite wrote:


On Monday 11 September 2006 19:21, Marc G. Fournier wrote:

I'm trying to get my rss reader configured up so that I no longer miss
anything ... or, at least, make it easier to keep on top of everything ...

I can't seem to find stuff like DaemonNews and such ...

Does anyone have a list of BSD related RSS feeds that they'd be willing to
share?

Thankx ...



Hi Mark,

I think you're asking about all the BSDs, so here is what I have.
For FreeBSD I use the RSS feeds off the main project  page, for NetBSD off
theirs, and for OpenBSD, which doesn't have any on their page, I get them off
of http://undeadly.org (the busiest of these first three.) I also subscribe
to the BSD related feeds off of Secunia. I don't know DragonflyBSD well
enough to point you anywhere.
Other than that I haven't found any others.
The security feeds are the best because the instant I get one on FreeBSD, I
recompile userland and the kernel.


Actually, in this case, I'm more interested in FreeBSD stuff ... but, for 
instance, I can't find an RSS feed for Daemonnews or bsdnews, whcih would 
be cool ... an RSS feed for the 'In the News' section on the FreeBSD site 
would be cool ... that sort of thing ...


Thanks ...


Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrade server from i386 - amd64 kernel ...

2006-09-11 Thread Marc G. Fournier

On Tue, 12 Sep 2006, Leo Mrafko wrote:


Yes, I've done it a few months ago.. Just read through the files.. As far
as I remember you need to build amd64 world, then kernel, installworld,
installkernel, reboot, voila, it works.. I had some small problems which I
don't remember now, you will able to solve them for sure. Maybe don't
forget to backup your data first ;-)


Actually, no data yet ... having a new CD burned as I type this, and will 
do a clean install ... 


On Mon, 11 Sep 2006, Marc G. Fournier wrote:



'k, I knew about cross-compiling, just wasn't sure if it was that simple
to upgrade the system being cross-compiled onto ... thanks ...

On Tue, 12 Sep 2006, Leo Mrafko wrote:


Yes, in fact it's pretty simple, quoting /usr/src/Makefile:

# If TARGET_ARCH=arch (e.g. ia64, sparc64, ...) is specified you can
# cross build world for other architectures using the buildworld target,
# and once the world is built you can cross build a kernel using the
# buildkernel target.

Just read through /usr/src/Makefile and /usr/src/UPDATING.

Leo.

On Mon, 11 Sep 2006, Marc G. Fournier wrote:



Just had a new 64bit server installed at the colo, but they accidentally
installed a i386 ISO, instead of an AMD64 one ... is it possible to build
/ install an amd64 world, or do I have to re-install from a proper ISO
first ?

Thanks ...


Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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




Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664


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




Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Baud rate change on ex-console line without reboot?

2006-09-11 Thread Doug Lee
I use a serial console (sio0 flag 0x10, /boot/loader.conf
console=comconsole, /boot.config -h, /etc/make.conf
BOOT_COMCONSOLE_SPEED=115200), but I suddenly have need to quit
doing that that and to use that line for a serial output device at
9600 baud.  I am trying to do this without a reboot.  Is this
possible?  I have tried using Screen to grab console output into a
window so it isn't routed to the serial line, and setting baud rates
on /dev/tty*0 devices, * being d, id, ld, ua (always device busy),
ala, and aia.  I can get speeds to change on initial-state and
lock-state devices but not on callin/out devices, and as indicated,
I can't seem to free cuaa0.  The device I want to connect is an
output-only (computer -- device) item; namely, a text-to-speech
device.

Am I missing something, or is this one of those happily few occasions
where one really must reboot the OS?


-- 
Doug Lee [EMAIL PROTECTED]
SSB + BART Group [EMAIL PROTECTED]   http://www.ssbbartgroup.com
While they were saying among themselves it cannot be done, it was
done. --Helen Keller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]