Sasl passthrough authentication

2010-10-07 Thread Indexer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I am attempting to setup SASL passthrough authentication on a server. 

I have install and configured saslauthd, and plan to use this with kerberos5

When i attempt to use the command

testsaslauthd -u will...@realm -p supersecretpassword

I get the following in /var/log/messages.

Oct  7 16:37:13 blackrabbit saslauthd[1557]: auth_krb5: k5support_verify_tgt

[r...@blackrabbit ~]# saslauthd -a kerberos5 -d -V
saslauthd[1555] :main: num_procs  : 5
saslauthd[1555] :main: mech_option: NULL
saslauthd[1555] :main: run_path   : /var/run/saslauthd
saslauthd[1555] :main: auth_mech  : kerberos5
saslauthd[1555] :ipc_init: using accept lock file: 
/var/run/saslauthd/mux.accept
saslauthd[1555] :detach_tty  : master pid is: 0
saslauthd[1555] :ipc_init: listening on socket: /var/run/saslauthd/mux
saslauthd[1555] :main: using process model
saslauthd[1555] :have_baby   : forked child: 1556
saslauthd[1556] :get_accept_lock : acquired accept lock
saslauthd[1555] :have_baby   : forked child: 1557
saslauthd[1555] :have_baby   : forked child: 1558
saslauthd[1555] :have_baby   : forked child: 1559
saslauthd[1557] :rel_accept_lock : released accept lock
saslauthd[1558] :get_accept_lock : acquired accept lock
saslauthd[1557] :do_auth : auth failure: [user=will...@realm] 
[service=imap] [realm=] [mech=kerberos5] [reason=saslauthd internal error]

I have looked for help on this, and sadly can only find that i should have a 
host/f...@realm principal in my /etc/krb5.keytab . I have already done this 
however. /etc/hosts also corresponds with this correctly and my servers fqdn is 
listed inside. (host/blackrabbit.re...@realm)

My krb5kdc log shows 

Oct 07 16:39:07 blackrabbit.realm krb5kdc[868](info): AS_REQ (4 etypes {18 17 
16 23}) 127.0.0.1: ISSUE: authtime 1286431747, etypes {rep=16 tkt=16 ses=16}, 
will...@realm for krbtgt/re...@realm

I know that i am missing something obvious, but any help or suggestions would 
be appreciated 

Sincerely

William Brown

pgp.mit.edu



-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)

iQIcBAEBAgAGBQJMrWUxAAoJEHF16AnLoz6JvrUP/3QTMDtubHs+3OFrujKssQ2W
83LIYlV1lzv3lLkT5BlgudiFqUmVFI2JVZ0/iq8xNUJ8pITFcay+YO7XVkBBq6KI
RDUKdL02b9Z6eV8SXtF20ppT/Z3vvAXxLcwb8/KLAdf6lknf+FhQG07PaOOtf5Um
crgJbVz4mXGR4/+nYXwfWu4WXzBEyEEIbgN6x0RGqg0deWiRfdaG0/VocYM6TSXg
nEDXxWu8eLaKf3tfIiPjuvPaEFTCTreiVRiS7wG7H+UuBo4Wc9A0aPLnchdVn4Xb
POgklHOGKb3W+MrlRSseioOscxTdr+7IB3vDB5TE7uaQuCIOc05pwAWA6PsLjOho
zoTkUpmzA8MRr08AU2Qm6IChEHI+1idpaxaEpgCOUuteBl2GM6WZZBoNqFXINAm+
T7wP4UbH78xT8UYrVbBz9n98/H+Oo8LzX44ov+btQT2CfjQgE3jQpSoJtd8ePSJJ
pRxs/2IOqukPm+tUJH2XLGhpnf2BMUz89Y5NXKF+WF4aQmqihxfvzb/ZDGvstCOw
ch7Eg2+AH2V816Ot9ZHPLZrJzqkTWMORGUVPDjyRlTqIvYUm49MNtog5Vlr7AHDl
Ejgzsjb8FUKgHK17bQSZoPc48bRTwp3As00lnsRDp7xZxKyDvpb36ETVFZMry9WJ
a/1zkAIqMd5/fiWHa0gw
=lI71
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


postfix installed in base, mailwrapper spins using 100% CPU

2010-10-07 Thread Bruce Cran
Hi,

I installed a new server recently with postfix. I first rebuilt world using 
WITH_SENDMAIL=no and removed the sendmail files using 'make delete-old'. I 
installed postfix in /usr but now mailwrapper doesn't work - it runs using 
100% CPU and never quits. I suspect it might be stuck in a loop trying to run 
the sendmail binary and being redirected back to itself. So 
/etc/mail/mailer.conf contains:

sendmail/usr/sbin/sendmail
send-mail   /usr/sbin/sendmail
mailq   /usr/sbin/sendmail
newaliases  /usr/sbin/sendmail

and /usr/sbin/sendmail is:

lrwxr-xr-x  1 root  wheel  21 Oct  2 09:50 /usr/sbin/sendmail - 
/usr/sbin/mailwrapper

Should it actually be the sendmail binary that postfix installs, and if so I'm 
wondering how it could have ended up being a symlink?

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


Re: Like it or not, Theo has a point... freebsd is shipping export-restricted software in the core

2010-10-07 Thread Gonzalo Nemmi

El 07/10/2010 02:18 a.m., Rob Farmer escribió:

On Wed, Oct 6, 2010 at 20:38, Gonzalo Nemmigne...@gmail.com  wrote:


As a lawyer, no matter how much I review your set up, it´s a _fact_ that a
license place in a place like
/usr/src/sys/contrib/dev/acpica/hardware/hwsleep.c, that is to say, lost
amongs a gazillion files: _will_ scape any review.

Furthermore, you can count on legal advise about the thing you tell you
lawyer to review, but if you ignore _what_ you want to get reviewed: you
can´t count on anyone knowing it for you.


I would assume that such a review would involve extracting all the
licenses in the source tree, eliminating the duplicates, and having
those reviewed. I'm saying I don't find the oh I missed that one
argument convincing, because if there is the possibility of missing a
license, then you aren't looking closely enough in the first place.


I would assume you already did that before walking into my office to ask 
me about the set of licenses up for a review ... otherwise, there´s no 
way to me to look close enough where I wasn´t asked to look ...


If you go tell your Dr. you have a simple cof and a runy nose, he won´t 
ask you to go trhough a colonoscopy or a brain tomography ... and, 
_please_, _by_all_means_ don´t count on him finding anything on your 
colon or in your brain in that case.




This license is not just in
src/sys/contrib/dev/acpica/hardware/hwsleep.c - it is in all the files
within the acpica contrib directory, plus the upstream vendor states
that it applies to the entire tarball on their website. You should
reasonably expect that each piece of software (ie directory) within
contrib may be under a different license and needs to be reviewed.


It´s not about what a lawyer or an accountant expects or doesn´t.

It´s about what _you_, who know your way around your business (only you 
know your code, the licenses it contains and where) a lot better than he 
(who actually only knows his way around his business), ask him to 
review. If you didn´t: don´t count on him jumping at you answering a 
question that was never asked in the first place, regardless of whether 
the license is on every acpica file or any file on the scheduler or on 
the bluetooth, usb or tcp/ip stack or anywhere else ...



Making the license more visible may be a good idea, but doesn't
materially change the situation any.


It does by making it visible and thus telling potential
exporters/re-exporters watch out for this one. Ask your lawyer about it´s
terms and conditions.


What I meant by doesn't materially change the situation any is that
everything exported from the US should be considered under export
restrictions unless proven otherwise. Jung-uk Kim says:

Historically FreeBSD never touched the license header.  However, I am
going to do it next time to avoid confusions.
( http://lists.freebsd.org/pipermail/freebsd-questions/2010-October/222451.html
)

I don't think this makes a bit of difference (it fact it would be
somewhat misleading) since the export restrictions are a valid law and
dropping clauses from the license doesn't change that - are you saying
I'm wrong here?


Im saying what I already said.

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


Re: Cache Memory in top command

2010-10-07 Thread Scott Bennett
 On Wed, 29 Sep 2010 12:42:30 +0100 Bruce Cran br...@cran.org.uk
wrote:
On Wed, 29 Sep 2010 08:57:09 +0200
Bas Smeelen b.smee...@ose.nl wrote:

  *Cache:* number of clean pages caching data that are available for
 immediate reallocation
 http://www.freebsd.org/cgi/man.cgi?query=topsektion=1
 http://www.freebsd.org/cgi/man.cgi?query=topsektion=1

I believe the Cache value is almost totally unrelated to the
amount of memory used for caching: FreeBSD has a unified buffer cache
so any memory is available for use as cache. Unlike Linux, you can't
look at the line in 'top' to see how much memory is being used for
buffers and cache.

You can find more information about the VM architecture at
http://www.freebsd.org/doc/en/books/arch-handbook/vm.html .

 The top(1) man page is clearly in error, at least on FreeBSD systems.
The descriptions of the Active, Inact, Wired, Cache, Buf, and Free fields
are all wrong inasmuch as the word pages in each should instead be bytes.
For example, top on my system at present shows:

Mem: 1099M Active, 401M Inact, 262M Wired, 88M Cache, 112M Buf, 143M Free

Consider the value given for Wired (i.e., page-fixed pages, which cannot
exceed the number of page frames on the machine, of course.) Now, either
M has some extraordinary definition, or it means mega, though presumably
in the classical computing sense of the power of 2 that is closest to one
million.  My machine has 2 GB of RAM, so it is quite clearly an error to say
that there are 262 megapages (even assuming base pages (4 KB/page on i386
and amd64) and not superpages) on this machine.  Note that 262 megapages
would be 4096 bytes/page * 262 * 1024 * 1024 pages) or 1048 GB, which I
suspect is rather more than FreeBSD kernels currently support, especially
in i386, which is what my system is running.


  Scott Bennett, Comm. ASMELG, CFIAG
**
* Internet:   bennett at cs.niu.edu  *
**
* A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army.   *
*-- Gov. John Hancock, New York Journal, 28 January 1790 *
**
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Cache Memory in top command

2010-10-07 Thread Michel Talon


Bruce Cran said:

 The top(1) man page is clearly in error, at least on FreeBSD systems.

Here is an answer to a similar question given by John Dyson the author
of the FreeBSD VM system.
http://groups.google.fr/group/comp.unix.bsd.freebsd.misc/browse_thread/thread/7d3d28b807640847/9c081931470adefb?hl=frq=jdyson+ctive,+Inact,+Wired,+Cache,+Buf#9c081931470adefb

Lowell Gilbert wrote:
 Nospam nos...@no-nonsense.org writes:

  Here you see what I get to see when I use top (ofcourse it's at one
  certain
  time...). Why is there so much Inactive memory? Why isn't that
  memory Free?
  Is this correct, or is there some bad application?

 It's correct.  There's a slogan that goes free memory is wasted
 memory.  Alternatively, you could look at inactive memory as being
 free if that makes you happier.

The memory stats are gathered, and a semi-layered state of the memory
pages are presented.  Inactive memory is quickly reusable, but is deemed
to be statistically inactive.  The wasted memory in the system is indeed
the memory marked 'free.'  Most of the other memory is used for other (caching)
purposes.

If you look at the latest version of 'top', Active, Inact, Wired and
Cache memory are all memory that contain mostly usable data.  Buf is
sort of a subset of Wired, and Free is totally disused.  Active memory
is mapped into processes, Inact memory might be mapped into processes,
and might be staged for being paged out.  Wired memory is mapped into
the kernel, and Cache memory is unmapped but still retains potentially
interesting data.  When a system is moderately heavily used, the Free
memory is actually kept small in amount, and is indeed the 'wasted'
memory in the system.

One time, I wrote some code that estimated the 'free' memory in the
system, and it isn't really very intuitive.  Since FreeBSD has VM memory
management, the amount of free real memory is tricky to calculate.  The
best thing to believe (if you can depend on paging), is that the system
will try to maintain a proper balance of memory usage. 

And elsewhere he says:

Cache  are the pages that are available for quick reuse.  Inact and
Active are part of the staging algorithm, where Inact is use as a 2nd
chance and staging for cleaning (writing changed data.) Free are also
pages that are available for quick reuse, but have no data, and are
available at interrupt time.

The stats scheme includes some stats associatiated with active pages
also. 



-- 

Michel TALON

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


Captcha image does not load

2010-10-07 Thread Jack L. Stone
Folks:

Please bear with me on this one. Am using FBSD-7.0p9 and PHP52.

Have been using a Captcha protection against robots for a download section
of the server. It worked just fine since installed for a couple of years,
even with prior versions of PHP5. However, the captcha suddenly stopped
loading the initial image and required multiple clicks (variable times at
that) to get it to load an image that could be used by the customer. Just
shows the little x as broken link to image. Nothing tried has solved the
issue. Had to add text telling people to keep clicking if an image is not
seen.

Anyone seen this and have any suggestions on how to fix other than finding
a different captcha script?.

Help appreciated.

All the best,
Jack

(^_^)
Happy trails,
Jack L. Stone

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


Re: Cache Memory in top command

2010-10-07 Thread RW
On Thu, 7 Oct 2010 06:13:42 -0500 (CDT)
Scott Bennett benn...@cs.niu.edu wrote:

  On Wed, 29 Sep 2010 12:42:30 +0100 Bruce Cran br...@cran.org.uk
 wrote:

 You can find more information about the VM architecture at
 http://www.freebsd.org/doc/en/books/arch-handbook/vm.html .
 
  The top(1) man page is clearly in error, at least on FreeBSD
 systems. The descriptions of the Active, Inact, Wired, Cache, Buf,
 and Free fields are all wrong inasmuch as the word pages in each
 should instead be bytes. For example, top on my system at present
 shows:
 
 Mem: 1099M Active, 401M Inact, 262M Wired, 88M Cache, 112M Buf, 143M
 Free
 
 Consider the value given for Wired (i.e., page-fixed pages, which
 cannot exceed the number of page frames on the machine, of course.)
 Now, either M has some extraordinary definition, or it means
 mega, though presumably in the classical computing sense of the
 power of 2 that is closest to one million. 

