RE: xclip

2010-01-02 Thread Charles Howse
> -Original Message-
> From: Richard Mahlerwein [mailto:mahle...@yahoo.com]
> Sent: Friday, January 01, 2010 10:01 AM
> To: Charles Howse
> Cc: freebsd-questions@freebsd.org
> Subject: Re: xclip
> 
> >- Original Message 
> 
> >From: Thomas Adam 
> >To: Charles Howse 
> >Cc: Thomas Adam ; FreeBSD-Questions  questi...@freebsd.org>
> >Sent: Fri, January 1, 2010 10:51:25 AM
> >Subject: Re: xclip
> >
> >On Fri, Jan 01, 2010 at 09:48:28AM -0600, Charles Howse wrote:
> >
> >> Hi Thomas, thanks for the reply.
> >> This is kinda gnarly.  I'm using VMware Player on Windows 7, FreeBSD
> is the
> >> guest OS.
> >> I have a script that outputs some text that I would like in the
> clipboard
> >> that I can paste into an email in Windows Outlook.
> >
> >Ah right.  You'll find that won't work at all.
> >
> >-- Thomas Adam
> 
> With VMware Workstation, I do something similar by launching the VM but
> ignoring the console of it.  Use PuTTY to connect to the virtual
> machine via its IP address.  From PuTTY, anything on screen is
> trivially copied to the host's windows clipboard by selecting it with
> your mouse.
> 
> How may that work for you?

I actually got it done by using PuTTY to connect to my FreeBSD server, run
the scripts in Bash there, and copy the output to the clipboard.  13 lines
per script, vs. **HUNDREDS OF LINES** in vbs or vba!!  :-))
 

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


RE: xclip

2010-01-02 Thread Charles Howse
> -Original Message-
> From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
> questi...@freebsd.org] On Behalf Of Chad Perrin
> Sent: Friday, January 01, 2010 12:04 PM
> To: 'FreeBSD-Questions'
> Subject: Re: xclip
> 
> On Fri, Jan 01, 2010 at 09:48:28AM -0600, Charles Howse wrote:
> >
> > I have a script that outputs some text that I would like in the
> clipboard
> > that I can paste into an email in Windows Outlook.
> 
> As far as I'm aware, there is no tool that uses the clipboard in any OS
> that will allow that clipboard to be used outside of that OS.  This
> appears to be what you want to do.  If you want to be able to copy
> something from a guest OS to the host OS clipboard, I think you will
> need
> to investigate features/tools for the VM software or the host OS
> instead,
> or employ a clever work-around such as using an SSH client on the host
> OS
> to "talk to" the guest OS, and copy from the SSH client to wherever
> else
> you need the data in your host OS.

I guess I will abandon this and try to do it in Windows.
It's just that scripting in Unix is **SO** much easier than vbs in Windows!
:-((

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


RE: xclip

2010-01-01 Thread Charles Howse


> -Original Message-
> From: Thomas Adam [mailto:thomas.ada...@gmail.com]
> Sent: Friday, January 01, 2010 9:26 AM
> To: Charles Howse
> Cc: 'FreeBSD-Questions'
> Subject: Re: xclip
> 
> On Fri, Jan 01, 2010 at 09:15:21AM -0600, Charles Howse wrote:
> > Hi,
> > I have need for a command-line tool to copy to the clipboard in
> FreeBSD 6.4.
> > As in: command | xclip
> > Looked at xclip and xclipboard -
> > http://www.freebsd.org/cgi/ports.cgi?query=xclip&stype=all
> >
> > I can't tell by the dependencies if this requires the X gui.  I'm
> running
> > command-line-only and DON'T want to install X.
> > Can anyone help?  Thanks!
> 
> Yes it does require X, because it puts it in the PRIMARY_SELECTION.
> 
> What are you trying to do?

Hi Thomas, thanks for the reply.
This is kinda gnarly.  I'm using VMware Player on Windows 7, FreeBSD is the
guest OS.
I have a script that outputs some text that I would like in the clipboard
that I can paste into an email in Windows Outlook.

#!/bin/sh

file=sig.txt
f=h.txt
n=`jot -r 1 1 791`

echo > $file
echo >> $file
echo "--" >> $file
echo "Thanks," >> $file
echo "Charles" >> $file
echo >> $file
echo "Things that make you say, Hmm..." >> $file
sed -n $n\p $f >> $file
#"Copy $file to clipboard"
#rm $file



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


RE: xclip

2010-01-01 Thread Charles Howse
> -Original Message-
> From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
> questi...@freebsd.org] On Behalf Of Charles Howse
> Sent: Friday, January 01, 2010 9:15 AM
> To: 'FreeBSD-Questions'
> Subject: xclip
> 
> Hi,
> I have need for a command-line tool to copy to the clipboard in FreeBSD
> 6.4.
> As in: command | xclip
> Looked at xclip and xclipboard -
> http://www.freebsd.org/cgi/ports.cgi?query=xclip&stype=all
> 
> I can't tell by the dependencies if this requires the X gui.  I'm
> running
> command-line-only and DON'T want to install X.
> Can anyone help?  Thanks!
> 
> --
> Later,
> Charles

Sorry to reply to my own post, but I remembered to look in
ports/X11/xclip/pkg-descr and found that xclip and possible xclipboard
require X11.  
Sorry for not doing that before I posted.
So, is there a non-X11 port that will let me do what I need to do?  Does
Midnight Commander have a clipboard?

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


xclip

2010-01-01 Thread Charles Howse
Hi,
I have need for a command-line tool to copy to the clipboard in FreeBSD 6.4.
As in: command | xclip
Looked at xclip and xclipboard - 
http://www.freebsd.org/cgi/ports.cgi?query=xclip&stype=all

I can't tell by the dependencies if this requires the X gui.  I'm running
command-line-only and DON'T want to install X.
Can anyone help?  Thanks!

--
Later,
Charles


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


RE: Gnome desktop for 5 y/o

2009-12-08 Thread Charles Howse


> -Original Message-
> From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
> questi...@freebsd.org] On Behalf Of krad
> Sent: Tuesday, December 08, 2009 10:24 AM
> To: Charles Howse
> Cc: FreeBSD-Questions
> Subject: Re: Gnome desktop for 5 y/o
> 
> 2009/12/8 Charles Howse 
> 
> >
> >
> > > -Original Message-
> > > From: Adam Vande More [mailto:amvandem...@gmail.com]
> > > Sent: Tuesday, December 08, 2009 8:56 AM
> > > To: Charles Howse
> > > Cc: FreeBSD-Questions
> > > Subject: Re: Gnome desktop for 5 y/o
> > >
> > > On Tue, Dec 8, 2009 at 8:47 AM, Charles Howse 
> > > wrote:
> > >
> > >
> > >   Hi ocean, thanks for the reply.
> > >   Is there a browser that will work out of the box with flash?
> > > Most of the
> > >   games the 5 y/o uses are flash-based.
> > >
> > >
> > >
> > > Please don't top post, thanks.
> >
> > My apologies to the group, I forgot.  :)
> >
> >
> >
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "
> > freebsd-questions-unsubscr...@freebsd.org"
> >
> 
> you probably also want java as well, a lot of those children's game
> sites
> use all kind of horrible stuff.

I have an older Power Mac that I've decided to use instead.  It's all
configured and running well, and I don't use it much anymore since I have
Windows 7 Ultimate now on the PC.
It's already set up with Parental Controls for the grandson, and has
everything the daughter will need as well.


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


RE: Gnome desktop for 5 y/o

2009-12-08 Thread Charles Howse


> -Original Message-
> From: Adam Vande More [mailto:amvandem...@gmail.com]
> Sent: Tuesday, December 08, 2009 8:56 AM
> To: Charles Howse
> Cc: FreeBSD-Questions
> Subject: Re: Gnome desktop for 5 y/o
> 
> On Tue, Dec 8, 2009 at 8:47 AM, Charles Howse 
> wrote:
> 
> 
>   Hi ocean, thanks for the reply.
>   Is there a browser that will work out of the box with flash?
> Most of the
>   games the 5 y/o uses are flash-based.
> 
> 
> 
> Please don't top post, thanks.

My apologies to the group, I forgot.  :)



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


RE: Gnome desktop for 5 y/o

2009-12-08 Thread Charles Howse
Hi ocean, thanks for the reply.
Is there a browser that will work out of the box with flash?  Most of the
games the 5 y/o uses are flash-based.


> -Original Message-
> From: ocean [mailto:ocean_i...@yahoo.it]
> Sent: Tuesday, December 08, 2009 8:30 AM
> To: Charles Howse
> Cc: 'FreeBSD-Questions'
> Subject: Re: Gnome desktop for 5 y/o
> 
> i think it could go fine on this computer, use gnome lite and also add
> the needed ports to have a fairly nice system (gnome-backgrounds
> etc...). compile from ports with some optimizations (-O2
> -fno-strict-aliasing and consider if -pipe could be used or not based
> on
> your ram memory). for firefox consider you'll have probably to use also
> linux compatibility layer with flash (don't know if it's on 6.4)
> 
> for parental control check this thread in ml:
> http://lists.freebsd.org/pipermail/freebsd-questions/2007-
> June/152543.html
> http://lists.freebsd.org/pipermail/freebsd-questions/2007-
> July/152728.html
> 
> regards
> ocean
> 
> 
> Charles Howse wrote:
> > Hi,
> > I have a 6.4-STABLE machine running in command line only for my
> Apache
> > webserver.
> > I'm thinking of installing a Gnome desktop on it for my 5 y/o
> grandson and
> > grown daughter to use so they won't be pestering me to use my pc.
> >
> > The 5 y/o won't need anything except Firefox, some disk-based games
> and
> > Parental Controls.
> > For the Parental Controls, I need to limit the websites he can visit,
> and
> > the time of day he can use the computer.
> >
> > The daughter will only need Firefox and a decent word processor.
> >
> > The computer is a P3 600, 256mb ram, ATI 3D Rage IIc video, plenty of
> disk
> > space.
> >
> > Will Gnome2 or gnome-lite be faster?
> >
> > What is available for Parental Controls?
> >
> > Should I forget it because it will be too slow based on the machine's
> > hardware?
> >
> > --
> > Later,
> > Charles
> >
> >
> >
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "freebsd-questions-
> unsubscr...@freebsd.org"
> >

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


Gnome desktop for 5 y/o

2009-12-08 Thread Charles Howse
Hi,
I have a 6.4-STABLE machine running in command line only for my Apache
webserver.
I'm thinking of installing a Gnome desktop on it for my 5 y/o grandson and
grown daughter to use so they won't be pestering me to use my pc.

The 5 y/o won't need anything except Firefox, some disk-based games and
Parental Controls.
For the Parental Controls, I need to limit the websites he can visit, and
the time of day he can use the computer.

The daughter will only need Firefox and a decent word processor.

The computer is a P3 600, 256mb ram, ATI 3D Rage IIc video, plenty of disk
space.

Will Gnome2 or gnome-lite be faster?

What is available for Parental Controls?

Should I forget it because it will be too slow based on the machine's
hardware?

--
Later,
Charles



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


Re: mod_security 2.5.9

2009-08-10 Thread Charles Howse


On Aug 10, 2009, at 12:12 AM, Mel Flynn wrote:


On Sunday 09 August 2009 18:31:55 Charles Howse wrote:

On Aug 9, 2009, at 3:42 PM, Mel Flynn wrote:

I've attached a patch that fixes the issue.



Whoops, looks like I've stepped in over my head.
Exactly how do I use this patch?



cd /usr/ports/www/mod_security
patch < /path/to/patch
make build


Whoops...

r...@curly /root# cd /usr/ports/www/mod_security
r...@curly /usr/ports/www/mod_security# patch < /usr/home/charles/ 
patch-www::mod_security.txt

Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--
|--- Makefile.orig  2009-08-05 12:31:21.0 -0800
|+++ Makefile   2009-08-09 12:34:34.0 -0800
--
Patching file Makefile using Plan A...
Hunk #1 succeeded at 47.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--
|--- /dev/null  2009-08-09 12:37:23.0 -0800
|+++ files/extra-patch-fix-6.x-link 2009-08-09 12:25:33.0 -0800
--
(Creating file files/extra-patch-fix-6.x-link...)
Patching file files/extra-patch-fix-6.x-link using Plan A...
Hunk #1 succeeded at 1.
done
r...@curly /usr/ports/www/mod_security# make build
===>  Building for mod_security-2.5.9_1
# XXX there is "mlogc-static" target in the Makefile, too
cd /usr/ports/www/mod_security/work/modsecurity-apache_2.5.9/apache2  
&& /usr/bin/env SHELL=/bin/sh NO_LINT=YES   PREFIX=/usr/local   
LOCALBASE=/usr/local X11BASE=/usr/local  MOTIFLIB="-L/usr/local/lib - 
lXm -lXp" LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -fno-strict-aliasing - 
pipe" CXX="c++" CXXFLAGS="-O2 -fno-strict-aliasing -pipe"  MANPREFIX="/ 
usr/local" BSD_INSTALL_PROGRAM="install  -s -o root -g wheel -m 555"   
BSD_INSTALL_SCRIPT="install  -o root -g wheel -m 555"   
BSD_INSTALL_DATA="install  -o root -g wheel -m 444"   
BSD_INSTALL_MAN="install  -o root -g wheel -m 444" make -f Makefile   
mlogc


Building dynamically linked mlogc...
/usr/local/lib/libapr-1.so: undefined reference to `pthread_yield'
/usr/local/lib/libapr-1.so: undefined reference to  
`pthread_attr_destroy'

/usr/local/lib/libapr-1.so: undefined reference to `pthread_create'
/usr/local/lib/libapr-1.so: undefined reference to `pthread_attr_init'
/usr/local/lib/libapr-1.so: undefined reference to `pthread_exit'
/usr/local/lib/libapr-1.so: undefined reference to `pthread_equal'
/usr/local/lib/libapr-1.so: undefined reference to `pthread_detach'
/usr/local/lib/libapr-1.so: undefined reference to  
`pthread_attr_setstacksize'
/usr/local/lib/libapr-1.so: undefined reference to  
`pthread_attr_getdetachstate'
/usr/local/lib/libapr-1.so: undefined reference to  
`pthread_attr_setguardsize'
/usr/local/lib/libapr-1.so: undefined reference to  
`pthread_attr_setdetachstate'

/usr/local/lib/libapr-1.so: undefined reference to `pthread_join'
/usr/local/lib/libapr-1.so: undefined reference to  
`pthread_cond_timedwait'

*** Error code 1

Stop in /usr/ports/www/mod_security/work/modsecurity-apache_2.5.9/ 
apache2/mlogc-src.

*** Error code 1

Stop in /usr/ports/www/mod_security/work/modsecurity-apache_2.5.9/ 
apache2.

*** Error code 1

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

Stop in /usr/ports/www/mod_security.
r...@curly /usr/ports/www/mod_security#

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


Re: mod_security 2.5.9

2009-08-09 Thread Charles Howse


On Aug 9, 2009, at 3:42 PM, Mel Flynn wrote:


I've attached a patch that fixes the issue.



Whoops, looks like I've stepped in over my head.
Exactly how do I use this patch?


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


Re: mod_security 2.5.9

2009-08-09 Thread Charles Howse


On Aug 8, 2009, at 11:38 PM, Mel Flynn wrote:


On Saturday 08 August 2009 19:38:42 Charles Howse wrote:

On Aug 8, 2009, at 11:36 AM, Mel Flynn wrote:

On Saturday 08 August 2009 08:00:47 Charles Howse wrote:

Just wondering if anyone has tried updating from mod_security 2.5.9
to
2.5.9_1 via portupgrade.
It fails with a "linker error" for me.


And can we see the actual linker error?


Thought I had included enough in my original post.
Here's the mod_security part of 'portupgrade -a'

...
[Updating the pkgdb  in /var/db/pkg ... - 51
packages found (-0 +1) . done]
--->  Upgrading 'mod_security-2.5.9' to 'mod_security-2.5.9_1' (www/
mod_security)
--->  Building '/usr/ports/www/mod_security'


...


checking for libapr config script... /usr/local/bin/apr-1-config
configure: using ' -lcrypt  -pthread' for apr Library

   ^^

/usr/local/share/apr/build-1/libtool --silent --mode=link cc -o
mod_security2.la -R/usr/local/lib  -L/usr/local/lib -L/usr/local/ 
lib -

L/usr/local/lib -lpcre -lxml2 -lz -liconv -lm -rpath /usr/local/
libexec/apache22 -module -avoid-versionmsc_release.lo msc_lua.lo
acmp.lo msc_geo.lo pdf_protect.lo msc_reqbody.lo persist_dbm.lo
msc_pcre.lo msc_util.lo msc_parsers.lo modsecurity.lo  
msc_multipart.lo

msc_xml.lo msc_logging.lo re_variables.lo re_tfns.lo re_actions.lo
re_operators.lo re.lo apache2_util.lo apache2_io.lo apache2_config.lo
mod_security2.lo
# XXX there is "mlogc-static" target in the Makefile, too
cd /usr/ports/www/mod_security/work/modsecurity-apache_2.5.9/apache2
&& /usr/bin/env SHELL=/bin/sh NO_LINT=YES   PREFIX=/usr/local
LOCALBASE=/usr/local X11BASE=/usr/local  MOTIFLIB="-L/usr/local/lib -
lXm -lXp" LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -fno-strict- 
aliasing -
pipe" CXX="c++" CXXFLAGS="-O2 -fno-strict-aliasing -pipe"   
MANPREFIX="/

usr/local" BSD_INSTALL_PROGRAM="install  -s -o root -g wheel -m 555"
BSD_INSTALL_SCRIPT="install  -o root -g wheel -m 555"
BSD_INSTALL_DATA="install  -o root -g wheel -m 444"
BSD_INSTALL_MAN="install  -o root -g wheel -m 444" make -f Makefile
mlogc

Building dynamically linked mlogc...
/usr/local/lib/libapr-1.so: undefined reference to `pthread_yield'
/usr/local/lib/libapr-1.so: undefined reference to
`pthread_attr_destroy'
/usr/local/lib/libapr-1.so: undefined reference to `pthread_create'
/usr/local/lib/libapr-1.so: undefined reference to  
`pthread_attr_init'

/usr/local/lib/libapr-1.so: undefined reference to `pthread_exit'
/usr/local/lib/libapr-1.so: undefined reference to `pthread_equal'
/usr/local/lib/libapr-1.so: undefined reference to `pthread_detach'
/usr/local/lib/libapr-1.so: undefined reference to
`pthread_attr_setstacksize'
/usr/local/lib/libapr-1.so: undefined reference to
`pthread_attr_getdetachstate'
/usr/local/lib/libapr-1.so: undefined reference to
`pthread_attr_setguardsize'
/usr/local/lib/libapr-1.so: undefined reference to
`pthread_attr_setdetachstate'
/usr/local/lib/libapr-1.so: undefined reference to `pthread_join'
/usr/local/lib/libapr-1.so: undefined reference to
`pthread_cond_timedwait'
*** Error code 1


