Re: perl pause or wait

2004-05-13 Thread Christopher Nehren
JJB wrote:
I have perl script that issues the newsyslog command followed by 3
perl scripts that process the new .0 rotated file.

Problem is the newsyslog rotate has not completed creating the new
.0 and rolling through the other .x files before the first perl
script in trying to open the .0 file for processing.

Is there in perl pause or wait command I can use to  allow some time
to elapse before continuing with the launch of the next script?

Using a statement that delays for a specified period of time is a
generally bad idea because you can't guarantee that the operation will
complete in that time. Hence, you should look into filesystem locking
functions: 'perldoc -f fcntl', 'perldoc -f flock', and 'perldoc -f
lock'.

Alternatively, you could use the four-argument form of select to
receive information about when the files are available, but that's
probably too complicated for what you want to do.

Reading through 'perldoc perlipc' is advised for what you want to do.
Granted, it's not traditional IPC, but architecting some IPC would help
to guarantee that you're not processing the files before they're ready.

Yet _another_ possible solution: why do you have four scripts? Can you
not do what you want with one well-structured script? Perl has
virtually all of the branching constructs of C, and some of its very
own.

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated.  -- Ken Thompson
-
Unix is user friendly. However, it isn't idiot friendly.
-
Please CC me in all replies, even if I'm on the relevant list(s).


pgp0.pgp
Description: PGP signature


Re: Printing to a network printer?

2004-05-13 Thread Christopher Nehren
Gerard Samuel wrote:

Specifically to a Brother MFC3820cn -
http://solutions.brother.com/mfc3820cn_us/en_us/
Im currently trying to print to it via CUPS, but Im getting nowhere
fast.

Every so often I see someone or more than one someone struggling with 
CUPS and I have to ask myself Why?. Why can't you use LPD? It's 
pathetically simple: so simple that even I have a networked printer 
working nicely. I remember going through months of pain with CUPS. 
And that was with a local printer! Maybe thirty minutes with LPD (ten 
if you don't count my initial, uninformed choice of an any-to-PS filter 
which gave unexpected output) and I have a perfectly functional 
networked printer. The LPD documentation in /usr/share/doc/smm/07.lpd/
is extremely helpful, as is the Handbook, 
http://www.linuxprinting.org , and of course the manpages. I actually
printed 4.3BSD Line Printer Spooler Manual (the doc in smm/07.lpd/)
when I setup my printer, and I'm very glad that I did.

If it's a licensing issue, then you're using the wrong OS.

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated.  -- Ken Thompson
-
Unix is user friendly. However, it isn't idiot friendly.
-
Please CC me in all replies, even if I'm on the relevant list(s).


pgp0.pgp
Description: PGP signature


Re: the most light weight X web browser?

2004-05-08 Thread Christopher Nehren
On Sat, 8 May 2004 02:28:32 -0700, Roop Nanuwa scribbled these
curious markings:

Take a look at Opera. It is extremely lightweight in both size, memory
footprint and CPU usage. It also has a built-in kiosk mode which would
probably be perfectly suited for use in the tea house.

... right. Opera is a kitchen sink suite just like Mozilla.
That, and it's the ugliest thing on the planet -- even worse than
anything Apple's ever released, IMO.

If you want lightweight and fast, use links -g or Dillo. Maybe w3m.

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated.  -- Ken Thompson
-
Unix is user friendly. However, it isn't idiot friendly.
-
Please CC me in all replies, even if I'm on the relevant list(s).


pgpxMA3c7znqn.pgp
Description: PGP signature


Re: possible virus

2004-05-16 Thread Christopher Nehren
On Sat, 15 May 2004 20:01:33 +0100, arden wrote:

Ive just received an e-mail claiming to be from Microsoft telling me
torun the attached patch

It's a known worm. Look at the headers and you can clearly see that it's
not from Microsoft. This is why I have mutt and Evolution configured to
always show all headers. If you're bored, try running it under wine,
though I wouldn't do that on a production system. =)

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated.  -- Ken Thompson
-
Unix is user friendly. However, it isn't idiot friendly.
-
Please CC me in all replies, even if I'm on the relevant list(s).


pgpwvwwzIMoFw.pgp
Description: PGP signature


Re: digital video cameras?

2004-05-16 Thread Christopher Nehren
On Sat, 15 May 2004 20:13:15 +0100, Ben Paley wrote:
Anyone know anything about digital video cameras and freebsd? I've got 
usb but no firewire. What might be a good choice? And what editing 
software should I be looking at? Is there something in the ports that 
people like?

I've had great luck with a serial camera, actually. It's a Kodak DC3200.
I access it via the gtkam plugin for the GIMP, which is by far (one of)
the best image editing program(s) for Unix (and Windows). If you don't
want to go serial or Kodak, you'll still want to look at the list of
cameras that libgphoto2 supports.

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated.  -- Ken Thompson
-
Unix is user friendly. However, it isn't idiot friendly.
-
Please CC me in all replies, even if I'm on the relevant list(s).


pgp9IzF3xn0Cq.pgp
Description: PGP signature


Re: HP Printer not working?

2004-05-16 Thread Christopher Nehren
On Thu, 03 Jun 2004 21:48:22 +0200, David Telyas wrote:

I have an i386 running FreeBSD 5.2.1 and KDE, but I can't get my printer
working. It's a HP Deskjet 5550 connected via USB. I've heard about lpd
and cups, but don't know which one to use or what the difference is. So
can anyone guide a Windows user to an easy howto?

Go http://www.linuxprinting.org/show_printer.cgi?recnum=HP-DeskJet_5550
there and http://www.linuxprinting.org in general. Look at the LPD
instructions. Fortunately, your printer is supported perfectly. :D Oh,
and for your own sake, forget about the Common Unix PITA System. It's
far too complicated. I'll be glad to help you set up LPD.

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated.  -- Ken Thompson
-
Unix is user friendly. However, it isn't idiot friendly.
-
Please CC me in all replies, even if I'm on the relevant list(s).


pgpfqaSf0FZkp.pgp
Description: PGP signature


Re: Cannot Login After Using Kuser to setup Accounts

2004-05-19 Thread Christopher Nehren
On Wed, May 19, 2004 at 10:23:24 EDT, Mark Teel scribbled these
curious markings:
 On a fresh install of FreeBSD 5.2, after I add a user via kuser, when I 
 logout I cannot log back in!
 I get a message stating that the accound has expired, even for the 
 root user.

Looks like you got bitten by a bug in KUser that was shipped with
FreeBSD 5.2. This has been fixed in the latest version.

