ndis(4) driven wifi bridge on 6.2?

2007-07-03 Thread Jim Capozzoli

It's possible to build wireless bridges (on freebsd 6.2) using ndis(4)
driven wireless devices, right?  A quick search of ndis freebsd
wireless bridge on google didn't seem to turn up anything, and the
man page doesn't seem to say anything about whether it can or can't.

I got some of those Linksys WMP11's, I thought It'd be cool to throw
one in my shell server and make a wireless - wired bridge.  But I
also don't want to rip the machine apart, plug this junk into it, just
to find out it won't work. ;)  Thanks.

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


Re: FreeBSD 7.0-Release

2007-07-03 Thread Gelsema, P \(Patrick\) - FreeBSD
On Tue, July 3, 2007 01:33, Pietro Cerutti wrote:

 matt donovan wrote:
 it's on the freebsd site but the code freeze has begun so some are
 guessing
   /\/\

 Did you mean it isn't, right? Because I just can't find any infos
 about the releng schedule for 7-RELEASE..

http://www.freebsd.org/releng

Rgds,

Patrick


 around October or so

 On 7/2/07, Joe Vender [EMAIL PROTECTED] wrote:

 Has a release date been set for FreeBSD 7.0-Release? If not, how about
 an
 (educated guess) approximate date, month?

 Joe

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

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


 --
 Pietro Cerutti

 PGP Public Key:
 http://gahr.ch/pgp


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


Your Website

2007-07-03 Thread Spain Dream Property

   Hi,
   This is Christian from [1]http://www.spaindreamproperty.com
   Today, I visited your web site and I like it. I am interested in your
   site
   because it looks like it's relevant to a site for which I am seeking
   links in our business directory.
   I have already added your web site link to our link exchange page at:
   [2]http://www.spaindreamproperty.com/directory/showcat.php?cat=1362
   I would be very grateful if you could link back to us.
   Please use this information to link back to us:
   URL: http://www.spaindreamproperty.com
   Title: Buy Property in Almeria
   Description: Spanish Property management specialists. Buy your dream
   house, villa or apartment in Almeria from us, get purchasing
   advice and information online.
   or use the following html code
   a
   href=http://www.spaindreamproperty.com/showarea.php?Area=AlmeriaBuy
   Property in Almeria/a - Buy your dream house, villa or apartment
   from us, get purchasing advice and information online.
   Best Regards

   C Groberty

   Email: [EMAIL PROTECTED]

   PS. I have sent you this mail as a one-off e-mail. If you would like
   me to remove the link promoting your site, please let me know and I
   will do so.

References

   1. http://www.spaindreamproperty.com/
   2. http://www.spaindreamproperty.com/directory/showcat.php?cat=1362
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SMP options and core dump failure

2007-07-03 Thread Gelsema, P \(Patrick\) - FreeBSD
On Tue, July 3, 2007 02:59, Yong Rao wrote:
 Hello,



 We have a problem with SMP kernel. It could not dump out core when the
 crash happens.

Which version of FreeBSD? -Current?

better ask in [EMAIL PROTECTED] or file a PR.
http://www.freebsd.org/send-pr.html

Rgds,

Patrick





 I am able to isolate the problem to kernel configurations which have SMP
 enabled when used with 2 cpus.

 With ONE cpu the core dump works ok.



 I built the kernel with GENERIC, and deliberately crash the kernel (for
 testing purpose). The core dump works fine.

 Only added the options SMP and crashed the kernel, then prior to any
 pages being dumped out, it hangs there.



 Has someone successfully core dumped on a system using SMP kernel with
 multiple CPUs?



 I tried on two different boxes (different motherboards, CPUs and hard
 disks). Both got failed.



 I tried to enable the DDB, but don't know what to look for when it goes
 into ddb. Appreciate any pointers.



 a) The CPU information is



 CPU: Dual Core AMD Opteron(tm) Processor 280 (2405.47-MHz 686-class CPU)

   Origin = AuthenticAMD  Id = 0x20f12  Stepping = 2


 Features=0x178bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE
 ,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,S

 SE,SSE2,HTT

   Features2=0x1SSE3

   AMD Features=0xe2500800SYSCALL,NX,MMX+,FFXSR,LM,3DNow+,3DNow

   AMD Features2=0x3LAHF,CMP

   Cores per package: 2





 b) We also tried on another mother board, which has 2 CPUs. The CPU
 information is below.



 CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2800.11-MHz 686-class CPU)

   Origin = GenuineIntel  Id = 0xf29  Stepping = 9


 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE
 ,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE

   Features2=0x4400CNTX-ID,b14

 real memory  = 2147418112 (2047 MB)

 avail memory = 2096300032 (1999 MB)

 ACPI APIC Table: A M I  OEMAPIC 

 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs  cpu0 (BSP): APIC
 ID:  0

  cpu1 (AP): APIC ID:  6





 c) The following are the prints when the dump hung.



 mem dump: start address = 0x4352, len=0x30








 Fatal trap 12: page fault while in kernel mode


 cpuid = 1; apic id = 01


 fault virtual address   = 0x4352


 fault code  = supervisor read, page not present


 instruction pointer = 0x20:0xc9e9fc92


 stack pointer   = 0x28:0xebdbdbdc


 frame pointer   = 0x28:0xebdbdbf8


 code segment= base 0x0, limit 0xf, type 0x1b


 = DPL 0, pres 1, def32 1, gran 1


 processor eflags= interrupt enabled, resume, IOPL = 0


 current process = 74231 (pnicdbg)


 trap number = 12


 panic: page fault


 cpuid = 1


 Uptime: 1d18h27m42s


 Dumping 4030 MB (2 chunks)


   chunk 0: 1MB (154 pages) ... ok


   chunk 1: 4031MB (1031776 pages)   (stopped and hung here)





 Thanks,



 Yong Rao

 Force10 Networks Inc.

 350 Holger Way

 San Jose, CA 95132

 408 571 6317



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


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


RE: The worst error message in history belongs to... BIND9!

2007-07-03 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Martin
 McCormick
 
 Then, there is the ultimate, the Check engine. light on the
 modern car. 

Check engine - CEL

 It would be so nice if it said some indication as to
 the seriousness of the problem so that one knows whether to get
 it fixed now and maybe save $5,000 worth of repair costs or let
 it slide a few days until a better time.
 

Most people take the tack that if the CEL comes on and the engine
is still running and the car still goes, that they can let it slide.

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


Re: FreeBSD 7.0-Release

2007-07-03 Thread Pietro Cerutti
Gelsema, P (Patrick) - FreeBSD wrote:
 On Tue, July 3, 2007 01:33, Pietro Cerutti wrote:
 matt donovan wrote:
 it's on the freebsd site but the code freeze has begun so some are
 guessing
   /\/\

 Did you mean it isn't, right? Because I just can't find any infos
 about the releng schedule for 7-RELEASE..
 
 http://www.freebsd.org/releng

Can you see any release date there? It's just me, or there's only stated
that the release process began in june?

 
 Rgds,
 
 Patrick
 
 around October or so

 On 7/2/07, Joe Vender [EMAIL PROTECTED] wrote:
 Has a release date been set for FreeBSD 7.0-Release? If not, how about
 an
 (educated guess) approximate date, month?

 Joe

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

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

 --
 Pietro Cerutti

 PGP Public Key:
 http://gahr.ch/pgp

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


-- 
Pietro Cerutti

PGP Public Key:
http://gahr.ch/pgp



signature.asc
Description: OpenPGP digital signature


Re: FreeBSD 7.0-Release

2007-07-03 Thread Joe Vender
On Monday 02 July 2007 18:16, matt donovan wrote:
 it's on the freebsd site but the code freeze has begun so some are guessing
 around October or so

 On 7/2/07, Joe Vender [EMAIL PROTECTED] wrote:
  Has a release date been set for FreeBSD 7.0-Release? If not, how about an
  (educated guess) approximate date, month?
 
  Joe


Thanks. About 4 months from initial code freeze. That's about what I expected.

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


Re: The worst error message in history belongs to... BIND9!

2007-07-03 Thread nawcom
Reminds me of a typical windows user i dealt with who saw an error about 
explorer.exe and how it could not be read and let it slide. :-P


using my wicked non user friendly skillz of the damned, i personally 
like the concept of a simple  pebkac error when bind refuses to start 
due to a named.conf setting or similar. sortof creates a challenge, an 
adventure to find what's causing the issue yourself.


wait. i shouldn't be promoting ideas on how make things worse off on 
freebsd-questions.


pardon this useless email.

-ben

Ted Mittelstaedt wrote:
  

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Martin
McCormick

Then, there is the ultimate, the Check engine. light on the
modern car. 



Check engine - CEL

  

It would be so nice if it said some indication as to
the seriousness of the problem so that one knows whether to get
it fixed now and maybe save $5,000 worth of repair costs or let
it slide a few days until a better time.




Most people take the tack that if the CEL comes on and the engine
is still running and the car still goes, that they can let it slide.

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


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


Re: FreeBSD 7.0-Release

2007-07-03 Thread Joao Barros

On 7/3/07, Joe Vender [EMAIL PROTECTED] wrote:

On Monday 02 July 2007 18:16, matt donovan wrote:
 it's on the freebsd site but the code freeze has begun so some are guessing
 around October or so

 On 7/2/07, Joe Vender [EMAIL PROTECTED] wrote:
  Has a release date been set for FreeBSD 7.0-Release? If not, how about an
  (educated guess) approximate date, month?
 
  Joe


Thanks. About 4 months from initial code freeze. That's about what I expected.

Joe



Keep an eye here: http://www.freebsd.org/releases/7.0R/schedule.html

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


BIND to listen on all interfaces?

2007-07-03 Thread Nejc Škoberne

Hello,

I am running BIND (from base system) on my FreeBSD 5.3 machine. The box is
connected to outer world via ADSL connection (tun0 device). If the named is
started when the machine is connected to the internet, then everything is OK,
I get this by saying netstat -n -a:

udp4   0  0  X.X.X.X.53 *.*
udp4   0  0  127.0.0.1.53   *.*
udp4   0  0  10.0.1.3.53*.*

but at boot time, the named starts before the PPP connection is started, so
the tun0 interface is not up yet. So that's why I get this:

udp4   0  0  127.0.0.1.53   *.*
udp4   0  0  10.0.1.3.53*.*

In BIND manual, it says:

If no listen-on is specified, the server will listen on port 53 on all 
interfaces.

I also tried to specify the ADSL IP address in named.conf (it is static), but 
it is
still a no go. I don't have such problems with other daemons! Any ideas?

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


Could not start GNOME or KDE in Freebsd 6.2

2007-07-03 Thread Prakash Poudyal

Hello everybody,

I could not start install GNOME or KDE in Freebsd 6.2 If you have any  idea
or process please  could you give suggestion for me to do it.

Thank you

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


Re: FreeBSD 7.0-Release

2007-07-03 Thread Giorgos Keramidas
On 2007-07-02 16:21, Joe Vender [EMAIL PROTECTED] wrote:
 Has a release date been set for FreeBSD 7.0-Release? If not, how about
 an (educated guess) approximate date, month?