Apparently -pthread isn't passed here. I've tried to reproduce this,  
but I

can't. Could you show the output of:
make -C /usr/ports/www/mod_security actual-package-depends


r...@curly /root# make -C /usr/ports/www/mod_security actual-package- 
depends

pcre-7.9:devel/pcre
apr-gdbm-db42-1.3.8.1.3.9:devel/apr
curl-7.19.5_1:ftp/curl
libxml2-2.7.3:textproc/libxml2
apache-2.2.11_7:www/apache22
pkg-config-0.23_1:devel/pkg-config
expat-2.0.1:textproc/expat2
gdbm-1.8.3_3:databases/gdbm
db42-4.2.52_5:databases/db42
libiconv-1.13.1:converters/libiconv
ca_root_nss-3.11.9_2:security/ca_root_nss
pkg-config-0.23_1:devel/pkg-config
libiconv-1.13.1:converters/libiconv
expat-2.0.1:textproc/expat2
perl-5.8.9_3:lang/perl5.8
pcre-7.9:devel/pcre
libiconv-1.13.1:converters/libiconv
r...@curly /root#



Also the contents of /var/db/ports/apr/options.


r...@curly /root# cat /var/db/ports/apr/options
# This file is auto-generated by 'make config'.
# No user-servicable parts inside!
# Options for apr-gdbm-db42-1.3.3.1.3.4_1
_OPTIONS_READ=apr-gdbm-db42-1.3.3.1.3.4_1
WITH_THREADS=true
WITHOUT_IPV6=true
WITH_GDBM=true
WITH_BDB=true
WITHOUT_NDBM=true
WITHOUT_LDAP=true
WITHOUT_MYSQL=true
WITHOUT_PGSQL=true
r...@curly /root#

Thanks Mel!

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


mod_security 2.5.9

2009-08-08 Thread Charles Howse

Hi,
Just wondering if anyone has tried updating from mod_security 2.5.9 to  
2.5.9_1 via portupgrade.

It fails with a "linker error" for me.

Stop in /usr/ports/www/mod_security.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/ 
portupgrade20090808-74398-n3wtif-0 env UPGRADE_TOOL=portupgrade  
UPGRADE_PORT=mod_security-2.5.9 UPGRADE_PORT_VER=2.5.9 make

** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! www/mod_security (mod_security-2.5.9) (linker error)



--
Thanks,
Charles
http://bubbabbq.homeunix.net
UberNooB, mod_security v.2.5.9, RulesEngine On, Personal web site,  
Apache 2.2.11, FreeBSD-6.4-STABLE









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


Re: Stale lock files

2009-06-27 Thread Charles Howse


On Jun 27, 2009, at 10:42 AM, Robert Huff wrote:



Charles Howse writes:


What are stale lock files?
I've been having them for a few weeks now, they need to go away!

r...@curly /root# portupgrade -a
** Stale lock file was found. Removed.
** Stale lock file was found. Removed.
[...]

r...@curly /root# portversion -c
** Stale lock file was found. Removed.


These are related to a (harmless) twitch in a recent version of
ruby.  Updating to the latest version fixed it for me.


Thanks Robert and Polytropon,
Running 'portversion -c' after 'portupgrade -a' no longer shows any  
stale lock files.

Just wondering...is there any utility to find and remove these things?
Maybe a reboot?

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


Stale lock files

2009-06-27 Thread Charles Howse

Hi,
What are stale lock files?
I've been having them for a few weeks now, they need to go away!


r...@curly /root# portupgrade -a
** Stale lock file was found. Removed.
** Stale lock file was found. Removed.
[...]

r...@curly /root# portversion -c
** Stale lock file was found. Removed.
#
#  p5-BerkeleyDB
#  needs updating (port has 0.39)
#
pkgs="$pkgs p5-BerkeleyDB-0.38"

#
#  portaudit
#  needs updating (port has 0.5.13)
#
pkgs="$pkgs portaudit-0.5.12"

#
#  ruby
#  needs updating (port has 1.8.7.160_3,1)
#
pkgs="$pkgs ruby-1.8.7.160_1,1"


if [ X"$pkgs" != X"" ]; then
 portupgrade "$@" $pkgs
fi


Thanks,
Charles
--
Pretty women make us BUY beer. Ugly women make us DRINK beer. - Al Bundy




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


Re: Running Apache with as few modules as possible

2009-04-29 Thread Charles Howse


On Apr 29, 2009, at 3:18 PM, Tom Worster wrote:


On 4/28/09 6:45 PM, "Adam Vandemore"  wrote:


OK, here we go:
With Apache running on the development machine, modules commented as
in my first post --
CPU:  0.8% user,  0.0% nice,  0.4% system,  0.8% interrupt, 98.1%  
idle
Mem: 27M Active, 139M Inact, 64M Wired, 11M Cache, 34M Buf, 648K  
Free

Swap: 512M Total, 60K Used, 512M Free

Apache running on the same machine without any modules commented
except mod_ssl --
CPU:  0.8% user,  0.0% nice,  0.8% system,  0.4% interrupt, 98.1%  
idle
Mem: 27M Active, 134M Inact, 64M Wired, 13M Cache, 34M Buf, 3584K  
Free

Swap: 512M Total, 60K Used, 512M Free

I just ran 'top' after starting httpd to get these figures, maybe I
should have done something different?
'bout the only thing that makes sense to me is I have more Free  
Memory

when commenting all those modules.
What is the list's opinion on this?


You should probably use pmap for a more accurate comparison.  you may
also want to set CFLAGS= -Os for size considerations(CPUTYPE as  
well),
and remove unnecessary modules from kernel if you haven't done so  
already.


agreed. top lines of top  are too imprecise to really tell. but so  
far as
the data goes, this is consistent with my findings, i.e. disabling  
mods in
the apache runtime config file doesn't save enough to justify the  
effort.


I recall Bill Gates saying, "640k is enough for anybody."  I agree,  
it's not much of a savings, and there's always the possibility that  
the webmaster may add something later that needs a module that's  
commented, and run around in circles before she/he realizes it.

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


Re: Modern FreeBSD Installer?

2009-04-29 Thread Charles Howse


On Apr 29, 2009, at 2:51 PM, Jerry McAllister wrote:

On Wed, Apr 29, 2009 at 09:56:00AM -0300, Sergio de Almeida Lenzi  
wrote:



hello

Well, after all that said, I would like to post my
modest oppinion based in experience from the market..

1) The people who use FreeBSD, or other OS, (the end user)
will never install the OS, the person will turn on the machine
and expects an graphical interface appears in the secreen.


I'm getting into this late, but I have installed FreeBSD many times,  
both as a desktop system and as a server.



3) the "computer"  (computer is the term used by the USER) should
NEVER break, stop working That is: the computer (and the  
Operating
system) should act as the TV set... (remember those old times when  
the TV set

used to break???) you turn it on, and it works...


All "computers" work...until someone sits down at the keyboard.


5) A beautifull installer is good for the newspaper that publishes  
a "review" of
the Operating system (they must publish something to "sell"  
to ...save their job..),
Have you ever heard about a "Leopard" installer??? do you know  
someone who reinstalled "Leopard"??


Ummm...you're talking to someone who has installed Panther, Tiger and  
Leopard, more than once.


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


Re: Running Apache with as few modules as possible

2009-04-28 Thread Charles Howse


On Apr 28, 2009, at 2:29 PM, Tom Worster wrote:


On 4/28/09 3:14 PM, "Charles Howse"  wrote:


Can anyone see anything that I've commented that I'll be sorry for?
Can anyone suggest any more testing I should do?


unfortunately i can't but i'd like to ask you to tell us, once  
you're done

with removing modules, how much memory you saved relative to where you
started.

i'm curious because i went through a similar exercise not long ago  
and would

be interested to compare notes.


OK, here we go:
With Apache running on the development machine, modules commented as  
in my first post --

CPU:  0.8% user,  0.0% nice,  0.4% system,  0.8% interrupt, 98.1% idle
Mem: 27M Active, 139M Inact, 64M Wired, 11M Cache, 34M Buf, 648K Free
Swap: 512M Total, 60K Used, 512M Free

Apache running on the same machine without any modules commented  
except mod_ssl --

CPU:  0.8% user,  0.0% nice,  0.8% system,  0.4% interrupt, 98.1% idle
Mem: 27M Active, 134M Inact, 64M Wired, 13M Cache, 34M Buf, 3584K Free
Swap: 512M Total, 60K Used, 512M Free

I just ran 'top' after starting httpd to get these figures, maybe I  
should have done something different?
'bout the only thing that makes sense to me is I have more Free Memory  
when commenting all those modules.

What is the list's opinion on this?


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


Running Apache with as few modules as possible

2009-04-28 Thread Charles Howse

Hi,
I ran across this web page the other day, and it seems like a  
reasonable choice for me (running on kinda low-end hardware).




I have these modules in my config for my "development server", and I  
use the term loosely, it's really my "make your mistakes here, instead  
of on the REAL web server" machine.
I researched each module on the Apache site, and to the extent that I  
understood, chose whether to comment them or not.
It loads without any syntax errors, and I have tested the things that  
I can think of that might require a module.
I'm not doing any user authentication, no dynamic pages, no forms,  
some cgi scripts, all but 2 in SSI, the other 2 in Perl.

Can anyone see anything that I've commented that I'll be sorry for?
Can anyone suggest any more testing I should do?


LoadModule security2_module libexec/apache22/mod_security2.so
##LoadModule authn_file_module libexec/apache22/mod_authn_file.so
##LoadModule authn_dbm_module libexec/apache22/mod_authn_dbm.so
##LoadModule authn_anon_module libexec/apache22/mod_authn_anon.so
LoadModule authn_default_module libexec/apache22/mod_authn_default.so
LoadModule authz_host_module libexec/apache22/mod_authz_host.so
##LoadModule authz_groupfile_module libexec/apache22/ 
mod_authz_groupfile.so

##LoadModule authz_user_module libexec/apache22/mod_authz_user.so
##LoadModule authz_dbm_module libexec/apache22/mod_authz_dbm.so
##LoadModule authz_owner_module libexec/apache22/mod_authz_owner.so
LoadModule authz_default_module libexec/apache22/mod_authz_default.so
##LoadModule auth_basic_module libexec/apache22/mod_auth_basic.so
##LoadModule auth_digest_module libexec/apache22/mod_auth_digest.so
LoadModule file_cache_module libexec/apache22/mod_file_cache.so
LoadModule cache_module libexec/apache22/mod_cache.so
LoadModule disk_cache_module libexec/apache22/mod_disk_cache.so
LoadModule include_module libexec/apache22/mod_include.so
LoadModule filter_module libexec/apache22/mod_filter.so
##LoadModule charset_lite_module libexec/apache22/mod_charset_lite.so
##LoadModule deflate_module libexec/apache22/mod_deflate.so
LoadModule log_config_module libexec/apache22/mod_log_config.so
LoadModule logio_module libexec/apache22/mod_logio.so
##LoadModule env_module libexec/apache22/mod_env.so
LoadModule mime_magic_module libexec/apache22/mod_mime_magic.so
##LoadModule cern_meta_module libexec/apache22/mod_cern_meta.so
##LoadModule expires_module libexec/apache22/mod_expires.so
##LoadModule headers_module libexec/apache22/mod_headers.so
##LoadModule usertrack_module libexec/apache22/mod_usertrack.so
LoadModule unique_id_module libexec/apache22/mod_unique_id.so
##LoadModule setenvif_module libexec/apache22/mod_setenvif.so
#LoadModule ssl_module libexec/apache22/mod_ssl.so
LoadModule mime_module libexec/apache22/mod_mime.so
##LoadModule dav_module libexec/apache22/mod_dav.so
##LoadModule status_module libexec/apache22/mod_status.so
LoadModule autoindex_module libexec/apache22/mod_autoindex.so
LoadModule asis_module libexec/apache22/mod_asis.so
LoadModule info_module libexec/apache22/mod_info.so
LoadModule cgi_module libexec/apache22/mod_cgi.so
##LoadModule dav_fs_module libexec/apache22/mod_dav_fs.so
##LoadModule vhost_alias_module libexec/apache22/mod_vhost_alias.so
LoadModule negotiation_module libexec/apache22/mod_negotiation.so
LoadModule dir_module libexec/apache22/mod_dir.so
LoadModule imagemap_module libexec/apache22/mod_imagemap.so
##LoadModule actions_module libexec/apache22/mod_actions.so
##LoadModule speling_module libexec/apache22/mod_speling.so
##LoadModule userdir_module libexec/apache22/mod_userdir.so
LoadModule alias_module libexec/apache22/mod_alias.so
##LoadModule rewrite_module libexec/apache22/mod_rewrite.so



--
Thanks,
Charles
http://bubbabbq.homeunix.net
Personal web site, Apache 2.2.11, FreeBSD-6.4-STABLE

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


Re: Creating a custom install disk for Freebsd?

2009-04-12 Thread Charles Howse


On Apr 12, 2009, at 7:45 PM, Steve Lake wrote:

   Hi all.  I'm looking at trying to create a custom install  
disk for Freebsd based off an existing install to make  
reinstallation quick and painless


Hi Steve,
FreeBSD's install can be scripted...
Quoted from "BSD Hacks" by Dru Lavigne
"FreeBSD's install mechanism lives in /stand/sysinstall. Not  
surprisingly, man sysinstall
describes all of the scriptable bits of this program. I'll go over  
some useful parameters, but
you'll definitely want to skim through the manpage to see if there are  
additional parameters

suited to your particular environment.
FreeBSD also comes with a commented, ready-to-customize install  
script, located in
/usr/src/usr.sbin/sysinstall/install.cfg. Copy this file, then edit  
the copy in your favorite

editor."

OTOH, a bootable dvd with a cloned image on it would be a much simpler  
solution, IMHO.



--
Thanks,
Charles

Things you'd like to say out lout at work, but can't...
What am I? Flypaper for freaks!?

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


Re: /usr/bin/calendar in cgi script

2009-04-12 Thread Charles Howse

Yes, I was reminded of the   tags, and that solved it.
Thanks!

On Apr 12, 2009, at 3:58 PM, Modulok wrote:


I don't know what program you're using for your CGI stuff, but
basically all that is needed is the '' tags. Here is an
example which uses PHP to call the system 'calendar' command:





Modulore Training Media


Hello world. Calling UNIX calendar program via PHP:







On 4/11/09, Charles Howse  wrote:


On Apr 11, 2009, at 2:07 PM, Robert Huff wrote:



Charles Howse writes:


Now, when I run that script in a terminal, the output is perfectly
formatted, multiple lines (if there are multiple events on this
date),
date first, event, year.  Just right.

But, when I put that in an "include" statement in a webpage, the
output is a single line, regardless of whether there are multiple
events.
You can see a bad example here:

<http://bubbabbq.homeunix.net/history_cgi.shtml>

How can I make multiple events show on separate lines, like it
does in terminal?


Would I be correct in believing you're unfamiliar with html?


You would most certainly NOT BE CORRECT.  I've had my own server
running Apache for years.

I don't think this is something that can be solved with html tags,  
but

I will try Brad's suggestions.
Read man calendar about how it uses cpp, and how the calendar.* files
are formatted.
If I recall, I used this same technique years ago and had a simple,
elegant way of solving it using some default tool like col, though
that doesn't seem to work now.

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




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


Re: /usr/bin/calendar in cgi script

2009-04-11 Thread Charles Howse


On Apr 11, 2009, at 2:07 PM, Robert Huff wrote:



Charles Howse writes:


Now, when I run that script in a terminal, the output is perfectly
formatted, multiple lines (if there are multiple events on this  
date),

date first, event, year.  Just right.

But, when I put that in an "include" statement in a webpage, the
output is a single line, regardless of whether there are multiple
events.
You can see a bad example here:

<http://bubbabbq.homeunix.net/history_cgi.shtml>

How can I make multiple events show on separate lines, like it
does in terminal?


Would I be correct in believing you're unfamiliar with html?


You would most certainly NOT BE CORRECT.  I've had my own server  
running Apache for years.


I don't think this is something that can be solved with html tags, but  
I will try Brad's suggestions.
Read man calendar about how it uses cpp, and how the calendar.* files  
are formatted.
If I recall, I used this same technique years ago and had a simple,  
elegant way of solving it using some default tool like col, though  
that doesn't seem to work now.


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


/usr/bin/calendar in cgi script

2009-04-11 Thread Charles Howse

Hi,
I have a cgi script on my website that runs:

/usr/bin/calendar -f /usr/share/calendar/calendar.history

Now, when I run that script in a terminal, the output is perfectly  
formatted, multiple lines (if there are multiple events on this date),  
date first, event, year.  Just right.


But, when I put that in an "include" statement in a webpage, the  
output is a single line, regardless of whether there are multiple  
events.

You can see a bad example here:



How can I make multiple events show on separate lines, like it does in  
terminal?



--
Thanks,
Charles

Reasons it's great to be a guy...
You get to think about sex 90% of your waking hours.


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


Re: mergemaster options

2009-04-06 Thread Charles Howse


On Apr 6, 2009, at 10:24 AM, Manolis Kiagias wrote:


Charles Howse wrote:



Actually, I wasn't asking about the CVS line with regard to
mergemaster.  I realize that mergemaster will stop and ask about any
file in its list with a CVS line older than the new file.

What I really want to know is, let's say the file above is
/etc/hosts.allow, and I have customized it according to my needs.
If I leave the old file in /etc, I'm thinking it will still work just
fine.  It's only mergemaster, and maybe cvsup, and things that
actually deal with version control that are concerned with the CVS  
line.

Am I correct?




You are correct. As long as the content of the file is right for the
purpose, the line added by CVS is simply ignored by anything and
everything - except mergemaster and friends when upgrading.


As I suspected.  Thanks for the confirmation.

I have completed my upgrade to 6.4-STABLE with the following hiccups:
mergemaster -iU couldn't find a btree database, so it skipped the auto  
update.  It did save a database at the end, so I assume I can use that  
next time.
I never thought to check for which side of the screen the old file was  
on after I chose "m" to merge.
Finally figured out that the old file is on the left, and the temp on  
the right.


Once finished completely, there were no problems I couldn't recover  
from.  Good thing this is a brand new installation, with only 2  
accounts!  :-)


Thanks for all the help!

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


Re: mergemaster options

2009-04-06 Thread Charles Howse