As a fix, try booting into single user mode, mounting your filesystems
(it's important to mount them rw), and then fixing your passwd database
with vipw. 

Regardless of whether that fixes things or not, it's a very good idea to
update KDE to the latest version (or just use the robust user and group
administration tools that have shipped with FreeBSD and that have worked
for years).

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated.  -- Ken Thompson
-
Unix is user friendly. However, it isn't idiot friendly.
-
Please CC me in all replies, even if I'm on the relevant list(s).


pgpITL9raEAbo.pgp
Description: PGP signature


Re: Learning perl

2004-05-22 Thread Christopher Nehren
On Sat, May 22, 2004 at 13:10:05 EDT, Matthew Seaman scribbled these
curious markings:
 On Sat, May 22, 2004 at 11:48:42AM -0400, JJB wrote:
  Looking for recommendations of best web sites for tutorials on
  learning perl,
  asking questions of peer group, lookup syntax, paper books, ETC.
 
 Three things:
 
 The Camel:  http://www.oreilly.com/catalog/pperl3/
 
 The Llama:  http://www.oreilly.com/catalog/lperl3/
 
 and the Monks:  http://www.perlmonks.org/
 
   Cheers,
 
   Matthew
 

I can only mirror Matthew's advice with wholehearted enthusiasm. Start
with the Llama, work your way to the Camel, and be sure to learn about
the great services offered by the Monks. I have a couple of titles to
add:

Mastering Regular Expressions[1]: http://www.oreilly.com/catalog/regex2

Mastering Algorithms with Perl[2]: http://www.oreilly.com/catalog/maperl


[1]: Not specifically Perl-oriented, but a must-read regardless.
[2]: Decent algorithms can speed up 90% of the code that you write. And
when they can't, it's often beyond the capability of the software to 
help you.

If you're really serious about learning and using Perl, you'll also want
to look into many of the application-specific books written with Perl as
the target language. There's database handling, XML processing, even
bioinformatics. Most of these are O'Reilly titles, with at least a
couple of major exceptions: Damian Conway's book on objects, and Lincoln
Stein's (of CGI.pm fame) book on networking.

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated.  -- Ken Thompson
-
Unix is user friendly. However, it isn't idiot friendly.
-
Please CC me in all replies, even if I'm on the relevant list(s).


pgpCHQXdONzdL.pgp
Description: PGP signature


Re: Proper way to start a program at log-on

2004-05-24 Thread Christopher Nehren
On Sun, May 23, 2004 at 21:42:04 EDT, Kirk Strauser scribbled these
curious markings:
 Nope, that's fine.  Of course, you *could* just leave it running forever, if
 you really wanted to.

No, it is anything _but_ fine. If Gerard makes a mistake with
mergemaster, his shutdown changes are lost. The proper way to do so is, 
as others have suggested, to place a script in /usr/local/etc/rc.d/. If 
you want to do it completely properly, using rcNG (with rc.subr and
rc.conf) is the way to go.

Generally speaking, any well-behaved port leaves /etc alone completely. 
The only change that you should ever have to make to anything in /etc 
is a ${portname}_enable=YES in /etc/rc.conf, if the port uses rcNG. 
Having third-party software muck around in /etc (especially things like
a shutdown script) is a Linux prob ... er ... methodology. I'd hate to
think of what would happen if an entry in /etc/rc.shutdown was
incorrect, and caused the script to fail, thus not returning 0...

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated.  -- Ken Thompson
-
Unix is user friendly. However, it isn't idiot friendly.
-
Please CC me in all replies, even if I'm on the relevant list(s).


pgp5hBJkoW4Qi.pgp
Description: PGP signature


Re: Mystery Ports

2004-05-24 Thread Christopher Nehren
On Mon, May 24, 2004 at 11:44:40 EDT, Jason Dusek scribbled these
curious markings:
 Hey,
 
 So I have some ports open (111 and 1023) and I don't know why. How do I 
 find out what is keeping them open? I'm told that 111 is related to nfs, 
 so I knocked off nfsiod but that didn't solve the problem...

Check the output of sockstat(1). 111 is rpcbind, needed for NFS, FAM,
and some other things. 1023 is also NFS-related, IIRC.

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated.  -- Ken Thompson
-
Unix is user friendly. However, it isn't idiot friendly.
-
Please CC me in all replies, even if I'm on the relevant list(s).


pgpo0ht4CKCae.pgp
Description: PGP signature


Re: Mystery Ports

2004-05-24 Thread Christopher Nehren
On Mon, May 24, 2004 at 11:58:43 EDT, JJB scribbled these
curious markings:
 If you are running 5.x releases they have bug where NFS is run all
 the time even if you don't want them. You have to recompile your
 kernel without NFS support before they go away.  You should submit
 an bug report about this.

... what? That's literally preposterous and ridiculous. My 5.2.1 system
doesn't demonstrate this behavior.

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated.  -- Ken Thompson
-
Unix is user friendly. However, it isn't idiot friendly.
-
Please CC me in all replies, even if I'm on the relevant list(s).


pgpH2GsCxpn7D.pgp
Description: PGP signature


Re: Strange pkg_info output

2004-05-25 Thread Christopher Nehren
On Tue, May 25, 2004 at 14:01:11 EDT, Chuck Swiger scribbled these
curious markings:
 pkg_info: package bsdpan-DBD-mysql-2.9003 has no origin recorded
 pkg_info: package bsdpan-DBI-1.42 has no origin recorded
 pkg_info: package bsdpan-GD-1.19 has no origin recorded
 
 Should I be worried about this? Or, how do I fix this?

The messages are telling you that when you installed the package, BSDPAN
did register it into the package database, but it (obviously) has no
information about where from the ports tree you installed it; e.g., if
you installed DBI from the ports tree, its origin would be
databases/p5-DBI. Why you're installing packages that are in the ports
tree without using the ports tree is beyond me. If you want it to be
updated, send-pr with a patch.

 I would be interested in a fix for this as well, however.

The simplest solution would be to create a port out of the module in
question. It's extremely simple; a typical Perl module's port makefile
fits on one 80x25 console screen, and its pkg-plist would fit on an
80x10 screen :). I've done this myself a number of times. Just remember
that if you put the port in the category Makefile (e.g.
databases/Makefile), any subsequent cvsup / cvs update will remove your 
changes.

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated.  -- Ken Thompson
-
Unix is user friendly. However, it isn't idiot friendly.
-
Please CC me in all replies, even if I'm on the relevant list(s).


pgp9SHi8jGc7e.pgp
Description: PGP signature


fetchmail chopping off messages 77 kB

2004-01-30 Thread Christopher Nehren
I'm currently using fetchmail to retrieve my email from my ISP. It works
wonderfully, especially in combination with procmail and SpamAssassin --
except for one little problem that I'd like to verify is a bug here
before sending a possibly spurious bug report. It seems that fetchmail
truncates all messages to around 77 kB or so. It sees the message as
more than 77 kB (for example, one such message comes up as 975525
octets.). It just can't deal with it. Here's what my .fetchmailrc looks 
like:

== cut here ==
set daemon 600
set syslog
poll my.mail.server proto pop3 pass 'pass' ssl limit 0
fetchsizelimit 0
== cut here=

I've tried cutting procmail + SpamAssassin out of the process, and it
still truncates the message, this time sending to /var/mail/apeiron
rather than where I've told procmail to send it. I've tried manually
retrieving the email with mutt, saving it on disk, and viewing it with
Evolution versus having procmail fetch it, then viewing it with
Evolution. The former works, the latter doesn't.

I'm running fetchmail as /usr/local/bin/fetchmail -v -v from cron with
the @reboot qualifier.

I've RTFM'd and looked around for anything that would cause such an
arbitrary limit, and can't find anything.

It seems rather odd that such a limit would be arbitrarily imposed on
messages, and I'm hesitant to label it as a bug being that fetchmail is
so widely used. 

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated.  -- Ken Thompson
-
Please CC me in all replies, even if I'm on the relevant list(s).


pgp0.pgp
Description: PGP signature


Re: 3Com USRobotics 5699B 56k fax modem install

2004-02-08 Thread Christopher Nehren

If you can, take your 5699B back and get a 5610B. It's a great
non-winmodem made by USR, and it gave me many successful and
uninterrupted dial-up hours.

As an aside, someone should make a database of working modems, like
with working printers. Someone might have done so already, /me shrugs.

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated.  -- Ken Thompson
-
Please CC me in all replies, even if I'm on the relevant list(s).


pgp0.pgp
Description: PGP signature


hotsmtpd dumping core on authentication

2004-04-21 Thread Christopher Nehren
I just recently installed hotsmtpd from the ports tree on my -STABLE
box. It runs just fine, but whenever I try to send an email, the process
core dumps at the authentication step. I'm fairly certain that it's a
configuration issue, but I'm not sure what. My guess is that it's
something to do with SASL. Any help appreciated.

Best regards,
Christopher Nehren

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated.  -- Ken Thompson
-
Unix is user friendly. However, it isn't idiot friendly.
-
Please CC me in all replies, even if I'm on the relevant list(s).


pgp0.pgp
Description: PGP signature


multiuser screen sessions

2003-07-27 Thread Christopher Nehren
I've looked through the screen manual, and did :multiuser on, :acladd
$user, :aclchg $user +rwx ?#, and still can't connect to another
user's attached or detached screen using -r $otheruser/ or -x
$otheruser/. My screen is setuid root as the manual states is required,
but I keep getting a message stating that there's been an attach attempt
from an invalid pid, which it then specifies in parentheses. I've
searched the screen manual for pid, and only found info in the synopsis
and for the -r switch. I'm not really sure what else to try; I've even
done :aclchg * +rwx ?# to no avail. I believe that I'm probably
missing something obvious, but I'm not really sure what. Thanks in
advance to any help.

Best regards,
Christopher Nehren


signature.asc
Description: This is a digitally signed message part


pom(6) doesn't accept date arguments whereas NetBSD's does