It does actually say, just above, that M and K are megabytes and
kilobytes. It is wrong though, in that it has number of pages when
it should have memory from pages or just pages 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: postfix installed in base, mailwrapper spins using 100% CPU

2010-10-07 Thread Frank Shute
On Thu, Oct 07, 2010 at 10:40:22AM +0100, Bruce Cran wrote:

 Hi,
 
 I installed a new server recently with postfix. I first rebuilt world using 
 WITH_SENDMAIL=no and removed the sendmail files using 'make delete-old'. I 
 installed postfix in /usr but now mailwrapper doesn't work - it runs using 
 100% CPU and never quits. I suspect it might be stuck in a loop trying to run 
 the sendmail binary and being redirected back to itself. So 
 /etc/mail/mailer.conf contains:
 
 sendmail/usr/sbin/sendmail
 send-mail   /usr/sbin/sendmail
 mailq   /usr/sbin/sendmail
 newaliases  /usr/sbin/sendmail
 
 and /usr/sbin/sendmail is:
 
 lrwxr-xr-x  1 root  wheel  21 Oct  2 09:50 /usr/sbin/sendmail - 
 /usr/sbin/mailwrapper
 
 Should it actually be the sendmail binary that postfix installs, and if so 
 I'm 
 wondering how it could have ended up being a symlink?
 

You should use src.conf(5) and set WITHOUT_SENDMAIL=yes to avoid
building sendmail nowadays.

Postfix normally (when installed from ports) installs a fake
sendmail binary in /usr/local/bin. So mailer.conf should contain the
following:

#
# Execute the Postfix sendmail program, named /usr/local/sbin/sendmail
#
sendmail/usr/local/sbin/sendmail
send-mail   /usr/local/sbin/sendmail
mailq   /usr/local/sbin/sendmail
newaliases  /usr/local/sbin/sendmail

and rc.conf should have:

sendmail_enable=NONE



Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html


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


Re: Cache Memory in top command

2010-10-07 Thread Bruce Cran
On Thu, 7 Oct 2010 14:42:06 +
Michel Talon ta...@lpthe.jussieu.fr wrote:

 Bruce Cran said:
 
  The top(1) man page is clearly in error, at least on FreeBSD
  systems.

I did not say that.

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


Re: postfix installed in base, mailwrapper spins using 100% CPU

2010-10-07 Thread Bruce Cran
On Thu, 7 Oct 2010 14:38:54 +0100
Frank Shute fr...@shute.org.uk wrote:

 You should use src.conf(5) and set WITHOUT_SENDMAIL=yes to avoid
 building sendmail nowadays.

I don't know why I said I had WITH_SENDMAIL=no, because I actually have
WITHOUT_SENDMAIL=yes in /etc/src.conf!

 Postfix normally (when installed from ports) installs a fake
 sendmail binary in /usr/local/bin. 

I think the problem occurs because in the OPTIONS menu I told it to
install to /usr:

INST_BASE Install into /usr and /etc/postfix

I guess I need to remove /usr/sbin/sendmail and reinstall postfix.

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


if_bwn woes

2010-10-07 Thread Eitan Adler
On a fresh 8.1-RELEASE install

ifconfig wlan0 scan results in no output and takes forever (ie - it hangs)
ifconfig wlan0 ssid my_ssid
dhclient wlan0
results in no link being discovered

Here is some relevant system config and such to help diagnose the problem:

#ifconfig wlan0 create wlandev bwn0

#ifconfig bwn0
bwn0: flags=8843UP,BROADCAST,RUNNIN,SIMPLEX,MULTICAST metric 0 mtu 2290
   ether xx:yy:zz:xx:yy:zz
   media: IEEE 8.2.11 Wireless Ethernet autoselect mode 11g
   status: associated

# cat /boot/loader.conf |head -2
bwn_b4_lp_ucode_load=YES
if_bwn_load=YES

#kldstat |grep bwn
2 1 0xc0fb6000 37248 if_bwn.ko
3 2 0xc0fee000 a26c siba_bwn.ko
7 1 0xc1078000 2cbd8 bwn_v4_lp_ucode

#pciconf -lv | grep -A3 bwn
siba_b...@pci0:4:0:0:  class=0x028000 card=0x04b514e4 chip=0x431514e4
rev=0x01 hdr=0x00
vender = 'Broadcom Corporation'
device = 'Broadcom Wireless b/g (BCM4315/BCM22062000)'
class= network

#uname -rms
FreeBSD 8.1-RELEASE i386

On a Lenovo G530

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


Re: Cache Memory in top command

2010-10-07 Thread Bas Smeelen
On 10/07/2010 03:34 PM, RW wrote:
 On Thu, 7 Oct 2010 06:13:42 -0500 (CDT)
 Scott Bennett benn...@cs.niu.edu wrote:


   
  The top(1) man page is clearly in error, at least on FreeBSD
 systems. The descriptions of the Active, Inact, Wired, Cache, Buf,
 and Free fields are all wrong inasmuch as the word pages in each
 should instead be bytes. For example, top on my system at present
 shows:

 Mem: 1099M Active, 401M Inact, 262M Wired, 88M Cache, 112M Buf, 143M
 Free

 Consider the value given for Wired (i.e., page-fixed pages, which
 cannot exceed the number of page frames on the machine, of course.)
 Now, either M has some extraordinary definition, or it means
 mega, though presumably in the classical computing sense of the
 power of 2 that is closest to one million. 
 
 It does actually say, just above, that M and K are megabytes and
 kilobytes. It is wrong though, in that it has number of pages when
 it should have memory from pages or just pages 
   
Thank you both
I have submitted a pr with patch for the man page



DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, 
disclosure, copying,
distribution or reliance on any of it by anyone else is prohibited. If you have 
received it
by mistake please let us know by reply and then delete it from your system.

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


Re: if_bwn woes

2010-10-07 Thread Paul B Mahol
On 10/7/10, Eitan Adler li...@eitanadler.com wrote:
 On a fresh 8.1-RELEASE install

 ifconfig wlan0 scan results in no output and takes forever (ie - it hangs)
If you set wlan0 for manual roaming it will not hang.

Use 'ifconfig wlan0 list scan' instead.

 ifconfig wlan0 ssid my_ssid
 dhclient wlan0
 results in no link being discovered

 Here is some relevant system config and such to help diagnose the problem:

 #ifconfig wlan0 create wlandev bwn0

 #ifconfig bwn0
 bwn0: flags=8843UP,BROADCAST,RUNNIN,SIMPLEX,MULTICAST metric 0 mtu 2290
ether xx:yy:zz:xx:yy:zz
media: IEEE 8.2.11 Wireless Ethernet autoselect mode 11g
status: associated

 # cat /boot/loader.conf |head -2
 bwn_b4_lp_ucode_load=YES
 if_bwn_load=YES

 #kldstat |grep bwn
 2 1 0xc0fb6000 37248 if_bwn.ko
 3 2 0xc0fee000 a26c siba_bwn.ko
 7 1 0xc1078000 2cbd8 bwn_v4_lp_ucode

 #pciconf -lv | grep -A3 bwn
 siba_b...@pci0:4:0:0:  class=0x028000 card=0x04b514e4 chip=0x431514e4
 rev=0x01 hdr=0x00
 vender = 'Broadcom Corporation'
 device = 'Broadcom Wireless b/g (BCM4315/BCM22062000)'
 class= network

 #uname -rms
 FreeBSD 8.1-RELEASE i386

 On a Lenovo G530

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

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


Re: if_bwn woes

2010-10-07 Thread Eitan Adler

 ifconfig wlan0 scan results in no output and takes forever (ie - it hangs)
 If you set wlan0 for manual roaming it will not hang.

 Use 'ifconfig wlan0 list scan' instead.
That worked, thanks.

dhclient still results in no link being found.


 ifconfig wlan0 ssid my_ssid
 dhclient wlan0
 results in no link being discovered

 Here is some relevant system config and such to help diagnose the problem:

 #ifconfig wlan0 create wlandev bwn0

 #ifconfig bwn0
 bwn0: flags=8843UP,BROADCAST,RUNNIN,SIMPLEX,MULTICAST metric 0 mtu 2290
    ether xx:yy:zz:xx:yy:zz
    media: IEEE 8.2.11 Wireless Ethernet autoselect mode 11g
    status: associated

 # cat /boot/loader.conf |head -2
 bwn_b4_lp_ucode_load=YES
 if_bwn_load=YES

 #kldstat |grep bwn
 2 1 0xc0fb6000 37248 if_bwn.ko
 3 2 0xc0fee000 a26c siba_bwn.ko
 7 1 0xc1078000 2cbd8 bwn_v4_lp_ucode

 #pciconf -lv | grep -A3 bwn
 siba_b...@pci0:4:0:0:  class=0x028000 card=0x04b514e4 chip=0x431514e4
 rev=0x01 hdr=0x00
     vender = 'Broadcom Corporation'
     device = 'Broadcom Wireless b/g (BCM4315/BCM22062000)'
     class    = network

 #uname -rms
 FreeBSD 8.1-RELEASE i386

 On a Lenovo G530

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





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


Can not install ZendOptimizer

2010-10-07 Thread Phan Quoc Hien
Hello,
I'm trying install ZendOptimizer with my php5 and get this error:

freebsd# make install clean
 ===  ZendOptimizer-3.3.0.a cannot install: doesn't work with PHP version :
 5 (Doesn't support PHP 5).
 *** Error code 1

 Stop in /usr/ports/devel/ZendOptimizer.

Why error? ZendOptimizer port is older?
Thanks.
-- 
Best regards,
Mr.Hien
E-mail: phanquoch...@gmail.com
Website: www.mrhien.info
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeBSD on Amazon EC2

2010-10-07 Thread Thiago Esteves
Hello all,

Does someone seem got FreeBSD running on Amazon EC2? Anyone ever tried to
create a FreeBSD AMI for ec2?


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


Re: if_bwn woes

2010-10-07 Thread Paul B Mahol
On 10/7/10, Eitan Adler li...@eitanadler.com wrote:

 ifconfig wlan0 scan results in no output and takes forever (ie - it
 hangs)
 If you set wlan0 for manual roaming it will not hang.

 Use 'ifconfig wlan0 list scan' instead.
 That worked, thanks.

 dhclient still results in no link being found.

Are you sure that you setup is correct?
For example you can not connect to AP which require RSN authmode
if you configure wlan0 for OPEN authmode, you also may not
connect to AP if you are far away, because you are able
to receive and send doesn't mean AP can see your packets 

Try changing ucastrate to lower values.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Fwd: Canon Support Centre - Ref # 00066023

2010-10-07 Thread Patrick Ouellette
Actually what I see is a (probably untrained in Linux) customer service rep
apologizing to you for the issue you are having, and then pointing you to the
Linux driver.  I suspect English is not the service rep's native language
and the service rep is using a script to respond to the inquiry.

Clearly Canon supplies Linux drivers, so they intended the printer to be used
with Linux.  This is probably a by-product of supporting Mac OS X.

I would ask to have the issue escalated to the next level technician as the
marketing materials on Canon's web site state it works with:

Windows 2000/Server 2003 32bit/64bit and 
Mac OS 10.3.9 - or later (download); Linux, Citrix, Metaframe 
http://www.canon.com.au/en-au/For-You/Printers/LaserShot-Laser-Printers/LBP7200Cdn

Should they persist in claiming no support, ask them how you will be receiving
a refund for your printer as it does not work as advertised.

Good luck.

Pat
-- 

Patrick Ouellette p...@flying-gecko.net
ne4po (at) arrl (dot) net Amateur Radio: NE4PO 

What kind of change have you been in the world today?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can not install ZendOptimizer

2010-10-07 Thread Craig Butler
On Thu, 2010-10-07 at 21:24 +0700, Phan Quoc Hien wrote:
 Hello,
 I'm trying install ZendOptimizer with my php5 and get this error:
 
 freebsd# make install clean
  ===  ZendOptimizer-3.3.0.a cannot install: doesn't work with PHP version :
  5 (Doesn't support PHP 5).
  *** Error code 1
 
  Stop in /usr/ports/devel/ZendOptimizer.
 
 Why error? ZendOptimizer port is older?
 Thanks.

I am guessing now... remember just a guess!... the ZendOptimizer version
3.3.0.a doesn't work with php version 5

It is not supported.

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


Re: Can not install ZendOptimizer

2010-10-07 Thread Ryan Coleman
Phan,

Seeing as it was realeased in 2007, I would not be completely surprised.

What version of FreeBSD are you using?

--
Ryan

On Oct 7, 2010, at 9:57 AM, Craig Butler wrote:

 On Thu, 2010-10-07 at 21:24 +0700, Phan Quoc Hien wrote:
 Hello,
 I'm trying install ZendOptimizer with my php5 and get this error:
 
 freebsd# make install clean
 ===  ZendOptimizer-3.3.0.a cannot install: doesn't work with PHP version :
 5 (Doesn't support PHP 5).
 *** Error code 1
 
 Stop in /usr/ports/devel/ZendOptimizer.
 
 Why error? ZendOptimizer port is older?
 Thanks.
 
 I am guessing now... remember just a guess!... the ZendOptimizer version
 3.3.0.a doesn't work with php version 5
 
 It is not supported.
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

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


Re: Can not install ZendOptimizer

2010-10-07 Thread Phan Quoc Hien
First,Thank for all.
I used FreeBSD 8.1 with php 5.3.3, but ZendOptimizer seem not support for
php5?

On Thu, Oct 7, 2010 at 10:11 PM, Ryan Coleman ryan.cole...@cwis.biz wrote:

 Phan,

 Seeing as it was realeased in 2007, I would not be completely surprised.

 What version of FreeBSD are you using?

 --
 Ryan

 On Oct 7, 2010, at 9:57 AM, Craig Butler wrote:

  On Thu, 2010-10-07 at 21:24 +0700, Phan Quoc Hien wrote:
  Hello,
  I'm trying install ZendOptimizer with my php5 and get this error:
 
  freebsd# make install clean
  ===  ZendOptimizer-3.3.0.a cannot install: doesn't work with PHP
 version :
  5 (Doesn't support PHP 5).
  *** Error code 1
 
  Stop in /usr/ports/devel/ZendOptimizer.
 
  Why error? ZendOptimizer port is older?
  Thanks.
 
  I am guessing now... remember just a guess!... the ZendOptimizer version
  3.3.0.a doesn't work with php version 5
 
  It is not supported.
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org




-- 
Best regards,
Mr.Hien
E-mail: phanquoch...@gmail.com
Website: www.mrhien.info
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: if_bwn woes

2010-10-07 Thread Eitan Adler
On Thu, Oct 7, 2010 at 2:31 PM, Paul B Mahol one...@gmail.com wrote:
 On 10/7/10, Eitan Adler li...@eitanadler.com wrote:

 ifconfig wlan0 scan results in no output and takes forever (ie - it
 hangs)
 If you set wlan0 for manual roaming it will not hang.

 Use 'ifconfig wlan0 list scan' instead.
 That worked, thanks.

 dhclient still results in no link being found.

 Are you sure that you setup is correct?
 For example you can not connect to AP which require RSN authmode
 if you configure wlan0 for OPEN authmode, you also may not
 connect to AP if you are far away, because you are able
 to receive and send doesn't mean AP can see your packets 

 Try changing ucastrate to lower values.


I'm not really sure what ucastrate does - but here it goes:

$ifconfig wlan0 list scan|head -1
xyz 00:23:xx:yy:zz:aa:bb 1 54M -125:-95 102 E HTCAP WME
$ifconfig wlan0 ssid xyz
$dhclient wlan0
... no link ...
$ifconfig wlan0 ucastrate 9
$dhclient wlan0
... no link ...
$ifconfig wlan0 ucastrate 1
$dhclient wlan0
... no link ...

I'm fairly sure that I'm in an area where the signal reaches because
when I was using the ndis driver (on an old install) it worked.
This is a fresh install now.




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


Re: Can not install ZendOptimizer

2010-10-07 Thread Ivan Klymenko
В Thu, 7 Oct 2010 21:24:30 +0700
Phan Quoc Hien phanquoch...@gmail.com пишет:

 Hello,
 I'm trying install ZendOptimizer with my php5 and get this error:
 
 freebsd# make install clean
  ===  ZendOptimizer-3.3.0.a cannot install: doesn't work with PHP
  version : 5 (Doesn't support PHP 5).
  *** Error code 1
 
  Stop in /usr/ports/devel/ZendOptimizer.
 
 Why error? ZendOptimizer port is older?
 Thanks.

because it requires version 4.4.x or 5.2.x
and port php5 is version 5.3.x
you need install/use port lang/php4 or lang/php52
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Like it or not, Theo has a point... freebsd is shipping export-restricted software in the core

2010-10-07 Thread Brandon Gooch
On Wed, Oct 6, 2010 at 10:11 PM, Randal L. Schwartz
mer...@stonehenge.com wrote:
[SNIP]

 Or a third alternative... use the ACPI implementation from OpenBSD,
 which doesn't have such a restriction.

Port it! I'll test it for you (on 9-CURRENT and, if possible, a
backport to 8-STABLE).

In your opinion, how long will it take, and how difficult will the process be?

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


Re: if_bwn woes

2010-10-07 Thread Paul B Mahol
On 10/7/10, Eitan Adler li...@eitanadler.com wrote:
 On Thu, Oct 7, 2010 at 2:31 PM, Paul B Mahol one...@gmail.com wrote:
 On 10/7/10, Eitan Adler li...@eitanadler.com wrote:

 ifconfig wlan0 scan results in no output and takes forever (ie - it
 hangs)
 If you set wlan0 for manual roaming it will not hang.

 Use 'ifconfig wlan0 list scan' instead.
 That worked, thanks.

 dhclient still results in no link being found.

 Are you sure that you setup is correct?
 For example you can not connect to AP which require RSN authmode
 if you configure wlan0 for OPEN authmode, you also may not
 connect to AP if you are far away, because you are able
 to receive and send doesn't mean AP can see your packets 

 Try changing ucastrate to lower values.


 I'm not really sure what ucastrate does - but here it goes:

 $ifconfig wlan0 list scan|head -1
 xyz 00:23:xx:yy:zz:aa:bb 1 54M -125:-95 102 E HTCAP WME
 $ifconfig wlan0 ssid xyz
 $dhclient wlan0
 ... no link ...
 $ifconfig wlan0 ucastrate 9
 $dhclient wlan0
 ... no link ...
 $ifconfig wlan0 ucastrate 1
 $dhclient wlan0
 ... no link ...

 I'm fairly sure that I'm in an area where the signal reaches because
 when I was using the ndis driver (on an old install) it worked.
 This is a fresh install now.

Looks like you cant associate at all.
Also signal power is too low.

Why is INT (beacon interval of AP) 102 ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can not install ZendOptimizer

2010-10-07 Thread Ryan Coleman
Very strange situation you have.

I, too, am running 8 (8.0-RELEASE) and I can confirm the error.

But Isn't Zend part of the PHP5 codeblock?


On Oct 7, 2010, at 10:18 AM, Phan Quoc Hien wrote:

 First,Thank for all.
 I used FreeBSD 8.1 with php 5.3.3, but ZendOptimizer seem not support for
 php5?
 
 On Thu, Oct 7, 2010 at 10:11 PM, Ryan Coleman ryan.cole...@cwis.biz wrote:
 
 Phan,
 
 Seeing as it was realeased in 2007, I would not be completely surprised.
 
 What version of FreeBSD are you using?
 
 --
 Ryan
 
 On Oct 7, 2010, at 9:57 AM, Craig Butler wrote:
 
 On Thu, 2010-10-07 at 21:24 +0700, Phan Quoc Hien wrote:
 Hello,
 I'm trying install ZendOptimizer with my php5 and get this error:
 
 freebsd# make install clean
 ===  ZendOptimizer-3.3.0.a cannot install: doesn't work with PHP
 version :
 5 (Doesn't support PHP 5).
 *** Error code 1
 
 Stop in /usr/ports/devel/ZendOptimizer.
 
 Why error? ZendOptimizer port is older?
 Thanks.
 
 I am guessing now... remember just a guess!... the ZendOptimizer version
 3.3.0.a doesn't work with php version 5
 
 It is not supported.
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org
 
 
 
 
 -- 
 Best regards,
 Mr.Hien
 E-mail: phanquoch...@gmail.com
 Website: www.mrhien.info
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

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


Re: Can not install ZendOptimizer

2010-10-07 Thread Ryan Coleman
Ahh, ok. Ignore my last email then please. :)


On Oct 7, 2010, at 9:41 AM, Ivan Klymenko wrote:

 В Thu, 7 Oct 2010 21:24:30 +0700
 Phan Quoc Hien phanquoch...@gmail.com пишет:
 
 Hello,
 I'm trying install ZendOptimizer with my php5 and get this error:
 
 freebsd# make install clean
 ===  ZendOptimizer-3.3.0.a cannot install: doesn't work with PHP
 version : 5 (Doesn't support PHP 5).
 *** Error code 1
 
 Stop in /usr/ports/devel/ZendOptimizer.
 
 Why error? ZendOptimizer port is older?
 Thanks.
 
 because it requires version 4.4.x or 5.2.x
 and port php5 is version 5.3.x
 you need install/use port lang/php4 or lang/php52
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

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


Re: if_bwn woes

2010-10-07 Thread Eitan Adler
 Looks like you cant associate at all.
 Also signal power is too low.

 Why is INT (beacon interval of AP) 102 ?

These are the defaults - I have no idea what these numbers mean. What
should/could I be changing?



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


Re: LDAP Authentication from console

2010-10-07 Thread Kevin Mai
Didn't receive all the emails, thank god this maillist is indexed! ;)

login file:

http://pastebin.ca/1956943

sshd file:

http://pastebin.ca/1956946

system file:

http://pastebin.ca/1956948



- Mensaje original -
De: Jason jhelf...@e-e.com
Para: Dan Nelson dnel...@allantgroup.com
CC: Kevin Mai k...@mrecic.gov.ar, freebsd-questions 
freebsd-questions@freebsd.org
Enviados: Miércoles, 6 de Octubre 2010 14:00:08
Asunto: Re: LDAP Authentication from console

On Wed, Oct 06, 2010 at 11:59:53AM -0500, Dan Nelson thus spake:
In the last episode (Oct 06), Kevin Mai said:
 Hey guys,

 I've already configured PAM to authenticate against ldap and it works
 wonderful using ssh/su/sudo/etc, but when I try to log in from
 console it
 prompts:

 login: kma
 Password: 
 LDAP Password:  (same as the first one)
 Login Incorrect
 login:

Compare /etc/pam.d/login against one of your other pam services that
works. What I do on my servers is add pam_ldap to pam.d/system, then
blow away most
of the lines in the other files and replace them with

auth include system
account include system
session include system
password include system

, so I know everything uses the same configuration.

Back when I had used LDAP for authentication I also needed to edit
/etc/nsswitch.conf

Not sure if this is still the case, or if I was doing it incorrectly,
however not having didn't give me the ability to login via ldap.

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


Re: Can not install ZendOptimizer

2010-10-07 Thread Phan Quoc Hien
No solution for install ZendOptimizer for Php5 on FreeBSD from port? :(

On Thu, Oct 7, 2010 at 11:34 PM, Ryan Coleman ryan.cole...@cwis.biz wrote:

 Very strange situation you have.

 I, too, am running 8 (8.0-RELEASE) and I can confirm the error.

 But Isn't Zend part of the PHP5 codeblock?


 On Oct 7, 2010, at 10:18 AM, Phan Quoc Hien wrote:

  First,Thank for all.
  I used FreeBSD 8.1 with php 5.3.3, but ZendOptimizer seem not support for
  php5?
 
  On Thu, Oct 7, 2010 at 10:11 PM, Ryan Coleman ryan.cole...@cwis.biz
 wrote:
 
  Phan,
 
  Seeing as it was realeased in 2007, I would not be completely surprised.
 
  What version of FreeBSD are you using?
 
  --
  Ryan
 
  On Oct 7, 2010, at 9:57 AM, Craig Butler wrote:
 
  On Thu, 2010-10-07 at 21:24 +0700, Phan Quoc Hien wrote:
  Hello,
  I'm trying install ZendOptimizer with my php5 and get this error:
 
  freebsd# make install clean
  ===  ZendOptimizer-3.3.0.a cannot install: doesn't work with PHP
  version :
  5 (Doesn't support PHP 5).
  *** Error code 1
 
  Stop in /usr/ports/devel/ZendOptimizer.
 
  Why error? ZendOptimizer port is older?
  Thanks.
 
  I am guessing now... remember just a guess!... the ZendOptimizer
 version
  3.3.0.a doesn't work with php version 5
 
  It is not supported.
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  freebsd-questions-unsubscr...@freebsd.org
 
 
 
 
  --
  Best regards,
  Mr.Hien
  E-mail: phanquoch...@gmail.com
  Website: www.mrhien.info
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org




-- 
Best regards,
Mr.Hien
E-mail: phanquoch...@gmail.com
Website: www.mrhien.info
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can not install ZendOptimizer

2010-10-07 Thread Ryan Coleman
Phan, 

The solution looks like install PHP 5.2 (/usr/ports/lang/php52) and then 
install /usr/ports/devel/ZendOptimizer.

--
Ryan

On Oct 7, 2010, at 11:47 AM, Phan Quoc Hien wrote:

 No solution for install ZendOptimizer for Php5 on FreeBSD from port? :(
 
 On Thu, Oct 7, 2010 at 11:34 PM, Ryan Coleman ryan.cole...@cwis.biz wrote:
 
 Very strange situation you have.
 
 I, too, am running 8 (8.0-RELEASE) and I can confirm the error.
 
 But Isn't Zend part of the PHP5 codeblock?
 
 
 On Oct 7, 2010, at 10:18 AM, Phan Quoc Hien wrote:
 
 First,Thank for all.
 I used FreeBSD 8.1 with php 5.3.3, but ZendOptimizer seem not support for
 php5?
 
 On Thu, Oct 7, 2010 at 10:11 PM, Ryan Coleman ryan.cole...@cwis.biz
 wrote:
 
 Phan,
 
 Seeing as it was realeased in 2007, I would not be completely surprised.
 
 What version of FreeBSD are you using?
 
 --
 Ryan
 
 On Oct 7, 2010, at 9:57 AM, Craig Butler wrote:
 
 On Thu, 2010-10-07 at 21:24 +0700, Phan Quoc Hien wrote:
 Hello,
 I'm trying install ZendOptimizer with my php5 and get this error:
 
 freebsd# make install clean
 ===  ZendOptimizer-3.3.0.a cannot install: doesn't work with PHP
 version :
 5 (Doesn't support PHP 5).
 *** Error code 1
 
 Stop in /usr/ports/devel/ZendOptimizer.
 
 Why error? ZendOptimizer port is older?
 Thanks.
 
 I am guessing now... remember just a guess!... the ZendOptimizer
 version
 3.3.0.a doesn't work with php version 5
 
 It is not supported.
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org
 
 
 
 
 --
 Best regards,
 Mr.Hien
 E-mail: phanquoch...@gmail.com
 Website: www.mrhien.info
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org
 
 
 
 
 -- 
 Best regards,
 Mr.Hien
 E-mail: phanquoch...@gmail.com
 Website: www.mrhien.info
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

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


Re: Can not install ZendOptimizer

2010-10-07 Thread Phan Quoc Hien
Yes, Thank Ryan. But it's not clearly solution.

On Thu, Oct 7, 2010 at 11:55 PM, Ryan Coleman ryan.cole...@cwis.biz wrote:

 Phan,

 The solution looks like install PHP 5.2 (/usr/ports/lang/php52) and then
 install /usr/ports/devel/ZendOptimizer.

 --
 Ryan

 On Oct 7, 2010, at 11:47 AM, Phan Quoc Hien wrote:

  No solution for install ZendOptimizer for Php5 on FreeBSD from port? :(
 
  On Thu, Oct 7, 2010 at 11:34 PM, Ryan Coleman ryan.cole...@cwis.biz
 wrote:
 
  Very strange situation you have.
 
  I, too, am running 8 (8.0-RELEASE) and I can confirm the error.
 
  But Isn't Zend part of the PHP5 codeblock?
 
 
  On Oct 7, 2010, at 10:18 AM, Phan Quoc Hien wrote:
 
  First,Thank for all.
  I used FreeBSD 8.1 with php 5.3.3, but ZendOptimizer seem not support
 for
  php5?
 
  On Thu, Oct 7, 2010 at 10:11 PM, Ryan Coleman ryan.cole...@cwis.biz
  wrote:
 
  Phan,
 
  Seeing as it was realeased in 2007, I would not be completely
 surprised.
 
  What version of FreeBSD are you using?
 
  --
  Ryan
 
  On Oct 7, 2010, at 9:57 AM, Craig Butler wrote:
 
  On Thu, 2010-10-07 at 21:24 +0700, Phan Quoc Hien wrote:
  Hello,
  I'm trying install ZendOptimizer with my php5 and get this error:
 
  freebsd# make install clean
  ===  ZendOptimizer-3.3.0.a cannot install: doesn't work with PHP
  version :
  5 (Doesn't support PHP 5).
  *** Error code 1
 
  Stop in /usr/ports/devel/ZendOptimizer.
 
  Why error? ZendOptimizer port is older?
  Thanks.
 
  I am guessing now... remember just a guess!... the ZendOptimizer
  version
  3.3.0.a doesn't work with php version 5
 
  It is not supported.
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  freebsd-questions-unsubscr...@freebsd.org
 
 
 
 
  --
  Best regards,
  Mr.Hien
  E-mail: phanquoch...@gmail.com
  Website: www.mrhien.info
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  freebsd-questions-unsubscr...@freebsd.org
 
 
 
 
  --
  Best regards,
  Mr.Hien
  E-mail: phanquoch...@gmail.com
  Website: www.mrhien.info
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org




-- 
Best regards,
Mr.Hien
E-mail: phanquoch...@gmail.com
Website: www.mrhien.info
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


ssl problems

2010-10-07 Thread David Southwell

I have been having trouble with apache server which has ceased loading and 
other ports which have some dependency on openssl. I believe the problem may 
be due to some kind of ssl conflict but do not know how to recognise the cause 
or go about identifying and curing the problem.

System: freebsd 7.2 amd p3 generic quad core on intel

If I run ssl the response from the version shows 0.9.8e 23 Feb 2007.

OpenSSL version
OpenSSL 0.9.8e 23 Feb 2007
Pkg _ info reports:

dns1# pkg_info -o '*ssl*'
Information for dsssl-docbook-modular-1.79_1,1:

Origin:
textproc/dsssl-docbook-modular

Information for linux-openssl-0.9.7f_2:

Origin:
security/linux-openssl

Information for openssl-1.0.0_2:

Origin:
security/openssl

Information for php5-openssl-5.3.3_2:

Origin:
security/php5-openssl

Information for py26-openssl-0.10:

Origin:
security/py-openssl

Information for qca-ossl-2.0.0.b3_4:

Origin:
security/qca-ossl

Attempting to load the apache server monitoring with ktrace:
dns1# ktrace /usr/local/sbin/apachectl start
Apache/2.2.16 mod_ssl/2.2.16 (Pass Phrase Dialog)
Some of your private key files are encrypted for security reasons.
In order to read them you have to provide the pass phrases.

Server www.vizion2000.net:443 (RSA)
Enter pass phrase:

OK: Pass Phrase Dialog successful.
dns1# kdump ktrace_kdump_03
at the end of the kdump file I see the attempt to load fails as follows:
 12759 sh   RET   getrlimit 0
 12759 sh   CALL  setrlimit(RLIMIT_RSS,0x7fffdd20)
 12759 sh   RET   setrlimit 0
 12759 sh   CALL  getrlimit(RLIMIT_MEMLOCK,0x7fffddb0)
 12759 sh   RET   getrlimit 0
 12759 sh   CALL  setrlimit(RLIMIT_MEMLOCK,0x7fffddb0)
 12759 sh   RET   setrlimit 0
 12759 sh   CALL  getrlimit(RLIMIT_NPROC,0x7fffde40)
 12759 sh   RET   getrlimit 0
 12759 sh   CALL  setrlimit(RLIMIT_NPROC,0x7fffde40)
 12759 sh   RET   setrlimit 0
 12759 sh   CALL  getrlimit(RLIMIT_NOFILE,0x7fffded0)
 12759 sh   RET   getrlimit 0
 12759 sh   CALL  setrlimit(RLIMIT_NOFILE,0x7fffded0)
 12759 sh   RET   setrlimit 0
 12759 sh   CALL  getrlimit(RLIMIT_SBSIZE,0x7fffdf60)
 12759 sh   RET   getrlimit 0
 12759 sh   CALL  setrlimit(RLIMIT_SBSIZE,0x7fffdf60)
 12759 sh   RET   setrlimit 0
 12759 sh   CALL  getrlimit(RLIMIT_VMEM,0x7fffdff0)
 12759 sh   RET   getrlimit 0
 12759 sh   CALL  setrlimit(RLIMIT_VMEM,0x7fffdff0)
 12759 sh   RET   setrlimit 0
 12759 sh   CALL  dup2(0xb,0x1)
 12759 sh   RET   dup2 1
 12759 sh   CALL  close(0xb)
 12759 sh   RET   close 0
 12759 sh   CALL  dup2(0xc,0x2)
 12759 sh   RET   dup2 2
 12759 sh   CALL  close(0xc)
 12759 sh   RET   close 0
 12759 sh   CALL  getrlimit(RLIMIT_NOFILE,0x7fffe260)
 12759 sh   RET   getrlimit 0
 12759 sh   CALL  setrlimit(RLIMIT_NOFILE,0x7fffe260)
 12759 sh   RET   setrlimit 0
 12759 sh   CALL  read(0xa,0x5204c0,0x3ff)
 12759 sh   GIO   fd 10 read 380 bytes
is no longer supported.
echo Please edit httpd.conf to include the SSL configuration 
settings
echo and then use apachectl start.
ERROR=2
;;
configtest)
$HTTPD -t
ERROR=$?
;;
status)
$LYNX $STATUSURL | awk ' /process$/ { print; exit } { print } '
;;
fullstatus)
$LYNX $STATUSURL
;;
*)
$HTTPD $ARGV
ERROR=$?
esac

exit $ERROR

   
 12759 sh   RET   read 380/0x17c
 12759 sh   CALL  fork
 12759 sh   RET   fork 12762/0x31da
 12759 sh   CALL  getpgrp
 12759 sh   RET   getpgrp 12759/0x31d7
 12759 sh   CALL  wait4(0x,0x7fffe1cc,WUNTRACED,0)
 12759 sh   RET   wait4 12762/0x31da
 12759 sh   CALL  exit(0)

Please ask for further info.

Thanks in advance
David

  

Photographic Artist
Permanent Installations  Design
Creative Imagery and Advanced Digital Techniques
High Dynamic Range Photography  Official Portraiture
Combined darkroom  digital creations
 Systems Adminstrator for the vizion2000.net network
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Like it or not, Theo has a point... freebsd is shipping export-restricted software in the core

2010-10-07 Thread Rob Farmer
On Thu, Oct 7, 2010 at 03:23, Gonzalo Nemmi gne...@gmail.com wrote:
 Im saying what I already said.

And yet, you haven't really addressed my core point.

Consider the following scenario:
I write a tutorial on how to use GCC (a program originally written in
the US by a US citizen and stills recieves significant contributions
from US citizens) to compile programs for targeting ICBM's. I burn my
tutorial plus a copy of GCC to a CD and ship it to Supreme Leader Kim
Jong-il's residence, then he sends me $50,000 cash in exchange.

The GPL has no problems whatsoever with this (it never addresses
exports, says there shall be no discrimination against certain fields
of endeavor, and the added services and support sidestep any sales
issues).

Yet, do you really think this would be a-ok with customs? There are
various laws that covered the situation, in addition to the license -
for example, there are restrictions on transporting more than $9,999
worth of paper currency across the US border in a single transaction
(even just to Canada).

My point is that the US export restrictions apply to the Intel ACPI
code, they apply to most of the GNU toolchain, they apply to work
Yahoo has paid people to do, etc. FreeBSD, like it or not, is largely
under the jurisdiction of US export law. You are saying that there
should be a disclaimer telling people to watch out for this one. Ask
your lawyer about it's terms and conditions. People shouldn't be
watching out for a particular license, but rather the broader
implications of distributing stuff internationally, which, due to
cold-war era laws, can involve a significant prison sentence if done
wrong. If you are interested in adding a disclaimer, consider the
following one from Red Hat's legal department, which covers the
*entire* distribution:

By clicking on and downloading Fedora, you agree to comply with the
following terms and conditions:

Fedora software and technical information is subject to the U.S.
Export Administration Regulations and other U.S. and foreign law, and
may not be exported or re-exported to certain countries (currently
Cuba, Iran, Iraq, North Korea, Sudan, and Syria) or to persons or
entities prohibited from receiving U.S. exports (including those (a)
on the Bureau of Industry and Security Denied Parties List or Entity
List, (b) on the Office of Foreign Assets Control list of Specially
Designated Nationals and Blocked Persons, and (c) involved with
missile technology or nuclear, chemical or biological weapons). You
may not download Fedora software or technical information if you are
located in one of these countries, or otherwise affected by these
restrictions. You may not provide Fedora software or technical
information to individuals or entities located in one of these
countries or otherwise affected by these restrictions. You are also
responsible for compliance with foreign law requirements applicable to
the import and use of Fedora software and technical information.

Perhaps there are loopholes (I export to Canada, then a Canadian
exports to somewhere else) but this doesn't change the situation for
people in the US, like the OP. You are talking about reviewing the
licenses, but exporting is also matter of criminal law. If I consulted
a lawyer about doing such an export, it is reasonable to expect that
they would bring this up, rather than just summarize license terms on
a one-off basis.

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


Help with RealTek 8201 / rlphy

2010-10-07 Thread Mark Moellering
 I am installing FreeBSD 8.1 on an MSI wind notebook, which has a 
RealTek 8201 wireless chip.  The kernel acknowledges the chip as rlphy0 
on mii but I have no idea of how to actually configure it.

It shows up as miibus/rlphy in kldstat and as dev.rlphy.0
It does not show up under ifconfig

Thanks in advance

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


Re: LDAP Authentication from console

2010-10-07 Thread Indexer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 08/10/2010, at 3:09 AM, Kevin Mai wrote:

 Didn't receive all the emails, thank god this maillist is indexed! ;)

Very handy isnt it :)

Now, about you problem.

Remove the line auth  sufficient  /usr/local/lib/pam_ldap.so  no_warn and 
account required/usr/local/lib/pam_ldap.so  no_warn 
ignore_authinfo_unavail ignore_unknown_user from the login file. The login 
file includes system, so you only need to modify that.

In system make your file look like this


∙ #
∙ # $FreeBSD: src/etc/pam.d/system,v 1.1.30.1 2009/04/15 03:14:26 
kensmith Exp $
∙ #
∙ # System-wide defaults
∙ #
∙  
∙  
∙ # auth
∙ authsufficient  pam_opie.so no_warn 
no_fake_prompts
∙ authrequisite   pam_opieaccess.so   no_warn 
allow_local
∙ #auth   sufficient  pam_krb5.so no_warn 
try_first_pass
∙ #auth   sufficient  pam_ssh.so  no_warn 
try_first_pass
auth  sufficient  /usr/local/lib/pam_ldap.so  no_warn
∙ authrequiredpam_unix.so no_warn 
try_first_pass nullok
∙  
∙ # account
∙ #accountrequiredpam_krb5.so
∙ account requiredpam_login_access.so
account required/usr/local/lib/pam_ldap.so  no_warn 
ignore_authinfo_unavail ignore_unknown_user
∙ account requiredpam_unix.so
∙  
∙ # session
∙ #sessionoptionalpam_ssh.so
session required pam_permit.so
∙ session requiredpam_lastlog.so  no_fail
∙  
∙ # password
∙ #password   sufficient  pam_krb5.so no_warn 
try_first_pass
∙ passwordrequiredpam_unix.so no_warn 
try_first_pass

I have added 3 lines, they do not have a . preceding them


Now, after that, copy the system file to sshd. THEY SHOULD BE THE EXACT SAME. 
As it currently stands, Your ldap user can ssh into your server, but module 
order in pam is VERY important. 

BACKUP YOUR PAM.D DIRECTORY BEFORE YOU DO ANYTHING. pam is very touchy, and the 
slightest mistake it will just panic, and throw up its hands in defeat.

Remember when doing this, that you should hold a root terminal open, to edit 
these files. open a second terminal and test the following

1) You can ssh in as a user in the unix files (root for example if your ssh is 
setup for this, else an account you have created)
2) That your ldap user can login
3) That your file user can sudo correctly
4) That your ldap user can sudo correctly.
5) That your user in files can login at a console
6) That your ldap user can login at a  console.

