Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

freebsd-questions Digest, Vol 305, Issue 13

2 views
Skip to first unread message

freebsd-ques...@freebsd.org

unread,
Apr 10, 2010, 10:35:32 PM4/10/10
to freebsd-...@freebsd.org
Send freebsd-questions mailing list submissions to
freebsd-...@freebsd.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
or, via email, send a message with subject or body 'help' to
freebsd-ques...@freebsd.org

You can reach the person managing the list at
freebsd-que...@freebsd.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of freebsd-questions digest..."


Today's Topics:

1. Online school for FreeBSD (Robert Huff)
2. reliable rs-232 (Grzegorz Daniluk)
3. php5-filter update fails; possible pcre issue (David Newman)
4. host & dig (Walter)
5. Re: php5-filter update fails; possible pcre issue (Kieran Black)
6. are the are C [or C++] src sites .... (Gary Kline)
7. Re: php5-filter update fails; possible pcre issue (David Newman)
8. Re: Online school for FreeBSD (Roland Smith)
9. Re: host & dig (Adam Vande More)
10. Re: perl links (pa...@pair.com)
11. Re: perl links (Randal L. Schwartz)
12. Syslog to log remote nodes (Erik Norgaard)
13. Re: Syslog to log remote nodes (Peter Boosten)
14. Re: perl links (Charlie Kester)
15. Re: are the are C [or C++] src sites .... (Chad Perrin)
16. Intel WiFi Link 5100AGN Supported on FreeBSD-8.0? (S Roberts)
17. Does sparc64 version of FreeBSD work on SPARCbook? (Yuri)
18. Re: Intel WiFi Link 5100AGN Supported on FreeBSD-8.0?
(Jan Henrik Sylvester)
19. Re: Intel WiFi Link 5100AGN Supported on FreeBSD-8.0? (S Roberts)
20. Re: are the are C [or C++] src sites .... (C. P. Ghost)
21. Nethogs or similar for FreeBSD? (Dan Naumov)
22. Re: Nethogs or similar for FreeBSD? (mikel king)
23. Re: are the are C [or C++] src sites .... (Charlie Kester)
24. Re: Nethogs or similar for FreeBSD? (Dan Naumov)
25. Re: Nethogs or similar for FreeBSD? (Adam Vande More)
26. Re: Online school for FreeBSD (Chris Whitehouse)
27. Re: Online school for FreeBSD (David Newman)
28. Can't get mysql to start - permission error (Gene)
29. Re: Online school for FreeBSD (Bal?zs M?t?ffy)
30. Re: Online school for FreeBSD (Charlie Kester)
31. Mixer Settings For Audacity (Programmer In Training)
32. Re: Can't get mysql to start - permission error (Malcolm Kay)
33. [RESOLVED, for now] Re: USB Powered Speakers
(Programmer In Training)
34. Re: FreeBSD 8: Postfix policyd-weight not working!!! (perikillo)


----------------------------------------------------------------------

Message: 1
Date: Sat, 10 Apr 2010 09:38:06 -0400
From: Robert Huff <rober...@rcn.com>
Subject: Online school for FreeBSD
To: jt <jt...@gci.net>
Cc: freebsd-...@freebsd.org
Message-ID: <19392.32574....@jerusalem.litteratus.org>
Content-Type: text/plain; charset=us-ascii


jt writes:

> I've been doing searches for online schools that teach FreeBSD. I've
> been trying to learn on an off for years but when it starts getting
> complicated, I get stuck. The handbook don't do a lot of good.
>
> My goal is simply this. I want to open a small business, A server,
> To lease out web space, domains, etc etc. I want to start small and
> possibly expand to a rack of servers and so on.

While there is applicable information, based on your
description I do not believe this is a job the Handbook was ever
intended to address.

> I've been searching all say and cannot find ANY online schools that
> teach FreeBSD. From what I understand, FreeBSD is the best for
> security and control. I'll be leasing out shell space too so I need
> security like sh3lls.net. A company like that is eventually what Id
> like to accomplish. But I need to know the ground up. I don't want
> to trust an employee with root access to my server.

What is there in what you want to do that is specific to
FreeBSD? Based on an uninformed guess, it sounds like 90+ percent
of these tasks are UNIX-generic; what's left could easily vary with
your unique case and might be best handled to questions to targeted
mailing lists.

> I remember seeing a book out there specific to what I'm trying to
> do.

However, if someone _has_ done this having that on the record
would be nice.

> You guys do excellent work. I hope not only to learn but someday
> contribute back to the freebsd community.

See? You have already.


Robert Huff

------------------------------

Message: 2
Date: Sat, 10 Apr 2010 15:41:33 +0200
From: Grzegorz Daniluk <li...@o2.pl>
Subject: reliable rs-232
To: freebsd-...@freebsd.org
Message-ID: <4BC0800D...@o2.pl>
Content-Type: text/plain; charset=ISO-8859-2; format=flowed

Hi everybody,
I have a question regarding rs-232 under FreeBSD.
I need to write an application for FreeBSD to operate an industrial
controller via rs-232. The trick is that it should have very good long
term stability (reliably operation over years). It should be able to
detect and correct (e.g by reconfiguration of rs-232 port parameters)
when rs-232 hangs or changes its transmission parameters as a result of
electrical interference/disturbances etc. First thought is to simply
close and reopen rs-232 port every given time interval, so even if
something 'strange' happens the failure would be fixed after finite time
period. But maybe there is smarter way of doing that. Maybe some special
fault-tolerant rs-232 kernel drivers ?
Any help appreciated, maybe someone has other helpful advieces regarding
reliable rs-232 programming ini general ?

Thanks for all help and advices.
Best regards,
Greg


------------------------------

Message: 3
Date: Sat, 10 Apr 2010 07:39:14 -0700
From: David Newman <dne...@networktest.com>
Subject: php5-filter update fails; possible pcre issue
To: freebsd-...@freebsd.org
Message-ID: <4BC08D92...@networktest.com>
Content-Type: text/plain; charset=ISO-8859-1

8.0-RELEASE, amd64

Running 'portmaster -a' fails to upgrade php5-filter-5.2.12 to
php5-filter-5.3.2. Error output below.

I would be grateful for clues on a fix.

Is this related to the php5-pcre port being moved into core php5?

somehost# cd /usr/ports
somehost# make search name=php5-pcre
Port: devel/php5-pcre
Moved: lang/php5
Date: 2010-04-09
Reason: Bundled in core php

thanks

dn

error output during 'portmaster -a' for php5-filter:

In file included from
/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:25:
/usr/local/include/php/ext/pcre/php_pcre.h:29:18: error: pcre.h: No such
file or directory
In file included from
/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:25:
/usr/local/include/php/ext/pcre/php_pcre.h:37: error: expected '=', ',',
';', 'asm' or '__attribute__' before '*' token
/usr/local/include/php/ext/pcre/php_pcre.h:38: error: expected '=', ',',
';', 'asm' or '__attribute__' before '*' token
/usr/local/include/php/ext/pcre/php_pcre.h:44: error: expected
specifier-qualifier-list before 'pcre'
/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:
In function 'php_filter_validate_regexp':
/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:412:
error: 'pcre' undeclared (first use in this function)
/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:412:
error: (Each undeclared identifier is reported only once
/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:412:
error: for each function it appears in.)
/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:412:
error: 're' undeclared (first use in this function)
/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:413:
error: 'pcre_extra' undeclared (first use in this function)
/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:
In function 'php_filter_validate_email':
/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:500:
error: 'pcre' undeclared (first use in this function)
/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:500:
error: 're' undeclared (first use in this function)
/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:501:
error: 'pcre_extra' undeclared (first use in this function)
*** Error code 1
1 error
*** Error code 1