2003-03-06 Thread Christopher Nehren
I've compared the versions of pom(6) on FreeBSD and NetBSD (which is
also the one installed on Debian GNU/Linux), and the NetBSD one accepts
a date argument. Why hasn't this version been imported into FreeBSD? I
can see nothing in terms of licensing (or anything else for that matter,
including a mailing list archive search for relevant issues) which would
prevent it from being directly imported, without any changes to anything
else in the build system. I've used it as a drop-in replacement on my
system without difficulty. I've also thought of making a separate port
of it, but it'd be much easier to just have it as part of the base
system (no, it's not installed by the freebsd-games port). For those who
are curious, the NetBSD version may be obtained at
ftp://{MIRROR_SITE_URL}/NetBSD/NetBSD-current/src/games/pom/pom.c .


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


send-pr(1) requires local mail daemon,breach of contract for Comcast users

2003-03-11 Thread Christopher Nehren
I'm running FreeBSD as the only operating system on my home machine,
using Comcast non-professional as my ISP. My problem is that send-pr is
written to use a local mail daemon to send mail to the GNATS submission
site. Running a mail daemon, however, is strictly and expressly
prohibited by Comcast's Terms of Service. Is there another way of
submitting bug reports that doesn't require me to either breach my
contract with my ISP, or manually copy and paste text for each report
(yes, I've checked the web interface, which is 'currently disabled')?



... No, the answer isn't get a better ISP.


signature.asc
Description: This is a digitally signed message part


Re: send-pr(1) requires local mail daemon,breach of contract for Comcast users

2003-03-11 Thread Christopher Nehren
On Tue, 2003-03-11 at 13:09, Dan Nelson wrote:

 I'm sure runing an incoming mail daemon is the prohibited part.  Just
 using it to send messages can't be prohibited imho.

From the Comcast Acceptable Use Policy:

You may not resell, share, or otherwise distribute the Service or any
portion thereof to any third party without the written consent of Comcast. 
For example, you cannot provide Internet access to others through a dial up 
or wireless connection (unless you are subject to a Service plan that permits 
otherwise), host shell accounts over the Internet, provide email or 
news service, or send a news feed. You may not use the Service for 
commercial purposes. The Service offering is a residential 
consumer product designed for your personal, non-commercial use of 
the Internet. For example, the Service does not provide the type 
of security, upstream performance and total downstream throughput capability
typically associated with commercial use. 

You may not run a server in connection with the Service, nor may you
provide network services to others via the Service unless you are
subject to a Service plan that permits otherwise. Examples of prohibited
uses include, but are not limited to, running servers for mail, http,
ftp, irc, wifi, and dhcp, and multi-user interactive forums. 

Apparently they think otherwise. In running the mail server, I provide
mail service to myself. They provide me with POP3 and SMTP mail -- they
want me to use them.


signature.asc
Description: This is a digitally signed message part


Re: send-pr(1) requires local mail daemon,breach of contract for Comcast users

2003-03-11 Thread Christopher Nehren
On Tue, 2003-03-11 at 13:29, Dan Nelson wrote:
 I'm almost positive that when they mean server they mean an incoming
 server.  A sendmail that simply queues outgoing email for sending
 should not be prohibited.  If you're worried, just send an email to
 their support group.

I've sent them an email asking about the smarthost setup -- the ball's
in their court now. 

Thanks for the help, it's most appreciated.


signature.asc
Description: This is a digitally signed message part


Re: send-pr(1) requires local mail daemon,breach of contract for Comcast users

2003-03-11 Thread Christopher Nehren
On Tue, 2003-03-11 at 14:51, Giorgos Keramidas wrote:
 You can always configure Sendmail to listen on localhost:25 only.
 This is what the relevant part of my rc.conf looks like:
 I'm sure that your ISP can't object to *this* sort of setup.

Based upon a point raised by Bill Moran, I see how that works now.

Thanks again to those who have helped me with this.

Best regards,
Christopher


signature.asc
Description: This is a digitally signed message part


PDL 2.3.4 marked as broken but builds without problem

2003-03-16 Thread Christopher Nehren
I went to build p5-Gimp on my system and it pulled in PDL as a
dependency. It failed, saying that the port was broken and didn't
compile. Curious, I downloaded the distfile from ftp2.freebsd.org and
extracted it to my ~ and built it on my own, without any patches (or
errors). I'm not exactly sure of any relevant information which enabled
my build to succeed, but I'll provide anything that I can.


signature.asc
Description: This is a digitally signed message part


Re: PDL 2.3.4 marked as broken but builds without problem

2003-03-16 Thread Christopher Nehren
On Sun, 2003-03-16 at 16:24, [EMAIL PROTECTED] wrote:
 Anything you cd provide would be great - I tried to build PDL via the port today 
 and it plotzed almost immediately. Was going to try to build it via CPAN but 
 haven't gotten around to that yet :)

Okay, first off my uname -a is:

FreeBSD prophecy.dyndns.org 5.0-RELEASE-p4 FreeBSD 5.0-RELEASE-p4 #0:
Tue Mar 11 15:31:41 EST 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/PROPHECY  i386

Some information on the dates of my ports tree:

% ll /usr/ports/math/PDL /usr/ports/INDEX*
-rw-r--r--  1 root  wheel  3194316 Feb  8 08:18 /usr/ports/INDEX
-rw-r--r--  1 root  wheel  3326343 Feb  9 01:31 /usr/ports/INDEX-5
-rw-r--r--  1 root  wheel  7236608 Mar 16 13:10 /usr/ports/INDEX.db

/usr/ports/math/PDL:
total 12
-rw-r--r--  1 root  wheel  2453 Feb 20 13:42 Makefile
-rw-r--r--  1 root  wheel58 Sep 25 00:03 distinfo
drwxr-xr-x  2 root  wheel   512 Mar 15 15:18 files
-rw-r--r--  1 root  wheel   786 Aug 22  2000 pkg-descr
-rw-r--r--  1 root  wheel11 Sep 25 00:03 pkg-plist

I'm not really sure what else to provide. I'd attach `pkg_info`, but I'd
rather not attach 26 kilobytes of text without permission first.

One thing, though: did you attempt to build yours out of the ports tree?
I built mine by getting the distfile from a FreeBSD FTP site, untarring
it, and doing the standard make and such. If you showed me the errors
which you've received, I could look at the relevant information on my
system and perhaps devise a fix (or at least discern what allowed my
build to succeed). 


signature.asc
Description: This is a digitally signed message part


Re: ./sshd start then nothing

2005-03-08 Thread Christopher Nehren
On 2005-03-09, Tsu-Fan Cheng scribbled these
curious markings:
   I am trying to enable sshd on my freebsd5.4 prerelease (I didn't
 realize this when I cvsup the stable source). Anyway. I read something
 in the mailing list which said that I should go to /etc/rc.d, then
 execute ./sshd start from there, this will make ssh-keygen to
 generate host key and stuff. I did this and there is nothing, the
 ssh_host_dsa_key is not generated. I have another box which runs
 5.3, and it generates key when I did the same thing. I wonder where
 can it go wrong?

Do you have the following line in /etc/rc.conf?

sshd_enable=YES

You need this line, or otherwise sshd start won't start sshd. You can
use forcestart, but that will only start it once, and won't have it
restart at each reboot. I recommend reading rc(8) and rc.conf(5)

Best Regards,
Christopher Nehren
-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: apache upgrade 1.3 - 2

2005-03-09 Thread Christopher Nehren
On 2005-03-09, Perttu Laine scribbled these
curious markings:
 Is it easy (or possible even) to upgrade apache 1.3 to 2 with ports.
 I'm running apache-1.3.33_1 with php5 and mysql 4 on FreeBSD 5.3
 machine and now I'd like to go to apache2.

Of course it's possible. It's even easy if you read the documentation
and understand what's changed between 1.x and 2.x. I remember reading
something about PHP not being thread-safe, however, and since that may
be one of the reasons for your wanting to upgrade (worker saves one of
my machines about 25 MB of core for equivalent functionality), you may
want to rethink it.

Best Regards,
Christopher Nehren
-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: postfix on FreeBSD

2005-03-09 Thread Christopher Nehren
On 2005-03-09, Paul Schmehl scribbled these
curious markings:
 Should be:
 postmap hash:/usr/local/etc/postfix/access

Really? I've updated hash files (not access, but canonical and
transport) without the hash: prefix and they've worked fine. Taking a
look at the top of those files even shows the usage without the hash:
prefix (access included).

Best Regards,
Christopher Nehren
-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: Who is using ACLs in production?

2005-03-13 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-13, Anthony Atkielski scribbled these
curious markings:
 Anyone using ACLs in production on FreeBSD 5.x?  If so, how do you use
 them, and what are your impressions?  How do they affect performance,
 how reliable is the code, does it really help security, etc.?

While not a traditional production environment, my 5.x webserver uses
ACLs to keep user home directories relatively private but accessible at
the same time. I didn't want to open up my home directory to every user
on the system. But at the same time I didn't want to set my files to
group www. ACLs provide a nice middle ground in that sort of situation.

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCNIgUk/lo7zvzJioRAjh1AJ9z1tn23YSbKNmFlF8ef8f/ERReaACgmZGH
x0X6e2WdHTXORTDlSPUtwXw=
=Re5U
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: upgrade a couple of nearly identical machines

2005-03-13 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-13, Dick Hoogendijk scribbled these
curious markings:
 I run three machines with FreeBSD-4.11 and lots of the same ports
 installed. Upgrading these three must be more easy then running
 portupgrade on every machine again and again, upgrading the same ports
 multiple times. This is waste of cpu power ;-)

Make packages of the ports, and then install them on each machine? Use
devel/distcc to split up the load for each?

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCNJGhk/lo7zvzJioRAqpoAJ9/XfkAxOYBqe/hu+jN3J0nIk4jAgCfSNQh
WFbdBVpIKQDcrpJs+zh27y8=
=SHZn
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: FTP server on 5.3

2005-03-16 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-17, Aperez scribbled these
curious markings:
 try to look into pure-ftpd. You might find your solutions with it

As much as I've been tempted to recommend pure-ftpd in the course of
reading this thread, I've restrained from doing so for one reason:
despite the fact that it does support TLS-encrypted connections, very
few *clients* support that. You can have the most encrypted FTP server
on the planet, but it won't do you one mite of good if your clients
can't talk to the server.

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCONnQk/lo7zvzJioRAqtxAJ41nd73jgVw5ZSFgwn2aYheLrxqAwCdHzji
UWtX3Py5xDH0mBdrI6Y3lZw=
=iuys
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: Ebay Phishing

2005-03-20 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-20, Warren Block scribbled these
curious markings:
 If you have your own mailserver, most of this can be rejected by using 
 greylisting or by rejecting mail from dynamic Comcast IP addresses, 
 while still allowing mail coming from Comcast's mail servers.

Which is completely and totally unfair to those of us who *can* control
our networks and who are more than likely being blamed for things that
we aren't even doing (i.e. machines not on Comcast's network forging
headers). DNS blacklisting is one of the most unfair methods of stopping
spam. It's a real pain in the neck for me to edit my Postfix
configuration every time some pissy netadmin decides to blacklist a
whole netblock because of one or two (ignorant) miscreants.

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCPa89k/lo7zvzJioRAtqnAJ9EDa1GEhNIyphls0xSuPwvDq+48ACgh7qQ
ctRpzUxRNGO9q8FCIdkyBYM=
=XKVA
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: Why acroread 5 -- 7 -- 5

2005-03-21 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-21, Albert Shih scribbled these
curious markings:
 Hi all

 Why the acroread change version ?

 Last Monday : acroread -- acroread 5_10
 Midle of last week : acroread -- acroread 7
 end of last week : acroread -- acroread 5

There's a longish thread on the relevant cvs mailing lists which details
the discussion that resulted in this series of events.

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCPu7fk/lo7zvzJioRAp8sAJ4uoFAILhCDmJ4OrNxL0d9nzaxzhwCfaR3F
CEHo/o/nhMbxiKmJVVsFLbw=
=A4s7
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: cpan and POE

2005-03-21 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-21, Random scribbled these
curious markings:
 First off stats
 FreeBSD 4.10 Release
 Now to buissness, Im trying to install POE and so I go installing
 perl -MCPAN -eshell
 cpan install POE

