Re: question on the firefox port...

2006-01-28 Thread Duane Whitty

Evgeny Solovyov wrote:

$ make -DFORCE_PKG_REGISTER install clean

or

$ make FORCE_PKG_REGISTER="YES" install clean

will set the variable "FORCE_PKG_REGISTER" to YES

mojo fms wrote:

I am having an odd problem on the firefox port. This is a fresh
install of Freebsd 6 and basicly what its doing ...

===>   Generating temporary packing list
===>  Checking if www/firefox already installed
===>   firefox-1.5_5,1 is already installed
  You may wish to ``make deinstall'' and install this port again
  by ``make reinstall'' to upgrade it properly.
  If you really wish to overwrite the old port of www/firefox
  without deleting it first, set the variable "FORCE_PKG_REGISTER"
  in your environment or the "make install" command line.
*** Error code 1

Stop in /usr/ports/www/firefox.
*** Error code 1

Stop in /usr/ports/www/firefox.

I have tried, make deinstall ; make reinstall same error. I am not
sure of what i should set FORCE_PKG_REGISTER to but i tried, YES,
www/firefox and NO for the settings on it. Running it like this :
FORCE_PKG_REGISTER="NO" make reinstall  ... i did this on make
reinstall and make install and nothing still..


make deinstall ...

[EMAIL PROTECTED] make deinstall
===>  Deinstalling for www/firefox
===>   firefox not installed, skipping
[EMAIL PROTECTED]

any suggestions please.

Thanks
___
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]"





Hi, this is my first time responding so forgive me if my etiquette is 
not as it should be.


I'm certainly no expert and I genuinely mean that.  Having made that 
clear up front here is what I would try:  (I'm assuming you are building 
from the sources and not packages)


1:  I guess I'd make sure there were no remnants remaining from previous 
failed firefox installs in directories like /usr/bin,  /usr/local/bin, 
/usr/X11/bin etc.  I don't think make clean takes care of this.