The release schedules are posted online at:

http://www.FreeBSD.org/releng/

If a date is not posted there, it's probably not official yet.  Even if
a date *IS* posted there, it is subject to change according to the plans
of the Release Engineering team.

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


Re[2]: flash

2007-07-03 Thread Gerard
On July 02, 2007 at 11:57PM Richard Lynch wrote:


 Need is relative, but personally, I stopped installing Flash even
 operating systems where it actually sort of works, albeit sucking down
 CPU and RAM like there's no tomorrow, and crashing on a semi-regular
 basis...
 
 I found my surfing experience vastly improved without Flash.
 
 Formerly dog-slow sites are much faster.
 
 And there isn't any content I've felt deprived to not get.
 
 Obviously, folks who spend their free time (or work-time :-)) watching
 youtube would feel differently, but...

Personally, I disagree. Many sites that I use, including business
sites, require the use of Flash. Your statement that Flash is only
relevant for those who view 'YouTube' is grossly incorrect. It is due
to the numerous problems of getting Flash to work correctly under
FreeBSD, regardless of which browser the end user is employing, that
I keep a Windows machine so as to facilitate the viewing of Flash
content.

IMHO, this is one of the reasons that more users do not use alternative
operating systems like FBSD. I would love to see a simple procedure
that would install Firefox or Opera, with Flash, Java and possibly PDF
support installed and configured. I have seen too many individuals
simply give up on the procedure and return to using Windows for
browsing.  A simple search of this forum will prove that point out. It
just shouldn't have to be that complicated.

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


OpenOffice.org 2.2.1 quits on launch

2007-07-03 Thread Paul Chvostek
Hiya.

I just did my Xorg upgrade, which included an upgrade of OpenOffice.org
to version 2.2.1.

Now, when I launch OO, it complains not at all, but opens no windows.
It doesn't take much time:

   time openoffice.org-2.2.1
  0.727u 0.267s 0:02.06 47.5% 301+915k 1+0io 0pf+0w
  

The shell wrapper (/usr/local/openoffice.org-2.2.1/program/soffice) is
definitely running soffice.bin.  But the binary does nothing except
return an exit value of 78, which is *not* trapped by the shell wrapper.
And I don't know what 78 means.

I've seen some hints in other operating systems' forums that OO does
strange things when fonts with questionable metrics are installed, so
I've uninstalled a bunch of things that I can probably do without, and
replaced the rest with `portupgrade -fR xorg-fonts-7.2`, to no avail.

Running soffice.bin in an strace produces gobs of output that I don't
know how to interpret.  The last few useful lines from strace refer to
libraries like libglib, libiconv, etc, so I've reinstalled glib2 and
libiconv and some others, also to no avail.

I'm in 6.1-RELEASE-p17.  Java (diablo-jdk1.5.0) works standalone, TTF
fonts work in other apps, and OO was built with these in /etc/make.conf:
  WITH_EVOLUTION2=yes
  WITH_TTF_BYTECODE_ENABLED=yes
  WITH_SYSTEM_FREETYPE=yes

Any suggestions?  Has anyone else seen and solved this?

Thanks.

-- 
  Paul Chvostek [EMAIL PROTECTED]

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


Re: The worst error message in history belongs to... BIND9!

2007-07-03 Thread Paul Chvostek
On Mon, Jul 02, 2007 at 03:11:56PM -0500, Martin McCormick wrote:
 
 #! /bin/sh
 a = 5
 
 that's enough to make it happen. Run that, and you get:
 
 a: not found
 
   Interestingly enough, if you run that same script in a
 Debian Linux environment, you get:
 
 ./testfile: line 2: a: command not found

This is actually just the difference between sh and bash.  You'll see
the latter error if you type `a = 5` in bash in any OS.  It just so
happens that most Linux distributions don't have a real sh:

  [EMAIL PROTECTED] ~]$ uname -s
  Linux
  [EMAIL PROTECTED] ~]$ ls -l `which bash sh`
  -rwxr-xr-x  1 root root 616248 Aug 13  2006 /bin/bash
  lrwxrwxrwx  1 root root  4 Mar 25 20:36 /bin/sh - bash


-- 
  Paul Chvostek [EMAIL PROTECTED]

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


Re: Could not start GNOME or KDE in Freebsd 6.2

2007-07-03 Thread Gerard
On July 03, 2007 at 07:53AM Prakash Poudyal wrote:


 I could not start install GNOME or KDE in Freebsd 6.2 If you have any  idea
 or process please  could you give suggestion for me to do it.

Sorry, my crystal ball is out for cleaning today. Perhaps you might be
kind enough to include the log file(s) that you have regarding this
incident. Also post any error messages, etc. that you receive as well
as any other additional relevant data.

Read 'man script' if you need assistance on how to create a log file
of your installation.

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


Re: OpenOffice.org 2.2.1 quits on launch

2007-07-03 Thread [LoN]Kamikaze
Paul Chvostek wrote:
 Hiya.

 I just did my Xorg upgrade, which included an upgrade of OpenOffice.org
 to version 2.2.1.

 Now, when I launch OO, it complains not at all, but opens no windows.
 It doesn't take much time:

time openoffice.org-2.2.1
   0.727u 0.267s 0:02.06 47.5% 301+915k 1+0io 0pf+0w
   

 The shell wrapper (/usr/local/openoffice.org-2.2.1/program/soffice) is
 definitely running soffice.bin.  But the binary does nothing except
 return an exit value of 78, which is *not* trapped by the shell wrapper.
 And I don't know what 78 means.

 I've seen some hints in other operating systems' forums that OO does
 strange things when fonts with questionable metrics are installed, so
 I've uninstalled a bunch of things that I can probably do without, and
 replaced the rest with `portupgrade -fR xorg-fonts-7.2`, to no avail.

 Running soffice.bin in an strace produces gobs of output that I don't
 know how to interpret.  The last few useful lines from strace refer to
 libraries like libglib, libiconv, etc, so I've reinstalled glib2 and
 libiconv and some others, also to no avail.

 I'm in 6.1-RELEASE-p17.  Java (diablo-jdk1.5.0) works standalone, TTF
 fonts work in other apps, and OO was built with these in /etc/make.conf:
   WITH_EVOLUTION2=yes
   WITH_TTF_BYTECODE_ENABLED=yes
   WITH_SYSTEM_FREETYPE=yes

 Any suggestions?  Has anyone else seen and solved this?

 Thanks.


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


Re: The worst error message in history belongs to... BIND9!

2007-07-03 Thread Martin McCormick
Paul Chvostek writes:
 This is actually just the difference between sh and bash.  You'll see
 the latter error if you type `a = 5` in bash in any OS.  It just so
 happens that most Linux distributions don't have a real sh:

I kind of thought that was the real issue. While
something like this is maybe slightly annoying at times, the
differences in, say, arithmetic handling and loops can sometimes
mean rewriting parts of shell scripts depending on whether it is
going to run in BSD or Linux.

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


Re: flash

2007-07-03 Thread RW
On Tue, 03 Jul 2007 08:21:38 -0400
Gerard [EMAIL PROTECTED] wrote:

 On July 02, 2007 at 11:57PM Richard Lynch wrote:
 
   ...
  And there isn't any content I've felt deprived to not get.
  
  Obviously, folks who spend their free time (or work-time :-))
  watching youtube would feel differently, but...
 
 Personally, I disagree. Many sites that I use, including business
 sites, require the use of Flash. Your statement that Flash is only
 relevant for those who view 'YouTube' is grossly incorrect. It is due
 to the numerous problems of getting Flash to work correctly under
 FreeBSD, regardless of which browser the end user is employing, that
 I keep a Windows machine so as to facilitate the viewing of Flash
 content.
 
 IMHO, this is one of the reasons that more users do not use
 alternative operating systems like FBSD. ...

Can anyone comment on how well Flash9 works in a real Linux
distribution?

In particular does it have the problem where the flash item turns
into a blank box after a few seconds. If that problem exists in Linux
there's a decent chance it will get fixed by Adobe.

 

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


Re: The worst error message in history belongs to... BIND9!

2007-07-03 Thread RW
On Tue, 03 Jul 2007 08:44:14 -0500
Martin McCormick [EMAIL PROTECTED] wrote:

 Paul Chvostek writes:
  This is actually just the difference between sh and bash.  You'll
  see the latter error if you type `a = 5` in bash in any OS.  It
  just so happens that most Linux distributions don't have a real sh:
 
   I kind of thought that was the real issue. While
 something like this is maybe slightly annoying at times, the
 differences in, say, arithmetic handling and loops can sometimes
 mean rewriting parts of shell scripts depending on whether it is
 going to run in BSD or Linux.

That's why there is a POSIX standard, and why many people think it's
bad idea to get into the habit of using bash specific scripts.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: flash

2007-07-03 Thread Tom Grove

RW wrote:

On Tue, 03 Jul 2007 08:21:38 -0400
Gerard [EMAIL PROTECTED] wrote:

  

On July 02, 2007 at 11:57PM Richard Lynch wrote:



 ...
And there isn't any content I've felt deprived to not get.

Obviously, folks who spend their free time (or work-time :-))
watching youtube would feel differently, but...
  

Personally, I disagree. Many sites that I use, including business
sites, require the use of Flash. Your statement that Flash is only
relevant for those who view 'YouTube' is grossly incorrect. It is due
to the numerous problems of getting Flash to work correctly under
FreeBSD, regardless of which browser the end user is employing, that
I keep a Windows machine so as to facilitate the viewing of Flash
content.

IMHO, this is one of the reasons that more users do not use
alternative operating systems like FBSD. ...



Can anyone comment on how well Flash9 works in a real Linux
distribution?

In particular does it have the problem where the flash item turns
into a blank box after a few seconds. If that problem exists in Linux
there's a decent chance it will get fixed by Adobe.

 

 
___

freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  
I will say that my limited use with Debian testing (Lenny) and Flash was 
actually quite pleasant.  Flash worked on almost all sites very well.


I'm not all that familiar with the process that the FreeBSD Foundation 
went through to get Java binaries but I am wondering if they could do 
something similar with Adobe to get a native Flash on FreeBSD.  How 
possible is this?  I know this probably goes against everything that BSD 
stands for but money talks in this day and age.'


Would it be worth pursuing some kind of license agreement with Adobe so 
that the community or Adobe could start working on a native Flash for 
FreeBSD?


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


Maximun number of LUNs recognized by FreeBSD 6.2

2007-07-03 Thread Marcelo Vieira

Hi,

I'm not having success to find which would be the maximum number of LUNs
recognized by FreeBSD 6.2.
I have an HBA Qlogix QLA2340 attached to an EMC Symmetrix and was not able
to recognize any LUN higher that 7.
Once I could not find any documentation informing that this really is the
limit recognized by it I'm in doubt if I'm having an issue or it is working
as expected.
Could someone clarify this question ?

Thanks,

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


MySQL Quotas

2007-07-03 Thread Grant Peel
Hi,