On Apr 6, 2009, at 7:03 AM, Manolis Kiagias wrote:


Charles Howse wrote:

Hi,
I'm upgrading form 4.6-RELEASE to 4.6-STABLE.
When I get to the *second* run of mergemaster (after installworld),
I'd be interested to hear the list's comments on using options to
start mergemaster.

For example, have you had good luck with:
mergemaster -i -u (install any files that don't already exist, and
attempt to install any files that haven't been user-modified)


Yes, I am using this all the time. Note that you need a capital "U":

mergemaster -iU


Right, capital U.  That's good to know. Thanks.





Also, what is the first line of a file used for?  What parts of the  
OS
'care' about that line?  What would happen if I kept the existing  
file

below, with it's older date and version #?  (This is just a made-up
example).

keep this existing file:
# $FreeBSD: src/etc/csh.cshrc,v 1.3 1999/08/27 23:23:40 peter Exp $
my custom line
blah

delete this (fake) temporary file:
# $FreeBSD: src/etc/csh.cshrc,v 1.4 2000/08/27 23:23:40 peter Exp $
blah
blah

I hope that's clear...?



The lines you see starting with $FreeBSD are used by the Version  
Control

System (CVS or SVN).
You have to judge by the content of the older file (not by the tag)
whether to keep or upgrade the file. Usually, you will let it upgrade
all files which you have not modified yourself. In some of these the
only thing that changes is the tag.
Before doing the mergemaster step, I suggest you keep a complete  
backup
copy of your /etc directory.  It may happen that you replace a file  
you

actually need. And it is a real problem if you overwrite, say,
master.passwd :)


Actually, I wasn't asking about the CVS line with regard to  
mergemaster.  I realize that mergemaster will stop and ask about any  
file in its list with a CVS line older than the new file.


What I really want to know is, let's say the file above is /etc/ 
hosts.allow, and I have customized it according to my needs.
If I leave the old file in /etc, I'm thinking it will still work just  
fine.  It's only mergemaster, and maybe cvsup, and things that  
actually deal with version control that are concerned with the CVS line.

Am I correct?


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


Re: mergemaster options

2009-04-06 Thread Charles Howse


On Apr 6, 2009, at 5:43 AM, Charles Howse wrote:


Hi,
I'm upgrading form 4.6-RELEASE to 4.6-STABLE.


So sorry...that should be from 6.4-RELEASE to 6.4-STABLE
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


mergemaster options

2009-04-06 Thread Charles Howse

Hi,
I'm upgrading form 4.6-RELEASE to 4.6-STABLE.
When I get to the *second* run of mergemaster (after installworld),  
I'd be interested to hear the list's comments on using options to  
start mergemaster.


For example, have you had good luck with:
mergemaster -i -u (install any files that don't already exist, and  
attempt to install any files that haven't been user-modified)


Also, what is the first line of a file used for?  What parts of the OS  
'care' about that line?  What would happen if I kept the existing file  
below, with it's older date and version #?  (This is just a made-up  
example).


keep this existing file:
# $FreeBSD: src/etc/csh.cshrc,v 1.3 1999/08/27 23:23:40 peter Exp $
my custom line
blah

delete this (fake) temporary file:
# $FreeBSD: src/etc/csh.cshrc,v 1.4 2000/08/27 23:23:40 peter Exp $
blah
blah

I hope that's clear...?


--
Later,
Charles





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


Re: WinPopUp type messages from FreeBSD to Mac OS X

2009-04-01 Thread Charles Howse


On Apr 1, 2009, at 3:15 PM, Terry wrote:


Charles Howse wrote:

Hi,
Anyone know of a command-line program that will pop-up a window on  
my Mac with a message from FreeBSD?
If you ever used earlier versions of Windows, there was 'net  
send' ('course, that was Windows to Windows).



smbclient -M If I recall


I assume that Samba needs to be installed and running on sending and  
receiving computers for that to work?  Just tried it from the Mac to  
FreeBSD, and it returned "connection to  failed."

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


WinPopUp type messages from FreeBSD to Mac OS X

2009-04-01 Thread Charles Howse

Hi,
Anyone know of a command-line program that will pop-up a window on my  
Mac with a message from FreeBSD?
If you ever used earlier versions of Windows, there was 'net  
send' ('course, that was Windows to Windows).


I'd like to find something that I can script to send a lan IM, for  
example: "Filesystem /var is full!"


Getting an IM lets me respond quicker than waiting to read the next  
morning's email.



--
Thanks,
Charles

Reasons it's great to be a guy...
You don't have to shave below your neck.





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


Re: analyzing httpd-error.log

2009-03-30 Thread Charles Howse


On Mar 30, 2009, at 4:09 PM, Mel Flynn wrote:


On Monday 30 March 2009 22:55:35 Charles Howse wrote:


grep "$date" httpd-error.log | grep -v 192.168.254.254 | grep -v
192.168.254.3 > /root/err.log


Using pcregrep, installed by devel/pcre, typically available on apache
systems:
pcregrep "$date.* \[client (?!192\.168\.254)" /var/log/httpd- 
error.log | \

mail -s"Error log for $date" charles

Should work. As far as I know, look ahead assertions aren't  
supported by re(7)

or the extended version.


Sweet!  Look at the intrusion attempt by 130.79.37.213 (it's from the  
Universite de Strasbourg in France):


[Mon Mar 30 00:02:24 2009] [error] [client 72.14.199.109] File does  
not exist: /usr/local/www/apache22/data/blog.rss
[Mon Mar 30 00:13:26 2009] [error] [client 130.79.37.213] script not  
found or unable to stat: /usr/local/www/apache22/cgi-bin/awstats
[Mon Mar 30 00:13:26 2009] [error] [client 130.79.37.213] script not  
found or unable to stat: /usr/local/www/apache22/cgi-bin/awstats.pl
[Mon Mar 30 00:13:27 2009] [error] [client 130.79.37.213] File does  
not exist: /usr/local/www/apache22/data/cgi
[Mon Mar 30 00:13:29 2009] [error] [client 130.79.37.213] script not  
found or unable to stat: /usr/local/www/apache22/cgi-bin/stats
[Mon Mar 30 00:13:29 2009] [error] [client 130.79.37.213] File does  
not exist: /usr/local/www/apache22/data/stats
[Mon Mar 30 00:13:30 2009] [error] [client 130.79.37.213] File does  
not exist: /usr/local/www/apache22/data/awstats.pl
[Mon Mar 30 00:13:30 2009] [error] [client 130.79.37.213] File does  
not exist: /usr/local/www/apache22/data/cgi
[Mon Mar 30 00:13:30 2009] [error] [client 130.79.37.213] script not  
found or unable to stat: /usr/local/www/apache22/cgi-bin/awstats.pl
[Mon Mar 30 00:13:31 2009] [error] [client 130.79.37.213] File does  
not exist: /usr/local/www/apache22/data/scgi-bin
[Mon Mar 30 00:13:31 2009] [error] [client 130.79.37.213] File does  
not exist: /usr/local/www/apache22/data/scgi-bin
[Mon Mar 30 00:13:31 2009] [error] [client 130.79.37.213] File does  
not exist: /usr/local/www/apache22/data/cgi
[Mon Mar 30 00:13:32 2009] [error] [client 130.79.37.213] File does  
not exist: /usr/local/www/apache22/data/scgi
[Mon Mar 30 00:13:32 2009] [error] [client 130.79.37.213] File does  
not exist: /usr/local/www/apache22/data/scripts
[Mon Mar 30 00:13:32 2009] [error] [client 130.79.37.213] script not  
found or unable to stat: /usr/local/www/apache22/cgi-bin/awstats
[Mon Mar 30 00:13:33 2009] [error] [client 130.79.37.213] File does  
not exist: /usr/local/www/apache22/data/scgi-bin
[Mon Mar 30 00:13:33 2009] [error] [client 130.79.37.213] script not  
found or unable to stat: /usr/local/www/apache22/cgi-bin/stats
[Mon Mar 30 00:13:33 2009] [error] [client 130.79.37.213] File does  
not exist: /usr/local/www/apache22/data/scgi-bin
[Mon Mar 30 00:13:34 2009] [error] [client 130.79.37.213] File does  
not exist: /usr/local/www/apache22/data/stats
[Mon Mar 30 00:13:34 2009] [error] [client 130.79.37.213] File does  
not exist: /usr/local/www/apache22/data/hints.pl
[Mon Mar 30 00:13:34 2009] [error] [client 130.79.37.213] File does  
not exist: /usr/local/www/apache22/data/cgi
[Mon Mar 30 00:13:34 2009] [error] [client 130.79.37.213] File does  
not exist: /usr/local/www/apache22/data/scgi
[Mon Mar 30 00:13:35 2009] [error] [client 130.79.37.213] script not  
found or unable to stat: /usr/local/www/apache22/cgi-bin/hints.pl
[Mon Mar 30 00:13:35 2009] [error] [client 130.79.37.213] File does  
not exist: /usr/local/www/apache22/data/scgi-bin
[Mon Mar 30 00:13:35 2009] [error] [client 130.79.37.213] File does  
not exist: /usr/local/www/apache22/data/hints
[Mon Mar 30 00:13:36 2009] [error] [client 130.79.37.213] script not  
found or unable to stat: /usr/local/www/apache22/cgi-bin/hints
[Mon Mar 30 00:13:36 2009] [error] [client 130.79.37.213] File does  
not exist: /usr/local/www/apache22/data/scgi-bin
[Mon Mar 30 00:13:36 2009] [error] [client 130.79.37.213] File does  
not exist: /usr/local/www/apache22/data/webhints
[Mon Mar 30 00:13:37 2009] [error] [client 130.79.37.213] script not  
found or unable to stat: /usr/local/www/apache22/cgi-bin/webhints
[Mon Mar 30 00:13:37 2009] [error] [client 130.79.37.213] File does  
not exist: /usr/local/www/apache22/data/scgi-bin
[Mon Mar 30 00:13:37 2009] [error] [client 130.79.37.213] File does  
not exist: /usr/local/www/apache22/data/hints.cgi
[Mon Mar 30 00:13:38 2009] [error] [client 130.79.37.213] File does  
not exist: /usr/local/www/apache22/data/cgi
[Mon Mar 30 00:13:38 2009] [error] [client 130.79.37.213] File does  
not exist: /usr/local/www/apache22/data/scgi
[Mon Mar 30 00:13:38 2009] [error] [client 130.79.37.213] script not  
found or unable to stat: /usr/local/www/apache22/cgi-bin/hints.cgi
[Mon Mar 30 00:13:39 2009] [error] [client 130.79.37.213] File does  
not exist: /usr/local/www/apache22/data/scgi-bin
[Mon Mar 30 00:13:39 2009] [er

Re: analyzing httpd-error.log

2009-03-30 Thread Charles Howse


On Mar 30, 2009, at 3:11 PM, Mel Flynn wrote:


On Sunday 29 March 2009 22:25:55 Charles Howse wrote:

On Mar 29, 2009, at 1:54 PM, Glen Barber wrote:

On Sun, Mar 29, 2009 at 1:33 PM, Charles Howse 

wrote:

On Mar 28, 2009, at 11:51 PM, Olivier Nicole wrote:

Hi,

Webalizer is doing what it's supposed to with httpd-access.log,  
but
when I give it the error log to process is coughs, spits and  
spills
out errors with no data processed.  My research hasn't turned  
up a

good solution for webalizer and -error.log.


What are the errors?


Intrusion attempts, (a few) bad links in my website, also I use the
error.log to troubleshoot cgi scripts.


Nothing beats tail -f for debugging.

404's can be gathered from access log, by webalizer (or awstats  
or ...) and
are summarized when enabled. If I remember correctly, there's also a  
referer
top list, that specifies which pages link to invalid pages, but it  
may have

been awstats that does this.

Can't think of anything specific for apache error log, I roll my own  
grok
rules if I'm really interested in a specific vulnerability. See  
sysutils/grok.


Yes, awstats does a fair job of summarizing 404's.
I have a hardware router, not extremely interested in a packet filter  
for my webserver.

I guess I could do some deny from rules in apache.conf if necessary...?

*
#!/bin/sh

date=`date "+%b %e"`

cd /var/log

grep "$date" httpd-error.log | grep -v 192.168.254.254 | grep -v  
192.168.254.3 > /root/err.log


mail -s "httpd-error.log" charles < /root/err.log
*
I run this from cron @ 11:59 PM every night, and that gives me the  
error log for that day.

Maybe I won't miss anything serious between 11:59 and midnight.

Can anyone help with a grep command that will filter out all addresses  
beginning with 192.168.254?

Something to replace the 2 piped commands with only 1.
I tried: grep -v -regexp[^192\.168\.254\.] but that didn't match any  
records...?



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


Re: analyzing httpd-error.log

2009-03-29 Thread Charles Howse


On Mar 29, 2009, at 1:54 PM, Glen Barber wrote:

On Sun, Mar 29, 2009 at 1:33 PM, Charles Howse   
wrote:


On Mar 28, 2009, at 11:51 PM, Olivier Nicole wrote:


Hi,


Webalizer is doing what it's supposed to with httpd-access.log, but
when I give it the error log to process is coughs, spits and spills
out errors with no data processed.  My research hasn't turned up a
good solution for webalizer and -error.log.




What are the errors?


Intrusion attempts, (a few) bad links in my website, also I use the  
error.log to troubleshoot cgi scripts.




The format of error log is pretty much different from the format of
transfer log. No wonder webalizer is not liking it. You may have to
write your own format for th error log.


Well, can anyone suggest a port that will parse the error.log and  
output it

to a web page that's easy to read?



Webalizer is probably your best bet.

Also, in httpd.conf what level of detail should I set in the  
error.log to
get the most information.  It's currently set to 'warn', which I  
understand
to be 'warn' and everything more critical than that.  I don't care  
about the

size of the log, or the amount of garbage per line.


The 'debug' log level will provide the most verbosity.


Thanks, Glen.


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


Re: analyzing httpd-error.log

2009-03-29 Thread Charles Howse


On Mar 28, 2009, at 11:51 PM, Olivier Nicole wrote:


Hi,


Webalizer is doing what it's supposed to with httpd-access.log, but
when I give it the error log to process is coughs, spits and spills
out errors with no data processed.  My research hasn't turned up a
good solution for webalizer and -error.log.


The format of error log is pretty much different from the format of
transfer log. No wonder webalizer is not liking it. You may have to
write your own format for th error log.


Well, can anyone suggest a port that will parse the error.log and  
output it to a web page that's easy to read?


Also, in httpd.conf what level of detail should I set in the error.log  
to get the most information.  It's currently set to 'warn', which I  
understand to be 'warn' and everything more critical than that.  I  
don't care about the size of the log, or the amount of garbage per line.

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


analyzing httpd-error.log

2009-03-28 Thread Charles Howse

Hi,
I'm running 6.4-STABLE, Apache22, logwatch and Webalizer.

Webalizer is doing what it's supposed to with httpd-access.log, but  
when I give it the error log to process is coughs, spits and spills  
out errors with no data processed.  My research hasn't turned up a  
good solution for webalizer and -error.log.


In httpd.conf, I'm using both common and combined log formats.   
Webalizer will read them both.


With logwatch, and even with the log detail turned up to 7, I'm not  
getting the detail I want from the error.log.  I want to see  
*everything* in that log.


Anybody got a solution?


--
Thanks,
Charles

Things that make you say, Hmm...
If you were a pastor, and you were getting married, would you hire a  
pastor, or would you do the wedding yourself?


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


Re: Portsnap vs CSup

2009-03-19 Thread Charles Howse


On Mar 19, 2009, at 2:13 PM, Adam Vandemore wrote:

freebsd-update is another matter though.  Base system security  
updates are distributed via that channel(binary updates) so it's a  
good idea to run that regularly.


I just noticed the description in the man page for freebsd-update:

..."Note that updates are only available if they are being built for  
the FreeBSD release and architecture being used; in particular, the  
FreeBSD Security Team only builds updates for releases shipped in  
binary form by the FreeBSD Release Engineering Team, e.g., FreeBSD 6.1- 
RELEASE and FreeBSD 6.2-RC1, but not FreeBSD 6.2-STABLE or FreeBSD 7.0- 
CURRENT."

Is this saying that I can't get a binary upgrade for 6.4-STABLE?
(You would not believe how long the make world process takes on a  
Pentium 200!!)


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


Re: Physical location of cvsup servers

2009-03-17 Thread Charles Howse


On Mar 17, 2009, at 9:31 PM, Steve Bertrand wrote:


Charles Howse wrote:


On Mar 17, 2009, at 8:40 PM, Steve Bertrand wrote:


What do you want to achieve? fastest_cvsup will tell you  
addressing of
the servers. You will have to contact those responsible for the  
IPs to

see where they are located to ensure any form of accuracy regarding
geo-location.


Mainly, it's curiosity.  I know-fer-a-fact I saw a list of physical
locations back when 4.x was the latest release.  Probably been  
deleted.


fastest_cvsup usually tells me #17 is fastest, but it times out a  
lot, I

mean A LOT, from here.


Fastest, (in this case) != most reliable.

Can you produce the output of fastest_cvsup, include the top two  
results