Now, have a rescue CD handy, or remember how to single user mode freebsd if 
worst comes to worse (hint: press 4 at the boot loader menu, then hit enter, 
and mount -a the disks to gain access to /usr etc. from there fix your pam and 
reboot)

If any of these do not work, especially, the sshd logins, then reset your pam.d 
files. You DO run the risk of locking yourself out of your own server, and i 
have done this to myself many times. 

Hopefully, this helps you get under way, and your users authenticating 
properly. 


Sincerely

William Brown

pgp.mit.edu



-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)

iQIcBAEBAgAGBQJMrf6vAAoJEHF16AnLoz6JFI8P/2WOrhfK/9O4w0EQw+Ksw3z2
icBlz7iAZBbgobWRC/3QJTxd3b5L4yIlSUt6kMHKSPoKfG2uDv6XtIuL6OBDvKc0
px7BbtjGQXP9QjOOzDFxxR4pH5Mbp+wO7XI4GGz9CjRjCZh6vG4zcQTejbqBnIUF
e+zx1CY0andlMdTIBj012SIzsi+qoq2i6W+4/XcM4cODcamwGdH2764mkieGRDa6
cbwsfVBkNyQpQQJaGJDgPlyA7s5EpS5Nzydh4qHOwykfJgwV8cmSbZIdrgTwSFwU
9HMZZfbmdt3cYIawWVMuHGTf8QVOsTFD9g619hyMgetRdCGBnmdPjbI8pYSC0MUY
nul2JEg9skzwoxgoyi2AmIzafe4AvSZ+4+CMs4MxNbtx/1Gb/GUq5oYldXm1dtkb
9ZTLyQ28+zBJJKKWpNL0RSAZJYGXu9MP2B/VWX9LULIcDGBksiNYTmSoEnAsqrSS
Rys9prXlyK7W972WEYssaCMcs90Pcs1c7OqpHmcTjY/+u7YB9xJVcxxHS99Z6Q5z
BWESgYoQHjJKQfpv4agFKGMNcH9mWSC05HhqTz6UtKJHNcG5mq+LFTrNJDBPq9Dk
oxfGP5rlvkJR2Qw6rNRxNxTuJwkiWYpALPZom0FoI+3pcP4256ipKDa9yqdbhbQk
N+zUpSQ07jjVdn/IhgOf
=lXpn
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Like it or not, Theo has a point... freebsd is shipping export-restricted software in the core