Why not use the Ports Collection?
${PORTSDIR}/devel/p5-POE

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCPu4Bk/lo7zvzJioRAtPmAJ9MjSNYe9alpftKiOUBvblnjDDQXgCbBdeQ
mP+NxQXOlBtmvD+oE56bfFA=
=HliJ
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: c++filt

2005-03-21 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-21, Andrea Venturoli scribbled these
curious markings:
 The above program (from gcc) doesn't exist in base system, and AFAIK no 
 ports installs it.
 Why? And where/how can I find it?

[(12:15:27) [EMAIL PROTECTED] ~] uname -rs
FreeBSD 5.4-PRERELEASE
[(12:15:45) [EMAIL PROTECTED] ~] which c++filt
/usr/bin/c++filt
[(12:15:47) [EMAIL PROTECTED] ~]

[(12:16:00) [EMAIL PROTECTED] ~] uname -rs
FreeBSD 4.10-STABLE
[(12:16:05) [EMAIL PROTECTED] ~] which c++filt
/usr/bin/c++filt
[(12:16:07) [EMAIL PROTECTED] ~]

Which version are you running? Did you install all of the distributions?

(Yes, I know that my systems are out of date. But with GNOME 2.10, Xorg
6.8.2, *AND* KDE 3.4 all hitting the ports tree in very short order, system
upgrades have fallen behind.)

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCPwIpk/lo7zvzJioRAsA4AKCrXgrqieC5X8hdUXIHbUP1IPJJwwCghisW
NyruN5cNIsCozPonQpvr3K8=
=CIHP
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: NIC won't DHCP or configure

2005-03-21 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-21, Kevin G. Eliuk scribbled these
curious markings:
 It's not recognizing it at all.  If (as I assume you do) have X 
 installed could you supply the output of 'scanpci'.  It will provide 
 more information.

Perhaps a better idea, which doesn't depend upon X, would be to use
pciconf, which is in the base system. pciconf -lv (run as root) should
give the details about the card.

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCPx0Zk/lo7zvzJioRAvatAJ9QGm6Hm3TAbOGb3pA11b1ujrbPLwCgoFNI
krajXADlcfMUT2oFp37AqqQ=
=6tuC
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: libgobject-2.0.so.0: cannot open shared object

2005-03-21 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[This is not quite on-topic for gnome@ since gnome@ isn't marked as
maintainer, and it's not quite on-topic for questions@ since it's a
port.]
On 2005-03-22, [EMAIL PROTECTED] scribbled these
curious markings:
 When I try to run adobe acroread7, and realplayer I get the following
 error:

 #/usr/local/bin/acroread
 /compat/linux/usr/local/Adobe/Acrobat7.0/Reader/intellinux/bin/acroread:
 error while loading shared libraries: libgobject-2.0.so.0: cannot open
 shared object file: No such file or directory

 #/usr/local/bin/realplay
 /usr/local/lib/RealPlayer/realplay.bin: error while loading shared
 libraries: libgobject-2.0.so.0: cannot open shared object file: No such
 file or directory

 ls -ld shows:
 [EMAIL PROTECTED] ~]# ls -ld /usr/local/lib/libgobject-2.0.*
 -rw-r--r--  1 root  wheel  523044 Mar 21 00:41
 /usr/local/lib/libgobject-2.0.a
 lrwx--  1 root  wheel  21 Mar 21 00:41
 /usr/local/lib/libgobject-2.0.so@ - libgobject-2.0.so.600
 -rwxr-xr-x  1 root  wheel  243631 Mar 21 00:41
 /usr/local/lib/libgobject-2.0.so.600*

Those are the *FreeBSD* versions of those libraries. You're missing the
*Linux* versions.

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCP6Mok/lo7zvzJioRAh80AJ4gfhHcWbNtaJ3+kVcdgxf7OH/mKwCfRYHo
V6roB+QRbuoeS0hvhJdHtz0=
=KkId
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: dsc

2005-03-21 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-22, Dikshie scribbled these
curious markings:
 can somone porting dsc:
 http://dns.measurement-factory.com/tools/dsc
 and then  port commiters commit it to /usr/ports/dns   

Yes, and that someone can be you. Porting things is rarely difficult
(and when it is, you have the collected experience of the members of the
ports@ mailing list to assist you), and quite addictive. Before you know
it, you maintain a port, then two, then more. The Porter's Handbook is a
good place to start.

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCP7Pck/lo7zvzJioRAmbPAJ0W+HCstrnHxXYpj/N5dP5QaL2PmwCbBNHU
fDbWePOcUSY+t2K1UkbXK9o=
=39rF
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: Keyboard Repeat Rate

2005-03-22 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-22, Tom Vilot scribbled these
curious markings:
 After I start X, I need to switch to a virtual console and log in as
 root so that I can issue kbdcontrol -r fast.

Do you mean that you have your system set to load X immediately upon
booting, and that you do not set the keyboard repeat rate before then?
If so, put the following in /etc/rc.conf:
keyrate=fast

And all should be well. Also note that you do not need to be root to
issue that command. I need to do this command a lot when I reboot a
machine on my KVM, because it registers as a keyboard disconnect which
fouls up the keyboard settings, and having to su root each time would be
rather annoying.

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCQH3ek/lo7zvzJioRArSiAKCQkEj56qt9AeX5G+6Gp5TNSeOspACeLy05
t0ydLhuXH4uR9hZcfxOEJQs=
=mJ0k
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: FreeBSD installation with single / partition

2005-03-22 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-22, Andrew Lewis scribbled these curious markings:
[Please properly wrap your posts. 72 characters is the accepted
maximum. I'm surprised that your Linux mailer doesn't do this for you.]
 Is this a serious no-no?

In my opinion, and that of the author of tuning(7), yes. I highly
recommend that you read tuning(7), and carefully consider the points
made therein as to whether your single slice setup is wise. Just because
Gentoo or $OTHER_POPULAR_LINUX_DISTRIBUTION does something a certain way
doesn't mean that it's right (of course, the same applies to the FreeBSD
way of doing things, but often it is right :) ).

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCQH1Ak/lo7zvzJioRAqBYAJ4wkr0as3JvreUeOWM4Bz48YQAsHwCgsYl4
mAcNN5MRslGSYdTd31pnDdE=
=nEoh
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: Using portupgrade

2005-03-22 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-22, Pat Maddox scribbled these
curious markings:
 What are some considerations to make before upgrading the ports?  Does
 upgrading them overwrite the existing config files?  I've got a number
 of ports that aren't up-to-date, but this is running on a server, so I
 don't want to muck up the software and configs that are currently
 running.

You have good dumps, yes? And you've read /usr/ports/UPDATING, yes? And
you've reviewed any changes to the Makefiles of the ports in question,
yes? Then you shouldn't have any issues.

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCQH9Ek/lo7zvzJioRAo0eAKC7l+QyDgzY4J7bx7Yx/izqDHjHLgCgglXT
5X1U54MJxqxscr7Zl+fAcfc=
=m7EO
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: Problems building jails under RELENG_5_3 (5.3-RELEASE-p5)

2005-03-22 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-22, Robert Gogolok scribbled these
curious markings:
 I think I did only make world without DESTDIR and specified it of 
 course afterwards when doing make installworld.

make world builds and installs the world onto your current system,
leaving a /usr/obj intact. Unless you specified a DESTDIR for the
installworld, it was spurious, replacing files already installed.

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCQH7+k/lo7zvzJioRAvcbAJ9uk5UEfmqB/vB6kcstNTA4bx0tdwCdGDQj
Zw8pvTooa9Ui2LTmU6NNDG8=
=8psv
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: Accessing Windows XP Desktop (Home Edition) remotely

2005-03-22 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-22, daniel scribbled these
curious markings:
 security note:
 vnc is *not* encrypted and is not generally considered secure.  any ports you 
 open/forward should be directed to your ip only.  even better, try a knocking 
 daemon.

This is why you set up an SSH tunnel between the two machines. The
Handbook (as always) shows how to do this, with examples.

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCQH5yk/lo7zvzJioRArUSAKCZ1bG0K0cEQURwPfGOBmuqbzJjXwCeNw+8
ju5tvFvFnYTykLnP/5j9pzk=
=PM2b
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: audio player (was: ayuda)

2005-03-23 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-23, Roland Smith scribbled these
curious markings:
 If you are using the X Window System, I would recommend installing
 xmms from /usr/ports/multimedia/xmms. It can play a lot of audio file
 formats, like wav, MP3, ogg and flac, and you can compile playlists etc.

Although you'll need a plugin to play FLAC files.

Regardless of X usage, I would personally recommend mplayer. Sure, it's
intended as a movie player, but I've yet to encounter a media file that
it can't play. :)

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCQacnk/lo7zvzJioRAk7lAJ9Qg5gfxYHYSfQCiNvw1M692OeEkQCfetex
mCXW8eHWNOMUdP2P9P+GxFI=
=Z75C
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: Apache compile prob in portupgrade

2005-03-23 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-23, Ben Munat scribbled these
curious markings:
 Just wanted to throw a me too in here... only with portmanager. Same error 
 message. 
 Luckily this is on my home machine, so I'm not too concerned about apache. 
 Still rather 
 annoying however...

That's odd. I've been showing FreeBSD to a friend over the past few
days, and he just installed Apache 2.x without any issues earlier this
morning (EST timezone). 

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCQafXk/lo7zvzJioRAnheAJ0QHieDlx7lcSBDKj/t+hHj48DmKQCgjgfN
lho0ns3kqv2rw0G6ZxDMiuE=
=qGih
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: how to find which port has a given executable

2005-03-23 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-23, Alex Zbyslaw scribbled these
curious markings:
 % find /usr/ports -type f -name pkg-plist -exec egrep -H epstopdf {} \;