(add #17 if it isn't included), and then provide the output of a
traceroute to #17?


r...@curly /root# fastest_cvsup -c us
>>  Querying servers in countries: us
--> Connecting to cvsup.us.freebsd.org [198.104.69.57]...
* error: connect: timeout
--> Connecting to cvsup2.us.freebsd.org [130.94.149.166]...
- server replied: OK 17 0 SNAP_16_1h CVSup server ready
- time taken: 62.86 ms
--> Connecting to cvsup3.us.freebsd.org [128.31.0.28]...
- server replied: OK 17 0 SNAP_16_1h CVSup server ready
- time taken: 55.50 ms
--> Connecting to cvsup4.us.freebsd.org [204.152.184.73]...
- server replied: OK 17 0 SNAP_16_1h CVSup server ready
- time taken: 90.92 ms
--> Connecting to cvsup5.us.freebsd.org [208.83.20.166]...
- server replied: OK 17 0 SNAP_16_1h CVSup server ready
- time taken: 81.31 ms
--> Connecting to cvsup6.us.freebsd.org [216.14.98.190]...
* error: connect: timeout
--> Connecting to cvsup7.us.freebsd.org [128.205.32.60]...
- server replied: OK 17 0 SNAP_16_1h CVSup server ready
- time taken: 67.65 ms
--> Connecting to cvsup8.us.freebsd.org [216.165.129.134]...
- server replied: OK 17 0 SNAP_16_1h CVSup server ready
- time taken: 68.22 ms
--> Connecting to cvsup9.us.freebsd.org [128.205.32.21]...
- server replied: OK 17 0 SNAP_16_1h CVSup server ready
- time taken: 66.51 ms
--> Connecting to cvsup10.us.freebsd.org [69.147.83.48]...
- server replied: OK 17 0 SNAP_16_1h CVSup server ready
- time taken: 97.16 ms
--> Connecting to cvsup11.us.freebsd.org [63.87.62.77]...
- server replied: OK 17 0 SNAP_16_1h CVSup server ready
- time taken: 50.68 ms
--> Connecting to cvsup12.us.freebsd.org [128.46.156.46]...
* error: connect: timeout
--> Connecting to cvsup13.us.freebsd.org [216.32.84.70]...
* error: connect: Invalid argument
--> Connecting to cvsup14.us.freebsd.org [216.87.87.128]...
- server replied: OK 17 0 SNAP_16_1h CVSup server ready
- time taken: 119.39 ms
--> Connecting to cvsup15.us.freebsd.org [35.9.37.225]...
- server replied: OK 17 0 SNAP_16_1h CVSup server ready
- time taken: 57.43 ms
--> Connecting to cvsup16.us.freebsd.org [128.143.108.35]...
- server replied: OK 17 0 SNAP_16_1h CVSup server ready
- time taken: 63.13 ms
--> Connecting to cvsup17.us.freebsd.org [65.212.71.21]...
- server replied: OK 17 0 SNAP_16_1h CVSup server ready
- time taken: 34.74 ms
--> Connecting to cvsup18.us.freebsd.org [128.205.32.60]...
- server replied: OK 17 0 SNAP_16_1h CVSup server ready
- time taken: 61.17 ms

>>  Speed Daemons:
- 1st: cvsup17.us.freebsd.org   34.74 ms
- 2st: cvsup11.us.freebsd.org   50.68 ms
- 3st: cvsup3.us.freebsd.org55.50 ms

For some reason, traceroute has never worked on any of my *nix boxes.
There are s many reasons that might cause that.  Too many to go  
into, but mostly the way I set up my lan, the router settings and  
options, etc.


I have 2 FreeBSD, a Mac, and an XP machine.
On the XP machine, tracert times out after 12 hops, however the ip did  
resolve to.

"THE WEATHER CHANNEL" - ncvsup.twc.waether.com
That in itself may be reason enough for the timeouts...?




Perhaps you have a faulty asymmetric path to 17...

It is important to know that just because a server may be literally
located at the building across the street, it doesn't mean that you  
are

guaranteed a path that may not cross the country (and in some
situations, across an ocean) and back.

I don't know where you are located, but generally, I've found cvsup8  
to
be extremely quick (in terms of latency) and very reliable for a  
number

of years.


I'm in Central West Tennessee.



Steve


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


Re: Physical location of cvsup servers

2009-03-17 Thread Charles Howse


On Mar 17, 2009, at 8:40 PM, Steve Bertrand wrote:


Charles Howse wrote:


On Mar 17, 2009, at 7:31 PM, Steve Bertrand wrote:


Don Read wrote:

On Tue, 17 Mar 2009 18:50:46 -0500 Charles Howse said:


Hi,
Can anyone point me to a link that shows the physical location  
of the

U.S. cvsup servers?




Not physical, but by wire time:

localhost# fastest_cvsup -c us


Nope...looking for city,state.



What do you want to achieve? fastest_cvsup will tell you addressing of
the servers. You will have to contact those responsible for the IPs to
see where they are located to ensure any form of accuracy regarding
geo-location.


Mainly, it's curiosity.  I know-fer-a-fact I saw a list of physical  
locations back when 4.x was the latest release.  Probably been deleted.


fastest_cvsup usually tells me #17 is fastest, but it times out a lot,  
I mean A LOT, from here.


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


Re: Physical location of cvsup servers

2009-03-17 Thread Charles Howse


On Mar 17, 2009, at 7:31 PM, Steve Bertrand wrote:


Don Read wrote:

On Tue, 17 Mar 2009 18:50:46 -0500 Charles Howse said:


Hi,
Can anyone point me to a link that shows the physical location of  
the

U.S. cvsup servers?




Not physical, but by wire time:

localhost# fastest_cvsup -c us


Nope...looking for city,state.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Physical location of cvsup servers

2009-03-17 Thread Charles Howse

Hi,
Can anyone point me to a link that shows the physical location of the  
U.S. cvsup servers?



--
Thanks,
Charles

Things that make you say, Hmm...
How fast do you have to go to keep up with the sun so you're never in  
darkness?


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


Re: portsnap ignores REFUSE directives

2009-03-16 Thread Charles Howse


On Mar 16, 2009, at 2:43 PM, Charles Howse wrote:



On Mar 16, 2009, at 2:28 PM, RW wrote:


On Mon, 16 Mar 2009 12:18:06 -0500
Charles Howse  wrote:


Hi,
I just installed 6.4-RELEASE on the way to -STABLE.
I chose NOT to install the ports during installation.
I configured /etc/portsnap.conf, uncommenting the REFUSE directives,
because I only speak English.

I created the proper directories, including /usr/ports.
I ran 'portsnap fetch extract', and now I find arabic, chinese,
french, german, hebrew, hungarian, etc. in my ports tree.

What might be the problem here?


Are these directories actually populated with ports?

If not, my guess is that it's simply ignoring ports that match the
category, rather than removing the category entirely.


I checked the chinese, and yes, there are ports as well as the  
makefile etc. under the port.

Looks completely normal as if I wasn't using REFUSE.

If you look at the /etc/portsnap.conf file, the lines look like this:
#
#
# REFUSE this that t'other
# REFUSE some more stuff

I just deleted the '#' and left the space at the beginning of the  
line.

Surely that wouldn't fubar it, would it?
I'll try again and remove the leading space, but I'n not optimistic.

Is the portsnap author a member of this list?


I fired off a quick email to the portsnap author, and here is his reply:


Hello,
I was just wondering if you were answering questions about portsnap?
You might want to look at the thread on freebsd-questions titled  
'portsnap ignores REFUSE directives'


REFUSE directives must start a line in portsnap.conf -- your leading
whitespace is making portsnap not recognize the option.


I guess that settles that.  :-)  Nice to know that folks higher in the  
FreeBSD 'food chain' are so quick to respond and help.


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


Re: portsnap ignores REFUSE directives

2009-03-16 Thread Charles Howse


On Mar 16, 2009, at 2:28 PM, RW wrote:


On Mon, 16 Mar 2009 12:18:06 -0500
Charles Howse  wrote:


Hi,
I just installed 6.4-RELEASE on the way to -STABLE.
I chose NOT to install the ports during installation.
I configured /etc/portsnap.conf, uncommenting the REFUSE directives,
because I only speak English.

I created the proper directories, including /usr/ports.
I ran 'portsnap fetch extract', and now I find arabic, chinese,
french, german, hebrew, hungarian, etc. in my ports tree.

What might be the problem here?


Are these directories actually populated with ports?

If not, my guess is that it's simply ignoring ports that match the
category, rather than removing the category entirely.


I checked the chinese, and yes, there are ports as well as the  
makefile etc. under the port.

Looks completely normal as if I wasn't using REFUSE.

If you look at the /etc/portsnap.conf file, the lines look like this:
#
#
# REFUSE this that t'other
# REFUSE some more stuff

I just deleted the '#' and left the space at the beginning of the line.
Surely that wouldn't fubar it, would it?
I'll try again and remove the leading space, but I'n not optimistic.

Is the portsnap author a member of this list?

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


portsnap ignores REFUSE directives

2009-03-16 Thread Charles Howse

Hi,
I just installed 6.4-RELEASE on the way to -STABLE.
I chose NOT to install the ports during installation.
I configured /etc/portsnap.conf, uncommenting the REFUSE directives,  
because I only speak English.


I created the proper directories, including /usr/ports.
I ran 'portsnap fetch extract', and now I find arabic, chinese,  
french, german, hebrew, hungarian, etc. in my ports tree.


What might be the problem here?


--
Thanks,
Charles

Things that make you say, Hmm...
If you spend your day doing nothing, how do you know when you're done?

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


Re: ports/packages (sysinstall and dependencies)

2006-07-06 Thread Charles Howse


On Jul 6, 2006, at 1:16 PM, Lowell Gilbert wrote:


Charles Howse <[EMAIL PROTECTED]> writes:


Hi,
6.1-RELEASE-p2
I recently used sysinstall to install cups-1.1.23 via packages/ftp/
Main Site.
That adds ghostscript-gnu and xorg-libraries as dependencies.

That's not what I wanted, I don't use a gui, so I selected
ghostscript-gnu-no-X11.
That didn't work, it installed ghostscript-gnu first and the no-X11
install failed.

Now I'm stuck with xorg-libraries, which I don't need nor want.

Is there a way to install ghostscript-gnu-no-X11 and fix the cups
dependencies?

What would have been the proper way to use sysinstall/packages or
pkg_add and get no-X11 instead of regular ghostscript-gnu?


I'm not sure I'm understanding your situation properly, but packages
really work best if you are willing to live with whatever the default
options are.  If you want to tune the installation for your  
environment,

the ports system will do so a lot easier than autofetched packages.


The situation is under control now.  What I was trying to do was get  
cups-1.1.23 as a package, since it is not available in the ports  
system.  Ports has 1.2.0.

I will live with xorg-libraries.  :)

--
A Great place to have fun and learn about Barbecue -
http://bubbabbq.homeunix.net


___
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.1 w/cups

2006-07-05 Thread Charles Howse


On Jul 5, 2006, at 12:44 PM, Raymond Gibson wrote:


Hello, I'm trying to install an HP Photosmart printer using cups.

All the online documentation I've read tells me to mv cups.sh.sample
int /usr/local/etc/rc.d/cups.sh. The problem i have is  
cups.sh.sample is
nowhere to be found. Is this a ports build error or a documentation  
error?


i tried to 'deinstall/reinstall' cups, but that didn't help.

any help would be appreciated.


What version of cups? Ports/print/cups-1.2.0 STINKS!! Packges/  
cups-1.1.23 is what I use.

Cups starts via /usr/local/etc/rc.d/cupsd

# Add the following to /etc/rc.conf[.local] to enable this service
#
# cupsd_enable="YES"

--
How I make Great Barbecue -
http://bubbabbq.homeunix.net/bbq.html


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


sysinstall and dependencies

2006-07-04 Thread Charles Howse

Hi,
6.1-RELEASE-p2
I recently used sysinstall to install cups-1.1.23 via packages/ftp/ 
Main Site.

That adds ghostscript-gnu and xorg-libraries as dependencies.

That's not what I wanted, I don't use a gui, so I selected  
ghostscript-gnu-no-X11.
That didn't work, it installed ghostscript-gnu first and the no-X11  
install failed.


Now I'm stuck with xorg-libraries, which I don't need nor want.

Is there a way to install ghostscript-gnu-no-X11 and fix the cups  
dependencies?


What would have been the proper way to use sysinstall/packages or  
pkg_add and get no-X11 instead of regular ghostscript-gnu?


--
How I make Great Barbecue -
http://bubbabbq.homeunix.net/bbq.html


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


Can't print to CUPS from Macintosh

2006-07-02 Thread Charles Howse

Hi,
I need some help getting a FreeBSD print server to print jobs from my  
Mac.
Previous versions of CUPS worked perfect on the same computer(s),  
same version of FreeBSD.


FreeBSD 6.1-RELEASE-p2, cups-1.2.0, Mac OS X 10.4.7

Printing a test page from the web interface works fine, and the  
printer is on my browse list on the Mac, but printing from the Mac  
doesn't work.


I've tried printing plain text, pdf, and MS Word for Mac files.
All fail with "/usr/local/libexec/cups/filter/foomatic-rip failed"  
displayed on the printer page of the web interface,


A single sheet of paper is ejected from the printer, with this:
Error: /undefined in Produced
 Operand stack:
   Execution stack:
  % 
interp_exit .ru

(Note the stair-step effect)

The error log is here: http://bubbabbq.homeunix.net/error_log

[EMAIL PROTECTED] /root# cat /usr/local/etc/cups/cupsd.conf
# Log general information in error_log - change "info" to "debug" for
# troubleshooting...
LogLevel debug


# Administrator user group...
SystemGroup wheel


# Only listen for connections from the local machine.
Listen 127.0.0.1:631
Listen 192.168.254.4:631
Listen /var/run/cups.sock


# Show shared printers on the local network.
Browsing On
BrowseAddress 192.168.254.255:631
BrowseOrder allow,deny
BrowseAllow from all


# Authenticate against system accounts by default...
DefaultAuthType Basic

# Restrict access to the server...

  Order allow,deny
  Allow localhost
  Allow 192.168.254.3


# Restrict access to the admin pages...

  Encryption Required
  Order allow,deny
  Allow localhost
  Allow 192.168.254.3


# Restrict access to configuration files...

  AuthType Basic
  Require user @SYSTEM
  Order allow,deny
  Allow localhost
  Allow 192.168.254.3


# Set the default printer/job policies...

  # Job-related operations must be done by the owner or an  
adminstrator...
  Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew- 
Subscription Cancel-Subscription Get-Notifications Reprocess-Job  
Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job>

Require user @OWNER @SYSTEM
Order deny,allow
  

  # All administration operations require an adminstrator to  
authenticate...
  Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs  
Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart- 
Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job- 
After CUPS-Add-Printer CUPS-Delete-Printer CUPS-Add-Class CUPS-Delete- 
Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default>

AuthType Basic
Require user @SYSTEM
Order deny,allow
  

  # Only the owner or an administrator can cancel or authenticate a  
job...

  
Require user @OWNER @SYSTEM
Order deny,allow
  

  
Order deny,allow
  



[EMAIL PROTECTED] /root# cat /usr/local/etc/cups/printers.conf
# Printer configuration file for CUPS v1.2.0
# Written by cupsd on 2006-07-01 17:16

Info HP1100 LaserJet
Location Desktop
DeviceURI parallel:/dev/lpt0
State Idle
StateTime 1151788202
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer


--
How I make Great Barbecue -
http://bubbabbq.homeunix.net/bbq.html


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


Re: permissions in devfs.conf don't stick

2006-07-01 Thread Charles Howse


On Jul 1, 2006, at 2:44 PM, Anish Mistry wrote:


On Saturday 01 July 2006 14:34, Charles Howse wrote:

On Jul 1, 2006, at 12:16 PM, Anish Mistry wrote:

On Saturday 01 July 2006 11:54, Charles Howse wrote:

I've added the following to /etc/devfs.conf:
own lpt0root:wheel
permlpt00660

Save that, then, # chmod 0660 /dev/lpt0

When I reboot, the permissions revert to the default of 0600.
Anyone know why that is?


man devfs.rules
http://am-productions.biz/docs/devfs.rules.php


Sorry, this just isn't working for me.

/etc/rc.conf contains:
devfs_rulesets="/etc/defaults/devfs.rules /etc/devfs.rules"
devfs_system_ruleset="local_rules"

$ cat /etc/devfs.rules
[local_rules=10]
add path lpt0 mode 660 group wheel

devfs does not complain when I restart it.

When you restart devfs "/etc/rc.d/devfs restart" are the correct
permission that you've set in devfs.rules applied?


Well, they are now.  I decided to press "Enter" at the end of the  
second line in devfs.rules.

Apparently, that's what it wanted.

That seems to me to be an inconsistency with lots of files.  Some  
want the cr/lf, some don't.


--
Thanks,
Charles
http://bubbabbq.homeunix.net


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


Re: permissions in devfs.conf don't stick

2006-07-01 Thread Charles Howse


On Jul 1, 2006, at 12:16 PM, Anish Mistry wrote:


On Saturday 01 July 2006 11:54, Charles Howse wrote:

I've added the following to /etc/devfs.conf:
own lpt0root:wheel
permlpt00660

Save that, then, # chmod 0660 /dev/lpt0

When I reboot, the permissions revert to the default of 0600.
Anyone know why that is?

man devfs.rules
http://am-productions.biz/docs/devfs.rules.php


Sorry, this just isn't working for me.

/etc/rc.conf contains:
devfs_rulesets="/etc/defaults/devfs.rules /etc/devfs.rules"
devfs_system_ruleset="local_rules"

$ cat /etc/devfs.rules
[local_rules=10]
add path lpt0 mode 660 group wheel

devfs does not complain when I restart it.
I've tried:
'lpt*'
'lpt0*'

No matter what, the permissions revert to 600 when I reboot.
How about a little nudge in the right direction?  :)


--
Webmaster's Computer Page -
http://bubbabbq.homeunix.net/webmaster.html


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


permissions in devfs.conf don't stick

2006-07-01 Thread Charles Howse

I've added the following to /etc/devfs.conf:
own lpt0root:wheel
permlpt00660

Save that, then, # chmod 0660 /dev/lpt0

When I reboot, the permissions revert to the default of 0600.
Anyone know why that is?

--
Bubba's Funny Stuff -
http://bubbabbq.homeunix.net/humor.html


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


cups fails to recognize parallel port

2006-06-30 Thread Charles Howse

Hi,
I posted this same question to cups.general list, and have not  
received an answer yet.

Can anyone help?

cups-1.2.0 on FreeBSD-6.1-RELEASE-p2
HP1100 parallel port printer on lpt0.

[EMAIL PROTECTED] /root# dmesg | more
...
ppc0:  at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0:  on ppc0
ppbus0: IEEE1284 device found /NIBBLE/ECP
Probing for PnP devices on ppbus0:
ppbus0:  PRINTER MLC,PCL,PJL
plip0:  on ppbus0
lpt0:  on ppbus0
lpt0: Interrupt-driven port
...

Printer -=IS=- on, -=IS=- connected, lptest > /dev/lpt0 works.

[EMAIL PROTECTED] /root# find / backend
...
find: backend: No such file or directory

I have done make deinstall, make reinstall on all the applicable  
ports, no joy.
The web interface does not auto-detect my printer, nor can I add it  
for lack of the parallel port choice.
The prior version of cups worked on the same computer with the same  
version of FreeBSD.


What's wrong?

--
Thanks,
Charles
http://bubbabbq.homeunix.net


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


Re: installkernel

2006-06-06 Thread Charles Howse


On Jun 6, 2006, at 12:08 PM, Jonathan Herriott wrote:

Ok, so I obtained the latest release of the kernel source, and I  
followed
what it said to do in the /usr/src/Makefile.  Here's what it says  
in the

Makefile:

# For individuals wanting to upgrade their sources (even if only a
# delta of a few days):
#
#  1.  `cd /usr/src'   (or to the directory containing your source
tree).
#  2.  `make buildworld'
#  3.  `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is
GENERIC).
#  4.  `make installkernel KERNCONF=YOUR_KERNEL_HERE'   (default is
GENERIC).
#  5.  `reboot'(in single user mode: boot -s from the loader
prompt).
#  6.  `mergemaster -p'
#  7.  `make installworld'
#  8.  `make delete-old'
#  9.  `mergemaster'
# 10.  `reboot'
# 11.  `make delete-old-libs' (in case no 3rd party program uses them
anymore)
#

Because this is my first time trying to install the kernel, I'm  
just using

the GENERIC configuration (will fix it once I figure out the correct
process).  Here's the errors I get when doing installkernel:

make installkernel
ERROR: Required audit group is missing, see /usr/src/UPDATING.
*** Error code 1

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

Stop in /usr/src.


The big problem is that nothing in /usr/src/UPDATING really  
explains why it

is doing this or what I need to change.  Here's what it says:

20060204:
   The 'audit' group was added to support the new auditing
functionality
   in the base system.  Be sure to follow the directions for  
updating,

   including the requirement to run mergemaster -p.

As far as the Makefile goes, I am building and installing the makefile
correctly.  Is there anything else I need to add?


You need to merge your /etc/groups and the new /etc/groups that  
contains the audit group.

# mergemaster -p
then start over.

BTW, /usr/src/UPDATING is the definitive source for how to update  
your system/kernel.

Also reference the Handbook:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

--
Bubba's Funny Stuff -
http://bubbabbq.homeunix.net/humor.html


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


Re: rsync errors

2006-05-28 Thread Charles Howse


On May 28, 2006, at 11:41 PM, Philip Hallstrom wrote:

I have rsync installed on 2 6.1-RELEASE boxes on my home lan.  I  
want to sync the webserver (curly) to the backup server (moe).   
When I run rsync on moe, I get the following:


$ rsync -avz curly:/usr/local/etc/apache22/httpd.conf /usr/local/ 
etc/apache22

Password:
receiving file list ... done
rsync: mkstemp "/usr/local/etc/apache22/.httpd.conf.p9eLuI"  
failed: Permission denied (13)

inflate returned -3 (0 bytes)
rsync error: error in rsync protocol data stream (code 12) at  
token.c(421) [receiver=2.6.8]
rsync: connection unexpectedly closed (46 bytes received so far)  
[generator]
rsync error: error in rsync protocol data stream (code 12) at io.c 
(472) [generator=2.6.8]


Where can I look to correct this?


Do you have write access to moe:/usr/local/etc/apache22?  What  
happens if you try and create a file in that directory... does it  
work?


It was a permissions problem, fixed now, thanks very much.


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


rsync errors

2006-05-28 Thread Charles Howse

Hi,
I have rsync installed on 2 6.1-RELEASE boxes on my home lan.  I want  
to sync the webserver (curly) to the backup server (moe).  When I run  
rsync on moe, I get the following:


$ rsync -avz curly:/usr/local/etc/apache22/httpd.conf /usr/local/etc/ 
apache22

Password:
receiving file list ... done
rsync: mkstemp "/usr/local/etc/apache22/.httpd.conf.p9eLuI" failed:  
Permission denied (13)

inflate returned -3 (0 bytes)
rsync error: error in rsync protocol data stream (code 12) at token.c 
(421) [receiver=2.6.8]
rsync: connection unexpectedly closed (46 bytes received so far)  
[generator]
rsync error: error in rsync protocol data stream (code 12) at io.c 
(472) [generator=2.6.8]


Where can I look to correct this?

--
Bubba's Recipe Collection -
http://bubbabbq.homeunix.net/recipes.html


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


Re: Best Practices - interrupt storm

2006-05-23 Thread Charles Howse

Thanks very much, I'll also make a note to check the FAQ before posting.

On May 23, 2006, at 10:45 AM, fbsd wrote:


Stray irq 7 messages
The FBSD FAQ entry says

5.24. What does ``stray IRQ'' mean?

Stray IRQs are indications of hardware IRQ glitches, mostly from
hardware that removes its interrupt request in the middle of the
interrupt request acknowledge cycle.

One has three options for dealing with this:

1. Live with the warnings. All except the first 5 per IRQ are
suppressed anyway.

2. Break the warnings by changing 5 to 0 in isa_strayintr() so that
all the warnings are suppressed.

3. Break the warnings by installing parallel port hardware that uses
IRQ 7 and the PPP driver for it (this happens on most systems), and
install an IDE drive or other hardware that uses IRQ 15 and a
suitable driver for it.

** End of FAQ # 5.24 *

The number 3 item above is false, the ATA IDE standard is the
primary IDE channel master and slave devices use IRQ 14 and the
secondary IDE channel master and slave devices use IRQ 15. IRQ 15 is
also used by many NIC cards. A printer attached to the parallel port
uses IRQ 7, and the annoying bogus stray IRQ 7 messages still gets
issued. So you are left with two options, learn to deal with it, or
hack the code to make it go away.

To stop the annoying bogus stray IRQ 7 messages you can hack the
source where these messages originate from and change the counter
value 5 to 0 so the messages will no longer be issued.

isa_strayintr lives in   /usr/src/sys/i386/isa/intr_machdep.c

cd /usr/src/sys/i386/i386/

cp intr_machdep.c intr_machdep.c.org  # make backup of original

ee intr_machdep.c



Find isa_strayintr to locate the start of the stray IRQ 7 logic

change this

if (intrcnt[1 + intr] <= 5)

To this

if (intrcnt[1 + intr] <= 0)

Recompile your kernel source and those stray IRQ 7 messages are
gone. Document this some place for yourself just in case you
reinstall from CDROM. Remember that if you cvsup update your source
to upgrade to next stable release, your 'stray IRQ 7 hack' will be
stepped on and return back to the official FBSD version. You will
have to reapply this hack.




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Charles
Howse
Sent: Tuesday, May 23, 2006 10:14 AM
To: FreeBSD Questions
Subject: Best Practices - interrupt storm


Hi,
FreeBSD 6.1-RELEASE, cups-1.1.23.0_1, HP 1100 LaserJet

I've found quite a bit of information about how to deal with:
"Interrupt storm detected in "irq7:"; throttling interrupt source"

Problem is, it's a little confusing.
 From what I've gathered, the options are:
Use the BIOS to set the printer port to ECP,
Use lptcontrol to set the port to polled mode,
Use device.hints to do both

IIRC, in the past, I have used lptcontrol to set polled mode, but
that resulted in:
"too many stray irq7's, not logging any more"

Can anyone suggest a method to make both "interrupt storm" and "too
many stray irq7's" go away?

--
Thanks,
Charles
http://bubbabbq.homeunix.net


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


--
How I make Great Barbecue -
http://bubbabbq.homeunix.net/bbq.html


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


Best Practices - interrupt storm

2006-05-23 Thread Charles Howse

Hi,
FreeBSD 6.1-RELEASE, cups-1.1.23.0_1, HP 1100 LaserJet

I've found quite a bit of information about how to deal with:
"Interrupt storm detected in "irq7:"; throttling interrupt source"

Problem is, it's a little confusing.
From what I've gathered, the options are:
Use the BIOS to set the printer port to ECP,
Use lptcontrol to set the port to polled mode,
Use device.hints to do both

IIRC, in the past, I have used lptcontrol to set polled mode, but  
that resulted in:

"too many stray irq7's, not logging any more"

Can anyone suggest a method to make both "interrupt storm" and "too  
many stray irq7's" go away?


--
Thanks,
Charles
http://bubbabbq.homeunix.net


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


Re: cleaning off unix/linux????

2006-05-20 Thread Charles Howse


On May 20, 2006, at 6:46 PM, Gary Kline wrote:


Gang,

A 40G drive that I thought was bad (when trying to install W2K
on the drive) may be entirely good.  I am trying to avoid having
to buy a DOS/Win platform.  I've had both W2K and FBSD or Ubuntu
on this one machine.  For various reasons I need one DOS machine.
(Already have 7 or 8 *Nix servers.)   The Windows 2000
"Professional" CD find some other non-Windows partition and
press "D" and "L" as I will, the installation CD keeps
complaining.  Eventually I have to hit F3 to quit.  So, nutshell,
is there any way I can completely remove any trace of *Nix?
-I remember having a DOS floppy and typing an undocumented
MBR \ command that wiped the drive clean of this boot record,
but this was [mumble] years ago.

thanks for any tips, y'all,

gary


Looking for delpart.exe?  I've used it, it'll do the trick.
http://www.russelltexas.com/delpart.htm

--
Thanks,
Charles
http://bubbabbq.homeunix.net


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


cgi email using /usr/bin/mail

2006-05-01 Thread Charles Howse

Hello,
I have a 6.1-PRERELEASE box which is running Apache 2.2 on my home lan.
The machine's name is 'moe.local'.
I have a DynDNS.com account, with the domain name  
'bubbabbq.homeunix.net'.


I want to add a form to the website where users can send me an email.
I've looked at FormMail.pl and cgiemail (from MIT).
It seems that FormMail has too many security holes, and cgiemail  
won't work because sendmail  is only configured to deliver mail to  
local accounts.


I would prefer to write a cgi script using /usr/bin/mail, and I was  
wondering if anyone had any experience doing this, or could tell me  
about any security risks.

My research didn't turn up much at all.

Thanks!
--
Tall Tales R Us! - Bubba's Blog -
http://bubbabbq.homeunix.net/blog.html


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


Re: sendmail local-host-names

2005-12-06 Thread Charles Howse
> On 2005-12-06 12:11, Charles Howse <[EMAIL PROTECTED]> wrote:
>> In the past, I was just *certain* I had to had something in
>> local-host-names.  Oh, well.  :-)
>> 
>> [EMAIL PROTECTED]:~]$ echo '$=w' | sendmail -bt
>> ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
>> Enter  
>> [IPv6:::1]
>> moe
>> [192.168.254.4]
>> [IPv6:fe80::1]
>> [IPv6:fe80::2a0:ccff:fe29:689d]
>> moe.local
>> localhost.local
>> localhost
>> larry.local
>> [localhost.local]
>> local
>> [127.0.0.1]
>> 
>> [EMAIL PROTECTED]:~]# rm /etc/mail/local-host-names
>> [EMAIL PROTECTED]:~]# killall -HUP sendmail
>> [EMAIL PROTECTED]:~]# echo '$=w' | sendmail -bt
>> ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
>> Enter  
>> [IPv6:::1]
>> moe
>> [192.168.254.4]
>> [IPv6:fe80::1]
>> [IPv6:fe80::2a0:ccff:fe29:689d]
>> moe.local
>> localhost.local
>> localhost
>> [localhost.local]
>> [127.0.0.1]
> 
> Well, it looks I was (at least partially) wrong.
> 
> One notable difference is that in the second case (without a local-host-names
> file), the host name "larry.local" is not recognized as a local host name.
> 
> It may be a good idea to keep the local-host-names file in your case, to make
> sure that Sendmail knows about both moe.local and larry.local.

It's working without a local-host-names file, so if it gets squirrelly, I'll
add it back.
Thanks for the help.  :-)

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


Re: sendmail local-host-names

2005-12-06 Thread Charles Howse
> On 2005-12-06 10:54, Charles Howse <[EMAIL PROTECTED]> wrote:
>> Giorgos Keramidas wrote:
>>> On 2005-12-06 10:35, Charles Howse <[EMAIL PROTECTED]> wrote:
>>>> The hostname of my FreeBSD box is:
>>>> moe.local
>>>> 
>>>> User charles has an account, has been added to the qpopper authentication
>>>> database, and sendmail_enable="NO" is in /etc/rc.conf.
>>>> 
>>>> In /etc/mail/local-host-names, I have:
>>>> moe.local
>>>> larry.local
>>>> local
>>>> 
>>>> It's working, but I think I have too many entries in local-host-names.
>>>> What entries are necessary?
>>> 
>>> If your local hostnames are listed as names of one of the local IP
>>> addresses in your /etc/hosts, then none is needed.  Sendmail will
>>> discover the local addresses on its own.
>> 
>> Not quite sure I understand.
>> Here is /etc/hosts from FreeBSD:
>> 
>> [EMAIL PROTECTED]:~]$ cat /etc/hosts
>> ::1 localhost.local localhost
>> 127.0.0.1   localhost.local localhost
>> 192.168.254.4   moe.local moe
>> 192.168.254.4   moe.local.
>> 192.168.254.3   larry
>> 192.168.254.3   larry.local
>> 
>> Are you saying that since I have larry.local in /etc/hosts, then I don't
>> need anything at all in local-host-names?
> 
> Exactly.  You can see the list of host names which Sendmail considers
> local by running sendmail in "test mode" and expanding the $=w macro to
> see what hostnames it has already "discovered" as local:
> 
> $ echo '$=w' | sendmail -bt
> 
> This will print a list of hostnames much like the one shown below:
> 
> flame:/home/keramida$ echo '$=w' | sendmail -bt
> ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
> Enter  
>> 
> [IPv6:::1]
> ftp.pc
> [IPv6:fe80::1]
> irc.pc
> flame.pc
> www.pc
> mail.pc
> localhost.localdomain
> localhost
> flame
> [127.0.0.1]
> ns.pc
> localhost.pc
> [IPv6:fe80::211:95ff:feca:e5e8]
> flame.localdomain
> freebsd.pc
>> 
> flame:/home/keramida$
> 
> If a hostname is listed in the $=w class, then Sendmail has already
> discovered it as "local" and you don't need to add it to
> /etc/mail/local-host-names.
> 
>> For clarity, I'm doing local mail only, no Internet mail.
> 
> It shouldn't make a big difference, in this case.

Well, OK then!
In the past, I was just *certain* I had to had something in
local-host-names.  Oh, well.  :-)

[EMAIL PROTECTED]:~]$ echo '$=w' | sendmail -bt
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter  
[IPv6:::1]
moe
[192.168.254.4]
[IPv6:fe80::1]
[IPv6:fe80::2a0:ccff:fe29:689d]
moe.local
localhost.local
localhost
larry.local
[localhost.local]
local
[127.0.0.1]

[EMAIL PROTECTED]:~]# rm /etc/mail/local-host-names
[EMAIL PROTECTED]:~]# killall -HUP sendmail
[EMAIL PROTECTED]:~]# echo '$=w' | sendmail -bt
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter  
[IPv6:::1]
moe
[192.168.254.4]
[IPv6:fe80::1]
[IPv6:fe80::2a0:ccff:fe29:689d]
moe.local
localhost.local
localhost
[localhost.local]
[127.0.0.1]

[EMAIL PROTECTED]:~]# mail charles
Subject: test44
hello
.
EOT

[EMAIL PROTECTED]:~]# mail -u charles
Mail version 8.1 6/6/93.  Type ? for help.
"/var/mail/charles": 1 message 1 new
>N  1 [EMAIL PROTECTED] Tue Dec  6 12:06  18/636   "test44"
& q
"/var/mail/charles" complete



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


Re: sendmail local-host-names

2005-12-06 Thread Charles Howse
> On 2005-12-06 10:35, Charles Howse <[EMAIL PROTECTED]> wrote:
>> Hi,
>> 
>> I want to collect mail for FreeBSD user charles on my Mac.
>> 
>> The hostname of my FreeBSD box is:
>> moe.local
>> 
>> User charles has an account, has been added to the qpopper authentication
>> database, and sendmail_enable="NO" is in /etc/rc.conf.
>> 
>> In /etc/mail/local-host-names, I have:
>> moe.local
>> larry.local
>> local
>> 
>> It's working, but I think I have too many entries in local-host-names.
>> What entries are necessary?
> 
> If your local hostnames are listed as names of one of the local IP
> addresses in your /etc/hosts, then none is needed.  Sendmail will
> discover the local addresses on its own.

Not quite sure I understand.
Here is /etc/hosts from FreeBSD:

[EMAIL PROTECTED]:~]$ cat /etc/hosts
::1 localhost.local localhost
127.0.0.1   localhost.local localhost
192.168.254.4   moe.local moe
192.168.254.4   moe.local.
192.168.254.3   larry
192.168.254.3   larry.local

Are you saying that since I have larry.local in /etc/hosts, then I don't
need anything at all in local-host-names?
For clarity, I'm doing local mail only, no Internet mail.



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


sendmail local-host-names

2005-12-06 Thread Charles Howse
Hi,

I want to collect mail for FreeBSD user charles on my Mac.

The hostname of my FreeBSD box is:
moe.local

User charles has an account, has been added to the qpopper authentication
database, and sendmail_enable="NO" is in /etc/rc.conf.

In /etc/mail/local-host-names, I have:
moe.local
larry.local
local

It's working, but I think I have too many entries in local-host-names.
What entries are necessary?

-- 
Thanks,
Charles 


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


Re: Setting up a print-server SOLVED

2005-12-04 Thread Charles Howse
> On Sat, 3 Dec 2005, Charles Howse wrote:
> 
>> Hi,
>> I have the task of setting up a FreeBSD box as a print-server for the lan
>> here at home.
>> I've used FreeBSD for quite a while, but am currently just a little rusty.
>> I was hoping the list members could help me with planning a strategy, and
>> possibly point me to some resources for help.  I have my copies of The
>> Handbook and FreeBSD Unleashed at my side.  :-)
>> 
>> The printers are:
>> HP1100 LaserJet (non-postscript, parallel only)
>> Epson Stylus C86 (postscript, USB only)
>> 
>> Here is my current list of requirements:
>> My daughter's WinXP Pro SP2 box must be able to print to either printer.
>> 
>> My Mac OS X Tiger 10.4.3 box must be able to print to either printer.
>> 
>> (I may not know what I'm talking about here, but) I would prefer IP printing
>> as the only means of serving the printers, rather than Samba for serving to
>> Windows, AND CUPS or something else for serving to OS X.
> You don't need Samba to set up a printer server for windows. Cups
> will do fine. Printers can be addressed via http then (at least
> on my 6.0 machine).
> 
> Mail me if you need help with configuration.

Thanks, I will.  Haven't tried printing from Windows yet.

I have just now verified that I've got the dad-gum thing working!
Had to install CUPS (Not that difficult).
I can print from my Mac to the HP1100 on the FreeBSD box!!
TextEdit, Word, Safari, all print properly!!!
The Epson is currently out of ink (blush), but it blinks and whirrs when I
send a test page to it.  :-)

I followd the howto that is the first msg in this forum:
http://www.freebsdforums.org/forums/showthread.php?t=15325&highlight=Printin
g

When I finished, I went to the Printer Setup Utility on the Mac, and looked
in the browse list, and HOLY-S**T, there they were, my HP1100 and Epson
C86!!!

OH, YEAH!!!
 


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


Re: Setting up a print-server

2005-12-04 Thread Charles Howse
Look at this (moe is the print-server, listening on port 515):