I am posting this here thinking this may be more of an OS thing than a mysql 
thing...

Since all mysql databases and tables need to be owned by the mysql user, is 
there, er, has anyone figured out a way to impose disk quotas per database for 
mysql?

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


Re: flash

2007-07-03 Thread Dick Hoogendijk
Gerard [EMAIL PROTECTED] writes:

 IMHO, this is one of the reasons that more users do not use
 alternative operating systems like FBSD.

FreeBSD needs native support from Adobe. Flash, although I dislike it,
is needed in modern web experience. Flash works very well on windows,
but also on linux and (luckely for me) solaris. No hassle, just
download the right flash file for my OS and it works. I hope this day
will come for FreeBSD too. I remember from my days using fbsd flash
was one of the annoying items to get working.

 I have seen too many individuals simply give up on the procedure and
 return to using Windows for browsing.

Hmm, that's their loss I guess. It won't take too long before browsing
in this OS becomes a real pain in due to malware. I never was
clean longer than a few minutes unprotected.

 A simple search of this forum will prove that point out. It just
 shouldn't have to be that complicated.

It can ruin the experience. You're right about hat.

-- 
Dick Hoogendijk -- PGP/GnuPG key: F86289CE
++ http://nagual.nl/ + Solaris 11 05/07 ++
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: SMP options and core dump failure

2007-07-03 Thread Yong Rao
Thanks, Patrick!
It is not the current version. It is

FreeBSD localhost.localdomain 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri
Jun 15 11:02:24 PDT 2007  

Thanks,
Yong

-Original Message-
From: Gelsema, P (Patrick) - FreeBSD [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 03, 2007 1:23 AM
To: Yong Rao
Cc: [EMAIL PROTECTED]
Subject: Re: SMP options and core dump failure

On Tue, July 3, 2007 02:59, Yong Rao wrote:
 Hello,



 We have a problem with SMP kernel. It could not dump out core when the
 crash happens.

Which version of FreeBSD? -Current?

better ask in [EMAIL PROTECTED] or file a PR.
http://www.freebsd.org/send-pr.html

Rgds,

Patrick





 I am able to isolate the problem to kernel configurations which have
SMP
 enabled when used with 2 cpus.

 With ONE cpu the core dump works ok.



 I built the kernel with GENERIC, and deliberately crash the kernel
(for
 testing purpose). The core dump works fine.

 Only added the options SMP and crashed the kernel, then prior to any
 pages being dumped out, it hangs there.



 Has someone successfully core dumped on a system using SMP kernel with
 multiple CPUs?



 I tried on two different boxes (different motherboards, CPUs and hard
 disks). Both got failed.



 I tried to enable the DDB, but don't know what to look for when it
goes
 into ddb. Appreciate any pointers.



 a) The CPU information is



 CPU: Dual Core AMD Opteron(tm) Processor 280 (2405.47-MHz 686-class
CPU)

   Origin = AuthenticAMD  Id = 0x20f12  Stepping = 2



Features=0x178bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE
 ,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,S

 SE,SSE2,HTT

   Features2=0x1SSE3

   AMD Features=0xe2500800SYSCALL,NX,MMX+,FFXSR,LM,3DNow+,3DNow

   AMD Features2=0x3LAHF,CMP

   Cores per package: 2





 b) We also tried on another mother board, which has 2 CPUs. The CPU
 information is below.



 CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2800.11-MHz 686-class CPU)

   Origin = GenuineIntel  Id = 0xf29  Stepping = 9



Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE
 ,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE

   Features2=0x4400CNTX-ID,b14

 real memory  = 2147418112 (2047 MB)

 avail memory = 2096300032 (1999 MB)

 ACPI APIC Table: A M I  OEMAPIC 

 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs  cpu0 (BSP): APIC
 ID:  0

  cpu1 (AP): APIC ID:  6





 c) The following are the prints when the dump hung.



 mem dump: start address = 0x4352, len=0x30








 Fatal trap 12: page fault while in kernel mode


 cpuid = 1; apic id = 01


 fault virtual address   = 0x4352


 fault code  = supervisor read, page not present


 instruction pointer = 0x20:0xc9e9fc92


 stack pointer   = 0x28:0xebdbdbdc


 frame pointer   = 0x28:0xebdbdbf8


 code segment= base 0x0, limit 0xf, type 0x1b


 = DPL 0, pres 1, def32 1, gran 1


 processor eflags= interrupt enabled, resume, IOPL = 0


 current process = 74231 (pnicdbg)


 trap number = 12


 panic: page fault


 cpuid = 1


 Uptime: 1d18h27m42s


 Dumping 4030 MB (2 chunks)


   chunk 0: 1MB (154 pages) ... ok


   chunk 1: 4031MB (1031776 pages)   (stopped and hung here)





 Thanks,



 Yong Rao

 Force10 Networks Inc.

 350 Holger Way

 San Jose, CA 95132

 408 571 6317



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


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


RE: The worst error message in history belongs to... BIND9!

2007-07-03 Thread Ted Mittelstaedt

You could make it more zen-like, perhaps:

You are out of tune with the Universe, grasshopper.  Continue your studies

And, if everything was correct it could issue:

awakening has been attained, entering zazen

Ted

 -Original Message-
 From: nawcom [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, July 03, 2007 2:24 AM
 To: Ted Mittelstaedt
 Cc: freebsd-questions@freebsd.org
 Subject: Re: The worst error message in history belongs to... BIND9!


 Reminds me of a typical windows user i dealt with who saw an error about
 explorer.exe and how it could not be read and let it slide. :-P

 using my wicked non user friendly skillz of the damned, i personally
 like the concept of a simple  pebkac error when bind refuses to start
 due to a named.conf setting or similar. sortof creates a challenge, an
 adventure to find what's causing the issue yourself.

 wait. i shouldn't be promoting ideas on how make things worse off on
 freebsd-questions.

 pardon this useless email.

 -ben

 Ted Mittelstaedt wrote:
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Martin
  McCormick
 
  Then, there is the ultimate, the Check engine. light on the
  modern car.
 
 
  Check engine - CEL
 
 
  It would be so nice if it said some indication as to
  the seriousness of the problem so that one knows whether to get
  it fixed now and maybe save $5,000 worth of repair costs or let
  it slide a few days until a better time.
 
 
 
  Most people take the tack that if the CEL comes on and the engine
  is still running and the car still goes, that they can let it slide.
 
  Ted
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 



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


Re: Re: Re: flash

2007-07-03 Thread eculp

Quoting Norberto Meijome [EMAIL PROTECTED]:


On Mon, 02 Jul 2007 18:15:55 -0500
[EMAIL PROTECTED] wrote:


P.S.  Need a trick to get folks to recognize it as flash9.  I have an
idea, possibly incorrect, that most folks who are asking for flash8 or
higher will work with flash 7.


I agree with you here, and I will test any possible hack :)


When you finish your tests, I would appreciate your adding my email,  
[EMAIL PROTECTED] to the list.  When I get behind, I often suspend  
freebsd-questions.


Thanks,

ed

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


Re: Re: flash

2007-07-03 Thread eculp

Quoting Robert Huff [EMAIL PROTECTED]:


Richard Lynch writes:


 I found my surfing experience vastly improved without Flash.

 Formerly dog-slow sites are much faster.

 And there isn't any content I've felt deprived to not get.


There are an increasing number of sites - including way too
many companies who can afford to hire people who ought to know
better - where the entry page is 100% Flash.  Not even a button for
[Skip Flash].


Hopefully the iPhone will help that as it doesn't include flash.   
That, I assume is the reason for http://m.youtube.com/, at least  
reduce the flash menues.


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


Re: large pages

2007-07-03 Thread Wojciech Puchar
with 1536MB AMD64 machine it would be nice for FreeBSD to boot seeing 256 
megs for itself and allowing 1280 megs to be mappedlocked to just one 
program.


Hmm.  Doesn't FreeBSD's default VM behavior do just fine dealing with one 
large active process without any unusual tuning?



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


Re: large pages

2007-07-03 Thread Wojciech Puchar
how can i check in program that the region is mapped using huge pages? i 
use mmap with address padded to 4M and mlock.



On Sun, 1 Jul 2007, Chuck Swiger wrote:


Wojciech Puchar wrote:
does FreeBSD {can,will,patch exist} supports using huge pages? i mean 2M 
pages on AMD64 and 2/4M pages on i386


I believe so, yes-- isn't this what the PAE kernel option does?

i need freebsd just for running one program needing about 1280 megs of data 
space (+1-2 meg of code stacks etc. can be normally mapped). everything 
else is just using less than 1% of power.


with 1536MB AMD64 machine it would be nice for FreeBSD to boot seeing 256 
megs for itself and allowing 1280 megs to be mappedlocked to just one 
program.


Hmm.  Doesn't FreeBSD's default VM behavior do just fine dealing with one 
large active process without any unusual tuning?


--
-Chuck



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


Re: Anyone has migrated Xorg from 6.9 to 7.2 with success ?

2007-07-03 Thread Wojciech Puchar

Hello

I tried twice starting from a fresh 6.2-R installed machine
and followed intructions of the updating file but it failed
twice ... Once Xorg has been upgraded I've never been able
to start X server again , I use KDE so I start X server with
the kdm command.

actually i just installed new system in subdirectory with usr/ports and 
after chown built everything from scratch, then just copied my configs in 
/etc, important things in var moved /home and kernel and moved everything 
to /


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


2TB (and above) Disk

2007-07-03 Thread Dave Raven
Hi all,
Firstly I am using FreeBSD 4, I know it's not supported but
hopefully someone has some experience with large disks on 4. I have a box
with 6x 500gig drives, configured in raid 5 which comes out around 2.3
terabytes of space. With that, the system picks up the drive (da0) as 0MB in
size. I haven't been able to solve that, but took one drive out (moving it
to 1.9gig) and it works fine...

However, when I try to use /stand/sysinstall I get tons of drive geometry
errors, and can't create more than a 1TB slice. If I use A to use whole
disk, it goes through with a negative number but then the labeling part of
the process gives a  paritions are larger than actual chunk  error. 

I then ran dd if=/dev/zero of=/dev/da0 bs=1m count=1 and disklabel -wr
da0 auto. This seems to setup a working paritition table, but any attempts
on the drive after that to do a newfs result in: newfs preposterous size
and a negative number...

Any ideas or is it even possible?

Thanks in advance
Dave

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


Re: large pages

2007-07-03 Thread Chuck Swiger

Wojciech Puchar wrote:

how can i check in program that the region is mapped using huge pages?


I am not entirely sure from within userland, but I believe the kernel boot 
messages will indicate the status of PAE.



i use mmap with address padded to 4M and mlock.


Note that there is a separate tunable for the maximum # of pages that a 
process or user can lock down; you'll probably need to increate that value.


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


Re: MySQL Quotas

2007-07-03 Thread Chuck Swiger

Grant Peel wrote:

I am posting this here thinking this may be more of an OS thing than a mysql 
thing...

Since all mysql databases and tables need to be owned by the mysql user, is
there, er, has anyone figured out a way to impose disk quotas per database
for mysql?


