AAC_COMPAT_LINUX?

2006-03-26 Thread Scott Ballantyne
It seems the AAC_COMPAT_LINUX kernel option that I needed to run
aaccli for an Adaptec RAID card (2120s) is no longer available in
5.3. Is there a replacement, or another way to run aaccli?

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


The FreeBSD Diary: 2006-03-05 - 2006-03-25

2006-03-26 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 

These are the articles posted during this period:

8-Mar : IBM ThinkPad T41 - going from ipw(4) to ath(4)
 ipw frooze.  ath is hot. 
 http://freebsddiary.org/ibm-thinkpad-t41-ath.php?2


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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


Re: spamassassin build failure

2006-03-26 Thread Matthew Seaman
On Sat, Mar 25, 2006 at 10:18:41PM -0500, Michael P. Soulier wrote:
 Hi there,
 
 I'm trying to build spamassassin from ports. 
 
 So, I go to /usr/ports/mail/p5-Mail-SpamAssassin and make. 
 
 ===  Checking if devel/p5-Test-Harness already installed
 ===   p5-Test-Harness-2.56 is already installed
   You may wish to ``make deinstall'' and install this port again
   by ``make reinstall'' to upgrade it properly.
   If you really wish to overwrite the old port of devel/p5-Test-Harness
   without deleting it first, set the variable FORCE_PKG_REGISTER
   in your environment or the make install command line.
 *** Error code 1
 
 Whoops. Well, lets upgrade with portupgrade then, since it wants to upgrade. 
 
 [EMAIL PROTECTED] p5-Mail-SpamAssassin]$ sudo portupgrade -vR p5-Test-Harness
 ---  Session started at: Sat, 25 Mar 2006 22:16:12 -0500
 ** No need to upgrade 'perl-5.8.8' (= perl-5.8.8). (specify -f to force)
 ** No need to upgrade 'p5-Test-Harness-2.56' (= p5-Test-Harness-2.56).
 (specify -f to force)
 ---  Listing the results (+:done / -:ignored / *:skipped / !:failed)
 - lang/perl5.8 (perl-5.8.8)
 - devel/p5-Test-Harness (p5-Test-Harness-2.56)
 ---  Packages processed: 0 done, 2 ignored, 0 skipped and 0 failed
 ---  Session ended at: Sat, 25 Mar 2006 22:16:15 -0500 (consumed 00:00:02)
 
 Whoops. Apparently it doesn't need to upgrade. 
 
 Should I make deinstall? And if so, why, since it doesn't need to upgrade?

Did you run the perl-after-upgrade script with the '-f' flag so it
actually does anything?  This symptom occurs when the pkg system
thinks a package is installed (because there's an entry in
/var/db/pkgs) but perl can't find the corresponding module, because
it's in /usr/local/lib/perl5/site_perl/5.8.X with X != 8.

Forcing a reinstall of p5-Test-Harness would also work.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW


pgptFuxe6a463.pgp
Description: PGP signature


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

2006-03-26 Thread Oliver Iberien
Sorry, I neglected to remove your name. That was written by Andrea Venturoli, 
whose name appears after yours.

On Saturday 25 March 2006 15:50, Duane Whitty wrote:
 Oliver Iberien wrote:
  On Saturday 25 March 2006 11:46, Andrea Venturoli wrote:
  Duane Whitty wrote:
 
  Please forgive me for stepping in, but I'm having the same problem,
  asked sometime ago and did not get any answer.
 
  My Yamaha burner is still detected as a read-only device.
 
bye  Thanks
  av.

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


Starting privoxy at startup

2006-03-26 Thread Oliver Iberien
I can start privoxy manually with
/usr/local/sbin/privoxy /usr/local/etc/privoxy/config

I added this to /etc/rc.conf:
privoxy_enable=YES
privoxy_flags=/usr/local/etc/privoxy/config

but that does not seem to do it. I tried putting a link in /etc/rc.d/ to the 
privoxy.sh in /usr/local/etc/rc.d, but that didn't do it, either. How do I 
get it to start?

Thanks,

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


Re: what is the process for migrating a pre-built kernel to a new machine?

2006-03-26 Thread Jason C. Wells

Jonathan Horne wrote:


Can you give me more specifics on exactly what should be moved/copied?


I recommend backing up from / on down.  As I like to say, Nuke em from 
orbit.  It's the only way to be sure.  That's my specific answer on 
what should be moved or copied.


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


RE: BSD License Innocence Clause Proposal

2006-03-26 Thread Ted Mittelstaedt


-Original Message-
From: Danny Pansters [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 22, 2006 3:03 PM
To: Ted Mittelstaedt
Cc: freebsd-questions@freebsd.org
Subject: Re: BSD License Innocence Clause Proposal


Sorry, forgot this part..

On Wednesday 22 March 2006 17:57, you wrote:
 Nope.  The real BSD license gives copyrights to the University of
 California, Berkeley.  Mainly for historical reasons because BSD
 originated from there, but there is a legal reason also.  You see, if
 I Ted Mittelstaedt release software copyright Ted Mittelstaedt, even
 if I give everyone rights to use it, I still retain copyright and
 later on I can change the terms of that copyright.  That is what the
 courts have said I can do.  As a result of this, people, when they use
 my work commercially they will need to get me to sign a piece
of paper.
 If I'm not reachable, that's kind of hard.  By giving the copyright

If you use the copyright statement and then quote the (extra)
provisions you
have for distribution, as in

--
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:

[ acceptable conditions like attribution ]

or

Redistribution and use in source and binary forms, with or without
modification, are permitted.
--

then they don't need you to sign anything, well, not for that
code with those
clauses. You are granting redistribution rights which are not
granted by
copyright itself, that's why there's a distribution license. I
don't see the
problem really.


The problem is that in reality 2 versions of the code exist,
both with your copyright.  One is the version that has the
redistribution right grant, the other is the version without.
In many cases of course the one without is merely a legal
fiction.  It is actually a lot more common to see this in GPL
code, for example mySQL is this way.

What happens 10 years from now when my company has used your
code in my product, and you get hit by a bus and your heirs come
out of the woodwork claiming I am infringing on your work and I
owe them money.  What if the software you wrote isn't available
with the unrestricted redistribution license on it anymore on any
public archive and I cannot cough up an expert witness to
testify in a court that you did in fact once release the code
as unrestricted?  Then it's my word against your heirs.  And
in the US courts always side with the copyright holder.

Before scoffing consider the case of these software packages:

MI/X   X-server for Windows
acitslpr   LPR daemon for Win98
winftp   FTP program for Windows - with source
WS FTP LE edition  FTP program for Windows
dimension 4 - ntp software for windows.
gated source  -bgp routing daemon
Ingres - database software

Every one of them came out originally as free to use software.
winftp in particular came out as free software plus source included,
under a BSD-like license.

Every one subsequently was taken commercial.  Some are still free for
home use but not for commercial use, and their authors
made extensive and strenuous efforts to find every archive site
on the Internet that had the original free-licensed copies and
threaten the maintainers to remove the software.  gated was free
while at Cornell, when Merit took it over they made it free for
non-commercial use but not free for commercial use, nowadays it's
only commercial.

Now, all of these packages have (fortunately) now been superseded.
But the point is that unless your code is immediately incorporated
in a large project with some history - like FreeBSD - it can get lost.

Think of all the ports in FreeBSD, the smaller ones come and go.
For example have you ever tried downloading the original free
bonnie source?  People still cite bonnie as a disk tester - but
the bonnie program you find today on a google search isn't the
same bonnie.


 to the University, it assures any future entity that there will never
 be any question of copyight rights to use the work since the UCB
 obviously
 isn't difficult to find, and is not likely to dry up and disappear.

s/University/FSF and s/BSD/GPL and you have a heated debate :)

 This is why FreeBSD is copyrighted The FreeBSD Project and
 not the individual developers copyrights.


That's certainly not the case for the code used in FreeBSD,
only for the
FreeBSD trademark I think. Look at a random file in src.


No, it really is.  Look at COPYRIGHT in /.

Ted

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


Re: E-mail server, minimalist approach

2006-03-26 Thread Vaaf

At 00:08 26.03.2006, Matthew Seaman wrote:

On Sat, Mar 25, 2006 at 09:38:42PM +0100, Vaaf wrote:

 My minimalist approach to using MySQL for instance, is to stay away
 from phpMyAdmin and just create my databases like this:

 CREATE DATABASE IF NOT EXISTS database;
 GRANT USAGE ON database.* TO [EMAIL PROTECTED] IDENTIFIED BY 'password';
 GRANT ALL ON database.* TO [EMAIL PROTECTED];

Ummm... the minimalist approach would only require /two/ lines:

  CREATE DATABASE IF NOT EXISTS database ;
  GRANT ALL ON database.* TO [EMAIL PROTECTED] IDENTIFIED BY 'password' ;

More pertinently, the really big advantage of doing stuff the
command-line way is that you can arrange all this sort of thing as a
series of scripts preserved under CVS or the like.  Takes a little
more effort the first time you do it, then saves you having to
rediscover it all the next or any subsequent time.

   Cheers,

   Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW


I feel so silly :)
Thank you for pointing that out.

Yes, I am searching the command-line way for having virtual
e-mail users and virtual domains.

I've set up and configured Postfix, Courier-IMAP and SASL.

According to (a revised setup of) high5.net/howto, this is all I need:

CREATE DATABASE IF NOT EXISTS mail;
GRANT ALL ON mail.* TO [EMAIL PROTECTED] IDENTIFIED BY 'fooBehej';

USE mail;
CREATE TABLE IF NOT EXISTS alias (
  address varchar(255) NOT NULL default '',
  goto text NOT NULL,
  domain varchar(255) NOT NULL default '',
  created datetime NOT NULL default '-00-00 00:00:00',
  modified datetime NOT NULL default '-00-00 00:00:00',
  active tinyint(1) NOT NULL default '1',
  PRIMARY KEY (address),
  KEY address (address)
) TYPE=MyISAM COMMENT='Postfix virtual aliases';

USE mail;
CREATE TABLE IF NOT EXISTS domain (
  domain varchar(255) NOT NULL default '',
  description varchar(255) NOT NULL default '',
  aliases int(10) NOT NULL default '0',
  mailboxes int(10) NOT NULL default '0',
  maxquota int(10) NOT NULL default '0',
  transport varchar(255) default NULL,
  backupmx tinyint(1) NOT NULL default '0',
  created datetime NOT NULL default '-00-00 00:00:00',
  modified datetime NOT NULL default '-00-00 00:00:00',
  active tinyint(1) NOT NULL default '1',
  PRIMARY KEY (domain),
  KEY domain (domain)
) TYPE=MyISAM COMMENT='Postfix virtual domains';

USE mail;
CREATE TABLE IF NOT EXISTS mailbox (
  username varchar(255) NOT NULL default '',
  password varchar(255) NOT NULL default '',
  name varchar(255) NOT NULL default '',
  maildir varchar(255) NOT NULL default '',
  quota int(10) NOT NULL default '0',
  domain varchar(255) NOT NULL default '',
  created datetime NOT NULL default '-00-00 00:00:00',
  modified datetime NOT NULL default '-00-00 00:00:00',
  active tinyint(1) NOT NULL default '1',
  PRIMARY KEY (username),
  KEY username (username)
) TYPE=MyISAM COMMENT='Postfix virtual mailboxes';

But then, unfortunately, Postfixadmin to properly govern these.
Aren't there any alternatives?

All the best,
Vaaf

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


RE: How do you keep users from stealing other user's ip??

2006-03-26 Thread Ted Mittelstaedt
Hi Mark,

  The only way you can really lock it down is to statically assign
everything (either with a DHCP server that has a table of mac addresses)
and maintain an accurate list of mac addresses, and use managed switches
that have filtering capabilities.

  We do this on bridged DSL networks (except for the managed switch part)
and it's actually a lot easier to manage that most people think.

  What you have to do is when a new person hooks into the network,
you give them a test IP address, you ping that, get their MAC for that,
then hard code that into your DHCP server and tell them to switch
over to DHCP to get their permanent address.  Once they do that, hard-
code the IP address and mac in the router ARP table, and install a
filter on the switch port going to them that ignores any traffic
that originates from a different MAC than the one that you probed
from them.

Ted

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mark Jayson
Alvarez
Sent: Thursday, March 23, 2006 10:26 PM
To: [EMAIL PROTECTED]
Subject: How do you keep users from stealing other user's ip??


Good day,


  We are trying to reorganize our local area network and I need
some tips on how you are managing your own lan...

  We have a vanilla pc router with interface facing our private
lan and interface facing the Internet.

 One problem which we are experiencing right now is that any
user from private lan can use any ip address he wants. If he
boots his computer with a stolen ip address, the poor owner of
that machine(not active at the moment) will give automatically
up his ip address to this user. The same scenario for public ip
addresses. Basically, we need to track down the users through
their ip address.. But this is trivial as of now since anyone
can use any ip he wants. Even if there is a solution out there
to tie up his mac address to his ip address..(sort of checking
the mac first before giving him an ip, possibly through dhcp..)
still, users can just download applications which will enable
him to change his mac address

 Now, where thinking about authenticating users before he is
allowed to use a particular network service(internet proxy,
mail etc.) because I guess it is a clever way of keeping the
bad users from doing something bad within your network when
after all, the reason why he is plugging his lancard to the
network is to use a particular service. However, it still
doesn't keep them from playing around and steal other ip
addresses or mac addresses and thus denying network access to
those legitimate owners. I'm thinking about tying dhcp with
authentication, and freeradius comes to mind.. I just need some
more tips from you. User's workstations are mixed Windows and
*nixes. Some have laptops with wireless interfaces.

  Any idea how to handle this situations??
  Thanks...



-
New Yahoo! Messenger with Voice. Call regular phones from your
PC and save big.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.1/292 - Release Date: 3/24/2006


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


RE: Thanks! and... the su command