[EMAIL PROTECTED]:~]$ telnet moe 515
Trying 192.168.254.4...
Connected to moe.
Escape character is '^]'.
lpd [EMAIL PROTECTED]: Print-services are not available to your host (larry).
Connection closed by foreign host.

So what's my exact hostname?

[EMAIL PROTECTED]:~]$ hostname
larry.local

Then I ssh to moe, then I add:
larry
larry.local

to /etc/hosts.lpd and to /etc/hosts.equiv

Now...

[EMAIL PROTECTED]:~]$ telnet moe 515
Trying 192.168.254.4...
Connected to moe.
Escape character is '^]'.
^]
telnet> quit
Connection closed.

Looks like print services are available now, but...

[EMAIL PROTECTED]:~]$ lpc status all
[EMAIL PROTECTED]:~]$ 

And printing from the Mac still gets a 'busy signal'.
Can I issue a command to print something from a telnet session?

[EMAIL PROTECTED]:~]$ telnet moe 515
Trying 192.168.254.4...
Connected to moe.
Escape character is '^]'.
lpr /etc/printcap
moe.local: lpd: Illegal service request
Connection closed by foreign host.
[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: Setting up a print-server

2005-12-04 Thread Charles Howse
> On Sat, 3 Dec 2005, Charles Howse wrote:
> 
>>> On Sat, 3 Dec 2005, Charles Howse wrote:
>>> 
>>>> I now have the both printers set up and can print to them from FreeBSD.
>>>> Problem is, I can't print to them from the Mac.
>>>> 
>>>> The error is always, "Printer HP1100 is busy, trying again in 30 seconds."
>>>> I take that to mean the server isn't responding.
>>>> 
>>>> Is there a command I can run from the Mac that will tell me if the FreeBSD
>>>> box is accepting connections to the printers?
> 
> lpc status all
> 
> ...if the Mac has the lpc command.

That returns no output.

>>>> Might there be something I haven't enabled on FreeBSD to allow me to print
>>>> across the network?
>>> 
>>> Do you have the Mac's hostname or IP address in /etc/hosts.lpd?
>> 
>> Warren,
>> I do now, no joy.
> 
> Okay, how about an entry for the Mac in /etc/hosts?  lpd wants a
> resovable hostname.

Yep, that's been there since install.

>> I've told lpd on the FreeBSD box to use "-W" (accept connections on any
>> port), cause the Mac is trying to connect on port 631.
> 
> Which implies that cups is still trying to use IPP, not lpd.

The printer(s) are listening on port 515:

FreeBSD$ netstat -an
Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address  Foreign Address(state)
tcp4   0 48  192.168.254.4.22   192.168.254.3.50213
ESTABLISHED
tcp4   0  0  *.22   *.*LISTEN
tcp46  0  0  *.22   *.*LISTEN
tcp4   0  0  *.515  *.*LISTEN
tcp6   0  0  *.515  *.*LISTEN
...

FreeBSD$ netstat -a
Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address  Foreign Address(state)
tcp4   0 48  moe.sshlarry.50213
ESTABLISHED
tcp4   0  0  *.ssh  *.*LISTEN
tcp46  0  0  *.ssh  *.*LISTEN
tcp4   0  0  *.printer  *.*LISTEN
tcp6   0  0  *.printer  *.*LISTEN
...

Here's the printcap from FreeBSD:
# APS1_BEGIN:printer1
# - don't delete start label for apsfilter printer1
# - no other printer defines between BEGIN and END LABEL
HP1100|ljet4;r=300x300;q=medium;c=full;p=letter;m=auto:\
:lp=/dev/lpt0:\
:if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/HP1100:\
:lf=/var/spool/lpd/HP1100/log:\
:af=/var/spool/lpd/HP1100/acct:\
:mx#0:\
:sh:
# APS1_END - don't delete this

Note that the only entry in /var/spool/lpd/HP1100/log is:
apsfilter warning: unknown option 'moe.local'

moe.local is my FreeBSD machine's name.

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


Re: Setting up a print-server

2005-12-03 Thread Charles Howse
> On Sat, 3 Dec 2005, Charles Howse wrote:
> 
>> I now have the both printers set up and can print to them from FreeBSD.
>> Problem is, I can't print to them from the Mac.
>> 
>> The error is always, "Printer HP1100 is busy, trying again in 30 seconds."
>> I take that to mean the server isn't responding.
>> 
>> Is there a command I can run from the Mac that will tell me if the FreeBSD
>> box is accepting connections to the printers?
>> 
>> Might there be something I haven't enabled on FreeBSD to allow me to print
>> across the network?
> 
> Do you have the Mac's hostname or IP address in /etc/hosts.lpd?

Warren,
I do now, no joy.

Kent,
The Mac is using CUPS to print.
Below is an excerpt from /private/var/log/cups/error_log.
I had to set the log level to 'debug' to get this.

...
I [03/Dec/2005:22:30:25 -0600] [Job 17] Gimp-Print Printing page 1, 96%
I [03/Dec/2005:22:30:25 -0600] [Job 17] Gimp-Print Printing page 1, 97%
I [03/Dec/2005:22:30:25 -0600] [Job 17] Gimp-Print Printing page 1, 98%
I [03/Dec/2005:22:30:25 -0600] [Job 17] Gimp-Print Printing page 1, 99%
D [03/Dec/2005:22:30:25 -0600] [Job 17] cgpdftoraster: bytes written for
sheet 1 = 768
D [03/Dec/2005:22:30:25 -0600] PID 215 exited with no errors.
I [03/Dec/2005:22:30:25 -0600] [Job 17] Gimp-Print Printing page 1, 100%
I [03/Dec/2005:22:30:25 -0600] [Job 17] Gimp-Print Finished page 1...
D [03/Dec/2005:22:30:25 -0600] [Job 17] Gimp-Print ending job
D [03/Dec/2005:22:30:25 -0600] [Job 17] Gimp-Print printed total 30669 bytes
I [03/Dec/2005:22:30:25 -0600] [Job 17] Gimp-Print Ready to print.
D [03/Dec/2005:22:30:25 -0600] PID 216 exited with no errors.
I [03/Dec/2005:22:30:25 -0600] [Job 17] Attempting to connect to host moe
for printer HP1100
I [03/Dec/2005:22:30:25 -0600] [Job 17] Connected to moe...
D [03/Dec/2005:22:30:25 -0600] [Job 17] Connected on ports 515 (local
1013)...
D [03/Dec/2005:22:30:25 -0600] [Job 17] lpd_command 02 HP1100
D [03/Dec/2005:22:30:25 -0600] [Job 17] Sending command string (8 bytes)...
D [03/Dec/2005:22:30:25 -0600] [Job 17] Reading command status...
E [03/Dec/2005:22:30:25 -0600] PID 217 stopped with status 1!
D [03/Dec/2005:22:30:25 -0600] [Job 17] lpd_command returning 108
D [03/Dec/2005:22:30:25 -0600] UpdateJob: job 17, file 0 is complete.
D [03/Dec/2005:22:30:25 -0600] StopJob: id = 17, force = 0
I [03/Dec/2005:22:30:25 -0600] Saving printers.conf...


Notice the "E" line: PID 217 stopped with status 1!
And the next line: [Job 17] lpd_command returning 108

Don't get too excited, though.  I still don't know what to tell the printer
setup utility in OS X.  I've tried IP Printing, and LPD printing, with no
joy.

I've told lpd on the FreeBSD box to use "-W" (accept connections on any
port), cause the Mac is trying to connect on port 631.

I'M SO CONFUSED!!
SOMEBODY GIVE ME A D-LINK DP-300U FOR CHRISTMAS!!
http://www.dlink.com/products/?sec=0&pid=166

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


Re: Setting up a print-server

2005-12-03 Thread Charles Howse
> On Sat, 03 Dec 2005 13:15:59 -0600
> Charles Howse <[EMAIL PROTECTED]> wrote:
> 
>> Hi,
>> I have the task of setting up a FreeBSD box as a print-server for the lan
>> here at home.
>> I've used FreeBSD for quite a while, but am currently just a little rusty.
>> I was hoping the list members could help me with planning a strategy, and
>> possibly point me to some resources for help.  I have my copies of The
>> Handbook and FreeBSD Unleashed at my side.  :-)
>> 
>> The printers are:
>> HP1100 LaserJet (non-postscript, parallel only)
>> Epson Stylus C86 (postscript, USB only)
>> 
>> Here is my current list of requirements:
>> My daughter's WinXP Pro SP2 box must be able to print to either printer.
>> 
>> My Mac OS X Tiger 10.4.3 box must be able to print to either printer.
>> 
>> (I may not know what I'm talking about here, but) I would prefer IP printing
>> as the only means of serving the printers, rather than Samba for serving to
>> Windows, AND CUPS or something else for serving to OS X.
>> 
>> The FreeBSD machine is quite capable hardware-wise of doing all this.
>> I have a copy of 4.11-RELEASE, but will be glad to install whatever version
>> makes it easiest to do what I need.
>> 
>> Any help = appreciation!
>> 
>> -- 
>> Thanks,
>> Charles 
>> google.com/bds 
> 
> http://www.onlamp.com/pub/a/bsd/2004/02/05/Big_Scary_Daemons.html

I now have the both printers set up and can print to them from FreeBSD.
Problem is, I can't print to them from the Mac.

The error is always, "Printer HP1100 is busy, trying again in 30 seconds."
I take that to mean the server isn't responding.

Is there a command I can run from the Mac that will tell me if the FreeBSD
box is accepting connections to the printers?

Might there be something I haven't enabled on FreeBSD to allow me to print
across the network?

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


Setting up a print-server

2005-12-03 Thread Charles Howse
Hi,
I have the task of setting up a FreeBSD box as a print-server for the lan
here at home.
I've used FreeBSD for quite a while, but am currently just a little rusty.
I was hoping the list members could help me with planning a strategy, and
possibly point me to some resources for help.  I have my copies of The
Handbook and FreeBSD Unleashed at my side.  :-)

The printers are:
HP1100 LaserJet (non-postscript, parallel only)
Epson Stylus C86 (postscript, USB only)

Here is my current list of requirements:
My daughter's WinXP Pro SP2 box must be able to print to either printer.

My Mac OS X Tiger 10.4.3 box must be able to print to either printer.

(I may not know what I'm talking about here, but) I would prefer IP printing
as the only means of serving the printers, rather than Samba for serving to
Windows, AND CUPS or something else for serving to OS X.

The FreeBSD machine is quite capable hardware-wise of doing all this.
I have a copy of 4.11-RELEASE, but will be glad to install whatever version
makes it easiest to do what I need.

Any help = appreciation!

-- 
Thanks,
Charles 


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


Re: Need to boot from CD and delete a file on the hard drive

2005-10-25 Thread Charles Howse
> Hello All --
>  
> SUMMARY: 
> I changed a configuration file and now I can no longer boot from my hard drive
> (but I can still 
>  boot from the CD). I would like to boot from the CD and undo my change to the
> configuration 
> file -- but when I boot from the CD it automatically launches the install
> program. Is there a way
>  to boot from the boot CD and get a shell and make a change to a file on the
> hard drive? (I got
> an "emergency shell" after booting from the CD -- but I can't figure out how
> to access my hard
> drive filesystem from it.)
> 
> DETAILS:
> I was trying to set up a serial console using the instructions here:
> 
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-setup.
> html
>  
> I typed the following at the prompt:
>  
> # echo 'console="comconsole"' >> /boot/loader.conf
>  
> then unplugged my regular keyboard and tried to reboot -- but the machine now
> freezes on 
> bootup.
>  
> I now want to boot from a CD and remove the file /boot/loader.conf from the
> hard drive. Then I
> should be able to boot normally again from the hard drive.
>  
> I went into the BIOS and booted from the CD and this put me in the install
> program. I don't 
> want to install everything again -- I just want to boot up from the CD and
> execute the following
> command at the prompt:
>  
> # rm /boot/loader.conf
>  
> After booting from the CD, I found a command in the install program to enter
> an "emergency 
> shell" and accessed this shell by hitting ALT-F4 -- but if I do an "rm"
> command in this 
> emergency shell, it doesn't apply to the filesystem on the hard drive -- it
> applies to the CD. I
> need to delete the file /boot/loader.conf while booting from the CD.
>  
> Is there any way to fix this without installing FreeBSD all over again?

OK, I'm going to try one more time, and then leave it to the pro's.  :-)
You will need Disc 2 of your install CD's, that contains the live file
system.
Boot with the install cd (1), choose 'Fixit' from the install menu, insert
disc 2 when prompted for the fixit disc, then...
I found this link explaining the process:
http://www.freebsd-corp-net-guide.com/technotes/fixit.html


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


Re: Need to boot from CD and delete a file on the hard drive

2005-10-25 Thread Charles Howse
>> Hello All --
>>  
>> SUMMARY: 
>> I changed a configuration file and now I can no longer boot from my hard
>> drive
>> (but I can still
>>  boot from the CD). I would like to boot from the CD and undo my change to
>> the
>> configuration 
>> file -- but when I boot from the CD it automatically launches the install
>> program. Is there a way
>>  to boot from the boot CD and get a shell and make a change to a file on the
>> hard drive? (I got
>> an "emergency shell" after booting from the CD -- but I can't figure out how
>> to access my hard
>> drive filesystem from it.)
>> 
>> DETAILS:
>> I was trying to set up a serial console using the instructions here:
>> 
>> 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-setup>>
.
>> html
>>  
>> I typed the following at the prompt:
>>  
>> # echo 'console="comconsole"' >> /boot/loader.conf
>>  
>> then unplugged my regular keyboard and tried to reboot -- but the machine now
>> freezes on 
>> bootup.
>>  
>> I now want to boot from a CD and remove the file /boot/loader.conf from the
>> hard drive. Then I
>> should be able to boot normally again from the hard drive.
>>  
>> I went into the BIOS and booted from the CD and this put me in the install
>> program. I don't
>> want to install everything again -- I just want to boot up from the CD and
>> execute the following
>> command at the prompt:
>>  
>> # rm /boot/loader.conf
>>  
>> After booting from the CD, I found a command in the install program to enter
>> an "emergency 
>> shell" and accessed this shell by hitting ALT-F4 -- but if I do an "rm"
>> command in this 
>> emergency shell, it doesn't apply to the filesystem on the hard drive -- it
>> applies to the CD. I
>> need to delete the file /boot/loader.conf while booting from the CD.
>>  
>> Is there any way to fix this without installing FreeBSD all over again?
> 
> I've never done this...but...
> Reboot the computer from the CD,
> Look for the message:
> 
> Hit [Enter] to boot immediately, or any other key for command prompt.
> Booting [kernel] in 9 seconds...
> 
> At that point press "any other key".
> You should then be able to mount your /boot partition and delete the file,
> however, you may have to look around on the CD for the appropriate commands.

Apologies for replying to my own msg, but I just 'had' to try what I told
you, and there are no tools such as 'mount', or 'rm' available when booting
to a command prompt as I said.
I tried the Emergency Shell from the CD, same thing.
Sorry I sent you on a wild goose chase, but I'm sure you'll get the correct
answer soon.


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


Re: Need to boot from CD and delete a file on the hard drive

2005-10-25 Thread Charles Howse
> Hello All --
>  
> SUMMARY: 
> I changed a configuration file and now I can no longer boot from my hard drive
> (but I can still 
>  boot from the CD). I would like to boot from the CD and undo my change to the
> configuration 
> file -- but when I boot from the CD it automatically launches the install
> program. Is there a way
>  to boot from the boot CD and get a shell and make a change to a file on the
> hard drive? (I got
> an "emergency shell" after booting from the CD -- but I can't figure out how
> to access my hard
> drive filesystem from it.)
> 
> DETAILS:
> I was trying to set up a serial console using the instructions here:
> 
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-setup.
> html
>  
> I typed the following at the prompt:
>  
> # echo 'console="comconsole"' >> /boot/loader.conf
>  
> then unplugged my regular keyboard and tried to reboot -- but the machine now
> freezes on 
> bootup.
>  
> I now want to boot from a CD and remove the file /boot/loader.conf from the
> hard drive. Then I
> should be able to boot normally again from the hard drive.
>  
> I went into the BIOS and booted from the CD and this put me in the install
> program. I don't 
> want to install everything again -- I just want to boot up from the CD and
> execute the following
> command at the prompt:
>  
> # rm /boot/loader.conf
>  
> After booting from the CD, I found a command in the install program to enter
> an "emergency 
> shell" and accessed this shell by hitting ALT-F4 -- but if I do an "rm"
> command in this 
> emergency shell, it doesn't apply to the filesystem on the hard drive -- it
> applies to the CD. I
> need to delete the file /boot/loader.conf while booting from the CD.
>  
> Is there any way to fix this without installing FreeBSD all over again?

I've never done this...but...
Reboot the computer from the CD,
Look for the message:

Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [kernel] in 9 seconds...

At that point press "any other key".
You should then be able to mount your /boot partition and delete the file,
however, you may have to look around on the CD for the appropriate commands.

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


Re: Can't see FreeBSD machine in Mac's Finder - Solved

2005-10-19 Thread Charles Howse
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> David Kelly wrote:
> | On Mon, Oct 17, 2005 at 09:54:15AM -0500, Charles Howse wrote:
> |
> |>Hello List,
> |>
> |>I have a PowerMac G5, named "larry", which the 'Sharing' tab in System
> |>Preferences tells me that other machines on the network can access as
> |>'larry.local'.
> |>
> |>I have a FreeBSD 4.11 machine on the same subnet, named "moe" (no
> |>domain name), with NFS enabled.
> |>
> |>I can connect to the FreeBSD machine's share by using "Connect to
> |>Server" in OS X, but the machine doesn't show up in the Network pane
> |>of Finder.
> |>
> |>Can anyone point me to some resources where I can find a resolution to
> |>this?  --
> |
> |
> | I think others are pointing you in the wrong direction. MacOS uses
> | Bonjour to discover local net resources. Believe this may have been
> | previously called Rendezvous.
> | http://developer.apple.com/networking/bonjour/
> |
> | net/howl and net/mDNSResponder mention Bonjour specifically.
> 
> Correct.  You can use howl to advertise an NFS service that MacOS X will
> auto-discover.  For example:
> 
> mDNSPublish NFS _nfs._tcp 2049 "NFS Share"
> 
> Joe

I finally got it working.  My error was not including "path="
when loading mDNSPublish.
Also customized this rc script to start publishing on boot.
http://tinyurl.com/4j8ze
Works fine on both computers, now.

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


Re: Can't see FreeBSD machine in Mac's Finder