Stop in /usr/ports/security/php5-filter.

===>>> make failed for security/php5-filter
===>>> Aborting update

===>>> Update for php5-filter-5.2.12 failed
===>>> Aborting update


------------------------------

Message: 4
Date: Sat, 10 Apr 2010 09:54:22 -0500
From: Walter <walt...@earthlink.net>
Subject: host & dig
To: Questions <freebsd-...@FreeBSD.org>
Message-ID: <4BC0911E...@earthlink.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

A previous question to the List on how to get an IP
address from a host speicific URL yielded the helpful
responses of "host" and "dig." These (seemed to) work
fine. Well, just now I got a chance to try it out on a tiny
server I have at someone else's house, and on another
network.

I used telnet to connect to 68.204.xxx.xxx
it tells me I've connected to xxx.xxx.204.68.cfl.res.rr.com.
(backwards, right?), then I log in.

After user/pass entry, it says connected from "user-yyyyyyy.cab"
(replaced seemingly random name with "yyyyyyy" in case
it's not transient)

My external IP here is 24.110.nnn.nnn

The issue:

When I use either "host" or "dig" to give me the IP address
from "user-yyyyyyy.cab", they tell me: 208.68.zzz.zzz
(Ping gives the same.)

So, I'm still at a loss, I think, to know the originating IP.
Should a firewall rule blocking 208.68.zzz.zzz actually
operate against 24.110.nnn.nnn? I'd STILL like to know
the true source IP to be able to connect back to it.

TIA. Again, please respond directly to me (as well as to the
List) because I'm not subscribed.

Walter


------------------------------

Message: 5
Date: Sat, 10 Apr 2010 15:59:15 +0100
From: Kieran Black <kie...@datadream.co.uk>
Subject: Re: php5-filter update fails; possible pcre issue
To: freebsd-...@freebsd.org
Cc: dne...@networktest.com
Message-ID: <4BC09243...@datadream.co.uk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

According to /usr/ports/MOVED php5-filter is now also part of core php5

host# grep "php5-filter" /usr/ports/MOVED
security/pecl-filter|security/php5-filter|2008-12-11|Now bundled in php5

Kieran

On 10/04/2010 15:39, David Newman wrote:
> 8.0-RELEASE, amd64
>
> Running 'portmaster -a' fails to upgrade php5-filter-5.2.12 to
> php5-filter-5.3.2. Error output below.
>
> I would be grateful for clues on a fix.
>
> Is this related to the php5-pcre port being moved into core php5?
>
> somehost# cd /usr/ports
> somehost# make search name=php5-pcre
> Port: devel/php5-pcre
> Moved: lang/php5
> Date: 2010-04-09
> Reason: Bundled in core php
>
> thanks
>
> dn
>
> error output during 'portmaster -a' for php5-filter:
>
> In file included from
> /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:25:
> /usr/local/include/php/ext/pcre/php_pcre.h:29:18: error: pcre.h: No such
> file or directory
> In file included from
> /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:25:
> /usr/local/include/php/ext/pcre/php_pcre.h:37: error: expected '=', ',',
> ';', 'asm' or '__attribute__' before '*' token
> /usr/local/include/php/ext/pcre/php_pcre.h:38: error: expected '=', ',',
> ';', 'asm' or '__attribute__' before '*' token
> /usr/local/include/php/ext/pcre/php_pcre.h:44: error: expected
> specifier-qualifier-list before 'pcre'
> /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:
> In function 'php_filter_validate_regexp':
> /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:412:
> error: 'pcre' undeclared (first use in this function)
> /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:412:
> error: (Each undeclared identifier is reported only once
> /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:412:
> error: for each function it appears in.)
> /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:412:
> error: 're' undeclared (first use in this function)
> /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:413:
> error: 'pcre_extra' undeclared (first use in this function)
> /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:
> In function 'php_filter_validate_email':
> /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:500:
> error: 'pcre' undeclared (first use in this function)
> /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:500:
> error: 're' undeclared (first use in this function)
> /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:501:
> error: 'pcre_extra' undeclared (first use in this function)
> *** Error code 1
> 1 error
> *** Error code 1
>
> Stop in /usr/ports/security/php5-filter.
>
> ===>>> make failed for security/php5-filter
> ===>>> Aborting update
>
> ===>>> Update for php5-filter-5.2.12 failed
> ===>>> Aborting update
> _______________________________________________
> freebsd-...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questi...@freebsd.org"
>

------------------------------

Message: 6
Date: Sat, 10 Apr 2010 08:19:38 -0700
From: Gary Kline <kl...@thought.org>
Subject: are the are C [or C++] src sites ....
To: FreeBSD Mailing List <freebsd-...@FreeBSD.ORG>
Message-ID: <20100410151...@thought.org>
Content-Type: text/plain; charset=us-ascii


Sites of parts of websites that have example C functions?
[continuing from the ^Subject.

I have googled around and found practically nothing; yet, wen
I was looking for a math function I found at least two
places.

Rather than re-inventing the wheel over and again, wouldn't
it be nice to have a library of all kinds of functions?
--For kernel use, yes, they would need to be BSD specific...

ideas?

gary

PS: As if it weren't obvious, no i haven't had my morning
jolt of java yet....


--
Gary Kline kl...@thought.org http://www.thought.org Public Service Unix
http://jottings.thought.org http://transfinite.thought.org
The 7.79a release of Jottings: http://jottings.thought.org/index.php

------------------------------

Message: 7
Date: Sat, 10 Apr 2010 08:35:36 -0700
From: David Newman <dne...@networktest.com>
Subject: Re: php5-filter update fails; possible pcre issue
To: freebsd-...@freebsd.org
Message-ID: <4BC09AC8...@networktest.com>
Content-Type: text/plain; charset=ISO-8859-1

On 4/10/10 7:59 AM, Kieran Black wrote:
> According to /usr/ports/MOVED php5-filter is now also part of core php5
>
> host# grep "php5-filter" /usr/ports/MOVED
> security/pecl-filter|security/php5-filter|2008-12-11|Now bundled in php5

Thanks. Obvious question, but just checking: Would uninstalling
php5-filter and php5-pcre (if installed) and then proceeding with
updating all other php5 ports have the same effect as updating these
ports as if they were standalone, as before?

dn


>
> Kieran
>
> On 10/04/2010 15:39, David Newman wrote:
>> 8.0-RELEASE, amd64
>>
>> Running 'portmaster -a' fails to upgrade php5-filter-5.2.12 to
>> php5-filter-5.3.2. Error output below.
>>
>> I would be grateful for clues on a fix.
>>
>> Is this related to the php5-pcre port being moved into core php5?
>>
>> somehost# cd /usr/ports
>> somehost# make search name=php5-pcre
>> Port: devel/php5-pcre
>> Moved: lang/php5
>> Date: 2010-04-09
>> Reason: Bundled in core php
>>
>> thanks
>>
>> dn
>>
>> error output during 'portmaster -a' for php5-filter:
>>
>> In file included from
>> /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:25:
>>
>> /usr/local/include/php/ext/pcre/php_pcre.h:29:18: error: pcre.h: No such
>> file or directory
>> In file included from
>> /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:25:
>>
>> /usr/local/include/php/ext/pcre/php_pcre.h:37: error: expected '=', ',',
>> ';', 'asm' or '__attribute__' before '*' token
>> /usr/local/include/php/ext/pcre/php_pcre.h:38: error: expected '=', ',',
>> ';', 'asm' or '__attribute__' before '*' token
>> /usr/local/include/php/ext/pcre/php_pcre.h:44: error: expected
>> specifier-qualifier-list before 'pcre'
>> /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:
>>
>> In function 'php_filter_validate_regexp':
>> /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:412:
>>
>> error: 'pcre' undeclared (first use in this function)
>> /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:412:
>>
>> error: (Each undeclared identifier is reported only once
>> /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:412:
>>
>> error: for each function it appears in.)
>> /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:412:
>>
>> error: 're' undeclared (first use in this function)
>> /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:413:
>>
>> error: 'pcre_extra' undeclared (first use in this function)
>> /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:
>>
>> In function 'php_filter_validate_email':
>> /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:500:
>>
>> error: 'pcre' undeclared (first use in this function)
>> /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:500:
>>
>> error: 're' undeclared (first use in this function)
>> /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:501:
>>
>> error: 'pcre_extra' undeclared (first use in this function)
>> *** Error code 1
>> 1 error
>> *** Error code 1
>>
>> Stop in /usr/ports/security/php5-filter.
>>
>> ===>>> make failed for security/php5-filter
>> ===>>> Aborting update
>>
>> ===>>> Update for php5-filter-5.2.12 failed
>> ===>>> Aborting update
>> _______________________________________________
>> freebsd-...@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "freebsd-questi...@freebsd.org"
>>
>
> _______________________________________________
> freebsd-...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questi...@freebsd.org"

------------------------------

Message: 8
Date: Sat, 10 Apr 2010 17:38:14 +0200
From: Roland Smith <rsm...@xs4all.nl>
Subject: Re: Online school for FreeBSD
To: jt <jt...@gci.net>
Cc: freebsd-...@freebsd.org
Message-ID: <20100410153...@slackbox.erewhon.net>
Content-Type: text/plain; charset="us-ascii"

On Fri, Apr 09, 2010 at 09:34:59PM -0800, jt wrote:

> I've been doing searches for online schools that teach FreeBSD. I've been
> trying to learn on an off for years but when it starts getting complicated,
> I get stuck. The handbook don't do allot of good.

Check out http://www.bsdcertification.org/

> My goal is simply this. I want to open a small business, A server, To lease
> out web space, domains, etc etc. I want to start small and possibly expand
> to a rack of servers and so on.

If you are new to FreeBSD and other UNIX-like systems, you should not begin with
starting a business! Learn something about the OS first.

Install FreeBSD om your computer and experiment with it. Subscribe to the
freebsd-questions mailing list and read through the archives of that mailing
list. Install and configure typical server programs; apache, bind, postfix,
mysql. Learn about jail(8). Do read the handbook, because it does contain a
lot of useful information.

> I've been searching all say and cannot find ANY online schools that teach
> FreeBSD.

Personally, I learned first Linux and then FreeBSD by just installing and
using them. I think a lot of people start that way.

You can download the book "The Complete FreeBSD" from
http://www.lemis.com/grog/Documentation/CFBSD/

> But I need to know the ground up. I don't want to trust an
> employee with root access to my server.

If you have a hosting business, clients might expect support 24 hours a day, 7
days per week. No single person can manage that!

Roland
--
R.F.Smith http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100410/17d0568d/attachment-0001.pgp

------------------------------

Message: 9
Date: Sat, 10 Apr 2010 11:14:30 -0500
From: Adam Vande More <amvan...@gmail.com>
Subject: Re: host & dig
To: Walter <walt...@earthlink.net>
Cc: Questions <freebsd-...@freebsd.org>
Message-ID:
<w2z6201873e1004100914pf...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Sat, Apr 10, 2010 at 9:54 AM, Walter <walt...@earthlink.net> wrote:

> A previous question to the List on how to get an IP
> address from a host speicific URL yielded the helpful
> responses of "host" and "dig." These (seemed to) work
> fine. Well, just now I got a chance to try it out on a tiny
> server I have at someone else's house, and on another
> network.
>
> I used telnet to connect to 68.204.xxx.xxx
> it tells me I've connected to xxx.xxx.204.68.cfl.res.rr.com.
> (backwards, right?), then I log in.
>

No, you have to a connection before you login. You want to *strongly*
consider using ssh instead of telnet. You may also be referring the format
of the DNS query result which known as
http://en.wikipedia.org/wiki/Reverse_DNS_lookup


>
> After user/pass entry, it says connected from "user-yyyyyyy.cab"
> (replaced seemingly random name with "yyyyyyy" in case
> it's not transient)
>
> My external IP here is 24.110.nnn.nnn
>
> The issue:
>
> When I use either "host" or "dig" to give me the IP address
> from "user-yyyyyyy.cab", they tell me: 208.68.zzz.zzz
> (Ping gives the same.)
>
> So, I'm still at a loss, I think, to know the originating IP.
> Should a firewall rule blocking 208.68.zzz.zzz actually
> operate against 24.110.nnn.nnn?


I don't understand the question, what is the rule?


> I'd STILL like to know the true source IP to be able to connect back to
> it.
>

man sockstat
man netstat

--
Adam Vande More


------------------------------

Message: 10
Date: Sat, 10 Apr 2010 06:27:03 -1000
From: pa...@pair.com
Subject: Re: perl links
To: "Randal L. Schwartz" <mer...@stonehenge.com>
Cc: freebsd-...@freebsd.org, Anton Yuzhaninov <cit...@citrin.ru>
Message-ID: <2010041016...@holstein.holy.cow>
Content-Type: text/plain; charset=us-ascii

in message <86zl1bt...@red.stonehenge.com>,
wrote Randal L. Schwartz thusly...
>
> >>>>> "Anton" == Anton Yuzhaninov <cit...@citrin.ru> writes:
>
>
> Anton> most perl scripts begins with
>
> Anton> #!/usr/bin/perl
>
> Anton> this is common convention (also outside *BSD world)
>
> In fact, it's the recommendation from the original Camel book in 1990
> (which I wrote, but the kids forget that :) that no matter where you
> install Perl, you always link/symlink /usr/bin/perl so that scripts can
> safely use shebang.

So, you are the guilty one. By that logic, every software should
assume some location, so that people can have fun with link farm
maintainance.


- parv

--

------------------------------

Message: 11
Date: Sat, 10 Apr 2010 09:26:33 -0700
From: mer...@stonehenge.com (Randal L. Schwartz)
Subject: Re: perl links
To: Anton Yuzhaninov <cit...@citrin.ru>
Cc: freebsd-...@freebsd.org
Message-ID: <86r5mnt...@red.stonehenge.com>
Content-Type: text/plain; charset=us-ascii

>>>>> "parv" == parv <pa...@pair.com> writes:

parv> So, you are the guilty one. By that logic, every software should
parv> assume some location, so that people can have fun with link farm
parv> maintainance.

Keep in mind, the scene has changed in 20 years. :)

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<mer...@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion


------------------------------

Message: 12
Date: Sat, 10 Apr 2010 18:54:10 +0200
From: Erik Norgaard <norg...@locolomo.org>
Subject: Syslog to log remote nodes
To: FreeBSD Mailing List <freebsd-...@freebsd.org>
Message-ID: <4BC0AD32...@locolomo.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi:

I want my syslog to log remote nodes, in particular my access point and
router, which authenticates users against my freeradius server.

In /etc/rc.conf I've got:
syslogd_flags="-C -a 192.168.0.0/23 -a 172.16.0.0/23 -vv"

In /etc/syslog.conf I've got first the entries for the system, no
networked clients specified,

...
local0.* /var/log/radius.log
...
# Remote systems
+172.16.0.0/23
*.info /var/log/wlan.log
+192.168.0.254
*.info /var/log/router.log

Surprise, I've got my access point logs in the radius log file, not in
the wlan.log,

snip radius.log:

Apr 10 17:54:15 <local0.notice> ap airport 80211: Rotated TKIP group key.
Apr 10 18:02:19 <local0.notice> ap airport ntp: Clock synchronized to
network time server ntp.locolomo.org (adjusted -1 seconds).
Apr 10 18:43:11 <local0.info> alpha radiusd[79800]: Loaded virtual
server inner-tunnel
Apr 10 18:43:11 <local0.info> alpha radiusd[79800]: Loaded virtual
server <default>

The "ap" is the access point.

I haven't got anything in router.log and can't really figure where it
has ended up.

What's wrong with my syslog.conf?

Thanks, Erik


--
Erik Nørgaard
Ph: +34.666334818/+34.915211157 http://www.locolomo.org


------------------------------

Message: 13
Date: Sat, 10 Apr 2010 19:42:27 +0200
From: Peter Boosten <pe...@boosten.org>
Subject: Re: Syslog to log remote nodes
To: freebsd-...@freebsd.org
Message-ID: <4BC0B883...@boosten.org>
Content-Type: text/plain; charset=ISO-8859-1

On 10-4-2010 18:54, Erik Norgaard wrote:
> Hi:
>
> I want my syslog to log remote nodes, in particular my access point and
> router, which authenticates users against my freeradius server.
>
> In /etc/rc.conf I've got:
> syslogd_flags="-C -a 192.168.0.0/23 -a 172.16.0.0/23 -vv"
>
> In /etc/syslog.conf I've got first the entries for the system, no
> networked clients specified,
>
> ...
> local0.* /var/log/radius.log
> ...
> # Remote systems
> +172.16.0.0/23
> *.info /var/log/wlan.log
> +192.168.0.254
> *.info /var/log/router.log
>
> Surprise, I've got my access point logs in the radius log file, not in
> the wlan.log,
>
> snip radius.log:
>
> Apr 10 17:54:15 <local0.notice> ap airport 80211: Rotated TKIP group key.
> Apr 10 18:02:19 <local0.notice> ap airport ntp: Clock synchronized to
> network time server ntp.locolomo.org (adjusted -1 seconds).
> Apr 10 18:43:11 <local0.info> alpha radiusd[79800]: Loaded virtual
> server inner-tunnel
> Apr 10 18:43:11 <local0.info> alpha radiusd[79800]: Loaded virtual
> server <default>
>
> The "ap" is the access point.
>
> I haven't got anything in router.log and can't really figure where it
> has ended up.
>
> What's wrong with my syslog.conf?
>

I tried once the same setup, but never got it working.
I ended up switching to syslog-ng (I know, probably not the answer
you're looking for, but with syslog-ng you can configure the way you
want it to be).

Peter

--
http://www.boosten.org


------------------------------

Message: 14
Date: Sat, 10 Apr 2010 11:05:52 -0700
From: Charlie Kester <cork...@comcast.net>
Subject: Re: perl links
To: freebsd-...@freebsd.org
Message-ID: <20100410180...@comcast.net>
Content-Type: text/plain; charset=us-ascii; format=flowed

On Sat 10 Apr 2010 at 09:26:33 PDT Randal L. Schwartz wrote:
>>>>>> "parv" == parv <pa...@pair.com> writes:
>
>parv> So, you are the guilty one. By that logic, every software should
>parv> assume some location, so that people can have fun with link farm
>parv> maintainance.
>
>Keep in mind, the scene has changed in 20 years. :)

Has your advice on this point also changed?


------------------------------

Message: 15
Date: Sat, 10 Apr 2010 11:35:53 -0600
From: Chad Perrin <per...@apotheon.com>
Subject: Re: are the are C [or C++] src sites ....
To: FreeBSD Mailing List <freebsd-...@FreeBSD.ORG>
Message-ID: <2010041017...@guilt.hydra>
Content-Type: text/plain; charset="us-ascii"

On Sat, Apr 10, 2010 at 08:19:38AM -0700, Gary Kline wrote:
>
> Sites of parts of websites that have example C functions?
> [continuing from the ^Subject.
>
> I have googled around and found practically nothing; yet, wen
> I was looking for a math function I found at least two
> places.
>
> Rather than re-inventing the wheel over and again, wouldn't
> it be nice to have a library of all kinds of functions?
> --For kernel use, yes, they would need to be BSD specific...
>
> ideas?
>
> gary
>
> PS: As if it weren't obvious, no i haven't had my morning
> jolt of java yet....

I suspect there are quite a few examples of BSD-specific C functions *in*
the FreeBSD kernel. I'm pretty sure this isn't what you meant, though,
so please clarify.

--
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100410/9c284d43/attachment-0001.pgp

------------------------------

Message: 16
Date: Sat, 10 Apr 2010 19:22:46 +0100
From: S Roberts <sta...@vickiandstacey.com>
Subject: Intel WiFi Link 5100AGN Supported on FreeBSD-8.0?
To: ques...@freebsd.org, freebsd-...@freebsd.org
Message-ID: <20100410192246.00002af3@unknown>
Content-Type: text/plain; charset=US-ASCII

Hello,
The wireless nic on my laptop is the Intel WiFi Link 5100AGN. Is this card supported in FreeBSD as present?

I checked the FreeBSD 8.0-RELEASE Hardware Notes (at
http://www.freebsd.org/releases/8.0R/hardware.html#WLAN), and I don't
see the Intel WiFi Link 5100AGN actually listed.

Looking at the online manpage for iwn, it is actually titled "Intel
Wireless WiFi Link 4965AGN IEEE 802.11n driver", but then again, I also
noted that that manpage is timestamped April 13, 2008 and is tagged for
FreeBSD-7.2.

I'd some help, please.

Thanks.

Regards,

S Roberts

------------------------------

Message: 17
Date: Sat, 10 Apr 2010 11:52:28 -0700
From: Yuri <yu...@rawbw.com>
Subject: Does sparc64 version of FreeBSD work on SPARCbook?
To: freebsd-...@freebsd.org
Message-ID: <4BC0C8EC...@rawbw.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

I always wanted to try sparc.
But did anyone try running it on a laptop or I better stick with
workstation?

Yuri


------------------------------

Message: 18
Date: Sat, 10 Apr 2010 20:53:08 +0200
From: Jan Henrik Sylvester <m...@janh.de>
Subject: Re: Intel WiFi Link 5100AGN Supported on FreeBSD-8.0?
To: S Roberts <sta...@vickiandstacey.com>
Cc: questions-list freebsd <freebsd-...@freebsd.org>
Message-ID: <4BC0C914...@janh.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

On 01/-10/-28163 20:59, S Roberts wrote:
> The wireless nic on my laptop is the Intel WiFi Link 5100AGN. Is this card supported in FreeBSD as present?

Support for that device got MFCed to 8-STABLE a short time after
8.0-RELEASE.

Cheers,
Jan Henrik


------------------------------

Message: 19
Date: Sat, 10 Apr 2010 19:55:05 +0100
From: S Roberts <sta...@vickiandstacey.com>
Subject: Re: Intel WiFi Link 5100AGN Supported on FreeBSD-8.0?
To: "O.Herold" <oli...@akephalos.de>
Cc: ques...@freebsd.org, freebsd-...@freebsd.org
Message-ID: <20100410195505.000011fc@unknown>
Content-Type: text/plain; charset=US-ASCII

Hello Oliver,
Thanks for the response.

On Sat, 10 Apr 2010 20:35:27 +0200
"O.Herold" <oli...@akephalos.de> wrote:

> Am Sat, 10 Apr 2010 19:22:46 +0100
> schrieb S Roberts <sta...@vickiandstacey.com>:
>
> > Hello,
> > The wireless nic on my laptop is the Intel WiFi Link 5100AGN.
> > Is this card supported in FreeBSD as present?
> >
> > I checked the FreeBSD 8.0-RELEASE Hardware Notes (at
> > http://www.freebsd.org/releases/8.0R/hardware.html#WLAN), and I
> > don't see the Intel WiFi Link 5100AGN actually listed.
> >
> > Looking at the online manpage for iwn, it is actually titled "Intel
> > Wireless WiFi Link 4965AGN IEEE 802.11n driver", but then again, I
> > also noted that that manpage is timestamped April 13, 2008 and is
> > tagged for FreeBSD-7.2.
> >
> > I'd some help, please.
> >
> > Thanks.
> >
> > Regards,
> >
> > S Roberts
> >
> > _______________________________________________
> > freebsd-...@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-hardware
> > To unsubscribe, send any mail to
> > "freebsd-hardwa...@freebsd.org"
>
>
> You have to use 8-stable, then you get support for this kind of
> adapter.
>

Understood - install 8-REL, the cvsup to 8-Stable.

Thanks again.

Regards,

S Roberts

> Cheers, Oliver

------------------------------

Message: 20
Date: Sat, 10 Apr 2010 21:14:25 +0200
From: "C. P. Ghost" <cpg...@cordula.ws>
Subject: Re: are the are C [or C++] src sites ....
To: Gary Kline <kl...@thought.org>
Cc: FreeBSD Mailing List <freebsd-...@freebsd.org>
Message-ID:
<w2md74eb87c1004101214x3...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Sat, Apr 10, 2010 at 5:19 PM, Gary Kline <kl...@thought.org> wrote:

> Rather than re-inventing the wheel over and again, wouldn't
> it be nice to have a library of all kinds of functions?
> --For kernel use, yes, they would need to be BSD specific...
>

Not sure what you're meaning here, but the collection of
libraries in FreeBSD's source tree (/usr/src/lib) contains
A LOT of C functions that you could use as examples...

For instance, if you're looking for those typical C functions
of the C library that are often used in introductory texts,
you want to look at libc, e.g. in:

/usr/src/lib/libc/stdlib
/usr/src/lib/libc/string
/usr/src/lib/libc/gen
(...)

Then, there are also non-library source files all over /usr/src,
that are full of C functions. ;-)

Of course, you could always install additional third-party
libraries, programs etc. manually or from ports if you need
more examples.

ideas?
>

What are you trying to achieve?

gary
>
> PS: As if it weren't obvious, no i haven't had my morning
> jolt of java yet....
>

Regards,
-cpghost.

--
Cordula's Web. http://www.cordula.ws/


------------------------------

Message: 21
Date: Sat, 10 Apr 2010 22:14:38 +0300
From: Dan Naumov <dan.n...@gmail.com>
Subject: Nethogs or similar for FreeBSD?
To: freebsd-...@freebsd.org
Message-ID:
<z2ncf9b1ee01004101214p2...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Is there something like Nethogs for FreeBSD that would show bandwidth
use broken down by PID, user and such in a convinient easy to view and
understand fashion?

http://nethogs.sourceforge.net/nethogs.png


- Sincerely,
Dan Naumov


------------------------------

Message: 22
Date: Sat, 10 Apr 2010 15:44:38 -0400
From: mikel king <mikel...@olivent.com>
Subject: Re: Nethogs or similar for FreeBSD?
To: Dan Naumov <dan.n...@gmail.com>
Cc: freebsd-...@freebsd.org
Message-ID: <9CF6DFA5-91D3-4702...@olivent.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes


On Apr 10, 2010, at 3:14 PM, Dan Naumov wrote:

> Is there something like Nethogs for FreeBSD that would show bandwidth
> use broken down by PID, user and such in a convinient easy to view and
> understand fashion?
>
> http://nethogs.sourceforge.net/nethogs.png
>
>
> - Sincerely,
> Dan Naumov

Looks interesting, and pretty light weight only requiring ncurses and
libpcap. I wonder how hard it'd be to compile it and get it running.

What version of FreeBSD are you running?

Cheers,
Mikel King
CEO, Olivent Technologies
Senior Editor, BSD News Network
Columnist, BSD Magazine
skype:mikel.king
http://olivent.com
http://www.linkedin.com/in/mikelking
http://twitter.com/mikelking

------------------------------

Message: 23
Date: Sat, 10 Apr 2010 12:45:15 -0700
From: Charlie Kester <cork...@comcast.net>
Subject: Re: are the are C [or C++] src sites ....
To: freebsd-...@freebsd.org
Message-ID: <20100410194...@comcast.net>
Content-Type: text/plain; charset=us-ascii; format=flowed

On Sat 10 Apr 2010 at 08:19:38 PDT Gary Kline wrote:
>
> Sites of parts of websites that have example C functions?
> [continuing from the ^Subject.
>
> I have googled around and found practically nothing; yet, wen
> I was looking for a math function I found at least two
> places.
>
> Rather than re-inventing the wheel over and again, wouldn't
> it be nice to have a library of all kinds of functions?
> --For kernel use, yes, they would need to be BSD specific...
>
> ideas?
>
> gary
>
> PS: As if it weren't obvious, no i haven't had my morning jolt of
> java yet....


Did you try googling for "sample code"? I just did, and the results
contained several such websites.

Narrowing the search to "sample code c" or "sample code unix" yielded
even better results.

There are even some sites that you can use to search the vast body of
existing open-source code, to see how others have used (or implemented)
a given API.

No, I'm not going to name any specific sites. You now have enough of a
hint to find them on your own. ;-)


------------------------------

Message: 24
Date: Sat, 10 Apr 2010 23:14:43 +0300
From: Dan Naumov <dan.n...@gmail.com>
Subject: Re: Nethogs or similar for FreeBSD?
To: mikel king <mikel...@olivent.com>
Cc: freebsd-...@freebsd.org
Message-ID:
<y2gcf9b1ee01004101314q9...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Sat, Apr 10, 2010 at 10:44 PM, mikel king <mikel...@olivent.com> wrote:
>
> On Apr 10, 2010, at 3:14 PM, Dan Naumov wrote:
>
> Is there something like Nethogs for FreeBSD that would show bandwidth
> use broken down by PID, user and such in a convinient easy to view and
> understand fashion?
>
> http://nethogs.sourceforge.net/nethogs.png
>
>
> - Sincerely,
> Dan Naumov
>
> Looks interesting, and pretty light weight only requiring ncurses and
> libpcap. I wonder how hard it'd be to compile it and get it running.
> What version of FreeBSD are you running?
> Cheers,
> Mikel King

I am on 8.0/amd64. From the website of Nethogs: "Since NetHogs heavily
relies on /proc, it currently runs on Linux only."


- Sincerely,
Dan Naumov


------------------------------

Message: 25
Date: Sat, 10 Apr 2010 16:41:16 -0500
From: Adam Vande More <amvan...@gmail.com>
Subject: Re: Nethogs or similar for FreeBSD?
To: Dan Naumov <dan.n...@gmail.com>
Cc: mikel king <mikel...@olivent.com>, freebsd-...@freebsd.org
Message-ID:
<n2l6201873e1004101441v9...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Sat, Apr 10, 2010 at 3:14 PM, Dan Naumov <dan.n...@gmail.com> wrote:

>
> I am on 8.0/amd64. From the website of Nethogs: "Since NetHogs heavily
> relies on /proc, it currently runs on Linux only."
>

perhaps something like ntop?

--
Adam Vande More


------------------------------

Message: 26
Date: Sat, 10 Apr 2010 23:08:58 +0100
From: Chris Whitehouse <cwh...@onetel.com>
Subject: Re: Online school for FreeBSD
Cc: jt <jt...@gci.net>, freebsd-...@freebsd.org
Message-ID: <4BC0F6FA...@onetel.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Roland Smith wrote:
> On Fri, Apr 09, 2010 at 09:34:59PM -0800, jt wrote:
>
>> I've been doing searches for online schools that teach FreeBSD. I've been
>> trying to learn on an off for years but when it starts getting complicated,
>> I get stuck. The handbook don't do allot of good.
>
> You can download the book "The Complete FreeBSD" from
> http://www.lemis.com/grog/Documentation/CFBSD/

There is also Absolute FreeBSD
http://www.absolutefreebsd.com/
Only available for purchase though.

Chris


------------------------------

Message: 27
Date: Sat, 10 Apr 2010 16:14:36 -0700
From: David Newman <dne...@networktest.com>
Subject: Re: Online school for FreeBSD
To: freebsd-...@freebsd.org
Message-ID: <4BC1065C...@networktest.com>
Content-Type: text/plain; charset=ISO-8859-1

On 4/10/10 3:08 PM, Chris Whitehouse wrote:
> Roland Smith wrote:
>> On Fri, Apr 09, 2010 at 09:34:59PM -0800, jt wrote:
>>
>>> I've been doing searches for online schools that teach FreeBSD. I've
>>> been
>>> trying to learn on an off for years but when it starts getting
>>> complicated,
>>> I get stuck. The handbook don't do allot of good.
>>
>> You can download the book "The Complete FreeBSD" from
>> http://www.lemis.com/grog/Documentation/CFBSD/
>
> There is also Absolute FreeBSD
> http://www.absolutefreebsd.com/
> Only available for purchase though.

+1

I've found this and other books by Mr. Lucas to be informative,
accessible and even entertaining, well worth their price.

dn

>
> Chris
> _______________________________________________
> freebsd-...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questi...@freebsd.org"

------------------------------

Message: 28
Date: Sat, 10 Apr 2010 18:28:20 -0500
From: "Gene" <fb...@brightstar.bomgardner.net>
Subject: Can't get mysql to start - permission error
To: FreeBSD-...@freebsd.org
Message-ID: <2010041023...@brightstar.bomgardner.net>
Content-Type: text/plain; charset=iso-8859-1

Hi all:

I'm running FBSD 8.0, amd64. After installing the mysql port: Mysql55-server
and mysql55-client I've attempted to start using mysql_safe --user=mysql.

It craps out and in the error log I find:

100410 7:25:36 InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: 'create'.
InnoDB: Cannot continue operation.

I suspect incorrect permissions somewhere. The question is... Where? Does
anyone have any idea where it's trying to create ibdata1?

And on a slightly related note - attempts to build the mysql60-server port
rapidly dies with the error:

===> mysql-server-6.0.11 cannot install: unknown MySQL version: 60.
*** Error code 1

Anyone know what that's all about?

Thanks for any help or words of wisdom.
IHN,
Gene

--
To everything there is a season,
And a time to every purpose under heaven.

------------------------------

Message: 29
Date: Sun, 11 Apr 2010 01:40:39 +0200
From: Bal?zs M?t?ffy <repc...@gmail.com>
Subject: Re: Online school for FreeBSD
To: freebsd-...@freebsd.org
Message-ID:
<s2sc4b701071004101640q1...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Sorry David for the mail before, I've got the wrong address!

+1 :)

I like the books of M.W.Lucas, easy to read, funny and on the other hand
they have the needed details about the subject.

On 11 April 2010 01:14, David Newman <dne...@networktest.com> wrote:

> On 4/10/10 3:08 PM, Chris Whitehouse wrote:
> > Roland Smith wrote:
> >> On Fri, Apr 09, 2010 at 09:34:59PM -0800, jt wrote:
> >>
> >>> I've been doing searches for online schools that teach FreeBSD. I've
> >>> been
> >>> trying to learn on an off for years but when it starts getting
> >>> complicated,
> >>> I get stuck. The handbook don't do allot of good.
> >>
> >> You can download the book "The Complete FreeBSD" from
> >> http://www.lemis.com/grog/Documentation/CFBSD/
> >
> > There is also Absolute FreeBSD
> > http://www.absolutefreebsd.com/
> > Only available for purchase though.
>
> +1
>
> I've found this and other books by Mr. Lucas to be informative,
> accessible and even entertaining, well worth their price.
>
> dn
>
> >
> > Chris
> > _______________________________________________
> > freebsd-...@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "freebsd-questi...@freebsd.org"
>
> _______________________________________________
> freebsd-...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questi...@freebsd.org"
>


------------------------------

Message: 30
Date: Sat, 10 Apr 2010 17:20:15 -0700
From: Charlie Kester <cork...@comcast.net>
Subject: Re: Online school for FreeBSD
To: freebsd-...@freebsd.org
Message-ID: <20100411002...@comcast.net>
Content-Type: text/plain; charset=us-ascii; format=flowed

On Sat 10 Apr 2010 at 16:14:36 PDT David Newman wrote:
>On 4/10/10 3:08 PM, Chris Whitehouse wrote:
>> Roland Smith wrote:
>>> On Fri, Apr 09, 2010 at 09:34:59PM -0800, jt wrote:
>>>
>>>> I've been doing searches for online schools that teach FreeBSD. I've
>>>> been
>>>> trying to learn on an off for years but when it starts getting
>>>> complicated,
>>>> I get stuck. The handbook don't do allot of good.
>>>
>>> You can download the book "The Complete FreeBSD" from
>>> http://www.lemis.com/grog/Documentation/CFBSD/
>>
>> There is also Absolute FreeBSD
>> http://www.absolutefreebsd.com/
>> Only available for purchase though.
>
>+1
>
>I've found this and other books by Mr. Lucas to be informative,
>accessible and even entertaining, well worth their price.

Yes, I agree.

Another good book is Dru Lavigne's _The Best of FreeBSD Basics_.

I also like Dru's earlier book _BSD Hacks_.

It's not BSD-specific, but the _Unix Power Tools_ book from O'Reilly is
packed with lots of interesting tidbits.

------------------------------

Message: 31
Date: Sat, 10 Apr 2010 20:58:46 -0500
From: Programmer In Training <p...@joseph-a-nagy-jr.us>
Subject: Mixer Settings For Audacity
To: FreeBSD Questions <freebsd-...@freebsd.org>
Message-ID: <4BC12CD6...@joseph-a-nagy-jr.us>
Content-Type: text/plain; charset="iso-8859-1"

OK, I've read the mixer man page, the mic is set as recording source,
yet even with mic playback and (apparent) sensitivity to max, I barely
get anything recorded using Audacity. Am I missing something? Do I need
to use mixer -s =rec mic (I set it with mixer -S =rec, though it seems
either one does the same thing).

Mixer vol is currently set to 100:100
Mixer bass is currently set to 100:100
Mixer treble is currently set to 100:100
Mixer synth is currently set to 100:100
Mixer pcm is currently set to 100:100
Mixer speaker is currently set to 100:100
Mixer line is currently set to 100:100
Mixer mic is currently set to 100:100
Mixer cd is currently set to 100:100
Mixer igain is currently set to 100:100
Mixer ogain is currently set to 100:100
Mixer monitor is currently set to 100:100
Recording source: mic

The above is my playback options for the mixer. I'd like to adjust the
sensitivity for the mic when recording and not just for playback
(ideally I'd like playback to be zero - or as close to it as possible -
and recording be at max).

I've found a few posts on the subject[0][1] but nothing really dealing
with my problem (the closest they get is Audacity, but both are written
from a Windoze POV), though I did get some good ideas from the first one
(setting up a project with some default tags and the like).

I'll record, with the mic at 100% for playback, a sample and toss it up
on my website[2] in wav format so you folks can hear what I'm dealing
with. Any suggestions would be appreciated (I'm sure it's something
rather obvious I'm missing, it usually is (I've got my snakebite kit
ready, jic)). The recording was made with the mic right in front of the
mouth, with me talking at normal volume (which is pretty loud according
to most folks I know) and playback sensitivity at max. The audio was
recorded at 44100Hz, 32-bit floating point and straight-exported as a
wav. Reported size (by web server) is 1.5MB (YMMV).

[0]: http://brainwagon.org/2004/09/27/howto-produce-your-own-audioblog/
[1]:
http://www.jakeludington.com/podcasting/20050222_recording_a_podcast.html
[2]: http://www.joseph-a-nagy-jr.us/audio/test-01.wav
--
Yours In Christ,

PIT
Emails are not formal business letters, whatever businesses may want.
Original content copyright under the OWL http://owl.apotheon.org
Please do not CC me. If I'm posting to a list it is because I am subscribed.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100411/748b2df6/signature-0001.pgp

------------------------------

Message: 32
Date: Sun, 11 Apr 2010 11:41:54 +0930
From: Malcolm Kay <malco...@internode.on.net>
Subject: Re: Can't get mysql to start - permission error
To: freebsd-...@freebsd.org, "Gene" <fb...@bomgardner.net>
Message-ID: <201004111141.54...@internode.on.net>
Content-Type: text/plain; charset="iso-8859-1"

On Sun, 11 Apr 2010 08:58 am, Gene wrote:
> Hi all:
>
> I'm running FBSD 8.0, amd64. After installing the mysql port:
> Mysql55-server and mysql55-client I've attempted to start
> using mysql_safe --user=mysql.

It is probably better to add:
mysql_enable="YES"
to /etc/rc.conf and then run
# /usr/local/etc/rc.d/mysql-server start
which amongst other things will run mysql_safe.

>
> It craps out and in the error log I find:
>
> 100410 7:25:36 InnoDB: Operating system error number 13 in a
> file operation. InnoDB: The error means mysqld does not have
> the access rights to InnoDB: the directory.
> InnoDB: File name ./ibdata1
> InnoDB: File operation call: 'create'.
> InnoDB: Cannot continue operation.
>
> I suspect incorrect permissions somewhere. The question is...
> Where? Does anyone have any idea where it's trying to create
> ibdata1?

With a new installation you need to run
# mysql_install_db --ldata=/var/db/mysql
to create the data base structure, and
# chown -R mysql:mysql /var/db/mysql

If /var/db/mysql/mysql does not already exist then
# /usr/local/etc/rc.d/mysql-server start
should execute these commands for you.

You don't need to run mysql_safe from the command line.

(My systems are i386 but I don't expect that this will make any
difference)

>
> And on a slightly related note - attempts to build the
> mysql60-server port rapidly dies with the error:
>
> ===> mysql-server-6.0.11 cannot install: unknown MySQL
> version: 60. *** Error code 1

Hmm, seem to reacall discarding mysql60 for some reason but
I think not for the error you experienced.

Malcolm Kay

>
> Anyone know what that's all about?
>
> Thanks for any help or words of wisdom.
> IHN,
> Gene
>
> --
> To everything there is a season,
> And a time to every purpose under heaven.


------------------------------

Message: 33
Date: Sat, 10 Apr 2010 21:19:28 -0500
From: Programmer In Training <p...@joseph-a-nagy-jr.us>
Subject: [RESOLVED, for now] Re: USB Powered Speakers
To: freebsd-...@freebsd.org
Message-ID: <4BC131B0...@joseph-a-nagy-jr.us>
Content-Type: text/plain; charset="iso-8859-1"

On 04/09/10 21:04, per...@pluto.rain.com wrote:
> Programmer In Training <p...@joseph-a-nagy-jr.us> wrote:
>
>> I'm thinking I'm just going to wait until Tuesday and get a brand
>> new pair of wall-powered speakers. This hassle is NOT worth it ...
>
> If "speakers on USB 2.0 card, all else on 1.x builtins" doesn't
<snip>

Despite the steadily degrading nature of the builtins, they are working
for the keyboard with speakers on the card and so far (aside from some
initial issues) they seem to be working just fine. For now. I'm still
getting a new pair of speakers. Now I'm not so keen on getting some of
those USB gadgets from ThinkGeek. ):
--
Yours In Christ,