2010-10-07 Thread Gonzalo Nemmi
On Thu, Oct 7, 2010 at 6:59 PM, Rob Farmer rfar...@predatorlabs.net wrote:
 On Thu, Oct 7, 2010 at 03:23, Gonzalo Nemmi gne...@gmail.com wrote:
 Im saying what I already said.

 And yet, you haven't really addressed my core point.
 ...

 My point is  ...

If you have a point, then there´s no point in me addressing your point
.. unless you are asking me for legal advice ..
Should that be the case, just let me know; I charge by the hour .. no
pro bono.

 ...
 People shouldn't be
 watching out for a particular license, but rather the broader
 implications of distributing stuff internationally

Usually, the implications of distributing stuff internationally have a
really strict realation with what is exactly what you want to
export? ... which in this case, leads you straight into the reading
of the terms of the licenses of the software subject to international
distribution.

 ...

 By clicking on and downloading Fedora, you agree to comply with the
 following terms and conditions:

 Fedora software and technical information is subject to the U.S.
 ...

Plase, get in touch with Fedora´a legal advisors. They´ll be able to
ask every question and legal concern you may have about their
operation.

 ...
 If I consulted
 a lawyer about doing such an export, it is reasonable to expect that
 they would bring this up, rather than just summarize license terms on
 a one-off basis.


By all mean, feel free to get in touch with your lawyer and ask him
everything you would like to know.

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


Re: if_bwn woes

2010-10-07 Thread Paul B Mahol
On 10/7/10, Eitan Adler li...@eitanadler.com wrote:
 Looks like you cant associate at all.
 Also signal power is too low.

 Why is INT (beacon interval of AP) 102 ?

 These are the defaults - I have no idea what these numbers mean. What
 should/could I be changing?

I doubt that AP have capatibility to change that.
Anyway maybe you could associate if your txpower is big enough...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Like it or not, Theo has a point... freebsd is shipping export-restricted software in the core

2010-10-07 Thread Adam Vande More
On Thu, Oct 7, 2010 at 12:19 PM, Gonzalo Nemmi gne...@gmail.com wrote:

 On Thu, Oct 7, 2010 at 6:59 PM, Rob Farmer rfar...@predatorlabs.net
 wrote:
  On Thu, Oct 7, 2010 at 03:23, Gonzalo Nemmi gne...@gmail.com wrote:
  Im saying what I already said.
 
  And yet, you haven't really addressed my core point.
  ...
 
  My point is  ...

 If you have a point, then there´s no point in me addressing your point
 .. unless you are asking me for legal advice ..
 Should that be the case, just let me know; I charge by the hour .. no
 pro bono.


Funny how you say you have a point, but you can't validate it or even
articulate it when challenged.  Acting like you had a legal opinion on
something earlier, then playing those games makes you a troll.  Please drum
up business elsewhere.

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


Re: Like it or not, Theo has a point... freebsd is shipping export-restricted software in the core

2010-10-07 Thread Gonzalo Nemmi
On Thu, Oct 7, 2010 at 7:29 PM, Adam Vande More amvandem...@gmail.com wrote:
 On Thu, Oct 7, 2010 at 12:19 PM, Gonzalo Nemmi gne...@gmail.com wrote:

 On Thu, Oct 7, 2010 at 6:59 PM, Rob Farmer rfar...@predatorlabs.net
 wrote:
  On Thu, Oct 7, 2010 at 03:23, Gonzalo Nemmi gne...@gmail.com wrote:
  Im saying what I already said.
 
  And yet, you haven't really addressed my core point.
  ...
 
  My point is  ...

 If you have a point, then there´s no point in me addressing your point
 .. unless you are asking me for legal advice ..
 Should that be the case, just let me know; I charge by the hour .. no
 pro bono.

 Funny how you say you have a point, but you can't validate it or even
 articulate it when challenged.  Acting like you had a legal opinion on
 something earlier, then playing those games makes you a troll.  Please drum
 up business elsewhere.

Actually my point was that Randal was right about Theo´s point ..
whether I want or like to validate it according to your or Rob´s needs
is not my problem .. it´s yours. I don´t _have_to_ validate a thing
only because you want me too. I actually _meant_ not to validate them,
and did that on pourpose.
And BTW, I never drummed up any business .. I kept answering Rob´s
questions until I wanted to. If he/you want some more, go find them
some place else.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


newsyslog.conf and Apache log files

2010-10-07 Thread Joe Auty
Hello,

I have the following entry for dealing with my Apache log files:

/var/log/httpd/* 644  2 *  $M1D0 GBJ   
/var/run/httpd.pid 30


Unfortunately, this has created these big long log files such as the
following:

httpderror_log.2.bz2.2.bz2.2.bz2.1.bz2.1.bz2.1.bz2.0.bz2

How can I prevent these dumb log file names from being created?



-- 
Joe Auty, NetMusician
NetMusician helps musicians, bands and artists create beautiful,
professional, custom designed, career-essential websites that are easy
to maintain and to integrate with popular social networks.
www.netmusician.org http://www.netmusician.org
j...@netmusician.org mailto:j...@netmusician.org

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


Re: Like it or not, Theo has a point... freebsd is shipping export-restricted software in the core

2010-10-07 Thread Rob Farmer
On Thu, Oct 7, 2010 at 10:19, Gonzalo Nemmi gne...@gmail.com wrote:
 If you have a point, then there´s no point in me addressing your point
 .. unless you are asking me for legal advice ..
 Should that be the case, just let me know; I charge by the hour .. no
 pro bono.

Seeing as your messages says things like El 07/10/2010 and Rob
Farmer escribió and you seem unwilling to actually talk about US law,
I'm curious to know where you attended law school and what states you
are licensed to practice in, since you seem to be offering paid
professional services.

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


Re: Captcha image does not load

2010-10-07 Thread Michael Powell
Jack L. Stone wrote:

 Folks:
 
 Please bear with me on this one. Am using FBSD-7.0p9 and PHP52.
 
 Have been using a Captcha protection against robots for a download section
 of the server. It worked just fine since installed for a couple of years,
 even with prior versions of PHP5. However, the captcha suddenly stopped
 loading the initial image and required multiple clicks (variable times at
 that) to get it to load an image that could be used by the customer. Just
 shows the little x as broken link to image. Nothing tried has solved the
 issue. Had to add text telling people to keep clicking if an image is not
 seen.
 
 Anyone seen this and have any suggestions on how to fix other than finding
 a different captcha script?.
 
 I was having a similar problem and it involved php52-gd not working. I 
moved the following two lines to the end of my php.ini and it started 
working. I think it was having pdf.so load afterward is what did it.

extension=gd.so
extension=pdf.so


-Mike


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


Re: newsyslog.conf and Apache log files

2010-10-07 Thread Lowell Gilbert
Joe Auty j...@netmusician.org writes:

 Hello,

 I have the following entry for dealing with my Apache log files:

 /var/log/httpd/* 644  2 *  $M1D0 GBJ   
 /var/run/httpd.pid 30


 Unfortunately, this has created these big long log files such as the
 following:

 httpderror_log.2.bz2.2.bz2.2.bz2.1.bz2.1.bz2.1.bz2.0.bz2

 How can I prevent these dumb log file names from being created?

Don't use wildcards in newsyslog.conf.

What's happening is httperror_log.2.bz2 gets rotated into
httperror_log.2.baz2.1.bz2, because it matches the filename 
glob you specified.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can not install ZendOptimizer

2010-10-07 Thread Lowell Gilbert
 On Thu, Oct 7, 2010 at 11:55 PM, Ryan Coleman ryan.cole...@cwis.biz wrote:

 Phan,

 The solution looks like install PHP 5.2 (/usr/ports/lang/php52) and then
 install /usr/ports/devel/ZendOptimizer.

Phan Quoc Hien phanquoch...@gmail.com writes:

 Yes, Thank Ryan. But it's not clearly solution.

The reason it is a little unclear is that the port warns you about the
problem, but the warning sounds like all of 5.x is incompatible with
ZendOptimizer (when 5.2 is actually fine).  I spent a few minutes
looking at the port, but I couldn't come up with a quick fix for the
error message.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Help with RealTek 8201 / rlphy

2010-10-07 Thread Lokadamus

 Am 07.10.2010 18:50, schrieb Mark Moellering:
 I am installing FreeBSD 8.1 on an MSI wind notebook, which has a 
RealTek 8201 wireless chip.  The kernel acknowledges the chip as 
rlphy0 on mii but I have no idea of how to actually configure it.

It shows up as miibus/rlphy in kldstat and as dev.rlphy.0
It does not show up under ifconfig

Thanks in advance

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



Have you read this?
http://www.freebsd.org/doc/handbook/network-wireless.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Help with RealTek 8201 / rlphy

2010-10-07 Thread Mark Moellering

 On 07-Oct-10 2:42 PM, Lokadamus wrote:

 Am 07.10.2010 18:50, schrieb Mark Moellering:
 I am installing FreeBSD 8.1 on an MSI wind notebook, which has a 
RealTek 8201 wireless chip.  The kernel acknowledges the chip as 
rlphy0 on mii but I have no idea of how to actually configure it.

It shows up as miibus/rlphy in kldstat and as dev.rlphy.0
It does not show up under ifconfig

Thanks in advance

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



Have you read this?
http://www.freebsd.org/doc/handbook/network-wireless.html
I have.  I have no problem setting up wireless interfaces on other 
computers where there is a known/accepted driver and an ifconfig entry.


If I try and create the wlan0 device using # ifconfig wlan0 create 
wlandev rlphy0 I get the following

# ifconfig : SIOCIFCREATE2: Device not configured

I have read through a variety of man pages and I can't figure out how to 
tell ifconfig there is a device rlphy0 which attaches to sysctl - 
dev.rlphy.0


I have found an entry under the miibus man:

A generic driver has been included for all PHYs that
 are not handled by a specific driver, this is possible because all 10/100
 PHYs implement the same general register set along with their vendor spe-
 cific register set.

but I can find no info on how to use that driver or get it to show up under 
ifconfig.  If I list all interfaces under ifconfig, I just get re0 and lo0

Thanks for the reply.

Mark


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


Re: Help with RealTek 8201 / rlphy

2010-10-07 Thread Lokadamus

 Am 07.10.2010 21:12, schrieb Mark Moellering:

 On 07-Oct-10 2:42 PM, Lokadamus wrote:

 Am 07.10.2010 18:50, schrieb Mark Moellering:
 I am installing FreeBSD 8.1 on an MSI wind notebook, which has a 
RealTek 8201 wireless chip.  The kernel acknowledges the chip as 
rlphy0 on mii but I have no idea of how to actually configure it.

It shows up as miibus/rlphy in kldstat and as dev.rlphy.0
It does not show up under ifconfig

Thanks in advance

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



Have you read this?
http://www.freebsd.org/doc/handbook/network-wireless.html
I have.  I have no problem setting up wireless interfaces on other 
computers where there is a known/accepted driver and an ifconfig entry.


If I try and create the wlan0 device using # ifconfig wlan0 create 
wlandev rlphy0 I get the following

# ifconfig : SIOCIFCREATE2: Device not configured

I have read through a variety of man pages and I can't figure out how 
to tell ifconfig there is a device rlphy0 which attaches to sysctl - 
dev.rlphy.0


I have found an entry under the miibus man:

A generic driver has been included for all PHYs that
 are not handled by a specific driver, this is possible because 
all 10/100
 PHYs implement the same general register set along with their 
vendor spe-

 cific register set.

but I can find no info on how to use that driver or get it to show up 
under ifconfig.  If I list all interfaces under ifconfig, I just get 
re0 and lo0


Thanks for the reply.

Mark


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



Help this?
http://www.listware.net/201008/freebsd-questions/56703-re-realtek-81398201l-ethernet-phy-driver.html

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


Re: newsyslog.conf and Apache log files

2010-10-07 Thread Robin Vleij

On 10/7/10 7:26 PM, Joe Auty wrote:

Hi Joe,


Unfortunately, this has created these big long log files such as the
following:

httpderror_log.2.bz2.2.bz2.2.bz2.1.bz2.1.bz2.1.bz2.0.bz2

How can I prevent these dumb log file names from being created?


Like Lowell wrote, don't use wildcards in newsyslog.conf. :-)

I just react to this, because I spent quite some time after a storage 
change on why my machine was hanging at bootup on the newsyslog 
trimming and creating logfiles line. There was no good Google result 
that pointed me in the direction, hence my post now.


In my case I made the same mistake as you on my Asterisk logfiles (which 
also don't have any extention). So after troubleshooting NFS and 
filesystem problems, I ran truss on newsyslog and found out about the 
nice tree newsyslog had built on my Asterisk logfiles. It wasn't hanging 
afterall, it was quite busy. :-) I just wrote three lines with the three 
filenames I wanted to rotate and since then it's fine.


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


Re: newsyslog.conf and Apache log files

2010-10-07 Thread Joe Auty
Lowell Gilbert wrote:
 Joe Auty j...@netmusician.org writes:

 Hello,

 I have the following entry for dealing with my Apache log files:

 /var/log/httpd/* 644 2 * $M1D0 GBJ
 /var/run/httpd.pid 30


 Unfortunately, this has created these big long log files such as the
 following:

 httpderror_log.2.bz2.2.bz2.2.bz2.1.bz2.1.bz2.1.bz2.0.bz2

 How can I prevent these dumb log file names from being created?

 Don't use wildcards in newsyslog.conf.

 What's happening is httperror_log.2.bz2 gets rotated into
 httperror_log.2.baz2.1.bz2, because it matches the filename
 glob you specified.

Aha! That makes sense...

What alternatives are there then so that I don't have to type in log
file paths for each of my virtually hosted domains? How about:

/var/log/httpd/*_log


would this work?




-- 
Joe Auty, NetMusician
NetMusician helps musicians, bands and artists create beautiful,
professional, custom designed, career-essential websites that are easy
to maintain and to integrate with popular social networks.
www.netmusician.org http://www.netmusician.org
j...@netmusician.org mailto:j...@netmusician.org

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


newsyslog.conf and Apache log files

2010-10-07 Thread Robert Huff

Joe Auty writes:

  I have the following entry for dealing with my Apache log files:
  
  /var/log/httpd/* 644  2 *  $M1D0 GBJ   
  /var/run/httpd.pid 30
  
  Unfortunately, this has created these big long log files such as the
  following:
  
  httpderror_log.2.bz2.2.bz2.2.bz2.1.bz2.1.bz2.1.bz2.0.bz2
  
  How can I prevent these dumb log file names from being created?

My advice would be to not use syslog.  It's bee a while since I
fixed this problen, but I remember reading Apache has ... issues
... with rotating logs using syslog/newsyslog.  Instead I use
sysutils/cronolog with:

ErrorLog |/usr/local/sbin/cronolog  /var/log/httpd-errors.%Y-%m.log
TransferLog  |/usr/local/sbin/cronolog  /var/log/httpd-access.%Y-%m.log

in httpd.conf.  This gets me:

-rw-r--r--   1 rootwheel   11504 Dec 28  2009 httpd-access.2009-12.log
-rw-r--r--   1 rootwheel6380 Feb  3  2010 httpd-access.2010-02.log
-rw-r--r--   1 rootwheel1390 Mar 11  2010 httpd-access.2010-03.log
-rw-r--r--   1 rootwheel1439 Apr 23 16:06 httpd-access.2010-04.log
-rw-r--r--   1 rootwheel  904451 May 30 10:52 httpd-access.2010-05.log
-rw-r--r--   1 rootwheel   20279 Jun 29 12:29 httpd-access.2010-06.log
-rw-r--r--   1 rootwheel 1586153 Jul 28 07:50 httpd-access.2010-07.log
-rw-r--r--   1 rootwheel  164305 Aug 31 18:51 httpd-access.2010-08.log
-rw-r--r--   1 rootwheel   14294 Sep  9 08:19 httpd-access.2010-09.log
-rw-r--r--   1 rootwheel 3093989 Sep  9 08:19 httpd-access.log
-rw-r--r--   1 rootwheel   71655 Oct  7  2009 httpd-error.log
-rw-rw-r--   1 rootwheel3574 Oct  7  2009 httpd-errors.2009-10.log
-rw-r--r--   1 rootwheel1827 Nov 30  2009 httpd-errors.2009-11.log
-rw-r--r--   1 rootwheel1827 Jan 17  2010 httpd-errors.2010-01.log
-rw-r--r--   1 rootwheel5027 Feb  3  2010 httpd-errors.2010-02.log
-rw-r--r--   1 rootwheel   10562 Mar 25  2010 httpd-errors.2010-03.log
-rw-r--r--   1 rootwheel5471 Apr 23 16:05 httpd-errors.2010-04.log
-rw-r--r--   1 rootwheel  332035 May 30 10:52 httpd-errors.2010-05.log
-rw-r--r--   1 rootwheel   10817 Jun 29 12:29 httpd-errors.2010-06.log
-rw-r--r--   1 rootwheel  569109 Jul 28 07:50 httpd-errors.2010-07.log
-rw-r--r--   1 rootwheel   59928 Aug 31 18:51 httpd-errors.2010-08.log
-rw-r--r--   1 rootwheel5198 Sep  9 08:19 httpd-errors.2010-09.log

in /var/log.


Robert Huff

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


Re: USB disk on CS5536 unstable

2010-10-07 Thread Anselm Strauss
On 10/02/10 16:39, Hans Petter Selasky wrote:
 On Saturday 02 October 2010 14:44:07 Anselm Strauss wrote:
 On 09/30/10 21:38, Hans Petter Selasky wrote:
 On Thursday 30 September 2010 21:10:59 Anselm Strauss wrote:
 Maybe sending it to just the USB list was too specific ...

 On 09/30/10 00:08, Anselm Strauss wrote:
 Hi

 I have an ALIX board that has an AMD Geode and the CS5536 companion
 chip with integrated USB on it. When I connect a USB disk I have
 observed various problems. For example when I run fsck_ufs on a 250 GB
 partition the process gets stuck in biord state and fsck reports
 unreadable sectors. When I do a dd over the whole disk and direct it
 to /dev/null it suddenly returns with no error, but having read only a
 small fraction of the disk. I tried it with two different disks and
 two different ALIX boards. I'm pretty sure the disks are okay since I
 tried them on other hardware.

 As far as I know there was some trouble with the chip regarding
 timeouts. Under load after some time the USB just stops responding. I
 have tried 8.0 and 8.1. Is there any known problem? How can I track
 this down?

 Anselm

 If you compile the kernel with USB_DEBUG, then there are some sysctls
 under hw.usb.ehci which you can tweak. Needs to be set before boot.

 --HPS

 Did not know that there were configurable bug workarounds in sysctl.
 When I set hw.usb.ehci.lostintrbug=1 in /boot/loader.conf the problems
 seem gone.

 Without this setting I got the following kernel message when dd did abort:

 ehci_timeout: xfer=0xc29cd3c8


 Thanks,
 Anselm
 
 Maybe you can report the PCI vendor ID and product so that we can add this 
 quirk.
 
 --HPS

Not sure what a PCI vendor ID is and how to determine it. It's a ALIX
2d2 from http://pcengines.ch/alix.

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


Re: Swap on ZFS

2010-10-07 Thread Anselm Strauss
On 10/02/10 17:52, Adam Vande More wrote:
 On Sat, Oct 2, 2010 at 4:30 AM, Anselm Strauss amsiba...@gmail.com wrote:
 
 Hi

 I have a virtual server with only 512 MB of memory but still want to run
 ZFS on it.
 snip
 Has there been any fix or workaround for this? I guess it does not help
 when I use a swap file on ZFS instead of a separate zvol.

 
 Make sure you are following this:
 http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot  Please note swap is not a
 ZVOL, it is a sepate partition.  You'd have the same problem with ZVOL.
 Also use i386, that will save you a bit of memory.  Follow the ZFS tuning
 guide.  Even if you follow all those things, I'm not sure you'll be able to
 get it stable.  512MB is really tight.
 

I now have the swap on a separate disk and it seems more stable.
Although the server still has only 512 MB of RAM, runs on amd64 and I
did no tuning. It's not a file server but compiling ports and running
some services seems okay.

I have seen multiple posts on the net where people put swap on ZFS. What
sense does it make when every time the machine runs out of physical
memory it freezes before it can allocate some swap memory. Does it only
make sense in case you have additional non-ZFS swap?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: USB disk on CS5536 unstable

2010-10-07 Thread Anselm Strauss
On 10/07/10 22:12, Anselm Strauss wrote:
 On 10/02/10 16:39, Hans Petter Selasky wrote:
 On Saturday 02 October 2010 14:44:07 Anselm Strauss wrote:
 On 09/30/10 21:38, Hans Petter Selasky wrote:
 On Thursday 30 September 2010 21:10:59 Anselm Strauss wrote:
 Maybe sending it to just the USB list was too specific ...

 On 09/30/10 00:08, Anselm Strauss wrote:
 Hi

 I have an ALIX board that has an AMD Geode and the CS5536 companion
 chip with integrated USB on it. When I connect a USB disk I have
 observed various problems. For example when I run fsck_ufs on a 250 GB
 partition the process gets stuck in biord state and fsck reports
 unreadable sectors. When I do a dd over the whole disk and direct it
 to /dev/null it suddenly returns with no error, but having read only a
 small fraction of the disk. I tried it with two different disks and
 two different ALIX boards. I'm pretty sure the disks are okay since I
 tried them on other hardware.

 As far as I know there was some trouble with the chip regarding
 timeouts. Under load after some time the USB just stops responding. I
 have tried 8.0 and 8.1. Is there any known problem? How can I track
 this down?

 Anselm

 If you compile the kernel with USB_DEBUG, then there are some sysctls
 under hw.usb.ehci which you can tweak. Needs to be set before boot.

 --HPS

 Did not know that there were configurable bug workarounds in sysctl.
 When I set hw.usb.ehci.lostintrbug=1 in /boot/loader.conf the problems
 seem gone.

 Without this setting I got the following kernel message when dd did abort:

 ehci_timeout: xfer=0xc29cd3c8


 Thanks,
 Anselm

 Maybe you can report the PCI vendor ID and product so that we can add this 
 quirk.

 --HPS
 
 Not sure what a PCI vendor ID is and how to determine it. It's a ALIX
 2d2 from http://pcengines.ch/alix.
 
 Anselm

Sorry, wrong URL: http://pcengines.ch/alix.htm
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: newsyslog.conf and Apache log files

2010-10-07 Thread Lowell Gilbert
Joe Auty j...@netmusician.org writes:

 Lowell Gilbert wrote:
 Joe Auty j...@netmusician.org writes:

 Hello,

 I have the following entry for dealing with my Apache log files:

 /var/log/httpd/* 644 2 * $M1D0 GBJ
 /var/run/httpd.pid 30


 Unfortunately, this has created these big long log files such as the
 following:

 httpderror_log.2.bz2.2.bz2.2.bz2.1.bz2.1.bz2.1.bz2.0.bz2

 How can I prevent these dumb log file names from being created?

 Don't use wildcards in newsyslog.conf.

 What's happening is httperror_log.2.bz2 gets rotated into
 httperror_log.2.baz2.1.bz2, because it matches the filename
 glob you specified.

 Aha! That makes sense...

 What alternatives are there then so that I don't have to type in log
 file paths for each of my virtually hosted domains? How about:

 /var/log/httpd/*_log


 would this work?

I was going to say I didn't have time to figure it out, but it only took
me a couple of minutes of looking at the source to be (*kind of*) sure
that your suggestion *will* work.  It shouldn't take more than ten
minutes to try it out, anyway.

If that doesn't work for you, you could always try generating the
newsyslog.conf file from a script.  Or try one of the several other
logfile-rotating programs.  But I think your idea should be good.

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


Re: newsyslog.conf and Apache log files

2010-10-07 Thread David Brodbeck
On Thu, Oct 7, 2010 at 11:25 AM, Lowell Gilbert
freebsd-questions-lo...@be-well.ilk.org wrote:
 Joe Auty j...@netmusician.org writes:

 Hello,

 I have the following entry for dealing with my Apache log files:

 /var/log/httpd/*             644  2     *  $M1D0 GBJ
 /var/run/httpd.pid 30


 Unfortunately, this has created these big long log files such as the
 following:

 httpderror_log.2.bz2.2.bz2.2.bz2.1.bz2.1.bz2.1.bz2.0.bz2

 How can I prevent these dumb log file names from being created?

 Don't use wildcards in newsyslog.conf.

 What's happening is httperror_log.2.bz2 gets rotated into
 httperror_log.2.baz2.1.bz2, because it matches the filename
 glob you specified.

One alternative might be to use newsyslog's -a option to put the
archived logs in a separate directory, where the glob won't find them.

Unfortunately there doesn't seem to be a way to define this on a
per-file or per-directory basis, so it would apply to *all* your logs.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: newsyslog.conf and Apache log files

2010-10-07 Thread Lowell Gilbert
Robert Huff roberth...@rcn.com writes:

 Joe Auty writes:

  I have the following entry for dealing with my Apache log files:
  
  /var/log/httpd/* 644  2 *  $M1D0 GBJ   
  /var/run/httpd.pid 30
  
  Unfortunately, this has created these big long log files such as the
  following:
  
  httpderror_log.2.bz2.2.bz2.2.bz2.1.bz2.1.bz2.1.bz2.0.bz2
  
  How can I prevent these dumb log file names from being created?

   My advice would be to not use syslog.  It's bee a while since I
 fixed this problen, but I remember reading Apache has ... issues
 ... with rotating logs using syslog/newsyslog.  

Those problems were a race condition between (Apache) closing the log
file and (newsyslog) opening it to start compression.  *How* the log
rotation is done isn't really relevant (unless one sends the logs
through pipes), but the only safe way is to shut down the server while
the rotation is being done.  

You don't compress your logs, so it wouldn't affect you anyway.  Joe
does, so it could be an issue for him; the Apache documentation covers a
number of options.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: USB disk on CS5536 unstable

2010-10-07 Thread Lowell Gilbert
Anselm Strauss amsiba...@gmail.com writes:

 On 10/02/10 16:39, Hans Petter Selasky wrote:
 On Saturday 02 October 2010 14:44:07 Anselm Strauss wrote:
 On 09/30/10 21:38, Hans Petter Selasky wrote:
 On Thursday 30 September 2010 21:10:59 Anselm Strauss wrote:
 Maybe sending it to just the USB list was too specific ...

 On 09/30/10 00:08, Anselm Strauss wrote:
 Hi

 I have an ALIX board that has an AMD Geode and the CS5536 companion
 chip with integrated USB on it. When I connect a USB disk I have
 observed various problems. For example when I run fsck_ufs on a 250 GB
 partition the process gets stuck in biord state and fsck reports
 unreadable sectors. When I do a dd over the whole disk and direct it
 to /dev/null it suddenly returns with no error, but having read only a
 small fraction of the disk. I tried it with two different disks and
 two different ALIX boards. I'm pretty sure the disks are okay since I
 tried them on other hardware.

 As far as I know there was some trouble with the chip regarding
 timeouts. Under load after some time the USB just stops responding. I
 have tried 8.0 and 8.1. Is there any known problem? How can I track
 this down?

 Anselm

 If you compile the kernel with USB_DEBUG, then there are some sysctls
 under hw.usb.ehci which you can tweak. Needs to be set before boot.

 --HPS

 Did not know that there were configurable bug workarounds in sysctl.
 When I set hw.usb.ehci.lostintrbug=1 in /boot/loader.conf the problems
 seem gone.

 Without this setting I got the following kernel message when dd did abort:

 ehci_timeout: xfer=0xc29cd3c8


 Thanks,
 Anselm
 
 Maybe you can report the PCI vendor ID and product so that we can add this 
 quirk.
 
 --HPS

 Not sure what a PCI vendor ID is and how to determine it. It's a ALIX
 2d2 from http://pcengines.ch/alix.

pciconf(8) will tell you.  Try sending pciconf -l output.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: if_bwn woes

2010-10-07 Thread Eitan Adler
On Thu, Oct 7, 2010 at 5:22 PM, Paul B Mahol one...@gmail.com wrote:
 On 10/7/10, Eitan Adler li...@eitanadler.com wrote:
 Looks like you cant associate at all.
 Also signal power is too low.

 Why is INT (beacon interval of AP) 102 ?

 These are the defaults - I have no idea what these numbers mean. What
 should/could I be changing?

 I doubt that AP have capatibility to change that.
 Anyway maybe you could associate if your txpower is big enough...


Sorry - I realized a brief portion of out conversation was done off-list.

I just noticed that when I put in the ssid ifconfig seems to be
cycling among multiple channels (1,5, 11,12,13 ,14 and maybe others).

I'm not sure what this behavior means.

What would the best way see why I can't connect be?

I tried
$ifconfig wlan0 txpower 50
but txpower stays at 30.

Is this for sure a signal strength problem? it worked when I used ndis
from the same location.


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


Re: if_bwn woes

2010-10-07 Thread Eitan Adler
Sorry for the reply-to-self

On Thu, Oct 7, 2010 at 9:11 PM, Eitan Adler li...@eitanadler.com wrote:
 On Thu, Oct 7, 2010 at 5:22 PM, Paul B Mahol one...@gmail.com wrote:
 On 10/7/10, Eitan Adler li...@eitanadler.com wrote:
 Looks like you cant associate at all.
 Also signal power is too low.

 Why is INT (beacon interval of AP) 102 ?

 These are the defaults - I have no idea what these numbers mean. What
 should/could I be changing?

 I doubt that AP have capatibility to change that.
 Anyway maybe you could associate if your txpower is big enough...


 Sorry - I realized a brief portion of out conversation was done off-list.

 I just noticed that when I put in the ssid ifconfig seems to be
 cycling among multiple channels (1,5, 11,12,13 ,14 and maybe others).

 I'm not sure what this behavior means.

 What would the best way see why I can't connect be?

 I tried
 $ifconfig wlan0 txpower 50
 but txpower stays at 30.

 Is this for sure a signal strength problem? it worked when I used ndis
 from the same location.

...


I also noticed that bwn0 says status: associated while wlan0 says
status: no carrier


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


Re: if_bwn woes

2010-10-07 Thread Paul B Mahol
On 10/7/10, Eitan Adler li...@eitanadler.com wrote:
 On Thu, Oct 7, 2010 at 5:22 PM, Paul B Mahol one...@gmail.com wrote:
 On 10/7/10, Eitan Adler li...@eitanadler.com wrote:
 Looks like you cant associate at all.
 Also signal power is too low.

 Why is INT (beacon interval of AP) 102 ?

 These are the defaults - I have no idea what these numbers mean. What
 should/could I be changing?

 I doubt that AP have capatibility to change that.
 Anyway maybe you could associate if your txpower is big enough...


 Sorry - I realized a brief portion of out conversation was done off-list.

 I just noticed that when I put in the ssid ifconfig seems to be
 cycling among multiple channels (1,5, 11,12,13 ,14 and maybe others).

Well, force it to stay on channel 1 all the time.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: if_bwn woes

2010-10-07 Thread Eitan Adler
On Thu, Oct 7, 2010 at 9:14 PM, Paul B Mahol one...@gmail.com wrote:
 On 10/7/10, Eitan Adler li...@eitanadler.com wrote:
 On Thu, Oct 7, 2010 at 5:22 PM, Paul B Mahol one...@gmail.com wrote:
 On 10/7/10, Eitan Adler li...@eitanadler.com wrote:
 Looks like you cant associate at all.
 Also signal power is too low.

 Why is INT (beacon interval of AP) 102 ?

 These are the defaults - I have no idea what these numbers mean. What
 should/could I be changing?

 I doubt that AP have capatibility to change that.
 Anyway maybe you could associate if your txpower is big enough...


 Sorry - I realized a brief portion of out conversation was done off-list.

 I just noticed that when I put in the ssid ifconfig seems to be
 cycling among multiple channels (1,5, 11,12,13 ,14 and maybe others).

 Well, force it to stay on channel 1 all the time.

I destroyed and recreated wlan0 with the channel 1
Now it stopped cycling but bwn0 now says no carrier as well.


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


Re: newsyslog.conf and Apache log files

2010-10-07 Thread Volodymyr Kostyrko

07.10.2010 20:26, Joe Auty wrote:

Hello,

I have the following entry for dealing with my Apache log files:

/var/log/httpd/* 644  2 *  $M1D0 GBJ
/var/run/httpd.pid 30


Unfortunately, this has created these big long log files such as the
following:

httpderror_log.2.bz2.2.bz2.2.bz2.1.bz2.1.bz2.1.bz2.0.bz2

How can I prevent these dumb log file names from being created?


/var/log/httpd/*_log would suffice.

--
Sphinx of black quartz judge my vow.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: newsyslog.conf and Apache log files

2010-10-07 Thread Paul Schmehl
--On Thursday, October 07, 2010 16:08:23 -0400 Robert Huff roberth...@rcn.com 
wrote:




Joe Auty writes:


 I have the following entry for dealing with my Apache log files:

 /var/log/httpd/* 644  2 *  $M1D0 GBJ
 /var/run/httpd.pid 30

 Unfortunately, this has created these big long log files such as the
 following:

 httpderror_log.2.bz2.2.bz2.2.bz2.1.bz2.1.bz2.1.bz2.0.bz2

 How can I prevent these dumb log file names from being created?


This is what I use:

/var/log/httpd-access.log   640  5 *$W0D04 Z 
/var/run/httpd.pid
/var/log/httpd-error.log640  5 *$W0D00 Z 
/var/run/httpd.pid
/var/log/rewrite_log640  5 *$W0D00 Z 
/var/run/httpd.pid


And this is the results:
# ls -lsa /var/log/httpd-*
279520 -rw-r-  1 root  wheel  286062450 Oct  7 16:09 
/var/log/httpd-access.log
26352 -rw-r-  1 root  wheel   26960261 Oct  3 04:00 
/var/log/httpd-access.log.0.gz
26720 -rw-r-  1 root  wheel   27332026 Sep 26 04:00 
/var/log/httpd-access.log.1.gz
37984 -rw-r-  1 root  wheel   38845050 Sep 19 04:00 
/var/log/httpd-access.log.2.gz
25632 -rw-r-  1 root  wheel   26214452 Sep  5 04:00 
/var/log/httpd-access.log.3.gz
24800 -rw-r-  1 root  wheel   25364090 Aug 29 04:00 
/var/log/httpd-access.log.4.gz
23568 -rw-r-  1 root  wheel   24116870 Aug 22 04:00 
/var/log/httpd-access.log.5.gz
 1472 -rw-r-  1 root  wheel1477939 Oct  7 16:07 
/var/log/httpd-error.log
  122 -rw-r-  1 root  wheel 124058 Oct  3 00:00 
/var/log/httpd-error.log.0.gz
  140 -rw-r-  1 root  wheel 141619 Sep 26 00:00 
/var/log/httpd-error.log.1.gz
  224 -rw-r-  1 root  wheel 198696 Sep 19 00:00 
/var/log/httpd-error.log.2.gz
  150 -rw-r-  1 root  wheel 153353 Sep  5 00:00 
/var/log/httpd-error.log.3.gz
  138 -rw-r-  1 root  wheel 139720 Aug 29 00:00 
/var/log/httpd-error.log.4.gz
  114 -rw-r-  1 root  wheel 116124 Aug 22 00:00 
/var/log/httpd-error.log.5.gz
   80 -rw-r--r--  1 root  wheel  80066 Oct  6 18:47 
/var/log/httpd-ssl_request.log


# ls -lsa /var/log/rewrite_log*
194672 -rw-r-  1 root  wheel  199225770 Oct  7 16:07 /var/log/rewrite_log
17856 -rw-r-  1 root  wheel   18260862 Oct  3 00:00 
/var/log/rewrite_log.0.gz
18448 -rw-r-  1 root  wheel   18873604 Sep 26 00:00 
/var/log/rewrite_log.1.gz
26288 -rw-r-  1 root  wheel   26899244 Sep 19 00:00 
/var/log/rewrite_log.2.gz
17536 -rw-r-  1 root  wheel   17935781 Sep  5 00:00 
/var/log/rewrite_log.3.gz
16896 -rw-r-  1 root  wheel   17278330 Aug 29 00:00 
/var/log/rewrite_log.4.gz
16048 -rw-r-  1 root  wheel   16402215 Aug 22 00:00 
/var/log/rewrite_log.5.gz


Your problem appears to be caused by file globbing.  Since you use httpd/*, 
every file will be rotated, even ones that were previously rotated.  So, 
newsyslogd keeps appending more and more bzs to the end of the filenames, just 
as you've told it to do.




My advice would be to not use syslog.  It's bee a while since I
fixed this problen, but I remember reading Apache has ... issues
... with rotating logs using syslog/newsyslog.  Instead I use
sysutils/cronolog with:



None here, and I've been rotating apache logs since 1.3.1* (now at 2.2.16 with 
numerous upgrades in between) using newsyslog without every seeing the problem 
that you describe.


--
Paul Schmehl, Senior Infosec Analyst
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
***
It is as useless to argue with those who have
renounced the use of reason as to administer
medication to the dead. Thomas Jefferson
There are some ideas so wrong that only a very
intelligent person could believe in them. George Orwell

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


Re: Like it or not, Theo has a point... freebsd is shipping export-restricted software in the core

2010-10-07 Thread Robert Bonomi

 Date: Thu, 7 Oct 2010 07:23:02 +0200
 From: Erik Trulsson ertr1...@student.uu.se
 To: Randal L. Schwartz mer...@stonehenge.com
 Cc: RW rwmailli...@googlemail.com, freebsd-questions@freebsd.org
 Subject: Re: Like it or not, Theo has a point... freebsd is shipping
  export-restricted software in the core

 On Wed, Oct 06, 2010 at 04:08:35PM -0700, Randal L. Schwartz wrote:
   Erik == Erik Trulsson ertr1...@student.uu.se writes:
  
  Do you have a different opinion, and is it a legal opinion?

 To me it looks much more like a case of some corporate standard
 cover-your-ass boilerplate text that is used regardless of whether
 there is reason to believe any particular piece of software needs any
 special export approval.


That is an *exactly* correct reading of the text in question.

What requires explicit permission from the U.S. government (or other
national authority , for those in a different locale) *changes* over time.
Just because it doesn't require a license _now_ doesn't mean that it
will =never= need one.  And simplarly, if it -does- need a license now
it may _not_ need one at some (unknown) point in the future.

*ALL* that language is doing is saying that the original licensor (INTEL)
has _not_ made any determination as to what, *IF*ANY*, export controls may
apply, now or at some unspeciied point in the future, to that code.  

AND that anyone who _does_ intend export said software has to (a) make 
that determination for themselves, and (b) _comply_ with such legal 
requirements themselves to be in compliance with the license from Intel.

As a matter of _law_, those exact restrictions apply to *EVERY* piece 
of _every_ O/S -- OpenBSD, NetBSD, Open Solaris, Linux, FreeBSD, or 
'whatever' -- that are accessed from a server that is located in the
United States.  It _doesn't_ matter where the code 'came from', you can
import from anywhere, but certain things you _cannot_ 'export', even if
you got it from 'somewhere outside the U.S.'-- a 'somewhere' that the 
person you're sending it to could go to themselves and get it.


Intel is simply protecting _themselves_ against a =future= claim that
_they_ (Intel) 'facilitated' the distrubution of 'export-controlled'
software to the 'bad guys'.

When in doubt you placard 'everything'.  For stuf that you -give- away,
there is nothing to be gained by spending the time/money to make the
determinatin yourself -- It's not going to make you any additional profits
if you do it, do why bother? applies.

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


Re: Like it or not, Theo has a point... freebsd is shipping export-restricted software in the core

2010-10-07 Thread CyberLeo Kitsana
On 10/07/2010 12:46 PM, Rob Farmer wrote:
 On Thu, Oct 7, 2010 at 10:19, Gonzalo Nemmi gne...@gmail.com wrote:
 If you have a point, then there´s no point in me addressing your point
 .. unless you are asking me for legal advice ..
 Should that be the case, just let me know; I charge by the hour .. no
 pro bono.
 
 Seeing as your messages says things like El 07/10/2010 and Rob
 Farmer escribió and you seem unwilling to actually talk about US law,
 I'm curious to know where you attended law school and what states you
 are licensed to practice in, since you seem to be offering paid
 professional services.

Argentina?

[0] http://ar.linkedin.com/pub/gonzalo-nemmi/21/22b/267

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
cyber...@cyberleo.net

Furry Peace! - http://.fur.com/peace/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Like it or not, Theo has a point... freebsd is shipping export-restricted software in the core

2010-10-07 Thread Robert Bonomi


 To: FreeBSD freebsd-questions@freebsd.org
 Date: Wed, 06 Oct 2010 14:46:34 -0700
 Subject: Re: Like it or not,
   Theo has a point... freebsd is shipping export-restricted software
   in the core


 I understand that entirely.  Which is why it would be reasonable (and
 downright ethical) to ensure that every FreeBSD integrator be made well
 aware of this restriction.

 It hadn't occurred to *me* for example to think that FreeBSD might be
 restricted. 

We are not responsible for _your_ lack of understanding OF THE LAW.

But then, you've been there before on that, and learned the 'hard way'
didn't you.

Pure and simple, _if_ there is software involved, there *MAY* be export-
control issues.

*ANYONE* in the business of exporting software _should_ be aware of that
fact, and as a matter of basic 'due diligence' know about _their_ national
laws on the matter, and how/where to find out what kinds of software are
restricted, and on what basis.

It is worth noting that since the original software author (Intel) put the
it is possible an export license may be required under some circumstances
notice on their software that anyone who takes said notice -off- had better
have (1) a -solid- professionally-rendered legal opinion that no such license
is required under _any_ circumstances, and (2) massive liability insuance
in case they are wrong.

The party that removes the warning notice of a possible risk *IS* liable
to the party who 'relies' on such removal as evidence that no license is
needed.

If a cautionary notice was _never_ present, that is one thing, and one cannot
draw conclusions from the omission.

If a notice _was_ present, and someone removes it, that 'affirmtive acton'
is a _very_ different thing.

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


Re: VirtualBox: Pressing some key few times fast causes an event storm

2010-10-07 Thread Yuri

On 10/06/2010 16:33, Adam Vande More wrote:


Yes, it is not specific to FreeBSD and really not even specific to 
VirtualBox since VMware guests can also experience the issue.  There 
are resolutions to it, if you bother to look.


--
Adam Vande More


I found some references with recommendations like check your key repeat 
rate. I changed that in the guest but it didn't help.


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


Re: Like it or not, Theo has a point... freebsd is shipping export-restricted software in the core

2010-10-07 Thread Glen Barber
On 10/7/10 6:47 PM, Robert Bonomi wrote:
 To: FreeBSD freebsd-questions@freebsd.org
 Date: Wed, 06 Oct 2010 14:46:34 -0700
 Subject: Re: Like it or not,
  Theo has a point... freebsd is shipping export-restricted software
  in the core


 I understand that entirely.  Which is why it would be reasonable (and
 downright ethical) to ensure that every FreeBSD integrator be made well
 aware of this restriction.

 It hadn't occurred to *me* for example to think that FreeBSD might be
 restricted. 
 
 We are not responsible for _your_ lack of understanding OF THE LAW.
 
 But then, you've been there before on that, and learned the 'hard way'
 didn't you.
 
 Pure and simple, _if_ there is software involved, there *MAY* be export-
 control issues.
 
 *ANYONE* in the business of exporting software _should_ be aware of that
 fact, and as a matter of basic 'due diligence' know about _their_ national
 laws on the matter, and how/where to find out what kinds of software are
 restricted, and on what basis.
 
 It is worth noting that since the original software author (Intel) put the
 it is possible an export license may be required under some circumstances
 notice on their software that anyone who takes said notice -off- had better
 have (1) a -solid- professionally-rendered legal opinion that no such license
 is required under _any_ circumstances, and (2) massive liability insuance
 in case they are wrong.
 
 The party that removes the warning notice of a possible risk *IS* liable
 to the party who 'relies' on such removal as evidence that no license is
 needed.
 
 If a cautionary notice was _never_ present, that is one thing, and one cannot
 draw conclusions from the omission.
 
 If a notice _was_ present, and someone removes it, that 'affirmtive acton'
 is a _very_ different thing.
 

Can this thread go away now?

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


Re: Help with RealTek 8201 / rlphy

2010-10-07 Thread CyberLeo Kitsana
On 10/07/2010 11:50 AM, Mark Moellering wrote:
  I am installing FreeBSD 8.1 on an MSI wind notebook, which has a
 RealTek 8201 wireless chip.  The kernel acknowledges the chip as rlphy0
 on mii but I have no idea of how to actually configure it.
 It shows up as miibus/rlphy in kldstat and as dev.rlphy.0
 It does not show up under ifconfig

RTL8201 appears to be a phy for interfacing with 10/100baseT ethernet
networks, and is generally paired (via miibus) with a media-independent
adapter using one of rl(4) or re(4).

This is not an 802.11 wifi device.

You will probably have to look elsewhere in pciconf or usbconfig for
evidence of your notebook's wireless adapter and its true chipset.

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
cyber...@cyberleo.net

Furry Peace! - http://.fur.com/peace/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Like it or not, Theo has a point... freebsd is shipping export-restricted software in the core

2010-10-07 Thread Randal L. Schwartz
 Glen == Glen Barber glen.j.bar...@gmail.com writes:

Glen Can this thread go away now?

Only when the problem goes away.

Is there a comprehensive list of restrictive sublicenses, or pointers to
same, somewhere prominent at the top of the core distro?

Or maybe some tool that would dynamically discover same, like maybe a
convention that a license file is always called LICENSE or something?

*That* would be helpful.

-- 
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.posterous.com/ for Smalltalk discussion
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Like it or not, Theo has a point... freebsd is shipping export-restricted software in the core

2010-10-07 Thread Danny Carroll
 On 7/10/2010 8:23 PM, Gonzalo Nemmi wrote:

 I would assume you already did that before walking into my office to
 ask me about the set of licenses up for a review ... otherwise,
 there´s no way to me to look close enough where I wasn´t asked to look
 ...
 If you go tell your Dr. you have a simple cof and a runy nose, he
 won´t ask you to go trhough a colonoscopy or a brain tomography ...
 and, _please_, _by_all_means_ don´t count on him finding anything on
 your colon or in your brain in that case.


True, but if you told your doctor to test that you did not have cancer
and he neglected to give you a colonoscopy, then he'd be, well, negligent.
But I am just being fecetious, I guess a lawyer may not have the
technical knowledge to know *where* to get each license that may be used.

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


Re: Like it or not, Theo has a point... freebsd is shipping export-restricted software in the core

2010-10-07 Thread Chad Perrin
On Thu, Oct 07, 2010 at 05:47:23PM -0500, Robert Bonomi wrote:
 
 Pure and simple, _if_ there is software involved, there *MAY* be export-
 control issues.
 
 *ANYONE* in the business of exporting software _should_ be aware of that
 fact, and as a matter of basic 'due diligence' know about _their_ national
 laws on the matter, and how/where to find out what kinds of software are
 restricted, and on what basis.

Anyone who stores software on GitHub, BitBucket, or SourceForge could
conceivably be accuse of being in the software export business -- but I
bet very few people who use those services ever think about that.  Of
course, practically speaking, the chances of ending up in US court simply
for putting some simple home-brewed CMS on BitBucket are probably pretty
slim, in my non-lawyer opinion.  Still . . . not having a moment where
one thinks about the possibility seems like a pretty clear indication
that it is rare for a non-lawyer to consider *all* the possible ways to
get in legal trouble for exporting software.

I do not really think that implying someone is stupid for failing to
consider all possibilities is productive, especially since if we all had
to get legal help every time we started a GitHub project, we would have
considerably fewer GitHub projects in the world.


 
 It is worth noting that since the original software author (Intel) put the
 it is possible an export license may be required under some circumstances
 notice on their software that anyone who takes said notice -off- had better
 have (1) a -solid- professionally-rendered legal opinion that no such license
 is required under _any_ circumstances, and (2) massive liability insuance
 in case they are wrong.

They could also just ask Intel, I suppose.  There must be *someone* there
who has the job of answering questions like this.  I am pretty sure that
Intel's stable of lawyers isn't as big as IBM's, but it might be close to
the size of the US DOJ.  Even if Intel said Sure, go ahead, we don't
care, I'd still be inclined to seek further advice more concerned with
my own legal safety before removing any legal notices though -- aside
from the tags on my matresses and pillows (for instance).

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgphjDhhH1dHJ.pgp
Description: PGP signature


Re: Like it or not, Theo has a point... freebsd is shipping export-restricted software in the core

2010-10-07 Thread Robert Bonomi
 From owner-freebsd-questi...@freebsd.org  Thu Oct  7 18:28:10 2010
 Date: Fri, 08 Oct 2010 09:29:46 +1000
 From: Danny Carroll f...@dannysplace.net
 To: freebsd-questions@freebsd.org
 Subject: Re: Like it or not,
  Theo has a point... freebsd is shipping export-restricted
  software in the core

  On 7/10/2010 8:23 PM, Gonzalo Nemmi wrote:
 
  I would assume you already did that before walking into my office to
  ...
  If you go tell your Dr. you have a simple cof and a runy nose, he
  won´t ask you to go trhough a colonoscopy or a brain tomography ...
  and, _please_, _by_all_means_ don´t count on him finding anything on
  your colon or in your brain in that case.
 

 True, but if you told your doctor to test that you did not have cancer
 and he neglected to give you a colonoscopy, then he'd be, well, negligent.
 But I am just being fecetious, I guess a lawyer may not have the
 technical knowledge to know *where* to get each license that may be used.

The lawyer doesn't need to know where to get each license.  He, does know,
however, that he needs -all- of them,  -and- that they're not necessarily
all in 'obvious' places.

The conversation start with you asking your lawyer something along the lines
of:
   I'm considering exporting _this_ bundle of sofware,  what needs to be
checked?

he'll tell you: I need to review the copyright notices, licenses, and 
distribution restricions on _each_and_every_ item in that package.  Go
check _every_ file you intend to include,  bring me a list showing 
  1) every file name
  2) who holds the copyright to that file
  3) what form of license it is issued under, and for each form of license
  a complete copy of that license.
  4) any 'restricted use' notices you may find along the way

Then _you_ actually perform the audit.

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


[solved - I hope] Re: if_bwn woes

2010-10-07 Thread Eitan Adler
Finally, thank to Freenode's ##freebsd I tried wpa_supplicant which worked.
I can now connect to the internet.

I'd still like to know why I must use the program and I can't use the
raw commands though.

On Thu, Oct 7, 2010 at 9:18 PM, Eitan Adler li...@eitanadler.com wrote:
 On Thu, Oct 7, 2010 at 9:14 PM, Paul B Mahol one...@gmail.com wrote:
 On 10/7/10, Eitan Adler li...@eitanadler.com wrote:
 On Thu, Oct 7, 2010 at 5:22 PM, Paul B Mahol one...@gmail.com wrote:
 On 10/7/10, Eitan Adler li...@eitanadler.com wrote:
 Looks like you cant associate at all.
 Also signal power is too low.

 Why is INT (beacon interval of AP) 102 ?

 These are the defaults - I have no idea what these numbers mean. What
 should/could I be changing?

 I doubt that AP have capatibility to change that.
 Anyway maybe you could associate if your txpower is big enough...


 Sorry - I realized a brief portion of out conversation was done off-list.

 I just noticed that when I put in the ssid ifconfig seems to be
 cycling among multiple channels (1,5, 11,12,13 ,14 and maybe others).

 Well, force it to stay on channel 1 all the time.

 I destroyed and recreated wlan0 with the channel 1
 Now it stopped cycling but bwn0 now says no carrier as well.


 --
 Eitan Adler




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


Re: VirtualBox: Pressing some key few times fast causes an event storm

2010-10-07 Thread Adam Vande More
On Thu, Oct 7, 2010 at 5:57 PM, Yuri y...@rawbw.com wrote:

 On 10/06/2010 16:33, Adam Vande More wrote:


 Yes, it is not specific to FreeBSD and really not even specific to
 VirtualBox since VMware guests can also experience the issue.  There are
 resolutions to it, if you bother to look.


 I found some references with recommendations like check your key repeat
 rate. I changed that in the guest but it didn't help.


There is a lot more than that for suggestions, but the #1 easiest solution
is to install guest additions.  I've never had a problem with that
installed.

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


Re: VirtualBox: Pressing some key few times fast causes an event storm

2010-10-07 Thread Yuri

On 10/07/2010 17:29, Adam Vande More wrote:
On Thu, Oct 7, 2010 at 5:57 PM, Yuri y...@rawbw.com 
mailto:y...@rawbw.com wrote:


On 10/06/2010 16:33, Adam Vande More wrote:


Yes, it is not specific to FreeBSD and really not even
specific to VirtualBox since VMware guests can also experience
the issue.  There are resolutions to it, if you bother to look.


I found some references with recommendations like check your key
repeat rate. I changed that in the guest but it didn't help.


There is a lot more than that for suggestions, but the #1 easiest 
solution is to install guest additions.  I've never had a problem with 
that installed.


--
Adam Vande More


But I have this problem with guest additions.

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


Re: VirtualBox: Pressing some key few times fast causes an event storm

2010-10-07 Thread Adam Vande More
On Thu, Oct 7, 2010 at 7:30 PM, Yuri y...@rawbw.com wrote:

  But I have this problem with guest additions.


I can't reproduce it.  Does you CPU support virtualization extensions eg VT
and is it turned on?  Is your guest additions in sync with your VBox
version?  Are you running the latest VBox?

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