2005-10-17 Thread Charles Howse
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> David Kelly wrote:
> | On Mon, Oct 17, 2005 at 09:54:15AM -0500, Charles Howse wrote:
> |
> |>Hello List,
> |>
> |>I have a PowerMac G5, named "larry", which the 'Sharing' tab in System
> |>Preferences tells me that other machines on the network can access as
> |>'larry.local'.
> |>
> |>I have a FreeBSD 4.11 machine on the same subnet, named "moe" (no
> |>domain name), with NFS enabled.
> |>
> |>I can connect to the FreeBSD machine's share by using "Connect to
> |>Server" in OS X, but the machine doesn't show up in the Network pane
> |>of Finder.
> |>
> |>Can anyone point me to some resources where I can find a resolution to
> |>this?  --
> |
> |
> | I think others are pointing you in the wrong direction. MacOS uses
> | Bonjour to discover local net resources. Believe this may have been
> | previously called Rendezvous.
> | http://developer.apple.com/networking/bonjour/
> |
> | net/howl and net/mDNSResponder mention Bonjour specifically.
> 
> Correct.  You can use howl to advertise an NFS service that MacOS X will
> auto-discover.  For example:
> 
> mDNSPublish NFS _nfs._tcp 2049 "NFS Share"

Well, howl installed without error, but it doesn't seem to want to run...?
Anybody have a clue?


[EMAIL PROTECTED]:~]# mDNSPublish
[assert] error: 61 (Connection refused)
[assert] where: "socket.c", "sw_socket_tcp_connect", line: 720

[assert] error: 22 (Invalid argument)
[assert] where: "socket.c", "sw_socket_tcp_close", line: 879

sw_discovery_init() failed

[EMAIL PROTECTED]:~]# mDNSPublish -h
[assert] error: 61 (Connection refused)
[assert] where: "socket.c", "sw_socket_tcp_connect", line: 720

[assert] error: 22 (Invalid argument)
[assert] where: "socket.c", "sw_socket_tcp_close", line: 879

sw_discovery_init() failed

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


Re: Can't see FreeBSD machine in Mac's Finder

2005-10-17 Thread Charles Howse
>  Not true. Mac OS X Tiger plays nicer with NFS than SMB for me,
> and I have little issues once I get past the initial pain in the arse
> parts. Besides, I get lowsy performance with SMB, which definitely
> made NFS a shoo-in.
>  What does your line look like that you're trying to export in
> your /etc/exports file on your freebsd box,

/backup  -alldirslarry
(/backup is the root of a volume)
 
> trying to mount in finder, and what does the console say on your mac
> (applications -> utilities -> console) after you try and mount the
> share?

Remember, I *can* mount the share in the gui, I don't use the console to
mount the share.  
With Finder as the active application, I choose Go/Connect to Server, and
select - nfs://moe/backup.
Works like a charm.  I can read, write, navigate up or down.
It's just that 'moe' isn't visible in the Network pane of Finder.



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


Re: Can't see FreeBSD machine in Mac's Finder

2005-10-17 Thread Charles Howse
Thanks for the reply, Per.
I understand what you're saying, but will a FreeBSD machine show up in
Finder under any circumstances?

> Hi
> 
> Unfortunately is OS X not so good when it comes to NFS.
> To make your FreeBSD box talk either AFP or SMB solves your problem. If
> you have something against that you could try NFS Manager.
> http://www.bresink.com/osx/NFSManager.html
> 
> Regards
> 
> Per Johnson
> 
> Charles Howse wrote:
>> Hello List,
>> 
>> I have a PowerMac G5, named "larry", which the 'Sharing' tab in System
>> Preferences tells me that other machines on the network can access as
>> 'larry.local'.
>> 
>> I have a FreeBSD 4.11 machine on the same subnet, named "moe" (no domain
>> name), with NFS enabled.
>> 
>> I can connect to the FreeBSD machine's share by using "Connect to Server" in
>> OS X, but the machine doesn't show up in the Network pane of Finder.
>> 
>> Can anyone point me to some resources where I can find a resolution to this?

-- 
Thanks,
Charles 
Mac OS X Tiger

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


Can't see FreeBSD machine in Mac's Finder

2005-10-17 Thread Charles Howse
Hello List,

I have a PowerMac G5, named "larry", which the 'Sharing' tab in System
Preferences tells me that other machines on the network can access as
'larry.local'.

I have a FreeBSD 4.11 machine on the same subnet, named "moe" (no domain
name), with NFS enabled.

I can connect to the FreeBSD machine's share by using "Connect to Server" in
OS X, but the machine doesn't show up in the Network pane of Finder.

Can anyone point me to some resources where I can find a resolution to this?
-- 
Thanks,
Charles 
Mac OS X Tiger

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


Re: qpopper error

2005-06-20 Thread Charles Howse


On Jun 20, 2005, at 5:22 PM, Greg Barniskis wrote:


Charles Howse wrote:


Hi,
In my research before posting this question, I saw this same  
question  in numerous places, but I never saw a resolution!

I have qpopper 4.0.5 running from inetd on FBSD 4.11.
I start it thus: /usr/local/libexec/qpopper
When I connect from my Mac to check my mail, I see the following  
in / var/log/messages:
Jun 19 19:45:18 moe qpopper[199]: charles at 192.168.254.3   
(192.168.254.3): -ERR
[SYS/TMP] POP authentication DB not abailable (user charles): No  
such  file or directory (2)

Anyone have any ideas what's wrong?



I could be mistaken, but it looks like maybe it's looking for a  
separate POP user authentication database separate from /etc/ 
passwd. I know that we do this to support APOP logins.


Do you have /usr/local/etc/qpopper/pop.auth.db ?

You may need to initialize it and then add your username to it.

man qpopauth


That took care of it!  Thanks, Glenn!

Thanks,
Charles

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


Re: qpopper error

2005-06-20 Thread Charles Howse
I plan to use qpopper to retrieve root's mail (which I have aliased  
to 'charles').
I will use my home lan to connect to the FBSD box from my Mac, and  
read the mail.
"Charles" is indeed a valid user on the FBSD box.  I ssh to that box  
as charles, and am logged in as charles right now.


On Jun 20, 2005, at 9:28 AM, fbsd_user wrote:


First of all I have qpopper running on 4.10 and 5.4 with out any
problems. I installed the package version.

Second that error message is saying that user charles is not a valid
user on the ISP where you are telling qpopper to fetch the mail
from.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Charles
Howse
Sent: Sunday, June 19, 2005 8:53 PM
To: FreeBSD Questions
Subject: qpopper error


Hi,
In my research before posting this question, I saw this same
question
in numerous places, but I never saw a resolution!

I have qpopper 4.0.5 running from inetd on FBSD 4.11.
I start it thus: /usr/local/libexec/qpopper
When I connect from my Mac to check my mail, I see the following in
/
var/log/messages:

Jun 19 19:45:18 moe qpopper[199]: charles at 192.168.254.3
(192.168.254.3): -ERR
[SYS/TMP] POP authentication DB not abailable (user charles): No
such
file or directory (2)

Anyone have any ideas what's wrong?

Thanks,
Charles

___
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 "freebsd-questions- 
[EMAIL PROTECTED]"




Thanks,
Charles

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


Re: qpopper error

2005-06-20 Thread Charles Howse


On Jun 20, 2005, at 6:05 AM, Glenn Dawson wrote:


At 05:52 PM 6/19/2005, Charles Howse wrote:


Hi,
In my research before posting this question, I saw this same question
in numerous places, but I never saw a resolution!

I have qpopper 4.0.5 running from inetd on FBSD 4.11.
I start it thus: /usr/local/libexec/qpopper
When I connect from my Mac to check my mail, I see the following  
in / var/log/messages:


Jun 19 19:45:18 moe qpopper[199]: charles at 192.168.254.3
(192.168.254.3): -ERR
[SYS/TMP] POP authentication DB not abailable (user charles): No such
file or directory (2)

Anyone have any ideas what's wrong?



Did you build qpopper from ports? or ?
What options did you enable or disable/ (assuming you built from  
ports)



Glenn,
Thank for the reply.  I installed qpopper from /stand/sysinstall/ 
Configure/Packages.
It didn't prompt me for any decisions, so I suppose you could say  
it's installed with the defaults.


Thanks,
Charles

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


qpopper error

2005-06-20 Thread Charles Howse

Hi,
In my research before posting this question, I saw this same question  
in numerous places, but I never saw a resolution!


I have qpopper 4.0.5 running from inetd on FBSD 4.11.
I start it thus: /usr/local/libexec/qpopper
When I connect from my Mac to check my mail, I see the following in / 
var/log/messages:


Jun 19 19:45:18 moe qpopper[199]: charles at 192.168.254.3  
(192.168.254.3): -ERR
[SYS/TMP] POP authentication DB not abailable (user charles): No such  
file or directory (2)


Anyone have any ideas what's wrong?

Thanks,
Charles

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


Where is "fortune"?

2005-06-14 Thread Charles Howse
On my older machine, I have the fortune port, which gives me fortunes  
from Murphy' Law, Startrek, and a generic fortune.

On 4.11, I only see ports for Bible, bofh, futurama and Italian.
Are the older fortunes no longer offered?

Thanks,
Charles

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


Re: Can't connect to NFS Share

2005-06-12 Thread Charles Howse

BINGO!  Thanks, Bob!

On Jun 11, 2005, at 7:02 PM, Bob Bomar wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Charles Howse wrote:
| Hello, I'm new to the list.
| I've had a FreeBSD 4.8-RELEASE-p13 server running for a long  
time,  but

| now I've decided to install 4.11 on a new machine.
|
| The problem I'm having is that I have nfs shares configured,   
showmount
| -e shows me the correct information, all the nfs services  are  
running,
| and I have network connectivity between my PowerMac and  the new  
FreeBSD

| machine, but I can't mount or connect to the shares.
|
| When I open a root terminal on my Mac and issue "mount_nfs moe:/usr/
| local/www /Volumes/Storage/TMP", I get "Permission Denied".
| On the FreeBSD machine, I see "NFS request from unprivileged port
| (192.168.254.3:52514)".
|
| I've searched the list archives for "NFS request from unprivileged
| port" with no joy, and don't find anything else interesting on  
Google.

|
| Could someone please point me in the right direction to resolve  
this?

|
The Mac is trying the NFS request on a non priveleged port.  Try
setting setting nfs_reserve_port_only to NO in /etc/rc.conf


- --
Bob Bomar
[EMAIL PROTECTED]
http://www.bomar.us/~bob
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCq3ua9Jm/aTrtdKoRAh1iAKCYvUPZIDCW6o8UoTMgQFp/dfZgcACfYy/D
MYEkY2tNmu2hcazJ3PvAh0A=
=97X0
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions- 
[EMAIL PROTECTED]"




Thanks,
Charles

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


Can't connect to NFS Share

2005-06-11 Thread Charles Howse

Hello, I'm new to the list.
I've had a FreeBSD 4.8-RELEASE-p13 server running for a long time,  
but now I've decided to install 4.11 on a new machine.


The problem I'm having is that I have nfs shares configured,  
showmount -e shows me the correct information, all the nfs services  
are running, and I have network connectivity between my PowerMac and  
the new FreeBSD machine, but I can't mount or connect to the shares.


When I open a root terminal on my Mac and issue "mount_nfs moe:/usr/ 
local/www /Volumes/Storage/TMP", I get "Permission Denied".
On the FreeBSD machine, I see "NFS request from unprivileged port  
(192.168.254.3:52514)".


I've searched the list archives for "NFS request from unprivileged  
port" with no joy, and don't find anything else interesting on Google.


Could someone please point me in the right direction to resolve this?

Thanks,
Charles

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


Anyone have Limewire working on 4.8?

2003-12-30 Thread Charles Howse
Hi,
I've installed /usr/ports/net/limewire v.3.6.15 without error.
It didn't prompt me to do anything, nor present me with any dialogs when 
installing.

When I type 'limewire' from a user shell, it loads the splash screen, which 
says "Loading shared files...", and a tiny window which says, "Welcome t", 
and just sits there.

I've searched, and I can't find any .conf files, nor any documentation on my 
HDD for Limewire.  I've read the manual and FAQ on the limewire.org site, no 
help.

Anyone have any ideas?
-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
Real programmers don't write in PL/1.  PL/1 is for
programmers who can't decide whether to write in
COBOL or Fortran.

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


Re: Visual mail notification in KMail

2003-12-25 Thread Charles Howse
On Thursday 25 December 2003 03:18 am, Shantanoo Mahajan wrote:
> +++ Chris [freebsd] [24-12-03 20:17 -0600]:
> | Happy Holidays folks!
> |
> | Is there a way to tie in a visual mail notifier in KMail? Sorta like how
> | Outlook shows the envelope under Windows.

Open KMail, Settings, Configure Notifications.

-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
Don't force it,
get a bigger hammer.

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


Re: Question on PS/2 Wheelmouse through KVM

2003-12-24 Thread Charles Howse
On Wednesday 24 December 2003 12:03 pm, Scott W wrote:
> User & wrote:
>  > On Wednesday 24 December 2003 02:22, Scott W wrote:
>  >>Via PS2 and through the KVM, it appears there's nothing I've found yet
>  >>that will enable the wheel, although the wheel 'button' itself works.
>  >
>  > Are you sure that this part is located in your /etc/X11/XF86config
>  > file?:
>  >
>  > Section "InputDevice"
>  > Identifier  "Mouse0"
>  > Driver  "mouse"
>  > Option  "Protocol" "auto"
>  > Option  "Device" "/dev/sysmouse"
>  > Option  "ZAxisMapping" "4 5" # This part is for your
>
> mouse wheel
>
>  > EndSection
>  >
>  >>Any ideas on what to try next?  Opera in X without a scroll mouse is
>  >>like Windows claiming it's secure- it's just wrong :-(
>  >
>  > haha, I like this quote. :-)
>  >
>  > Cheers,
>  >
>  > Jorn
>
> User & wrote:
>  > On Wednesday 24 December 2003 02:22, Scott W wrote:
>  >>Via PS2 and through the KVM, it appears there's nothing I've found yet
>  >>that will enable the wheel, although the wheel 'button' itself works.
>  >
>  > Are you sure that this part is located in your /etc/X11/XF86config
>  > file?:
>  >
>  > Section "InputDevice"
>  > Identifier  "Mouse0"
>  > Driver  "mouse"
>  > Option  "Protocol" "auto"
>  > Option  "Device" "/dev/sysmouse"
>  > Option  "ZAxisMapping" "4 5" # This part is for your
>
> mouse wheel
>
>  > EndSection
>  >
>  >>Any ideas on what to try next?  Opera in X without a scroll mouse is
>  >>like Windows claiming it's secure- it's just wrong :-(
>  >
>  > haha, I like this quote. :-)
>  >
>  > Cheers,
>  >
>  > Jorn
>
> Hi Jorn- yeah, I've played with the X Device section, as well as the
> flags to moused extensively, as well as not running moused, changing the
> button and then z-axis mappings, just in case this particular mouse
> wasn't actually seeing the scroll wheel as 'button 4'...all to no avail.
>
> Through the KVM emulation, it IDs the mouse as a MouseMan+, which works
> fine with the wheel under various RH and Linux variants on another
> system...I may wind up having to recompile the Linux kernel and/or
> modularize the mouse/PS2 driver and add some debugging to try to see if
> I can't figure this outbut of course most problems encountered have
> already been encountered by someone else, so was definitely hoping ;-)

I'm getting in late on this, but I have a wheel mouse, and a KVM.
I've installed the imwheel port.

I have this in XF86Config:

Section "InputDevice"
Identifier  "Mouse0"
Driver  "mouse"
Option  "Protocol" "SysMouse"
Option  "Emulate3Buttons"
Option  "Device" "/dev/sysmouse"
Option "Buttons" "5"
EndSection

and this in /etc/rc.conf:

moused_enable="YES"
moused_flags="-z 4"

and this in ~/.xinitrc:
/usr/X11R6/bin/imwheel

See the FAQ:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/x.html#X-AND-WHEEL

-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
Nobody notices when things go right.

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


Re: mkisofs options question

2003-12-24 Thread Charles Howse
On Wednesday 24 December 2003 10:10 am, Dan Nelson wrote:
> In the last episode (Dec 24), Charles Howse said:
> > I have some directories that I need to include in a .iso file. I've
> > followed the online Handbook section 12.5.2, and read man mkisofs.
> >
> > The directories each have the file CUSTOM in them.
> > That causes mkisofs to error:
> >
> > [EMAIL PROTECTED] ~]# mkisofs -U -R -o /tmp/cdimg.iso /disk2/curly /disk2/larry
> > Warning: creating filesystem that does not conform to ISO-9660.
> > Using CUSTOM000 for  /CUSTOM (CUSTOM)
> > mkisofs: Error: '/disk2/larry/CUSTOM' and '/disk2/curly/CUSTOM' have the
> > same Rock Ridge name 'CUSTOM'. mkisofs: Error: '/disk2/larry/CUSTOM' and
> > '/disk2/curly/CUSTOM' have the same Rock Ridge name 'CUSTOM'. mkisofs:
> > Unable to sort directory
> >
> > What are the proper options for mkisofs so that I can have identical
> > filenames in different directories?
>
> They are in the same directory.  Remember that when you pass mkisofs a
> list of directories, their contents are combined to create the CD.  you
> can't have duplicates, though. /disk2/larry/CUSTOM and
> /disk2/curly/CUSTOM both map to "/CUSTOM" on the cdrom. If you really
> wanted the cdrom to contain two subdirectories named "/larry" and
> "/curly", try passing just "/disk2" to mkisofs, or if there are other
> directories in disk2, create a /disk2/cdrom, move larry and curly into
> there, and run "mkisofs /disk2/cdrom".

OK, I restructured /disk2 as you suggested, it works now.  Thanks!

-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
The one wrench or drill bit you need will be the one
missing from the tool chest.

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


Re: mkisofs options question

2003-12-24 Thread Charles Howse
On Wednesday 24 December 2003 10:13 am, Lowell Gilbert wrote:
> Charles Howse <[EMAIL PROTECTED]> writes:
> > I have some directories that I need to include in a .iso file.
> > I've followed the online Handbook section 12.5.2, and read man mkisofs.
> >
> > The directories each have the file CUSTOM in them.
> > That causes mkisofs to error:
> >
> > [EMAIL PROTECTED] ~]# mkisofs -U -R -o /tmp/cdimg.iso /disk2/curly /disk2/larry
> > Warning: creating filesystem that does not conform to ISO-9660.
> > Using CUSTOM000 for  /CUSTOM (CUSTOM)
> > mkisofs: Error: '/disk2/larry/CUSTOM' and '/disk2/curly/CUSTOM' have the
> > same Rock Ridge name 'CUSTOM'.
> > mkisofs: Error: '/disk2/larry/CUSTOM' and '/disk2/curly/CUSTOM' have the
> > same Rock Ridge name 'CUSTOM'.
> > mkisofs: Unable to sort directory
> >
> > What are the proper options for mkisofs so that I can have identical
> > filenames in different directories?
>
> I tried to reproduce this situation, and couldn't.
> Could you produce a test case?