PIT
Emails are not formal business letters, whatever businesses may want.
Original content copyright under the OWL http://owl.apotheon.org
Please do not CC me. If I'm posting to a list it is because I am subscribed.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100411/37b59cfc/signature-0001.pgp

------------------------------

Message: 34
Date: Sat, 10 Apr 2010 19:33:33 -0700
From: perikillo <peri...@gmail.com>
Subject: Re: FreeBSD 8: Postfix policyd-weight not working!!!
To: FreeBSD Mailing List <freebsd-...@freebsd.org>
Message-ID:
<k2i51d7a5161004101933ke...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Thu, Apr 8, 2010 at 3:29 PM, perikillo <peri...@gmail.com> wrote:

>
>
> On Thu, Apr 8, 2010 at 2:57 PM, Noel Jones <noel...@gmail.com> wrote:
>
>> On Thu, Apr 8, 2010 at 9:29 AM, perikillo <peri...@gmail.com> wrote:
>> > Hi people.
>> >
>> > I'm working in my first spam gateway, using Postfix + policyd-weight.
>> >
>> > I have 2 jails for this, the jail-A is the mail server, where the
>> mailboxes
>> > exist, they are on each user home directory:
>> >
>> > /home/user-1
>> > /home/user-2
>> > /home/user-3
>> > ...
>> > /home/user-N
>> >
>> > This jail-A have samba+ldap=PDC, nss_ldap+pam_ldap working +
>> > dovecot+postfix working to.
>> >
>> > id test
>> > uid=10003(test) gid=513(Domain Users) groups=513(Domain Users)
>> > id root
>> > uid=0(root) gid=0(wheel) groups=0(wheel),5(operator),512(Domain Admins)
>> >
>> > I can add users without a issue using smbldap-tools.
>> >
>> > I have test dovecot+postfix and I can send emails with that jail.
>> >
>> > Now I want to setup my spam gateway, is another jail called jail-B, I
>> have
>> > setup nss_ldap+pam_ldap to contact my PDC(jail-A) and is working:
>> >
>> > id user1
>> > uid=10002(user1) gid=513(Domain Users) groups=513(Domain Users)
>> > id test
>> > uid=10003(test) gid=513(Domain Users) groups=513(Domain Users)
>> >
>> > Now, the part is the one is not working is postfix+ policyd-weight.
>> >
>> > Went I test with other machine in the network using telnet, for some
>> reason
>> > once postfix accept the mail wants to send the email to the outside not
>> > internally. I have setup transport to send the email jail-A but I don't
>> see
>> > any task doing this, check:
>> >
>> > Apr 8 07:02:01 filtro postfix/qmgr[6723]: 97002BB47C2: from=<te...@X.org
>> >,
>> > size=409, nrcpt=1 (queue active)
>> > Apr 8 07:02:04 filtro postfix/smtpd[6727]: connect from filtro.X.org
>> > [192.168.49.7]
>> > Apr 8 07:02:31 filtro postfix/smtp[6725]: connect to X.org[X.Y.Z.W]:25:
>> > Operation timed out
>> > Apr 8 07:02:31 filtro postfix/smtp[6725]: 97002BB47C2: to=<us...@X.org
>> >,
>> > relay=none, delay=869, delays=839/0.03/30/0, dsn=4.4.1, status=deferred
>> > (connect to X.org[X.Y.Z.W]:25: Operation timed out)
>>
>> You say that X.org should be delivered locally. Postfix doesn't think
>> X.org is a local domain.
>>
>> > Apr 8 07:10:00 filtro postfix/sendmail[6763]: fatal: root(0): No
>> recipient
>> > addresses found in message header
>>
>> This appears that you've used "sendmail -t" to inject some mail, and
>> there was no To: header.
>> Don't rely on headers for mail routing.
>>
>>
>> >
>> > X.Y.Z.W --> Public address.
>> >
>> > My postfix settings are this:
>> >
>> > alias_maps = hash:/etc/aliases
>> > command_directory = /usr/local/sbin
>> > config_directory = /usr/local/etc/postfix
>> > daemon_directory = /usr/local/libexec/postfix
>> > data_directory = /var/db/postfix
>> > debug_peer_level = 2
>> > home_mailbox = Maildir/
>> > html_directory = /usr/local/share/doc/postfix
>> > inet_interfaces = all
>> > local_destination_concurrency_limit = 2
>> > mail_owner = postfix
>> > mailq_path = /usr/local/bin/mailq
>> > manpage_directory = /usr/local/man
>> > mydomain = X.org
>> > myhostname = filtro.X.org
>>
>> You might want to add
>> mydestination = $mydomain $myhostname localhost
>>
>>
>> > myorigin = $mydomain
>> > newaliases_path = /usr/local/bin/newaliases
>> > queue_directory = /var/spool/postfix
>> > readme_directory = /usr/local/share/doc/postfix
>> > relay_domains = $transport_maps
>>
>> Bad idea. If you add a transport for eg. hotmail, you become an
>> instant open relay. Don't reuse transport_maps this way.
>>
>> If mail is delivered locally on this box, relay_domains should be
>> explicitly set empty.
>> relay_domains =
>>
>>
>> > sample_directory = /usr/local/etc/postfix
>> > sendmail_path = /usr/local/sbin/sendmail
>> > setgid_group = maildrop
>> > smtpd_delay_reject = yes
>> > smtpd_helo_required = yes
>> > smtpd_recipient_restrictions = permit_mynetworks,
>> > reject_unauth_destination, reject_non_fqdn_recipient,
>> > reject_invalid_helo_hostname, check_policy_service
>> > inet:[192.168.49.7]:12525
>> > soft_bounce = no
>> > transport_maps = hash:/usr/local/etc/postfix/transport
>> > unknown_local_recipient_reject_code = 550
>> >
>> > Now, my transport file is:
>> >
>> > nis.X.org smtp:[192.168.49.6] ----->jail-A
>> >
>> > Is created: transport.db
>> >
>> > Another think, in the log I don't see went is touching "policyd-weight:
>> > 12525" or this is just for the outside connections?
>>
>> Mail that's permitted by "permit_mynetworks" or submitted via the
>> sendmail(1) interface won't trigger the policy server in your config.
>>
>>
> Thanks Noel for your quick answer, just would like to inform u that this is
> a spam server not a email server, once this server accept the email, he need
> to send it to the real mail server, is other machine in the network(other
> jail).
>
> This is why I'm using the transport stuff, if exist a more secure way
> please let me know, spam server + email server exist in the same
> network(jails).
>
> The test was made with telnet, about the sendmail, I don't know went I
> setup something about sendmail, I just have been working with postfix.
>
> Thanks again!!!
>
>
>> -- Noel Jones
>>
>
>
Fix it:

alias_maps = hash:/etc/aliases
command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
content_filter = amavisfeed:[127.0.0.3]:10024
daemon_directory = /usr/local/libexec/postfix
data_directory = /var/db/postfix
debug_peer_level = 2
home_mailbox = Maildir/
html_directory = /usr/local/share/doc/postfix
inet_interfaces = all
local_destination_concurrency_limit = 2
mail_owner = postfix
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
mydomain = X.org
myhostname = filtro.X.org
myorigin = $mydomain
newaliases_path = /usr/local/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/local/share/doc/postfix
relay_domains = $transport_maps
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
smtpd_recipient_restrictions = permit_mynetworks,
reject_unauth_destination, reject_non_fqdn_recipient,
reject_invalid_helo_hostname, check_policy_service
inet:[127.0.0.3]:12525
soft_bounce = no
transport_maps = hash:/usr/local/etc/postfix/transport
unknown_local_recipient_reject_code = 550

smtp inet n - n - - smtpd

amavisfeed unix - - n - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
-o disable_dns_lookups=yes
# -o max_use=20
127.0.0.3:10025 inet n - n - - smtpd
-o content_filter=
-o receive_overrride_options=no_unknown_recipient_checks
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_delay_reject=no
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks=127.0.0.0/8
-o smtpd_error_sleep_time=0
-o smtpd_soft_error_limit=1001
-o smtpd_hard_error_limit=1000
-o smtpd_client_connection_count_limit=0
-o smtpd_client_connection_rate_limit=0
-o strict_rfc821_envelopes=yes

One of my issues was that this jail had 192.168.49.7 and amavisd didn't like
it, as soon as I change the settings above and change my jail to 127.0.0.3
everything start working.

Thanks!!!


------------------------------


End of freebsd-questions Digest, Vol 305, Issue 13
**************************************************

0 new messages