Just a bit of nitpickery: I've found that piping the output to xargs
rather than using find's exec produces faster results. Plus, you (most
of the time) don't need to use constructs like {} \;. :)

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCQbSzk/lo7zvzJioRAirsAJ9oq+xJr6AHgscuUXBIzWvvsa33mgCeOnz5
8JesEMbAHU9K0SAgpb8B7eo=
=nKZB
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: 5.X + More then one kernel

2005-03-23 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-24, Kimi Ostro scribbled these
curious markings:
 How do I install more then one kernel?

Installing a kernel is simply a matter of copying it to a place that
the bootloader can access it. There's nothing special about the
procedure. You probably even have more than one kernel already
installed. Do you have a /boot/kernel.old directory? If so, then you
(probably) have two kernels installed, and you can access the other one
from the boot menu, which you can in turn access by selecting the
appropriate item on the boot-up menu that displays the pretty and
optionally coloured rendition of Beastie.

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCQitpk/lo7zvzJioRAvnBAKCuMmn6i/KUQf8ba52l4+NRIrsBEwCgoLHB
JqrA838596At812lWmy8SeY=
=nxDF
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: MAC module problem

2005-03-24 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-24, Andreas Davour scribbled these
curious markings:
 I'v tried to load a few MAC modules and try that security system. This 
 oddity appeared in dmesg:

 mac_policy_modevent: can't load mac_lomac policy after booting
 module_register_init: MOD_LOAD (mac_lomac, 0xc056f4dc, 0xc1c285c0) error 
 16

It means exactly what it says. You can't load mac_lomac after having
booted the system. You can see from mac_lomac(4) that you can put it in
your kernel configuration, and that you load it from loader.conf. If you
don't want to rebuild your kernel, you can use the module, if you have
it.

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCQxeyk/lo7zvzJioRAsp4AJ45JnkDBFBam4gVDG2k9hLH4liikQCcDxBc
e+k/HT8gj6Reblo7591oCE4=
=FFOc
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: Autostart files

2005-03-24 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-24, Roeland Hemsteede scribbled these
curious markings:
 I recently installed the ftp port wu-ftpd from /usr/ports/ftp/wu-ftpd. 
 However I cant find out how to start this, I want to add this to the 
 autostart by adding a line to my rc.conf but am unsure what line to add. 
 I tried wu-ftpd_enable=yes but this didnt work, can someone help me 
 out and tell me what line to add?

You need to create your own startup script in order to make wu-ftpd
work. I suggest following an example from another port.

And, although normally I wouldn't do this, I can't send this reply in
good conscience without warning you about wu-ftpd's horrid security
record. People have even coined a phrase about Wu-FTPd's security
record: Providing remote root since at least 1994. ProFTPD isn't much
better, either. I strongly recommend you either use the FTP daemon that
ships with FreeBSD or install something with a better record, like
PureFTPD.

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCQxpmk/lo7zvzJioRAoyoAJ0Q2+GzTQ9u0JsXxzdP6fxk7GXCTQCfW7zi
L51drHIqCIitRqJmajvZpU4=
=npUj
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Installing 4.x inside a 5.x jail / chroot

2005-03-24 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I've been submitting a number of ports recently, mostly Perl-based ones.
Sometimes they don't work on old Perls (and Kris Kennaway has always
been there to inform me; shame that I couldn't respond before Simon
Barner did this morning). At the moment I don't have a 4.x machine
configured to run the six or seven year old 5.005_03 release that's in
the 4.x base system. This means that I can't (easily; switching the 4.x
box to use 5.005_03 is a mess and I've broken my installation that way)
test my ports before submitting them for systems running this ancient
(but still supported) version of Perl. I've been considering installing
RELENG_4 inside of a jail on my 5.x machine (the 4.x machine is too
starved for resources now as it is, I don't want to make its life any
harder), but I'm not sure how well that would work. Has anyone had any
experiences with this? Any caveats? Can I simply replicate the
instructions in jail(8) but with RELENG_4 bits? Thanks in advance.

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCQ298k/lo7zvzJioRAioQAJ9GUOK8GUMToYmy3vCTIAJeo99fRACfTg6Q
XXWwdphsI8PJNcfGaOBOYbs=
=/5nI
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: .cshrc

2005-03-25 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-25, Gert Cuykens scribbled these
curious markings:
 This is the shell config file right ?
 I created a new user and put a .cshrc in his home directory but
 nothing happens ?

 FX-53# pw user show gert
 gert:*:1001:0::0:0:gert:/usr/home/gert:/bin/sh
 ^^^
The user isn't using csh, so thus their shell won't read (and probably
isn't able to read) the .cshrc file which you've specified.

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCRKHuk/lo7zvzJioRArGAAJkBFLEM2T2UiAQx6edfuXqJZbvg6gCgqczc
s0TKZAKc5WfuTfd6TyIgOVM=
=9A5o
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: .cshrc

2005-03-25 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-26, Gert Cuykens scribbled these
curious markings:
 Is .profile read by every shell ?

No. If it was, users who disdain Bourne shells (like sh, ksh, zsh, and
the ever-popular bash) for whatever reason (and the reasons are myriad,
IMO) wouldn't be able to log in. This was alluded to in my post wherein
I mentioned that sh probably wouldn't be able to read the .cshrc file
(depending upon what you've placed in it).

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCRLM/k/lo7zvzJioRAk+cAKCUNn8Qj4vRQO5v7FD1LRm2gc1tswCfWHRG
qfTAothpPrSG3q+69KQDG9M=
=C3AA
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: .cshrc

2005-03-25 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-26, Gert Cuykens scribbled these
curious markings:
 I would like one with allot of colors and a double tab completion that
 shows every command or file :)

Uhm, colours where? And why follow Bash's silly example of requiring two
tabs when you can use one? And why use tab completion which requires two
tabs and which beeps at you for no reason instead of using ^D completion
which only requires one instance of ^D and which doesn't beep at you?

 Is bash the only one that does that or can csh do that too ?

No, csh can do this too, despite what seem to be misconceptions about
csh still being in the dark ages.

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCRMXHk/lo7zvzJioRAl5OAJ423MK2MbD4qD1pDjsIEYVm+yhowgCgqRVM
OteBGH37ETBUybOSsIZmR0M=
=Xn6w
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: .cshrc

2005-03-25 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-26, Kevin Kinsey scribbled these
curious markings:
 --- and I suppose that's why there's no .tcshrc AFAIK
 on FBSD.

There's no .tcshrc file, but if you read the manual for csh you'll see
that there are semantics for processing both files, and that they are
not equivalent.

Users who have used Net|OpenBSD will know that having separate files is
useful, because those systems ship with 4.4BSD csh and have TENEX csh
(the one that's in FreeBSD) in the ports tree. 4.4BSD csh doesn't read
the .tcshrc file, which is good if you want to put TENEX csh commands in
a file without either using ugly if() statements or breaking csh.

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCRMaHk/lo7zvzJioRAqM5AJ4gprZe9EtPZsszSalpkuDCNEF26QCePS8t
d6/s4xWcfJssagbTKuu8MZc=
=Fyd1
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: Possible to trigger system events based on ip conflicts?

2005-03-25 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-26, Lefteris Tsintjelis scribbled these
curious markings:
 Is it possible to trigger scripts/events based on IP address
 conflicts? Something that can be used as a backup solution,
 like a simple cluster failover, when one IP fails, the other
 takes over and when the first comes back on line the second
 one goes down (standby) and the fist one takes over again.
 What is the simplest solution to that?

You mean like CARP?

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCROtCk/lo7zvzJioRAuBbAJ4jSYR2FKGe/5H2oT7Y7B988CZcegCcDRlI
DzjMt/eF7CXmrPn1c810A4E=
=dtB/
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: AWK in 4.X different from 5.X?

2005-03-26 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-26, Francisco Reyes scribbled these
curious markings:
 Are the AWK in the 4.X branch and 5.X branch different?
 Looking at
 http://www.shelldorado.com/articles/awkcompat.html#os11

 it seems the AWK in the 4.X branch has strftime.
 I have 5.3 in my machine and AWK doesn't have that function.

Probably because the awk on a 4.x machine is GNU awk, whereas the 5.x
awk is the awk that comes straight from the horse's mouth, so to speak,
and so thus hasn't been extended with GNUisms.

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCRaMVk/lo7zvzJioRAnIaAJ9PoqgjruOl1n4xaWupkR8It5yEcQCggK5H
Kt/c44EQ2hKao69bzpjfqa0=
=E616
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: dmesg -a lines' explanation? NEWBIE

2005-03-26 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-27, David Armour scribbled these
curious markings:
 snippage

Ditto.

 chmod: 
 #permissions: No such file or directory

 chmod: 
 are: No such file or directory

 chmod: 
 set: No such file or directory

 chmod: 
 properly: No such file or directory

 chmod: 
 at: No such file or directory

 chmod: 
 boot: No such file or directory

Looks like you've got a runaway quote somewhere in your startup scripts.
The #permissions part makes me think that you have a line that you
thought would read something like this:
chmod $filename #permissions are set properly at boot

but, for whatever reason, the shell didn't see the # indicating the
comment -- perhaps because it's inside a quote that isn't closed
properly. I'm not familiar with your setup, but in either case I'd grep
through /etc and /usr/local/etc (maybe even /usr/X11R6/etc) for that
string, and see what I found.

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCRlAqk/lo7zvzJioRAiBHAKCrLVQbgP6TOdY6SkRpJk1eWLmQZwCgnhby
cTdP7K+wIWt8BAtVzqi6JMU=
=XP45
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: which shell irc client do you like ?

2005-03-27 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-27, Paul Waring scribbled these
curious markings:
 I run it from a screen session all the time and it works well once you
 get the hang of it. I think you can make it beep when new messages
 come in but because I run it on a remote server I've never bothered to
 look into/activate this feature.

Surely you have screen(1) set up to show terminal beeps to you
*somehow*, right? I personally prefer having it use esdplay because I
usually have rhythmbox going, but you should be able to use a good ol'
terminal bell.

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCRt/kk/lo7zvzJioRAh86AJ9Ji+xagBoQX7cbKgnG4hpymXVHgwCgiNb2
JDfaZeTykxcz28TMckiLpx4=
=IbOa
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: which shell irc client do you like ?

2005-03-27 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-27, Gert Cuykens scribbled these
curious markings:
 Surely you have screen(1) set up to show terminal beeps to you
 *somehow*, right? I personally prefer having it use esdplay because I
 usually have rhythmbox going, but you should be able to use a good ol'
 terminal bell.

 so how do you do the beep thingie ? Becuase i did not find it ?

By default, screen translates terminal bells into messages which are
displayed at the bottom of the screen. The bad thing about this is that
it dismisses such messages as soon as you hit a key. What this means is
that if you're typing away at a document of some sort and someone
mentions your nick on IRC, you may not notice. Using ^A-G (default
keybindings) will make the bell audible, so that you'll be able to hear
it. Whether your terminal emulation program that you use to log into the
system translates it into something visual is another matter. If you
want to always use this setting but you don't want to have to hit ^A-G
every time you start screen, put this in a file named ~/.screenrc:

vbell off

And you'll never see that annoying visual bell ever again.

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCRvDnk/lo7zvzJioRAvQqAKCwMobp9DMHT/yNlEgeehsU97SS1wCdH6gp
ZzWiNWqBEjNfFnvNcBLzaCA=
=R0Kg
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: which shell irc client do you like ?

2005-03-27 Thread Christopher Nehren
On 2005-03-27, Gert Cuykens scribbled these
curious markings:
 And how do you turn on beeps in irssi ?

/set beep_msg_level hilight

I recommend perusing through irssi's online help. You'd be surprised at
what's available (even *I'm* surprised, and I've been using it for a
while; even tinkered with the Perl API).

Best Regards,
Christopher Nehren
-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: inetd vs standalone daemon

2005-03-27 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-27, Gert Cuykens scribbled these
curious markings:
 Is inetd a daemon that start other daemons ?

Kind of. Its manual page is very descriptive.

 Is sql and apache a standalone daemon ?

SQL is (or is not, depending upon whom you believe) the Structured Query
Language. It's a standard, a concept, an idea. It has no representation
as software. Certain implementations of SQL, however, in server-based
environments manifest themselves as daemons, yes. Certain other
implementations in server-like environments don't manifest themselves as
daemons (e.g.  SQLite).

Apache can be run either way, but I've never found a need to run it
under inetd. It's always served me well in standalone mode.

 Can i delete inetd ?

I wouldn't. Why do you want to do so? Besides, unless you add the
appropriate flag somewhere in your buildworld infrastructure, it'll be
built and reinstalled when you update your base system anyway.

 I vote we get rid of inetd :)