2:  I believe there is a package database in use here but I'm not sure.  
If there is a database perhaps it is in an inconsistent state and needs 
to be rebuilt, if that is still possible.  If you use a ports management 
utility like portupgrade (as an example I'm familiar with) then it is 
possible for the database to sometimes be broken or so I have read.  To 
determine and fix this I have read (and this is what I do) that it is 
good to run pkgdb -F.  This finds and fixes database inconsistencies.


I ran into trouble using the make install clean routine when I was 
building KDE.  I switched to using a combination of portsnap, 
portupgrade, and the port-maintenance-tools


 Warning: Use due diligence.  Double check these procedures for 
yourself   


Let's make our ports management a little more robust

cd  /usr/ports/sysutils/portupgrade
make install clean

from any directory

portupgrade -r portsnap 
portsnap fetch

portsnap extract{only if you've never ran portsnap before}
portsnap upgrade
portupgrade -Nr port-maint  {get port-maintenance-tools port}
portupgrade -Nr portman  {this gets portman and portmanager}
portsdb -u 
pkgdb -F

portaudit -dfa  {man portaudit to verify f or F }
portupgrade -Nr firefox

 Warning: Use due diligence.  Double check these procedures for 
yourself   


There maybe tools here you don't absolutely need but you never know when 
they will be useful.


The next ports management system I want to try out is using CVS instead 
of portsnap.  This then allows a utility like portdowngrade to look at 
CVS commits to decide how to uninstall "rollback" a bad installation, so 
I've read.


I hope this helps

Best regards,

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


Re: ports : make index failed

2006-01-29 Thread Duane Whitty

Pirat SRIYOTHA wrote:

hi sirs,

after cvsup the ports tree ,  i make index but get errors.  it said

inspiron# cat /usr/ports/make-index
Script started on Mon Jan 30 07:10:38 2006
You have mail.
inspiron# uname -a
FreeBSD inspiron.thai-aec.org 6.0-STABLE FreeBSD 6.0-STABLE #3: Tue 
Jan 24 18:17:06 ICT 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/INSPIRON  i386

inspiron# make index
Generating INDEX-6 - please wait../usr/local/bin/php-config: not found
grep: /usr/local/include/php/main/php_config.h: No such file or directory
make: don't know how to make describe. Stop
===> mail/thunderbird-devel failed
*** Error code 1
1 error


Before reporting this error, verify that you are running a supported
version of FreeBSD (see http://www.FreeBSD.org/ports/) and that you
have a complete and up-to-date ports collection.  (INDEX builds are
not supported with partial or out-of-date ports collections -- in
particular, if you are using cvsup, you must cvsup the "ports-all"
collection, and have no "refuse" files.)  If that is the case, then
report the failure to [EMAIL PROTECTED] together with relevant
details of your ports configuration (including FreeBSD version,
your architecture, your environment, and your /etc/make.conf
settings, especially compiler flags and WITH/WITHOUT settings).

Note: the latest pre-generated version of INDEX may be fetched
automatically with "make fetchindex".


*** Error code 1

Stop in /usr/ports.
*** Error code 1

Stop in /usr/ports.
inspiron# exit
exit

Script done on Mon Jan 30 07:37:55 2006

/etc/make.conf
X_WINDOW_SYSTEM=xorg
DOC_LANG=en_US.ISO8859-1
# added by use.perl 2006-01-13 14:51:17
PERL_VER=5.8.7
PERL_VERSION=5.8.7
FORCR_PKG_REGISTER=yes

setenv
USER=root
HOME=/root
SHELL=/bin/csh
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin 


MAIL=/var/mail/root
BLOCKSIZE=K
FTP_PASSIVE_MODE=YES
TERM=xterm
HOSTTYPE=FreeBSD
VENDOR=intel
OSTYPE=FreeBSD
MACHTYPE=i386
SHLVL=1
PWD=/usr
LOGNAME=root
GROUP=wheel
HOST=inspiron.thai-aec.org
REMOTEHOST=siting.thai-aec.org
EDITOR=vi
PAGER=more
inspiron#

i have no 'refuse' file at all.  and as far as i know, php has nothing 
to do with port tree at the very beginning.  would you please clarify 
this issue for me?
thanks in advance for any comments and please cc to me since i do not 
subscribe to this list.


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






Hello everyone,

I am curious about the CVS "refuse" 
files.  I could find no mention of
"refuse" files in the Cederqvist, but 
does it perhaps refer to the
.cvsignore files which tells CVS which 
items to ignore (i.e. not fetch

when updating the ports tree)

Thanks for your help and patience with 
us newbies.


--Best Regards
Duane Whitty
--
[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: serial console for dummies?

2006-01-29 Thread Duane Whitty

Scott I. Remick wrote:

Hello... I'm trying to set up a serial console for watching console error
messages while in X, but am having a real hard time getting my head around
the concepts of what I need to do (and don't need to).

I've seen http://www.freebsd.org/doc/handbook/serialconsole-setup.html but
I'm not clear about how much of that applies to what I want to do, since
it talks about setting it up for a headless system (no keyboard or
monitor) and actually instructs you to remove the keyboard. I've also
searched the mailing list archives but I've read a lot of conflicting
info, much of which for different uses of the serial console than what I
want to use it for, and I've now read back so far that I can't even be
certain that the suggestions apply to FreeBSD 6.0. Ugh

So is there someone who can give me a hand-held walk-through of just what
I need to do to make this work? I'm running FreeBSD 6.0-RELEASE and live
in X (Gnome) all the time. My intention here is to be able to see console
messages (Errors) so when something dies (like X locking, which happens
sometimes) I have a chance to see what the heck happened. I have an old
486 laptop I intend to use as the "dumb terminal", as well as the
necessary null modem cable. I just need to know what to configure on my
FreeBSD box so that console errors are mirrored to the serial port. Thanks!

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




  

Hi,

Take a look at /etc/ttys.  It is pretty self-explanatory but you'll 
probably have to play around with what kind of terminal you want, i.e. 
vt100, vt220, cons25, etc.


My guess is you want

tty0getty(terminal type) on secure


Plug in your laptop to the serial port, restart init (man init) and see 
what happens


Best Regards,

Duane Whitty
--
[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: CVS Import Permissions

2006-01-29 Thread Duane Whitty

david bryce wrote:

Hi All,

I am having some confusion regarding the way CVS works with permissions
under unix when importing a new project. Currently, when I import a
project, I get this sort of permissions on the project directory:

drwxr-x---  2 jim   cvs   512 Jan 27 12:31 test_proj

Notice that the group (cvs) is not granted write access. Is this the way
it's supposed to work? Do I have to use chmod to grant write access to
the group every time I do an import? Or is my CVS not configured 
correctly?


If I don't grant write access to the group on that directory, every 
check in fails with a "could not open lock file

`/usr/local/cvs/test_proj/,test.txt,': Permission denied". I tried
setting the LockDir in the config file to a world-writable directory, 
but this doesn't seem to solve the problem when trying to check-in. 
Thank you!


Regards,

DB 
  

Hi,

I highly recommend the following book.  It is available for viewing 
online or as a downloadble PDF


http://cvsbook.red-bean.com/

Best Regards,

--Duane Whitty
---
[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: CVS Import Permissions

2006-01-30 Thread Duane Whitty

Giorgos Keramidas wrote:

On 2006-01-30 15:52, david bryce <[EMAIL PROTECTED]> wrote:
  

Hi All,

I am having some confusion regarding the way CVS works with permissions
under unix when importing a new project. Currently, when I import a
project, I get this sort of permissions on the project directory:

drwxr-x---  2 jim   cvs   512 Jan 27 12:31 test_proj

Notice that the group (cvs) is not granted write access. Is this the
way it's supposed to work?



That depends on what your `umask' currently is.

  

Do I have to use chmod to grant write access to the group every time I
do an import?



No.  The correct way to fix this is to set CVSUMASK in your shell
environment, and then import the files :)

Of course, now that the import is done, you can still use a bit of
``repository hackery'' to set the g+w bit for the checked in sources.

  

Or is my CVS not configured correctly?



Your cvs is fine.  The default umask is 022, which strips off g+w
permissions from all newly created files; including the ones CVS creates
in the repository.

  

If I don't grant write access to the group on that directory, every
check in fails with a "could not open lock file
`/usr/local/cvs/test_proj/,test.txt,': Permission denied". I tried
setting the LockDir in the config file to a world-writable directory,
but this doesn't seem to solve the problem when trying to check-in.



The RCS files inside `/usr/local/cvs/test_proj' have no group-write
permission.  You can fix this by something like this:

$ cd $CVSROOT
$ find . -print0 | xargs -0 chmod g+w

This is the sort of ``repository hackery'' I mentioned above.

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




  

Hi everyone,

I'm new to taking into consideration the wider security issues of system 
administration.  I apologize for this long post but maybe the answer can 
save me and others from future pain. 

What I'm not sure I understand is why would we not want to grant write 
access to the "cvs" group?  According to the instructions I've read that 
is CVS's basic requirement, i.e. having write access to the repository.  
When I set up a repository without this write access the import failed 
for me as well.


One assumption I am making is that it is better to have one group with 
write permission than explicit write permission given to many different 
users.


So here is how I set up my repository, starting as root
#cd /usr/local
#mkdir cvsrep
#chgrp cvs cvsrep
#chmod g+w cvsrep
#cvs -d /usr/local/cvsrep init

#ll
drwxrwxr_x   2 root cvs   512Jan 30 10:25 cvsrep

#ll cvsrep
drwxrwxr-x   3 root cvs   1024  Jan 30 10:26 CVSROOT

duane$ cvs -d /usr/local/cvsrep import -m "blah blah blah" testproj 
duane start


duane$ ll /usr/local/cvsrep
drwxrwxr-x   3 root cvs   1024  Jan 30 10:26 CVSROOT
drwxrwxr-x   5duane   cvs 512  Jan 30 10:32 testproj

john$cvs -d /usr/local/cvsrep co testproj
 {typical checkout stuff: alls good}

john$ll
-rw-rw-r--   1   john   john   62   Jan 30 10:40 proj.c

john: /usr/home/john/testproj>$ cvs -d /usr/local/cvsrep update
{typical update stuff, no conflicts, all's good}

john$ ll /usr/local/cvsrep
drwxrwxr_x   5 duane cvs   512  Jan 30 10:26 testproj

john$ ll /usr/local/cvsrep/testproj
...
...
  .
  .
  .
-r--r--r--   1   duane   cvs   482   Jan 30 10:55   proj.c,v

Now I don't want to make any assumptions about whether this 
infrastructure is safe or not.  That's why I'm asking the question.  
Everything seems to work but am I leaving myself open to any known 
security problems?


Sorry for the length of this long post.  If I should have posted this 
differently please let me know.


Sincere Thanks

--Duane Whitty

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


Proper mail headers

2006-01-30 Thread Duane Whitty

Hi everyone,

I wanted to check to see if I am using the proper etiquette when filling 
in my headers, especially when responding to someone's post.  Should I 
just let let my reply go to the person named in Reply-To or should I 
reply to the list and CC the poster, or is it the other way around?


Thanks,

--Duane Whitty

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


Ports collection via portupgrade

2006-01-30 Thread Duane Whitty
Hi everyone,

I just wanted to pass on how I've had so 
much success using portupgrade to 
install new software under FreeBSD 6.0

I build my previous installations into 
packages and backup them up to the 
location specified by 
PKG_TMPDIR=/usr/local/temp/ports_pkgs.bak 
(which I never remember but have it set 
in root's shell env. anyway)

I just installed the native Flash plugin 
for Mozilla which works great.

#portupgrade -bNr flashplugin-mozilla

I love portupgrade's "globbing".  Can't 
use it blindly but almost.

I'd love to hear what other users are 
having good success with for this or 
other tasks.

Best Regards,

--Duane Whitty

[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: I'm stubborn or stupid (and that's not xor) (Was: CVS Import Permissions)

2006-01-31 Thread Duane Whitty

Giorgos Keramidas wrote:

On 2006-01-31 00:44, Duane <[EMAIL PROTECTED]> wrote:


Hi everyone,

On the CVS server machine should our CVS repository directory belong to
the cvs group, i.e. user==root, group==cvs?



It's usually a good idea.



And as for the umask, as it appears to be 027, if we give the
cvs group write permission on /usr/local/cvsrep then when we
import our projects they will be writeable by members of group
cvs and the owner of the project, in this case jim.



No.  This is not how `umask' works.  Whatever value `umask'
currently has is logically-AND-ed with 0666.  This means that by
using 027, the result is:

$ python
>>> print "%04o" % (066 & 027)
0026

These are the bits that will be turned *off* for new files (see
the umask(2) manpage for details), so to find out which
permission bits are allowed, you have to use the reverse mask:

>>> print "%04o" % (0777 & ~(066 & 027))
0751

The 0751 allowed-bits mask is equivalent to:

rwxr-x--x

This means that with a umask of 027, you are effectivelly
allowing only the bits in ``rwxr-x--x'' to be turned on by
default for new files, and this doesn't include write permission
for the group.

I know that the whole `umask' concept is a bit tricky to grasp,
since it depends on knowledge of numbering with an octal-base
*AND* it works in the reverse order of that people usually think
it does, but hopefully, with the help of our excellent manpages
and a bit of experimentation, it will become more obvious :)



I apologize if I am being all the things suggested in my
subject heading.



Nah!  Never apologize for a question.  There is no such thing as
a stupid question for this list (well, unless the question refers
to Windows, of course :P).

- Giorgos

__


Thanks Giorgos.

That's an excellent explanation on 
computing the allowed bits.  One of my 
mistakes was logically-AND-ing with 0777.


Sincerely

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


Re: Standard way of updating 6.x ?

2006-02-01 Thread Duane Whitty

Eric Kjeldergaard wrote:

Wednesday 01 February 2006 10:56、RW さんは書きました:


On Tuesday 31 January 2006 17:45, Garrett Cooper wrote:


On Jan 31, 2006, at 8:31 AM, Xn Nooby wrote:

portupgrade: Use for updating your actual ports programs.

There may be a more elegant solution though and I would be more than
happy to hear it too :).
-Garrett


I find that portmanager generally does a better job at keeping ports up to
date without manual intervention. A notable example being its ability to
upgrade Gnome without the help of a script.



I also found portupgrade both more capable in many cases and more easy-to-use 
(just portmanager -u to do what one "usually" wants to do).  Too bad it was 
pulled from ports.



Hi everyone,

I just checked the change log for 
portmanager.  It appears the author has 
re-given permission to redistribute it.


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


Re: ports : make index failed

2006-02-01 Thread Duane Whitty

Pirat SRIYOTHA wrote:

Duane Whitty wrote:


Pirat SRIYOTHA wrote:


hi sirs,

after cvsup the ports tree ,  i make index but get errors.  it said

inspiron# cat /usr/ports/make-index
Script started on Mon Jan 30 07:10:38 2006
You have mail.
inspiron# uname -a
FreeBSD inspiron.thai-aec.org 6.0-STABLE FreeBSD 6.0-STABLE #3: Tue 
Jan 24 18:17:06 ICT 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/INSPIRON  i386

inspiron# make index
Generating INDEX-6 - please wait../usr/local/bin/php-config: not found
grep: /usr/local/include/php/main/php_config.h: No such file or 
directory

make: don't know how to make describe. Stop
===> mail/thunderbird-devel failed
*** Error code 1
1 error


Before reporting this error, verify that you are running a supported
version of FreeBSD (see http://www.FreeBSD.org/ports/) and that you
have a complete and up-to-date ports collection.  (INDEX builds are
not supported with partial or out-of-date ports collections -- in
particular, if you are using cvsup, you must cvsup the "ports-all"
collection, and have no "refuse" files.)  If that is the case, then
report the failure to [EMAIL PROTECTED] together with relevant
details of your ports configuration (including FreeBSD version,
your architecture, your environment, and your /etc/make.conf
settings, especially compiler flags and WITH/WITHOUT settings).

Note: the latest pre-generated version of INDEX may be fetched
automatically with "make fetchindex".


*** Error code 1

Stop in /usr/ports.
*** Error code 1

Stop in /usr/ports.
inspiron# exit
exit

Script done on Mon Jan 30 07:37:55 2006

/etc/make.conf
X_WINDOW_SYSTEM=xorg
DOC_LANG=en_US.ISO8859-1
# added by use.perl 2006-01-13 14:51:17
PERL_VER=5.8.7
PERL_VERSION=5.8.7
FORCR_PKG_REGISTER=yes

setenv
USER=root
HOME=/root
SHELL=/bin/csh
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin 


MAIL=/var/mail/root
BLOCKSIZE=K
FTP_PASSIVE_MODE=YES
TERM=xterm
HOSTTYPE=FreeBSD
VENDOR=intel
OSTYPE=FreeBSD
MACHTYPE=i386
SHLVL=1
PWD=/usr
LOGNAME=root
GROUP=wheel
HOST=inspiron.thai-aec.org
REMOTEHOST=siting.thai-aec.org
EDITOR=vi
PAGER=more
inspiron#

i have no 'refuse' file at all.  and as far as i know, php has 
nothing to do with port tree at the very beginning.  would you please 
clarify this issue for me?
thanks in advance for any comments and please cc to me since i do not 
subscribe to this list.


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






Hello everyone,

I am curious about the CVS "refuse" files.  I could find no mention of
"refuse" files in the Cederqvist, but does it perhaps refer to the
..cvsignore files which tells CVS which items to ignore (i.e. not fetch
when updating the ports tree)

Thanks for your help and patience with us newbies.

--Best Regards
Duane Whitty
--
[EMAIL PROTECTED]


thanks indeed Duane Whitty.  up to today, i have no idea what happen to 
my box ?  will this affect to any ports that will be built ?


with best regards,
psr
___


My last response was a question and not 
an authoritative answer.  I'm basically 
just a beginner at all of this.


Since then I have done some research. 
As a matter of fact the .cvsignore 
files, that show up if you use the ls -a 
command, have nothing to do with the way 
CVSup works! (Answered my own question I 
guess)


I think the FreeBSD Handbook and the man 
pages, man 1 cvsup, explain everything 
really well. (Just lookeed at them for 
the 1st time myself)


Thanks for your question.  It has 
inspired me to start using CVSup.


Best Wishes,

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


Re: LiveCD FreeBSD

2006-02-01 Thread Duane Whitty

Jacob S wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, 01 Feb 2006 09:17:44 -0600
Paul <[EMAIL PROTECTED]> wrote:



Dear FreeBSD

Up untill Dec 01 '05  I was a die hard MicroShaft user, too many
lockups and garbage caused me to search for a new OS. That is when I
came up with PCLOS. Then I got a web server and it runs FreeBSD. I
would like to use FreeBSD on my local computer so I can learn it more.

Is there a LiveCD for FreeBSD I looked at the web site for Freebsd
but was unable to be for sure what is there.



You might try a google search. The following turned up two useful
results in the first 3 hits for me. I have found FreeSBIE to be a good
one (3rd result on that page).

http://www.google.com/search?hl=en&q=freebsd+livecd



I perfer a LiveCD so I can first run it on my computer before I
totally convert. Also when and if I convert will I lose all my
desktop files?



As long as you make a backup of your desktop files, they will still be
around when you switch to another OS. As to whether you will be able to
use them or not, that depends on what type/format the files are.

HTH,
Jacob
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFD4NfykpJ43hY3cTURAkfYAJ0VT4ZQlGjtP8++Z/wzg/hB08wGRwCeI7Rh
GjQHB7ch2PZI/z1U5xIiVXg=
=A7c1
-END PGP SIGNATURE-




I'm running FreeBSD with a dual boot 
config at the moment.  Windows on one 
drive and FreeBSD on another drive.


In past installations I've had Windows 
and FreeBSD sharing a drive.


What I've found convenient is that I am 
able to access my NTFS drives from 
FreeBSD (it would seen read-only however)


FreeBSD as a desktop environment is 
quite useable.  With KDE 3.5 I'm at the 
point where I rarely need to boot into 
Windows anymore.


I can say that if you want to learn an 
OS FreeBSD makes it easier than many 
because it has so much excellent 
documentation.  Installing FreeBSD as 
your desktop OS definitly forces a 
person to learn but as you do you will 
notice it is very flexible.


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


Re: Performance Monitoring

2006-02-03 Thread Duane Whitty

Craig wrote:

Hi

I am fairly new to FreeBSD and I am trying to find out how I can see what the 
CPU and memory utlization is at any time. What commands/tools are available?

Thanks
Craig
___

Run the command man top.

Best regards,

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


Re: dhclient in 6.0

2006-02-03 Thread Duane Whitty

kalin mintchev wrote:

try install /usr/ports/net/isc-dhcp3-client
and edit your rc.conf:
dhclient_program="/usr/local/sbin/dhclient"
dhclient_flags= see manual for isc-dhcp3-client


ok..  this sounds reasonable...
but how do i tell the dhcp server what number am i assigning to fxp0?
now ifconfig shows exactly the same as on the other laptop except the IP
of course.

route get 192.168.1.1 shows also the same output except expire is a
negative number. how do i make the dhcp sever aware of the IP i assigned
to fxp0?



  anybody?!
  i lost too much time on this...  i mean it's dhclient its not even
trying to make RAID work...  sorry to say i'm going back to 5.4...
unless somebody has a quick workaround...

  thanks to the people that tried to help..



 thanks





2006/2/3, Frank Altpeter <[EMAIL PROTECTED]>:


Hi there,

kalin mintchev wrote on 2006-02-03 at 13:55:01 CET:


2006/2/3, make stuff up <[EMAIL PROTECTED]>:



 thank you...  does that mean back to 5.4 for now?


Try install /usr/ports/net/isc-dhcp3-client/


 without a connection?


try to manually ifconfig your fxp0 - this should work.


Le deagh dhùraghd,

  Frank Altpeter

--
*** FA-RIPE *** http://blog.foxalpha.de/ *** SIG at 11 ***
| I'm always ravenous when I'm about to take a long journey.
|   Rygel - DNA Mad Scientist
___


Hi,

In 5.4 I had these a dhclient.conf that 
had these options:


option router-discovery 1
option perform-mask-discovery 1

It was the only way my notebook would 
get a dhcp address.  It seems I don't 
need these settings anylonger in 6.0 but 
maybe making them explicit will help 
your cause.


Hope this helps.

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


Re: firefox

2006-02-06 Thread Duane Whitty

Frank Staals wrote:

Peter Marshall wrote:

Is there a way to get things like flash, mpg, etc to work in firefox 
1.5 with freeBSD ?


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



Flash I'm not sure, there is a flashplayer-port allthough, but I believe 
it only works with linux-firefox ( but again: I'm not sure so don't hold 
me for it if I'm wrong ). For playing videos ( Quicktime etc ) you can 
use the mplayer-plugin in the www category. I haven't used it myself ( 
on 1.5 ) but It worked on 1.0.X so I think it is updated to work with Fx 
1.5


Hope this helps you


Hi,

I'm using Firefox 1.5 on FreeBSD 6.0REL.  The 
flash-plugin for the native mozilla port works 
great.  I haven't used the mplayer-plugin yet.



Best Regards,

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


Re: Default browser

2006-02-06 Thread Duane Whitty

Guido Van Hoecke wrote:

What has to be done to change the default browser from mozilla into e.g. opera 
or firefox (assuming that these are duly installed and operational)?

The handbook talks about different browsers, but I have not been able to find a 
section about changing the default browser.

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



Well, you don't say which window manager you're 
using but for KDE it's K Menu->Settings->KDE 
Components->Component Chooser->Web Browser


Hope this helps,

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


Re: FreeBSD 6 on DVD

2006-02-10 Thread Duane Whitty

Chris wrote:

Anyone have a mirror that supports at least a torrent for 6.0 on DVD?
I hate the ISO's with all that damned swithing of the CD's.

Better yet, doe anyone know the layout used to create the DVD?



Hi,

I haven't yet tried this myself but nevertheless 
thought you might find it interesting.  The 
following article(s) seem to detail how one would 
go about laying out an installation disk set.


http://www.freebsd.org/doc/en_US.ISO8859-1/articles/releng/release-build.html
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/releng-packages/article.html




It's probably not as straight forward as it sounds 
but I'm going to give a try for making a dvd for 
an x86 system.  I'll post to the list re this 
subject heading with my progress.


Hope this helps,

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


Re: I can't mount my USB thumb drive or ipod -- no /dev/da*

2006-02-11 Thread Duane Whitty

Erin Sharmahd wrote:

I'm a bit of a newbie, but I've done a good bit of research, and some
asking around on this issue, and haven't been able to resolve it yet. 
I'm using FreeBSD 6.0 RELEASE with the GENERIC kernel.  (from what i

can tell, it has all of the necessary pieces to allow usb drives).

When I plug my ipod into my computer, dmesg gets the following addition:
umass0: Apple iPod mini, rev 2.00/0.01, addr 2

However, that's all that appears there relative to it.  From google, I
found that plugging in an ipod or a usb thumb drive should add a
/dev/da0 (or similar) entry to /dev, which you should mount.  I still
don't have a /dev/da*, and I actually checked, and nothing is getting
added to /dev when I plug the ipod in.

I thought that perhaps this was a problem related to support for the
ipod, but I have the exact same problem whenever I try to mount a usb
thumb drive.  Nothing new appears in /dev, and dmesg simply gives one
line explaining that umass0 sees the item.  A TA's thumb drive had the
same problem.

The ipod is FAT32, and has been used in linux many times.  The thumb
drive is currently ext3, but I'd like to reformat it to FAT32 once I
can get FreeBSD to recognize it.

Here's the info I can find about the ipod:
from dmesg:
umass0: Apple iPod mini, rev 2.00/0.01, addr 2
from usbdevs -d:
addr 1: EHCI root hub, Intel
  uhub4
 addr 2: iPod mini, Apple
   umass0

And the info from my usb thumb drive:
from dmesg:
umass0: PNY Attache 2.0, rev 2.00/2.00, addr 2
from usbdevs -d:
addr 1: EHCI root hub, Intel
  uhub4
 addr 2: Attache 2.0, PNY
   umass0

Lines that I think are important from the kernel config:
# USB support
deviceuhci# UHCI PCI->USB interface
deviceohci# OHCI PCI->USB interface
deviceehci# EHCI PCI->USB interface (USB 2.0)
deviceusb   # USB Bus (required)
#device   udbp# USB Double Bulk Pipe devices
deviceugen# Generic
deviceuhid# "Human Interface Devices"
deviceumass   # Disks/Mass storage - Requires scbus and da

# SCSI peripherals
devicescbus   # SCSI bus (required for SCSI)
devicech# SCSI media changers
deviceda# Direct Access (disks)

If there's any further information that would help, please let me
know.  These are the things I've found mentioned on google...

Thanks,
~Erin

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




Hi,

I believe you need this entry in you kernel config 
file


device  pass

Then you need to rebuild and install your kernel 
with this new option.  See the FreeBSD Handbook 
for details on how to do that.  Here is the URI.


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

Hope this helps,

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


Re: Samba Problem

2006-02-11 Thread Duane Whitty

Warren Liddell wrote:
When i try logging onto the FreeBSD machine from windows via samba, upon 
entering the username/pswd windows Automatically adds: fred/shinjii


All i want it to have is just shinjii .. what am i missing and where do i go 
to fix this ?

___

Hi,

It might help if you could send a copy of your 
samba configuration file, usually it is located at 
/usr/local/etc/smb.conf


This is where I would start looking for problems. 
 Also read the smb.conf.default file as it gives 
good examples as a starting point.


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


Re: Samba Problem

2006-02-11 Thread Duane Whitty

Warren Liddell wrote:
When i try logging onto the FreeBSD machine from windows via samba, upon 
entering the username/pswd windows Automatically adds: fred/shinjii


All i want it to have is just shinjii .. what am i missing and where do i go 
to fix this ?

___

Hi,

Sorry, as well I meant to ask which version of 
MS-Windows are you running and what version of SAMBA.


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


Re: MBR blown away

2006-02-11 Thread Duane Whitty

Jerry McAllister wrote:

I need help.

I added a slice to a single hard drive dual-boot (windows) system and now
I guess that scrambled my MBR.  I get three options from the FreeBSD (5.4)
boot manager:

1. DOS
2. FreeBSD
3. FreeBSD

I can boot to FreeBSD (the new slice is fine) by choosing option 3 but the
windows/dos option is fried.


The MBR itself looks OK.   According to that piece of menu you posted, you 
just added another bootable slice.  So, there are now two bootable FreeBSD 
slices and one bootable Microsloth slice.   


Are you saying that the MS slice will no longer boot if you select '1' from
the menu?If that is the case, it is not the MBR that was messed up.  
It is something in the MS slice - probably their boot sector.   I don't even 
pretend to know how MS sets up theirs if it is any different from FreeBSD.


But, the MBR is doing what it is supposed to do.  It discovers all the
bootable slices and makes a menu and transfers control to the selected
slice.  What happens after that is not the problem of the MBR.

That may be bad news, I suppose.  It might be easier to fix the MBR
than the MS slice boot code if it is actually messed up.

It might be as simple as you managed to mark the MS slice as not bootable
in some way, but in that case, I wouldn't expect the MBR to be able to
see that slice and put it in the menu as bootable.

Did you use some utility to shrink the original two slices to fit in
the new one?  Or was there already unused space (previously unallocated)
that you were using?Maybe the utility you used to shrink the other
slices messed something up.You might need to go back to it and
check it out.

Was the MS slice an NTFS type file system?   Many of the free utilities
for resizing slices do not work properly on NTFS systems.   So, it is 
possible, in that case, that the MS slice was not shrunk properly and

so it got trashed at that stage.

Just some thing to consider.
Good luck,

jerry


My current strategy is to use boot0cfg:

# boot0cfg -B

But I'm a little squeemish.  I don't want to be locked out of FreeBSD (I
barely use Windows but I still would like it back for Visio).  Any
guidance?


As per my comments above, I don't think rewriting the MBR will help any.
/jrm

--
Peter

Hi,

Just out of curiosity, did you try using 
sysinstall again to take a look at things?  Maybe 
you can mark your Windows partition bootable?


Trying this might at least tell you whether your 
Windows slice is "fried" or not.


I know I seem to have some sort of trouble along 
these lines every time I do a fresh install 
because I'm always trying to run so many different 
systems on one machine.  Windows just doesn't play 
nice.  But so far I have always been able to get 
things straightened out.


--Duane


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


Re: Samba Problem

2006-02-11 Thread Duane Whitty

Warren Liddell wrote:

On Saturday 11 February 2006 12:33, Duane Whitty wrote:

Warren Liddell wrote:

When i try logging onto the FreeBSD machine from windows via samba, upon
entering the username/pswd windows Automatically adds: fred/shinjii

All i want it to have is just shinjii .. what am i missing and where do i
go to fix this ?

-

Hi,

It might help if you could send a copy of your
samba configuration file, usually it is located at
/usr/local/etc/smb.conf

This is where I would start looking for problems.
  Also read the smb.conf.default file as it gives
good examples as a starting point.


Attached is conf file




#=== Global Settings =
[global]

# workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
   workgroup = WORKGROUP

# server string is the equivalent of the NT Description field
   server string = Samba Server

# Security mode. Defines in which mode Samba will operate. Possible 
# values are share, user, server, domain and ads. Most people will want 
# user level security. See the Samba-HOWTO-Collection for details.

   security = user

# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the "loopback" interface. For more examples of the syntax see
# the smb.conf man page
;   hosts allow = 192.168.1. 192.168.2. 127.

# If you want to automatically load your printer list rather
# than setting them up individually then you'll need this
   ;load printers = yes

# you may wish to override the location of the printcap file
;   printcap name = /etc/printcap

# on SystemV system setting printcap name to lpstat should allow
# you to automatically obtain a printer list from the SystemV spool
# system
;   printcap name = lpstat

# It should not be necessary to specify the print system type unless
# it is non-standard. Currently supported print systems include:
# bsd, cups, sysv, plp, lprng, aix, hpux, qnx
;   printing = cups

# Uncomment this if you want a guest account, you must add this to /etc/passwd
# otherwise the user "nobody" is used
;  guest account = pcguest

# this tells Samba to use a separate log file for each machine
# that connects
   log file = /var/log/samba/log.%m

# Put a capping on the size of the log files (in Kb).
   max log size = 50

# Use password server option only with security = server
# The argument list may include:
#   password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
# or to auto-locate the domain controller/s
#   password server = *
#   password server = 

# Use the realm option only with security = ads
# Specifies the Active Directory realm the host is part of
;   realm = MY_REALM

# Backend to store user information in. New installations should 
# use either tdbsam or ldapsam. smbpasswd is available for backwards 
# compatibility. tdbsam requires no further configuration.

#   passdb backend = tdbsam

# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting.
# Note: Consider carefully the location in the configuration file of
#   this line.  The included file is read at that point.
;   include = /usr/local/etc/smb.conf.%m

# Most people will find that this option gives better performance.
# See the chapter 'Samba performance issues' in the Samba HOWTO Collection
# and the manual pages for details.
# You may want to add the following on a Linux system:
# SO_RCVBUF=8192 SO_SNDBUF=8192
   socket options = TCP_NODELAY

# Configure Samba to use multiple interfaces
# If you have multiple network interfaces then you must list them
# here. See the man page for details.
;   interfaces = 192.168.12.2/24 192.168.13.2/24 


# Browser Control Options:
# set local master to no if you don't want Samba to become a master
# browser on your network. Otherwise the normal election rules apply
;   local master = no

# OS Level determines the precedence of this server in master browser
# elections. The default value should be reasonable
;   os level = 33

# Domain Master specifies Samba to be the Domain Master Browser. This
# allows Samba to collate browse lists between subnets. Don't use this
# if you already have a Windows NT domain controller doing this job
;   domain master = yes 


# Preferred Master causes Samba to force a local browser election on startup
# and gives it a slightly higher chance of winning the election
;   preferred master = yes

# Enable this if you want Samba to be a domain logon server for 
# Windows95 workstations. 
;   domain logons = yes


# if you enable domain logons then you may want a per-machine or
# per user logon script
# run a specific logon batch file per workstation (machin

Re: Flash Plugin for Firefox

2006-02-13 Thread Duane Whitty

Chris Maness wrote:
What do I use for a flash plugin for Firefox?  The auto plugin installer 
do-dad choked (I guess it was expecting linux)


Thanks
Chris Maness

___

This is what I am using from ports
flashplugin-mozilla-0.4.13

Mozilla/5.0 (X11; U; FreeBSD i386; en-US; 
rv:1.8.0.1) Gecko/20060204 Firefox/1.5.0.1


Shockwave Flash

File name: libnpflash.so
Flash Movie player Version 0.4.12 compatible 
with Shockwave Flash 4.0


Shockwave is a trademark of Macromedia®

GPLFLash homepage : gplflash.sf.net

YMMV,

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


Re: Every 12-hrs -- "ad0: TIMEOUT - WRITE DMA"

2006-02-17 Thread Duane Whitty

Fabian Keil wrote:

"V.I.Victor" <[EMAIL PROTECTED]> wrote:


For the last 4-days, our (otherwise OK) 5.4-RELEASE machine has been
reporting:

Feb 12 12:08:05 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=2701279
Feb 13 00:08:51 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=2701279
Feb 13 12:09:38 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=2963331
Feb 14 00:10:24 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=2705947
Feb 14 12:11:09 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=2706335
Feb 15 00:12:02 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=2832383
Feb 15 12:12:57 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=139839
Feb 16 00:13:50 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=131391
Feb 16 12:14:36 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=131391

The system was created Jan 08 and, prior to the above, the ad0: timeout had
only been reported twice:

Jan 25 11:43:34 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) 
LBA=17920255
Feb 6 11:59:42 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=2832383



Hi,

I hate sending out a "me too" message but yet here 
we are.


It's not a production machine so I was going to 
let it run its course.  The messages stopped 
appearing after a couple of days.


I reviewed my logs and couldn't find anything more 
revealing and my system appeared to be functioning 
well.


Likely unrelated but my new activities at the time 
were experimenting with some new SAMBA shares and 
setting-up the CAM driver.  There is likely no 
correlation but I thought I'd mention it.



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


Re: problem regarding setting DISPLAY env variable and hostname

2006-02-22 Thread Duane Whitty

Rob wrote:

On Wed, 22 Feb 2006 20:27:20 +0200
Giorgos Keramidas <[EMAIL PROTECTED]> wrote:


On 2006-02-22 10:17, Rob <[EMAIL PROTECTED]> wrote:

I have been trying to figure out how to set the display name on my
computer.  I have a program used with Xorg that gives me the error
message:

_X11TransSocketINETConnect() can't get address for xenon:6000: hostname nor 
servname provided, or not known
Error: Can't open display: xenon:0.0

also when starting or stopping Xorg I either get:

bad display name "xenon:0" in "remove" commandor
bad display name "xenon:0  in "list" command

Your laptop can't resolve the name "xenon".


I have my XDISPLAY env variable set using (in Bash):

DISPLAY=xenon:0.0 export DISPLAY

xenon is the name of the machine

I think part of the problem is the setting of the hostname.  This laptop
runs off of DHCP and I am not really sure about what I should do for
setting the hostname.  The manual says to set HOSTNAME="" in rc.conf if
using DHCP, but then I get the amnesiac message upon boot.  Sendmail
doesn't like that either and hangs during the boot process.  So I just
set it arbitrarily to "xenon"

Note that the capitalization of rc.conf variables is *significant*.  The
real rc.conf variable that you have to set to avoid the "Amnesiac" name is:

hostname="xenon"


I have read manual pages, searched the archives, but I am really confused
about all of this.  Thank you for any help.

All this can be resolved by using `/etc/hosts'.  Just add your hostname
there and point it to the 127.0.0.1 address.  Then all programs should be
able to resolve it.




Thanks Giorgios,

I think that I have the hostname problem resolved.  rc.conf has 
hostname="xenon"  and
/etc/hosts has:  127.0.0.1 localhost  xenon

So now Xorg does not give errors on startup or shutdown like the 

bad display name "xenon:0" in "remove" commandor
bad display name "xenon:0  in "list" command


But when not setting the DISPLAY variable explicitely anywhere I still get the 
error:
"out of display lists" upon starting the program I want from xterm

But then setting DISPLAY=xenon:0.0 export DISPLAY and then executing the 
program then gives the error:

"Can't open display: xenon:0.0"   so I guess I am back to square one.

Maybe I should call it a day and rest, haha.

Thanks,

Rob





Hi,

Sorry if you get this twice Rob as I mistakenly 
sent my reply only to you without including the list


I had the same problem.  Add this line to your 
.xinitrc file


xdpyinfo -display :0.0

The hostname is not specified.

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


Re: trouble finding burner (k3b)

2006-02-22 Thread Duane Whitty

Peter wrote:

This k3b program is great but it I find it very picky.  Currently it
cannot detect my DVD/CD burner (/dev/acd1) anymore.  It can find my CDROM
(/dev/acd0) allright but it claims the permissions may be wrong on the
burner.  I checked and these devices have the same permissions.  I even
gave them both 777 without success in detection.  They are also both owned
by root:operator and my invoking user is in group operator.  This used to
work great.  I haven't tried to burn anything recently so I don't know
when things fell apart but what I can say is yesterday I recompiled my
kernel.  I used the same config file with one line being added (for USB
2.0 support; ehci).  Anyone have any ideas?  I'm running 5.4 although
today I was surprised that dmesg showed this:

FreeBSD 5.5-PRERELEASE #1: Tue Feb 21 15:23:16 EST 2006

Is this normal?

p.s. I can mount the DVD drive and read its media.

--
Peter






__ 
Find your next car at http://autos.yahoo.ca

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




Hi,

I have a similar problem in that k3b cannot find 
my DVD/CD burner.  However I haven't received any 
messages about permissions.


On a hunch I started X as root and k3b was then 
able to find my hardware.  This doesn't really 
solve the problem but it was a quick work-around 
for me until I figure this out.


Note: I too changed permissions to 666 on 
/dev/acd0 and /dev/cd0 to no avail.


Maybe someone with more experience could jump in here?

hth,

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


Re: portupgrading only certain ports

2006-02-22 Thread Duane Whitty

Peter wrote:

--- "Steve P." <[EMAIL PROTECTED]> wrote:


I am trying to avoid upgrading two ports: kde and X.

What are the command line options to portupgrade to accomplish this?

For instance, I tried this and it failed:
#portupgrade -a -x 'kde*' -x 'x*'

Where am I going wrong?

I've read the pertinent handbook ports section, and did man portupgrade,
but still I can not get it to work. Maybe it has something to do with
pkg_glob, I don't know. 


I never tried this feature but from the man page it seems you do not need
the single quotes.  You probably can also just type the package names
(with no glob characters) with or without version numbers.



Hi,

portupgrade -a upgrades all installed ports.  Try 
portupgrade -rR -x 'kde*' -x 'x*' *


Maybe use the -n option with the above to see what 
would happen without doing anything.


With a regex maybe this would work

portupgrade -rRx :[kde|x]  or something along 
these lines.  -n is a good safety valve I think


hth,

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


Re: trouble finding burner (k3b)

2006-02-23 Thread Duane Whitty

Fabian Keil wrote:

Duane Whitty <[EMAIL PROTECTED]> wrote:


Peter wrote:

This k3b program is great but it I find it very picky.  Currently it
cannot detect my DVD/CD burner (/dev/acd1) anymore.  It can find my CDROM
(/dev/acd0) allright but it claims the permissions may be wrong on the
burner.  I checked and these devices have the same permissions.  I even
gave them both 777 without success in detection.  They are also both owned
by root:operator and my invoking user is in group operator.  This used to
work great.  I haven't tried to burn anything recently so I don't know
when things fell apart but what I can say is yesterday I recompiled my
kernel.  I used the same config file with one line being added (for USB
2.0 support; ehci).  Anyone have any ideas?  I'm running 5.4 although
today I was surprised that dmesg showed this:


I have a similar problem in that k3b cannot find 
my DVD/CD burner.  However I haven't received any 
messages about permissions.


On a hunch I started X as root and k3b was then 
able to find my hardware.  This doesn't really 
solve the problem but it was a quick work-around 
for me until I figure this out.


Note: I too changed permissions to 666 on 
/dev/acd0 and /dev/cd0 to no avail.


The user needs to have access to /dev/xpt0 and /dev/pass0 as well.  


Fabian


Hi,

Thank you, this works perfectly.

Best wishes,

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


Re: Looking for a mentor on php/mysql

2006-02-23 Thread Duane Whitty

Robert Uzzi wrote:

I am trying to teach my self php/mysql/html programming.
I have done native static html web sites before.
Running FreeBSD 6.0 with apache13, php, and mysql all installed and
working.

Have read a few php books and searched the web for code snippets.
Have been on some of the php forum sites, but responses are not forth
coming.

Looking for a mentor to guide me with puting all the pieces together.
I have a working panel for registering a user that writes to a flat
text file.
Need guidance in changing this to use mysql. Would email you direct
outside of the questions list.





While I don't consider myself knowledgable enough to help you with php I
have found this site helpful when I am looking for code ideas.
http://www.tutorialized.com/tutorials/PHP/1



Hi,

I'm not experienced enough in PHP to be a mentor 
in it but from one beginner to another maybe this 
will be useful.


Here is a link to a resource I used to get myself 
up-and-running with PHP. 
http://www.hudzilla.org/phpbook/index.php


I wrote the attached code when I playing around 
with the example from the MySQL manual.  It's just 
play code bu maybe it can point you to the name of 
functions (methods) to investigate.


Hth,

--Duane

Accessing a MySQL Database Using PHP

   Starting PHP script
   '; ?> host_info); echo '
   '; printf("Server info: %s\n", $mysqli->server_info); echo '
   '; $query = "SELECT CURRENT_USER();"; $query .= "SELECT name FROM
   pet"; /* execute multi query */ if ($mysqli->multi_query($query)) { do
   { /* store first result set */ if ($result = $mysqli->store_result())
   { while ($row = $result->fetch_row()) { printf("%s
   ", $row[0]); } $result->close(); } /* print divider */ if
   ($mysqli->more_results()) { printf("-
   "); } } while ($mysqli->next_result()); } /* close connection */
   $mysqli->close(); ?>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

htdig Archive Access Failure

2006-02-24 Thread Duane Whitty

Hi,

When searching the FreeBSD mailing lists archives,
irrespective of which list I am searching, I
receive an error if I try to access a second or
subsequent page.  Does anyone else experience this?

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


Re: htdig Archive Access Failure

2006-02-24 Thread Duane Whitty

Micah wrote:

Duane Whitty wrote:

Hi,

When searching the FreeBSD mailing lists archives,
irrespective of which list I am searching, I
receive an error if I try to access a second or
subsequent page.  Does anyone else experience this?

--Duane


Yes, makes that search interface rather useless.

I asked [EMAIL PROTECTED] about this and here is the response I got 
about the problem:

Sorry; this sort of thing happens, and I don't know how to fix it.

In he mean time,
<http://www.freebsd.org/search/search.html#mailinglists> is another
way to search the archives -- one that pre-dates the use of Mailman at
FreeBSD.org.

 -- [EMAIL PROTECTED]"



Later,
Micah




Hi,

Thanks, this works great.  Just what I was looking
for

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


device atapicam not enabled in GENERIC kernel for FreeBSD 6.0-RELEASE

2006-03-04 Thread Duane Whitty
Hi,

Just wondering if anyone has any 
information/opinion as to why
device atapicam is not enabled by 
default in the GENERIC kernel.

Does this apply to releases other than 
6?

Thanks in advance,

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


Re: device atapicam not enabled in GENERIC kernel for FreeBSD 6.0-RELEASE

2006-03-05 Thread Duane Whitty
On Saturday 04 March 2006 17:30, Kris 
Kennaway wrote:
> On Sat, Mar 04, 2006 at 05:26:37PM 
-0400, Duane Whitty wrote:
> > Hi,
> >
> > Just wondering if anyone has any
> > information/opinion as to why
> > device atapicam is not enabled by
> > default in the GENERIC kernel.
>
> It's not an appropriate default,
> since it modifies the way the ata
> subsystem works in ways the
> maintainer does not wish to support,

Sorry, but do you mean the ata subsystem 
maintainer or the atapicam maintainer?

> and often contains bugs.
>
> Kris

Hi,

Thanks Kris.

Is atapicam part of the base?  I was 
under the impression it implements an 
abstracted SCSI interface over the ata 
device subsystem but maybe I'm not 
adequately understanding what's really 
happening.

Just an observation but it seems as 
though there is a great deal of use 
being made of the atapicam subsystem.  
I noticed for instance that in addition 
to /dev/cd0 that /dev/pass0 
and /dev/da0 also did not show up until 
I rebuilt with atapicam or did I just 
miss them?

Unless I'm wrong doesn't this mean that 
usb drives and those types of devices 
need the atapicam subsystem?

Thanks for your patience and help.

Best regards,

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


Re: device atapicam not enabled in GENERIC kernel for FreeBSD 6.0-RELEASE

2006-03-05 Thread Duane Whitty
On Sunday 05 March 2006 17:31, Kris 
Kennaway wrote:
> On Sun, Mar 05, 2006 at 05:12:36PM 
-0400, Duane Whitty wrote:
> > On Saturday 04 March 2006 17:30,
> > Kris
> >
> > Kennaway wrote:
> > > On Sat, Mar 04, 2006 at
> > > 05:26:37PM
> >
> > -0400, Duane Whitty wrote:
> > > > Hi,
> > > >
> > > > Just wondering if anyone has
> > > > any information/opinion as to
> > > > why device atapicam is not
> > > > enabled by default in the
> > > > GENERIC kernel.
> > >
> > > It's not an appropriate default,
> > > since it modifies the way the ata
> > > subsystem works in ways the
> > > maintainer does not wish to
> > > support,
> >
> > Sorry, but do you mean the ata
> > subsystem maintainer or the
> > atapicam maintainer?
>
> The former.
>
> > Is atapicam part of the base?
>
> Yes.
>
> >  I was
> > under the impression it implements
> > an abstracted SCSI interface over
> > the ata device subsystem but maybe
> > I'm not adequately understanding
> > what's really happening.
>
> As the name suggests, it provides a
> CAM front-end to the devices, which
> is the same front-end used by the
> SCSI devices, so tools that expect to
> use CAM can work on the ATA devices
> too.
>
Ah, ok -- CAM -- common access method.  
I'm getting this

> > Just an observation but it seems as
> > though there is a great deal of use
> > being made of the atapicam
> > subsystem. I noticed for instance
> > that in addition to /dev/cd0 that
> > /dev/pass0 and /dev/da0 also did
> > not show up until I rebuilt with
> > atapicam or did I just miss them?
>
> The equivalent devices have different
> names under atapicam than ata, but
> why do you think they are necessary?
>
because I misunderstood what umass 
needed and I inappropriately 
generalized on the basis of one port 
(k3b)

> > Unless I'm wrong doesn't this mean
> > that usb drives and those types of
> > devices need the atapicam
> > subsystem?
>
> I suspect you're wrong.
>
> Kris
>
Hi,

Thanks Kris.  Your suspicions were 
correct.  I was wrong.  I re-read the 
man pages for da, pass, and umass, and 
nowhere did it say I needed atapicam.  
So thanks for pointing me in the right 
direction.

I rebooted with the GENERIC kernel, 
plugged in my usb memory device, and 
everything worked great.

The k3b port required this and I suppose 
I generalized when I should not have.

Again, much thanks.

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


Re: reconfiguring a port

2006-03-05 Thread Duane Whitty
On Monday 06 March 2006 00:53, Andrew 
Spott wrote:
> i accidentally configured a port
> incorrectly, how do I get the
> configure dialog box back up?
>
> -Andrew
> _
>__
> freebsd-questions@freebsd.org mailing
> list
> http://lists.freebsd.org/mailman/list
>info/freebsd-questions To unsubscribe,
> send any mail to
> "[EMAIL PROTECTED]
>d.org"
Hi,

cd to the directory of the port in 
question

type make config 
or 
make config-recursive
which will bring up the config options 
for the dependencies as well.

Hope this helps,

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


Re: Flash Player

2006-03-06 Thread Duane Whitty
On Monday 06 March 2006 15:13, Rem P 
Roberti wrote:
> I'm using Firefox with FreeBSD 5.4,
> and I would like to have Flash Player
> installed, but have no idea as to
> which of the available versions will
> work, if any.  Can someone give me a
> heads up here.
>
> Thanks in advance.
>
> Rem
> _
>
Hi,

Well /usr/ports/www/linux-flashplugin6 
with /usr/ports/www/linuxpluginwrapper 
seem to be working great for me under 
6.0-RELEASE and I would think it 
probably works under 5.4.  I use it 
with Firefox 1.5.0.1 and with Konqueror 
3.5.1 (KDE 3.5.1)

Hope this helps,

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


Re: no cd* devices appear in /dev [was Re: device atapicam not enabled in GENERIC kernel for FreeBSD 6.0-RELEASE]

2006-03-06 Thread Duane Whitty
> On Monday March 6 2006 16:09
> David J Brooks <[EMAIL PROTECTED]> 
>wrote
>
> This reminds me to ask: I have
> ATAPICAM enable in my kernal,
> specifically so that k3b can find my
> dvd+rw ... but no cd* devives appear
> in /dev, and k3b cannot find anything
> no matter where I tell it to look ..
> I must be overlooking something, but
> what?

Hi,

look at man 4 atapicam.  The examples 
section lists the other devices you 
need configured in the kernel.

Hope this helps,

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


Re: Flash Player

2006-03-06 Thread Duane Whitty
On Tuesday 07 March 2006 01:42, Chris 
Maness wrote:
> Duane Whitty wrote:
> > On Monday 06 March 2006 15:13, Rem
> > P
> >
> > Roberti wrote:
> >> I'm using Firefox with FreeBSD
> >> 5.4, and I would like to have
> >> Flash Player installed, but have
> >> no idea as to which of the
> >> available versions will work, if
> >> any.  Can someone give me a heads
> >> up here.
> >>
> >> Thanks in advance.
> >>
> >> Rem
> >> __
> >>___
> >
> > Hi,
> >
> > Well
> > /usr/ports/www/linux-flashplugin6
> > with
> > /usr/ports/www/linuxpluginwrapper
> > seem to be working great for me
> > under 6.0-RELEASE and I would think
> > it probably works under 5.4.  I use
> > it with Firefox 1.5.0.1 and with
> > Konqueror 3.5.1 (KDE 3.5.1)
> >
> > Hope this helps,
> >
> > --Duane
> > ___
> >
> > freebsd-questions@freebsd.org
> > mailing list
> > http://lists.freebsd.org/mailman/li
> >stinfo/freebsd-questions To
> > unsubscribe, send any mail to
> > "[EMAIL PROTECTED]
> >bsd.org"
>
> I installed these ports.  Is there
> anything I need to do to the browser
> to get it to recognize them, because
> flash is still not working.

Sorry, I forgot to mention that for 
firefox you want to make a symbolic 
link from

 /usr/X11R6/lib/linux-flashplugin6/libflashplayer.so

to

/usr/X11R6/lib/firefox/plugins/libflashplayer.so

and from

/usr/X11R6/lib/linux-flashplugin6/flashplayer.xpt

to

/usr/X11R6/lib/firefox/plugins/libflashplayer.so

(Shamelessly copied from a previous 
post :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


system crashed - vmcore dump file format not recognized (Long message)

2006-03-13 Thread Duane Whitty

Hello,

My system recently crashed and I am looking forward to analyzing the cause.
Towards that end I could use some pointers.  If someone could point me on my
way I'd really appreciate it.

When I try to use gdb to "look" at the core dump I receive an error 
message (see below for details)
and as it is not an executable file at can not get the symbols with nm 
either.

Should I be trying something different?

Feel free to give as much or as little feedback as you like -- it will 
all be appreciated.
Also, since this is not a production machine (and not operating in a 
controlled environment -- temp, power, etc.),
I am at least as interested in what the solution process is as I am in 
the actual solution. 



Thanks in advance,

--Duane
--

dwpc@ /var/crash# uname -a
FreeBSD dwpc.dwlabs.ca 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Mon Mar  6 
19:42:43 AST 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/DWPC-200603061749  i386


hw.machine: i386
hw.model: Intel(R) Celeron(R) CPU 2.40GHz
hw.ncpu: 1
hw.byteorder: 1234
hw.physmem: 526295040
hw.usermem: 438693888
hw.pagesize: 4096
hw.floatingpoint: 1
hw.machine_arch: i386
hw.realmem: 535232512

Mar 13 03:48:28 dwpc savecore: reboot after panic: 
kmem_malloc(168730624): kmem_map too small: 4

0849408 total allocated

vm.kmem_size: 172216320
vm.kmem_size_max: 335544320
vm.kmem_size_scale: 3

dwpc@ /var/log# sysctl kern.maxusers
kern.maxusers: 250

dwpc@ /var/log# sysctl kern.maxvnodes
kern.maxvnodes: 35554

dwpc@ /var/log# sysctl vfs.numvnodes
vfs.numvnodes: 5008

dwpc@ /var/crash# file vmcore.2
vmcore.2: ELF 32-bit LSB core file Intel 80386, invalid version (embedded)

dwpc@ /var/crash# gdb -c vmcore.2
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.

Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd".

warning: "/var/crash/vmcore.2": no core file handler recognizes format, 
using default

Can't fetch registers from this type of core file
Can't fetch registers from this type of core file
#0  0x in ?? ()
(gdb)

dwpc@ /home/duane/kernel# cat DWPC-200603061749
#
# Added device atapicam
# removed cpu identifiers other than I686_CPU
#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html

#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.429.2.3.2.1 2005/10/28 
19:22:41 jhb Exp $


machine i386
cpu I686_CPU
ident   DWPC-200603061749

# 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 NFSCLIENT   # Network Filesystem Client
options NFSSERVER   # Network Filesystem Server
options NFS_ROOT# NFS usable as /, requires 
NFSCLIENT

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 Fr

Re: Ports upgrade policy

2006-03-14 Thread Duane Whitty

Mike Loiterman wrote:

This is my supfile:

*default  host=cvsup1.FreeBSD.org
*default  base=/usr
*default  prefix=/usr
*default  release=cvs
*default  tag=RELENG_6_0
*default  delete use-rel-suffix

src-all

*default tag=.
ports-all
doc-all

I have been using it like this for years, obviously changing to the latest
release tag.  I haven't had problem and I'm not having problems, but my
question is this:

Is it advisable to sync my source to RELEASE, but to CURRENT for ports?
Typically, I upgade my ports a few days after they get updated so I'm always
running the latest version, but would it be better to sync both ports and
source to RELEASE?
  

Hi Mike,

It would be nice I guess if ports were tagged like src but they are not.
Basically HEAD is all there is vis-a-vis tags.  You can specify a
specific date however.

Duane

Obviously, it depends, somewhat, on personal choice, but in terms of
stablity and "correctness" which is better?

--
Mike Loiterman
grantADLER
Tel: 630-302-4944
Fax: 773-442-0992
Email: [EMAIL PROTECTED]
PGP Key: 0xD1B9D18E

___
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: Thunderbird + Mozilla Suite

2006-03-14 Thread Duane Whitty

Andrey V. Semyonov wrote:
Is it possible and what docs do describe setting a mozilla-bin from 
Mozilla Suite as URL-browser in Thunderbird?


Mozilla Suite and Thunderbird are installed from ports.
___

Hi Andrey,

Yes it is possible.  The first step is to check if the
proper configuration entry is present.

In Thunderbird, from the menu bar, choose
Edit, Preferences, Advanced, Config Editor.
In the filter bar, type
network.protocol-handler
Check the entries under Preference Name for
network.protocol-handler.app.http
If it is there right click on it and choose modify
Now enter the path to the file which launches the browser
you want to use.  For a mozilla related program it is probably
under /usr/X11R6/bin/

For example, the Mozilla Firefox  launcher is
found at /usr/X11R6/bin/firefox

(sorry, I'm running firefox right now so I can not say
with absolute certainty where the mozilla-suite binary
is located)

If you did not find an entry named
network.protocol-handler.app.http then
right click on any entry under Preference Name.
Choose New, String.
When you are prompted for the new string type
network.protocol-handler.app.http
When you are prompted for the new value enter the path
of the mozilla web browser launcher.

Follow the same procedures as above to enable support for https.
Everywhere you typed http above type https instead.

I hope this helps.

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


Re: Thunderbird + Mozilla Suite

2006-03-15 Thread Duane Whitty

Andrey V. Semyonov wrote:

Duane Whitty wrote:

If you did not find an entry named
network.protocol-handler.app.http then
right click on any entry under Preference Name.
Choose New, String.
When you are prompted for the new string type
network.protocol-handler.app.http
When you are prompted for the new value enter the path
of the mozilla web browser launcher.

Follow the same procedures as above to enable support for https.
Everywhere you typed http above type https instead.

I hope this helps.



Strange things... When launched from xterm (or directly from my WM's 
button) /usr/X11R6/bin/mozilla starts mozilla binary normally.


But after such a reconfiguration of TB when I try to open any link in 
TB it prints "/usr/X11R6/bin/mozilla: Cannot find mozilla binary 
executable. Exiting." into terminal from X is launched.

___
I am not sure why it is doing that.  Please, do not take offense but 
have you checked

to make sure you did not make any typographical mistakes.
Another point to consider is that /usr/X11R6/bin/mozilla is probably not 
the actual mozilla
binary but rather a shell script to start the browser.  Maybe you can 
find out what the actual
binary is called.  It is probably similar to mozilla-bin, moz-bin, etc.  
Actually it will be mentioned

in the script but beware though that calling it directly may not work.

(Aside:  I thought the mozilla-suite built in email program was 
essentially thunderbird?

I hope I was correct when I assumed you were using mozilla and not firefox?)

As I don't have mozilla installed I am not sure how much more useful I 
can be to you, sorry.

Maybe someone from the list with mozilla and thunderbird installed can help?

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


Re: Thunderbird + Mozilla Suite

2006-03-15 Thread Duane Whitty

Chris Whitehouse wrote:

Duane Whitty wrote:

Andrey V. Semyonov wrote:

Is it possible and what docs do describe setting a mozilla-bin from 
Mozilla Suite as URL-browser in Thunderbird?


Mozilla Suite and Thunderbird are installed from ports.
___


Hi Andrey,

Yes it is possible.  The first step is to check if the
proper configuration entry is present.

In Thunderbird, from the menu bar, choose
Edit, Preferences, Advanced, Config Editor.


What version of Thunderbird do you have? I have 1.0.7 and I don't have 
a Config Editor. I would really like to implement this.


Thanks

Chris
___

I have Mozilla Thunderbird version 1.5 (20060309)

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


Re: Thunderbird + Mozilla Suite

2006-03-16 Thread Duane Whitty

Andrey V. Semyonov wrote:

Duane Whitty wrote:
Strange things... When launched from xterm (or directly from my WM's 
button) /usr/X11R6/bin/mozilla starts mozilla binary normally.


But after such a reconfiguration of TB when I try to open any link 
in TB it prints "/usr/X11R6/bin/mozilla: Cannot find mozilla binary 
executable. Exiting." into terminal from X is launched.

___
I am not sure why it is doing that.  Please, do not take offense but 
have you checked

to make sure you did not make any typographical mistakes.
Another point to consider is that /usr/X11R6/bin/mozilla is probably 
not the actual mozilla
binary but rather a shell script to start the browser.  Maybe you can 
find out what the actual
binary is called.  It is probably similar to mozilla-bin, moz-bin, 
etc.  Actually it will be mentioned

in the script but beware though that calling it directly may not work.
Yes, that's a script. And a strange bug was actually in it. I've 
commented out some checks in it and now it works fine. So, thanks a 
lot for help.


(Aside:  I thought the mozilla-suite built in email program was 
essentially thunderbird?
I hope I was correct when I assumed you were using mozilla and not 
firefox?)


No, Mozilla Suit's mail programm is named 'mozilla-mail'. It's heir by 
some shared code is Thunderbird (that's already explained yesterday). 
Thunderbird's feature of RSS-reading is the most necessary feature 
that caused me to use it (mozilla-mail can't read RSS-feeds). But as I 
understand, Thunderbird is mostly compat-ed to Firefox and some kind 
of moved away from Mozilla Suite project. That's why we have to do 
tricks to make these same-family projects do well together now.

___

Thanks for the follow up and for the clarification regarding 
Mozilla-mail and Thunderbird.


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


resolv.conf getting rewritten at system startup

2006-03-16 Thread Duane Whitty

Hi all,

I am running FBSD 6.0-RELEASE

I use  DHCP to configure my network interface.
At startup my resolv.conf is overwritten, setting my
nameserver to the address of the router running DHCP.

I tried commenting out almost all of the rc.d/resolv
startup script but to no avail.

I read the man page for dhcp-options and then proceeded to add
option domain-name-servers a.b.c.d
This was also of no help.

I then remembered something about FBSD 6 no longer using ISC dhcp client.

I am running BIND 9.3.1 with internal and external views of my namespace 
set-up so
it is imperative that I be able to tell hosts on the internal network 
which name server

to use.

If anyone has any ideas I'd appreciate the help.

Thanks in advance,

Duane

P.S.

Is there a man page for the dhcp client FBSD 6 is using
(what is FBSD 6 using)?

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


Trouble searching mailing list archives

2006-03-16 Thread Duane Whitty

Hi all,

Well, first I was having a problem searching the
archives with the pipermail interface.  So after
some helpful advice from Micah (thanks Micah)
is switched to search.html#mailinglists.  This
worked great for a while but now it appears to
be broken.

Is anyone else having this issue?

Duane

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


Re: resolv.conf getting rewritten at system startup

2006-03-16 Thread Duane Whitty

Beech Rintoul wrote:

On Thursday 16 March 2006 12:29, Duane Whitty wrote:
  

Hi all,

I am running FBSD 6.0-RELEASE

I use  DHCP to configure my network interface.
At startup my resolv.conf is overwritten, setting my
nameserver to the address of the router running DHCP.

I tried commenting out almost all of the rc.d/resolv
startup script but to no avail.

I read the man page for dhcp-options and then proceeded to add
option domain-name-servers a.b.c.d
This was also of no help.

I then remembered something about FBSD 6 no longer using ISC dhcp client.

I am running BIND 9.3.1 with internal and external views of my namespace
set-up so
it is imperative that I be able to tell hosts on the internal network
which name server
to use.

If anyone has any ideas I'd appreciate the help.



You need to use supersede like this:

interface "ath0"   {
supersede domain-name "yourdomain.com";
supersede domain-name-servers 127.0.0.1;
}

See man dhclient.conf for more options.

Beech
  

Hi,

That worked perfectly.  Thanks to all for the quick responses.

Sincerely,

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


man dhclient [was Re: resolv.conf getting rewritten at system startup]

2006-03-16 Thread Duane Whitty

Erik Trulsson wrote:

On Thu, Mar 16, 2006 at 05:29:45PM -0400, Duane Whitty wrote:
  

Hi all,

I am running FBSD 6.0-RELEASE

I use  DHCP to configure my network interface

Thanks in advance,


Duane

P.S.

Is there a man page for the dhcp client FBSD 6 is using
(what is FBSD 6 using)?



'man dhclient' should work fine.
FBSD 6 uses the OpenBSD dhclient (which I believe derive from an older
version of the ISC one.)

  

Hi,

Yes, man dhclient in FBSD 6 does work fine.  I misinterpreted
how to apply its instructions.

Duane

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


Re: Trouble searching mailing list archives

2006-03-16 Thread Duane Whitty

John Murphy wrote:

Micah <[EMAIL PROTECTED]> wrote:

  

you can always use Google with 'site:lists.freebsd.org your key words'



I usually find the interface below most usefullest (sp):
http://groups.google.com/group/mailing.freebsd.questions?hl=en

  

Hi,

Thanks very much.  This is great.  I was having serious
information withdrawl problems :)

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


Re: Trouble searching mailing list archives

2006-03-18 Thread Duane Whitty

fbsd_user wrote:

I use this http://freebsd.rambler.ru/  lags 15 min behind what is
posting to the list


***
The archive at gmane seems quite useful and it's searchable here:
http://search.gmane.org/?query=&email=&group=gmane.os.freebsd.questi
ons&sort=relevance&DEFAULTOP=and&xP=compat5.&xFILTERS=Gos.freebsd.qu
estions---A

It's fast too.  (Sorry about the long URL).

-

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



  

Hi,

Many thanks to everyone.  I now consider myself
well armed for current and future information
searching.  It never hurts to have more than one or
two ways to find something.  It also looks as though
some of this information is applicable to more than
the FreeBSD lists.

Thanks for sharing your techniques and even more
importantly your time.

Sincerely,

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


Re: Portupgrade fails to upgrade after using portsnap

2006-03-18 Thread Duane Whitty

Donald J. O'Neill wrote:

On Saturday 18 March 2006 12:06, Jez Hancock wrote:
  

Hi Donald,

Thanks for the replies.

On 3/18/06, Donald J. O'Neill <[EMAIL PROTECTED]> wrote:


On Saturday 18 March 2006 08:06, Jez Hancock wrote:
  

Hi all,

For a long time I've been using cvsup and portupgrade to update
the ports tree once a week; this has worked well for years now. 
Recently though I changed to using portsnap to update the ports

tree, still using portupgrade once a week to update the ports.  I
followed the method outlined in the handbook more or less for
upgrading using portsnap, essentially running a cronjob:

portsnap cron && portsnap update && portupgrade -arRF &&
pkg_version -v -I -l "<"

to grab and extract the latest port snapshot, fetch any newer
port distfiles/tarballs and then report by mail what ports are
out of date.

This worked well for a few weeks up until Feb 25th - since then
not a single out of date port has been reported and 'portupgrade
-arR' fails to upgrade anything. I thought this might have been
to do with the recent ports freeze, though checking now I see
that only went on from the start of March...

I've changed back to use cvsup and the old method - basically
'cvsup -g -L2 supfile && cd /usr/ports && make fetchindex &&
portsdb -u' - but still no joy.  I was convinced it was the ports
db files that were out of synch and thought this might do the
trick to fix the problem, but unfortunately no - if I view the
resulting INDEX file from this procedure I can see there are
ports out of date as well, it's just 'portupgrade -arR' etc
refuses to find any updates.

Questions then:

What could the problem be?
For future reference what is the best way to purge the ports
system of out of date db files and regenerate them all so
'portupgrade -arRi' will work?

Cheers.
--
Jez Hancock
___


Jez,

I think my first response was a little unkind and I apologize for
that.

The way I see it, your cronjob succeeded in doing what you set it
to do. It just didn't do what you wanted.

First, portsnap requires fetch to get the files it needs, 'portsnap
upgrade' doesn't do that. You need to run 'portsnap fetch upgrade'
or 'portsnap fetch' && ' portsnap upgrade'. Had you done that, it
probably would have worked and you would have gotten something from
the portupgrade portion of your cronjob. As it was, there was
nothing new for portupgrade to work with and report.
  

Ok, I think you posted that before I clarified things in my last post
:)

By the by anyway... the issue I have is that when I run pkg_version
or portversion I'm told there are a dozen or so ports need upgrading.
However when I run portupgrade, portupgrade finds no ports to
upgrade. Very frustrating.

The general gist is in the following typescript/commandline output:

[14:43:05] [EMAIL PROTECTED] /usr/ports#  portversion -vl "<"
bash-3.1.10 <  needs updating (port has 3.1.10_1)
mtr-nox11-0.69_2<  needs updating (port has 0.69_3)
mutt-devel-1.5.11_1 <  needs updating (port has 1.5.11_2)
mysql-server-4.0.26_1   <  needs updating (port has 4.0.26_2)
netpbm-10.26.25 <  needs updating (port has 10.26.26)
nmap-4.01   <  needs updating (port has 4.01_1)
p5-Archive-Tar-1.28 <  needs updating (port has 1.29)
p5-Mail-Tools-1.73  <  needs updating (port has 1.74)
p5-XML-RSS-1.05_1   <  needs updating (port has 1.10)
tiff-3.8.0_1<  needs updating (port has 3.8.1)
vim-6.4.6   <  needs updating (port has 6.4.6_1)
w3m-0.5.1_4 <  needs updating (port has 0.5.1_5)

[14:43:10] [EMAIL PROTECTED] /usr/ports# portupgrade -arRi
--->  Session started at: Sat, 18 Mar 2006 14:43:16 +
-snip-
** No need to upgrade 'bash-3.1.10' (>= bash-3.1.10). (specify -f to
force) -snip-
** No need to upgrade 'mtr-nox11-0.69_2' (>= mtr-nox11-0.69_2).
(specify -f to force)
-snip-
** No need to upgrade 'mutt-devel-1.5.11_1' (>= mutt-devel-1.5.11_1).
(specify -f to force)

etc etc

This is all the result after running 'cd /usr/ports && make
fetchindex' to get the latest ports INDEX db then running 'portsdb
-u' to update /var/db/pkg/pkgdb.db.

Any ideas why portversion says various ports are out of date but
portupgrade doesn't want to update them?  Is there any db that
portupgrade would use to determine out of date ports other than
/var/db/pkg/pkgdb.db?

Thanks again.

--
Jez Hancock
  - System Administrator / PHP Developer

http://munk.nu/
http://freebsd.munk.nu/  - A FreeBSD Diary
http://ipfwstats.sf.net/- ipfw peruser traffic logging
___


Jez,

I have no clue. If portversion is saying there is a port in need of 
upgrade, 'portupgrade -arRi' should find it. That's a portupgrade 
problem, not a portsnap problem. I would suggest trying portmanager and 
see if that works. Both portmanager and portupgrade work for me. There

make.conf syntax

2006-03-20 Thread Duane Whitty

Hello all,

I believe I used the wrong syntax in my make.conf
I used

NO_PROFILE="YES"

Should I have instead used

NO_PROFILE=YES

or

NO_PROFILE=TRUE


Is YES and TRUE and 1 equivalent in this context?

Thanks in advance,

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


Re: make.conf syntax

2006-03-20 Thread Duane Whitty

Duane Whitty wrote:

Hello all,

I believe I used the wrong syntax in my make.conf
I used

NO_PROFILE="YES"

Should I have instead used

NO_PROFILE=YES

or

NO_PROFILE=TRUE


Is YES and TRUE and 1 equivalent in this context?

Thanks in advance,

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





Hi,

Sorry for the noise; I answered my own question.
Yes, my syntax was wrong. NO_PROFILE takes a bool
not a string value.

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


Re: make.conf syntax

2006-03-20 Thread Duane Whitty

Erik Trulsson wrote:

On Mon, Mar 20, 2006 at 07:00:08PM -0400, Duane Whitty wrote:
  

Hello all,

I believe I used the wrong syntax in my make.conf
I used

NO_PROFILE="YES"

Should I have instead used

NO_PROFILE=YES

or

NO_PROFILE=TRUE



It shouldn't matter.

  

Is YES and TRUE and 1 equivalent in this context?



Yes, and they are also equivalent to NO or FALSE.
The makefiles only check if NO_PROFILE is defined, not what it is 
defined as.

This is true for many other makefile variables as well.


  

Thanks,

I've been reading make.conf(5) and so I now
understand what you mean.  I should have defined
a variable for myself before I started, first_step="RTFM"

Thanks for everyone's patience,

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


Dropping into ddb from kernel panic

2006-03-21 Thread Duane Whitty

Hi,

I am trying to learn how to trace kernel issues
or determine if a problem even is a kernel issue.

Here are the debugging options I have set in my kernel config.

makeoptions  DEBUG=-g

options  KDB
options  KDB_TRACE
options  DDB
options  KTRACE

options AHC_REG_PRETTY_PRINT
options AHD_REG_PRETTY_PRINT

#sysctl -a
debug.debugger_on_panic: 1

I am trying to track down two system crash problems.

One is a kmem_map issue.

Are my kernel debug options correct or am I missing
anything (memguard perhaps)?


Would being in an X session interfere with dropping
into the debugger?

Are there any specific options I should set  in the make.conf
for the buildworld/buildkernel process?

Thanks in advance for any pointers

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


Re: encrypted drives

2006-03-22 Thread Duane Whitty

Erik Norgaard wrote:

Hi:

1) I was thinking, what is the performance penalty of storing data on 
an encrypted device? Sure, for writing documents, coding and stuff, I 
guess the performance loss is insignificant, but for music and video 
which then needs to be decrypted and then decoded, is this a problem?


2) One thing is to create an entire encrypted device for /home. But 
that have the unfortunate consequence that other user's data is 
unencrypted once the system is up.


What would be more appropriate is a solution where each home-dir is an 
encrypted mfs which is decrypted and mounted when the user log in, is 
this possible?


If not, then the alternative would be to have a private mfs in the 
user's home dir which is mounted after login, but I think yet the user 
needs root access to mount encrypted devices.


Is there any possibility for users to mount their own encrypted mfs?

Thanks, Erik


Hi Erik,

Perhaps this would interest you:

http://events.ccc.de/congress/2005/fahrplan/attachments/586-paper_Complete_Hard_Disk_Encryption.pdf

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


Re: USR 56k Internal WinModem

2006-03-24 Thread Duane Whitty

Dmitry Pisklov wrote:

How can I set up (if I can do it at all :)) my US Robotics winmodem? I use 
FreeBSD 6.0 stable. Here's what says pciconf:

[EMAIL PROTECTED]:2:0: class=0x078000 card=0x008112b9 chip=0x100612b9 rev=0x00 
hdr=0x00
vendor   = '3COM Corp, Modem Division (Formerly US Robotics)'
device   = 'USR 56k Internal WinModem'
class= simple comms

I've found no drivers for it... 



Best regards,
šš Dmitry Pisklov
šš Developer
šš StarSoft Development Labs

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



  

I am sorry to say you are facing an uphill battle.
There is very little support for host-based modems.
I have the same problem with my Conexxant modem
that came with my cheap little Dell computer, which
by the way FreeBSD does a great job of supporting.

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


Re: k3b incorrectly identifies scsi r/w drive as read-only -- Mode sense fails

2006-03-24 Thread Duane Whitty

Oliver Iberien wrote:

On Friday 24 March 2006 12:29, you wrote:
  

On 3/24/06, Oliver Iberien <[EMAIL PROTECTED]> wrote:


On Friday 24 March 2006 12:12, you wrote:
  

On 3/24/06, Oliver Iberien <[EMAIL PROTECTED]> wrote:


I've got my Plextor PX-W4012S SCSI R/W drive recognized by k3b by
  

adding
  

ALL ALL = NOPASSWD: /sbin/camcontrol devlist
to sudoers and starting k3b with sudo. Unfortunately, k3b has the
idea that
this is read-only. 
  

[snip]
  
[snip]
  

but /etc/devfs.conf (i think) has places where you can set the
permission to devices.  I believe I did 0666 (read/write to all) for
acd0, cdrom0,...


pass0,
  

[snip]
  

I had done that. I can access the drive, but it is still not being
correctly
recognized as a writer.
  

[snip]
  

What happens when you run k3b as root (just to test)

Also, what are the permissions on
(assuming the writer is the first cd device)
/dev/cd0
/dev/acd0
/dev/pass0



From /etc/devfs.conf:
own acd0root:wheel
own cd0 root:wheel
own pass0   root:wheel
permpass0   0666
permacd 0666
permcd0 0666
perm/cdrom  0666
perm/cdrom1 0666
own /cdrom  0666
own /cdrom1 0666
  

Hi,

I believe you may also need in defs.conf
perm   xpt0   0666


--Duane

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


[OT] What's in a name? FreeBSD 6.1-PRERELEASE #1

2006-03-24 Thread Duane Whitty

Hi all,

I recently built 6-STABLE and I was wondering what
the #0 and #1 refer to in the uname

FreeBSD dwpc.dwlabs.ca 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #1: Fri Mar 
24 19:34:58 AST 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/DWPC-200603230410  i386


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


Re: [OT] What's in a name? FreeBSD 6.1-PRERELEASE #1

2006-03-24 Thread Duane Whitty

Chris Hill wrote:

On Fri, 24 Mar 2006, Duane Whitty wrote:


I recently built 6-STABLE and I was wondering what
the #0 and #1 refer to in the uname

FreeBSD dwpc.dwlabs.ca 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #1: Fri 
Mar 24 19:34:58 AST 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/DWPC-200603230410 i386


I think that refers to the number of times you've (re)built the 
kernel. So a fresh install will be #0, but it looks like you've 
changed your configuration and rebuilt the kernel once since then.


FreeBSD seems to need far less kernel config tinkering now than it 
used to. I recall doing a lot of kernel builds back in the 2.2.x days 
just to make my hardware useable (or maybe I was dinking with it "just 
because"). Anyway, the # number would increment with each kernel 
build/install.


--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging <|> ]

Hi,

Yeah, that makes sense.  Usually I make a new kernel config file for each
time I rebuild because I've changed something.  This time however all I did
was checked out the RELENG_6 code from my local repository for m,y build.
I kept my kernel config from my last build.

Thanks for the info

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


Re: Not an easy install

2006-03-25 Thread Duane Whitty

Tim wrote:
Why couldn't you guys make a install easy instead of this and that, ok 
I am a newbie and it should be easy, I have installed Ubuntu, it was 
like a dream, smooth as silk, Fedora pretty much the same FreeBSD, its 
a nitemare if you have never done it, I am now reloading windows and 
then putting back Ubuntu, unless someone over there can make it simple 
even for me.



Tim Stevens


Hi Tim,

I've been using FreeBSD for a few months now after an absence of about
10 years.  Believe me when I say it's way easier now and pretty much just as
easy if not easier as an initial install of say, Solaris(tm) or many 
Linux(tm)

distros which vary widely in how "easy" they are to install.

So anyway,  hopefully you are installing the latest released
version of FreeBSD intended for general use, FreeBSD 6.0.

Here are the two most important things you can do!

1)Be open to learning something new and forget your expectations.
   There is a learning curve but it is not that bad.

2) Read the FreeBSD Handbook!
  
   I can't stress this enough.  Don't try  reading it from

   start to finish; just read the chapters on installing the
   system and basic setup.  Personally I always enjoy reading the
   introduction and I probably read the installation chapter,
   Chapter 2, six or more times.   Here is the URI
   for the Handbook, assuming you want the English edition.

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

Now many on this list may disagree with me but I have always found that 
choosing
the Custom instalaltion (even though it says it's for experts) has been 
the easiest

and most likely to succeed method of installation for me.

The installation chapter will help you with choosing your disk layout.  
My one issue
is the recoomended size of some of the partitions.  If you can spare the 
space I'd go with about 1GB for
/, /tmp, and 2 GB for /var.  This should let you get started without 
"complications".
They aren't the exact values recommended in the Handbook, if I recall 
correctly, bu they
work for me.  Oh yes, set your swap to 2 time your amount of RAM (I am 
assuming you

have a modern system, more or less, with at least 256MB of RAM).

After you partition and label your hard drive choose your distribution set.
I recommend choosing All under distributions.  As well, when prompted
as to whether or not you want the Ports infrastructure, say yes.  It will
be worth it when (if) you really start using FreeBSD.

Choose your media.  CD works well and so does FTP. DHCP configuration
of the network works well for me.  I always use passive FTP for my installs
because I am behind a firewall.

If you keep and open frame of mind, ask for help on a specific issue, 
and provide
details about your system and what you are trying to do you will receive 
a lot
of help.  No one likes being told that something they invest a lot of 
time in sucks

by someone who does not use the system.  Please remember that  everyone
here is a volunteer.

If and when you get the base system up and running ask for help to get a GUI
running and how to get different applications running and you will 
probably receive

what you ask for.  *** Always Read The Handbook First ***

For what it is worth FreeBSD 6 is the only operating system on my computer.
It didn't start off that way but for philosophical reasons that's the 
way it is now.

I'd be more than happy to expound those reasons off-list to anyone who would
care, but then everyone has their own reasons.

These are my opinions.  Your mileage may vary, use at your own risk, 
etc., etc.


Best of luck to you.

Sincerely,

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


Re: k3b incorrectly identifies scsi r/w drive as read-only -- Mode sense fails

2006-03-25 Thread Duane Whitty

Oliver Iberien wrote:

On Saturday 25 March 2006 11:46, Andrea Venturoli wrote:
  

Duane Whitty wrote:

Please forgive me for stepping in, but I'm having the same problem,
asked sometime ago and did not get any answer.

My Yamaha burner is still detected as a read-only device.

  bye & Thanks
av.


Hmm, I don't remember writing this at all...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: What's that filesystem for a usb flash drive?

2006-03-25 Thread Duane Whitty

Saul Mena Avila wrote:

Hello!. I've been trying to mount my flash memory but it just doesn't let
me.
I use (as root):

mount -t msdosfs /dev/ad0 /flash

The feedback is something like "device ad0 doesn't allow action"
Can anybody help me?

  

Hi,

Give us the output of uname -a and dmesg.
That way people on the list will have some
information about your system.  As well
include the make and model of the device in
question.  Without this you are unlikely to
receive much (positive) attention.

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


Re: Thanks! and... the su command

2006-03-25 Thread Duane Whitty

Saul Mena Avila wrote:

Hi!. Thanks for helping me with the USB flash memory. I've also have trouble
with the su command... since I installed the FreeBSD 5.4, everytime I try to
login as root with su, the shell answers me with "Sorry"... and that's all.
Is it wrong configured or installed?

-saul
  

Hi,

Check to see if you belong to the wheel group.
As root
#pw groupshow wheel

If your user name doesn't appear then do this
#pw groupmod wheel -m your_user_name_here

Next time you log in as that user you should
be able to su to root

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


Re: Adjusting configuration options during port installation?

2006-03-26 Thread Duane Whitty

Matt Singerman wrote:

Hi all,

I am installing an upgrade to the Cyrus email server.  Our existing
email boxes are in a database format that is no longer used by Cyrus;
however, there is a configuration option which will instruct the new
version to use the old database format.  They are

--with-mboxlist-db=berkeley and --with-seen-db=flat

Is there a way to tell the FreeBSD port of Cyrus to use these options?
 I am not extremely familiar with the ports system.

Thanks,

Matt
___
  

Hi,

Yes, you can pass the options along but it depends
which method you are using to manage your ports.
Are you using make ..., portupgrade ..., or perhaps
portmanager ...

Checkout the portupgrade -m switch.

There may also be config and config-recursive targets
for make.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Adjusting configuration options during port installation?

2006-03-26 Thread Duane Whitty

Peter wrote:

--- Duane Whitty <[EMAIL PROTECTED]> wrote:

  

Matt Singerman wrote:


Hi all,

I am installing an upgrade to the Cyrus email server.  Our existing
email boxes are in a database format that is no longer used by
  

Cyrus;


however, there is a configuration option which will instruct the
  

new


version to use the old database format.  They are

--with-mboxlist-db=berkeley and --with-seen-db=flat

Is there a way to tell the FreeBSD port of Cyrus to use these
  

options?


 I am not extremely familiar with the ports system.

Thanks,

Matt
___
  
  

Hi,

Yes, you can pass the options along but it depends
which method you are using to manage your ports.
Are you using make ..., portupgrade ..., or perhaps
portmanager ...

Checkout the portupgrade -m switch.



No.  The initial install options do not depend on what port management
utility
  
The intended meaning of my statement was not that the initial install 
options
depend upon what port management utility a person is using but rather 
that how

you pass those options through to the underlying make does depend on which
port management utility you are using.

you are using.  However, you do need to prepare for a possible future
upgrade of the port that was installed with non-default compile
options.
If you are using portupgrade then you need to edit pkgtools.conf.  If
you
are using portmanager then you need to edit pkgtools.conf or pm-020.conf.
  

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


Re: package vs ports question

2006-03-26 Thread Duane Whitty

Huy Ton That wrote:

I am curious, the key different between packages and ports are that packages
are precompiled and ports are not?  Am I erroneous in this statement?  I'm a
little confused as I have been always using make install clean from the
ports and don't see the difference...  Has anyone else had the same
question?

-Lee
_
  

Hi,

Your best bet is to read the handbook section
on packages and ports.  To answer your question
though, yes packages are pre-built and ports need
to be compiled, linked, etc from sources.

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

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


[Fwd: Re: package vs ports question]

2006-03-27 Thread Duane Whitty



 Original Message 
Subject:Re: package vs ports question
Date:   Mon, 27 Mar 2006 07:57:04 -0300
From:   Luiz Eduardo Guida Valmont <[EMAIL PROTECTED]>
To: Duane Whitty <[EMAIL PROTECTED]>
References: 
<[EMAIL PROTECTED]> 
<[EMAIL PROTECTED]>




And I also have a question regarding this matter. :)

When I installed FreeBSD (6.1-BETA4, though I don't think version
makes any difference here), I chose "User" in one of initial screens
(I can't remember which one that was now, sorry). That pre-selected a
handfull of software to be installed. I have always used ports since
FreeBSD was installed. But...

Does the installation process install any package that may be
overriden by any port?

On 3/27/06, Duane Whitty <[EMAIL PROTECTED]> wrote:

Huy Ton That wrote:
> I am curious, the key different between packages and ports are that
packages
> are precompiled and ports are not?  Am I erroneous in this statement?  I'm
a
> little confused as I have been always using make install clean from the
> ports and don't see the difference...  Has anyone else had the same
> question?
>
> -Lee
> _
>
Hi,

Your best bet is to read the handbook section
on packages and ports.  To answer your question
though, yes packages are pre-built and ports need
to be compiled, linked, etc from sources.

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

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




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


Re: [Fwd: Re: package vs ports question]

2006-03-27 Thread Duane Whitty

Duane Whitty wrote:



 Original Message 
Subject: Re: package vs ports question
Date: Mon, 27 Mar 2006 07:57:04 -0300
From: Luiz Eduardo Guida Valmont <[EMAIL PROTECTED]>
To: Duane Whitty <[EMAIL PROTECTED]>
References: 
<[EMAIL PROTECTED]> 
<[EMAIL PROTECTED]>




And I also have a question regarding this matter. :)

When I installed FreeBSD (6.1-BETA4, though I don't think version
makes any difference here), I chose "User" in one of initial screens
(I can't remember which one that was now, sorry). That pre-selected a
handfull of software to be installed. I have always used ports since
FreeBSD was installed. But...

Does the installation process install any package that may be
overriden by any port?


Hi,

I am sorry but I do not understand what you are trying to ask.  Are you 
asking

if  using the ports system will change any software you installed when you
first installed FreeBSD?

I want to make sure that myself and others who may try to answer your 
question

understand what it is you are asking.

Sincerely,

--Duane


On 3/27/06, Duane Whitty <[EMAIL PROTECTED]> wrote:

Huy Ton That wrote:
> I am curious, the key different between packages and ports are that
packages
> are precompiled and ports are not?  Am I erroneous in this 
statement?  I'm

a
> little confused as I have been always using make install clean from 
the

> ports and don't see the difference...  Has anyone else had the same
> question?
>
> -Lee
> _
>
Hi,

Your best bet is to read the handbook section
on packages and ports.  To answer your question
though, yes packages are pre-built and ports need
to be compiled, linked, etc from sources.

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

--Duane
___
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]"



--
[]'s,
Luiz Eduardo

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


Re: Oops: Deleted /var/named

2006-03-29 Thread Duane Whitty

Olivier Nicole wrote:

  devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
  devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
  devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device

I can only assume that it has something to do with the files 
in /var/named/dev/ that I have untarred there.  I tried doing a "make 



What I can see from my environment (4.11), you only need
/var/named/dev/null, copy it from /dev/null

Olivier
___

  

I have /var/named/dev/random in addition to /var/named/dev/null
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Why are so many people using 4.x?

2006-03-29 Thread Duane Whitty

Vaaf wrote:

At 22:34 28.03.2006, Joseph Vella wrote:
I notice a lot of references to version 4.x.  Is there any 
overwhelming reason
why its use seems to be still popular.  I'm wanting to set up a 
server (just
for play) on my home network using a PII machine.  Am I better off 
using an

older version for such old equipment?  If so, do any particular versions
stand out?


FreeBSD, and UNIX for that matter, is based off 30-year-old concepts.
Noboy can deny this. That being said, you can compare the development
of FreeBSD to building a skyscraper on shallow grounds. Naturally, the 
more
you build the more building is likely to collapse. This is now the 
case with

the old FreeBSD (in which a couple of smart guys decided to savior into
DragonFly) versus the new FreeBSD. I think the same thing is happening
with Windows versus Vista. As OS development progresses, this little
theory of mine will become more and more obvious. If anyone on this 
list can

contribute with facts and observations to strenghten this theory, I would
really appreciate it.

Thank you all,
Vaaf

___

Hi,

I was just wondering if you would also welcome observations from list 
members

which may challenge this theory?

Best wishes,

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


Re: Haven't been able to make world in about a year

2006-03-29 Thread Duane Whitty

Hi,

Your previous message reminded me of a previous project
you were working on which I was following closely.  I was
just wondering if you have had any success with make world et al?
I ask because I am very interested in how the build process of FreeBSD
works.  Is there any follow-up available or have you put that on the
"back burner" until you have more time?

Best wishes,

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


[Fwd: Re: Oops: Deleted /var/named]

2006-03-29 Thread Duane Whitty



 Original Message 
Subject:Re: Oops: Deleted /var/named
Date:   Wed, 29 Mar 2006 13:58:45 +0200
From:   Dimitar Vasilev <[EMAIL PROTECTED]>
To: Duane Whitty <[EMAIL PROTECTED]>
References: 	<[EMAIL PROTECTED]> 
<[EMAIL PROTECTED]> 
<[EMAIL PROTECTED]>




ev/null

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


there are some rc knobs to update the chroot environtment with files
which are missing.
try to activate and run named start again.

--
Димитър Василев
Dimitar Vassilev

GnuPG key ID: 0x4B8DB525
Keyserver: pgp.mit.edu
Key fingerprint: D88A 3B92 DED5 917E 341E D62F 8C51 5FC4 4B8D B525
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


[Fwd: Re: Oops: Deleted /var/named]

2006-03-29 Thread Duane Whitty



 Original Message 
Subject:Re: Oops: Deleted /var/named
Date:   Wed, 29 Mar 2006 14:35:52 +0200
From:   Dimitar Vasilev <[EMAIL PROTECTED]>
To: Duane Whitty <[EMAIL PROTECTED]>
References: 	<[EMAIL PROTECTED]> 
<[EMAIL PROTECTED]> 
<[EMAIL PROTECTED]> 
<[EMAIL PROTECTED]> 
<[EMAIL PROTECTED]>




Yes ;-)
Also try with mtree -p /etc/BSD.var.mtree or whatever it was

Hi,
Did you mean to send this to the list?

--Duane




--
Димитър Василев
Dimitar Vassilev

GnuPG key ID: 0x4B8DB525
Keyserver: pgp.mit.edu
Key fingerprint: D88A 3B92 DED5 917E 341E D62F 8C51 5FC4 4B8D B525
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Installing Horde 3.1.1

2006-04-01 Thread Duane Whitty

Hi,

Anyone out there with experience installing Horde 3.1.1
I'm running 6-STABLE and PHP5-5.1.2_1.  Updated ports
tree 1 April.  I've had a few problems which I have fixed
but then I ran into Pear and Panda problems.

My question is has anyone made this work recently or am I
just "chasing my tail"?

Thanks in advance,

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


Re: ipfw dosn"t want to run a rule ???? is it possible ? [Was ipfw n'applique pas une regle ???? est-ce possible ?]

2006-04-02 Thread Duane Whitty

michael wrote:

Bonjour,

Ok,

So, i'll correct u're french because u seems to want to learn it and i
think u're french is not to bad
And for my problem do think about a begining of an answer ?

  

Hello,

Thank you for correcting my French.  I need much practice!

As for your ipfw problem, I do not know enough to help you.
I suggest you pose your question again, this time entirely in English
with all the relevant details, to freebsd-questions@freebsd.org and also
to [EMAIL PROTECTED] 


There are many knowledgeable people on
both these lists who may hopefully be willing to help you, especially as
the French language mailing list appears to not be operating any longer.

Sincerely,

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


Re: software recommendation

2006-04-04 Thread Duane Whitty

fbsd_user wrote:

I am looking for am application that will simulate a browser and
allow me to program responses to filling in forms from the internet
application the browser is accessing.

I have read about this type of thing before and even seen it
mentioned on this list but at the time I had no interest in it. I
don't even know what this type of function is called so I can not do
a successful web search or ports search. I tried the words scraping,
session capture, and browser session simulation all with no luck.

Does anyone know what this is called or the port name if there is
one?


___
  


Try googling (can this really be a word :) ) browser automation name_of 
browser.
I also tried automated website interaction tools but the results didn't 
seem as

promising.  YMMV

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


Re: Switch from SATA-RAID to gmirror?

2006-04-06 Thread Duane Whitty

Ashley Moran wrote:

On Thursday 06 April 2006 12:13, Wojciech Puchar wrote:
  

i think - just YES. no problem



Wojciech

You were right to have faith!  It went perfectly and the server is now up on 
gmirror.  Only took 90 mins or so to rebuilt a 200GB disk too.


I've got to say this gmirror thing is scarily easy to set up.  I just hope 
when/if one of the disks die it will carry on running!


Ashley
  

Hi Ashley,

I'm glad things worked well for you.  Faith got you this far
but how long do you want to depend upon it?

A long time ago I was tasked with the administration of some
HP-UX boxes running on K-series hardware.  I didn't setup the
hardware and I didn't do the system install but I was expected,
as the systems consultant, to give reasonable assurances that in
the case of system failure the recovery procedures would work.
As it turns out I had to also write those procedures.  After I did
so I insisted that a failure be simulated and that it be determined
whether or not we could recover our operation starting from
scratch with just our backups and system tapes.  After all, there is
no one easier to fire than a consultant and it's always the consultant's
fault :)

So my recommendation is that you simulate a disk going bad now
before it happens for real.  For instance, what happens if you unplug
the disk from the controller, or remove its power connection, etc?

Just my $0.02

--
Duane Whitty

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


Re: Running an X application as root? (getting printer set in openoffice)

2006-04-06 Thread Duane Whitty

Oliver Iberien wrote:
In order to set the printer setting for openoffice.org-2.0.2 I have to, as far 
as I know, run the program /usr/local/openoffice.org-2.0.2/program/spadmin as 
root. (The default settings are for lp and I am using cups.) It's a series of 
dialogs in windows and so I've tried to set the display. I get a "no protocol 
specified" error.


bsd# setenv DISPLAY ":0.0"
bsd# /usr/local/openoffice.org-2.0.2/program/spadmin
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

I18N: Operating system doesn't support locale "en_US"
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

/usr/local/openoffice.org-2.0.2/program/spadmin.bin X11 error: Can't open 
display: :0.0

   Set DISPLAY environment variable, use -display option
   or check permissions of your X-Server
   (See "man X" resp. "man xhost" for details)

I looked at the xhost page and tried:

bsd# xhost +root
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

The same thing happened with xhost +. What am I missing?

Oliver

PS Using sudo does not work as for some reason when I try to run spadmin with 
sudo, spadmin can't find libraries it needs that are in its own folder. 
su-ing gets the same result as running as root, and deleting 
~/.openoffice.org-2.0.2 and running spadmin as a normal user changes 
nothing -- apparently nothing printer-related is in there. 
_______
  

When you built OOo did you use the -DWITH_CUPS option?

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


Re: FIXED Running an X application as root? (getting printer set in openoffice)

2006-04-06 Thread Duane Whitty

Oliver Iberien wrote:
About 30 seconds after I finally sent this, I found the answer. It's always a 
matter of phrasing the Google search correctly:


$ xhost +local:local
non-network local connections being added to access control list
$ su
Password:
bsd# /usr/local/openoffice.org-2.0.2/program/spadmin
I18N: Operating system doesn't support locale "en_US"
bsd#  

... and it worked. xhosts refers to networks not usernames. You run it as a 
normal user, then switch to su, then execute the command. I found the answer 
here:


http://lists.suse.com/archive/suse-xfree86/2004-Feb/0028.html

Sounds like a really insecure thing for a sysadmin to do, though. I'm just the 
only user of a home machine. Sorry for using up list space, but perhaps this 
might help someone else down the line.


Oliver

On Thursday 06 April 2006 18:08, Oliver Iberien wrote:
  

In order to set the printer setting for openoffice.org-2.0.2 I have to, as
far as I know, run the program
/usr/local/openoffice.org-2.0.2/program/spadmin as root. (The default
settings are for lp and I am using cups.) It's a series of dialogs in
windows and so I've tried to set the display. I get a "no protocol
specified" error.

bsd# setenv DISPLAY ":0.0"
bsd# /usr/local/openoffice.org-2.0.2/program/spadmin
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

I18N: Operating system doesn't support locale "en_US"
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

/usr/local/openoffice.org-2.0.2/program/spadmin.bin X11 error: Can't open
display: :0.0
   Set DISPLAY environment variable, use -display option
   or check permissions of your X-Server
   (See "man X" resp. "man xhost" for details)

I looked at the xhost page and tried:

bsd# xhost +root
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

The same thing happened with xhost +. What am I missing?

Oliver

PS Using sudo does not work as for some reason when I try to run spadmin
with sudo, spadmin can't find libraries it needs that are in its own
folder. su-ing gets the same result as running as root, and deleting
~/.openoffice.org-2.0.2 and running spadmin as a normal user changes
nothing -- apparently nothing printer-related is in there

Sorry,  guess I should have kept reading.  Looks like I misunderstood 
the problem


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


OT - Scalable email server solution needed

2006-04-07 Thread Duane Whitty

Hi,

My appologies in advance for the OT post.
This probably more appropriately belongs on ISP@ but
there doesn't seem to be much traffic there.

To the point:  I'm about to provide hosting services,
including but not limited to email, to a few local
business.  Right now I have Sendmail configured
and I was about to install Courier-IMAP.  My
concern is future scalability.  I'm not sure sendmail
is the right back-end MTA.  Right now Sendmail
and Procmail will work fine I believe with the addition
of an IMAP server.  But what about later on?

I was looking at DBmail but I'm not sure just how
much activity that project has so I'm a little leary,
but perhaps that's unjustified?  So now
I'm considering Exim or POSFIX.  The Sun Java
Communications Server looks appealing but unless
I misunderstood I don't have anywhere near the
bankroll for that yet and it doesn't look like a good
fit for a start-up operation anyhow.

I like that POPular port and the way it uses proxies etc.,
but it doesn't seem to support IMAP.

Is there anyone on the list who might be serving many
business customers each with many users who would
be willing to share their insights or opinions on this?

From my past experiences, transitioning from a low volume
solution to a high volume solution, regardless of the application
domain, is usually best solved by making the right choice in
the beginning.  It would seem like an important marketing
tool as well.

If I am way of base here or missing something really
important I'd appreciate the heads-up.

Thanks in advance for any help.

Sincerely,

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


UFS extended attributes

2006-04-09 Thread Duane Whitty

Hi,

Started doing a little reading on the UFS and UFS2
file systems.  I'm just wondering if all types of files
have extended attribute blocks available including
named pipes, sockets, and device files?

Is it still the case that there are three unused extended
attribute blocks available?

Sincerely,

Duane Whitty

--
[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 help!

2006-04-09 Thread Duane Whitty

infernus - Bluelight wrote:


Sorry for bothering this mailing list, but I realy need some help..
I find awsome screenshots from FreeBSD on various sites on the net, 
but on my comp,

the only thing I see is a black screen with some white text on it, and:

$|

-
I just tested some commands on random, and found that "info" show some 
kind of list with information on each "something"..


How do I enter some kind of interface, or desktop, like on the 
screenshots?
Is there a web-site or enything with tutorials explaining how to do 
all this..


I was thinking about setting up a FTP and Apache server +mail maybe..
But now when I see this black screen and don't have a clue on what to 
do, or how to do enything..

I feel the hope is dripping into the sink!

Please help me somehow, with tutorials and important information for 
starters..



Thanks a lot..  Ivan S. - Norway

___

Hello,

Do you have access to a web browser to view the handbook?

If not you can install a good text based one until you install
your graphical user interface.

/usr/local/bin/lynx file:///usr/share/doc/en/books/handbook/index.html

If this does not work then do the following

su - root
cd /usr/ports/www/lynx
make install clean
exit
/usr/local/bin/lynx file:///usr/share/doc/en/books/handbook/index.html

This should let you view the English version of the hanbook


Sincerely,

Duane Whitty

--
[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: Hard crash on 6.x -- reproducible, multiple people affected

2006-04-09 Thread Duane Whitty

Peter Thoenen wrote:

--- Kris Kennaway <[EMAIL PROTECTED]> wrote:
  

On Sun, Apr 02, 2006 at 04:09:30PM -0400, Anish Mistry wrote:


It's not clear what he means by "hard crash", but he also says
power off", which is the part that is most confusing to me.


Hmmm...I missed that part.  Yeah, if it powers off then I'm not
  

sure what you can do to debug it.



By hard crash I mean the box just instantly powers off.  No shutdown
syncs, no error, panic's, or dump generated, nothing logged in syslog,
and I have a serial cable hooked up to another another dumb terminal
hoping to maybe catch a panic or some debug message dumped out over
serial as it goes down but nothing there also.  It just stops. 


Also note that this didn't happen on 5.x.  And when not running those
particular ports the box stays up just fine for weeks on end.  Just
tried again with 6.1 PRERELEASE and same issue.

  

About all I can think of is to try to reproduce the problem with
enough logging enabled (e.g. running the binary under ktrace), with
sync-mounted filesystem, and hope that the last few entries give the
software developer enough of a clue what the process was doing at the
time of shutdown (the operation itself probably will not be logged)
that he can focus the investigation further.



Want to walk me through this and will do.  As I said, reproducible.

NOTE: I doubt it a linux syscall issue as i2p / freenet / and tor are
all build on FBSD, not linux binaries.  Freenet and I2P do use
linux-java (as the new diablo ones aren't avaiable for amd64) BUT tor
does not.  Its all C.  Also as noted, other people (using i386, not
just amd64) have emailed me (as the tor maintainer) with the exact same
problem on entirely different hardware (different nics, motherboards,
proc's etc etc).  Somebody suggested maybe a ACPI issue but I just
don't see how that could me it.

___

  

Anyone got a hardware debugger (breakout box) they know how to use?
I don't hear much about them anymore but I think this is the kind of
problem they were useful for helping with.  Maybe I'm thinking of
something else, its been a long time.

Duane

--
[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: OT - Scalable email server solution needed

2006-04-11 Thread Duane Whitty

Duane Whitty wrote:

Hi,

My appologies in advance for the OT post.
This probably more appropriately belongs on ISP@ but
there doesn't seem to be much traffic there.

To the point:  I'm about to provide hosting services,
including but not limited to email, to a few local
business.  Right now I have Sendmail configured
and I was about to install Courier-IMAP.  My
concern is future scalability.  I'm not sure sendmail
is the right back-end MTA.  Right now Sendmail
and Procmail will work fine I believe with the addition
of an IMAP server.  But what about later on?

I was looking at DBmail but I'm not sure just how
much activity that project has so I'm a little leary,
but perhaps that's unjustified?  So now
I'm considering Exim or POSFIX.  The Sun Java
Communications Server looks appealing but unless
I misunderstood I don't have anywhere near the
bankroll for that yet and it doesn't look like a good
fit for a start-up operation anyhow.

I like that POPular port and the way it uses proxies etc.,
but it doesn't seem to support IMAP.

Is there anyone on the list who might be serving many
business customers each with many users who would
be willing to share their insights or opinions on this?

From my past experiences, transitioning from a low volume
solution to a high volume solution, regardless of the application
domain, is usually best solved by making the right choice in
the beginning.  It would seem like an important marketing
tool as well.

If I am way of base here or missing something really
important I'd appreciate the heads-up.

Thanks in advance for any help.

Sincerely,

Duane

Hi,

I would like to say thank you to everyone who has replied
to my query, both on and off this list.  Your input is much
appreciated.

I've read everyones answers and I have found them very
educational and helpful.

I have learned two things as a result of the help people have
offered.  First, everyone has their favourite mail solution, and
secondly, I am not in a position to decide which email system
is best for me at this time because I have not yet educated
with regards to the issues.

I believe that before I move away from the base email system
provided with FreeBSD, and the support and maintenance
attention it receives as part of the base system, I should
learn more about it.  I also need to learn more about it before
I agree to support an email solution for other people.  For this
reason I have decided to use an external provider, for the short
term, to meet the needs of those who have approached me for
hosting services.

I am basically taking my own advice.  In an earlier post on a
different thread I advised that people need to learn the tools
they are using before they can make conclusions about those
tools shortcomings.  If I can't make educated conclusions for
myself regarding Sendmail's strengths and shortcomings then
how can I reasonably expect to evaluate its replacement?  I
don't believe I can.  So I must learn the details of SMTP,
IMAP, Sendmail, mailfilters, and any other tools I will need
to use.  Then after using these tools for a while I will be in a
better position to evaluate them.


Right now I have a working installation of Sendmail that seems
reasonably secure.  It uses the DNS and after several tests it
appears to be closed to relaying.  I feel somewhat confident
about my DNS: it uses internal and external views, it doesn't
leak any internal information, it only does recursion for clients
on my private net, it only allows zone transfers to my authorized
secondary, and my secondary is geographically removed (somewhat).

With this foundation behind me I have started to do some more
reading.  I have read, from start to finish, RFCs 4234 (ABNF),
2821 (SMTP), 2822 (Internet Message Format), and 2476
(Message Submission).  I am currently reading the "Bat Book"
and the "Sendmail Cookbook".

From the start I will be heeding the advice of several posters who
recommended using maildir format.  To implement that I will be
using Procmail, at least to start, as soon as I learn a little more
about Sendmail.

I hope no one feels I have wasted their time and I would truly
appreciate further comments that you believe might aid me on
my path.

Sincerely,

Duane Whitty
--
[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: WAN setup help.

2006-04-12 Thread Duane Whitty

Marwan Sultan wrote:

Hello Gurus,

  I have a Head Office, and have 2 Restaurants in diffrent areas,
  I have been told that i can link them all together, WAN. them.

  Can please someone explain to me how to do that? all to be as a one 
network.


  I understand that I need router in each branch, including the HQ 
but, what is the router?

  can FreeBSD configured to be this router?
  how to link all of them Together?

  Thank you for your support.
  Marwn Sultan.


Hi,

I have recently configured a simple VPN to connect mobile
users to a central office.  With this experience behind me,
my advice to you is to get a professional in your local area
to do this for you.

This may cost you a little more upfront but in the long run
it will save you time, money, and a lot of headaches.  From
your question I believe it will take you a long time to
accomplish what you want, you will spend money on equip-
ment that you either don't need or doesn't do the job adequately
if at all.  And in the end you will have a configuration you may
not be really satisfied with in terms of security and performance.

I don't mean to sound unkind here or overly negative about what
you can accomplish on your own given the time and money.  But
there are a lot of issues to take into consideration which you may
not think are important now or which you may not even know exist
that will have a big impact on what you need to do.

I wish you the best of luck and I also want to assure you that what
you want to do has been done many times and a professional should
have no problems doing this for you.  If he appears unsure of how to
proceed then he probably hasn't done it before and is figuring it out
as he goes.

Sincerely,

Duane Whitty
--
[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: can i build more than one world on a buildserver?

2006-09-08 Thread Duane Whitty

Jonathan Horne wrote:

On Wednesday 06 September 2006 19:05, Jonathan Horne wrote:

On Wednesday 06 September 2006 13:16, [EMAIL PROTECTED] wrote:

On 9/6/06, Jonathan Horne <[EMAIL PROTECTED]> wrote:

is it possible to have STABLE and RELENG built on a single build
server? or further, is it possible to have 5.5 and 6.1 worlds built
from the same machine?

buildworld and buildkernel targets are
fairly sophisticated.

The /usr/obj tree corresponds to the source
directory, so if you have your 5.5 sources in
/src/5.5
and your 6.1 sources in
/src/6.1 (or /usr/src/6.1 for that matter)

the world(s) would be built in
/usr/obj/src/5.5/ and /usr/obj/src/6.1/
repsectively. (Or /usr/obj/usr/src/6.1)

If the purpose is to buildworld on one
fast machine and then export it to slower
machines on th' network, this works
admirably well.

thank you!!  this was the exact hint i was hoping for!

cheers,
jonathan


well, so far, kinda so good.

i was able to cvsup 5.5-RELENG, 6.1-STABLE, and 6.1-RELENG to my build box.  i 
did a test kernel on the 6.1-RELENG, and that went fine, pretty much as 
expected.  but the 5.5 will not build.  i get this error:


[EMAIL PROTECTED] /usr/5.5-RELENG/src]# make buildkernel KERNCONF=TYCHE

--

Kernel build for TYCHE started on Thu Sep  7 06:48:26 CDT 2006

--
===> TYCHE
mkdir -p /usr/obj/usr/5.5-RELENG/src/sys

--

stage 1: configuring the kernel

--
cd /usr/5.5-RELENG/src/sys/i386/conf;  
PATH=/usr/obj/usr/5.5-RELENG/src/i386/legacy/usr/sbin:/usr/obj/usr/5.5-RELENG/src/i386/legacy/usr/bin:/usr/obj/usr/5.5-RELENG/src/i386/legacy/usr/games:/usr/obj/usr/5.5-RELENG/src/i386/usr/sbin:/usr/obj/usr/5.5-RELENG/src/i386/usr/bin:/usr/obj/usr/5.5-RELENG/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin  
config  -d /usr/obj/usr/5.5-RELENG/src/sys/TYCHE  /usr/5.5-RELENG/src/sys/i386/conf/TYCHE

../../conf/files: coda/coda_fbsd.c must be optional, mandatory or standard
*** Error code 1

Stop in /usr/5.5-RELENG/src.
*** Error code 1

Stop in /usr/5.5-RELENG/src.

should building parts of 5.5 from a 6.1-buildserver be possible?  or should i 
install 5.5 on my buildserver, and compile 5.5 from there as well as the 
higher versions?



Hi,

If I were you I would cvsup the entire repository (for src-all).
Then I would set up chroot-ed environments for each world 
you want to build.  When you want to do a build checkout the

version you want to your chroot-ed /usr/src directory.
There are more details @ /usr/src/UPDATING.  In your chroot
environment you'll need everything for doing a build
(libraries, headers, etc.).  What worked well for me was
duplicating the base system root directories.  One nice
thing about this, for instance, is that you can have
customized /etc/make.conf files.  With this setup you can
even do a chroot-ed install world, make dist, etc.  There
are hints for this in UPDATING as well.

Best Regards,

Duane Whitty

P.S.

Your email server bounced my earlier reply
which, admittedly, I forgot to CC to list

thanks,
jonathan
___
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: Good networking books for a beginner?

2006-10-02 Thread Duane Whitty
On Sun, Oct 01, 2006 at 12:12:27AM -0400, Rob wrote:
> Does anyone happen to know of any good books that explain all about
> networking in detail (such as gateways, netmasks, etc)?  I know the 'basics'
> but would like to dig in a little deeper.
> 
> Thanks,
> rob

An online article that I found quite helpful was Daryl's TCP/IP Primer
http://www.ipprimer.com/overview.cfm

I was quite surprised by how much detail was there when I started actually
following along with its tutorial style.

Best Regards,

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


Re: Device busy

2006-04-15 Thread Duane Whitty

Guus De Graeve wrote:

   Hello,
   I was wondering if someone could help me with an anoying problem i
   having for a while now.
   It's about my printer a 'Brother HL-2030', it's attached to my first
   usb port and recognized by the kernel as /dev/ulpt0.
   ulpt0: Brother HL-2030 series, rev 2.00/1.00, addr 2, iclass 7/1
   ulpt0: using bi-directional mode
   When i try to print to my printer with a basic test like 'echo Test >
   /dev/ulpt0' i get the message "/dev/ulpt0: Device busy".
   The problem is that i can't think of any other running proces that
   could be using the port to.
   My FreeBSD version is 6.0
   Thanks,
   Greetings Guus De Graeve,
___
  

Hi,

I believe the problem is actually that your printer does not accept plain
text input.  You need to run it through a filter first.  The problem is that
many new printers only accept input in the form of a binary command
language.  In the case of this printer it is through GDI, a windows 
standard.

I notice on the Brother website that a linux driver is available.  Perhaps
this would be a starting point.

It would definitely be worth checking out CUPS, the Common UNIX Printing
System.  I don't know if it supports this particular printer but it 
seems to

offer support for a lot of different printing devices.

Hope this helps,

Duane Whitty,
--
[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: Improving kde perfomance...

2006-04-15 Thread Duane Whitty

Paulino Calderon wrote:

Hey folks, Ive been googling about howto improve kde perfomance, i ve always
used fluxbox as my wm but recently I got a new laptop, it has a 3.2 ghz
processor, 1 gb of ram, and an ati mobility radeon x600 wiith 256 mb of
video meomry so I decided to try kde but so far the perfomance has benn
really poor, cpu usage is always between 20-25% eventhough im not doing
anything, most apps takes between 5 and 10 seconds to start, and even the
mouse pointer feels like it gets stuck when i move it too fast, is this as
fast as it gets for kde? or do you guys think there is osmething wrong with
my installation? I instaleld it via ports by the way.

Thanks for your help.
___
  

Hi,

When you say you installed it from ports, do you mean
you installed it as a package from ports or that you
built it from source?

Duane Whitty

--
[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: How do you tell pkg_add to just download the packages ?

2006-04-18 Thread Duane Whitty

Low Kian Seong wrote:

Dear all,

I come from a debian background, and in debian you can pass an argument to
apt-get to tell it to download all the packages first without installing
them first, is there a similar argument that I can pass to pkg_add ( I want
to use binaries ) or are there other tools I can use ?

Thanks.
___
  

Hi,

Try portupgrade(1)  (man 1 portupgrade)

# cd /usr/ports
# portupgrade -NFPPv  name-of-package

This says this may be a new installation "N"
Go get the files (packages), do not install anything "F"
Use packages only, fail if packages not available "PP" (important to use 
two upper-case Ps here)

Be verbose "v"

If you also want to fetch dependencies you can add -R.  This will 
recurse through all

the dependencies the new package needs

# cd /usr/ports
# portupgrade -NFPPRv  name-of-package

Best Regards,

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


KDE + GNOME?

2006-04-19 Thread Duane Whitty

Hello everyone,

I'm contemplating installing GNOME .  I am currently
using KDE.  Does anyone know of any issues I should
be aware of before I proceed.  I'm mostly concerned
about dependency issues, especially wtih respect to the
xorg clients and firefox.

Essentially I would like to be able to choose which
environment I am going to run on a per-session basis.
Any hints, pointer, RTFMs, would be greatly appreciated.

Sincerely,

Duane Whitty
--
[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: KDE + GNOME?

2006-04-19 Thread Duane Whitty

Duane Whitty wrote:

Hello everyone,

I'm contemplating installing GNOME .  I am currently
using KDE.  Does anyone know of any issues I should
be aware of before I proceed.  I'm mostly concerned
about dependency issues, especially wtih respect to the
xorg clients and firefox.

Essentially I would like to be able to choose which
environment I am going to run on a per-session basis.
Any hints, pointer, RTFMs, would be greatly appreciated.

Sincerely,

Duane Whitty

Perhaps I should be more clear.  Is there anyone reading
who currently has KDE 3.5.x and GNOME 2.12.x installed
concurrently on their systems?  Did you experience installation
problems with respect to dependencies?   Are you able to choose
between running KDE and GNOME as simply as by running
startkde or startgnome (or whatever the start gnome command is)?

I like KDE and some of its applications and I don't necessarily wish
to switch to using something else exclusively.  I have many good
things about GNOME and would like to try it out.  I want to be able
to switch back-and-forth whenever I want.  Has anyone else tried this?

Thanks for your responses.

Sincerely,

Duane Whitty
--
[EMAIL PROTECTED]

P.S.

I looked at the FAQ and DOCs but
didn't see this mentioned. Did I miss
something?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: KDE + GNOME?

2006-04-19 Thread Duane Whitty

Duane Whitty wrote:

[snip]

... I want to be able to switch back-and-forth whenever I want.  Has 
anyone else tried this?


Thanks for your responses.

Sincerely,

Duane Whitty

Thanks again for the responses.

I am now busily building GNOME 2.12
from ports.

Sincerely,

Duane Whitty
--
[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: Your message to freebsd-questions awaits moderator approval

2006-04-19 Thread Duane Whitty

[EMAIL PROTECTED] wrote:

Your mail to 'freebsd-questions' with the subject

Re: KDE + GNOME?

Is being held until the list moderator can review it for approval.

The reason it is being held:

Too many recipients to the message

Either the message will get posted to the list, or you will receive
notification of the moderator's decision.  If you would like to cancel
this posting, please visit the following URL:


http://lists.freebsd.org/mailman/confirm/freebsd-questions/e1c5fa0ef8c1ce38533ad2da0e4ef7c4599f1245


PLEASE NOTE!  If you would like to post freely to the list, please
subscribe first.  If you post from multiple addresses, you can
subscribe each address and go into the options page and select 'no
mail' for all but one address. This will allow you to post without
delay in the future.

Sorry for the hassle, but certain immature people made this necessary.



  

Hmm,

Well anything I can do to help the fight against spam and email abuse I 
guess.


Too bad real spam still manages to get through...

Oh, and why was this sent to the list and not to my personal address?
Of course I felt compelled to whine publicly.   ; )

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


Sendmail Compile-Time Configuration

2006-04-28 Thread Duane Whitty

Hi,

I'm adding LDAP support to my Sendmail configuration.
I couldn't seem to find the appropriate m4 file in which
to declare my APPENDDEF statements.  My course of
action was to include SENDMAIL_CFLAGS+=-DLDAPMAP
in make.conf.  Does this seem like the correct way to do this
for FreeBSD 6-STABLE?

TIA,

Duane Whitty
--
[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: Sendmail Compile-Time Configuration

2006-04-28 Thread Duane Whitty

Duane Whitty wrote:

Hi,

I'm adding LDAP support to my Sendmail configuration.
I couldn't seem to find the appropriate m4 file in which
to declare my APPENDDEF statements.  My course of
action was to include SENDMAIL_CFLAGS+=-DLDAPMAP
in make.conf.  Does this seem like the correct way to do this
for FreeBSD 6-STABLE?

TIA,

Duane Whitty

Answering myself:

I gues this isn't correct:

/usr/src/lib/libmilter/../../contrib/sendmail/include/sm/config.h:148:20: 
lber.h: No such file or directory


/usr/src/lib/libmilter/../../contrib/sendmail/include/sm/config.h:149:20: 
ldap.h: No such file or directory


mkdep: compile failed
   *** Error code 1

I'll be continuing to work on this but hopefully someone
here will have dealt with this previously

Duane Whitty
--
[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: Sendmail Compile-Time Configuration

2006-04-28 Thread Duane Whitty

Duane Whitty wrote:

Duane Whitty wrote:

Hi,

I'm adding LDAP support to my Sendmail configuration.
I couldn't seem to find the appropriate m4 file in which
to declare my APPENDDEF statements.  My course of
action was to include SENDMAIL_CFLAGS+=-DLDAPMAP
in make.conf.  Does this seem like the correct way to do this
for FreeBSD 6-STABLE?

TIA,

Duane Whitty

Answering myself:

I gues this isn't correct:

/usr/src/lib/libmilter/../../contrib/sendmail/include/sm/config.h:148:20: 
lber.h: No such file or directory


/usr/src/lib/libmilter/../../contrib/sendmail/include/sm/config.h:149:20: 
ldap.h: No such file or directory


mkdep: compile failed
   *** Error code 1

I'll be continuing to work on this but hopefully someone
here will have dealt with this previously

Duane Whitty

Maybe SENDMAIL_ADDITIONAL_MC in make.conf will work
with the needed APPENDDEF statements in my ldap.mc file?

Duane Whitty
--
[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: permissions dilemma

2006-04-28 Thread Duane Whitty

jekillen wrote:


On Apr 28, 2006, at 5:38 PM, Gerard Seibert wrote:


jekillen wrote:


Hello:
I have had a problem with installing MySQL 5.0.18 on a FreeBSD v 6.0
installation
where everything seems to compile and install correctly but the server
crashes
immediately on start up with permission to create/write it's .pid file
denied.
Then the screen saver daemon refuses to start in X windows with a
permission denied
error. It originally worked fine. But at some point recently the screen
saver quit working.
When I went to Gnome preferences and tried to set the screen saver I 
was

informed that the screen saver daemon wasn't running. When I tried to
have it
start I was presented with the permission denied error and to check the
$path
variable.
I tried installing MySQL twice, each time with the same problem.
As I understand it, permissions in Unix are part of the file system
format.
The only possible link between MySQL and the screen saver daemon,
possibly, is the
mysql user needed to run mysqld.

Could I have a corrupted file system in such a way as to cause
permission problems?

thanks in advance.
JK


Are you starting MySQL with the script in /usr/local/etc/rc.d/ upon
bootup?

--
Gerard Seibert
[EMAIL PROTECTED]

Boy that was fast, I just posted this message a moment ago...
No I was just testing it using the mysqld_safe --user=mysql & approach.

Hi,

As you don't mention it explicitly, did you run "mysql_install_db 
--user=mysql" ?
I know the first time I installed MySQL I neglected to do so.  As well, 
do you also

have a mysql user and a mysql group defined?

Best Regards,

Duane Whitty
--
[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: permissions dilemma

2006-04-29 Thread Duane Whitty

jekillen wrote:


On Apr 28, 2006, at 6:10 PM, Duane Whitty wrote:


jekillen wrote:


On Apr 28, 2006, at 5:38 PM, Gerard Seibert wrote:


jekillen wrote:


Hello:
I have had a problem with installing MySQL 5.0.18 on a FreeBSD v 6.0
installation
where everything seems to compile and install correctly but the 
server

crashes
immediately on start up with permission to create/write it's .pid 
file

denied.
Then the screen saver daemon refuses to start in X windows with a
permission denied
error. It originally worked fine. But at some point recently the 
screen

saver quit working.
When I went to Gnome preferences and tried to set the screen saver 
I was

informed that the screen saver daemon wasn't running. When I tried to
have it
start I was presented with the permission denied error and to 
check the

$path
variable.
I tried installing MySQL twice, each time with the same problem.
As I understand it, permissions in Unix are part of the file system
format.
The only possible link between MySQL and the screen saver daemon,
possibly, is the
mysql user needed to run mysqld.

Could I have a corrupted file system in such a way as to cause
permission problems?

thanks in advance.
JK


Are you starting MySQL with the script in /usr/local/etc/rc.d/ upon
bootup?

--
Gerard Seibert
[EMAIL PROTECTED]

Boy that was fast, I just posted this message a moment ago...
No I was just testing it using the mysqld_safe --user=mysql & approach.

Hi,

As you don't mention it explicitly, did you run "mysql_install_db 
--user=mysql" ?
yeswell come to think of it I only ran mysql_install_db without 
the --user part

I believe. I'll redo it an see what happens.
thanks
I know the first time I installed MySQL I neglected to do so.  As 
well, do you also

have a mysql user and a mysql group defined?
yes, but I'm confused, why would the mysql user need a shell and login 
password.
No password means that any one could log into the system as the mysql 
user

but how would mysqld switch to the mysql user if it has a password.
I did this on another machine running the same version of FreeBSD and 
was successful.
So far MySQL runs fine on it. I don't recall exactly what I did 
differently.
Would this have a bearing on the screen saver daemon? Or is that 
another issue?


Best Regards,

Duane Whitty
--
[EMAIL PROTECTED]

MySQL user does not need and should not have a login shell.
the entry in the password and group file should be set-up
automatically for you when you install MySQL.

The method I used to install MySQL was to use the ports
system via portupgrade.  Then run mysql_install_db --user=mysql
This sets a lot of things up for you.

As I believe another poster has mentioned you will want to delete
everything under /var/db/mysql/

Also do a chown mysql:mysql /var/db/mysql

Read the chapters in the MySQL manual regarding post-install
tasks under UNIX and securing the initial MySQL accounts.

Hope this helps,

Duane Whitty
--
[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: permissions dilemma

2006-04-29 Thread Duane Whitty

Duane Whitty wrote:

[snip]



Read the chapters in the MySQL manual regarding post-install
tasks under UNIX and securing the initial MySQL accounts.

Hope this helps,

Duane Whitty

http://dev.mysql.com/doc/refman/5.0/en/index.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


  1   2   >