Dan, I may have to mkdir /disk2/cdrom and move whatever I want to burn into 
it.

Lowell, not exactly sure what you mean by test case, but here goes:

[EMAIL PROTECTED] ~]# ll /disk2/curly
total 3700
drwxrwxr-x  2 root  wheel  - 512 Dec 24 02:09 ./
drwxrwxr-x  8 root  wheel  - 512 Dec 24 05:57 ../
-rw-r--r--  1 root  wheel  -9839 Dec 24 02:09 CUSTOM
-rw-r--r--  1 root  wheel  -  233112 Dec 24 02:09 curly_etc_files.tgz
-rw-r--r--  1 root  wheel  -   16901 Dec 24 02:09 curly_root_files.tgz
-rw-r--r--  1 root  wheel  -  501774 Dec 24 02:09 
curly_usr_local_etc_files.tgz
-rw-r--r--  1 root  wheel  - 2944901 Dec 24 02:09 
curly_usr_local_www_files.tgz
-rw-r--r--  1 root  wheel  -2860 Dec 24 02:09 portversion.txt
[EMAIL PROTECTED] ~]# ll /disk2/larry
total 288
drwxrwxr-x  2 root  wheel  -512 Dec 24 02:09 ./
drwxrwxr-x  8 root  wheel  -512 Dec 24 05:57 ../
-rw-r--r--  1 root  wheel  -   9595 Dec 24 02:09 CUSTOM
-rw-r--r--  1 root  wheel  -   2004 Dec 24 02:09 larry_charles-12-23-03.tgz
-rw-r--r--  1 root  wheel  - 231715 Dec 24 02:09 larry_etc-12-23-03.tgz
-rw-r--r--  1 root  wheel  -   8135 Dec 24 02:09 larry_root-12-23-03.tgz
-rw-r--r--  1 root  wheel  -   7077 Dec 24 02:09 
larry_usr_local_etc-12-23-03.tgz
[EMAIL PROTECTED] ~]# mkisofs -U -R -o /tmp/cdimg.iso /disk2/curly /disk2/larry
Warning: creating filesystem that does not conform to ISO-9660.
Using CUSTOM000 for  /CUSTOM (CUSTOM)
mkisofs: Error: '/disk2/larry/CUSTOM' and '/disk2/curly/CUSTOM' have the same 
Rock Ridge name 'CUSTOM'.
mkisofs: Error: '/disk2/larry/CUSTOM' and '/disk2/curly/CUSTOM' have the same 
Rock Ridge name 'CUSTOM'.
mkisofs: Unable to sort directory


-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
Usefulness is inversely proportional to its reputation
for being useful.

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


mkisofs options question

2003-12-24 Thread Charles Howse
Hi,
I have some directories that I need to include in a .iso file.
I've followed the online Handbook section 12.5.2, and read man mkisofs.

The directories each have the file CUSTOM in them.
That causes mkisofs to error:

[EMAIL PROTECTED] ~]# mkisofs -U -R -o /tmp/cdimg.iso /disk2/curly /disk2/larry
Warning: creating filesystem that does not conform to ISO-9660.
Using CUSTOM000 for  /CUSTOM (CUSTOM)
mkisofs: Error: '/disk2/larry/CUSTOM' and '/disk2/curly/CUSTOM' have the same 
Rock Ridge name 'CUSTOM'.
mkisofs: Error: '/disk2/larry/CUSTOM' and '/disk2/curly/CUSTOM' have the same 
Rock Ridge name 'CUSTOM'.
mkisofs: Unable to sort directory

What are the proper options for mkisofs so that I can have identical filenames 
in different directories?

-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
Real programmers drink too much coffee so that they will
always seem tense and overworked.

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


REPOST: null device in linux jail root

2003-12-16 Thread Charles Howse
Surely, *someone* who reads this list has upgraded the linux_base port, and 
figured out the proper way to respond to this prompt.

___

Hi,

I installed Linux compatibility when I installed FBSD 4.8, but I've never 
really done anything with it.

While portupgrading , I was presented with a prompt that I don't know how to 
respond to:

You need to create the null device in your jail root environment.
Run the following commands outside the jail root environment,
and then press enter:
mkdir -m 0755 -p /dev
rm -f //compat/linux/dev/null
mknod //compat/linux/dev/null c 2 2
chmod 666 //compat/linux/dev/null

I found that this prompt comes from the makefile in the linux-base port, which 
I don't have access to at the moment, so I can't quote it exactly.

Clueless, I just pressed enter at the prompt, thinking I could always go back 
and do it later, or deinstall the port and reinstall it when I learn what to 
do.  

I know what a jail is, but how do I know what my  is?
Also, why the double slashes in the last 3 lines?  What do they mean?

What is the proper way to deal with this prompt?

-- 
Thanks,
Charles

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


null device in linux jail root

2003-12-14 Thread Charles Howse
Hi,

I installed Linux compatibility when I installed FBSD 4.8, but I've never 
really done anything with it.

While portupgrading , I was presented with a prompt that I don't know how to 
respond to:

You need to create the null device in your jail root environment.
Run the following commands outside the jail root environment,
and then press enter:
mkdir -m 0755 -p /dev
rm -f //compat/linux/dev/null
mknod //compat/linux/dev/null c 2 2
chmod 666 //compat/linux/dev/null

I found that this prompt comes from the makefile in the linux-base port, which 
I don't have access to at the moment, so I can't quote it exactly.

Clueless, I just pressed enter at the prompt, thinking I could always go back 
and do it later, or deinstall the port and reinstall it when I learn what to 
do.  

I know what a jail is, but how do I know what my  is?
Also, why the double slashes in the last 3 lines?  What do they mean?

What is the proper way to deal with this prompt?

-- 
Thanks,
Charles

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


Re: Anyone have /usr/ports/java/jdk14 working on 4.8?

2003-12-10 Thread Charles Howse
On Wednesday 10 December 2003 07:53 am, Steve Bertrand wrote:
> On Wed, 2003-12-10 at 08:47, Gautam Gopalakrishnan wrote:
> > On Wed, Dec 10, 2003 at 07:25:46AM -0600, Charles Howse wrote:
> > > You don't by any chance have OpenOffice-1.1 working do you?
> > > That's where I'm going with this, but I have to get jdk working first.
> > > attempting to install jdk takes 6+ hrs on my machine.  :-)
> >
> > I just got both working less than a week back. I first fetched the
> > packages for jdk14 so that all is ready for compilation. Just make sure
> > you have plenty of swap too (I needed atleast 128M). If that's your
> > problem, you could add some space in a swap file for now and then delete
> > it later (see the handbook). The error message is mostly visible in ttyv0
> > (apart from the errors on the screen)
> >
> > # cd /usr/ports/java/jdk14
> > # make fetch-recursive
> > # make install clean
> > # (go to sleep...)
>
> Me too. Worked ok on fresh 4.9 install.
>
> > openoffice-1.1 takes about 15 hrs on my celeron 1.7Ghz with 256 MB ram.
>
> About 20 hrs on IBM Thinkpad 700 celeron.
>
> Steve
>
> > Hope that was of some use...
> > Gautam

That's much help, thanks!
OK, next question...
Assuming I get OO installed, what versions of MS Office files will it open?
I have need to open MS Office *XP* files. (cross fingers)

-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
A little ambiguity never hurt anyone.

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


Re: Anyone have /usr/ports/java/jdk14 working on 4.8?

2003-12-10 Thread Charles Howse
On Wednesday 10 December 2003 07:16 am, Eric Pogroski wrote:
> On Tue, 09 Dec 2003 15:44:54 -0600
>
> Charles Howse <[EMAIL PROTECTED]> wrote:
> > Please tell me how you did it.
> > My build always fails.
> > I have /usr/local/linux-sun-jdk1.4.2 working.
> >
> > [EMAIL PROTECTED] /usr/local/linux-sun-jdk1.4.2/bin]# ./java -version
> > java version "1.4.2_02"
> > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_02-b03)
> > Java HotSpot(TM) Client VM (build 1.4.2_02-b03, mixed mode)
> >
> > --
> > Thanks,
> > Charles
> > http://howse.homeunix.net:8080
> >
> > Random Murphy's Law:
> > Envelopes and stamps which don't stick when you lick
> > them will stick to other things when you don't want
> > them to.
>
> Hi Charles:
>
>   Yes, here's what I had to do:
> 1. cd /usr/ports/java/linux-sun-jdk14 && make install <-- Don't clean yet
> 2. cd /usr/ports/java/jdk14 && make  install < installs, and works
> 3. cd /usr/ports/java/linux-sun-jdk14 && make clean
>
> it'll take a couple of hours on an athlon 2100+ running 4.8 release patch
> level 14

Eric, thanks for the reply.
I'll try that right away.
You don't by any chance have OpenOffice-1.1 working do you?
That's where I'm going with this, but I have to get jdk working first.
attempting to install jdk takes 6+ hrs on my machine.  :-)

-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
You can't guard against the arbitrary.

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


Anyone have /usr/ports/java/jdk14 working on 4.8?

2003-12-09 Thread Charles Howse
Please tell me how you did it.
My build always fails.
I have /usr/local/linux-sun-jdk1.4.2 working.

[EMAIL PROTECTED] /usr/local/linux-sun-jdk1.4.2/bin]# ./java -version
java version "1.4.2_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_02-b03)
Java HotSpot(TM) Client VM (build 1.4.2_02-b03, mixed mode)

-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
Envelopes and stamps which don't stick when you lick
them will stick to other things when you don't want
them to.

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


Re: How to make printer print faster?

2003-12-09 Thread Charles Howse
On Tuesday 09 December 2003 01:18 pm, Peter Ulrich Kruppa wrote:
> On Tue, 9 Dec 2003, Charles Howse wrote:
> > On Tuesday 09 December 2003 12:19 pm, Peter Ulrich Kruppa wrote:
> > > On Tue, 9 Dec 2003, Marco Beishuizen wrote:
> > > > Hello,
> > > >
> > > > I own a HP LaserJet 2100, connected to my home network. According to
> > > > the specifications it should be able to print 10 pages per minute.
> > > > When using Windows that's not a problem. But using FreeBSD (with lpd
> > > > configured with help of Apsfilter from the ports) it prints very
> > > > slowly, I guess about 2 pages per minute.
> > > >
> > > > Is it possible to make printing go faster?
> > >
> > > Start apsfilter's setup and play around with resolutions and
> > > qualities.
> > > If you need different quality standards, you could give them
> > > different names like hplaser_lo and hplaser_hi .
> > >
> > > Regards,
> > >
> > > Uli.
> >
> > Uli,
> > With all due respect, do you know for a fact that your suggestion works?
> > I have a HP1100, configured with apsfilter, and I have tried that very
> > same thing, and it only prints at 600 dpi.
>
> Sorry, this is bad. This works - as described - with my
> hp-deskjet at home and one kyocera-laser at work. So I guessed
> one could do it with your printer, too.
>
> Uli

No problem.  The bad thing is that there is a HP1100 DeskJet AND a HP1100 
LaserJet.  People seem to get the drivers confused.

-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
Any given program will expand to fill all available memory.

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


Re: How to make printer print faster?

2003-12-09 Thread Charles Howse
On Tuesday 09 December 2003 01:04 pm, Scott I. Remick wrote:
> On Tue, 9 Dec 2003 12:29:15 -0600, Charles Howse wrote:
> > With all due respect, do you know for a fact that your suggestion works?
> > I have a HP1100, configured with apsfilter, and I have tried that very
> > same thing, and it only prints at 600 dpi.
> >
> > Does anyone know the correct driver for the HP1100 LaserJet?
> > I've been using ljet4.
>
> I have a Laserjet 1012 and I can only get 600dpi. I use the hpijs driver w/
> CUPS.

Frustrating, isn't it?
The hpijs driver was suggested to me, I guess it's useless to try it.

-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
Definition of an elephant:
A mouse built to goverment specifications.

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


Re: How to make printer print faster?

2003-12-09 Thread Charles Howse
On Tuesday 09 December 2003 12:19 pm, Peter Ulrich Kruppa wrote:
> On Tue, 9 Dec 2003, Marco Beishuizen wrote:
> > Hello,
> >
> > I own a HP LaserJet 2100, connected to my home network. According to the
> > specifications it should be able to print 10 pages per minute. When using
> > Windows that's not a problem. But using FreeBSD (with lpd configured with
> > help of Apsfilter from the ports) it prints very slowly, I guess about 2
> > pages per minute.
> >
> > Is it possible to make printing go faster?
>
> Start apsfilter's setup and play around with resolutions and
> qualities.
> If you need different quality standards, you could give them
> different names like hplaser_lo and hplaser_hi .
>
> Regards,
>
> Uli.

Uli,
With all due respect, do you know for a fact that your suggestion works?
I have a HP1100, configured with apsfilter, and I have tried that very same 
thing, and it only prints at 600 dpi.

Does anyone know the correct driver for the HP1100 LaserJet?
I've been using ljet4.

-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
There is no such thing as a straight line.

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


5.1 and ACPI

2003-12-05 Thread Charles Howse
Hi,
I have just loaded 5.1 on an old Celeron 300, and need to learn something 
about ACPI.

I Googled, and found a considerable amount of info concerning this issue, but 
the only thing I understood, was how to force the default boot choice to not 
load the acpi module.

I went to:
http://www.usenix.org/events/usenix02/tech/freenix/full_papers/watanabe/
watanabe_html/index.html
and read what little I could understand. (not much)

When I boot the computer, right after the bios loads the table that shows the 
hardware, PCI devices, memory locations, etc., I see:

PS/2 Mouse Present
ACPI Function Enabled
Searching for boot record on CD
etc.
So, I am assuming that this machine *is* capable of ACPI.

When I choose the default boot option from the menu, I get a TON of messages 
concerning ACPI.  
Assuming these msgs are errors, I have added hint.acpi.0.disabled="1" to /
boot/device.hints, and now I can boot the default choice without these msgs.

I do understand that 5.1 is a development release, but have I mis-interpreted 
somethingdoes this machine do ACPI, but FBSD doesn't like the way it does 
it, or what?


> Dec  4 07:39:52 larry kernel: ACPI-1287: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:52 larry kernel: ACPI-0175: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:52 larry kernel: ACPI-1287: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:52 larry kernel: ACPI-0175: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-1287: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-0175: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-1287: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-0175: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-1287: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-0175: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-1287: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-0175: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-1287: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-0175: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-1287: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-0175: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-1287: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-0175: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-1287: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-0175: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-1287: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-0175: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-1287: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-0175: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-1287: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-0175: *** Error: Method execution failed
> [\_SB_.NRTH.SBRG.PS2M._STA] (Node 0xc09fa520), AE_AML_REGION_LIMIT Dec  4
> 07:39:53 larry kernel: ACPI-1287: *** Er

Re: Xdm/Kdm/Gmd

2003-12-04 Thread Charles Howse
On Thursday 04 December 2003 02:39 pm, Payne wrote:
> Charles Howse wrote:
> >On Thursday 04 December 2003 01:07 pm, Payne wrote:
> >>Hi,
> >>
> >>Thanks for the help early, I am wanting to have either xdm/kdm/gdm to
> >>start once my system it up, how can I do this? Also which is best?
> >
> >http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-xdm.html
> >
> >This will detail the process for you.
> >As to which is best, that's only valid if you are running Gnome AND KDE.
> >I'm not familiar with gdm, but kdm is bundled w/ KDE, and xdm is bundled
> > w/ XFree86.
>
> Thanks, I have printed out the mannual so I will take a look at. GMD  =
> Gnome, I am old linux guy and I like kdm, I was hoping there was a wdm
> port, it suppose to be the best. Oh well.

[EMAIL PROTECTED] /usr/ports]$ make search key=wdm
[snip]
Port:   wdm-1.25_1
Path:   /usr/ports/x11/wdm
Info:   WINGs Display Manager; an xdm replacement
Maint:  [EMAIL PROTECTED]
Index:  x11 windowmaker
B-deps: Hermes-1.3.3 XFree86-libraries-4.3.0_6 expat-1.95.6_1 
fontconfig-2.2.90_3 freetype2-2.1.5_1 gettext-0.12.1 imake-4.3.0_1 jpeg-6b_1 
libiconv-1.9.1_3 libungif-4.1.0b1_1 pkgconfig-0.15.0 png-1.2.5_2 tiff-3.6.0 
windowmaker-0.80.2_1 wmicons-1.0
R-deps: Hermes-1.3.3 XFree86-libraries-4.3.0_6 expat-1.95.6_1 
fontconfig-2.2.90_3 freetype2-2.1.5_1 gettext-0.12.1 imake-4.3.0_1 jpeg-6b_1 
libiconv-1.9.1_3 libungif-4.1.0b1_1 pkgconfig-0.15.0 png-1.2.5_2 tiff-3.6.0 
windowmaker-0.80.2_1 wmicons-1.0

-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
If you buy bananas or avocados before they are ripe,
there won't be any left by the time they are ripe.  If
you buy them ripe, they rot before they are eaten.

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


Re: Xdm/Kdm/Gmd

2003-12-04 Thread Charles Howse
On Thursday 04 December 2003 01:07 pm, Payne wrote:
> Hi,
>
> Thanks for the help early, I am wanting to have either xdm/kdm/gdm to
> start once my system it up, how can I do this? Also which is best?

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

This will detail the process for you.
As to which is best, that's only valid if you are running Gnome AND KDE.
I'm not familiar with gdm, but kdm is bundled w/ KDE, and xdm is bundled w/ 
XFree86.

-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
An easily-understood, workable falsehood is more useful
than a complex, incompreshensible truth.

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


rmsg problem

2003-12-02 Thread Charles Howse
Hi,
I've installed /usr/ports/net/rmsg and started the rmsgd on two of my 
computers.
I've also set mesg y for each one.

When I do:
echo "here is a message" | rmsg [EMAIL PROTECTED]
it goes through fine

when I go the other way:
echo "right back at ya" | rmsg [EMAIL PROTECTED]
I get:
rmsg: charles refusing messages

Anyone got any ideas about what's wrong here?
I've verified the daemon is running on moe, and that mesg is set to y.
Both root and charles are logged on at their respective computers.
root is running cli only, while charles is using KDE.

-- 
Thanks,
Charles
http://howse.homeunix.net:8080

Random Murphy's Law:
Cleanliness is next to impossible.

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


  1   2   3   4   >