Re: LAN failover redundandcy?

2007-08-02 Thread Ewald Jenisch
On Wed, Aug 01, 2007 at 10:56:53AM -0500, Dan Nelson wrote:
> 6.2 was released back in January.  The lagg driver went into the 6.x
> branch in May.  You'll need to update to 6-stable or wait for 6.3 to be
> released.  If you're tracking RELENG_6_2, you are just getting critical
> security patches.  You would need to track RELENG_6.

Thanks alot for the hint! Went to tracking RELENG_6 and with my next
cvsup I got the lagg-driver :-)

-ewald

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


Re: problem in Manmail Makefile?

2007-08-02 Thread Geo

Yuri,
at the file "test" you can see results - commands:
[/usr/ports/mail/mailman]> make -V WITH_SENDMAIL >> test
[/usr/ports/mail/mailman]> make -V MAIL_GID >> test
[/usr/ports/mail/mailman]> make -V CONFIGURE_ARGS >> test

It's indeed THE SAME:
---
true

mailnull

--prefix=/usr/local/mailman --with-python=/usr/local/bin/python2.5
--with-username=mailman  --with-groupname=mailman
--with-mail-gid=mailnull --with-cgi-gid=www
- 
It's necessary for me - Mailman must work!
I try to install again on new computer - FreeBSD 6.2, Apache and Mailman by 
ports

- and write you results.

"there's really something wrong with args passed to configure by port" or 
there's another cause...???

Have you ideas to overcome problem?

Thanks!



On Thu, 2007-08-02 at 02:49 +0400, Geo wrote:

Mailman  Makefile contains:
 -- 
 .if defined(WITH_SENDMAIL)

 MAIL_GID?=   mailnull
 .endif
  
 But after installation (FreeBSD 6.2, /usr/ports/mail/mailman) when I send

 any message
 to mailman list I receive the error:
 ---
Group mismatch error.  Mailman expected the mailwrapper script to be
 executed as group "mailman", but the system's mail server executed the 
mail
 script as group "mailnull".  Try tweaking the mail server to run the 
script
 as group "mailman", or re-run configure, providing the command line 
option

 `--with-mail-gid=mailnull'.
--

 What (and how!) can I do to set MAIL_GID= mailnull?

 If I understand I'll describe this in detail for users!



Are you sure that you have selected Sendmail in `make config' stage?

Check that you have the same output (and if it's indeed the same, then
there's really something wrong with args passed to configure by port):

[/usr/ports/mail/mailman]> make -V WITH_SENDMAIL
true
[/usr/ports/mail/mailman]> make -V MAIL_GID
mailnull
[/usr/ports/mail/mailman]> make -V CONFIGURE_ARGS
--prefix=/usr/local/mailman --with-python=/usr/local/bin/python2.5
--with-username=mailman  --with-groupname=mailman
--with-mail-gid=mailnull --with-cgi-gid=www


HTH,
Yuri






- Original Message - 
From: "Yuri Pankov" <[EMAIL PROTECTED]>

To: "Geo" <[EMAIL PROTECTED]>
Cc: 
Sent: Thursday, August 02, 2007 3:20 AM
Subject: Re: problem in Manmail Makefile?



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

Re: Compiling xorg 7.2 issue (fwd)

2007-08-02 Thread Roberth Sjonøy

Make: don' know how to make realclean. Stop

Tuc at T-B-O-H.NET skrev:

cd /usr/ports/graphics/dri
make realclean
cd /usr/ports/x11/xorg
make


Forwarded message:
  

From [EMAIL PROTECTED]  Wed Aug  1 21:10:09 2007
X-Authentication-Warning: vjofn.tucs-beachin-obx-house.com: tbohml set sender 
to [EMAIL PROTECTED] using -f
X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on
vjofn.tucs-beachin-obx-house.com
X-Spam-Level: 
X-Spam-Status: No, score=-3.5 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL

autolearn=no version=3.1.8
Delivered-To: freebsd-questions@freebsd.org
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;

h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding;

b=G4cZ+86cW4EoIs77WotojqXm2AAT/fFtF9ybne9HjhfwuUon3A4550QS4dAwKDGvF9sM46LEqf9iWXDLpz852lrjEbK970MNBc8sMjAm4QP4NtxaU7V/V0rVWPUqr4RsMg171BZtaMd6lQR9ouC3XdWDj3MY2qjymdszYalLqr0=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta;

h=received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding;

b=tNRI2WzalbQ8/cXScvtEXZjyAZm7Dss7cRhZKH3GfW63FSSF4SUjvSwsGnjkO/H77CA+ZvgSSyRqGR+aJLzxrgadB9z+IGtsyklIGkMrQ6+d3jV5p2sFicXzOL6I8iznLEdHjcUtFml3VrCrUcJU3RIuuX5akF0Pvs/+Pp6N6yM=
Message-ID: <[EMAIL PROTECTED]>
Date: Thu, 02 Aug 2007 02:43:26 +0200
From: =?ISO-8859-1?Q?Roberth_Sjon=F8y?= <[EMAIL PROTECTED]>
User-Agent: Thunderbird 2.0.0.4 (Windows/20070604)
MIME-Version: 1.0
To: freebsd-questions@freebsd.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Compiling xorg 7.2 issue
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: User questions 
List-Unsubscribe: , 
	

List-Archive: 
List-Post: 
List-Help: 
List-Subscribe: , 
	

Sender: [EMAIL PROTECTED]
Errors-To: [EMAIL PROTECTED]

Hello, I have just installed FreeBSD for the first time, and I prefer to 
just install the kernel and the base system under the installation, now 
I'm compiling xorg, but I got an issue,


===>  Installing for xorg-7.2
===>   xorg-7.2 depends on file: /usr/local/lib/dri/r128_dri.so - not found
===>Verifying install on /usr/local/lib/dri/r128_dri.so in 
/usr/ports/graphics/dri

===>  Building for dri-7.0,2
Please run 'make realclean' before changing configs
gmake: *** Error code 2

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

Stop in /usr/ports/x11/xorg.


How do I solve this? please explain properly im very new to *bsd.

Regards, Roberth.
___
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]"


GnuPG, pinentry, and Qt

2007-08-02 Thread Chad Perrin
So I tried installing GnuPG on a FreeBSD 6.2-RELEASE system.  It doesn't
work without pinentry installed.

Okay, I can handle that.  No big deal.  Apparently GnuPG 2.x requires a
separate utility for password handling now.  No big deal.  I run
portinstall pinentry.

At this point, I notice something very, very odd: pinentry won't install
because of a problem with Qt.

Why the heck would GnuPG ultimately depend on Qt in any way?

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
McCloctnick the Lucid: "The first rule of magic is simple. Don't waste your
time waving your hands and hopping when a rock or a club will do."
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


hi this is test message

2007-08-02 Thread james . dummy

   hi

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


ramdisk on /tmp in jail

2007-08-02 Thread Jorn Argelo
Hi all,

I'm trying to get a ramdisk in a jail on /tmp. Doing this by hand by using the 
mdmfs(8) utility goes fine. However, now I am trying to get a ramdisk on /tmp 
during boot time.

I tried using tmpmfs_enable="YES" (with tmpsize) in the rc.conf of the jail, 
but if I do that nothing appears to happen. Doing the same on the host of the 
server works fine though. 

What would be the recommended way of achieving this? Should I use the fstab on 
the host, or maybe in the jail? Maybe somebody else has a better suggestion?

Thanks a lot in advance.

Cheers,

Jorn

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


Building a dmz with bridgeing?

2007-08-02 Thread z999
Hi
Is it a good idea to build a dmz with bridgeing? I have a soekris
with three ethernets (net4801). The first two are for routing for
the lan. Is it possible at the same time have a bridgeing
between first and third ethernet? That means that I must have an
ip on the incoming public ethernet, bridged to the third
ethernet. Or is that completly stupid?

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


Re: ramdisk on /tmp in jail

2007-08-02 Thread David N
On 02/08/07, David N <[EMAIL PROTECTED]> wrote:
> On 02/08/07, Jorn Argelo <[EMAIL PROTECTED]> wrote:
> > Hi all,
> >
> > I'm trying to get a ramdisk in a jail on /tmp. Doing this by hand by using 
> > the mdmfs(8) utility goes fine. However, now I am trying to get a ramdisk 
> > on /tmp during boot time.
> >
> > I tried using tmpmfs_enable="YES" (with tmpsize) in the rc.conf of the 
> > jail, but if I do that nothing appears to happen. Doing the same on the 
> > host of the server works fine though.
> >
> > What would be the recommended way of achieving this? Should I use the fstab 
> > on the host, or maybe in the jail? Maybe somebody else has a better 
> > suggestion?
> >
> > Thanks a lot in advance.
> >
> > Cheers,
> >
> > Jorn
> >
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> >
>
> Jails have an option for fstab
>
> jail_myjail_fstab="/usr/jails/myjail/etc/fstab"
>
> i think that should work
>
> Cheers
> David N
>
I fogot to mention
jail_myjail_mount_enable="YES"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ramdisk on /tmp in jail

2007-08-02 Thread David N
On 02/08/07, Jorn Argelo <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm trying to get a ramdisk in a jail on /tmp. Doing this by hand by using 
> the mdmfs(8) utility goes fine. However, now I am trying to get a ramdisk on 
> /tmp during boot time.
>
> I tried using tmpmfs_enable="YES" (with tmpsize) in the rc.conf of the jail, 
> but if I do that nothing appears to happen. Doing the same on the host of the 
> server works fine though.
>
> What would be the recommended way of achieving this? Should I use the fstab 
> on the host, or maybe in the jail? Maybe somebody else has a better 
> suggestion?
>
> Thanks a lot in advance.
>
> Cheers,
>
> Jorn
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>

Jails have an option for fstab

jail_myjail_fstab="/usr/jails/myjail/etc/fstab"

i think that should work

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


Re: logging system load

2007-08-02 Thread Zbigniew Szalbot

Hello,

On Thu, 2 Aug 2007 13:44:33 +0300, Nikos Vassiliadis <[EMAIL PROTECTED]>
wrote:
> On Wednesday 25 July 2007 20:50, Momchil Ivanov wrote:
>> На Wednesday 25 July 2007 19:38:41 Zbigniew Szalbot написа:
>> > Dear all,
>> >
>> > Is there a tool similar to top which would measure system load and
>> > write it to a file that could later be analyzed? The time when my
>> > system is most loaded happens between 3 and 5 a.m. so a trace of the
>> > system load would be a wonderful thing to have. I need it to tailor
>> > some of the jobs accordingly. Any advice?
>> >
>> > Thanks in advance!
>>
>> You can make a cronjob doing "uptime >> /path/to/logfile" every minute
> 
> Or perhaps "sysctl -n vm.loadavg" instead of uptime,
> which is the same information, but requires less
> scrubbing.

Thanks but that wouldn't record the time, would it? With uptime it is nice
to have the current time also recorded and I can compare logs to load by
time.


-- 
Zbigniew Szalbot

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


Re: logging system load