And I vote that you research your votes before making them.

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCRxSuk/lo7zvzJioRAkQyAKCFyKQqlkY45qBHNgiEno1mfGD7rwCfc9ZD
vFw39yYDXVwRd+wGEvNSOEI=
=1oct
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: inetd vs standalone daemon

2005-03-27 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-27, Gert Cuykens scribbled these
curious markings:
 So how do we remove it from freebsd ? Please let it be a pkg_delete :)
 If not witch freebsd source developer do i need to pull his leg to
 remove it from source into a pkg ?

Here's a bit of basic information about FreeBSD. Despite what you may
have learned about Linux, having every single file in the system
managed by a package is *NOT* a good idea[1]. You end up with systems
lacking compilers[2] that way, which confuse new users who try to build
software. inetd is not part of any package, and I hope that it never
will be. inetd is part of FreeBSD's base system -- the collection of
software, documentation, c. that the FreeBSD group maintains on their
own, separate from the Ports Collection which is (for the most part)
composed entirely of third-party software.

I will admit that this doesn't permit for the granularity available in
Linux distributions. But personally, I don't want that sort of
granularity. I don't want to have to *worry* about installing a
compiler, OpenSSL, and the like. I just want to tell it to install
everything and have it *actually* install everything.

If you want to make a fully package-based version of FreeBSD, where
everything from /bin/ls to /usr/sbin/inetd is a package, then by all
means do so. You won't even be alone in your desire. I seem to remember
a group of people vocalising a request for this a while ago. You'll
never be able to count me as a user, though. :)

[1]: I'm not exactly pleased with the distributions concept when you
install, but since I always select All anyway, it's a moot point I
suppose.

[2]: And other crucial things like OpenSSL, which even crops up on
FreeBSD from time to time.

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCRxbyk/lo7zvzJioRAuY6AJ97blX5BpXNuvL96dK2yHdKeS8NKACgqd/r
P8L8J/sI8CveGycvd0yv/cg=
=ytvh
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: which shell irc client do you like ?

2005-03-27 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-27, Gert Cuykens scribbled these
curious markings:
 Thx ps how do you do /set | more in irc language ?

Have you tried using the backscroll, accessible (in irssi at least) with
Page Up / Page Down?

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCRxu9k/lo7zvzJioRAkSDAJ9haweGhIh26RzklyJhilgupulATQCeJVi4
zI7WihLvMPa9ieub338Ss6Q=
=Rn6H
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: which shell irc client do you like ?

2005-03-27 Thread Christopher Nehren
On 2005-03-27, Chuck Robey scribbled these
curious markings:
 Just curious if you folks have tried the mozilla application, available 
 only from mozilla (not firefox) called chatzilla?  I have tried nearly 
 all of the other IRC clients, it's not a minimal one, but it's very very 
 nice.

I personally try to keep things as console-based as possible. screen,
irssi, elinks, mutt, slrn and vim are my best friends. I'd be in serious
trouble if ncurses broke. :)

Best Regards,
Christopher Nehren
-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: Userland dig/host for lookups against /etc/hosts?

2005-03-27 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-28, Emanuel Strobl scribbled these
curious markings:
 Is there one? Unfortunately I can't write one myself, at least not
 in a reasonable amount of time

- --cut--
#!/usr/bin/perl -w
use strict;

use Socket;
my $host = shift or die usage: hostshost hostname\n;
my $addr = gethostbyname($host);
die Cannot resolve host '$host'.\n unless defined $addr;
my $ip = inet_ntoa($addr);
print $host has address $ip\n;
- --cut--

Needs some 5.x version of Perl. Works with 5.005_03 as shipped in
FreeBSD 4.x. Also works with more recent perls.

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCR6Rpk/lo7zvzJioRAg8pAJ4s69gjARzlc/ZL5sNKT2vSYa9XFwCbBILr
ehnDiO3MuDC3b3nryMUx+Ws=
=Z9c9
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: irc msn yahoo shell chat

2005-03-28 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-28, Gert Cuykens scribbled these
curious markings:
 01:39 @root Trying to get all accounts connected...
 01:39 @root Support for protocol MSN is not included in this BitlBee

Did you read the Makefile? Did you follow the instructions contained
therein?

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCSJvSk/lo7zvzJioRAk5OAJ9cmDJrCE9A9YxVsAg/L8kuCpp92QCgslvi
FWq7dtVJf4HyjIBCK/Z4m0c=
=QBSq
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: irc msn yahoo shell chat

2005-03-28 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-29, Gert Cuykens scribbled these
curious markings:
 but those instruction supposed to be written in a nice blue make
 config screen where you can select them.

That's your opinion.

 So who can make a config screen for that port ?

You can.

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCSMkZk/lo7zvzJioRAoNaAJ0UmBqvGqPD0DFxDypfnOW4G99/IwCfVVpJ
iSIO/uXJHJBq/a8dzd4xjDo=
=a6u0
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: dmesg -a lines' explanation? NEWBIE

2005-03-29 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-29, David Armour scribbled these
curious markings:
[partially snipped for clarity]
  #permissions: No such file or directory
  are: No such file or directory
  set: No such file or directory
  properly: No such file or directory
  at: No such file or directory
  boot: No such file or directory

permissions are set properly at boot
 

  grep permissions are properly set at boot 
 

Also, did you tell it to search files, rather than the default of
standard input? :)

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCSge0k/lo7zvzJioRAq/tAJ4naSRsukSmxx849sT3HGjz4Ov/swCfYKns
fix6qNbDWACMsyMGkH7+Fvk=
=ZO5p
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: md5

2005-03-29 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-30, Lowell Gilbert scribbled these
curious markings:
 Matt Kosht [EMAIL PROTECTED] writes:

 Is there a simple way to compare the md5 checksum of a file, to a file
 that contains possibly more than one md5 checksum entry in it?  Kind
 of like mdsum -c does?

 I've never heard of mdsum, but try mtree(8).

Matt is (modulo a typo) referring to the GNU tool md5sum, which is
oh-so-conveniently named differently than the FreeBSD utility (which
causes programs that call it, like mplayer modulo the patch that I sent
in, to fail with md5sum: not found errors).

To answer Matt's original question, I've found that something like this
works well. This assumes that CHECKSUM contains the actual checksum of
the file, and only the checksum of that file.

md5 FILE  mine
cmp mine CHECKSUM