2006-03-26 Thread Freek Nossin
 -Original Message-
 From: Dan Nelson [mailto:[EMAIL PROTECTED]
 Sent: zondag 26 maart 2006 8:54
 To: Saul Mena Avila
 Cc: freebsd-questions@freebsd.org
 Subject: Re: Thanks! and... the su command
 
 In the last episode (Mar 26), Saul Mena Avila said:
  Hi!. Thanks for helping me with the USB flash memory. I've also have
 trouble
  with the su command... since I installed the FreeBSD 5.4, everytime I
 try to
  login as root with su, the shell answers me with Sorry... and that's
 all.
  Is it wrong configured or installed?
 
 You need to be in the 'wheel' group to su to root.  It's not mentioned
 in the su manpage, but is in both the FAQ and handbook.
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/securing-
 freebsd.html
 
 --
   Dan Nelson
   [EMAIL PROTECTED]


Although it is described in the handbook, in my opinion an error message,
or more generally a feedback message, should give more useful feedback to
the user. Now the user must think of all the checks that can fail while - in
this case - authenticating, which is rather silly when you think of it,
because the su-command, just did exactly the same, and could have easily
printed a message that would describe the check on which it returned the
error.

- Freek Nossin

PS:
cc to freebsd-?



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


Re: Starting privoxy at startup

2006-03-26 Thread Pete Slagle

Oliver Iberien wrote:


I can start privoxy manually with
/usr/local/sbin/privoxy /usr/local/etc/privoxy/config

I added this to /etc/rc.conf:
privoxy_enable=YES
privoxy_flags=/usr/local/etc/privoxy/config

but that does not seem to do it. I tried putting a link in /etc/rc.d/ to the 
privoxy.sh in /usr/local/etc/rc.d, but that didn't do it, either. How do I 
get it to start?


When I installed privoxy from ports a shell script was placed in 
/usr/local/etc/rc.d, which does the job.  Mine is mode 555.  I'll e-mail 
you a copy if you want. I wouldn't link from /etc/rc.d -- bad mojo.


I put the following two variables in /etc/rc.conf, and privoxy finds 
it's configuration files in the directory /usr/local/etc/privoxy/ 
without any help. There is more than one configuration file, and they 
are substantially self documenting.


  privoxy_enable=YES
  privoxy_flags=-- user privoxy





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


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

2006-03-26 Thread Andrea Venturoli

Oliver Iberien wrote:


There is a thread here:

http://lists.freebsd.org/mailman/htdig/freebsd-ports/2005-March/021958.html

of someone with a scsi cd-r/w that was giving the same errors. The thread goes 
on to post some kind of fix to a flac decoder:


http://lists.freebsd.org/mailman/htdig/freebsd-ports/2005-March/021969.html

...but I don't understand how this is related or how it is to be implemented.


I don't know whether this is related either. However it mentions a build 
problem, which I haven't met.


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


Re: Where is $PAGER defined?

2006-03-26 Thread Norberto Meijome
On Wed, 22 Mar 2006 21:46:29 -0500 (EST)
Chris Hill [EMAIL PROTECTED] wrote:

 Don't forget that less is more. They're hardlinked:

:-) right, but they behave differently enough to warrant the change in
the local/personal rc file, IMHO
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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

2006-03-26 Thread RW
On Sunday 26 March 2006 04:41, Chris Hill wrote:
 On Sat, 25 Mar 2006, Chris Hill wrote:

 [Replying to myself...]

  On Sat, 25 Mar 2006, Saul Mena Avila wrote:
  Hello!. I've been trying to mount my flash memory but it just doesn't
  let me.
  I use (as root):
 
  mount -t msdosfs /dev/ad0 /flash
 
  The feedback is something like device ad0 doesn't allow action Can
  anybody help me?
 
  Are you sure that /dev/ad0 is actually your flash device? That doesn't
  look right to me. What is the physical interface to your flash memory?
  That is, is it USB, a PCMCIA card, or what?

 Sorry, I'd already forgotten that the subject line said USB. Given USB,
 it will be seen by the system as a SCSI device. I think you would have
 to add device atapicam to your kernel config, but not sure about that.

My camera, which is a usb storage device, shows as da0s1 (at least that's what 
I have in fstab).



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


Re: Linux migration

2006-03-26 Thread Norberto Meijome
On Thu, 23 Mar 2006 14:47:54 +
Wayne [EMAIL PROTECTED] wrote:

 Also another thing that I was thinking about since my original mail,
 things like chkconfig and commands like say 'service network
 restart'. Does such a thing like a redhat layer type project exist
 so that emgineers who must convert to freebsd have as much of the day
 to day commands available to them while retraining?

RHE has its ways, fbsd has others. it's not that hard to carry over
really...you can make an simple  cheatsheet for your engineeres.


IMHO, it's quite simple in Freebsd:
 - if service is part of the base os, script is located in /etc/rc.d
 - if service is something you have installed, it's located
in /usr/local/etc/rc.d

Likewise, configuration for base services go in /etc, configuration for
ports goes in /usr/local/etc/

( If you can't tell what is part of the base OS or what is added...you
may have other issues at hand :) )

Since you don't have the SysV style scripts in BSD, what gets run
(base-system or added-from-ports) is defined in /etc/rc.conf (default
options for base services are in /etc/defaults/rc.conf . options for
services from ports are usually in the port documentation or the
startup script)

Regardless of this, scripts in either /etc/rc.d or /usr/local/etc/rc.d/
take the same params as RHE : start, stop, restart, status (+ custom
ones in some services/ports).

so 'service network restart' = /etc/rc.d/netif restart

etc

( I realise you probably know all this, but i have been asked this
quite a few times...so I might as well put it down for the archives :) 

Hope it helped someone :)

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


Re: Thanks! and... the su command