2007-08-02 Thread Nikos Vassiliadis
On Wednesday 25 July 2007 20:50, Momchil Ivanov wrote:
> На Wednesday 25 July 2007 19:38:41 Zbigniew Szalbot написа:
> > Dear all,
> >
> > Is there a tool similar to top which would measure system load and
> > write it to a file that could later be analyzed? The time when my
> > system is most loaded happens between 3 and 5 a.m. so a trace of the
> > system load would be a wonderful thing to have. I need it to tailor
> > some of the jobs accordingly. Any advice?
> >
> > Thanks in advance!
>
> You can make a cronjob doing "uptime >> /path/to/logfile" every minute

Or perhaps "sysctl -n vm.loadavg" instead of uptime,
which is the same information, but requires less
scrubbing.

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


Re: GnuPG, pinentry, and Qt

2007-08-02 Thread Chad Perrin
On Thu, Aug 02, 2007 at 02:35:35AM -0600, Chad Perrin wrote:
> So I tried installing GnuPG on a FreeBSD 6.2-RELEASE system.  It doesn't
> work without pinentry installed.
> 
> Okay, I can handle that.  No big deal.  Apparently GnuPG 2.x requires a
> separate utility for password handling now.  No big deal.  I run
> portinstall pinentry.
> 
> At this point, I notice something very, very odd: pinentry won't install
> because of a problem with Qt.
> 
> Why the heck would GnuPG ultimately depend on Qt in any way?

Okay . . . so I should have looked a little harder at the pinentry ports
available before sending this email to the list.  Apparently there are
three different versions.  I'm still curious about a couple of things,
though:

  1. Why is Qt the default for the nonspecific security/pinentry port?
  2. Why start a separate, external application for getting the
  passphrase at all?

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
awj @reddit: "The terms never and always are never always true."
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Nano issue

2007-08-02 Thread Roberth Sjonøy
Hello, Ive just installed my prefered text editor, nano, but when im 
going to run nano, this just appears:


/libexec/ld-elf.so.1: Shared object "libncursesw.so.6" not found , 
required by "nano"


What package do I need or what have I done wrong?

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


getting fair share of CPU for processes

2007-08-02 Thread Zbigniew Szalbot

Hello,

I am looking for advice but maybe this question really belongs to
spamassassin user list. Anyway, by observing load on my FreeBSD machine I
have found that at certain times it gets really high (between 14-17). When
I get such load my machine is quite busy sending thousands of emails. This
in itself is OK because load is rarely over 1 but then I get a few more
incoming emails and spamd, while checking them, bumps up the load to 14 or
more. Such increased load usually does not take longer than 1-2 minutes.
And I have configured exim to ease up on its work when the load gets so
high (first it tempfails incoming messages, then when situation becomes
worse it only queues outgoing ones).

So I am wondering it it is OK for me to limit the spamd user to how much
CPU power it can get? I saw in the Handbook that it is possible to limit
resources per user. Do you think it is a good thing to do? Will I be better
off limiting spamd user or will it make the situation worse because SA
will/may choke? Many thanks for any advice you can give me. I really
appreciate it!

-- 
 Zbigniew Szalbot  

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


Re: Nano issue

2007-08-02 Thread Adam J Richardson

Roberth Sjonøy wrote:
Hello, Ive just installed my prefered text editor, nano, but when im 
going to run nano, this just appears:


/libexec/ld-elf.so.1: Shared object "libncursesw.so.6" not found , 
required by "nano"


What package do I need or what have I done wrong?

Regards, Roberth.


Hi Roberth,

This is what the error means:

The program executer can't find the library "libncursesw.so.6", which 
the binary "nano" needs to be available. If I understand this right, 
that means the shared library for ncursesw built for FreeBSD 6.


I would start looking in the ports tree for "ncurses", "ncursesw" and 
the like. If there's a port named "ncursesw" or "libncursesw", I would 
guess that's your missing library right there.


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


Keystroke to launch a script

2007-08-02 Thread Alain G. Fabry

Hello,

Running FreeBSD Rel 6.2 with KDE3.5.

Question is, when in a Konsole/xterm, is it possible to make a certain keystroke
launch a script?

fe. automate connection to routers/switches, want to be able when receiving the 
login/username
prompt to press an assigned Fx key that launches a script. (Have this option in 
SecureCRT)

I was just wondering if such a key-> script assign is possible in KDE or via 
the environment.

Thanks,

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


Getting up my wireless network

2007-08-02 Thread Roberth Sjonøy
Hello, now Im trying to get my wireless network interface up and go, but 
how?


The chipset si atheros so I guess the device driver is okay, but how do 
I configure which network and the wep key and the static ip adresses i want?


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


Re: GnuPG, pinentry, and Qt

2007-08-02 Thread Karol Kwiatkowski
Chad Perrin wrote:
> On Thu, Aug 02, 2007 at 02:35:35AM -0600, Chad Perrin wrote:
>> So I tried installing GnuPG on a FreeBSD 6.2-RELEASE system.  It doesn't
>> work without pinentry installed.
>>
>> Okay, I can handle that.  No big deal.  Apparently GnuPG 2.x requires a
>> separate utility for password handling now.  No big deal.  I run
>> portinstall pinentry.
>>
>> At this point, I notice something very, very odd: pinentry won't install
>> because of a problem with Qt.
>>
>> Why the heck would GnuPG ultimately depend on Qt in any way?
> 
> Okay . . . so I should have looked a little harder at the pinentry ports
> available before sending this email to the list.  Apparently there are
> three different versions.  I'm still curious about a couple of things,
> though:
> 
>   1. Why is Qt the default for the nonspecific security/pinentry port?
>   2. Why start a separate, external application for getting the
>   passphrase at all?
> 

I'm not sure, but here's output from my system (default config):

$ cd /usr/ports/security/gnupg
$ make pretty-print-run-depends-list pretty-print-build-depends-list
This port requires package(s) "curl-7.16.1_1 dirmngr-0.9.7_2
gettext-0.16.1_3 libgcrypt-1.2.4_1 libgpg-error-1.5 libiconv-1.9.2_2
libksba-1.0.1_1 openldap-
client-2.3.37 pth-2.0.7" to run.
This port requires package(s) "curl-7.16.1_1 gettext-0.16.1_3
gmake-3.81_2 libassuan-1.0.1 libgcrypt-1.2.4_1 libgpg-error-1.5
libiconv-1.9.2_2 libksba-1.0.1_1 openldap-client-2.3.37 pth-2.0.7" to build.

No pinentry dependency, no such port installed, too:

$ pkg_info -IX "gnupg|pinentry"
gnupg-1.4.7_1   The GNU Privacy Guard
gnupg-2.0.4 The GNU Privacy Guard

HTH,

Karol

-- 
Karol Kwiatkowski   
OpenPGP 0x06E09309



signature.asc
Description: OpenPGP digital signature


Re: logging system load

2007-08-02 Thread Nikos Vassiliadis
On Thursday 02 August 2007 13:52, Zbigniew Szalbot wrote:
> Hello,
>
> On Thu, 2 Aug 2007 13:44:33 +0300, Nikos Vassiliadis
> <[EMAIL PROTECTED]>
>
> wrote:
> > On Wednesday 25 July 2007 20:50, Momchil Ivanov wrote:
> >> На Wednesday 25 July 2007 19:38:41 Zbigniew Szalbot написа:
> >> > Dear all,
> >> >
> >> > Is there a tool similar to top which would measure system load and
> >> > write it to a file that could later be analyzed? The time when my
> >> > system is most loaded happens between 3 and 5 a.m. so a trace of
> >> > the system load would be a wonderful thing to have. I need it to
> >> > tailor some of the jobs accordingly. Any advice?
> >> >
> >> > Thanks in advance!
> >>
> >> You can make a cronjob doing "uptime >> /path/to/logfile" every
> >> minute
> >
> > Or perhaps "sysctl -n vm.loadavg" instead of uptime,
> > which is the same information, but requires less
> > scrubbing.
>
> Thanks but that wouldn't record the time, would it? With uptime it is
> nice to have the current time also recorded and I can compare logs to
> load by time.

If I had to implement this for me, I would do it this way:
echo `date "+%Y-%m-%d %H:%M"; sysctl -n vm.loadavg`

But I had in mind easy parsing. If you do eye "parsing"
then uptime is fine too:)

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


Re: hi this is test message

2007-08-02 Thread Bill Moran

Please use [EMAIL PROTECTED] for testing purposes.  That's the
reason it exists, and it avoids spamming 1000s of subscribers.

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


Re: GnuPG, pinentry, and Qt

2007-08-02 Thread Karol Kwiatkowski
Karol Kwiatkowski wrote:
> I'm not sure, but here's output from my system (default config):
> 
> $ cd /usr/ports/security/gnupg
> $ make pretty-print-run-depends-list pretty-print-build-depends-list
> This port requires package(s) "curl-7.16.1_1 dirmngr-0.9.7_2
> gettext-0.16.1_3 libgcrypt-1.2.4_1 libgpg-error-1.5 libiconv-1.9.2_2
> libksba-1.0.1_1 openldap-
> client-2.3.37 pth-2.0.7" to run.
> This port requires package(s) "curl-7.16.1_1 gettext-0.16.1_3
> gmake-3.81_2 libassuan-1.0.1 libgcrypt-1.2.4_1 libgpg-error-1.5
> libiconv-1.9.2_2 libksba-1.0.1_1 openldap-client-2.3.37 pth-2.0.7" to build.
> 
> No pinentry dependency, no such port installed, too:
> 
> $ pkg_info -IX "gnupg|pinentry"
> gnupg-1.4.7_1   The GNU Privacy Guard
> gnupg-2.0.4 The GNU Privacy Guard

Ech, scratch that. I realised I'm actually using gpg, not gpg2.
gpg2 relies on pinentry.

Sorry for the noise!

Karol

-- 
Karol Kwiatkowski   
OpenPGP 0x06E09309



signature.asc
Description: OpenPGP digital signature


Re: logging system load

2007-08-02 Thread Hugo Silva

Nikos Vassiliadis wrote:

On Wednesday 25 July 2007 20:50, Momchil Ivanov wrote:
  

На Wednesday 25 July 2007 19:38:41 Zbigniew Szalbot написа:


Dear all,

Is there a tool similar to top which would measure system load and
write it to a file that could later be analyzed? The time when my
system is most loaded happens between 3 and 5 a.m. so a trace of the
system load would be a wonderful thing to have. I need it to tailor
some of the jobs accordingly. Any advice?

Thanks in advance!
  

You can make a cronjob doing "uptime >> /path/to/logfile" every minute



Or perhaps "sysctl -n vm.loadavg" instead of uptime,
which is the same information, but requires less
scrubbing.

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


See bsdsar in the ports.

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


FreeBSD 6.2. Can I get 128x48 (or similar) console screens?

2007-08-02 Thread Alan Mackenzie
Hi, FreeBSD!

I'm a long time GNU/Linux user, and I'm considering changing over to
FreeBSD.  Why?  To escape the upgrade tread-mill.  Every time a new
Debian release comes out, I say "Oh no, not again!", scarcely looking
forward to the weeks of pain getting it to work properly.  I'm not sure I
prefer the alternative, something like Ubuntu or PCLinux, where you just
shut your eyes, lie back and think of South Africa, not knowing quite
what's getting installed on your PC.  And finding the usable nuggets of
information in the vast swathes of Linux documentation scattered
diffusely over the Internet isn't fun either.