Not as short as the GNU version, but still mostly functional. Though,
now that I write this, I remember having written a Perl program that
checks SFV sums against a given .sfv file. The principle is more or less
the same for checking MD5 sums, or $FOO sums, plus a bit of processing.
I'll see if I can't modify that program to do the sort of thing that
matt wants.

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCSjllk/lo7zvzJioRAjwYAJ99c7VbvBefbqW2XUHeoD759YxiGQCgs3Z/
+pzROFVhJ3r0dRiwM3sFrpo=
=R79C
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: ntpd and ntp.conf

2005-04-02 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-04-02, Chris scribbled these
curious markings:
 How do I manage to get a properly configured ntpd without giving the 
 whole world access to it?
 Thanks beforhand!
 
 Regards
 //Niclas

 man ntpd

Better yet, check out the Handbook section. Much easier to understand
than the manual.

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCTtiyk/lo7zvzJioRAgjgAKCCkxa0d2mvEFs5+fBBtLpt9zuFJQCgk1j/
ahE3ffgtKE5lgXnqLwybSDc=
=A0bp
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: *attaching* a file to /usr/bin/mail message

2005-04-02 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-04-02, Colin J. Raven scribbled these
curious markings:
 I'm not stuck with mail, I use it with some shell scriptsbut yeah, I 
 guess I could use muttthere's an idea I hadn't previously 
 considered.

If you're doing scripting, why not use an actual scripting language, and
some tools actually designed to do what you're trying to do? For
example, Perl has MIME::Lite, which does exactly what you want -- and
not much else. I've used it to automate sending email based on the
output of make test.

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCTtoGk/lo7zvzJioRArQJAJ9JC2uM3P7+vHtChU3qhV/c0GBbIACgnObf
JXdlF8zucP10wfTfZGl5kDE=
=sflC
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: Sound problem ...

2005-04-03 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-04-03, Aaron Siegel scribbled these
curious markings:
 My whining attached bellow
[snipped]

Then fix it.

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCUCABk/lo7zvzJioRAv3cAKCNMRWeU/ifdMwA8awajy912RhSqQCfaZIr
J4MVUqriW+ze0XGdDEVJbUo=
=bf3y
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: Boot manager

2005-04-03 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-04-03, Teilhard Knight scribbled these
curious markings:
 Could you recommend a good boot manager, please? I mean, to boot several 
 OSs, but not relying on Lilo. Not Xosl, because it doesn't work together 
 with a Drive Overlay.

What's wrong with FreeBSD's boot manager?

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCUCllk/lo7zvzJioRArE5AKCjYRUK5mSjbRYp0Bh5wH+GrjLAFgCdHCac
1fL0g361cyYbHJWcBka2HFA=
=2Hd+
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: New Freebsd Install Guide Available

2005-04-03 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-04-03, [EMAIL PROTECTED] scribbled these
curious markings:
 YES there is something major wrong with the official handbook.  The
 majority of the content is written like the reader already has good
 understanding of how FreeBSD works. It is not detailed enough for
 someone who has no previous experience with Unix like operating
 systems.

As others have pointed out to you, why not contribute to the official
documentation, rather than making FreeBSD more like Linux with dozens of
different (conflicting, and most often *all* wrong) sources of
documentation?

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCUD+ck/lo7zvzJioRAotJAJ4jHOTgdMgCXjeLUJADRnfiC2Nu2ACgpTm+
YF548plsIx4TjkmJg75Rtz0=
=Ztuv
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: Boot manager

2005-04-03 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-04-03, Gert Cuykens scribbled these
curious markings:
 It doesnt have colors

So? It's a boot manager, not a piece of artwork.

 It doesnt look pretty

Ditto.

 It writes ?? instead of windows

It prints ?? because it can't possibly imagine why you'd want to make
that choice. :)

 Nobody knows how it works for example how to install it witout sysinstall :P

Someone else responded to this.

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCUD9Mk/lo7zvzJioRAkDqAKCz+O+4FK3Arec7rUrgBuVkoZirOQCcCAwm
NW8nY8mxtK7utOeUeqET7mU=
=C8/6
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: just got DSL, can't surf or get mail

2005-04-03 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-04-03, Brian John scribbled these
curious markings:
 Hello, I just got an xDSL system.  In Windows I can browse the internet
 and do whatever I want just fine.  However, in FreeBSD the only things
 that work are my p2p programs.  Azureus and amule work fine, they both
 connect and download.  However, when I try to use dillo, Firefox or
 Thunderbird they always timeout when trying to access the net.  Does
 anyone have any idea what I can do to fix this?  I had cable internet
 before and it worked fine.  The DSL modem is hooked up to the computer
 through Ethernet.

Sounds like a DNS issue, considering that most P2P programs are
IP-based and thus don't need to perform DNS lookups.

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCUFjKk/lo7zvzJioRAnrNAJ0X+zBILiTL1qVJeGeYuuvXHk/2GACghku7
bltB+Pyu2SbzyCtYxYSvI6I=
=gG5y
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: portupgrade failing on firefox and thunderbird

2005-04-04 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-04-04, Richard Danter scribbled these
curious markings:
 Hi all,

 I am trying to update my installations of firefox and thunderbird. I 
 have done this several times in the past with no problems but lately I 
 get the following errors (see below). Anyone else seeing this? I can 
 update other ports just fine...

Remove the firefox tarball from /usr/ports/distfiles and try again.

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCUWRSk/lo7zvzJioRAlwxAKCeeQZ59kj/bLWL1NMz5v5nRqrKxQCdEW9h
U+5cMkz0/eWKrxbaBj4VMS4=
=UdPL
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: No Sound after upgrading KDE

2004-09-25 Thread Christopher Nehren
On Sat, 2004-09-25 at 21:37 +0100, R. W. wrote:
 I recently upgraded to KDE 3.3 (under FreeBSD 5.2.1) and the sound 
 stopped working properly. I hear the tune as KDE starts up, but then 
 there is no sound after that. Multimedia applications still work 
 properly under XFce, it's just KDE.

I suspect that you may be seeing the same issue that I do when I start
KDE. Next time you start KDE (after freshly rebooting the system or
proceeding from a setup where you know sound works properly), open a
console login somewhere and run the mixer command. Note its output: what
are the values for the various devices? I've seen that, after starting
KDE 3.3, all of my mixer devices are set to 0 -- thus muted. They're not
broken; you just need to manually reset them. The two important ones (at
least with the sound cards that I've used on FreeBSD) are mixer and pcm,
though cd may be important if you have your CD-ROM drive hooked up to
your sound card, but I don't know for sure as I've never used that
configuration. On my machine, with my Creative SBLive! PCI sound card
(as supported by snd_emu10k1), here are the default, working settings:

Mixer vol  is currently set to  75:75
Mixer pcm  is currently set to  75:75
Mixer speaker  is currently set to  75:75
Mixer line is currently set to   0:0
Mixer mic  is currently set to   0:0
Mixer cd   is currently set to  75:75
Mixer rec  is currently set to   0:0
Mixer ogainis currently set to  75:75
Mixer line1is currently set to   0:0
Mixer phin is currently set to   0:0
Mixer phoutis currently set to   0:0
Mixer videois currently set to  75:75


Note that, as the manual for mixer states, not all devices may be
present in your configuration, and you may have more devices than I list
here.


signature.asc
Description: This is a digitally signed message part


Re: Where'd it go?

2004-10-13 Thread Christopher Nehren
On Sun, 2004-10-10 at 15:55 -0500, Gene Bomgardner wrote:
 I remember in 4.6, there was a file where one could determine where 
 individual user accounts could log in from. I found it useful in that I 
 could allow only certain accounts to log in via telnet via a particular 
 interface.
 
 Since I upgraded to 5.2, I can't find that file anywhere, and I can't 
 recall what it's called. I don't see it in the handbook either.
 
 Does anyone know if it still exixts and where it is?

The file about which you're enquiring is called login.access(5).


signature.asc
Description: This is a digitally signed message part


Re: Backup/Restore

2004-09-30 Thread Christopher Nehren
On Thu, 2004-09-30 at 13:59 -0700, Richard Lynch wrote:
 If it's the latter, you could maybe get best performance from something
 like Subversion (a CVS derivative).

Just a minor correction: Subversion is *not* a derivative of CVS. It
does not share code with CVS, it is not based on the same code, and it
is not related to CVS other than that it covers the same problem domain.
If it were a derivative of CVS, then it'd have to be licensed under the
GPL. Thankfully, it's not a derivative, and thus it's released under a
much more palatable (Apache, which is a modified BSD) license.


signature.asc
Description: This is a digitally signed message part


Re: imapd problem.

2004-10-05 Thread Christopher Nehren
On Tue, 2004-10-05 at 08:59 +0300, Perttu Laine wrote:
 I have problem with imapd. I can't start dovecot 'cause it says this:
 
 --
 koaze# /usr/local/sbin/dovecot
 Fatal: listen(143) failed: Address already in use
 koaze#

I appreciate your choice in IMAP servers. :)

 But I don't know what could be using that address. I had cyrus for a
 while, but I removed it and ps aux show nothing that could use imapd port.
 Only other email app running is postfix as smtp.