2006-03-26 Thread User Elisej
On Sun, Mar 26, 2006 at 01:07:15PM +0200, Freek Nossin wrote:
  -Original Message-
  From: Dan Nelson [mailto:[EMAIL PROTECTED]
  Sent: zondag 26 maart 2006 8:54
  To: Saul Mena Avila
  Cc: freebsd-questions@freebsd.org
  Subject: Re: Thanks! and... the su command
  
  In the last episode (Mar 26), Saul Mena Avila said:
   Hi!. Thanks for helping me with the USB flash memory. I've also have
  trouble
   with the su command... since I installed the FreeBSD 5.4, everytime I
  try to
   login as root with su, the shell answers me with Sorry... and that's
  all.
   Is it wrong configured or installed?
  
  You need to be in the 'wheel' group to su to root.  It's not mentioned
  in the su manpage, but is in both the FAQ and handbook.
  
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/securing-
  freebsd.html
  
  --
  Dan Nelson
  [EMAIL PROTECTED]
 
 
 Although it is described in the handbook, in my opinion an error message,
 or more generally a feedback message, should give more useful feedback to
 the user. Now the user must think of all the checks that can fail while - in
 this case - authenticating, which is rather silly when you think of it,
 because the su-command, just did exactly the same, and could have easily
 printed a message that would describe the check on which it returned the
 error.
 
 - Freek Nossin
 
 PS:
 cc to freebsd-?
 
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

There is a way to su root anyway.
Should you read su(1) and pam.conf(5), you see that your ability to su root 
depends on the
/etc/pam.d/su
For the first time, you can delete this file, and you will be able to su 
anybody always. But this is not a good way for security reasons.
Then read pam.conf(5) and edit the /etc/pam.d/su in a way allowing you to su 
root. But only you.

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


how to kill this process

2006-03-26 Thread snnn
# killall -CONT mysqld
# killall -CONT mysqld
# ps -A|grep mysqld
72:39951  p0- T  0:01.21 /usr/local/libexec/mysqld
--defaults-extra-file=/var/
176:25582  p1  R+ 0:00.00 grep -n --color=auto mysqld
# kill -CONT 39951
# kill -9 39951

I cannot kill it by kill -9
why?

This the my environment
bbs# uname -a
FreeBSD bbs.xxx.edu.cn 5.4-RELEASE-p12 FreeBSD 5.4-RELEASE-p12 #2: Thu Mar
16 1
5:48:16 CST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL  i386
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB external drive size limitations?

2006-03-26 Thread Chandan Haldar

I faced the exact same problem recently with my 250GB
iOmega external harddisk with a single FAT32 partition
which I needed mounted on my FreeBSD 6.0 Release
system.  I needed this to be mounted rw, so the
MSDOSFS_LARGE option was no help.  After some
cajoling, iomega folks confirmed that partitioning the disk
into multiple partitions should present no issues (although
for some reason best known to themselves, on their support
website they explicitly discourage users doing this).

To cut the long story short, I chose to partition the 256GB
disk into 2 128GB FAT32 partitions.  Both the partitions
show up (as /dev/da*) and mount rw nicely on FreeBSD
(and also on Windoze as usual).

To be on the safe side, I moved the data back and forth
between my fixed harddisks and the external disk before
and after repartitioning the external HDD, but iomega said
that using content-preserving repartitioning software such
as partitionmagic should be possible to use without any
issues on their disk.

Chandan


JHorne wrote:


Well im fairly certain that my filesystem has less than a million files, its
mostly just large .iso files from my ftp server.  I can defiantly quickly
check it out against a windows computer before I plug it back in the next
time im at my colo.
 


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


Re: spamassassin build failure

2006-03-26 Thread Michael P. Soulier
On 26/03/06 Matthew Seaman said:

 Did you run the perl-after-upgrade script with the '-f' flag so it
 actually does anything?  This symptom occurs when the pkg system
 thinks a package is installed (because there's an entry in
 /var/db/pkgs) but perl can't find the corresponding module, because
 it's in /usr/local/lib/perl5/site_perl/5.8.X with X != 8.

Nope, I didn't do that. How would I know to do that? :)

 Forcing a reinstall of p5-Test-Harness would also work.

Ok, great. Thanks. 

Mike

-- 
Michael P. Soulier [EMAIL PROTECTED]
Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction. --Albert Einstein


pgpBK6bdcDKIN.pgp
Description: PGP signature


Re: spamassassin build failure

2006-03-26 Thread Michael P. Soulier
On 26/03/06 Matthew Seaman said:

 Did you run the perl-after-upgrade script with the '-f' flag so it
 actually does anything?  This symptom occurs when the pkg system
 thinks a package is installed (because there's an entry in
 /var/db/pkgs) but perl can't find the corresponding module, because
 it's in /usr/local/lib/perl5/site_perl/5.8.X with X != 8.

perl-after-upgrade -f seems to have fixed the problem. 

As I think I only went from perl 5.6 to 5.8, I'm surprised that so much would
be out of date. Good to know though. Do the other scripting languages have
this kind of support? Python?

Mike

-- 
Michael P. Soulier [EMAIL PROTECTED]
Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction. --Albert Einstein


pgpGmhwH9GgMn.pgp
Description: PGP signature


Re: sendmail feature options.

2006-03-26 Thread Chuck Swiger
fbsd_user wrote:
 Tried to add sendmail feature option nodns and received error
 during make.
 Where can I find list of all the allowable feature options.

See /usr/src/contrib/sendmail/cf/README.

Looks like nodns has been deprecated in favor of FEATURE(nocanonify) and
changing /etc/nsswitch.conf or the local equivalent (lookupd's NetInfo
configuration, Solaris' nscd, etc).

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


RE: AAC_COMPAT_LINUX?

2006-03-26 Thread Tamouh H.
 
 It seems the AAC_COMPAT_LINUX kernel option that I needed to 
 run aaccli for an Adaptec RAID card (2120s) is no longer 
 available in 5.3. Is there a replacement, or another way to 
 run aaccli?
 
 Thanks,
 sdb
 --
 [EMAIL PROTECTED]

You don't need the AAC_COMPAT_LINUX option enabled. Do you have linux binaries 
installed ? run kldstat  to check you should see linux.ko

If not installed, check this:

http://www.freebsd.org/doc/handbook/linuxemu-lbc-install.html

Once all done and you can see linux binaries, go to the Port:

/usr/ports/sysutil/aaccli

 make install distclean

This will install aaccli, or you can just copy the file aaccli from the files 
folder and put it in /usr/bin which will also work.

Note, If you have upgraded your RAID card to the latest Adaptec firmware (like 
I did) aaccli will not work. I think Adaptec is working on a new utility for 
FreeBSD, but so far it is no go.

Good luck,

Tamouh


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


Re: what is the process for migrating a pre-built kernel to a new machine?

2006-03-26 Thread Fabian Keil
Jonathan Horne [EMAIL PROTECTED] wrote:

 So if when you say copy the kernel, do you just mean the contents
 of the /boot/kernel directory, and that's as plain as it is?  Or is
 there more to it?

You should make sure that userland and the new kernel are in sync.
 
 The reason I'm asking, is that I always plan for disaster recovery,
 and after a build, easily the single longest task for bringing my
 particular system totally back online, is compiling the kernel (im
 still running my 5 year old dual p3 800).  For time's sake during
 recovery, I would like to skip at least that process.

If you do a make installkernel /boot/kernel is copied
to /boot/kernel.old. If your new kernel doesn't work,
you can still use your old one.

Of course if you build two broken kernels in a row,
the kernel from /boot/kernel.old doesn't work either,
therefore it doesn't hurt to copy a known to work kernel
directory to /boot/whatever, to make sure it's not
overwritten.
 
 Can you give me more specifics on exactly what should be moved/copied?

It depends on your kernel configuration.

The easiest way to make sure you don't forget anything is to
export /usr/src and /usr/obj on your build machine, mount them
on the target machine and run make installkernel from there.

Fabian
-- 
http://www.fabiankeil.de/


signature.asc
Description: PGP signature


Mail service principles: can I have the second mailbox

2006-03-26 Thread User Elisej
Can a user have two mailboxes (and two addresses, of course)?

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


Xemacs cursor in console

2006-03-26 Thread User Elisej
I use XEmacs 21.4 (patch 19)
It sets the cursor as large blinking block on its own everytime.
How to forbid it this?

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


RE: How do you keep users from stealing other user's ip??

2006-03-26 Thread Jonathan Horne
You make it sound like they are doing it on purpose.  Could it be the lease
duration is so short that the ips are going back into the pool before they
are truly abandoned by the original user?  If you look at the behavior of
the MS DHCP server, the lease duration is 8 days (with standard 4 day
renewal).  If it takes 8 days for it to back into the pool, this should be
more than enough time for a user to go home for the weekend, and hopefully
get the same ip when they get back to work.  I would suggest increasing the
lease duration time and see if that stops users from stepping on each others
dhcp leases (don't forget, in the typical dhcp-request conversation, the
client asks hey, I had x.x.x.x last, is it still available for me?  you
want the server to be able to say sure).  On my freebsd router, the DHCP
server came with a 1 hour lease duration (which causes a 30 minute renewal..
IMO this is too fast).

Second, you mentioned that users could just download software that would
allow them to change their mac address.  It sounds like some users have too
high a rights assignment, if they are causing mischief like that.

Cheers,
jonathan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ted Mittelstaedt
Sent: Sunday, March 26, 2006 4:06 AM
To: Mark Jayson Alvarez; [EMAIL PROTECTED]
Subject: RE: How do you keep users from stealing other user's ip??

Hi Mark,

  The only way you can really lock it down is to statically assign
everything (either with a DHCP server that has a table of mac addresses)
and maintain an accurate list of mac addresses, and use managed switches
that have filtering capabilities.

  We do this on bridged DSL networks (except for the managed switch part)
and it's actually a lot easier to manage that most people think.

  What you have to do is when a new person hooks into the network,
you give them a test IP address, you ping that, get their MAC for that,
then hard code that into your DHCP server and tell them to switch
over to DHCP to get their permanent address.  Once they do that, hard-
code the IP address and mac in the router ARP table, and install a
filter on the switch port going to them that ignores any traffic
that originates from a different MAC than the one that you probed
from them.

Ted

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mark Jayson
Alvarez
Sent: Thursday, March 23, 2006 10:26 PM
To: [EMAIL PROTECTED]
Subject: How do you keep users from stealing other user's ip??


Good day,


  We are trying to reorganize our local area network and I need
some tips on how you are managing your own lan...

  We have a vanilla pc router with interface facing our private
lan and interface facing the Internet.

 One problem which we are experiencing right now is that any
user from private lan can use any ip address he wants. If he
boots his computer with a stolen ip address, the poor owner of
that machine(not active at the moment) will give automatically
up his ip address to this user. The same scenario for public ip
addresses. Basically, we need to track down the users through
their ip address.. But this is trivial as of now since anyone
can use any ip he wants. Even if there is a solution out there
to tie up his mac address to his ip address..(sort of checking
the mac first before giving him an ip, possibly through dhcp..)
still, users can just download applications which will enable
him to change his mac address

 Now, where thinking about authenticating users before he is
allowed to use a particular network service(internet proxy,
mail etc.) because I guess it is a clever way of keeping the
bad users from doing something bad within your network when
after all, the reason why he is plugging his lancard to the
network is to use a particular service. However, it still
doesn't keep them from playing around and steal other ip
addresses or mac addresses and thus denying network access to
those legitimate owners. I'm thinking about tying dhcp with
authentication, and freeradius comes to mind.. I just need some
more tips from you. User's workstations are mixed Windows and
*nixes. Some have laptops with wireless interfaces.

  Any idea how to handle this situations??
  Thanks...



-
New Yahoo! Messenger with Voice. Call regular phones from your
PC and save big.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.1/292 - Release Date: 3/24/2006


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

___

Urgent Help needed: How to boot in single user mode with usb keyboard

2006-03-26 Thread Ian Lord

Hi,

I am currently in a maintenance window trying to rebuildworld...

I am doing it on a dell poweredge with a built in drac wich emulate a 
usb keyboard...


When I need to boot on the drac, I need to use boot with usb keyboard 
in the menu...


Now I need to boot in single mode WITH usb keyboard and I can't figure out...

I saw in a post that I could do the following in boot loader:

set hint.atkbd.0.flags=0x1
boot -s

But it doesnt work... Any help would be greatly appreciated

Thanks

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


USB drive does not mount anymore

2006-03-26 Thread Peter
Hi, I've run into a very frustrating problem and I hope someone can
advise.

I acquired two 200 GB USB drives of the same model* and I had tested
them both on a 5.4-STABLE and a 6.0-STABLE system.  Both had a dislabel
on /dev/da0s1d and were working fine.  I transported my 6.0 gear to
another location (by car); set up both drives; and tested them.  All
good.  Later in the evening I could no longer access one of the drives;
it could not be mounted:

umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR

I cam back home to my 5.4 system and I experience the same problem.

What happened and how should I proceed?

* 
www.tigerdirect.ca/applications/SearchTools/item-details.asp?EdpNo=1428323CatId=0

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


Re: KDE App Launcher

2006-03-26 Thread hackmiester / Hunter Fuller
On Friday 24 March 2006 07:52, Nikolas Britton wrote:
 How do I get KDE to run this command:

 setenv SDL_VIDEO_X11_DGAMOUSE 0; setenv QEMU_AUDIO_DRV sdl; nice +5
 qemu -soundhw es1370 ~/qemu/win98se/win98se_disk.img

 or this:

 export SDL_VIDEO_X11_DGAMOUSE=0; export QEMU_AUDIO_DRV=sdl ; nice +5
 nohup qemu -soundhw es1370 ~/qemu/win98se/win98se_disk.img

 Or this, win98se_start.sh:

 #!/bin/sh
 export SDL_VIDEO_X11_DGAMOUSE=0  ~/qemulog
 export QEMU_AUDIO_DRV=sdl  ~/qemulog
 nohup qemu -soundhw es1370 ~/qemu/win98se/win98se_disk.img  ~/qemulog
 exit

 I can't get any of them to work, I've tried other permutations too.
 The only way I got it to work is if I tell it to run in a term window,
 but I don't want that.
Modify your script as I did. Then, paste the contents of the qemulog file, if 
it has any.




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

-- 
--hackmiester
Walk a mile in my shoes and you will be a mile away in a new pair of shoes.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFD/yYl3ApzN91C7BcRAoVVAJ97uhjh30nQ4hd9bQ90gJqiwsLEfgCeKSrg
bVfqEeJ09WhO6Y51WHEHb6o=
=VTUd
-END PGP SIGNATURE-

-BEGIN GEEK CODE BLOCK-
Version: Geek Code v3.1 (PHP)
GCS/CM/E/IT d-@ s: a- C++$ UBLS*$ P+ L+++$ E- W++$ !N-- !o+ K-- !w-- !O-
M++$ V-- PS@ PE@ Y--? PGP++ !t--- 5--? !X-- !R-- tv-- b+ DI++ D++ G+ e
h r+++ z
--END GEEK CODE BLOCK--

Quick contact info:
Work: [EMAIL PROTECTED]
Personal: [EMAIL PROTECTED]
Large files/spam: [EMAIL PROTECTED]
GTalk:hackmiester/AIM:hackmiester1337/Y!:hackm1ester/IRC:irc.7sinz.net/7sinz


pgp08Kxho7zBP.pgp
Description: PGP signature


Re: spamassassin build failure

2006-03-26 Thread Matthias Fechner
Hello Michael,

* Michael P. Soulier [EMAIL PROTECTED] [26-03-06 08:19]:
 Nope, I didn't do that. How would I know to do that? :)

reading /usr/ports/UPDATING :)


Best regards,
Matthias


pgpOvxufzBn0e.pgp
Description: PGP signature


Re: TCP delayed acks not being delayed?

2006-03-26 Thread RW
On Saturday 25 March 2006 21:25, Bill Moran wrote:

 Are you sure you're not exceeding the capability of the system to delay
 acks?

I would have thought not, it maxes-out with a receive space of 15k, and 
increasing the setting from 20k to 32k had no effect.

 Besides, when you're transferring data in one
 direction only, it doesn't make sense to delay empty acks.  only on a
 full-duplex transmissions do you get a benefit by taking measures to
 ensure that all packets have data.  When you're downloading, _all_ your
 acks are empty, so who cares?

I though I might be seeing a bug.  I was only measuring it because I was 
thinking of switching to pf/altq and I wanted to know how much to allow for 
empty-acks. 

However, I hadn't done the arithmetic before, and I was surprized to see that 
13% of my upload was being used. On a 4MB connection, that would be over half 
the bandwidth. Delayed acks don't affect the download speed on one tcp 
connection, but they could improve the performance of other traffic, when a 
download is taking place over a very asymmetric link.

 Additionally, if the client application turns nagle off, this will
 disable the use of delayed acks.  For things like file transfer, it's
 pretty much typical practice to disable nagle,

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


Re: Xemacs cursor in console

2006-03-26 Thread Thomas Dickey
On Sun, Mar 26, 2006 at 04:28:31PM +0300, User Elisej wrote:
 I use XEmacs 21.4 (patch 19)
 It sets the cursor as large blinking block on its own everytime.
 How to forbid it this?

It's using the terminal settings (terminfo cvvis, termcap vs) to see
how to do this.  FreeBSD provides only rudimentary support for customizing
your terminal description (the preferred solution); and chosing an alternative
description can be frustrating (apparently the recommended solution ;-)

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


pgpxBZafI0FqP.pgp
Description: PGP signature


Re: Strange HD behavior

2006-03-26 Thread Luiz Eduardo Guida Valmont
I just tried the seagate tools (seatools). While it did not find any bad
block, it nevertheless hung after completing the process, just before
showing any report. So I think my HD is okay. BTW, it's a ST380022A.

I thought that maybe there could be issues related to temperature. Is there
any sort of watchdog in FreeBSD that gets installed by default? =/ Has
anyone ever had a problem like this?

Thanks for the answers / tips / help, but now I've got more questions. :)

On 3/26/06, Matthias Fechner [EMAIL PROTECTED] wrote:

 Hello Luiz,

 * Luiz Eduardo Guida Valmont [EMAIL PROTECTED] [25-03-06 19:06]:
  Is there an OS agnostic HD diagnose tool that's reliable?
 
  The HD is a Seagate one.

 You can try /usr/ports/sysutils/smartmontools and the tool from
 seagate itself.


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




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

Re: AAC_COMPAT_LINUX?

2006-03-26 Thread Chad Leigh -- Shire.Net LLC


On Mar 26, 2006, at 6:39 AM, Tamouh H. wrote:



It seems the AAC_COMPAT_LINUX kernel option that I needed to
run aaccli for an Adaptec RAID card (2120s) is no longer
available in 5.3. Is there a replacement, or another way to
run aaccli?

Thanks,
sdb
--
[EMAIL PROTECTED]


You don't need the AAC_COMPAT_LINUX option enabled. Do you have  
linux binaries installed ? run kldstat  to check you should see  
linux.ko


In my 5.4 systems I don't have AAC_COMPAT_LINUX configured and I run  
the Adaptec Linux version of aaccli just fine.  Check the archives,  
this was discussed back in the 5.3/5.4 release timeframe if I  
remember correctly -- I had the same or similar questions at the time.




If not installed, check this:

http://www.freebsd.org/doc/handbook/linuxemu-lbc-install.html

Once all done and you can see linux binaries, go to the Port:

/usr/ports/sysutil/aaccli


You can also run the version from adaptec's website

Chad




make install distclean


This will install aaccli, or you can just copy the file aaccli from  
the files folder and put it in /usr/bin which will also work.


Note, If you have upgraded your RAID card to the latest Adaptec  
firmware (like I did) aaccli will not work. I think Adaptec is  
working on a new utility for FreeBSD, but so far it is no go.


Good luck,

Tamouh


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


---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net



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


Re: AAC_COMPAT_LINUX?

2006-03-26 Thread Scott Ballantyne
Hi Tamouh,


Tamouh H. [EMAIL PROTECTED] writers:
 Once all done and you can see linux binaries, go to the Port:
 
 /usr/ports/sysutil/aaccli
 
  make install distclean
 


Thanks so much! I had been using the aaccli from the Adaptec CD, which
does need the AAC_COMPAT_LINUX option and wasn't aware of the port. It
works great.

Best,
sdb
-- 
[EMAIL PROTECTED]

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


Re: AAC_COMPAT_LINUX?

2006-03-26 Thread Chad Leigh -- Shire.Net LLC


On Mar 26, 2006, at 9:56 AM, Scott Ballantyne wrote:


Hi Tamouh,


Tamouh H. [EMAIL PROTECTED] writers:

Once all done and you can see linux binaries, go to the Port:

/usr/ports/sysutil/aaccli


make install distclean





Thanks so much! I had been using the aaccli from the Adaptec CD, which
does need the AAC_COMPAT_LINUX option and wasn't aware of the port. It
works great.


I am not using the port but a download from the Adaptec website.  I  
do not have any AAC_COMPAT_LINUX.  Works just fine for me.


The port does seem to be a Linux one now -- it used to be a FreeBSD  
native one that was not the equal of the Linux one in terms of  
functionality and that had been basically abandoned, according to  
what I remember Scott Long saying.


Chad


---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net



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


Re: Urgent Help needed: How to boot in single user mode with usb keyboard

2006-03-26 Thread Erik Nørgaard

Ian Lord wrote:

Hi,

I am currently in a maintenance window trying to rebuildworld...

I am doing it on a dell poweredge with a built in drac wich emulate a 
usb keyboard...


When I need to boot on the drac, I need to use boot with usb keyboard in 
the menu...


Now I need to boot in single mode WITH usb keyboard and I can't figure 
out...


I saw in a post that I could do the following in boot loader:

set hint.atkbd.0.flags=0x1
boot -s


Is the kernel you boot built with support for usb keyboard? if not, I 
think you can do something like


load ukbd
boot -s

you may also need some other modules depending on your hardware.

Cheers, Erik
--
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Strange HD behavior

2006-03-26 Thread Andrew Pantyukhin
On 3/26/06, Luiz Eduardo Guida Valmont [EMAIL PROTECTED] wrote:
 I just tried the seagate tools (seatools). While it did not find any bad
 block, it nevertheless hung after completing the process, just before
 showing any report. So I think my HD is okay. BTW, it's a ST380022A.

 I thought that maybe there could be issues related to temperature. Is there
 any sort of watchdog in FreeBSD that gets installed by default? =/ Has
 anyone ever had a problem like this?

 Thanks for the answers / tips / help, but now I've got more questions. :)

Smartmontools can show the temperature of a smart-enabled
HDD. Healthd might be able to do that, too, but I'm not sure.

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


Adjusting configuration options during port installation?

2006-03-26 Thread Matt Singerman
Hi all,

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

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

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

Thanks,

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


dependencies

2006-03-26 Thread Steven Lake
	Hi all.  Ok, I'm having a total brain fart today.  I've got a few apps 
that won't run and I need to find out the list of dependencies and what 
they're missing.  But I can't remember for the life of me what the command 
I need is to view that list.  I remember using it once where it would list 
the dependencies and tell either where they existed, or if they didn't 
exist, what the missing file was.  Anyone remember that command?  Thanks.


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


Re: dependencies

2006-03-26 Thread Lars Cleary

Steven Lake wrote:
Hi all.  Ok, I'm having a total brain fart today.  I've got a few 
apps that won't run and I need to find out the list of dependencies and 
what they're missing.  But I can't remember for the life of me what the 
command I need is to view that list.  I remember using it once where it 
would list the dependencies and tell either where they existed, or if 
they didn't exist, what the missing file was.  Anyone remember that 
command?  Thanks.

Could that have been this?
http://www2.papamike.ca:8082/tutorials/pub/fbsd-ports2.html#dependencies
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Adjusting configuration options during port installation?

2006-03-26 Thread Chris Hill

On Sun, 26 Mar 2006, Matt Singerman wrote:

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


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

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


An easy way would be to cd into the directory of the specific cyrus port 
you want, and type 'make config'. This will let you choose configuration 
options without actually installing the port. If you want to change 
something later, just run 'make config' again.


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


Re: dependencies

2006-03-26 Thread Chris Hill

On Sun, 26 Mar 2006, Steven Lake wrote:

	Hi all.  Ok, I'm having a total brain fart today.  I've got a 
few apps that won't run and I need to find out the list of 
dependencies and what they're missing.  But I can't remember for the 
life of me what the command I need is to view that list.  I remember 
using it once where it would list the dependencies and tell either 
where they existed, or if they didn't exist, what the missing file 
was.  Anyone remember that command?  Thanks.


I use pkg_info -Rr pkg_name, where pkg_name is the exact name of the 
package. The -Rr options will tell you what the package depends on, and 
what depends on the package. To find the exact package name, I do (for 
example) pkg_info | grep firefox, which returns:

 firefox-1.5.0.1_1,1 Web browser based on the browser portion of Mozilla
...and the I know to do pkg_info -Rr firefox-1.5.0.1_1,1

HTH.

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


Re: Adjusting configuration options during port installation?

2006-03-26 Thread Matt Singerman
Hi Chris,

Thank you for letting me know about this option.  Unfortunately, the
specific configure options I am looking for are not listed there.  Is
there another way to go in and modify the configuration?

On 3/26/06, Chris Hill [EMAIL PROTECTED] wrote:
 On Sun, 26 Mar 2006, Matt Singerman wrote:

  I am installing an upgrade to the Cyrus email server.  Our existing
  email boxes are in a database format that is no longer used by Cyrus;
  however, there is a configuration option which will instruct the new
  version to use the old database format.  They are
 
  --with-mboxlist-db=berkeley and --with-seen-db=flat
 
  Is there a way to tell the FreeBSD port of Cyrus to use these options?
  I am not extremely familiar with the ports system.

 An easy way would be to cd into the directory of the specific cyrus port
 you want, and type 'make config'. This will let you choose configuration
 options without actually installing the port. If you want to change
 something later, just run 'make config' again.

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

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


Re: Adjusting configuration options during port installation?

2006-03-26 Thread Chris Hill

On Sun, 26 Mar 2006, Matt Singerman wrote:

Thank you for letting me know about this option.  Unfortunately, the 
specific configure options I am looking for are not listed there.  Is 
there another way to go in and modify the configuration?


You would have to browse through the Makefile and look for configuration 
options. Typically, if there is a FOOBAR option, you would 'make 
-DFOOBAR install' in the port directory.


Or, you could just edit the Makefile to add the arg you want. Let's look 
at mail/cyrus-imapd23. Its Makefile has a section that goes


  CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \
  --with-cyrus-prefix=${PREFIX}/cyrus \
  --with-cyrus-user=${CYRUS_USER} \
  --with-cyrus-group=${CYRUS_GROUP} \
  --with-sasl=${LOCALBASE} \
  --with-bdb-libdir=${LOCALBASE}/lib \
  --with-com_err \
  --with-openssl=${OPENSSLBASE} \
  --with-perl=${PERL5} \
   note the trailing backslash I added ^

I would imagine you could just add
  --with-mboxlist-db=berkeley \
and
  --with-seen-db=flat
to that list. (The backslash means continued on the next line.)

Disclaimers: 1) I know nothing about cyrus. 2) I have never hacked a 
Makefile in this way. What I've said makes sense to me, but maybe others 
know better or can elaborate.


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