Databases tend to lose pending commits if they no longer can expand and use 
more space; most people do not attempt to use disk quotas with a database 
because new transactions are highly important.


--
-Chuck

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


Re: 7-Current: turn off debugging (kqread?)

2007-07-03 Thread Kevin Kramer
thanks. I rebuild this morning with this and still no change. I can't 
even find any info on these flags...


Pieter de Goeje wrote:

On Friday 29 June 2007, Kevin Kramer wrote:
  

yes. that is where I have started, but I cannot get buildkernel to build
with those commented out. the UPDATING file also lists heavy debugging
turned on in userland, which I can't track down to any config files.

Add CFLAGS+= -DMALLOC_PRODUCTION to make.conf and rebuild world (or just 
libc). It boosted performance for my app (with a lot of embedded lua) by 20%.


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

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


if_bridge and ipfw

2007-07-03 Thread Dave McCammon
I can't seem to grasp why this is working differently.
FreeBSD 6.2 using ipfw + if_bridge

LAN -- em1(if_bridge + ipfw)em0 -- internet

so I am at 10.10.16.6 and try to ping say www.yahoo.com

in ruleset:
1100 allow icmp from any to 10.10.16.0/27{1-10,13,14,19,22,23} icmptypes 
0,3,11,12,13,14
2100 allow ip from 10.10.16.0/27 to any in via em1

gets dropped by following rule as shown in logs:

4700 deny log ip from any to any

Log entry: ipfw: 4700 Deny ICMP:8.0 10.10.16.6 69.147.114.210 out via em0

If I add this rule all works great:

2101 allow icmp from 10.10.16.6 to any icmptypes 8

My confusion is shouldn't the icmp be allowed in rule 2100? Or is it with 
if_bridge I have to make a rule for
both interfaces.


The rule 2100 allow ip from 10.10.16.0/27 to any in via em1 allowed the icmp 
passage,
out of em0 through the bridge in 6.2 using bridge(4).

This entire ruleset is the same with if_bridge as has been working with 
bridge(4).
I just moved to if_bridge since the bridge(4) is obsolete.

Thanks for your help.
dave






   

Get the Yahoo! toolbar and be alerted to new email wherever you're surfing.
http://new.toolbar.yahoo.com/toolbar/features/mail/index.php
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: The worst error message in history belongs to... BIND9!

2007-07-03 Thread Bill Campbell
On Tue, Jul 03, 2007, Martin McCormick wrote:
Paul Chvostek writes:
 This is actually just the difference between sh and bash.  You'll see
 the latter error if you type `a = 5` in bash in any OS.  It just so
 happens that most Linux distributions don't have a real sh:

   I kind of thought that was the real issue. While
something like this is maybe slightly annoying at times, the
differences in, say, arithmetic handling and loops can sometimes
mean rewriting parts of shell scripts depending on whether it is
going to run in BSD or Linux.

That's a major argument for doing things in python or perl as
they are consistent across all platforms.  While perl has a well
deserved reputation for looking like modem noise, it's certainly
no worse than shell scripts.

Pure /bin/sh is very limited in its constructs compared to other
shells such as ksh, bash, etc.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

Marijuana will be legal some day, because the many law students
who now smoke pot will someday become congressmen and legalize
it in order to protect themselves.
-- Lenny Bruce
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: The worst error message in history belongs to... BIND9!

2007-07-03 Thread Tom Evans
On Tue, 2007-07-03 at 09:36 -0700, Bill Campbell wrote:
 On Tue, Jul 03, 2007, Martin McCormick wrote:
 Paul Chvostek writes:
  This is actually just the difference between sh and bash.  You'll see
  the latter error if you type `a = 5` in bash in any OS.  It just so
  happens that most Linux distributions don't have a real sh:
 
  I kind of thought that was the real issue. While
 something like this is maybe slightly annoying at times, the
 differences in, say, arithmetic handling and loops can sometimes
 mean rewriting parts of shell scripts depending on whether it is
 going to run in BSD or Linux.
 
 That's a major argument for doing things in python or perl as
 they are consistent across all platforms.  While perl has a well
 deserved reputation for looking like modem noise, it's certainly
 no worse than shell scripts.
 
 Pure /bin/sh is very limited in its constructs compared to other
 shells such as ksh, bash, etc.
 
 Bill
 --
 INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
 URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
 FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
 
 Marijuana will be legal some day, because the many law students
 who now smoke pot will someday become congressmen and legalize
 it in order to protect themselves.
   -- Lenny Bruce

sh should always be sh compatible on every platform (surprisingly). It
may even be defined in one of the POSIX standards. This is why you write
shell scripts in sh, even if you prefer csh, ksh or bash as your actual
shell.

Tom


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


Re: flash

2007-07-03 Thread Chad Perrin
On Mon, Jul 02, 2007 at 10:57:08PM -0500, Richard Lynch wrote:
 
 Need is relative, but personally, I stopped installing Flash even
 operating systems where it actually sort of works, albeit sucking down
 CPU and RAM like there's no tomorrow, and crashing on a semi-regular
 basis...
 
 I found my surfing experience vastly improved without Flash.
 
 Formerly dog-slow sites are much faster.
 
 And there isn't any content I've felt deprived to not get.
 
 Obviously, folks who spend their free time (or work-time :-)) watching
 youtube would feel differently, but...

Actually, you don't need a Flash plugin for YouTube.  Just install
MPlayer with the win32-codecs port, and use youtube-dl (in the youtube_dl
port, of course) to grab the video you want.  The only reason I recently
installed Flash was to make use of the Buell website (they make great
motorcycles, but apparently have no idea how to make an accessible
website).

Of course, with the xpi-flashblock port installed, it's almost exactly
like not having Flash installed at all, most of the time.  I consider
that a feature, of course.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Rudy Giuliani: You have free speech so I can be heard.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem installing FreeBSD 5.3

2007-07-03 Thread Lisa Casey

Hi,

I am attempting to install FreeBSD 5.3 (because that's the latest distro I 
have CD's for) on a brand new system with a 80 G harddrive and 2 G RAM.


I boot from Disk 1 of the 5.3 disk set and choose to begin a standard 
installation. Next is the fdisk utility to partition the drive. The first 
thing  I get is a message which states:


WARNING: A geometry of 155061/16/63 for ad0 is incorrect. Using a more 
likely geometry. If this geometry is incorrect or if you are unsure whether 
or not it's correct, please consult the hardware guide in the documentation 
submenu or use the (G)eometry command to change it now.


Even if I go to bios and use the values bios gives for the harddrive 
(38309/16/255) I still get the same message about incorrect geometry.


I can choose OK and get past this.  I choose to devote the entire disk to 
FreeBSD, and install the FreeBSD boot manager. Next I need to partition my 
drive. The defaults won't do at all (this machine  is to be a radius server 
 mail server and the default size of /var is too small). I chose 2000M for 
/, 4000M for swap (using 2 x RAM), 200M for /tmp, 20,000M for /usr and the 
remainder for /var.


Next I chose to install full sources, binaries  docs and to install the 
Ports collection.


I chose to install from CD then hit OK to start copying files but I get 
this error:


Unable to find device node for /dev/ad0s1b in /dev. The creation of file 
systems will be aborted.


ad0s1b is my swap partition. I changed the size of swap to 2000M thinking 
perhaps it was too large but I get the same error about unable to find 
device node.


I've googled this but haven't found anything that helped me resolve this. 
Any body on this list know what I need to do to get FreeBSD installed on 
this drive?


Thanks,

Lisa Casey


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


pam_ldap issues

2007-07-03 Thread Eric Masson
Hello,

I'm trying to setup authentication via a ldap directory on a 6.2-p5 box.
id queries regarding a ldap defined user using root or a local defined
user work fine :

[EMAIL PROTECTED]:~ id testuser
uid=2000(testuser) gid=2000(test) groups=2000(test)

[EMAIL PROTECTED]:~ id testuser
uid=2000(testuser) gid=2000(test) groups=2000(test)

testuser can't log on the box (authentication failed). The following
message pops on the console :
Jul  3 19:08:03 box login: pam_ldap: error trying to bind as user 
cn=testuser,ou=people,dc=interne,dc=example,dc=org (Invalid credentials)

Openldap logs an error 49 (see attached file).

It seems that nss works but not pam.

ldap related configuration follows :

/usr/local/etc/ldap.conf
base dc=interne,dc=example,dc=org
uri ldap://127.0.0.1:389/

logdir /var/log/ldap
#debug 256

timeout 5
bind_timeout 5
bind_policy soft

rootbinddn cn=Manager,dc=interne,dc=example,dc=org

nss_base_passwd ou=people,dc=interne,dc=example,dc=org?one
nss_base_group ou=groups,dc=interne,dc=example,dc=org?one
/usr/local/etc/ldap.conf

/usr/local/etc/openldap/slapd.conf
include /usr/local/etc/openldap/schema/core.schema
include /usr/local/etc/openldap/schema/cosine.schema
include /usr/local/etc/openldap/schema/inetorgperson.schema
include /usr/local/etc/openldap/schema/nis.schema
include /usr/local/etc/openldap/schema/samba.schema

pidfile /var/run/openldap/slapd.pid
argsfile/var/run/openldap/slapd.args

modulepath  /usr/local/libexec/openldap
moduleload  back_bdb

access to dn.base=
by self write
by * auth

access to attrs=userPassword
by self write
by * auth

access to attrs=shadowLastChange
by self write
by * auth

access to *
by * read
by anonymous auth

schemacheck on
idletimeout 30
backend bdb
databasebdb

suffix  dc=interne, dc=example, dc=org
rootdn  cn=Manager, dc=interne, dc=example, dc=org

rootpw  password

checkpoint  1024 5
cachesize   1

directory   /var/db/openldap-data

# Indices to maintain
index   objectClass eq
index   cn  pres,sub,eq
index   sn  pres,sub,eq
index   uid pres,sub,eq
index   displayName pres,sub,eq
index   uidNumber   eq
index   gidNumber   eq
index   memberUID   eq
index   sambaSIDeq
index   sambaPrimaryGroupSIDeq
index   sambaDomainName eq
index   default sub
/usr/local/etc/openldap/slapd.conf

/etc/pam.d/system
#
# $FreeBSD: src/etc/pam.d/system,v 1.1 2003/06/14 12:35:05 des 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
authsufficient  /usr/local/lib/pam_ldap.so  no_warn 
try_first_pass
authrequiredpam_unix.so no_warn try_first_pass 
nullok

# account
#accountrequiredpam_krb5.so
account requiredpam_login_access.so
account requiredpam_unix.so

# session
#sessionoptionalpam_ssh.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
/etc/pam.d/system

/etc/nsswitch.conf
group: files ldap
group_compat: nis
hosts: files dns
networks: files
passwd: files ldap
passwd_compat: nis
shells: files
/etc/nsswitch.conf

Directory has been initialized with the following ldif file

init.ldif
dn: dc=interne,dc=example,dc=org
dc: interne
objectClass: top
objectClass: domain
objectClass: domainRelatedObject
associatedDomain: interne.example.fr
structuralObjectClass: domain