`ps aux' doesn't show which ports are in use. For that, you should use
the most wonderful sockstat(1). Running something like this should show
you the Address already in use culprit:

'sockstat -4 | egrep :143\W'

 So. What could be wrong here?

Exactly what the error message says: the address is already in use.
Trust error messages: they're almost never wrong, especially when
they're straight from libc.


signature.asc
Description: This is a digitally signed message part


Re: imapd problem.

2004-10-05 Thread Christopher Nehren
On Tue, 2004-10-05 at 17:40 +0300, Perttu Laine wrote:
  'sockstat -4 | egrep :143\W'
 
 -cut-
 root inetd  531   8  tcp4   *:143 *:*
 -cut-
 
 So. it's inetd. Now the question is why 'cause only ssh is not commented
 in inetd.conf (or then I should re-check it few times).
 And how I can stop that one?

Something running under the name of 'inetd' is binding to port 143 on
all inet4 addresses. Either that, or there's a bug in sockstat or the
kernel structures that it manipulates, though I've not seen mention of
that anywhere. Maybe it's an old instance of inetd from a changed
configuration? Perhaps you changed its configuration but forgot to
restart it?

Trust your tools, for you are lost without them.

By the way, please remember to CC the list when responding to people.
That way, your responses get archived for all to see years from now when
they have the same or similar problems.


signature.asc
Description: This is a digitally signed message part


Re: How to update perl on FreeBSD 4.9R

2004-10-08 Thread Christopher Nehren
On Fri, 2004-10-08 at 14:40 -0400, Danny wrote:
 I am trying to install a perl CPAN module:
 
 mx1# perl Makefile.PL
 Perl 5.006 required--this is only version 5.00503, stopped at
 Makefile.PL line 3.
 BEGIN failed--compilation aborted at Makefile.PL line 3.
 mx1#
 
 All I know is that I need to update to a newer version.

Ahh, you're trying to install a Perl module -- which, as luck would have
it, has a FreeBSD port available. cd to ${PORTSDIR}/devel/p5-Date-
Calc/ , type make install, and watch it do its magic. This is the
recommended approach when a Perl module already has a port ready (and,
fortunately, Perl modules are among the simplest things for which one
can make a port -- you can often have a fully working port in 5 minutes,
if you're even slightly experienced with the porting process). It seems
that you're unfamiliar with the FreeBSD Ports Tree; I highly recommend
that you read the Handbook about it, lest you spend 24 hours straight
trying to make a large amount of software work on FreeBSD out of
ignorance ... (/me blushes a shade of red of which red delicious apples
would be envious).

Note, if it out and out refuses to install with the system's perl, you
should file a PR about it mentioning such -- I don't see anything in the
port's Makefile which mentions that it absolutely requires a version of
Perl newer than the one that ships in the 4.X releases. And with Kris'
recent port breaking spree in preparation for 5.3, I'm sure that it'd be
marked as such (unless pointyhat has 'use.perl port', which would
severely hamper Perl module testing). Further, if it doesn't work with
the 5.005 version in the base system, you'll need to install a version
from the ports. I highly recommend 5.8 for various reasons recently
discussed in a thread on [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part


Re: gtk-sharp build hangs

2004-10-18 Thread Christopher Nehren
On Mon, 2004-10-18 at 18:52 +0200, Benjamin Walkenhorst wrote:
 BTW, has anyone managed to get DotGnu or Rotor to work? I haven't found 
 them in the ports tree (I looked under ports/devel and ports/lang).

Yes for DotGNU, haven't tried Rotor recently. DotGNU masquerades in the
ports tree under the names pnet*, found under lang/. Rotor masquerades
under the name cli, and is also under lang/.

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated.  -- Ken Thompson
-
Unix is user friendly. However, it isn't idiot friendly.



signature.asc
Description: This is a digitally signed message part


Re: Good newsreaders for FreeBSD?

2004-10-19 Thread Christopher Nehren
On Mon, 2004-10-18 at 15:32 -0700, Joshua Tinnin wrote:
 Well, I'm not sure about pulling articles from multiple servers, but my 
 GUI newsreader of choice is Pan. However, it never reached a stable or 
 gold version, and it has been stagnant for some time, as the author 
 doesn't seem to have time to deal with it these days. Many patches have 
 been posted in various places online, but the version in the ports tree 
 crashes frequently, at least on my 5.3-BETA7/STABLE (previously 5.2.1) 
 box. I'd love if someone good at programming made it into a decent 
 newsreader ... am learning what I can 

Hmph. Just a few days ago I was thinking about how Pan deserves a 1.0
version number because of its full feature set, stability, and so forth.
It's never crashed here, and I've been using it since before 5.0
existed.

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated.  -- Ken Thompson
-
Unix is user friendly. However, it isn't idiot friendly.



signature.asc
Description: This is a digitally signed message part


Re: Good newsreaders for FreeBSD?

2004-10-19 Thread Christopher Nehren
On Tue, 2004-10-19 at 00:59 -0700, Joshua Tinnin wrote:
 Really? What version of FreeBSD are you using, and what's your window 
 manager/desktop?

Currently, I'm using FreeBSD 5.3B7 with GNOME + XFce's window manager (I
happen to like window docking and some other features that Metacity will
apparently never have), though I've also been known to use Enlightenment
and KDE as well.

I've been using Pan since before 5.x existed, and I've crashed it at
most once.

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated.  -- Ken Thompson
-
Unix is user friendly. However, it isn't idiot friendly.



signature.asc
Description: This is a digitally signed message part


Re: starting apache2 just hangs

2004-10-29 Thread Christopher Nehren
On Fri, Oct 29, 2004 at 11:12:14 EDT, asolomon15 scribbled these
curious markings:
 I am having a problem starting my apache webserver.   I had it running 
 just fine but a few days ago I had a power outage.  When trying to start 
 the apache it will just hang there and not start at all.  Anyone have 
 any ideas?

What do your logs say?

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated.  -- Ken Thompson
-
Unix is user friendly. However, it isn't idiot friendly.


pgpYOA5LKdTNv.pgp
Description: PGP signature


Multiple handle_workitem_freeblocks calls, then a panic

2005-06-09 Thread Christopher Nehren
I've seen the string handle_workitem_freeblocks coming up in the
bright white of kernel syslog messages on my desktop's console for a
while in periods of large disk IO. Now, while I was doing a -j4
buildworld on my system and trying to access a different disk, the
system started printing a lot of these messages. The kernel then
panic'd and rebooted. This transpired before I even realised what was
happening, so I couldn't get the exact panic string. The only thing on
my mind right now, which has me quite worried, is whether my disks are
dying. Can anyone please shed some light on this? I'll try to provide
any other information requested, but the system is turned off for now.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Multiple handle_workitem_freeblocks calls, then a panic

2005-06-10 Thread Christopher Nehren
On Thu, Jun 09, 2005 at 23:50:47 EDT, Kris Kennaway scribbled these
curious markings:
 Could be..do a backup just in case.  Also try the smartmontools port
 to see if the HD has recorded any defects.

I've retrieved all important data from the disk, and running smartctl's
extended test on both disks reports no errors. Nor do the disks have any
errors logged, and the boot-up SMART check also states both disks as
okay.

 In order to begin to diagnose the panic you need to obtain the
 information described in the developers handbook chapter on kernel
 debugging.

I've got a debug kernel running now, and will attempt a buildworld
again. Thanks for the response; I'll be sure to report everything I find
with any (hopefully nonexistent :) future panics.

Best regards,
Christopher Nehren
-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong people questions, you get Joel on Software.
Unix is user friendly. However, it isn't idiot friendly.


pgpMT9rb8hJCs.pgp
Description: PGP signature


Re: Problem with 'pkgdb -F'

2005-04-05 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-04-05, Sergei Gnezdov scribbled these
curious markings:
 Here is the interaction with pkgdb.  If I start 'pkgdb -F' after
 running it once, the process will repeat itself.

 owl2-root % pkgdb -F
 ---  Checking the package registry database
 Stale origin: 'multimedia/nautilus-media': perhaps moved or obsoleted.
 - The port 'multimedia/nautilus-media' was removed on 2005-03-12 because:

The first thing that you need to do is read UPDATING. The second thing
that you need to do is read UPDATING. The third thing that you need to
do you should know, because you've read UPDATING (but here's a hint, it
has something to do with nautilus-media). Not reading UPDATING is a very
good way of breaking your ports tree. I'm fairly certain that this is
(part of) the reason for why you've had so many problems.

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCUq8kk/lo7zvzJioRAsIQAJ9psqLYOseMfNkpGDMfE94e/RsROACfeoJI
cglMQ6uFBTSKmD177Voh124=
=yOAK
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

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


Re: C++ Compiler On FreeBSD

2007-10-06 Thread Christopher Nehren
On 2007-10-06, James Jeffery top-posted.
[ please don't do that, it makes it very difficult to format responses
correctly and makes it just about as hard to read and understand them ]
 Hi all, thanks for the fast replys, much appreciated.

 Manolis: Yep, its the book by Jesse, i never believe them when they say
 in 24 hours, its a snag for them to sell the book, they just split it up
 into 24 sections to make it look like its possible.

I'd personally consider getting a better book. Generally, as has been
said, the learn X in Y units_of_time books are titled that way for
marketability. You can't *possibly* learn C++ in 10 minutes, 24 hours,
21 days, or even a year. See also http://norvig.com/21-days.html and
http://accu.org/index.php/book_reviews for book reviews.

 Roland: Ive been working with PHP over the past 2 years, i understand
 the basics such as data types, functions, arrays, variables, objects ect,
 but i want to challenge myself and learn something that will benifit me
 when looking for work after uni, i've got another 4 years of learning before
 i complete my software engineering degree.

PHP isn't really a programming language. It's more a fancy templating
system that happens to be able to use extensions that can provide C
style linkage. That said, I laude you for your desire to learn a real
programming language, and agree with the recommendation that you start
with something a bit higher level. Perl, for example, ships with
absolutely top-notch documentation, and generally speaking, its
third-party extensions have similar documentation quality.

Best Regards,
Christopher Nehren
-- 
apeiron Yaakov, And it seems to me that the only people going on about
freedom these days are RMS and Bush.

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