Anyway, back to the point!  I do most of my work in Linux on virtual
console screens, which are set up at 128x48 characters courtesy of the
"framebuffer" thing in the Linux kernel.  Previously, I had used
SVGATextMode, which did much the same.  I just don't much like GUIs,
since they are cluttered up with toolbars, dialog boxes, scrollbars, wine
bars, start bars, crowbars, , and tend to steal key sequences which I
want to belong to applications.

I haven't found any like facility in 6.2, so far: I downloaded the
documentation last night (the CD image 6.2-RELEASE-i386-docs.iso) and had
a general browse through it (the English version).  It's nicely written,
but I didn't find what I was looking for.  Then I grepped through it with

find . -name "*.txt" | xargs grep '[1-9][0-9]*x[1-9][0-9]*'

without finding anything helpful.  80x60 isn't enough!

Is it possible I've missed something relevant?  Or is there some sort of
add-on utility which would give me consoles with (approximately) 128x48?

My hardware is a desktop PC with a 1.2 GHz Athlon and a Matrox G400 AGP
video card.

Thanks in advance for the help!

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


Re: Getting up my wireless network

2007-08-02 Thread Giorgos Keramidas
On 2007-08-02 13:46, Roberth Sjon?y <[EMAIL PROTECTED]> wrote:
> Hello, now Im trying to get my wireless network interface up and go, but 
> how?
>
> The chipset si atheros so I guess the device driver is okay, but how do I 
> configure which network and the wep key and the static ip adresses i want?

Have you checked the FreeBSD Handbook chapter on wireless networking?

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

This may help a bit, but if you still have questions after skimming
through the chapter, please feel free to ask in this list again :)

Regards,
Giorgos

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


Re: FreeBSD 6.2. Can I get 128x48 (or similar) console screens?

2007-08-02 Thread Gabriel Linder
On Thu, 2 Aug 2007 12:20:29 +
Alan Mackenzie <[EMAIL PROTECTED]> wrote:

> Hi, FreeBSD!
> 
> I'm a long time GNU/Linux user, and I'm considering changing over to
> FreeBSD.  Why?  To escape the upgrade tread-mill.  Every time a new
> Debian release comes out, I say "Oh no, not again!", scarcely looking
> forward to the weeks of pain getting it to work properly.  I'm not
> sure I prefer the alternative, something like Ubuntu or PCLinux,
> where you just shut your eyes, lie back and think of South Africa,
> not knowing quite what's getting installed on your PC.  And finding
> the usable nuggets of information in the vast swathes of Linux
> documentation scattered diffusely over the Internet isn't fun either.
> 
> Anyway, back to the point!  I do most of my work in Linux on virtual
> console screens, which are set up at 128x48 characters courtesy of the
> "framebuffer" thing in the Linux kernel.  Previously, I had used
> SVGATextMode, which did much the same.  I just don't much like GUIs,
> since they are cluttered up with toolbars, dialog boxes, scrollbars,
> wine bars, start bars, crowbars, , and tend to steal key
> sequences which I want to belong to applications.
> 
> I haven't found any like facility in 6.2, so far: I downloaded the
> documentation last night (the CD image 6.2-RELEASE-i386-docs.iso) and
> had a general browse through it (the English version).  It's nicely
> written, but I didn't find what I was looking for.  Then I grepped
> through it with
> 
> find . -name "*.txt" | xargs grep '[1-9][0-9]*x[1-9][0-9]*'
> 
> without finding anything helpful.  80x60 isn't enough!
> 
> Is it possible I've missed something relevant?  Or is there some sort
> of add-on utility which would give me consoles with (approximately)
> 128x48?
> 
> My hardware is a desktop PC with a 1.2 GHz Athlon and a Matrox G400
> AGP video card.
> 
> Thanks in advance for the help!
> 


Hi Alan,

That was the first question I asked myself, too :)

Everything about this and many other things such as how to stay up
to date are explained in the handbook, you may want to read it.

For virtual consoles resolution you can check this manual page :
http://www.freebsd.org/cgi/man.cgi?query=vidcontrol
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 6.2. Can I get 128x48 (or similar) console screens?

2007-08-02 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Alan Mackenzie wrote:

> Is it possible I've missed something relevant?  Or is there some sort of
> add-on utility which would give me consoles with (approximately) 128x48?

vidcontrol(1) -- it's part of the base system.

> My hardware is a desktop PC with a 1.2 GHz Athlon and a Matrox G400 AGP
> video card.

Should work fine.  You may need to 'kldload vga' (see vga(4) and
syscons(4)) to get some of the higher res modes, or even build
yourself a customized kernel.

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
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGsd3s8Mjk52CukIwRCCnCAJ9q+X6hj2+cAu8ZVydns7FXJ0hOlQCeKTu9
CV+HXuBQHVMWtIAc/6QTtE0=
=6WpA
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 6.2. Can I get 128x48 (or similar) console screens?

2007-08-02 Thread Nikos Vassiliadis
On Thursday 02 August 2007 15:20, Alan Mackenzie wrote:
> Hi, FreeBSD!
>
> I'm a long time GNU/Linux user, and I'm considering changing over to
> FreeBSD.  Why?  To escape the upgrade tread-mill.  Every time a new
> Debian release comes out, I say "Oh no, not again!", scarcely looking
> forward to the weeks of pain getting it to work properly.  

You may have the very same problems using FreeBSD.

> I'm not sure 
> I prefer the alternative, something like Ubuntu or PCLinux, where you
> just shut your eyes, lie back and think of South Africa, not knowing
> quite what's getting installed on your PC.  

That's not a very nice comment to do. Please, keep your feelings
about continents/countries/Linux distributions out of here.

> And finding the usable 
> nuggets of information in the vast swathes of Linux documentation
> scattered diffusely over the Internet isn't fun either.

That's a problem you won't have with FreeBSD.

>
> Anyway, back to the point!  I do most of my work in Linux on virtual
> console screens, which are set up at 128x48 characters courtesy of the
> "framebuffer" thing in the Linux kernel.  Previously, I had used
> SVGATextMode, which did much the same.  I just don't much like GUIs,
> since they are cluttered up with toolbars, dialog boxes, scrollbars,
> wine bars, start bars, crowbars, , and tend to steal key sequences
> which I want to belong to applications.

There are dozens of window managers you can choose from.
Not all of them have bells and whistles. You could try
ion wm, which is a very minimal window manager.

> I haven't found any like facility in 6.2, so far: I downloaded the
> documentation last night (the CD image 6.2-RELEASE-i386-docs.iso) and
> had a general browse through it (the English version).  It's nicely
> written, but I didn't find what I was looking for.  Then I grepped
> through it with
>
> find . -name "*.txt" | xargs grep '[1-9][0-9]*x[1-9][0-9]*'
>
> without finding anything helpful.  80x60 isn't enough!
>
> Is it possible I've missed something relevant?  Or is there some sort of
> add-on utility which would give me consoles with (approximately) 128x48?

You'll probably have to build the kernel yourself.
Read vidcontrol manual page. It boils down to this:
You have to add VESA support and raster text mode
support to your kernel.

Read this:
http://www.linuxquestions.org/questions/showthread.php?t=366057
Keep in mind that the above guide, recommends upgrading.
You don't have to upgrade, just build your kernel with
what is needed.

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


Re: Nano issue

2007-08-02 Thread [EMAIL PROTECTED]
On 02/08/07, Roberth Sjonøy <[EMAIL PROTECTED]> wrote:
> Hello, Ive just installed my prefered text editor, nano, but when im
> going to run nano, this just appears:
>
> /libexec/ld-elf.so.1: Shared object "libncursesw.so.6" not found ,
> required by "nano"
>
> What package do I need or what have I done wrong?
>

How did you install nano?  And what version of FreeBSD?

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


Re: Nano issue

2007-08-02 Thread r17fbsd

At 07:25 AM 8/2/2007, Roberth Sjonøy wrote:
Hello, Ive just installed my prefered text 
editor, nano, but when im going to run nano, this just appears:
/libexec/ld-elf.so.1: Shared object 
"libncursesw.so.6" not found , required by "nano"


I have nano 2.0.6 installed from packages (not ports) and it works fine on 6.2.

I also have that library with the same date as my last buildworld:

$ ls -l /lib/*curs*
-r--r--r--  1 root  wheel  268108 Jan 14  2007 /lib/libncurses.so.6

I don't really know much about how the libraries 
work, but it appears that one should be on a standard system.


  -RobW

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


Re: logging system load

2007-08-02 Thread Ian Smith
On Thu, 2 Aug 2007 12:52:20 +0200 Zbigniew Szalbot <[EMAIL PROTECTED]> wrote:

 > On Thu, 2 Aug 2007 13:44:33 +0300, Nikos Vassiliadis <[EMAIL PROTECTED]>
 > wrote:
 > > On Wednesday 25 July 2007 20:50, Momchil Ivanov wrote:
 > >> На Wednesday 25 July 2007 19:38:41 Zbigniew Szalbot написа:
 > >> > Dear all,
 > >> >
 > >> > Is there a tool similar to top which would measure system load and
 > >> > write it to a file that could later be analyzed? The time when my
 > >> > system is most loaded happens between 3 and 5 a.m. so a trace of the
 > >> > system load would be a wonderful thing to have. I need it to tailor
 > >> > some of the jobs accordingly. Any advice?
 > >> >
 > >> > Thanks in advance!
 > >>
 > >> You can make a cronjob doing "uptime >> /path/to/logfile" every minute
 > > 
 > > Or perhaps "sysctl -n vm.loadavg" instead of uptime,
 > > which is the same information, but requires less
 > > scrubbing.
 > 
 > Thanks but that wouldn't record the time, would it? With uptime it is nice
 > to have the current time also recorded and I can compare logs to load by
 > time.

paqi% /bin/echo `/bin/date` `/sbin/sysctl -n vm.loadavg`
Fri Aug 3 00:33:13 EST 2007 { 0.04 0.11 0.09 }

Cheers, Ian

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


Re: getting fair share of CPU for processes

2007-08-02 Thread Bill Moran
In response to Zbigniew Szalbot <[EMAIL PROTECTED]>:
> 
> I am looking for advice but maybe this question really belongs to
> spamassassin user list. Anyway, by observing load on my FreeBSD machine I
> have found that at certain times it gets really high (between 14-17). When
> I get such load my machine is quite busy sending thousands of emails. This
> in itself is OK because load is rarely over 1 but then I get a few more
> incoming emails and spamd, while checking them, bumps up the load to 14 or
> more. Such increased load usually does not take longer than 1-2 minutes.
> And I have configured exim to ease up on its work when the load gets so
> high (first it tempfails incoming messages, then when situation becomes
> worse it only queues outgoing ones).
> 
> So I am wondering it it is OK for me to limit the spamd user to how much
> CPU power it can get? I saw in the Handbook that it is possible to limit
> resources per user. Do you think it is a good thing to do? Will I be better
> off limiting spamd user or will it make the situation worse because SA
> will/may choke? Many thanks for any advice you can give me. I really
> appreciate it!

The most typical method of handling this would be nice(1) (see the man
page for details).

But, depending on your setup, improper use of niced spamassassin processes
could make the problem worse.  You have a lot of dependencies within
the mail flow, and issues such as priority inversion could occur in
ways that aren't immediately obvious.

Also, I'm not clear as to what problem you're tyring to solve.  High load
on a busy server certainly isn't a problem, so where is the problem?

If your server is consistently overloaded, then the correct solution is
to either streamline your configuration so it's less resource intensive,
or add hardware.

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


attaching a terminal to 'join' another?

2007-08-02 Thread Jim Stapleton
Sorry if my question is a bit confusing - I'm not even sure the proper
terminology, so I don't know what the best way to start looking is.

I'm rebuilding a system at home, and I'd like to check how the build
is going at a slow time at work sometimes. I can connect to the system
from work (ssh into my main box, and then from there, ssh to the
system I'm working on). I have a terminal opened on that system
(actually, another ssh session fron the main box), and I'd like to
have my new connection attach to that terminal session, if possible,
so that I can just pick up where I left off, and monitor it from here.
Is this possible?

Sessions
main desktop terminal A [ssh]--> workstation terminal A (where builds
are currently being processed)

work desktop terminal [ssh]--> main destop terminal B [ssh]-->
workstation terminal B


I would like to have workstation terminal B intercept workstation
terminal A, or main desktop terminal B intercept main desktop terminal
A. Can it be done? Where do I start looking, what are the words and
phrases of interest? I tried looking at both the bash and xterm
commands/man page, but they are rather long, and I'd miss what I was
looking for without having a clue in advance.

I'm guessing something like /dev/?tty?? might work, but how do I
figure out which tty to use?

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


Re: attaching a terminal to 'join' another?

2007-08-02 Thread Jim Stapleton
On 8/2/07, Jeremy Gransden <[EMAIL PROTECTED]> wrote:
>
>
>
> On 8/2/07, Jim Stapleton <[EMAIL PROTECTED]> wrote:
> > Sorry if my question is a bit confusing - I'm not even sure the proper
> > terminology, so I don't know what the best way to start looking is.
> >
> > I'm rebuilding a system at home, and I'd like to check how the build
> > is going at a slow time at work sometimes. I can connect to the system
> > from work (ssh into my main box, and then from there, ssh to the
> > system I'm working on). I have a terminal opened on that system
> > (actually, another ssh session fron the main box), and I'd like to
> > have my new connection attach to that terminal session, if possible,
> > so that I can just pick up where I left off, and monitor it from here.
> > Is this possible?
>
>
>
> Maybe your looking for screen.
>
> try
> man screen
> for more details.
> thanks,
> jeremy
>

I was actually thinking console for that part of the terminology, but
yeah, that's what I want to attach to, the man page didn't tell me how
though.

This seemed relevant:
 Output to a virtual console that not currently is on the display is saved
 in a buffer that holds a "screenfull" (normally 25) lines.  Any output
 written to /dev/console (the original console device) is echoed to
 /dev/ttyv0.

However, cat'ing and less'ing the device did nothing, except act as if
it were waiting for input, and none was coming.

I however did find out which screen I'm on using ps -A and grep:
[EMAIL PROTECTED] 12:01:15 (0) /ports/java/diablo-jdk15  > ps -A | grep tty
sjss  0.0   0   0:00.33  0.6  0  00 26343 26339
sshd: [EMAIL PROTECTED] (sshd)
sjss  0.0   0   0:09.61  0.5  0  00 43906 43903
sshd: [EMAIL PROTECTED] (sshd)

So, I want to see what is going on with ttyp0
ttyp0

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


Re: what triggers "you have mail"

2007-08-02 Thread David Banning
On Thu, Aug 02, 2007 at 11:05:47AM +1000, Terry Sposato wrote:
> Hi David,
> 
> It is most likely coming to your mailbox setup. You can create an alias for
> it to be delivered appropriately to your maildir.

Do what configuration file is that? The only files I use are ~/.muttrc
and ~/.mailcap
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: attaching a terminal to 'join' another?

2007-08-02 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Jim Stapleton wrote:

> I would like to have workstation terminal B intercept workstation
> terminal A, or main desktop terminal B intercept main desktop terminal
> A. Can it be done? Where do I start looking, what are the words and
> phrases of interest? I tried looking at both the bash and xterm
> commands/man page, but they are rather long, and I'd miss what I was
> looking for without having a clue in advance.

The program you need is screen(1).  http://www.gnu.org/software/screen/
It's in ports: sysutils/screen

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
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGsgEY8Mjk52CukIwRCPC3AJ4j8dD8AH2KfD+KYwY0amdU8InERwCdFjqF
svhyQaStQO+hZS8VIiGVTQM=
=C30W
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: attaching a terminal to 'join' another?

2007-08-02 Thread Chad Perrin
On Thu, Aug 02, 2007 at 11:19:21AM -0400, Jim Stapleton wrote:
> Sorry if my question is a bit confusing - I'm not even sure the proper
> terminology, so I don't know what the best way to start looking is.
> 
> I'm rebuilding a system at home, and I'd like to check how the build
> is going at a slow time at work sometimes. I can connect to the system
> from work (ssh into my main box, and then from there, ssh to the
> system I'm working on). I have a terminal opened on that system
> (actually, another ssh session fron the main box), and I'd like to
> have my new connection attach to that terminal session, if possible,
> so that I can just pick up where I left off, and monitor it from here.
> Is this possible?

Step 1:  Go back in time to before you started the build.

Step 2:  Install a utility called "screen" on that machine.

Step 3:  Start a screen session, and start your build from within that.

Step 4:  Detach from that screen session by typing ^A then pressing D.

Step 5:  Reattach to that screen session at any time with `screen -r`.

Sorry about the "go back in time" part.  I guess you'll know for next 
time.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
W. Somerset Maugham: "The ability to quote is a serviceable substitute for
wit."
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: attaching a terminal to 'join' another?

2007-08-02 Thread Dan Nelson
In the last episode (Aug 02), Jim Stapleton said:
> Sorry if my question is a bit confusing - I'm not even sure the
> proper terminology, so I don't know what the best way to start
> looking is.
> 
> I'm rebuilding a system at home, and I'd like to check how the build
> is going at a slow time at work sometimes. I can connect to the
> system from work (ssh into my main box, and then from there, ssh to
> the system I'm working on). I have a terminal opened on that system
> (actually, another ssh session fron the main box), and I'd like to
> have my new connection attach to that terminal session, if possible,
> so that I can just pick up where I left off, and monitor it from
> here. Is this possible?

The best solution is to install the sysutils/screen port and run your
build process in a window under that.  Then you can attach to that
screen session from any number of other logins (at the same time even). 
As a side-effect, screen will protect you from accidental terminal
disconnections (if you close your xterm or ssh disconnects on you,
screen will detach the session and it will run headless until you
reattach to it).

The next-best is to use the /usr/sbin/watch command to attach to an
existing tty and see its screen output.  You'll need to rebuild your
kenel and add the "snp" device (or load it as a module).
 
> Sessions
> main desktop terminal A [ssh]--> workstation terminal A (where builds
> are currently being processed)
> 
> work desktop terminal [ssh]--> main destop terminal B [ssh]-->
> workstation terminal B
> 
> 
> I would like to have workstation terminal B intercept workstation
> terminal A, or main desktop terminal B intercept main desktop
> terminal A. Can it be done? Where do I start looking, what are the
> words and phrases of interest? I tried looking at both the bash and
> xterm commands/man page, but they are rather long, and I'd miss what
> I was looking for without having a clue in advance.
> 
> I'm guessing something like /dev/?tty?? might work, but how do I
> figure out which tty to use?

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


Re: attaching a terminal to 'join' another?

2007-08-02 Thread Jeremy Gransden
On 8/2/07, Jim Stapleton <[EMAIL PROTECTED]> wrote:
>
> On 8/2/07, Jeremy Gransden <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > On 8/2/07, Jim Stapleton <[EMAIL PROTECTED]> wrote:
> > > Sorry if my question is a bit confusing - I'm not even sure the proper
> > > terminology, so I don't know what the best way to start looking is.
> > >
> > > I'm rebuilding a system at home, and I'd like to check how the build
> > > is going at a slow time at work sometimes. I can connect to the system
> > > from work (ssh into my main box, and then from there, ssh to the
> > > system I'm working on). I have a terminal opened on that system
> > > (actually, another ssh session fron the main box), and I'd like to
> > > have my new connection attach to that terminal session, if possible,
> > > so that I can just pick up where I left off, and monitor it from here.
> > > Is this possible?
> >
> >
> >
> > Maybe your looking for screen.
> >
> > try
> > man screen
> > for more details.
> > thanks,
> > jeremy
> >
>
> I was actually thinking console for that part of the terminology, but
> yeah, that's what I want to attach to, the man page didn't tell me how
> though.
>
> This seemed relevant:
> Output to a virtual console that not currently is on the display is
> saved
> in a buffer that holds a "screenfull" (normally 25) lines.  Any output
> written to /dev/console (the original console device) is echoed to
> /dev/ttyv0.
>
> However, cat'ing and less'ing the device did nothing, except act as if
> it were waiting for input, and none was coming.
>
> I however did find out which screen I'm on using ps -A and grep:
> [EMAIL PROTECTED] 12:01:15 (0) /ports/java/diablo-jdk15  > ps -A | grep tty
> sjss  0.0   0   0:00.33  0.6  0  00 26343 26339
> sshd: [EMAIL PROTECTED] (sshd)
> sjss  0.0   0   0:09.61  0.5  0  00 43906 43903
> sshd: [EMAIL PROTECTED] (sshd)
>
> So, I want to see what is going on with ttyp0
> ttyp0
>
> Thanks,
> -Jim Stapleton
>


I guess i was a little vauge. sorry.

What you will need to do is run the program screen, (sysutils/screen), on
the macine that you will want to monitor, BEFORE you start your processes.
the man page should be able to tell you how to attach/detach from the screen
session. I use this all the time in much the same manner as you are trying.

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


Re: attaching a terminal to 'join' another?

2007-08-02 Thread Jim Stapleton
On 8/2/07, Jeremy Gransden <[EMAIL PROTECTED]> wrote:
>
>
>
> On 8/2/07, Jim Stapleton <[EMAIL PROTECTED]> wrote:
> > On 8/2/07, Jeremy Gransden <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > >
> > > On 8/2/07, Jim Stapleton <[EMAIL PROTECTED]> wrote:
> > > > Sorry if my question is a bit confusing - I'm not even sure the proper
> > > > terminology, so I don't know what the best way to start looking is.
> > > >
> > > > I'm rebuilding a system at home, and I'd like to check how the build
> > > > is going at a slow time at work sometimes. I can connect to the system
> > > > from work (ssh into my main box, and then from there, ssh to the
> > > > system I'm working on). I have a terminal opened on that system
> > > > (actually, another ssh session fron the main box), and I'd like to
> > > > have my new connection attach to that terminal session, if possible,
> > > > so that I can just pick up where I left off, and monitor it from here.
> > > > Is this possible?
> > >
> > >
> > >
> > > Maybe your looking for screen.
> > >
> > > try
> > > man screen
> > > for more details.
> > > thanks,
> > > jeremy
> > >
> >
> > I was actually thinking console for that part of the terminology, but
> > yeah, that's what I want to attach to, the man page didn't tell me how
> > though.
> >
> > This seemed relevant:
> > Output to a virtual console that not currently is on the display is
> saved
> > in a buffer that holds a "screenfull" (normally 25) lines.  Any output
> > written to /dev/console (the original console device) is echoed to
> > /dev/ttyv0.
> >
> > However, cat'ing and less'ing the device did nothing, except act as if
> > it were waiting for input, and none was coming.
> >
> > I however did find out which screen I'm on using ps -A and grep:
> > [EMAIL PROTECTED] 12:01:15 (0) /ports/java/diablo-jdk15  > ps -A | grep tty
> > sjss  0.0   0   0:00.33  0.6  0  00 26343 26339
> > sshd: [EMAIL PROTECTED] (sshd)
> > sjss  0.0   0   0:09.61  0.5  0  00 43906 43903
> > sshd: [EMAIL PROTECTED] (sshd)
> >
> > So, I want to see what is going on with ttyp0
> > ttyp0
> >
> > Thanks,
> > -Jim Stapleton
> >
>
>
>
> I guess i was a little vauge. sorry.
>
> What you will need to do is run the program screen, (sysutils/screen), on
> the macine that you will want to monitor, BEFORE you start your processes.
> the man page should be able to tell you how to attach/detach from the screen
> session. I use this all the time in much the same manner as you are trying.
>
> thanks,
> jeremy
>
>


OK, I didn't get that about the port. Thanks. I'll install that next.

Thanks for the assist everyone.

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


Re: getting fair share of CPU for processes

2007-08-02 Thread Zbigniew Szalbot

Hi Bill and all,

>> So I am wondering it it is OK for me to limit the spamd user to how much
>> CPU power it can get? I saw in the Handbook that it is possible to limit
>> resources per user. Do you think it is a good thing to do? Will I be
> better
>> off limiting spamd user or will it make the situation worse because SA
>> will/may choke? Many thanks for any advice you can give me. I really
>> appreciate it!
> 
> The most typical method of handling this would be nice(1) (see the man
> page for details).

Thanks - I will do some reading.

> Also, I'm not clear as to what problem you're tyring to solve.  High load
> on a busy server certainly isn't a problem, so where is the problem?

The problem that sometimes, though for a very short period of time, the
load goes above 14.
I should have asked this first. Is this OK? I was probably unnecessarily
concerned that the load gets too high. Of course, were it to happen for a
prolonged time, I would take steps to improving hardware but as the load
peaks are periodic and fairly short I thought I would make it easier for
the machine to live :) Judging from your answer I can see I shouldn't worry
all that much.

Warm regards,

-- 
Zbigniew Szalbot

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


Re: Nano issue

2007-08-02 Thread RW
On Thu, 02 Aug 2007 10:15:35 -0400
[EMAIL PROTECTED] wrote:

> At 07:25 AM 8/2/2007, Roberth Sjonøy wrote:
> >Hello, Ive just installed my prefered text 
> >editor, nano, but when im going to run nano, this just appears:
> >/libexec/ld-elf.so.1: Shared object 
> >"libncursesw.so.6" not found , required by "nano"
> 
> I have nano 2.0.6 installed from packages (not ports) and it works
> fine on 6.2.
> 
> I also have that library with the same date as my last buildworld:
> 
> $ ls -l /lib/*curs*
> -r--r--r--  1 root  wheel  268108 Jan 14  2007 /lib/libncurses.so.6
>
but do you have libncursesw.so.6 - note the 'w'

The most likely scenario is that he's trying to use a 6-stable package
on 6.2. This something that people tend to get away with, but is not
actually supported.

Either build the port or install the correct package.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: attaching a terminal to 'join' another?

2007-08-02 Thread Jeremy Gransden
On 8/2/07, Jim Stapleton <[EMAIL PROTECTED]> wrote:
>
> Sorry if my question is a bit confusing - I'm not even sure the proper
> terminology, so I don't know what the best way to start looking is.
>
> I'm rebuilding a system at home, and I'd like to check how the build
> is going at a slow time at work sometimes. I can connect to the system
> from work (ssh into my main box, and then from there, ssh to the
> system I'm working on). I have a terminal opened on that system
> (actually, another ssh session fron the main box), and I'd like to
> have my new connection attach to that terminal session, if possible,
> so that I can just pick up where I left off, and monitor it from here.
> Is this possible?



Maybe your looking for screen.

try
man screen

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


Re: what triggers "you have mail" (OFFLIST)

2007-08-02 Thread David Banning
>   Hrm, when you print out your environment variables, what
> is MAIL or mail ? Do either of those variables exist, and if so
> what are they set to? And if set, does a file exist at that
> location?

I don't know how to print out environment variables, but 
echo $MAIL

and 

echo $mail 

both are empty.

I should have mentioned this to begin with, but the actual message
I am getting is;

"you have mail in /usr/david"

which points to my home directory, which maybe is the result
when $MAIL is empty. However, I don't see what specific file
in /usr/david that would be triggering the message.  I do notice
that I am getting incoming mail in /usr/david/tmp which each 
carry the mutt-??? tag.  Note;

$ cd /usr/david/tmp
$ ls -tl

total 640
-rw---  1 david  wheel2430 Aug  2 11:59 mutt-3s1-90mKAzA6-9
-rw---  1 david  wheel 811 Aug  2 11:59 mutt-3s1-FNIv9bVN-00011
-rw---  1 david  wheel 570 Aug  2 11:59 mutt-3s1-aZ5J9HO3-00010
-rw---  1 david  wheel   20426 Aug  2 11:59 mutt-3s1-lrTCGdNH-2
-rw---  1 david  wheel6642 Aug  2 11:26 mutt-3s1-3W5nolSR-00031
-rw---  1 david  wheel6441 Aug  2 11:26 mutt-3s1-K3kNAS2C-00029
-rw---  1 david  wheel2463 Aug  1 19:17 mutt-3s1-YVeXwBSz-00015
-rw---  1 david  wheel   27678 Aug  1 19:16 mutt-3s1-3EfX7G7s-8
... and so on

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


Firewall rules / Proper directory

2007-08-02 Thread Tuc at T-B-O-H.NET
Hi,

I'm developing firewall rules for a machine, and I'm wondering
what the standard is for putting my version of an ipfw "firewall_script"?

I'd normally drop it onto /usr/local/etc somewhere, but my /u/l/e
is an NFS filesystem, and according to rcorder it starts ipfw WAY before 
the nfsclient. I don't want to stomp on /etc/rc.firewall, I like having
it as a reference and one less thing to have to worry about mergemaster
overwriting.

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


Re: getting fair share of CPU for processes

2007-08-02 Thread Garrett Cooper

Zbigniew Szalbot wrote:

Hi Bill and all,

  

So I am wondering it it is OK for me to limit the spamd user to how much
CPU power it can get? I saw in the Handbook that it is possible to limit
resources per user. Do you think it is a good thing to do? Will I be
  

better


off limiting spamd user or will it make the situation worse because SA
will/may choke? Many thanks for any advice you can give me. I really
appreciate it!
  

The most typical method of handling this would be nice(1) (see the man
page for details).



Thanks - I will do some reading.

  

Also, I'm not clear as to what problem you're tyring to solve.  High load
on a busy server certainly isn't a problem, so where is the problem?



The problem that sometimes, though for a very short period of time, the
load goes above 14.
I should have asked this first. Is this OK? I was probably unnecessarily
concerned that the load gets too high. Of course, were it to happen for a
prolonged time, I would take steps to improving hardware but as the load
peaks are periodic and fairly short I thought I would make it easier for
the machine to live :) Judging from your answer I can see I shouldn't worry
all that much.

Warm regards,

  

   Please read man 5 login.conf .
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Firewall rules / Proper directory

2007-08-02 Thread RW
On Thu, 2 Aug 2007 12:36:51 -0400 (EDT)
"Tuc at T-B-O-H.NET" <[EMAIL PROTECTED]> wrote:

> Hi,
> 
>   I'm developing firewall rules for a machine, and I'm wondering
> what the standard is for putting my version of an ipfw
> "firewall_script"?
> 
>   I'd normally drop it onto /usr/local/etc somewhere, but
> my /u/l/e is an NFS filesystem, and according to rcorder it starts
> ipfw WAY before the nfsclient. I don't want to stomp
> on /etc/rc.firewall, I like having it as a reference and one less
> thing to have to worry about mergemaster overwriting.

cp /etc/rc.firewall /etc/my.firewall

add to rc.conf:

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


Re: what triggers "you have mail"

2007-08-02 Thread Pollywog
On Thursday 02 August 2007 15:43:36 David Banning wrote:
> On Thu, Aug 02, 2007 at 11:05:47AM +1000, Terry Sposato wrote:
> > Hi David,
> >
> > It is most likely coming to your mailbox setup. You can create an alias
> > for it to be delivered appropriately to your maildir.
>
> Do what configuration file is that? The only files I use are ~/.muttrc
> and ~/.mailcap

You can create the alias in /etc/aliases
After you have done it, you run "newaliases" as root.

If you are running Postfix, you can modify the aliases file specified in your 
main.cf and then run "postalias" on the file.

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


Re: getting fair share of CPU for processes

2007-08-02 Thread Bill Moran
In response to Zbigniew Szalbot <[EMAIL PROTECTED]>:
> 
> Hi Bill and all,
> 
> >> So I am wondering it it is OK for me to limit the spamd user to how much
> >> CPU power it can get? I saw in the Handbook that it is possible to limit
> >> resources per user. Do you think it is a good thing to do? Will I be
> > better
> >> off limiting spamd user or will it make the situation worse because SA
> >> will/may choke? Many thanks for any advice you can give me. I really
> >> appreciate it!
> > 
> > The most typical method of handling this would be nice(1) (see the man
> > page for details).
> 
> Thanks - I will do some reading.
> 
> > Also, I'm not clear as to what problem you're tyring to solve.  High load
> > on a busy server certainly isn't a problem, so where is the problem?
> 
> The problem that sometimes, though for a very short period of time, the
> load goes above 14.

That's only a problem if services are suffering as a result.  If the box
has a lot of work to do, the load is going to go up.  If it can still
get the work done in an acceptable amount of time, and if you have enough
cooling to keep the CPUs from overheating, there's probably not a problem.

> I should have asked this first. Is this OK? I was probably unnecessarily
> concerned that the load gets too high. Of course, were it to happen for a
> prolonged time, I would take steps to improving hardware but as the load
> peaks are periodic and fairly short I thought I would make it easier for
> the machine to live :) Judging from your answer I can see I shouldn't worry
> all that much.

I wouldn't.  Sounds like your mail service hits sporadic periods of high
activity, which isn't unusual.  The ability to handle spike loads can be
complicated to plan for, but with email you're probably better off not
worrying about it.  Some emails might take a little longer to get through
(couple of seconds instead of nearly instantly) but I doubt that's an
issue.

An area where high spike loads may be a concern is (for example) and e-
commerce web site.  If you've suddenly got a really popular product, the
last thing you want is for your online shopping cart system to get slow
right when people are the most eager to buy ...

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


Re: getting fair share of CPU for processes

2007-08-02 Thread Peter Boosten
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Zbigniew Szalbot wrote:
> Hi Bill and all,
> 
>>> So I am wondering it it is OK for me to limit the spamd user to how much
>>> CPU power it can get? I saw in the Handbook that it is possible to limit
>>> resources per user. Do you think it is a good thing to do? Will I be
>> better
>>> off limiting spamd user or will it make the situation worse because SA
>>> will/may choke? Many thanks for any advice you can give me. I really
>>> appreciate it!
>> The most typical method of handling this would be nice(1) (see the man
>> page for details).
> 
> Thanks - I will do some reading.
> 
>> Also, I'm not clear as to what problem you're tyring to solve.  High load
>> on a busy server certainly isn't a problem, so where is the problem?
> 
> The problem that sometimes, though for a very short period of time, the
> load goes above 14.

The load is roughly a combination of resources programs are waiting for,
and that doesn't necessarily have to be CPU cycles, but something else
could be your bottleneck, like disk IO.

I suggest finding the real problem. You could throttle sendmail (or any
MTA) a bit by lowering the point where it starts temp-failing email
(with an 450), but that's just a workaround.

Peter
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGshfVrvsez6l/SvARAhFqAJ955u+eRhRs5Mu4yHXLg4oemX/sUQCfYqCG
lul2O+hkyEyohYSwXDrZjxY=
=WNLx
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Nano issue

2007-08-02 Thread Reid Linnemann

Written by RW on 08/02/07 11:27>>

On Thu, 02 Aug 2007 10:15:35 -0400
[EMAIL PROTECTED] wrote:


At 07:25 AM 8/2/2007, Roberth Sjonøy wrote:
Hello, Ive just installed my prefered text 
editor, nano, but when im going to run nano, this just appears:
/libexec/ld-elf.so.1: Shared object 
"libncursesw.so.6" not found , required by "nano"

I have nano 2.0.6 installed from packages (not ports) and it works
fine on 6.2.

I also have that library with the same date as my last buildworld:

$ ls -l /lib/*curs*
-r--r--r--  1 root  wheel  268108 Jan 14  2007 /lib/libncurses.so.6


but do you have libncursesw.so.6 - note the 'w'

The most likely scenario is that he's trying to use a 6-stable package
on 6.2. This something that people tend to get away with, but is not
actually supported.

Either build the port or install the correct package.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


I'm tracking 6-STABLE, and I only have /lib/libncurses.so.6. 
libcursesw.so.6 is listed as part of the compat6x port, perhaps Roberth 
has installed a 7-CURRENT package built with compat6x?

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


Imagemagick issue

2007-08-02 Thread Roberth Sjonoy
Hello, I'm trying to install imagemagick from ports, but this appears:

==>  ImageMagick-6.3.3.5_1 WMF support requires
WITH_IMAGEMAGICK_MODULES.
***Error code 1

Stop in /usr/ports/graphics/ImageMagick.

How do I solve this?

Regards, Roberth.

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


cpio -dump ... (was: Installing from USB Flash Drive)

2007-08-02 Thread Matthias Apitz
El día Wednesday, August 01, 2007 a las 03:21:12PM -0600, Ross Penner escribió:

> On 8/1/07, Reid Linnemann < [EMAIL PROTECTED]> wrote:
> >
> > Written by Ross Penner on 08/01/07 13:34>>
> > > Hi everybody,
> > >
> > > I'm trying to install a system on a machine that doesn't have an optical
> > > drive. I plan on using a USB flash drive to do the job and found a
> > > messages from [EMAIL PROTECTED]
> > > (http://www.mail-archive.com/[EMAIL PROTECTED]/msg55434.html )
...

Hello,

The above mentioned web page and script shows a usage of cpio(1)
which I have never seen before:

cpio -dump ${tmpdir}/img

I was curious, looked into the man page of cpio(1) and even in the
online manual at http://www.gnu.org/software/cpio/manual/cpio.html
but did not saw anything about the option '-dump'; can someone
bring a light to me? Thx

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC PICA GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclcpica.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
OCLC PICA GmbH, Geschaeftsfuehrer: Christine Magin-Weeger, Norbert Weinberger
Sitz der Gesellschaft: Oberhaching, HRB Muenchen: 113261
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Firewall question

2007-08-02 Thread z999
On Thu, Aug 02, 2007 at 10:04:20AM -0400, [EMAIL PROTECTED] wrote:
> It might not be as challenging as rolling your own... but have you 
> considered using one of the ready-to-install BSD firewall/router 
> packages like m0n0wall ?  http://m0n0.ch/wall/

I have thinked about it. I have tried monowall just with firewall
router and it's a good choice. The down-thing is that you can't
setup the dhcp as freely as I wan to do (e.g. setup the dhcpd for
pxeboot for diskless for example). And there is not so much to do
to secure the firewall further than the monowall group already
have done.  

> I don't know if it supports the 3rd interface, but it does run on 
> Soekris hardware.

Well, it does. And there is a good description for a dmz also. 

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


Re: Firewall rules / Proper directory

2007-08-02 Thread Giorgos Keramidas
On 2007-08-02 12:36, "Tuc at T-B-O-H.NET" <[EMAIL PROTECTED]> wrote:
> Hi,
> I'm developing firewall rules for a machine, and I'm wondering what
> the standard is for putting my version of an ipfw "firewall_script"?

I usually save my rules in '/etc/pf.conf' or '/etc/ipfw.rules'.

It's not like the '/etc' directory is a "please do not touch" area.

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


Re: Imagemagick issue

2007-08-02 Thread Warren Block

On Thu, 2 Aug 2007, Roberth Sjonoy wrote:


Hello, I'm trying to install imagemagick from ports, but this appears:

==>  ImageMagick-6.3.3.5_1 WMF support requires
WITH_IMAGEMAGICK_MODULES.
***Error code 1

Stop in /usr/ports/graphics/ImageMagick.

How do I solve this?


Run 'make config' again and turn on IMAGEMAGICK_MODULES or turn off 
IMAGEMAGICK_WMF.


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


CRT value Absurd

2007-08-02 Thread Subhro
Hello Folks,

Recently I got a HP nc6400 notebook for myself and decided to install
FreeBSD on this. My system boots up fine but I am repeatedly getting
Errors from ACPI. I am repeatedly getting

acpi_tz0: _CRT value is absurd, ignored (256C)

How can I solve this problem?

Thanks
Subhro

-- 
Subhro Kar
Software Engineer
Dynamic Digital Technologies Pvt. Ltd.
EPY-3, Sector: V
Salt Lake City
700091
India
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cpio -dump ...

2007-08-02 Thread Reid Linnemann

Written by Matthias Apitz on 08/02/07 12:58>>

El día Wednesday, August 01, 2007 a las 03:21:12PM -0600, Ross Penner escribió:


On 8/1/07, Reid Linnemann < [EMAIL PROTECTED]> wrote:

Written by Ross Penner on 08/01/07 13:34>>

Hi everybody,

I'm trying to install a system on a machine that doesn't have an optical
drive. I plan on using a USB flash drive to do the job and found a
messages from [EMAIL PROTECTED]
(http://www.mail-archive.com/[EMAIL PROTECTED]/msg55434.html )

...

Hello,

The above mentioned web page and script shows a usage of cpio(1)
which I have never seen before:

cpio -dump ${tmpdir}/img

I was curious, looked into the man page of cpio(1) and even in the
online manual at http://www.gnu.org/software/cpio/manual/cpio.html
but did not saw anything about the option '-dump'; can someone
bring a light to me? Thx

matthias


I think that should be read as a mnemonic combination of the -d -u -m 
and -p options (from 'info cpio'):


`-d, --make-directories'
 Create leading directories where needed.

`-u, --unconditional'
 Replace all files, without asking whether to replace existing
 newer files with older files.

`-m, --preserve-modification-time'
 Retain previous file modification times when creating files.

`-p, --pass-through'
 Run in copy-pass mode.  *Note Copy-pass mode::.

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


Pentium D 940 dual core. i386 or amd64 ?

2007-08-02 Thread Mario Lobo
Hi guys;

I just bought one and I was wondering if it works HTT/SMP on my FreeBSD 
6.2-STABLE desktop.

Would anyone recommend changing my currently installed i386 (days of waiting 
for xorg 7.2 and ports update) arch to amd64?

if so, is it possible to make this change of arch on the machine itself or 
will I have to reinstall?

Thanks in advance,
-- 
**
   //| //| Mario Lobo
  // |// | http://www.ipad.com.br
 //  //  |||  FreeBSD since 2.2.8 - 100% Rwindows-free
**


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


Re: Firewall rules / Proper directory

2007-08-02 Thread Tuc at T-B-O-H.NET
> 
> On 2007-08-02 12:36, "Tuc at T-B-O-H.NET" <[EMAIL PROTECTED]> wrote:
> > Hi,
> > I'm developing firewall rules for a machine, and I'm wondering what
> > the standard is for putting my version of an ipfw "firewall_script"?
> 
> I usually save my rules in '/etc/pf.conf' or '/etc/ipfw.rules'.
> 
> It's not like the '/etc' directory is a "please do not touch" area.
> 
Thanks...

I always DO try to keep things out of /etc if at all possible, I
regard that as "system space", and if I do "trespass" into it its usually
a file or directory previously allocated for that (/etc/rc.conf, /etc/mail/*).

I've made a "/etc/rc.firewall.local" I may rename it in the future
to stand out more, but we'll see how it goes for now.

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


Re: CRT value Absurd

2007-08-02 Thread Jonathan Horne
On Thursday 02 August 2007 13:13:46 Subhro wrote:
> Hello Folks,
>
> Recently I got a HP nc6400 notebook for myself and decided to install
> FreeBSD on this. My system boots up fine but I am repeatedly getting
> Errors from ACPI. I am repeatedly getting
>
> acpi_tz0: _CRT value is absurd, ignored (256C)
>
> How can I solve this problem?
>
> Thanks
> Subhro

subhru,

how is the rest of the install working?  we have a lot of 6400s here at my 
office, and when i tried to install the xorg7.2 ports, i couldnt get xorg to 
start, and i was wondering how it was going for you.
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
[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: Pentium D 940 dual core. i386 or amd64 ?

2007-08-02 Thread Jonathan Horne
On Thursday 02 August 2007 13:03:10 Mario Lobo wrote:
> Hi guys;
>
> I just bought one and I was wondering if it works HTT/SMP on my FreeBSD
> 6.2-STABLE desktop.
>
> Would anyone recommend changing my currently installed i386 (days of
> waiting for xorg 7.2 and ports update) arch to amd64?
>
> if so, is it possible to make this change of arch on the machine itself or
> will I have to reinstall?
>
> Thanks in advance,

it should work just fine, and more than likely it will set up the SMP for you 
during install.  as far as the k386 or amd64 debate, a friend of mine has an 
amd64 compatible AMD processor, but is running it with i386 install of 
freebsd.  the computer is still screamingly fast.  if you have 4GB of ram or 
more, i believe the amd64 option might look a bit more attractive.

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


Mount an external hard drive

2007-08-02 Thread Roberth Sjonoy
Hello, I have an external serial ata hard drive, I connect to my
computer through the usb, but I can't figure out what device in /dev
which is teh hard driver, how do I figure that out?

Regards, Roberth.

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


Re: Mount an external hard drive

2007-08-02 Thread Peter Boosten
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Roberth Sjonoy wrote:
> Hello, I have an external serial ata hard drive, I connect to my
> computer through the usb, but I can't figure out what device in /dev
> which is teh hard driver, how do I figure that out?
> 

What's in your dmesg output when you plug in the device?

Peter

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGsitvrvsez6l/SvARAk4oAJ40HJ4dCMC0yQEIPO3UEuxK7l2emACffljD
OGmuGSHLMoB4OaV5rOxxZKg=
=112S
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: CRT value Absurd

2007-08-02 Thread Subhro
Hello Jonathan,

This particular notebooks is shipped with a Intel 945 GM chipset which
is known to have an incompaitbility with Xorg 7.2. However along with

915-resolution

present in the ports, things work perfectly.

Thanks
Subhro

On 8/3/07, Jonathan Horne <[EMAIL PROTECTED]> wrote:
> On Thursday 02 August 2007 13:13:46 Subhro wrote:
> > Hello Folks,
> >
> > Recently I got a HP nc6400 notebook for myself and decided to install
> > FreeBSD on this. My system boots up fine but I am repeatedly getting
> > Errors from ACPI. I am repeatedly getting
> >
> > acpi_tz0: _CRT value is absurd, ignored (256C)
> >
> > How can I solve this problem?
> >
> > Thanks
> > Subhro
>
> subhru,
>
> how is the rest of the install working?  we have a lot of 6400s here at my
> office, and when i tried to install the xorg7.2 ports, i couldnt get xorg to
> start, and i was wondering how it was going for you.
> --
> Jonathan Horne
> http://dfwlpiki.dfwlp.org
> [EMAIL PROTECTED]
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>


-- 
Subhro Kar
Software Engineer
Dynamic Digital Technologies Pvt. Ltd.
EPY-3, Sector: V
Salt Lake City
700091
India
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Forcing a port to install?

2007-08-02 Thread Chris Maness

If a port has been black listed by portaudit, how do you install it anyway?

--
Chris Maness
(909) 223-9179
http://www.chrismaness.com

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


Re: Forcing a port to install?

2007-08-02 Thread Josh Carroll
On 8/2/07, Chris Maness <[EMAIL PROTECTED]> wrote:
> If a port has been black listed by portaudit, how do you install it anyway?

>From the ports(7) man page:

 DISABLE_VULNERABILITIES
   If defined, disable check for security vulnerabilities
   using portaudit(1) (ports/security/portaudit) when
   installing new ports.

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


FreeBSD Wireless

2007-08-02 Thread Thiago Pollachini
Hello ALL,

i was studying the ifconfig manual and i did not find any argument or
explanation about "block relay".

Can anyone help?

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


Re: Nano issue

2007-08-02 Thread RW
On Thu, 02 Aug 2007 13:11:04 -0500
Reid Linnemann <[EMAIL PROTECTED]> wrote:

> Written by RW on 08/02/07 11:27>>
> > On Thu, 02 Aug 2007 10:15:35 -0400
> > [EMAIL PROTECTED] wrote:
> > 
> >> At 07:25 AM 8/2/2007, Roberth Sjonøy wrote:
> >>> Hello, Ive just installed my prefered text 
> >>> editor, nano, but when im going to run nano, this just appears:
> >>> /libexec/ld-elf.so.1: Shared object 
> >>> "libncursesw.so.6" not found , required by "nano"
> >> I have nano 2.0.6 installed from packages (not ports) and it works
> >> fine on 6.2.
> >>
> >> I also have that library with the same date as my last buildworld:
> >>
> >> $ ls -l /lib/*curs*
> >> -r--r--r--  1 root  wheel  268108 Jan 14  2007 /lib/libncurses.so.6
> >>
> > but do you have libncursesw.so.6 - note the 'w'
> > 
> > The most likely scenario is that he's trying to use a 6-stable
> > package on 6.2. This something that people tend to get away with,
> > but is not actually supported.
> > 
> > Either build the port or install the correct package.
> >
> I'm tracking 6-STABLE, and I only have /lib/libncurses.so.6. 
> libcursesw.so.6 is listed as part of the compat6x port, perhaps
> Roberth has installed a 7-CURRENT package built with compat6x?

I'm guessing your 6-STABLE wasn't synced all that recently. There's a
test in the nano makefile that make it use the wide (multi-byte
character) version of curses (ie libncursesw) if the 6-stable or
7-current version is sufficiently recent. The fact that an up-to-date
compat6x has libncursesw.so.6 tends to confirm this.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: CRT value Absurd

2007-08-02 Thread John Nielsen
On Thursday 02 August 2007 02:13:46 pm Subhro wrote:
> Hello Folks,
>
> Recently I got a HP nc6400 notebook for myself and decided to install
> FreeBSD on this. My system boots up fine but I am repeatedly getting
> Errors from ACPI. I am repeatedly getting
>
> acpi_tz0: _CRT value is absurd, ignored (256C)
>
> How can I solve this problem?

One of my desktops started doing this after a -STABLE update a few weeks ago. 

I worked around it by setting

hw.acpi.thermal.polling_rate=0

in /etc/sysctl.conf. For a one-time change obviously you can just run

# sysctl hw.acpi.thermal.polling_rate=0


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


Re: Forcing a port to install?

2007-08-02 Thread Panos P.
On Thu, Aug 02, 2007 at 12:35:52PM -0700, Chris Maness wrote:
> If a port has been black listed by portaudit, how do you install it anyway?

try adding DISABLE_VULNERABILITIES=yes to /etc/make.conf
(do not forget to unset it afterwards though ;)

-- 
Panos Paganis <[EMAIL PROTECTED]>


pgpe9PwByvNTq.pgp
Description: PGP signature


Re: Forcing a port to install?

2007-08-02 Thread Chris Maness

Panos P. wrote:

On Thu, Aug 02, 2007 at 12:35:52PM -0700, Chris Maness wrote:
  

If a port has been black listed by portaudit, how do you install it anyway?



try adding DISABLE_VULNERABILITIES=yes to /etc/make.conf
(do not forget to unset it afterwards though ;)

  

Why do I get:
pkg_add: can't stat package file 'wordpress'

when I I try to use package add?  I guess the packages seem to need to 
be listed under /usr/ports/packages/ per an environment variable, but 
that directory is empty.  pkg_add used to work without the -r flag to 
build a port from source.  What happened?


--
Chris Maness
(909) 223-9179
http://www.chrismaness.com

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


Re: SATA 300 Drive Being Run At 150

2007-08-02 Thread Tim Daneliuk

Eduardo Meyer wrote:

4) Is your motherboard set to use AHCI for the SATA (ICH7) controller?
There's reports that SATA300 is only available/used on some controllers
when AHCI is used.

I dont know. I could not find such a similar option on BIOS, so I dont
know how to check it. Is it possible to be checked from system?


Just to let everyone know, for me this "AHCI" thing made the whole
difference. On BIOS there were some options to be combined with AHCI,
and doing the right combination made the disk get controlled as
SATA300.

Thank you veryone, specially Jeremy Chadwick for the valuable inputs.




I cannot seem to find any relevant option for this on my Intel
946GZIS Mobo - and I just installed the very latest driver.
During boot, I get this:

atapci1:  port 
0x20c8-0x20cf,0x20ec-0x20ef,0x20c0-0x20c7,0x20e8-0x20eb,0x20a0-0x20af mem 
0x90204000-0x902043ff irq 19 at device 31.2 on pci0


Then I see this:

ad4: 238475MB  at ata2-master SATA150


However, I see this after the system comes up:

$ atacontrol cap ad4

Protocol  Serial ATA II
device model  WDC WD2500JS-00NCB1
serial number WD-WCANKD870194
firmware revision 10.02E02
cylinders 16383
heads 16
sectors/track 63
lba supported 268435455 sectors
lba48 supported   488397168 sectors
dma supported
overlap not supported

Feature  Support  EnableValue   Vendor
write cacheyes  yes
read ahead yes  yes
Native Command Queuing (NCQ)   yes   -  31/0x1F
Tagged Command Queuing (TCQ)   no   no  31/0x1F
SMART  yes  yes
microcode download yes  yes
security   yes  no
power management   yes  yes
advanced power management  no   no  0/0x00
automatic acoustic management  yes  no  254/0xFE128/0x80


So  does the fact that "Protocol Serial ATA II" is reported mean the
drive is actually running as SATA 300 regardless of what was reported
during boot?

And, yes, I have tried the speed limiting jumper on the back of the
drive both on- and off- with no difference...
--

Tim Daneliuk [EMAIL PROTECTED]
PGP Key: http://www.tundraware.com/PGP/

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


portupgrade 'upgrades' ports that are not installed

2007-08-02 Thread User Nocturnal
Hi

First of all i just went through the UPDATING instructions to upgrade my xorg 
to 7.2. It did not go very well because i can't finish the upgrade process. 
When i try to pkg_delete xorg-manpages it says they're required by the xorg-6.9 
port. 

Now as far as i can see everything i'm running is in /usr/local and X -version 
says 7.2 everywhere. But there are still some 6.9 ports left and i can't tell 
the difference between which ones i can delete and which ones i'm supposed to 
keep. 

 # pkg_info | grep xorg
 xorg-6.9.0  X.Org distribution metaport
 xorg-apps-7.2   X.org apps meta-port
 xorg-cf-files-1.0.2_2 X.org cf files for use with imake builds
 xorg-clients-6.9.0_2 X client programs and related files from X.Org
 xorg-docs-1.3,1 X.org documentation files
 xorg-documents-6.9.0 Documentation of X11 protocol and libraries from X.Org
 xorg-drivers-7.2X.org drivers meta-port
 xorg-fonts-100dpi-6.9.0_1 X.Org 100dpi bitmap fonts
 xorg-fonts-7.2  X.org fonts meta-port
 xorg-fonts-75dpi-6.9.0_1 X.Org 75dpi bitmap fonts
 xorg-fonts-cyrillic-6.9.0_1 X.Org Cyrillic bitmap fonts
 xorg-fonts-miscbitmaps-6.9.0_1 X.Org miscellaneous bitmap fonts
 xorg-fonts-truetype-6.9.0 X.Org TrueType fonts
 xorg-fonts-type1-6.9.0 X.Org Type1 fonts
 xorg-fontserver-6.9.0_1 X font server from X.Org
 xorg-libraries-7.2_2 X.org libraries meta-port
 xorg-manpages-6.9.0 X.Org library manual pages
 xorg-nestserver-6.9.0 Nesting X server from X.Org
 xorg-printserver-6.9.0 X Print server from X.Org
 xorg-protos-7.2 X.org protos meta-port
 xorg-server-1.2.0_2,1 X.Org X server and related programs
 xorg-server-6.9.0_1 X.Org X server and related programs
 xorg-vfbserver-6.9.0 X virtual framebuffer server from X.Org

This is what it looks like after the upgrade. 

Also i'm not sure where to go for help with portupgrade but here seems like a 
good place to start. 

Now after i've run portupgrade -aP for the first time i tried to run it again 
just to see what it missed because i can't say the process progressed without 
errors, there were tons of them. Though this time i starts with a port i don't 
even have installed, gutenprint-base. 

It does not exist in /var/db/pkg, pkg_info doesn't find it and i can't make 
deinstall in the ports metadir because it's not installed. Yet portupgrade 
insists on 'upgrading' it by installing it for me. I'm thinking maybe it's a 
dependency of some newly upgraded port but i don't know how to make portupgrade 
show me that information. 
---


Med vänliga hälsningar 

Stefan Midjich (nocturnal)
~ http://swehack.se
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Waiting for BIND security announcement

2007-08-02 Thread Jeffrey Goldberg

On Aug 1, 2007, at 3:47 PM, Doug Barton wrote:


I can't speak for the security team, but I'm pretty sure that this
change is forthcoming.


As someone has already noted in this thread, the wait is over.


When it comes to BIND stuff in particular, I always update the ports
first, so anyone with a mission critical DNS operation can get fixes
ASAP. There is even an option in the port to overwrite the base BIND
if you so desire.


Ah-ha.  That makes a big difference.  OK.  If I'm going to expose my
name server to the big bad world while tracking RELENG_N_M ("release
with patches") I'll use bind from ports.


In addition to security issues, the ports give you a greater degree of
flexibility in how BIND is configured. If you're going to be offering
a public name server (and by that I hope you mean authoritative, not
recursive) on 6-stable you're probably better off using 9.4.x anyway,
with the threading option disabled.


Yes, I do mean a (low volume) authoritative name server for a small  
handful of low traffic vanity domains.  My intention is to set it up  
as a master which will transfer zone information to a professional  
DNS hosting service (dnspark.net whom I'm very happy with).


Currently I have to modify my zone information through DNSPark's web  
interface (which is very good and seems to allow everything except  
"generate" rules).  But since I'm masochistic, I figure that I should  
inflict problems on myself like remembering to update the serial  
numbers myself.  (Big shouting reminder comments at both ends of the  
zone files seem to do the trick)


Also, while I'm extremely happy with dnspark.net, having one instance  
of the authoritative zone data fully under my control makes me feel  
better.


-j


--
Jeffrey Goldberghttp://www.goldmark.org/jeff/

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


how sys_select, sys_fork, ... are defined for thread libraries?

2007-08-02 Thread Jin Guojun
I am trying to understand how these __sys_xxx functions are defined for 
thread libraries.
Following string search tells that all thread libraries are using these 
__sys_xxx functions,
for example, __sys_select(). However, the search also shows that these 
functions are not defined anywhere in the entire source tree.


/usr/src: findstring sys_select "*.[hcS]"
total files= 21687 : pattern= sys_select rootdir= /usr/src
regular mode: Thu Aug 2 13:31:40 PDT 2007
./lib/libc_r/uthread/uthread_fork.c
91:  * __sys_select:

./lib/libpthread/thread/thr_private.h
1264:int __sys_select(int, fd_set *, fd_set *, fd_set *, struct 
timeval *);


./lib/libpthread/thread/thr_select.c
61: ret = __sys_select(numfds, readfds, writefds, exceptfds, 
timeout);


./lib/libthr/thread/thr_private.h
805:int __sys_select(int, fd_set *, fd_set *, fd_set *, struct 
timeval *);


./lib/libthr/thread/thr_syscalls.c
435:ret = __sys_select(numfds, readfds, writefds, exceptfds, timeout);


By searching the usr/lib objects, I found them in libc, but they are not 
in libc source tree.
Can someone shed some light on how these system calls are built into 
libc and what is the

different between standard syscall APIs and these __sys_syscall APIs,
e.g., __sys_read() vs. read(), etc.

Thanks,

-Jin


nm /usr/lib/libc.a | grep __sys_
0008 T __sys_sigreturn
0008 T __sys_setlogin
0008 T __sys_reboot
... snapped
0008 T __sys_kse_release
0008 T __sys_kse_thr_interrupt
0008 T __sys_kse_create
0008 T __sys_kse_wakeup
... skipped
0008 T __sys_getdtablesize
0008 T __sys_select
0008 T __sys_ioctl
0008 T __sys_close
0008 T __sys_write
0008 T __sys_read
0008 T __sys___syscall

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


Re: Forcing a port to install?

2007-08-02 Thread RW
On Thu, 02 Aug 2007 13:27:05 -0700
Chris Maness <[EMAIL PROTECTED]> wrote:

> Panos P. wrote:
> > On Thu, Aug 02, 2007 at 12:35:52PM -0700, Chris Maness wrote:
> >   
> >> If a port has been black listed by portaudit, how do you install
> >> it anyway? 
> >
> > try adding DISABLE_VULNERABILITIES=yes to /etc/make.conf
> > (do not forget to unset it afterwards though ;)
> >
> >   
> Why do I get:
> pkg_add: can't stat package file 'wordpress'
> 
> when I I try to use package add?  I guess the packages seem to need
> to be listed under /usr/ports/packages/ per an environment variable,
> but that directory is empty.  pkg_add used to work without the -r
> flag to build a port from source.  What happened?

I don't recall it working like that - if you don't specify -r it take
the argument as a filename. I think you are probably confusing it with
"portupgrade -P"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: attaching a terminal to 'join' another?

2007-08-02 Thread Tim Judd
Forgot to CC the questions ML.


--- Tim Judd <[EMAIL PROTECTED]> wrote:

> From Tim Judd Thu Aug  2 15:01:18 2007
> Received: from [68.35.175.118] by web62407.mail.re1.yahoo.com via
> HTTP; Thu, 02 Aug 2007 15:01:18 PDT
> Date: Thu, 2 Aug 2007 15:01:18 -0700 (PDT)
> From: Tim Judd <[EMAIL PROTECTED]>
> Subject: Re: attaching a terminal to 'join' another?
> To: [EMAIL PROTECTED]
> MIME-Version: 1.0
> Content-Type: text/plain; charset=iso-8859-1
> Content-Transfer-Encoding: 8bit
> Content-Length: 2291
> 
> I'm on the digest list, so I copy/paste the message to quote:
> 
> -QUOTE:
> Message: 16
> Date: Thu, 2 Aug 2007 11:19:21 -0400
> From: "Jim Stapleton" <[EMAIL PROTECTED]>
> Subject: attaching a terminal to 'join' another?
> To: freebsd-questions@freebsd.org
> Message-ID:
>   <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> Sorry if my question is a bit confusing - I'm not even sure the
> proper
> terminology, so I don't know what the best way to start looking is.
> 
> I'm rebuilding a system at home, and I'd like to check how the build
> is going at a slow time at work sometimes. I can connect to the
> system
> from work (ssh into my main box, and then from there, ssh to the
> system I'm working on). I have a terminal opened on that system
> (actually, another ssh session fron the main box), and I'd like to
> have my new connection attach to that terminal session, if possible,
> so that I can just pick up where I left off, and monitor it from
> here.
> Is this possible?
> 
> Sessions
> main desktop terminal A [ssh]--> workstation terminal A (where builds
> are currently being processed)
> 
> work desktop terminal [ssh]--> main destop terminal B [ssh]-->
> workstation terminal B
> 
> 
> I would like to have workstation terminal B intercept workstation
> terminal A, or main desktop terminal B intercept main desktop
> terminal
> A. Can it be done? Where do I start looking, what are the words and
> phrases of interest? I tried looking at both the bash and xterm
> commands/man page, but they are rather long, and I'd miss what I was
> looking for without having a clue in advance.
> 
> I'm guessing something like /dev/?tty?? might work, but how do I
> figure out which tty to use?
> 
> Thank you,
> -Jim Stapleton
> --/QUOTE
> 
> Can't the OP, Jim, use watch(8) with the -W option to interact w/ the
> terminal?
> 
> Nothing wrong with screen, but a built-in utility exists.
> 
> HTH
> 
> If opportunity doesn't knock, build a door.
> "I can" is a way of life.
> More and Bigger is not always Better.
> The road to success is always uphill.
> 
> 
>
>

> Got a little couch potato? 
> Check out fun summer activities for kids.
>
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz
> 
> 


If opportunity doesn't knock, build a door.
"I can" is a way of life.
More and Bigger is not always Better.
The road to success is always uphill.


   

Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
http://travel.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: portupgrade 'upgrades' ports that are not installed

2007-08-02 Thread RW
On Thu, 2 Aug 2007 22:43:37 +0200
User Nocturnal <[EMAIL PROTECTED]> wrote:

> Hi
> 
> First of all i just went through the UPDATING instructions to upgrade
> my xorg to 7.2. It did not go very well because i can't finish the
> upgrade process. When i try to pkg_delete xorg-manpages it says
> they're required by the xorg-6.9 port. 

When UPDATING tells you to delete something use pkg_delete -f

>
> Also i'm not sure where to go for help with portupgrade but here
> seems like a good place to start. 
> 
> Now after i've run portupgrade -aP for the first time i tried to run
> it again just to see what it missed because i can't say the process
> progressed without errors, there were tons of them. Though this time
> i starts with a port i don't even have installed, gutenprint-base. 
> 
> It does not exist in /var/db/pkg, pkg_info doesn't find it and i
> can't make deinstall in the ports metadir because it's not installed.
> Yet portupgrade insists on 'upgrading' it by installing it for me.
> I'm thinking maybe it's a dependency of some newly upgraded port but
> i don't know how to make portupgrade show me that information. ---


This is what happens when you use  portupgrade -P, you lose control
over dependencies, although you might actually need gutenprint, I
rarely print anything these days so I'm a bit out of touch.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Waiting for BIND security announcement

2007-08-02 Thread Doug Barton
Jeffrey Goldberg wrote:

> Yes, I do mean a (low volume) authoritative name server for a small
> handful of low traffic vanity domains.  My intention is to set it up as
> a master which will transfer zone information to a professional DNS
> hosting service (dnspark.net whom I'm very happy with).

That's a great way to learn more about how DNS works, good luck!

Doug

-- 

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


freebsd-update

2007-08-02 Thread heraux
mails me this result after update which is slighty confusing
___
Looking up update.FreeBSD.org mirrors... 1 mirrors found.
Fetching metadata signature from update1.FreeBSD.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

The following files will be updated as part of updating to 6.2-RELEASE-p7:
/boot/kernel/kernel
/usr/bin/dig
/usr/bin/host
/usr/bin/nslookup
/usr/bin/nsupdate
/usr/sbin/dnssec-signzone
/usr/sbin/lwresd
/usr/sbin/named
/usr/sbin/named-checkconf
/usr/sbin/named-checkzone
/usr/sbin/tcpdump

WARNING: FreeBSD 6.2-RELEASE is approaching its End-of-Life date.
It is strongly recommended that you upgrade to a newer release within the next 
5 months.

This is last remark correct?

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


uaudio0:

2007-08-02 Thread Philip M. Gollucci

Hi,

I've had an external Sound Blaster Extigy since the days of about 4.x 
and I've never been able to make it work with FreeBSD yet.  Is it 
possible yet?


Currently, I've gotten the closest yet using snd_uaudio.

See below for some system information.

TIA

=

DELL PE600SC

uname -a:
---
FreeBSD home.p6m7g8.net 7.0-CURRENT FreeBSD 7.0-CURRENT #3: Fri Aug  3 
00:04:46 EDT 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/HOME  i386



/var/run/dmesg.boot:

uaudio0: 1.10/1.00, addr 3> on uhub0

uaudio0: audio descriptors make no sense, error=4
device_attach: uaudio0 attach returned 6

cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
Installed devices:

Kernel Config

There is no module for this device, without it, it uses the dreaded ugen0.

device sound
device snd_uaudio

kldstat:
-
Id Refs AddressSize Name
 13 0xc040 4bdbac   kernel
 21 0xc08be000 67068acpi.ko




--

Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Senior System Admin - Riderway, Inc. http://riderway.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"