dn: ou=groups,dc=interne,dc=example,dc=org
objectClass: top
objectClass: organizationalUnit
ou: groups
structuralObjectClass: organizationalUnit

dn: ou=people,dc=interne,dc=example,dc=org
objectClass: top
objectClass: organizationalUnit
ou: people
structuralObjectClass: organizationalUnit

dn: cn=testuser,ou=people,dc=interne,dc=example,dc=org
cn: testuser
sn: Dummy
objectClass: top
objectClass: person
objectClass: posixAccount
objectClass: shadowAccount
uid: testuser
userPassword: testuser
uidNumber: 2000
gidNumber: 2000
gecos: Test User
loginShell: /bin/csh
homeDirectory: /home/test
structuralObjectClass: person

dn: cn=test,ou=groups,dc=interne,dc=example,dc=org
objectClass: top
objectClass: posixGroup
cn: test
gidNumber: 2000
memberUid: test
structuralObjectClass: posixGroup
init.ldif

This is 

if_lagg(4) and rc.conf

2007-07-03 Thread Michael W. Lucas
Hi,

I'm trying to configure a lagg(4) interface out of rc.conf.  FreeBSD
doesn't want to initialize the interface at boot.  I'm obviously
missing some little thing.  I'm successfully loading if_lagg into the
kernel, so that's not the problem.

I can configure the interface at the command line if I do a ifconfig
lagg0 create and then enter the configuration, but there doesn't seem
to be a rc.conf flag to tell the system to create an interface?

Here's my rc.conf for these interfaces:

ifconfig_em3=up
ifconfig_em7=up
ifconfig_lagg0=laggproto lacp laggport em3 laggport em7 10.184.1.19 netmask 
0x

Any suggestions?

Thanks,
==ml

-- 
Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED]
http://www.BlackHelicopters.org/~mwlucas/
  Coming Soon: Absolute FreeBSD -- http://www.AbsoluteFreeBSD.com
On 5/4/2007, the TSA kept 3 pairs of my soiled undies for security reasons.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: flash

2007-07-03 Thread Erik Osterholm
On Tue, Jul 03, 2007 at 02:45:58PM +0100, RW wrote:
 Can anyone comment on how well Flash9 works in a real Linux
 distribution?

 In particular does it have the problem where the flash item turns
 into a blank box after a few seconds. If that problem exists in Linux
 there's a decent chance it will get fixed by Adobe.

I get this occasionally, usually when I have multiple tabs open with
Flash items on each page.  Of course, I usually run Firefox with Flash
Block, so I don't tend to see this frequently in that browser--only
when I forget to close tabs when I'm done with them.  In Opera, it's
much more common, because I don't have that plugin.

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


Re: Problem installing FreeBSD 5.3

2007-07-03 Thread Chuck Swiger

Hello--

Lisa Casey wrote:
I am attempting to install FreeBSD 5.3 (because that's the latest distro 
I have CD's for) on a brand new system with a 80 G harddrive and 2 G RAM.


If you're having problems with 5.3, it might be better to try 6.2 or maybe 5.5 
than to spend too much time playing with a version that you're going to have 
to update immediately before using, anyway.


Note that you can simply burn a new FreeBSD image from the ones on 
ftp.freebsd.org or the mirrors mentioned in the fine manual...  :-)


I boot from Disk 1 of the 5.3 disk set and choose to begin a standard 
installation. Next is the fdisk utility to partition the drive. The 
first thing  I get is a message which states:


WARNING: A geometry of 155061/16/63 for ad0 is incorrect. Using a more 
likely geometry. If this geometry is incorrect or if you are unsure 
whether or not it's correct, please consult the hardware guide in the 
documentation submenu or use the (G)eometry command to change it now.


Even if I go to bios and use the values bios gives for the harddrive 
(38309/16/255) I still get the same message about incorrect geometry.


You might try updating your machine's BIOS, if anything is available, and you 
might try entering the disk configuration settings and try to make sure the 
BIOS is set to LBA mode rather than C/H/S or some manual geometry.


Usually the default/auto setting ends up in LBA mode, anyway, unless your BIOS 
is old or flaky.


I can choose OK and get past this.  I choose to devote the entire disk 
to FreeBSD, and install the FreeBSD boot manager. Next I need to 
partition my drive. The defaults won't do at all (this machine  is to be 
a radius server  mail server and the default size of /var is too 
small). I chose 2000M for /, 4000M for swap (using 2 x RAM), 200M for 
/tmp, 20,000M for /usr and the remainder for /var.


Next I chose to install full sources, binaries  docs and to install the 
Ports collection.


I chose to install from CD then hit OK to start copying files but I get 
this error:


Unable to find device node for /dev/ad0s1b in /dev. The creation of file 
systems will be aborted.


ad0s1b is my swap partition. I changed the size of swap to 2000M 
thinking perhaps it was too large but I get the same error about unable 
to find device node.


This implies a problem writing out the partition table.  Make sure the IDE 
cables are OK and that the disk drive and CD-ROM drive have the IDE 
master/slave setting jumpers properly configured.


You might have a BIOS setting about boot sector virus protection; if so, 
turn that off or your BIOS might have prevented FreeBSD from writing the 
bootstrap info/MBR out to disk.


You might also try using a DOS or Windows version of FDISK to create a small 
bootable partition (a Win 98/ME recovery floppy works good for this), and see 
whether that is bootable.  If it is, then try installing FreeBSD to the 
remainder of the disk space.


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


Re: Problem installing FreeBSD 5.3

2007-07-03 Thread Roland Smith
On Tue, Jul 03, 2007 at 02:10:24PM -0400, Lisa Casey wrote:
 Hi,
 
 I am attempting to install FreeBSD 5.3 (because that's the latest distro I 
 have CD's for) on a brand new system with a 80 G harddrive and 2 G RAM.

Since 5.3 is no supported anymore, I suggest that you download 6.2 images.
 
 I boot from Disk 1 of the 5.3 disk set and choose to begin a standard 
 installation. Next is the fdisk utility to partition the drive. The first 
 thing  I get is a message which states:
 
 WARNING: A geometry of 155061/16/63 for ad0 is incorrect. Using a more 
 likely geometry. If this geometry is incorrect or if you are unsure whether 
 or not it's correct, please consult the hardware guide in the documentation 
 submenu or use the (G)eometry command to change it now.

I've ignored this every time I saw it without adverse results.

 I can choose OK and get past this.  I choose to devote the entire disk to 
 FreeBSD, and install the FreeBSD boot manager. Next I need to partition my 
 drive. The defaults won't do at all (this machine  is to be a radius server 
  mail server and the default size of /var is too small). I chose 2000M for 
 /, 4000M for swap (using 2 x RAM), 200M for /tmp, 20,000M for /usr and the 
 remainder for /var.

2000M for / is quite a lot. On my system, root gets 200M. It only uses
about 90M currently.
 
 Unable to find device node for /dev/ad0s1b in /dev. The creation of file 
 systems will be aborted.
 
 ad0s1b is my swap partition. I changed the size of swap to 2000M thinking 
 perhaps it was too large but I get the same error about unable to find 
 device node.
 
 I've googled this but haven't found anything that helped me resolve this. 
 Any body on this list know what I need to do to get FreeBSD installed on 
 this drive?

If it still fails the same way with 6.2, I'd submit a problem report.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpCEv9geiE2G.pgp
Description: PGP signature


Re: if_lagg(4) and rc.conf

2007-07-03 Thread John Nielsen
On Tuesday 03 July 2007 02:35:16 pm Michael W. Lucas wrote:
 I'm trying to configure a lagg(4) interface out of rc.conf.  FreeBSD
 doesn't want to initialize the interface at boot.  I'm obviously
 missing some little thing.  I'm successfully loading if_lagg into the
 kernel, so that's not the problem.

 I can configure the interface at the command line if I do a ifconfig
 lagg0 create and then enter the configuration, but there doesn't seem
 to be a rc.conf flag to tell the system to create an interface?

 Here's my rc.conf for these interfaces:

 ifconfig_em3=up
 ifconfig_em7=up
 ifconfig_lagg0=laggproto lacp laggport em3 laggport em7 10.184.1.19
 netmask 0x

I haven't played with if_lagg yet, but you should be able to use the 
cloned_interfaces knob in /etc/rc.conf to create the interface. e.g.:

cloned_interfaces=lagg0
ifconfig_em3=up
ifconfig_em7=up
ifconfig_lagg0=laggproto lacp laggport em3 laggport em7 10.184.1.19 \
netmask 0x

if_lagg(4) mentions this briefly (at the end before the examples), and 
if_bridge(4) has a pretty good example (you'd substitute lagg for bridge, of 
course).

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


can't build /graphics/poppler-qt after recent cvsup

2007-07-03 Thread epf1

Hi all,

I'm having an odd proble getting poppler-qt to build after my latest cvsup.

I use portmanager to update my ports and when I ran it today I got the
following failure as the poppler-qt port was doing it's configure:

---Snip--
checking for ftell64... no
checking for inflate in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for libjpeg6b... no
checking for libjpeg... -ljpeg
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for FREETYPE... yes
checking for FONTCONFIG... yes
checking for CAIRO... yes
checking for POPPLER_GLIB... yes
checking for glib-mkenums... /usr/local/bin/glib-mkenums
checking for Qt headers... /usr/local/include
checking for Qt libraries... /usr/local/lib
test: xyes: unexpected operator
configure: error: Qt development libraries not found
See `config.log' for more details.
===  Script configure failed unexpectedly.
Please run the gnomelogalyzer, available from
http://www.freebsd.org/gnome/gnomelogalyzer.sh;, which will diagnose the
Snip

I rebuilt  reinstalled Qt to insure that it was reinstalled properly but
that had no effect.

Please advise!

-Will



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


Re: can't build /graphics/poppler-qt after recent cvsup

2007-07-03 Thread Dan Nelson
In the last episode (Jul 03), [EMAIL PROTECTED] said:
 
 Hi all,
 
 I'm having an odd proble getting poppler-qt to build after my latest cvsup.
 
 I use portmanager to update my ports and when I ran it today I got the
 following failure as the poppler-qt port was doing it's configure:
 
 ---Snip--
 checking for Qt headers... /usr/local/include
 checking for Qt libraries... /usr/local/lib
 test: xyes: unexpected operator
 configure: error: Qt development libraries not found

It looks like QT's autoconf test is buggy. 
work/poppler-0.5.4/configure script, line 25757:

if test x$have_qt4 == xyes; then

== is not a valid comparison operator for the test command.  It must
be =.

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


Re: can't build /graphics/poppler-qt after recent cvsup

2007-07-03 Thread John Nielsen
[cc-ing gnome@ as port maintainer]

On Tuesday 03 July 2007 03:52:22 pm Dan Nelson wrote:
 In the last episode (Jul 03), [EMAIL PROTECTED] said:
  I'm having an odd proble getting poppler-qt to build after my latest
  cvsup.
 
  I use portmanager to update my ports and when I ran it today I got the
  following failure as the poppler-qt port was doing it's configure:
 
  ---Snip--
  checking for Qt headers... /usr/local/include
  checking for Qt libraries... /usr/local/lib
  test: xyes: unexpected operator
  configure: error: Qt development libraries not found

 It looks like QT's autoconf test is buggy.
 work/poppler-0.5.4/configure script, line 25757:

 if test x$have_qt4 == xyes; then

 == is not a valid comparison operator for the test command.  It must
 be =.

I was having the same problem as the OP. After Dan's post I did a make 
patch, then modified the configure script replacing two instances of == with 
= on these two lines:

25851:if test x$have_qt == xyes; then
26033:if test x$have_qt == xyes; then

After that I was able to make and install the port.

gnome@ folks, should I submit a PR or will you guys just take this upstream 
directly?

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


Re: Anyone has migrated Xorg from 6.9 to 7.2 with success ?

2007-07-03 Thread Jim Capozzoli

On 7/2/07, Frank Bonnet [EMAIL PROTECTED] wrote:

Hello

I tried twice starting from a fresh 6.2-R installed machine
and followed intructions of the updating file but it failed
twice ... Once Xorg has been upgraded I've never been able
to start X server again , I use KDE so I start X server with
the kdm command.

Thanks a lot for any help

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


I wasn't in the mood for screwing around, so I just rebuilt everything
on my system after grabbing a ports tree with 7.2 in it.

pkg_delete -af
cd /usr/ports/ports-mgmt/portupgrade  make install clean
portupgrade -N x11/xorg x11/kde3 ...

Probably the least efficient way, but it got the job done. ;)

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


Losing connections/performance with PF turned on

2007-07-03 Thread Pat Maddox

We're doing some stress testing on our server, and noticed that when
we turn PF on, we lose connections and have a drastic reduction in
performance.

We used SIEGE for 120 seconds, 50 connections, on req/conn

Firewall On:

Num Users: 50
Availability: 97.23 %
Transaction rate: 58.02 trans/sec
Concurrency: 3.80
Successful: 6994
Failed: 198
Longest Req: 9.06s

Firewall Off:

Num Users: 50
Availability: 100 %
Transaction rate: 94.62 trans/sec
Concurrency: 1.76
Successful: 11342
Failed: 0
Longest Req: 0.51s



You'll notice that with the firewall off, we don't lose any
connections.  We also have a 60% increase in tx/sec, and the longest
request takes 1/20 of the time.

I'm including my complete pf.conf file in the hopes that something
will jump out at someone.

Thanks,
Pat




# --- pf.conf skeleton for server
#
# --- MACRO Section  -

EXT_IF=em0

PING = echoreq

# --- allowed incoming services initiated by clients

TCP_IN = { http, 8080, nrpe }
#UDP_IN = { }

SSH_IN = { xxx.xxx.xxx.xxx }

# --- allowed services initiated by server

TCP_OUT = { ssh, smtp, domain, ntp, 3690, , http, ftp, 29125 }
UDP_OUT = { domain, ntp }

ORIGINS = { xxx.xxx.xxx.xxx }

# -- TABLE Section --

# -- OPTIONS Section
set loginterface $EXT_IF
set block-policy return

# - TRAFFIC NORMALIZATION 
scrub in all
antispoof for $EXT_IF

# -- TRANSLATION Section (NAT/RDR)

# -- FILTER section

# --- DEFAULT POLICY
block log all

# --- LOOPBACK
pass quick on lo0 all

# --- BRUTE FORCE TABLE
table bruteforce persist
block quick from bruteforce

# === INCOMING 
# --- EXTERNAL INTERFACE

# --- TCP
pass in quick on $EXT_IF inet proto tcp from any to $EXT_IF port
$TCP_IN flags S/SA keep state

# Allow postgres connection from db server
pass in quick on $EXT_IF inet proto tcp from xxx.xxx.xxx.xxx to
$EXT_IF port 5432 flags S/SA keep state

# --- SSH with brute force blocking
pass in quick on $EXT_IF inet proto { tcp, udp } from any to $SSH_IN
port ssh flags S/SA keep state (max-src-conn 25, max-src-conn-rate
5/3, overload bruteforce flush global)

# --- UDP
#pass in quick on $EXT_IF inet proto udp from any to $EXT_IF port
$UDP_IN keep state

# --- ICMP
pass in quick on $EXT_IF inet proto icmp from any to $EXT_IF icmp-type
$PING keep state

# === OUTGOING 
# --- EXTERNAL INTERFACE

# --- TCP
pass out quick on $EXT_IF inet proto tcp from $EXT_IF to any port
$TCP_OUT flags S/SA  keep state

# Allow postgres connection to db server
pass out quick on $EXT_IF inet proto tcp from $EXT_IF to
xxx.xxx.xxx.xxx port 5432 flags S/SA keep state

# Allow any connection to uploaders
pass out quick on $EXT_IF inet proto tcp from $EXT_IF to $ORIGINS
flags S/SA keep state

# --- UDP
pass out quick on $EXT_IF inet proto udp from $EXT_IF to any port
$UDP_OUT keep state

# --- ICMP
pass out quick on $EXT_IF inet proto icmp from $EXT_IF to any
icmp-type $PING keep state

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


Losing connections/performance with PF turned on

2007-07-03 Thread Pat Maddox

We're doing some stress testing on our server, and noticed that when
we turn PF on, we lose connections and have a drastic reduction in
performance.

We used SIEGE for 120 seconds, 50 connections, on req/conn

Firewall On:

Num Users: 50
Availability: 97.23 %
Transaction rate: 58.02 trans/sec
Concurrency: 3.80
Successful: 6994
Failed: 198
Longest Req: 9.06s

Firewall Off:

Num Users: 50
Availability: 100 %
Transaction rate: 94.62 trans/sec
Concurrency: 1.76
Successful: 11342
Failed: 0
Longest Req: 0.51s



You'll notice that with the firewall off, we don't lose any
connections.  We also have a 60% increase in tx/sec, and the longest
request takes 1/20 of the time.

I've included my complete pf.conf file, hopefully something will jump
out at someone.

Thanks,
Pat



# --- pf.conf skeleton for server
#
# --- MACRO Section  -

EXT_IF=em0

PING = echoreq

# --- allowed incoming services initiated by clients

TCP_IN = { http, 8080, nrpe }
#UDP_IN = { }

SSH_IN = { xxx.xxx.xxx.xxx }

# --- allowed services initiated by server

TCP_OUT = { ssh, smtp, domain, ntp, 3690, , http, ftp, 29125 }
UDP_OUT = { domain, ntp }

ORIGINS = { xxx.xxx.xxx.xxx }

# -- TABLE Section --

# -- OPTIONS Section
set loginterface $EXT_IF
set block-policy return

# - TRAFFIC NORMALIZATION 
scrub in all
antispoof for $EXT_IF

# -- TRANSLATION Section (NAT/RDR)

# -- FILTER section

# --- DEFAULT POLICY
block log all

# --- LOOPBACK
pass quick on lo0 all

# --- BRUTE FORCE TABLE
table bruteforce persist
block quick from bruteforce

# === INCOMING 
# --- EXTERNAL INTERFACE

# --- TCP
pass in quick on $EXT_IF inet proto tcp from any to $EXT_IF port
$TCP_IN flags S/SA keep state

# Allow postgres connection from db server
pass in quick on $EXT_IF inet proto tcp from xxx.xxx.xxx.xxx to
$EXT_IF port 5432 flags S/SA keep state

# --- SSH with brute force blocking
pass in quick on $EXT_IF inet proto { tcp, udp } from any to $SSH_IN
port ssh flags S/SA keep state (max-src-conn 25, max-src-conn-rate
5/3, overload bruteforce flush global)

# --- UDP
#pass in quick on $EXT_IF inet proto udp from any to $EXT_IF port
$UDP_IN keep state

# --- ICMP
pass in quick on $EXT_IF inet proto icmp from any to $EXT_IF icmp-type
$PING keep state

# === OUTGOING 
# --- EXTERNAL INTERFACE

# --- TCP
pass out quick on $EXT_IF inet proto tcp from $EXT_IF to any port
$TCP_OUT flags S/SA  keep state

# Allow postgres connection to db server
pass out quick on $EXT_IF inet proto tcp from $EXT_IF to
xxx.xxx.xxx.xxx port 5432 flags S/SA keep state

# Allow any connection to uploaders
pass out quick on $EXT_IF inet proto tcp from $EXT_IF to $ORIGINS
flags S/SA keep state

# --- UDP
pass out quick on $EXT_IF inet proto udp from $EXT_IF to any port
$UDP_OUT keep state

# --- ICMP
pass out quick on $EXT_IF inet proto icmp from $EXT_IF to any
icmp-type $PING keep state

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


Re: dv1394

2007-07-03 Thread Erik Norgaard

kalin mintchev wrote:

hi all...

what wold be the the device that is equivalent of /dev/dv1394/0?
it's for kino's install...


You shouldn't need that to install kino. I haven't tried to transfer 
directly using kino, instead use fwcontrol to transfer to a file, kino 
can read that file just fine.


Cheers, Erik

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


Re: pam_ldap issues

2007-07-03 Thread Thierry Lacoste
I have a very similar setting on 6.1
Maybe you have an ACL problem (see below).
What does the following command give?
ldapsearch -x -D cn=testuser,ou=people,dc=interne,dc=example,dc=org -W

 /usr/local/etc/ldap.conf
 base dc=interne,dc=example,dc=org
 uri ldap://127.0.0.1:389/

 logdir /var/log/ldap
 #debug 256

 timeout 5
 bind_timeout 5
 bind_policy soft

 rootbinddn cn=Manager,dc=interne,dc=example,dc=org
BTW I think you can remove this one

 nss_base_passwd ou=people,dc=interne,dc=example,dc=org?one
 nss_base_group ou=groups,dc=interne,dc=example,dc=org?one
 /usr/local/etc/ldap.conf


 /usr/local/etc/openldap/slapd.conf
 include   /usr/local/etc/openldap/schema/core.schema
 include   /usr/local/etc/openldap/schema/cosine.schema
 include   /usr/local/etc/openldap/schema/inetorgperson.schema
 include   /usr/local/etc/openldap/schema/nis.schema
 include   /usr/local/etc/openldap/schema/samba.schema

 pidfile   /var/run/openldap/slapd.pid
 argsfile  /var/run/openldap/slapd.args

 modulepath/usr/local/libexec/openldap
 moduleloadback_bdb

 access to dn.base=
   by self write
   by * auth

 access to attrs=userPassword
   by self write
   by * auth
Replace this one with
by anonymous auth

 access to attrs=shadowLastChange
   by self write
   by * auth

 access to *
   by * read
   by anonymous auth
I think you sould also remove all the other above lines containing auth.

 schemacheck   on
 idletimeout   30
 backend   bdb
 database  bdb

 suffixdc=interne, dc=example, dc=org
 rootdncn=Manager, dc=interne, dc=example, dc=org

 rootpwpassword

 checkpoint1024 5
 cachesize 1

 directory /var/db/openldap-data

 # Indices to maintain
 index objectClass eq
 index cn  pres,sub,eq
 index sn  pres,sub,eq
 index uid pres,sub,eq
 index displayName pres,sub,eq
 index uidNumber   eq
 index gidNumber   eq
 index memberUID   eq
 index sambaSIDeq
 index sambaPrimaryGroupSIDeq
 index sambaDomainName eq
 index default sub
 /usr/local/etc/openldap/slapd.conf

HTH,
Thierry.

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


Re: OpenOffice.org 2.2.1 quits on launch

2007-07-03 Thread Gary Kline
On Tue, Jul 03, 2007 at 03:29:46PM +0200, [LoN]Kamikaze wrote:
 Paul Chvostek wrote:
  Hiya.
 
  I just did my Xorg upgrade, which included an upgrade of OpenOffice.org
  to version 2.2.1.
 
  Now, when I launch OO, it complains not at all, but opens no windows.
  It doesn't take much time:
 
 time openoffice.org-2.2.1
0.727u 0.267s 0:02.06 47.5% 301+915k 1+0io 0pf+0w

 
  The shell wrapper (/usr/local/openoffice.org-2.2.1/program/soffice) is
  definitely running soffice.bin.  But the binary does nothing except
  return an exit value of 78, which is *not* trapped by the shell wrapper.
  And I don't know what 78 means.
 
  I've seen some hints in other operating systems' forums that OO does
  strange things when fonts with questionable metrics are installed, so
  I've uninstalled a bunch of things that I can probably do without, and
  replaced the rest with `portupgrade -fR xorg-fonts-7.2`, to no avail.
 
  Running soffice.bin in an strace produces gobs of output that I don't
  know how to interpret.  The last few useful lines from strace refer to
  libraries like libglib, libiconv, etc, so I've reinstalled glib2 and
  libiconv and some others, also to no avail.
 
  I'm in 6.1-RELEASE-p17.  Java (diablo-jdk1.5.0) works standalone, TTF
  fonts work in other apps, and OO was built with these in /etc/make.conf:
WITH_EVOLUTION2=yes
WITH_TTF_BYTECODE_ENABLED=yes
WITH_SYSTEM_FREETYPE=yes
 
  Any suggestions?  Has anyone else seen and solved this?
 
  Thanks.
 
 
 Try env OO_FORCE_DESKTOP=none


Setting this does almost nothing, running even as root.   When a
file finally does open, setecting All -- or any other command --
causes an immediate crash.   Not even a core file to look at.

... .

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

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


Re: OpenOffice.org 2.2.1 quits on launch

2007-07-03 Thread Paul Chvostek
On Tue, Jul 03, 2007 at 03:29:46PM +0200, [LoN]Kamikaze wrote:
 
  Now, when I launch OO, it complains not at all, but opens no windows.
...
  The shell wrapper (/usr/local/openoffice.org-2.2.1/program/soffice) is
  definitely running soffice.bin.  But the binary does nothing except
  return an exit value of 78, which is *not* trapped by the shell wrapper.
  And I don't know what 78 means.
 
 Try env OO_FORCE_DESKTOP=none

Set as an environment variable, that appears to make no difference.
Also tried with the variable OOO_FORCE_DESKTOP, which is mentioned in a
number of mailing list and forum posts for other operating systems.

But thanks for the suggestion.

Hrm, I just realized there's a freebsd-openoffice@ list.  Perhaps I'll
look there.

p

-- 
  Paul Chvostek [EMAIL PROTECTED]

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


Re: 2TB (and above) Disk

2007-07-03 Thread Greg 'groggy' Lehey
On Tuesday,  3 July 2007 at 17:09:33 +0200, Dave Raven wrote:
 Hi all,
   Firstly I am using FreeBSD 4, I know it's not supported but
 hopefully someone has some experience with large disks on 4.

Yes.  Various geometry issues limit them to 1 TB in size.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpQMM0hIyqId.pgp
Description: PGP signature


Re: OpenOffice.org 2.2.1 quits on launch

2007-07-03 Thread Norberto Meijome
On Tue, 3 Jul 2007 08:14:09 -0400
Paul Chvostek [EMAIL PROTECTED] wrote:

 Hiya.
 
 I just did my Xorg upgrade, which included an upgrade of OpenOffice.org
 to version 2.2.1.
 
 Now, when I launch OO, it complains not at all, but opens no windows.
 It doesn't take much time:
 
time openoffice.org-2.2.1
   0.727u 0.267s 0:02.06 47.5% 301+915k 1+0io 0pf+0w
   
 
 The shell wrapper (/usr/local/openoffice.org-2.2.1/program/soffice) is
 definitely running soffice.bin.  But the binary does nothing except
 return an exit value of 78, which is *not* trapped by the shell wrapper.
 And I don't know what 78 means.
 
 I've seen some hints in other operating systems' forums that OO does
 strange things when fonts with questionable metrics are installed, so
 I've uninstalled a bunch of things that I can probably do without, and
 replaced the rest with `portupgrade -fR xorg-fonts-7.2`, to no avail.
 
 Running soffice.bin in an strace produces gobs of output that I don't
 know how to interpret.  The last few useful lines from strace refer to
 libraries like libglib, libiconv, etc, so I've reinstalled glib2 and
 libiconv and some others, also to no avail.
 
 I'm in 6.1-RELEASE-p17.  Java (diablo-jdk1.5.0) works standalone, TTF
 fonts work in other apps, and OO was built with these in /etc/make.conf:
   WITH_EVOLUTION2=yes
   WITH_TTF_BYTECODE_ENABLED=yes
   WITH_SYSTEM_FREETYPE=yes

What X toolkit? QT / KDE? GTK? 

 
 Any suggestions?  Has anyone else seen and solved this?
 

yes, see
http://lists.freebsd.org/pipermail/freebsd-questions/2007-June/151700.html and
the thread it belongs to.

_
{Beto|Norberto|Numard} Meijome

Religion is what the common people see als true, the wise see as false, and
the rulers see as useful. Seneca

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Matlab 6.5 under linux_base-fc-4_9

2007-07-03 Thread Rich Winkel
Hi, since updating linux_base from RH to linux_base-fc-4_9, I'm getting the
following error when I run matlab:

Warning: Unable to load Java Runtime Environment: 
/usr/local/matlab/sys/java/jre/glnx86/jre/lib/i386/native_threads/libjava.so: 
symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link 
time reference.
Warning: Disabling Java support.

Has anyone seen this before?  Any ideas?

Thanks!!!

Rich

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


index.php not being pulled up?

2007-07-03 Thread Chris Maness
I have these directives in my httpd.conf file, but index.php is not 
being pulled up like index.html.  This worked before I upgraded apache 
and php5.  Any suggestions?


IfModule mod_dir.c
   IfModule mod_php3.c
   IfModule mod_php4.c
   DirectoryIndex index.php index.php3 index.html
   /IfModule
   IfModule !mod_php4.c
   DirectoryIndex index.php3 index.html
   /IfModule
   /IfModule
   IfModule !mod_php3.c
   IfModule mod_php4.c
   DirectoryIndex index.php index.html
   /IfModule
   IfModule !mod_php4.c
   DirectoryIndex index.html
   /IfModule
   /IfModule
   IfModule !mod_php5.c
   IfModule mod_php5.c
   DirectoryIndex index.php index.html
   /IfModule
   IfModule !mod_php5.c
   DirectoryIndex index.html
   /IfModule
   /IfModule
/IfModule

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

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


Migration from 5.5 to 6.2 without single user access

2007-07-03 Thread Olivier Nicole
Hi,

I am upgrading a remote server (very remote, 10,000 km) and I have no
way to access the machine in single user mode.

Is there a recommended way to do the upgrade from 5.5 to 6.2? 

Do everything in multi-user, but kill all services but sshd?

Thanks,

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


Re: index.php not being pulled up?

2007-07-03 Thread Norberto Meijome
On Tue, 03 Jul 2007 18:45:01 -0700
Chris Maness [EMAIL PROTECTED] wrote:

 I have these directives in my httpd.conf file, but index.php is not 
 being pulled up like index.html.  This worked before I upgraded apache 
 and php5.  Any suggestions?
 
 IfModule mod_dir.c
 IfModule mod_php3.c
 IfModule mod_php4.c
 DirectoryIndex index.php index.php3 index.html
 /IfModule
 IfModule !mod_php4.c
 DirectoryIndex index.php3 index.html
 /IfModule
 /IfModule
 IfModule !mod_php3.c
 IfModule mod_php4.c
 DirectoryIndex index.php index.html
 /IfModule
 IfModule !mod_php4.c
 DirectoryIndex index.html
 /IfModule
 /IfModule

#
 IfModule !mod_php5.c
 IfModule mod_php5.c
 DirectoryIndex index.php index.html
 /IfModule
#
Spot the problem :)


 IfModule !mod_php5.c
 DirectoryIndex index.html
 /IfModule
 /IfModule
 /IfModule
 


_
{Beto|Norberto|Numard} Meijome

Windows caters to everyone as though they are idiots. UNIX makes no such 
assumption. 
It assumes you know what you are doing, and presents the challenge of figuring 
it out for yourself if you don't.

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: The worst error message in history belongs to... BIND9!

2007-07-03 Thread perryh
  This is actually just the difference between sh and bash ...
 
 differences in, say, arithmetic handling and loops can sometimes
 mean rewriting parts of shell scripts depending on whether it is
 going to run in BSD or Linux.

 That's a major argument for doing things in python or perl as
 they are consistent across all platforms ...

If one is going to require the installation of something that may
not be part of a base system, that something might as well be bash :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


nanobsd and mount issues

2007-07-03 Thread Mike Tancsa
I have an odd situation where /etc and /var seem to be mounted twice 
now for some reason.


# df
Filesystem  1K-blocks  Used  Avail Capacity  Mounted on
/dev/ad0s1a245239 98076 12754443%/
devfs   1 1  0   100%/dev
/dev/md0 4526  1784   238043%/etc
/dev/md127990   124  25628 0%/var
/dev/md2 4526  1788   237643%/etc
/dev/md327990   436  25316 2%/var

Any idea why this might be happening ?  Its nanobsd off RELENG_6 on a 
Soekris 4511.


---Mike


Mike Tancsa,  tel +1 519 651 3400
Sentex Communications,[EMAIL PROTECTED]
Providing Internet since 1994www.sentex.net
Cambridge, Ontario Canada www.sentex.net/mike

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


Re: index.php not being pulled up?

2007-07-03 Thread Chris Maness

Norberto Meijome wrote:

On Tue, 03 Jul 2007 18:45:01 -0700
Chris Maness [EMAIL PROTECTED] wrote:

  
I have these directives in my httpd.conf file, but index.php is not 
being pulled up like index.html.  This worked before I upgraded apache 
and php5.  Any suggestions?


IfModule mod_dir.c
IfModule mod_php3.c
IfModule mod_php4.c
DirectoryIndex index.php index.php3 index.html
/IfModule
IfModule !mod_php4.c
DirectoryIndex index.php3 index.html
/IfModule
/IfModule
IfModule !mod_php3.c
IfModule mod_php4.c
DirectoryIndex index.php index.html
/IfModule
IfModule !mod_php4.c
DirectoryIndex index.html
/IfModule
/IfModule



#
  

IfModule !mod_php5.c
IfModule mod_php5.c
DirectoryIndex index.php index.html
/IfModule


#
Spot the problem :)


  

Does the following 3 lines negate the previous 3 lines?

IfModule !mod_php5.c
DirectoryIndex index.html
/IfModule
/IfModule
/IfModule





_
{Beto|Norberto|Numard} Meijome

Windows caters to everyone as though they are idiots. UNIX makes no such assumption. 
It assumes you know what you are doing, and presents the challenge of figuring it out for yourself if you don't.


I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
  
I added the following lines to the end of my httpd.conf file (but before 
the virtual host directives) before I recieved your e-mail and it fixed 
the problem:


IfModule mod_php5.c
   DirectoryIndex index.php index.html
/IfModule


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

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


Re: OpenOffice.org 2.2.1 quits on launch

2007-07-03 Thread Paul Chvostek
On Wed, Jul 04, 2007 at 09:47:55AM +1000, Norberto Meijome wrote:
 Paul Chvostek [EMAIL PROTECTED] wrote:
  
  Now, when I launch OO, it complains not at all, but opens no windows.
...
  I'm in 6.1-RELEASE-p17.  Java (diablo-jdk1.5.0) works standalone, TTF
  fonts work in other apps, and OO was built with these in /etc/make.conf:
WITH_EVOLUTION2=yes
WITH_TTF_BYTECODE_ENABLED=yes
WITH_SYSTEM_FREETYPE=yes
 
 What X toolkit? QT / KDE? GTK? 

GTK2, I'm running in Gnome.  For reference, this also happens when I try
to run OO from twm with no desktop manager.

I normally have $LANG set for other reasons, but I also noticed that
without it set, I see an error:

  I18N: Operating system doesn't support locale en_US

Presumably, OO was built with that as a default.  When I set
LANG=en_CA.UTF-8, the error doesn't show ... but it's notable that
this error is from /usr/local/openoffice.org-2.2.1/program/soffice.bin,
so I know the binary is running.

I still don't know why soffice.bin exits with a return value of 78.

 yes, see
 http://lists.freebsd.org/pipermail/freebsd-questions/2007-June/151700.html and
 the thread it belongs to.

An interesting thread, but my symptoms are different from yours.  I get
no crash.  I get no quick flahes of a window on the screen.  Setting the
OOO_FORCE_DESKTOP env var changes OO's behaviour not at all.

p

-- 
  Paul Chvostek [EMAIL PROTECTED]

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


Re: The worst error message in history belongs to... BIND9!

2007-07-03 Thread Chad Perrin
On Tue, Jul 03, 2007 at 07:34:20PM -0700, [EMAIL PROTECTED] wrote:
   This is actually just the difference between sh and bash ...
  
  differences in, say, arithmetic handling and loops can sometimes
  mean rewriting parts of shell scripts depending on whether it is
  going to run in BSD or Linux.
 
  That's a major argument for doing things in python or perl as
  they are consistent across all platforms ...
 
 If one is going to require the installation of something that may
 not be part of a base system, that something might as well be bash :)

Isn't Perl part of the base system these days?

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Amazon.com interview candidate: When C++ is your hammer, everything starts
to look like your thumb.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: The worst error message in history belongs to... BIND9!

2007-07-03 Thread Robert Huff

Chad Perrin writes:

  Isn't Perl part of the base system these days?

Perl has not been part of the base system for several years and
was deprecated for some time before that.


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


Re: The worst error message in history belongs to... BIND9!

2007-07-03 Thread Chad Perrin
On Tue, Jul 03, 2007 at 11:41:13PM -0400, Robert Huff wrote:
 
 Chad Perrin writes:
 
   Isn't Perl part of the base system these days?
 
   Perl has not been part of the base system for several years and
 was deprecated for some time before that.

Is it part of the default install without being part of the base system,
then?  I don't recall needing to install it after system install on this
laptop (using FreeBSD 6.2-RELEASE).

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Baltasar Gracian: A wise man gets more from his enemies than a fool from
his friends.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: index.php not being pulled up?

2007-07-03 Thread Norberto Meijome
On Tue, 03 Jul 2007 20:08:54 -0700
Chris Maness [EMAIL PROTECTED] wrote:

  IfModule !mod_php5.c
Enter this section ONLY if NOT being parsed by mod_php5

  IfModule mod_php5.c
Enter this section ONLY if being parsed by mod_php5. It'll never happen.

  DirectoryIndex index.php index.html  
  /IfModule  

  #
  Spot the problem :)

adding the lines by themselves like you did is just fine (the other is over 
complicating things)
_
{Beto|Norberto|Numard} Meijome

A fanatic is one who can't change his mind and won't change the subject.
   Sir Winston Churchill

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OpenOffice.org 2.2.1 quits on launch

2007-07-03 Thread Norberto Meijome
On Tue, 3 Jul 2007 23:15:01 -0400
Paul Chvostek [EMAIL PROTECTED] wrote:

 I still don't know why soffice.bin exits with a return value of 78.
 
  yes, see
  http://lists.freebsd.org/pipermail/freebsd-questions/2007-June/151700.html 
  and
  the thread it belongs to.  
 
 An interesting thread, but my symptoms are different from yours.  I get
 no crash.  I get no quick flahes of a window on the screen.  Setting the
 OOO_FORCE_DESKTOP env var changes OO's behaviour not at all.

gotcha. you may want to try in the OO specific lists (@freebsd.org or @ OOO's 
own site) 

_
{Beto|Norberto|Numard} Meijome

Before you criticize someone, walk a mile in his shoes.
That way, if he gets angry, he'll be a mile away - and barefoot

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: The worst error message in history belongs to... BIND9!

2007-07-03 Thread Bill Campbell
On Tue, Jul 03, 2007, [EMAIL PROTECTED] wrote:
  This is actually just the difference between sh and bash ...
 
 differences in, say, arithmetic handling and loops can sometimes
 mean rewriting parts of shell scripts depending on whether it is
 going to run in BSD or Linux.

 That's a major argument for doing things in python or perl as
 they are consistent across all platforms ...

If one is going to require the installation of something that may
not be part of a base system, that something might as well be bash :)

One of the reasons I started using perl almost 20 years ago was
that it was cleaner and more consistent than tying a bunch of
utilities together with the shell (not to mention only having to
master one type of regular expressions :-).

I now use python for the vast majority of my development work
instead of perl as I find it much cleaner with better object
oriented features.

When I write shell scripts, I use a very limited set of features
which are /bin/sh compatible.  As soon as I start having to do
anything much more than run a program against a list of files, I
switch to python.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

``Intellectually, teachers fall between education theorists and bright
cocker spaniels. (Probably closer to the education theorists. The AKC has
been doing wonders with spaniels.) If you think I'm kidding look at the
GREs for education majors, whose scores are the lowest of all fields, and
remember that these are the smart ones.'' -- http://www.FredOnEverything.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: The worst error message in history belongs to... BIND9!

2007-07-03 Thread Chad Perrin
On Tue, Jul 03, 2007 at 09:29:03PM -0700, Bill Campbell wrote:
 On Tue, Jul 03, 2007, [EMAIL PROTECTED] wrote:
   This is actually just the difference between sh and bash ...
  
  differences in, say, arithmetic handling and loops can sometimes
  mean rewriting parts of shell scripts depending on whether it is
  going to run in BSD or Linux.
 
  That's a major argument for doing things in python or perl as
  they are consistent across all platforms ...
 
 If one is going to require the installation of something that may
 not be part of a base system, that something might as well be bash :)
 
 One of the reasons I started using perl almost 20 years ago was
 that it was cleaner and more consistent than tying a bunch of
 utilities together with the shell (not to mention only having to
 master one type of regular expressions :-).
 
 I now use python for the vast majority of my development work
 instead of perl as I find it much cleaner with better object
 oriented features.

I'm of a similar mind, except that for OOP stuff I prefer Ruby, and for
non-OOP stuff I still generally use Perl.  Python doesn't really whet my
whistle, so to speak.


 
 When I write shell scripts, I use a very limited set of features
 which are /bin/sh compatible.  As soon as I start having to do
 anything much more than run a program against a list of files, I
 switch to python.

  $language =~ s/python/Perl/
Otherwise, ditto what you said.  Much like PHP, I find that shell
languages as scripting syntaxes don't really scale well in terms of
maintainability.  YMMV, of course.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Baltasar Gracian: A wise man gets more from his enemies than a fool from
his friends.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


late filesystems and switching net configs

2007-07-03 Thread Chad Perrin
I have a couple of niggling little, er, quirks that I'd like to get
sorted out on my FreeBSD Thinkpad.

  1. During boot, if I'm booting up anywhere but at home (where my static
  IP address configuration applies), the startup messages pause for a few
  long seconds at a message that says Mounting late filesystems.  When
  plugged into the network at home, though, using my static IP
  configuration, it swoops past that pretty quickly.  Can someone tell me
  what that's about?

  2. For some reason, if I use DHCP at all then want to switch back to my
  static IP setup, I have to restart the computer to get it to access the
  Internet.  I haven't been able to figure out why.  If I recall
  correctly, I can switch to static IP on bge0 and access other systems
  on the network, but I can't do anything related to the Internet.  Yes,
  by the way, I am checking to make sure the contents of resolv.conf are
  correct.

Any ideas about how to figure out what's going on in either case would be
welcome.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Brian K. Reid: In computer science, we stand on each other's feet.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BIND to listen on all interfaces?

2007-07-03 Thread Mikhail Goriachev
Nejc Škoberne wrote:
 Hello,
 
 I am running BIND (from base system) on my FreeBSD 5.3 machine. The box is
 connected to outer world via ADSL connection (tun0 device). If the named is
 started when the machine is connected to the internet, then everything is OK,
 I get this by saying netstat -n -a:
 
 udp4   0  0  X.X.X.X.53 *.*
 udp4   0  0  127.0.0.1.53   *.*
 udp4   0  0  10.0.1.3.53*.*
 
 but at boot time, the named starts before the PPP connection is started, so
 the tun0 interface is not up yet. So that's why I get this:
 
 udp4   0  0  127.0.0.1.53   *.*
 udp4   0  0  10.0.1.3.53*.*
 
 In BIND manual, it says:
 
 If no listen-on is specified, the server will listen on port 53 on all 
 interfaces.
 
 I also tried to specify the ADSL IP address in named.conf (it is static), but 
 it is
 still a no go. I don't have such problems with other daemons! Any ideas?



An idea: Assuming you're using ppp, let it restart named after it
connects to the Internet. Have a /etc/ppp/ppp.linkup and put the
following or similar into it:

adsl:
! /etc/rc.d/named restart


Read the ppp man pages for further details.


Regards,
Mikhail.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: www.webanoide.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]