Re: Adjusting configuration options during port installation?

2006-03-26 Thread Matt Singerman
Hi Chris,



 You would have to browse through the Makefile and look for configuration
 options. Typically, if there is a FOOBAR option, you would 'make
 -DFOOBAR install' in the port directory.

I will try this. Thanks.

 Or, you could just edit the Makefile to add the arg you want. Let's look
 at mail/cyrus-imapd23. Its Makefile has a section that goes

I actually already tried this option.  Unfortunately, it did not work
for reasons that are unknown to me.

Another thing that I was thinking was going into the
work/cyrus-imapd2.2.12 directory and manuall running ./configure (with
the options listed in Makefile as well as the options I need) and make
from there, then going back the port's main directory and running make
install.  Does anyone know if this will or will not work?  Also, the
Makefile specifies a couple of items as follows:

--with-sasl=${LOCALBASE} \
--with-bdb-libdir=${LOCALBASE}/lib \
--with-openssl=${OPENSSLBASE} \
--with-perl=${PERL5} \

How can I determine what these variables are?

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


using ports without X

2006-03-26 Thread albi

i wanted to try madman from ports on a local fileserver, but i prefer
not to compile X and Qt for this, is that possible ? 
a look at the Makefile and a google-search didn't provide any options

can someone point me to certain general flags for /etc/make.conf to
prevent X and Qt being build at all? tia

-- 
grtjs, albi
gpg-key: lynx -dump http://scii.nl/~albi/gpg.asc | gpg --import
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: using ports without X

2006-03-26 Thread Kris Kennaway
On Sun, Mar 26, 2006 at 09:33:19PM +0200, albi wrote:
 
 i wanted to try madman from ports on a local fileserver, but i prefer
 not to compile X and Qt for this, is that possible ? 

You can't use Qt-based graphical applications without Qt or an X
server, no.

Kris

pgpT57fb7XDNa.pgp
Description: PGP signature


Re: using ports without X

2006-03-26 Thread Garrett Cooper
- Original Message - 
From: albi [EMAIL PROTECTED]

To: freebsd-questions@freebsd.org
Sent: Sunday, March 26, 2006 11:33 AM
Subject: using ports without X




i wanted to try madman from ports on a local fileserver, but i prefer
not to compile X and Qt for this, is that possible ?
a look at the Makefile and a google-search didn't provide any options

can someone point me to certain general flags for /etc/make.conf to
prevent X and Qt being build at all? tia

--
grtjs, albi
gpg-key: lynx -dump http://scii.nl/~albi/gpg.asc | gpg --import



Not sure if this is still valid as they aren't in the manpage, but try 
adding the following to your /etc/make.conf:


WITHOUT_X11=yes
WITHOUT_GUI=yes

That should disable building X for the entire system.
-Garrett 


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


Re: using ports without X

2006-03-26 Thread albi
Kris Kennaway wrote:

 On Sun, Mar 26, 2006 at 09:33:19PM +0200, albi wrote:
 i wanted to try madman from ports on a local fileserver, but i prefer
 not to compile X and Qt for this, is that possible ? 
 
 You can't use Qt-based graphical applications without Qt or an X
 server, no.

well, the thing is that madman also works as a remote musicmanager via
http, but i now remember that that only seems to work from the
madman-gui,  sorry for the noise

-- 
grtjs, albi
gpg-key: lynx -dump http://scii.nl/~albi/gpg.asc | gpg --import
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Tightening up ssh

2006-03-26 Thread Graham North

Hi Mark:
You recently wrote:

Users are encouraged to create single-purpose users with ssh keys
and very narrowly defined sudo privileges instead of using root
for automated tasks.

Does this mean that there is a way to run ssh, but only allow certain users to use it.   
My default seems to have been that if someone has a username and password they can access 
ssh (except root as PermitRootLogin no is the default).   The ssh port seems 
to be the most heavily attacked one on my machine and so I recently took to blocking port 
22.   My preference would be to enable it to only one user and give them an obscure 
username and strong password.  Root is not currently allowed access by default in the 
setup.

Is this the approach that you alluded to above?   Can you point me to some 
information or provide some tips.
Thanks,  Graham/

--

Kindness can be infectious - try it.

Graham North
Vancouver, BC
www.soleado.ca


No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.1/292 - Release Date: 3/24/2006
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Mail service principles: can I have the second mailbox

2006-03-26 Thread Kelly D. Grills
On Sun, Mar 26, 2006 at 04:19:21PM +0300, User Elisej wrote:
 
 Can a user have two mailboxes (and two addresses, of course)?
 

Yes.

Perhaps you could provide a bit more information?

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/x114.html

-- 
Kelly D. Grills
[EMAIL PROTECTED]


pgpIlXprWCpmI.pgp
Description: PGP signature


Re: Tightening up ssh

2006-03-26 Thread Daniel Gerzo
Hi Graham,

Sunday, March 26, 2006, 9:52:11 PM, you wrote about:

 Does this mean that there is a way to run ssh, but only allow
 certain users to use it.   My default seems to have been that if
 someone has a username and password they can access ssh (except root
 as PermitRootLogin no is the default).   The ssh port seems to be
 the most heavily attacked one on my machine and so I recently took
 to blocking port 22.   My preference would be to enable it to only
 one user and give them an obscure username and strong password. 
 Root is not currently allowed access by default in the setup.

check the AllowUsers and AllowGroups directive in sshd_config(5)

-- 
Best Regards,

 DanGer, ICQ: 261701668  | e-mail protecting at: http://www.2pu.net/
 http://danger.rulez.sk  | proxy list at:http://www.proxy-web.com/
 | FreeBSD - The Power to Serve!

[ Garrick Utley in Allie Sheedy's Frankenstein...  Tom Servo ]

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


Re: dependencies

2006-03-26 Thread Steven Lake

Hmm, definitely useful, but not quite what I'm looking for.

At 01:40 PM 3/26/2006 -0500, Chris Hill wrote:

On Sun, 26 Mar 2006, Steven Lake wrote:

Hi all.  Ok, I'm having a total brain fart today.  I've got a 
few apps that won't run and I need to find out the list of dependencies 
and what they're missing.  But I can't remember for the life of me what 
the command I need is to view that list.  I remember using it once where 
it would list the dependencies and tell either where they existed, or if 
they didn't exist, what the missing file was.  Anyone remember that 
command?  Thanks.


I use pkg_info -Rr pkg_name, where pkg_name is the exact name of the 
package. The -Rr options will tell you what the package depends on, and 
what depends on the package. To find the exact package name, I do (for 
example) pkg_info | grep firefox, which returns:

 firefox-1.5.0.1_1,1 Web browser based on the browser portion of Mozilla
...and the I know to do pkg_info -Rr firefox-1.5.0.1_1,1

HTH.

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


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


Re: Tightening up ssh

2006-03-26 Thread Kelly D. Grills
On Sun, Mar 26, 2006 at 11:52:11AM -0800, Graham North wrote:
 
 Does this mean that there is a way to run ssh, but only allow certain users 
 to use it.   My default seems to have been that if someone has a username 
 and password they can access ssh (except root as PermitRootLogin no is 
 the default).   The ssh port seems to be the most heavily attacked one on 
 my machine and so I recently took to blocking port 22.   My preference 
 would be to enable it to only one user and give them an obscure username 
 and strong password.  Root is not currently allowed access by default in 
 the setup.
 
 Is this the approach that you alluded to above?   Can you point me to some 
 information or provide some tips.
 Thanks,  Graham/
 

See SSHD_CONFIG(5), specifically the AllowUsers keyword.

-- 
Kelly D. Grills
[EMAIL PROTECTED]


pgpMMo0VvT01U.pgp
Description: PGP signature


Re: Tightening up ssh

2006-03-26 Thread Graham North

Hi Daniel
Thank you!  If I read the manpage correctly, invoking AllowUsers 
automatically changes the default behaviour and restricts access to only 
those users specificied.   That fits my needs exactly.   (or at least my 
current perceived needs :--))

Cheers, Graham/


Daniel Gerzo wrote:


Hi Graham,

Sunday, March 26, 2006, 9:52:11 PM, you wrote about:

 


Does this mean that there is a way to run ssh, but only allow
certain users to use it.   My default seems to have been that if
someone has a username and password they can access ssh (except root
as PermitRootLogin no is the default).   The ssh port seems to be
the most heavily attacked one on my machine and so I recently took
to blocking port 22.   My preference would be to enable it to only
one user and give them an obscure username and strong password. 
Root is not currently allowed access by default in the setup.
   



check the AllowUsers and AllowGroups directive in sshd_config(5)

 



--
Kindness can be infectious - try it.

Graham North
Vancouver, BC
www.soleado.ca


No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.1/292 - Release Date: 3/24/2006
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

RE: Tightening up ssh

2006-03-26 Thread fbsd_user
The fact of life is there is no way to stop ssh logon attacks
as long as you have port 22 open to the public internet.

You all ready see ssh doing its job correctly by not
allowing unauthorized logons.

Review the questions archives, this subject has been beat
to death the last 3 weeks.

There are some port application that read the hosts.allow log and
auto creates firewall rules to block that attacking ip address.
But this is just busy work as it does not stop the packets
hitting your front door or really add any additional security
over what native ssh is providing you.

A more popular method is to change the port number ssh uses and
just have your remote ssh users use that port number when they
remote logon to ssh.

Now the mass majority of script kiddies  robots attackers will
find port 22 closed and lose interest in you.
Only an dedicated attacker who has it out for just you, and knows
your ip address all ready would make the special effort to scan all
the high order port numbers looking for a ssh response.

Read the end of this doc for more details on how to change ssh's
port number.

Direct link to Example of Host SSH  Win SSH Clients is
http://elibrary.fultus.com/technical/index.jsp?topic=/com.fultus.doc
s.software/books/ssh_how-to/cover.html


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Graham
North
Sent: Sunday, March 26, 2006 2:52 PM
To: [EMAIL PROTECTED]; questions freebsd
Subject: Tightening up ssh


Hi Mark:
You recently wrote:

Users are encouraged to create single-purpose users with ssh keys
and very narrowly defined sudo privileges instead of using root
for automated tasks.

Does this mean that there is a way to run ssh, but only allow
certain users to use it.   My default seems to have been that if
someone has a username and password they can access ssh (except root
as PermitRootLogin no is the default).   The ssh port seems to be
the most heavily attacked one on my machine and so I recently took
to blocking port 22.   My preference would be to enable it to only
one user and give them an obscure username and strong password.
Root is not currently allowed access by default in the setup.

Is this the approach that you alluded to above?   Can you point me
to some information or provide some tips.
Thanks,  Graham/

--

Kindness can be infectious - try it.

Graham North
Vancouver, BC
www.soleado.ca



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


Re: Tightening up ssh

2006-03-26 Thread Graham North

Thank youi.
G/


fbsd_user wrote:


The fact of life is there is no way to stop ssh logon attacks
as long as you have port 22 open to the public internet.

You all ready see ssh doing its job correctly by not
allowing unauthorized logons.

Review the questions archives, this subject has been beat
to death the last 3 weeks.

There are some port application that read the hosts.allow log and
auto creates firewall rules to block that attacking ip address.
But this is just busy work as it does not stop the packets
hitting your front door or really add any additional security
over what native ssh is providing you.

A more popular method is to change the port number ssh uses and
just have your remote ssh users use that port number when they
remote logon to ssh.

Now the mass majority of script kiddies  robots attackers will
find port 22 closed and lose interest in you.
Only an dedicated attacker who has it out for just you, and knows
your ip address all ready would make the special effort to scan all
the high order port numbers looking for a ssh response.

Read the end of this doc for more details on how to change ssh's
port number.

Direct link to Example of Host SSH  Win SSH Clients is
http://elibrary.fultus.com/technical/index.jsp?topic=/com.fultus.doc
s.software/books/ssh_how-to/cover.html


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Graham
North
Sent: Sunday, March 26, 2006 2:52 PM
To: [EMAIL PROTECTED]; questions freebsd
Subject: Tightening up ssh


Hi Mark:
You recently wrote:

Users are encouraged to create single-purpose users with ssh keys
and very narrowly defined sudo privileges instead of using root
for automated tasks.

Does this mean that there is a way to run ssh, but only allow
certain users to use it.   My default seems to have been that if
someone has a username and password they can access ssh (except root
as PermitRootLogin no is the default).   The ssh port seems to be
the most heavily attacked one on my machine and so I recently took
to blocking port 22.   My preference would be to enable it to only
one user and give them an obscure username and strong password.
Root is not currently allowed access by default in the setup.

Is this the approach that you alluded to above?   Can you point me
to some information or provide some tips.
Thanks,  Graham/

--

Kindness can be infectious - try it.

Graham North
Vancouver, BC
www.soleado.ca





 



--
Kindness can be infectious - try it.

Graham North
Vancouver, BC
www.soleado.ca


No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.1/292 - Release Date: 3/24/2006
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: dependencies

2006-03-26 Thread Chris Hill

On Sun, 26 Mar 2006, Steven Lake wrote:


   Hmm, definitely useful, but not quite what I'm looking for.


What precisely *are* you looking for? A little detail would go a long 
way here. That is: what is it that won't run? Why do you think it's a 
dependency issue? What have you already tried?


Rereading your original post, it looks like you want to know not only 
what the dependencies are, but also which ones are not installed. 
Correct? Assuming yes, then you could do something like this (using my 
previous firefox example):

$ pkg_info -Rr firefox-1.5.0.1_1,1
Information for firefox-1.5.0.1_1,1:

Depends on:
Dependency: pkgconfig-0.20
Dependency: expat-2.0.0_1
[blah blah]

...then do a pkg_info on each item listed, e.g.
$ pkg_info pkgconfig-0.20
...and so on for each listed dependency. For each one, you will either 
get a rash of information (meaning the package is installed) or 
pkg_info: can't find package 'foobar' installed or in a file! (meaning 
the package is not installed). There is probably a more automated, less 
tedious way to do this, but I'm drawing a blank right now.


Then again, it may be an entirely different issue - it could be a matter 
of packages being confused about what their dependencies really are. You 
may see this when trying to update. This can be fixed using cvsup, 
pkgdb, portsdb and friends. See the many recent threads about updating 
ports and/or packages.



At 01:40 PM 3/26/2006 -0500, Chris Hill wrote:

On Sun, 26 Mar 2006, Steven Lake wrote:

Hi all.  Ok, I'm having a total brain fart today.  I've got a few 
apps that won't run and I need to find out the list of dependencies and 
what they're missing.  But I can't remember for the life of me what the 
command I need is to view that list.  I remember using it once where it 
would list the dependencies and tell either where they existed, or if they 
didn't exist, what the missing file was.  Anyone remember that command? 
Thanks.


I use pkg_info -Rr pkg_name, where pkg_name is the exact name of the 
package. The -Rr options will tell you what the package depends on, and 
what depends on the package. To find the exact package name, I do (for 
example) pkg_info | grep firefox, which returns:

 firefox-1.5.0.1_1,1 Web browser based on the browser portion of Mozilla
...and the I know to do pkg_info -Rr firefox-1.5.0.1_1,1


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


Cyrus-IMAP disallowing clear text connections

2006-03-26 Thread Erik Nørgaard

Hi:

I have a Postfix/Cyrus-IMAP setup, Postfix requires TLS and user 
authentication to relay mail, and cyrus requires TLS and user 
authentication to retrieve mail. Or so I thought:


I just tested to see that things were in fact encrypted and unencrypted 
connection was refused, works fine for Postfix but Cyrus-IMAP accepts 
unencrypted connections _and_ authentication even though I have set the 
following in imapd.conf


  allowplaintext: yes
  allowplainwithouttls: no

How do I force the use of TLS for Cyrus-IMAP?

Also: Postfix allows hiding authentication mechanisms unless TLS is 
invoked (so in clear text, capabilities just show STARTTLS), while 
Cyrus-IMAP announces everything. Is there anyway to be more strict with 
the cyrus in respect of what it announces?


Thanks, Erik

--
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dependencies

2006-03-26 Thread Steven Lake
I'm thinking it was ld or something that I used.  It gave the 
dependency for a given program, then listed either the path to the file or 
said it was not found.  That's mostly what I'm looking at.  I'm trying to 
figure out which dependencies are missing for a given program so I can 
figure out what I need to do to fix it.


At 04:39 PM 3/26/2006 -0500, Chris Hill wrote:

On Sun, 26 Mar 2006, Steven Lake wrote:


   Hmm, definitely useful, but not quite what I'm looking for.


What precisely *are* you looking for? A little detail would go a long way 
here. That is: what is it that won't run? Why do you think it's a 
dependency issue? What have you already tried?


Rereading your original post, it looks like you want to know not only what 
the dependencies are, but also which ones are not installed. Correct? 
Assuming yes, then you could do something like this (using my previous 
firefox example):

$ pkg_info -Rr firefox-1.5.0.1_1,1
Information for firefox-1.5.0.1_1,1:

Depends on:
Dependency: pkgconfig-0.20
Dependency: expat-2.0.0_1
[blah blah]

...then do a pkg_info on each item listed, e.g.
$ pkg_info pkgconfig-0.20
...and so on for each listed dependency. For each one, you will either get 
a rash of information (meaning the package is installed) or pkg_info: 
can't find package 'foobar' installed or in a file! (meaning the package 
is not installed). There is probably a more automated, less tedious way to 
do this, but I'm drawing a blank right now.


Then again, it may be an entirely different issue - it could be a matter 
of packages being confused about what their dependencies really are. You 
may see this when trying to update. This can be fixed using cvsup, pkgdb, 
portsdb and friends. See the many recent threads about updating ports 
and/or packages.



At 01:40 PM 3/26/2006 -0500, Chris Hill wrote:

On Sun, 26 Mar 2006, Steven Lake wrote:

Hi all.  Ok, I'm having a total brain fart today.  I've got a 
few apps that won't run and I need to find out the list of 
dependencies and what they're missing.  But I can't remember for the 
life of me what the command I need is to view that list.  I remember 
using it once where it would list the dependencies and tell either 
where they existed, or if they didn't exist, what the missing file 
was.  Anyone remember that command? Thanks.
I use pkg_info -Rr pkg_name, where pkg_name is the exact name of the 
package. The -Rr options will tell you what the package depends on, and 
what depends on the package. To find the exact package name, I do (for 
example) pkg_info | grep firefox, which returns:

 firefox-1.5.0.1_1,1 Web browser based on the browser portion of Mozilla
...and the I know to do pkg_info -Rr firefox-1.5.0.1_1,1


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


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


Re: dependencies

2006-03-26 Thread Eric Schuele

Chris Hill wrote:

On Sun, 26 Mar 2006, Steven Lake wrote:


   Hmm, definitely useful, but not quite what I'm looking for.


What precisely *are* you looking for? A little detail would go a long 
way here. That is: what is it that won't run? Why do you think it's a 
dependency issue? What have you already tried?


Since we're working on few details  and I happen to have a bat in my 
hand (on my way to practice actually) figured I'd take a swing.


ldd?

shows dependencies, where they are, and if not present.

Could that be it?



Rereading your original post, it looks like you want to know not only 
what the dependencies are, but also which ones are not installed. 
Correct? Assuming yes, then you could do something like this (using my 
previous firefox example):

$ pkg_info -Rr firefox-1.5.0.1_1,1
Information for firefox-1.5.0.1_1,1:

Depends on:
Dependency: pkgconfig-0.20
Dependency: expat-2.0.0_1
[blah blah]

...then do a pkg_info on each item listed, e.g.
$ pkg_info pkgconfig-0.20
...and so on for each listed dependency. For each one, you will either 
get a rash of information (meaning the package is installed) or 
pkg_info: can't find package 'foobar' installed or in a file! (meaning 
the package is not installed). There is probably a more automated, less 
tedious way to do this, but I'm drawing a blank right now.


Then again, it may be an entirely different issue - it could be a matter 
of packages being confused about what their dependencies really are. You 
may see this when trying to update. This can be fixed using cvsup, 
pkgdb, portsdb and friends. See the many recent threads about updating 
ports and/or packages.



At 01:40 PM 3/26/2006 -0500, Chris Hill wrote:

On Sun, 26 Mar 2006, Steven Lake wrote:

Hi all.  Ok, I'm having a total brain fart today.  I've got 
a few apps that won't run and I need to find out the list of 
dependencies and what they're missing.  But I can't remember for the 
life of me what the command I need is to view that list.  I remember 
using it once where it would list the dependencies and tell either 
where they existed, or if they didn't exist, what the missing file 
was.  Anyone remember that command? Thanks.


I use pkg_info -Rr pkg_name, where pkg_name is the exact name of 
the package. The -Rr options will tell you what the package depends 
on, and what depends on the package. To find the exact package name, 
I do (for example) pkg_info | grep firefox, which returns:

 firefox-1.5.0.1_1,1 Web browser based on the browser portion of Mozilla
...and the I know to do pkg_info -Rr firefox-1.5.0.1_1,1


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





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


Re: dependencies

2006-03-26 Thread Eric Schuele

Steven Lake wrote:
I'm thinking it was ld or something that I used.  


yep... ldd.

It gave the 
dependency for a given program, then listed either the path to the file 
or said it was not found.  That's mostly what I'm looking at.  I'm 
trying to figure out which dependencies are missing for a given program 
so I can figure out what I need to do to fix it.


At 04:39 PM 3/26/2006 -0500, Chris Hill wrote:

On Sun, 26 Mar 2006, Steven Lake wrote:


   Hmm, definitely useful, but not quite what I'm looking for.


What precisely *are* you looking for? A little detail would go a long 
way here. That is: what is it that won't run? Why do you think it's a 
dependency issue? What have you already tried?


Rereading your original post, it looks like you want to know not only 
what the dependencies are, but also which ones are not installed. 
Correct? Assuming yes, then you could do something like this (using my 
previous firefox example):

$ pkg_info -Rr firefox-1.5.0.1_1,1
Information for firefox-1.5.0.1_1,1:

Depends on:
Dependency: pkgconfig-0.20
Dependency: expat-2.0.0_1
[blah blah]

...then do a pkg_info on each item listed, e.g.
$ pkg_info pkgconfig-0.20
...and so on for each listed dependency. For each one, you will either 
get a rash of information (meaning the package is installed) or 
pkg_info: can't find package 'foobar' installed or in a file! 
(meaning the package is not installed). There is probably a more 
automated, less tedious way to do this, but I'm drawing a blank right 
now.


Then again, it may be an entirely different issue - it could be a 
matter of packages being confused about what their dependencies really 
are. You may see this when trying to update. This can be fixed using 
cvsup, pkgdb, portsdb and friends. See the many recent threads about 
updating ports and/or packages.



At 01:40 PM 3/26/2006 -0500, Chris Hill wrote:

On Sun, 26 Mar 2006, Steven Lake wrote:

Hi all.  Ok, I'm having a total brain fart today.  I've got 
a few apps that won't run and I need to find out the list of 
dependencies and what they're missing.  But I can't remember for 
the life of me what the command I need is to view that list.  I 
remember using it once where it would list the dependencies and 
tell either where they existed, or if they didn't exist, what the 
missing file was.  Anyone remember that command? Thanks.
I use pkg_info -Rr pkg_name, where pkg_name is the exact name of 
the package. The -Rr options will tell you what the package depends 
on, and what depends on the package. To find the exact package name, 
I do (for example) pkg_info | grep firefox, which returns:
 firefox-1.5.0.1_1,1 Web browser based on the browser portion of 
Mozilla

...and the I know to do pkg_info -Rr firefox-1.5.0.1_1,1


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


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





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


Re: dependencies

2006-03-26 Thread Erik Trulsson
On Sun, Mar 26, 2006 at 04:40:02PM -0500, Steven Lake wrote:
 I'm thinking it was ld or something that I used.  It gave the 
 dependency for a given program, then listed either the path to the file or 
 said it was not found.  That's mostly what I'm looking at.  I'm trying to 
 figure out which dependencies are missing for a given program so I can 
 figure out what I need to do to fix it.

It sounds like what you are thinking of is the ldd(1) command, which lists
which dynamically linked libraries a program is linked against, and gives
the path to the shared library if ldd can find it.

This is something quite different than the dependencies ports/packages can
have between each other.

 
 At 04:39 PM 3/26/2006 -0500, Chris Hill wrote:
 On Sun, 26 Mar 2006, Steven Lake wrote:
 
Hmm, definitely useful, but not quite what I'm looking for.
 
 What precisely *are* you looking for? A little detail would go a long way 
 here. That is: what is it that won't run? Why do you think it's a 
 dependency issue? What have you already tried?
 
 Rereading your original post, it looks like you want to know not only what 
 the dependencies are, but also which ones are not installed. Correct? 
 Assuming yes, then you could do something like this (using my previous 
 firefox example):
 $ pkg_info -Rr firefox-1.5.0.1_1,1
 Information for firefox-1.5.0.1_1,1:
 
 Depends on:
 Dependency: pkgconfig-0.20
 Dependency: expat-2.0.0_1
 [blah blah]
 
 ...then do a pkg_info on each item listed, e.g.
 $ pkg_info pkgconfig-0.20
 ...and so on for each listed dependency. For each one, you will either get 
 a rash of information (meaning the package is installed) or pkg_info: 
 can't find package 'foobar' installed or in a file! (meaning the package 
 is not installed). There is probably a more automated, less tedious way to 
 do this, but I'm drawing a blank right now.
 
 Then again, it may be an entirely different issue - it could be a matter 
 of packages being confused about what their dependencies really are. You 
 may see this when trying to update. This can be fixed using cvsup, pkgdb, 
 portsdb and friends. See the many recent threads about updating ports 
 and/or packages.
 
 At 01:40 PM 3/26/2006 -0500, Chris Hill wrote:
 On Sun, 26 Mar 2006, Steven Lake wrote:
 
 Hi all.  Ok, I'm having a total brain fart today.  I've got a 
 few apps that won't run and I need to find out the list of 
 dependencies and what they're missing.  But I can't remember for the 
 life of me what the command I need is to view that list.  I remember 
 using it once where it would list the dependencies and tell either 
 where they existed, or if they didn't exist, what the missing file 
 was.  Anyone remember that command? Thanks.
 I use pkg_info -Rr pkg_name, where pkg_name is the exact name of the 
 package. The -Rr options will tell you what the package depends on, and 
 what depends on the package. To find the exact package name, I do (for 
 example) pkg_info | grep firefox, which returns:
  firefox-1.5.0.1_1,1 Web browser based on the browser portion of Mozilla
 ...and the I know to do pkg_info -Rr firefox-1.5.0.1_1,1
 
 --
 Chris Hill   [EMAIL PROTECTED]
 ** [ Busy Expunging | ]
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cyrus-IMAP disallowing clear text connections

2006-03-26 Thread Anish Mistry
On Sunday 26 March 2006 16:37, Erik Nørgaard wrote:
 Hi:

 I have a Postfix/Cyrus-IMAP setup, Postfix requires TLS and user
 authentication to relay mail, and cyrus requires TLS and user
 authentication to retrieve mail. Or so I thought:

 I just tested to see that things were in fact encrypted and
 unencrypted connection was refused, works fine for Postfix but
 Cyrus-IMAP accepts unencrypted connections _and_ authentication
 even though I have set the following in imapd.conf

allowplaintext: yes
allowplainwithouttls: no

 How do I force the use of TLS for Cyrus-IMAP?

 Also: Postfix allows hiding authentication mechanisms unless TLS is
 invoked (so in clear text, capabilities just show STARTTLS), while
 Cyrus-IMAP announces everything. Is there anyway to be more strict
 with the cyrus in respect of what it announces?
sasl_minimum_layer: 128

-- 
Anish Mistry
[EMAIL PROTECTED]
AM Productions http://am-productions.biz/


pgp9BzF0M4kcy.pgp
Description: PGP signature


RE: i945g - xorg 6.9.0 - /dev/agpgart missing freebsd 6.0

2006-03-26 Thread Kris Glynn
No one knows anything about ICH7 support? 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kris Glynn
Sent: Tuesday, 21 March 2006 12:09 PM
To: freebsd-questions@freebsd.org
Subject: i945g - xorg 6.9.0 - /dev/agpgart missing freebsd 6.0

Hi

I have a Dell Optiplex gx520 with the Intel 945g chipset using Freebsd
6.0 Release and Xorg 6.9.0
 
I am unable to get the onboard PCI-E Intel graphics working properly in
Xorg. I can not get XVideo working due to missing /dev/agpgart. I have
tried everything.
 
ls -l /dev/agpgart
ls: /dev/agpgart: No such file or directory

I have option agp in my kernel.
If I try a kldload agp.ko it errors with :- interface agp.1 already
present in the KLD 'kernel'!

Here are some other related errors/info from Xorg.log
 
(**) I810(0): Option DRI on
(**) I810(0): Option XVideo on
 
(EE) GARTInit: Unable to open /dev/agpgart (No such file or directory)
 
(WW) I810(0): VideoRAM reduced to 7932 kByte (limited to available
sysmem)
 
(--) I810(0): HW Cursor disabled because it needs agpgart memory.
 
(II) I810(0): 19944 kBytes additional video memory is required to enable
tiling mode for DRI.
(II) I810(0): 9960 kBytes additional video memory is required to enable
DRI.
(II) I810(0): Disabling DRI.
 
(--) I810(0): Xv is disabled because it needs 2D accel and AGPGART.
 
(II) I810(0): direct rendering: Disabled
 
 
scanpci output
-
pci bus 0x cardnum 0x01 function 0x00: vendor 0x8086 device 0x2771
Intel Corporation 945G/P PCI Express Graphics Port
 
pci bus 0x cardnum 0x02 function 0x00: vendor 0x8086 device 0x2772
Intel Corporation 945G Integrated Graphics Controller
 
pci bus 0x cardnum 0x02 function 0x01: vendor 0x8086 device 0x2776
Intel Corporation 945G Integrated Graphics Controller
 
pci bus 0x cardnum 0x1c function 0x00: vendor 0x8086 device 0x27d0
Intel Corporation 82801G (ICH7 Family) PCI Express Port 1
 
pci bus 0x cardnum 0x1c function 0x01: vendor 0x8086 device 0x27d2
Intel Corporation 82801G (ICH7 Family) PCI Express Port 2

Any ideas when Intel 945g is going to be supported properly in the
upcoming releases or indeed how to fix this in the meantime ?
 
Thanks
 
Kris Glynn
http://www.virginblue.com.au/
OAG Best Low Cost Airline Of The Year 

The content of this e-mail, including any attachments is a confidential
communication between Virgin Blue  Pacific Blue (or the sender if this
email is a private communication) and the intended addressee and is for
the sole use of that intended addressee. If you are not the intended
addressee, any use, interference with, disclosure or copying of this
material is unauthorized and prohibited.  If you have received this
e-mail in error please contact the sender immediately and then delete
the message and any attachment(s). There is no warranty that this email
is error, virus or defect free.  This email is also subject to
copyright.  No part of it should be reproduced, adapted or communicated
without the written consent of the copyright owner.  If this is a
private communication it does not represent the views of Virgin Blue
Pacific Blue.  Please be aware that the contents of any emails sent to
or from Virgin Blue  Pacific Blue may be periodically monitored and
reviewed. Virgin Blue  Pacific Blue respects your privacy. Our privacy
policy can be accessed from our website: www.virginblue.com.au
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]
OAG Best Low Cost Airline Of The Year 

The content of this e-mail, including any attachments is a confidential 
communication between Virgin Blue  Pacific Blue (or the sender if this email is 
a private communication) and the intended addressee and is for the sole use of 
that intended addressee. If you are not the intended addressee, any use, 
interference with, disclosure or copying of this material is unauthorized and 
prohibited.  If you have received this e-mail in error please contact the 
sender immediately and then delete the message and any attachment(s). There is 
no warranty that this email is error, virus or defect free.  This email is also 
subject to copyright.  No part of it should be reproduced, adapted or 
communicated without the written consent of the copyright owner.  If this is a 
private communication it does not represent the views of Virgin Blue  Pacific 
Blue.  Please be aware that the contents of any emails sent to or from Virgin 
Blue  Pacific Blue may be periodically monitored and reviewed. Virgin Blue  
Pacific Blue respects your privacy. Our privacy policy can be accessed from our 
website: www.virginblue.com.au

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


Re: Adjusting configuration options during port installation?

2006-03-26 Thread Duane Whitty

Matt Singerman wrote:

Hi all,

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

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

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

Thanks,

Matt
___
  

Hi,

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

Checkout the portupgrade -m switch.

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


Re: Not an easy install

2006-03-26 Thread Benjamin Lutz
On Saturday 25 March 2006 16:26, Kevin Kinsey wrote:
 Installer, yes.  good system for installing programs ... some would
 differ.  Ease of use isn't the only thing that FreeBSD ports offers,
 and I'm not sure that PCBSD has that figured out; obviously, that's
 open for discussion.  Seems to me, and some others, that PCBSD's
 implementation of 3rd party software may get its users in the same
 sort of libc hell that many Linux users find themselves in someplace
 down the road.

I tried PC-BSD a couple of weeks ago. What they seem to do is include all the 
necessary libs with a program, and install each program into a dedicated 
library. So while there is bloat, a library hell there shouldn't be.

Cheers
Benjamin


pgptKaoLS1aOB.pgp
Description: PGP signature


Re: dependencies

2006-03-26 Thread Steven Lake
Yup, that's the one!  Thanks!  :)

 Chris Hill wrote:
  On Sun, 26 Mar 2006, Steven Lake wrote:
  
 Hmm, definitely useful, but not quite what I'm looking for.
  
  What precisely *are* you looking for? A little detail would go a long 
  way here. That is: what is it that won't run? Why do you think it's a 
  dependency issue? What have you already tried?
 
 Since we're working on few details  and I happen to have a bat in my 
 hand (on my way to practice actually) figured I'd take a swing.
 
 ldd?
 
 shows dependencies, where they are, and if not present.
 
 Could that be it?
 
  
  Rereading your original post, it looks like you want to know not only 
  what the dependencies are, but also which ones are not installed. 
  Correct? Assuming yes, then you could do something like this (using my 
  previous firefox example):
  $ pkg_info -Rr firefox-1.5.0.1_1,1
  Information for firefox-1.5.0.1_1,1:
  
  Depends on:
  Dependency: pkgconfig-0.20
  Dependency: expat-2.0.0_1
  [blah blah]
  
  ...then do a pkg_info on each item listed, e.g.
  $ pkg_info pkgconfig-0.20
  ...and so on for each listed dependency. For each one, you will either 
  get a rash of information (meaning the package is installed) or 
  pkg_info: can't find package 'foobar' installed or in a file!
(meaning 
  the package is not installed). There is probably a more automated, less 
  tedious way to do this, but I'm drawing a blank right now.
  
  Then again, it may be an entirely different issue - it could be a
matter 
  of packages being confused about what their dependencies really are.
You 
  may see this when trying to update. This can be fixed using cvsup, 
  pkgdb, portsdb and friends. See the many recent threads about updating 
  ports and/or packages.
  
  At 01:40 PM 3/26/2006 -0500, Chris Hill wrote:
  On Sun, 26 Mar 2006, Steven Lake wrote:
 
  Hi all.  Ok, I'm having a total brain fart today.  I've got 
  a few apps that won't run and I need to find out the list of 
  dependencies and what they're missing.  But I can't remember for the 
  life of me what the command I need is to view that list.  I remember 
  using it once where it would list the dependencies and tell either 
  where they existed, or if they didn't exist, what the missing file 
  was.  Anyone remember that command? Thanks.
 
  I use pkg_info -Rr pkg_name, where pkg_name is the exact name of 
  the package. The -Rr options will tell you what the package depends 
  on, and what depends on the package. To find the exact package name, 
  I do (for example) pkg_info | grep firefox, which returns:
   firefox-1.5.0.1_1,1 Web browser based on the browser portion of
Mozilla
  ...and the I know to do pkg_info -Rr firefox-1.5.0.1_1,1
  
  -- 
  Chris Hill   [EMAIL PROTECTED]
  ** [ Busy Expunging | ]
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  [EMAIL PROTECTED]
  
 
 
 -- 
 Regards,
 Eric
 


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


Re: Adjusting configuration options during port installation?

2006-03-26 Thread Matt Singerman
I am using make.  I will look into the options for using portupgrade
tomorrow, thanks.

On 3/26/06, Duane Whitty [EMAIL PROTECTED] wrote:
 Matt Singerman wrote:
  Hi all,
 
  I am installing an upgrade to the Cyrus email server.  Our existing
  email boxes are in a database format that is no longer used by Cyrus;
  however, there is a configuration option which will instruct the new
  version to use the old database format.  They are
 
  --with-mboxlist-db=berkeley and --with-seen-db=flat
 
  Is there a way to tell the FreeBSD port of Cyrus to use these options?
   I am not extremely familiar with the ports system.
 
  Thanks,
 
  Matt
  ___
 
 Hi,

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

 Checkout the portupgrade -m switch.

 There may also be config and config-recursive targets
 for make.

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


Re: Adjusting configuration options during port installation?

2006-03-26 Thread Peter

--- Duane Whitty [EMAIL PROTECTED] wrote:

 Matt Singerman wrote:
  Hi all,
 
  I am installing an upgrade to the Cyrus email server.  Our existing
  email boxes are in a database format that is no longer used by
 Cyrus;
  however, there is a configuration option which will instruct the
 new
  version to use the old database format.  They are
 
  --with-mboxlist-db=berkeley and --with-seen-db=flat
 
  Is there a way to tell the FreeBSD port of Cyrus to use these
 options?
   I am not extremely familiar with the ports system.
 
  Thanks,
 
  Matt
  ___

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

No.  The initial install options do not depend on what port management
utility
you are using.  However, you do need to prepare for a possible future
upgrade of the port that was installed with non-default compile
options.
If you are using portupgrade then you need to edit pkgtools.conf.  If
you
are using portmanager then you need to edit pkgtools.conf or pm-020.conf.

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


Re: Installong screenshots

2006-03-26 Thread Malcolm Fitzgerald


On 26/03/2006, at 2:16 AM, Michael M. wrote:


But I speak as an not-disinterested bystander.  I'm expecting delivery
of a new machine next week, and I want to try my hand at installing
FreeBSD.  (I have tried once before, but failed due to disk geometry
errors I couldn't figure out how to solve.)  So I've been reading
through some of the documentation on-and-off, and lurking here, just to
get prepared -- and, um, psyched.  :-)



I had a similar problem. I solved it by going to the HDD manufacturer's 
web site, searching for the model number and using the information 
found in the tech sheets. The data was very different to that being 
guessed by the partition tool. Have had no problems since.


You may have more experience than me. I'd previously only installed 
systems that set up the window manager for me. What I discovered was 
that FreeBSD installation is very simple. However, getting a window 
manager set up and configuring the box to do what I wanted (printers, 
networks, USB thumb drives, extra CD drive, apache, PHP, mySQL) is 
confusing and laborious.


It's a catch22 situation. If you know that you need to configure 
HOSTS/CUPS/X/etc then you probably know where to find them. And in my 
case, once it's set up I don't want to remember how to do it. I was 
looking for a how-to guide that would walk me through the process of 
setting up a machine that would be used as a desktop box. I want to use 
it for web site building, so I want to set up apache, mysql and php. 
The documentation is directed at users with some background with 
computers. I wanted documentation that presumed that I'd been raised by 
wolves: I'm not stupid, its just that I have no background knowledge.


Any pointers to BSD documentation written for people raised by wolves 
would be appreciated.


malcolm

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


ports and interactivity

2006-03-26 Thread Ian A. Tegebo
I'm interested in knowing several things:

1 When is a port interactive?
2 Is there an easy way to determine the above?
3 What are all the options for a given port?

After doing some reading, I understand that one can learn about options
in Makefiles, running make show-config, make show-options, or some
other idiosyncratic method that seems to vary from port to port.

In terms of question 1, there seems like there should be a
IS_INTERACTIVE variable set in the Makefile but in the example of
shells/bash-completion, there is no such variable and yet I was 
presented with what I imagine was dialog prompting me to choose
between bash2 and the newer bash3 (default shells/bash).

I have a hidden agenda here.  I would like to be able to present
portupgrade with a list of ports, preprocess all interactive ports
before any actual building occurs, and then let portupgrade do its
thing.  

Now, I could use the BATCH variable to at least process all
ports that aren't interactive but that hardly seems cool when there
could be dependencies that are interactive (which would show up when I
pass -rRn to portupgrade).

I've also taken a cursory look at portmanager and portmaster but neither
seem to fulfill my agenda.  It's not that I want to simply achieve
automation, I want to do all the human work of evaluating options and
making decisions up front (without all the tedious work of poking around in 
Makefiles when there are already nice things like those dialog prompts).

Has anyone gone down this road?  Does it not go anywhere?  Is there a
better way to do this?  

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


Re: Not an easy install

2006-03-26 Thread Kevin Kinsey

Benjamin Lutz wrote:


On Saturday 25 March 2006 16:26, Kevin Kinsey wrote:
 


Installer, yes.  good system for installing programs ... some would
differ.  Ease of use isn't the only thing that FreeBSD ports offers,
and I'm not sure that PCBSD has that figured out; obviously, that's
open for discussion.  Seems to me, and some others, that PCBSD's
implementation of 3rd party software may get its users in the same
sort of libc hell that many Linux users find themselves in someplace
down the road.
   



I tried PC-BSD a couple of weeks ago. What they seem to do is include all the 
necessary libs with a program, and install each program into a dedicated 
library. So while there is bloat, a library hell there shouldn't be.


Cheers
Benjamin
 



I appreciate that comment; do we dare discuss it further?  (And,
it will take a more knowledgeable guru than me to do so, probably).

What happens if there is an API/ABI change of the type that occurs
once in a FBSD full moon ... 'please recompile all ports', or at least,
'all ports dependent on /usr/ports/foo/bar'?

I suppose from an end-user standpoint, it's no worse than taking
your (MSFT) computer to the shop and them flattening it, and
you have to reinstall and restore a backup.  But from my perspective,
(and I've got to admit not giving it a whole lot of thought just yet)
this could be off-putting to users, to say the least, and how will
PCBSD handle this (reinstallation requirement).  In leaving the
traditional FBSD system, what's taking its place for upgrading/
updating, etc.?

If you've got a good case, you might want to take it over to
##freebsd at freenode --- seems PCBSD gets badmouthed a
little over there at times.

And, I'm in danger of going way OT; if we need to continue, we
should probably go chat@ 

KDK

--
If I'm over the hill, why is it I don't recall ever being on top?
-- Jerry Muscha


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


DVD-Slideshow

2006-03-26 Thread Chris Maness
I'm trying to debug dvd-slideshow.  When I try to run a slideshow with 
cross fades.  In the output of the script I get.


cp: 
/usr/home/chris/pics/slideshow/dvd-slideshow_temp_7298/fade_0014.ppm: 
Bad address


Any ideas as to what this means?  I have attached the output for the 
whole run.
---BeginMessage---
Thanks for making those changes and adding the dependencies I'm still 
getting errors when I generate a sideshow with cross fades.



dvd-slideshow -n Landscapes -f Landscapes.txt .
[dvd-slideshow]dvd-slideshow 0.7.2
[dvd-slideshow]Licensed under the GNU GPL
[dvd-slideshow]Copyright 2003-2005 by Scott Dylewski
[dvd-slideshow]
[dvd-slideshow] Output directory not specified.
[dvd-slideshow] Using /usr/home/chris/pics/slideshow
package sox is not installed
package ImageMagick is not installed
package dvdauthor is not installed
package ffmpeg is not installed
[dvd-slideshow] Parsing input .txt file Landscapes.txt
[dvd-slideshow] 
[dvd-slideshow] Found 10 images and 0 audio files.
[dvd-slideshow] Video: NTSC  Audio: AC3
[dvd-slideshow] Debug=0  Autocrop=0 Subtitles=render
[dvd-slideshow] Total video length = 0:0:58.0
[dvd-slideshow] Temporary directory is 
/usr/home/chris/pics/slideshow/dvd-slideshow_temp_7298

[dvd-slideshow] Creating black background
[dvd-slideshow]
[dvd-slideshow] Title 0:0:3.0
[dvd-slideshow] Title1=Landscapes
[dvd-slideshow] Title2=
[dvd-slideshow]
[dvd-slideshow] Fadeout 0:0:1.0
[dvd-slideshow]###
[dvd-slideshow] 1/10 background 0:0:1.0
[dvd-slideshow] Displaying background image black
[dvd-slideshow]
[dvd-slideshow] Fadein 0:0:1.0
[dvd-slideshow]###
[dvd-slideshow] 2/10 ./AAA.jpg 0:0:3.0
[dvd-slideshow]
[dvd-slideshow] Crossfade 0:0:2.0
[dvd-slideshow]
cp: 
/usr/home/chris/pics/slideshow/dvd-slideshow_temp_7298/fade_0006.ppm: No 
such file or directory
cp: 
/usr/home/chris/pics/slideshow/dvd-slideshow_temp_7298/fade_0008.ppm: No 
such file or directory

[dvd-slideshow] 3/10 ./IMG_1064.jpg 0:0:3.0
[dvd-slideshow]
[dvd-slideshow] Crossfade 0:0:2.0
[dvd-slideshow]##cp: 
/usr/home/chris/pics/slideshow/dvd-slideshow_temp_7298/fade_0014.ppm: 
Bad address

##
cp: cp: 
/usr/home/chris/pics/slideshow/dvd-slideshow_temp_7298/fade_0009.ppm: No 
such file or directorycp: 
/usr/home/chris/pics/slideshow/dvd-slideshow_temp_7298/fade_0003.ppm: No 
such file or directory
/usr/home/chris/pics/slideshow/dvd-slideshow_temp_7298/fade_0010.ppm: No 
such file or directory

cp: cp:
/usr/home/chris/pics/slideshow/dvd-slideshow_temp_7298/fade_0008.ppm: No 
such file or 
directory/usr/home/chris/pics/slideshow/dvd-slideshow_temp_7298/fade_0006.ppm: 
No such file or directory


[dvd-slideshow] 4/10 ./IMG_1084.jpg 0:0:3.0
[dvd-slideshow]
[dvd-slideshow] Crossfade 0:0:2.0
[dvd-slideshow]
cp: cp: 
/usr/home/chris/pics/slideshow/dvd-slideshow_temp_7298/fade_0009.ppm: No 
such file or directory
/usr/home/chris/pics/slideshow/dvd-slideshow_temp_7298/fade_0008.ppm: No 
such file or directorycp: cp: 
/usr/home/chris/pics/slideshow/dvd-slideshow_temp_7298/fade_0010.ppm: No 
such file or directory

cp:
cp: 
/usr/home/chris/pics/slideshow/dvd-slideshow_temp_7298/fade_0008.ppm: No 
such file or 
directory/usr/home/chris/pics/slideshow/dvd-slideshow_temp_7298/fade_0010.ppm: 
No such file or 
directory/usr/home/chris/pics/slideshow/dvd-slideshow_temp_7298/fade_0007.ppm: 
No such file or directory



cp: 
/usr/home/chris/pics/slideshow/dvd-slideshow_temp_7298/fade_0009.ppm: No 
such file or directory
cp: cp: 
/usr/home/chris/pics/slideshow/dvd-slideshow_temp_7298/fade_0009.ppm: No 
such file or 
directory/usr/home/chris/pics/slideshow/dvd-slideshow_temp_7298/fade_0005.ppm: 
No such file or directory

cp:
/usr/home/chris/pics/slideshow/dvd-slideshow_temp_7298/fade_0010.ppm: No 
such file or directory
cp: 
/usr/home/chris/pics/slideshow/dvd-slideshow_temp_7298/fade_0009.ppm: No 
such file or directory

[dvd-slideshow] 5/10 ./IMG_1093.jpg 0:0:3.0
[dvd-slideshow]
[dvd-slideshow] Crossfade 0:0:2.0
[dvd-slideshow]##cp: 
/usr/home/chris/pics/slideshow/dvd-slideshow_temp_7298/fade_0011.ppm: 
Bad address

##
[dvd-slideshow] 6/10 ./IMG_1106.jpg 0:0:3.0
cp: cp: cp: cp: cp: 
/usr/home/chris/pics/slideshow/dvd-slideshow_temp_7298/fade_0010.ppm/usr/home/chris/pics/slideshow/dvd-slideshow_temp_7298/fade_0004.ppm/usr/home/chris/pics/slideshow/dvd-slideshow_temp_7298/fade_0008.ppm/usr/home/chris/pics/slideshow/dvd-slideshow_temp_7298/fade_0009.ppm: 
No such file or 
directory/usr/home/chris/pics/slideshow/dvd-slideshow_temp_7298/fade_0002.ppm: 
No such file or directory: : :



running a program on startup

2006-03-26 Thread Logan McNaughton
Hey, ive been looking around on how to run a program when FreeBSD starts,
vncserver

the command I need to be run is:
/usr/X11R6/bin/vncserver -geometry 800x600

im not really sure how to make a .sh script, what would the script need to
be, or would there be an easier way without putting a script in /etc/rc.d?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Adjusting configuration options during port installation?

2006-03-26 Thread Duane Whitty

Peter wrote:

--- Duane Whitty [EMAIL PROTECTED] wrote:

  

Matt Singerman wrote:


Hi all,

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

Cyrus;


however, there is a configuration option which will instruct the
  

new


version to use the old database format.  They are

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

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

options?


 I am not extremely familiar with the ports system.

Thanks,

Matt
___
  
  

Hi,

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

Checkout the portupgrade -m switch.



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

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

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

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


Re: Starting privoxy at startup

2006-03-26 Thread Oliver Iberien
Still not working yet... Yes, thank you, I'll take you up on your offer of a 
configuration file.

Oliver

On Sunday 26 March 2006 03:16, Pete Slagle wrote:
 Oliver Iberien wrote:
  I can start privoxy manually with
  /usr/local/sbin/privoxy /usr/local/etc/privoxy/config
 
  I added this to /etc/rc.conf:
  privoxy_enable=YES
  privoxy_flags=/usr/local/etc/privoxy/config
 
  but that does not seem to do it. I tried putting a link in /etc/rc.d/ to
  the privoxy.sh in /usr/local/etc/rc.d, but that didn't do it, either. How
  do I get it to start?

 When I installed privoxy from ports a shell script was placed in
 /usr/local/etc/rc.d, which does the job.  Mine is mode 555.  I'll e-mail
 you a copy if you want. I wouldn't link from /etc/rc.d -- bad mojo.

 I put the following two variables in /etc/rc.conf, and privoxy finds
 it's configuration files in the directory /usr/local/etc/privoxy/
 without any help. There is more than one configuration file, and they
 are substantially self documenting.

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


package vs ports question

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

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


Re: package vs ports question

2006-03-26 Thread Duane Whitty

Huy Ton That wrote:

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

-Lee
_
  

Hi,

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

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

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


Intel 443MX won't initialize, FreeBSD 6.0

2006-03-26 Thread Jarret Crittendon
During boot, my sound card (Intel 443MX) won't initialize. I always get the
following message:

-
pcm0: Intel 443MX port0xe400-0xe4ff ,0xee80-0xeebf irq 10 at device 0.1 on
pci0
pcm0: [GIANT-LOCKED]
pcm0: unable to initialize the card
device_attach: pcm0 attach returned 6
-

When I tried to load all the drivers, I received the same message. Though
with certain drivers, I received the following:

-
 pcm0: Intel 443MX port0xe400-0xe4ff ,0xee80-0xeebf irq 10 at device
0.1on pci0
pcm0: [GIANT-LOCKED]
pcm0: unable to initialize the card
device_attach: pcm0 attach returned 6
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
-

I've tried the following:

kldload snd_ich
kldload sound
Configuring the kernel with 'device sound' and 'device snd_ich'

...yet nothing seems to work. Can anyone help me with this problem? My
computer is a NEC VersaPro VA80J laptop
with 700mHz Pentium III and 128MB.


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


Firefox 1.5 + Flash 7, _dlsym symbol... again

2006-03-26 Thread Norberto Meijome
Hi there,
firefox-1.5.0.1_1,1  built from source
linux-flashplugin-7.0r63 
flashpluginwrapper-0.20021113_1 

6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Mon Mar 27 11:43:54 EST 2006

(flash v.6 is marked as with security vulerability)

I have followed the steps that had got flash6 working in another
machine. firefox shows the plugin in in about:plugins

When I go to a page with flash, firefox dies with:

/libexec/ld-elf.so.1: /usr/local/lib/pluginwrapper/flash7.so: Undefined
symbol _dlsym

This is with and without the suggested patch. I did:
$cd /usr/src
$fetch http://people.FreeBSD.org/~nork/rtld_dlsym_hack.diff
$patch  rtld_dlsym_hack.diff

$ cd libexec/rtld-elf
$sudo make rtld

$ sudo make install
---

Any suggestions on how to fix this ?

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


Re: running a program on startup

2006-03-26 Thread Martin Hepworth
Logon
but a script into /usr/local/etc/rc.d and copy an existing on to get the
syntax.

--
martin

On 3/27/06, Logan McNaughton [EMAIL PROTECTED] wrote:

 Hey, ive been looking around on how to run a program when FreeBSD starts,
 vncserver

 the command I need to be run is:
 /usr/X11R6/bin/vncserver -geometry 800x600

 im not really sure how to make a .sh script, what would the script need to
 be, or would there be an easier way without putting a script in /etc/rc.d?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]

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


what does this message means

2006-03-26 Thread Imran Imtiaz
I got the following in my daily security check logs. what does it mean?

Mar 26 14:27:17 darkstar sshd[90821]: reverse mapping checking getaddrinfo for 
genesis-27-156-16-del.genesipr.com failed - POSSIBLE BREAKIN ATTEMPT!
Mar 26 14:27:22 darkstar sshd[90823]: reverse mapping checking getaddrinfo for 
genesis-27-156-16-del.genesipr.com failed - POSSIBLE BREAKIN ATTEMPT!
Mar 26 14:27:26 darkstar sshd[90825]: reverse mapping checking getaddrinfo for 
genesis-27-156-16-del.genesipr.com failed - POSSIBLE BREAKIN ATTEMPT!
Mar 26 14:27:30 darkstar sshd[90827]: reverse mapping checking getaddrinfo for 
genesis-27-156-16-del.genesipr.com failed - POSSIBLE BREAKIN ATTEMPT!
Mar 26 14:27:35 darkstar sshd[90836]: reverse mapping checking getaddrinfo for 
genesis-27-156-16-del.genesipr.com failed - POSSIBLE BREAKIN ATTEMPT!

regards,
Imran

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


mysql-server50 lacks supports for innodb ???

2006-03-26 Thread Ian Lord

Hi,

I just installed mysql-server50 port for the ports databases directory...

I compiled it using defaults

make
make install

and InnoDB is not available...

What's wrong with the port ???

Thanks

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


cat /proc/cpuinfo ?

2006-03-26 Thread Bill Schoolcraft
Hello Family,

Yes, yes, I know... I have a bunch of boxes under my desk here at
home and between the Ultra-10, FreeBSD-5.4 and 6.0 and SuSE I get
confused and that's what happened when I tried to type the following
on my FreeBSD box.

cat /proc/cpuinfo

What I did get off my other box, where this command works was:

###

processor   : 0
vendor_id   : AuthenticAMD
cpu family  : 15
model   : 31
model name  : AMD Athlon(tm) 64 Processor 3000+
stepping: 0
cpu MHz : 994.927
cache size  : 512 KB
fpu : yes
fpu_exception   : yes
cpuid level : 1
wp  : yes
flags   : fpu vme de pse tsc msr pae mce (snipped)
bogomips: 1956.97
TLB size: 1024 4K pages
clflush size: 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp

###

(question)

Is there some *BSD port that will give me CPU information like the
above from the command line?

TIA




-- 
Bill Schoolcraft | http://wiliweld.com
 
If your life was full of nothing but
sunshine, you would just be a desert.



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


Re: cat /proc/cpuinfo ?

2006-03-26 Thread Rob W.

Yep, It is located in your sysctl

Try this: ' sysctl -a | less '

That should give you all info about the system including cpu, memory ect..


- Original Message - 
From: Bill Schoolcraft [EMAIL PROTECTED]

To: freebsd-questions@FreeBSD.ORG
Sent: Monday, March 27, 2006 12:47 AM
Subject: cat /proc/cpuinfo ?



Hello Family,

Yes, yes, I know... I have a bunch of boxes under my desk here at
home and between the Ultra-10, FreeBSD-5.4 and 6.0 and SuSE I get
confused and that's what happened when I tried to type the following
on my FreeBSD box.

cat /proc/cpuinfo

What I did get off my other box, where this command works was:

###

processor   : 0
vendor_id   : AuthenticAMD
cpu family  : 15
model   : 31
model name  : AMD Athlon(tm) 64 Processor 3000+
stepping: 0
cpu MHz : 994.927
cache size  : 512 KB
fpu : yes
fpu_exception   : yes
cpuid level : 1
wp  : yes
flags   : fpu vme de pse tsc msr pae mce (snipped)
bogomips: 1956.97
TLB size: 1024 4K pages
clflush size: 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp

###

(question)

Is there some *BSD port that will give me CPU information like the
above from the command line?

TIA




--
Bill Schoolcraft | http://wiliweld.com

If your life was full of nothing but
sunshine, you would just be a desert.



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





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


Re: spamassassin build failure

2006-03-26 Thread Riemer Palstra
On Sun, Mar 26, 2006 at 08:30:04AM -0500, Michael P. Soulier wrote:
 As I think I only went from perl 5.6 to 5.8, I'm surprised that so
 much would be out of date.

That's actually quite a change, as Perl 5.6.2 dates from, I think,
November 2003, while Perl 5.8.8 was released February 2006.

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


Re: cat /proc/cpuinfo ?

2006-03-26 Thread Bill Schoolcraft
At Mon, 27 Mar 2006 it looks like Rob W. composed:

 Yep, It is located in your sysctl
 
 Try this: ' sysctl -a | less '
 
 That should give you all info about the system including cpu, memory ect..
 

Thanks Rob,

Yes, quite of bit of information... :)

 
 
  Hello Family,
  
  Yes, yes, I know... I have a bunch of boxes under my desk here at
  home and between the Ultra-10, FreeBSD-5.4 and 6.0 and SuSE I get
  confused and that's what happened when I tried to type the following
  on my FreeBSD box.
  
  cat /proc/cpuinfo
  
  What I did get off my other box, where this command works was:
  
  ###
  
  processor   : 0
  vendor_id   : AuthenticAMD
  cpu family  : 15
  model   : 31
  model name  : AMD Athlon(tm) 64 Processor 3000+
  stepping: 0
  cpu MHz : 994.927
  cache size  : 512 KB
  fpu : yes
  fpu_exception   : yes
  cpuid level : 1
  wp  : yes
  flags   : fpu vme de pse tsc msr pae mce (snipped)
  bogomips: 1956.97
  TLB size: 1024 4K pages
  clflush size: 64
  cache_alignment : 64
  address sizes   : 40 bits physical, 48 bits virtual
  power management: ts fid vid ttp
  
  ###
  
  (question)
  
  Is there some *BSD port that will give me CPU information like the
  above from the command line?
  
  TIA
  
  
  
  
  -- 
  Bill Schoolcraft | http://wiliweld.com
  
  If your life was full of nothing but
  sunshine, you would just be a desert.
  
  
  
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
  
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

-- 
Bill Schoolcraft | http://wiliweld.com
 
If your life was full of nothing but
sunshine, you would just be a desert.



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


Re: cat /proc/cpuinfo ?

2006-03-26 Thread Norberto Meijome
On Sun, 26 Mar 2006 22:47:11 -0800 (PST)
Bill Schoolcraft [EMAIL PROTECTED] wrote:

 Hello Family,
 
 Yes, yes, I know... I have a bunch of boxes under my desk here at
 home and between the Ultra-10, FreeBSD-5.4 and 6.0 and SuSE I get
 confused and that's what happened when I tried to type the following
 on my FreeBSD box.
 
 cat /proc/cpuinfo


[]

 
 Is there some *BSD port that will give me CPU information like the
 above from the command line?

You want the linux /proc behaviour.

1) make sure you have linux binary compatibility installed 

$ pkg_info | grep linux_base
linux_base-8-8.0_14 Base set of packages needed in Linux mode (for
i386/amd64)

$ grep -i linux /etc/rc.conf 
linux_enable=YES

( without a reboot, this equals to kldload linux)

2) add to /etc/fstab:
linprocfs   /compat/linux/proc   linprocfs   rw   0  0

and then you can get : 


[EMAIL PROTECTED] [Mon Mar 27 17:18:50 2006]
~
$ cat /compat/linux/proc/cpuinfo 
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model   : 7
stepping: 8
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat b19 b21 mmxext mmx fxsr xmm b26 b27 b29 3dnow cpu
MHz : 1995.02 bogomips: 1995.02

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


Re: Mail service principles: can I have the second mailbox

2006-03-26 Thread User Elisej
On Sun, Mar 26, 2006 at 01:54:17PM -0600, Kelly D. Grills wrote:
 On Sun, Mar 26, 2006 at 04:19:21PM +0300, User Elisej wrote:
  
  Can a user have two mailboxes (and two addresses, of course)?
  
 
 Yes.
 
 Perhaps you could provide a bit more information?
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/x114.html
 
 -- 
 Kelly D. Grills
 [EMAIL PROTECTED]

Yes, sir, I will provide any information you need.

I want to have two mailboxes with two addresses (for one account) 
on my computer. These different mailboxes I mean to use for different sources 
of incoming mail. So I need two real mailboxes, not two aliases 
for one mailbox. Then I can give my different address to different senders.

Although, I can make all mail going to one address and then filter incoming
mail, I think it is a wrong way, because of superfluous action.

One mailbox I have since account creation. Its address is account name.
The sendmail sends a mail to this address to /var/mail/account_name.
How to make the second mailbox?

I have installed FreeBSD 6.0 and Sendmail 8.13.5.

Any additional information needed?

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


Upgrade to latest 4.x release from 4.6

2006-03-26 Thread Wee-Sern Soo

Hello,

I'm interested in upgrading an older version of FreeBSD 4.6.x to the 
latest 4.x release.  How does one do so?


Regards,
Wee-Sern

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


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

2006-03-26 Thread Ben Paley

 On Sat, 25 Mar 2006, Saul Mena Avila wrote:
  Hello!. I've been trying to mount my flash memory but it just doesn't
  let me.
  I use (as root):
 
  mount -t msdosfs /dev/ad0 /flash

try 'msdos' instead of 'msdosfs'

 Are you sure that /dev/ad0 is actually your flash device? That doesn't
 look right to me. What is the physical interface to your flash memory?
 That is, is it USB, a PCMCIA card, or what?

My usb flash drives always show up as da devices, not ad. Have a look in /dev 
to see what nodes are actually there, and especially look at tty0 when you 
plug the drive in - you should get an informative console message and perhaps 
find its da1 or da2 even (depending on what other usb devices are attached, I 
think).

Also you may need to mount a slice, like da0s1, as I do. In summary, the 
command which works for me is:

# mount -t msdos /dev/da0s1 /flash

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


Re: mysql-server50 lacks supports for innodb ???

2006-03-26 Thread Glenn Dawson

At 10:22 PM 3/26/2006, Ian Lord wrote:

Hi,

I just installed mysql-server50 port for the ports databases directory...

I compiled it using defaults

make
make install

and InnoDB is not available...

What's wrong with the port ???


I have mysql50-server built and installed with the defaults, and it 
has support for innodb.


What did you do to determine that your install does not have support?

-Glenn



Thanks

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


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


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

2006-03-26 Thread Kalashnikov Ilya

Saul Mena Avila пишет:


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

mount -t msdosfs /dev/ad0 /flash

The feedback is something like device ad0 doesn't allow action
Can anybody help me?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



 


Hello. You device must be /dev/da0s1
# mount -t msdosfs /dev/da0s1 /flash



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