Re: pxeboot looping

2006-04-27 Thread John Pettitt
Erik Nørgaard wrote:
 John Pettitt wrote:
   
 Help!

 I'm trying to set up a machine to boot using pxe and have run into an
 odd problem.

 The box (a Soekris 4510) load pxeboot via TFTP prints a few lines of
 text then reboots - the last text I see is:

 
 Building the boot loader arguments
 Relocating the loader and the BTX
 Starting the BTX loader
   
 There is no further net traffic after the last tftp packet.

 I'm stumped - I thought it might be a cpu issue (the Soekris is a 486
 clone) so I rebuilt pxeboot with -march=i486 and it didn't make any
 difference.
 

 Do you see the pxeboot actually gets fetched? Check the logs on your
 server. My immediate idea is that it doesn't get as far as fetching the
 pxeboot loader.

 Erik
   
It's fetching it - I just grabbed pxeboot from an iso image ant that one
gets a lot further so I suspect something in my build environment is not
right for the soekris box.  I'm still investigating.

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


Re: When 5.5-stable?

2006-04-27 Thread Frank Bonnet

Kris Kennaway wrote:


Could you tell us the reasons of the delay ?


Uh, please read my email above.

Kris


Mmh sorry for bad understanding I wanted to know
reasons of the 6.1 delay not 5.5 ...

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


Re: Perl: sort string alphabetically, or remove dupe chars?

2006-04-27 Thread Andrew Reitz


On Apr 26, 2006, at 12:34 AM, Nikolas Britton wrote:


On 4/25/06, Parv [EMAIL PROTECTED] wrote:

[snip]

Thanks parv... I meant the algorithm was clunky, not the code... I'm
so new at this that I can't read your code, and I have a hard enough
time reading mine own :-).

I've got another simple problem now. How do I get this code to stop
printing everything on a newline, I'm not using \n in my print
statement so why does it do that and how do I get it to stop?

@wordlist1 = `sed /^$sedstring1\\\$/\\!d  enable2k_wordlist`;
foreach (@wordlist1) {
  $string = $_;
  $string =~ s/[$solvedletters1]//g;
  my @chars = split(, $string);
  $string = ; @chars = sort (@chars);
foreach (@chars) {
  $string .= $_;
}
  $string =~ tr///cs;
  print $string;
}


Hi Nikolas,

Most likely, your input has '\n' characters at the end of every line,  
and you aren't doing anything in perl to strip those away. Try adding  
a 'chomp($string);' line before you print.


-Andy Reitz.

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


Re: When 5.5-stable?

2006-04-27 Thread Kris Kennaway
On Thu, Apr 27, 2006 at 09:30:20AM +0200, Frank Bonnet wrote:
 Kris Kennaway wrote:
 
 Could you tell us the reasons of the delay ?
 
 Uh, please read my email above.
 
 Kris
 
 Mmh sorry for bad understanding I wanted to know
 reasons of the 6.1 delay not 5.5 ...

Some minor bugs are still being worked on.

Kris


pgpz7CZlWztAk.pgp
Description: PGP signature


Re: Bind as a chaching nameserver

2006-04-27 Thread Richard Collyer

Denis R. wrote:

http://cr.yp.to/djbdns/guarantee.html

Richard, besides simple you want a _secure_ caching name server. Yes, you
can type named_enable in rc.conf and be done with it, just don't forget
to periodically check the security updates web page for BIND exploits.


Thanks for the advice guys.

I've got named up and running and so far I think its caching the DNS 
requests (well its serving them OK).


I'm not really going to see the benefits of this on SpamAassassin till 
its database is full of requests is their anywhere (i.e. 
root-servers.net) that I can get a bind file which reduced this time period?


Cheers
Richard

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


Re: Flash 7 and Firefox 1.5.0.2

2006-04-27 Thread Adi Pircalabu
First of all, make sure you have www/linuxpluginwrapper installed and
properly configured. That being said:

On Wed, 26 Apr 2006 22:09:04 -0500
Jeff Cross [EMAIL PROTECTED] wrote:

 I also commented out all of the Flash 6 info in libmap.conf and
 uncommented the Flash 7 lines.  However, when visiting a web site that
 is Flash enabled, the browser crashes with:
 
 LoadPlugin: failed to initialize shared library
 /usr/X11R6/lib/linux-mozilla/plugins/nphelix.so [Shared object
 libm.so.6 not found, required by nphelix.so]

Update your libmap.conf for this one.

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

Did you read the post-install message of www/linuxpluginwrapper? If
not, you must check /usr/ports/www/linuxpluginwrapper/pkg-message

 Any ideas?  I am afraid there is something else I am supposed to do.

The above would suffice at this time.
Please note that this was discussed many (I mean MANY) times, you can
search the archives

-- 
Adi Pircalabu (PGP Key ID 0x04329F5E)


-- 
This message was scanned for spam and viruses by BitDefender.
For more information please visit http://www.bitdefender.com/

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


GENERIC kernel for 6.0

2006-04-27 Thread Pirat SRIYOTHA

hi sirs,

i have just found that GENERIC kernel for 6.0 does not have isa and 
npx.  that resulted in ps/2 mouse can not be enable.


the machine is del inspiron-1100 and when using it's system software to 
test for ps/2 mouse, it is working properly.


would you please give me some hints on this problem ?

thanks in advance for your times.

with best regards,
psr

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


Re: scripting languages...

2006-04-27 Thread Alex Zbyslaw

Gary Kline wrote:

	I am NOT trying to start any kind of flame debate, but would 
	like to know what real advantage perl has over the newer

so-called all-in-one language, ch.   (Other than the obvious
fact that there are literally billions of lines of perl existant.)
 

I don't  know ch from Adam so can't comment on that but really, the 
questions what are you trying to do?  Is this for a pet programming 
project?  For work?  Maintained just by you?  By others?  What's your 
programming experience?


Perl has the advantage that it is ubiquitous and has loads of library 
modules at CPAN.  There are reasonable(*) books about it and you should 
never be short of someone who can read perl if your software needs 
maintaining.  Perl has the disadvantage that it's a cobbled together, 
vile little language that teaches bad programming habits(**) and has the 
worst thread support ever.  I could go on with it's flaws, but as 
someone who has to program in it daily, suffice to say that I loathe 
it.  Perl is the new Basic.


There are plenty of more modern interpreted languages which have much 
better design (they *have* a design which is one up from Perl).  With 
the availability of rpms, ports, package systems, and downloadable 
binaries for Windows,  installing most of them should be easy-peasy.  
They'll encourage you to write better programs; most have a growing 
collection of library software and may even have decent documentation.  
My own fave would be python (www.python.org) and I suspect ruby of being 
worth a look but just never had the time.


Just my $2.00 (hey, it's a good opinion :-))

--Alex

(*) The so-called Camel book (Programming Perl from O'Reilly), at 
least in the edition I have, is the second worst programming book I have 
ever read.  Poorly organised, poorly indexed, missing details and full 
of poor examples.  Advanced Perl Programming, also O'Reilly, is much 
better but does assume you know the basics and isn't really a reference 
book.


(**) If you do start learning Perl, the this is my one piece of advice.  
Start every script and module with use strict.  It catches the worst 
mistakes that you might make and at least forces a small amount of 
decent programming on you.


(**) If you do start programming in Perl, then this is my other one 
piece of advice.  Start your scripts with /usr/bin/env perl -w which 
catches some of the other worst mistakes, but also whinges on about 
things that aren't actually a problem.  (OK, that has windows 
portability problems; tough; install Cygwin :-)).



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


xhost does not work as expected

2006-04-27 Thread Frank Bonnet

Hello

I am at 6.0 with xorg and I cannot remotely use a GUI backup software ( 
netvault)
because I am not able to use properly the xhost command.

On the server I set ( csh ):

setenv DISPLAY hostname:0.0

On the client I set

xhost + hostname

but I am not authorized to use the client display from the server
is there some special X11R6 configuration to use this feature ?

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


Re: postfix with OpenLDAP 2.3

2006-04-27 Thread Pierre-Francois LAURAND

Per olof Ljungmark wrote:


Hi,

When I try to install postfix from ports (postfix or postfix-current) 
with LDAP lookups I get:


[tw] /usr/ports/mail/postfix-current# make WITH_OPENLDAP_VER=2.3.21
===  postfix-2.3.20060418,2 is marked as broken: unknown OpenLDAP 
version: 2.3.21.

*** Error code 1

Stop in /usr/ports/mail/postfix-current.

I've got:
openldap-sasl-client-2.3.21
openldap-server-2.3.21

How can I make postfix build with this version of OpenLDAP? It wants 2.2...

Thanks


Have a try with WANT_OPENLDAP_VER=23 instead of WITH_OPENLDAP_VER=2.3.21


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



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


Re: Updated 6.1 schedule?

2006-04-27 Thread usleepless
 
  However, the dates on the schedule page seem to be a little off
  now.   I was wondering if anyone had some idea of what the new
  dates might be... if there's no idea; then I will patiently wait.

 You guess is as good as mine. It could take a couple of months.

  I've got a few 4.10 machines that could do with an upgrade,
  and I don't think moving to 5.4 is the way to go...  So,
  I'm pending waiting on 6.1.

 There's no need to wait with that. I run 6.0 and 6.1 since BETA4 and I
 have not seen any problems. You can use CVS to updated your sources and
 compile your own version. See the manual on how to do this.

in my understanding upgrading from 4.x to 6.x needs to go through 5.x.
check the archives/website for it ( i did a clean install to upgrade
from 4.x to 6.x ).

maybe someone else can comment on it.

regards,

usleep

 --
 Alex

 ___
 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: xhost does not work as expected

2006-04-27 Thread Olivier Nicole
Franck,

 I am at 6.0 with xorg and I cannot remotely use a GUI backup
 software ( netvault) because I am not able to use properly the xhost
 command.

It is not clear what you can client and what you call server, are you
talking about your backup software: the server is the machine with the
tape drive and the clientis the machine where you sit and look at your
GUI; or about X: the server is the machine where you sit and look at
your GUI and the client is the machine running netvault and having the
tape drive.

That said:

- can you run xterm on the netvault machine (m1) and display the window on
the machine with 6.0 xorg (m2)?

You need:

- on netvault machine (m1) to setenv DISPLAY m2:0.0

- on 6.0 xorg machine (m2) xhost + m1

- are you sure that no firewall are blocking X connection between the 2
  machines?

Bests,

Olivier

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


Re: Dell vs. Silicon Mechanics vs. FreeBSD Systems

2006-04-27 Thread Scott Mitchell
On Wed, Apr 26, 2006 at 03:09:10PM -0500, Greg Barniskis wrote:
 Questions wrote:
 Anyone have any opinions about the quality and/or value of these
 respective vendors?
 [snip]
 
 How does Dell fit into all of this?  I haven't dealt with Dell in
 years but when I have in the past, there didn't seem to be any major
 issues.  I'm looking at a Power Edge 1850 with the Embedded RAID
 (ROMB) - PERC4e/Si Controller.
 
 Folks' mileage with Dell really seems to vary, so I'd guess you're
 going to get a broad range of responses on that question.
 
 Our experience here is pretty consistent, over a long period of
 time: Dell's low end consumer systems (e.g. Dimension models) tend
 to be flaky, to the point where we simply won't buy them anymore,
 while their high end business systems (e.g. Optiplex, PowerEdge)
 tend to be pretty reliable, to the point where we'd need a pretty
 compelling reason to change vendors.

I'll second this - the current lineup of PowerEdge servers seems to be
pretty solid, and Dell's business support (in the UK at least) is better
than most of the other vendors we deal with.

The only Dell kit I have FreeBSD on right now is a PE 1850, but that works
well, including the PERC4 RAID and DRAC4 remote management card.  I believe
the serial redirection just works, although we're not using it.  Haven't
really looked into the IPMI stuff yet - the DRAC sends emails when things
need attention, and that has been good enough so far.  Pretty sure the serial
redirection is a BIOS thing, so you wouldn't need the DRAC for that.

Might be worth browsing through these threads:
http://groups.google.com/group/lucky.freebsd.stable/browse_thread/thread/92587efda750d805/edf2b1f207759ecc
http://groups.google.com/group/mailing.freebsd.stable/browse_thread/thread/12c6b661644047e/622ef848879a940a

Someone else to consider if you're keen on Opterons is Sun - we have a
couple of quad-CPU v20z boxes running Linux, they're very nice machines.
The serial console redirection seems to stop working once the OS has booted,
but I believe you can work around this.  I've not tried FreeBSD on these,
so you'd want to ask around and make sure everything works.  I did read that
the onboard RAID controller is a bit useless (we're only using it to protect
against drive failures, rebuilds take _ages_ but performance seems OK
otherwise), but there's an add-in RAID card available if you need it.

Cheers,

Scott

-- 
===
Scott Mitchell   | PGP Key ID | Eagles may soar, but weasels
Cambridge, England   | 0x54B171B9 |  don't get sucked into jet engines
scott at fishballoon.org | 0xAA775B8B |  -- Anon
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: xhost does not work as expected

2006-04-27 Thread Frank Bonnet

Olivier Nicole wrote:

Franck,


I am at 6.0 with xorg and I cannot remotely use a GUI backup
software ( netvault) because I am not able to use properly the xhost
command.


It is not clear what you can client and what you call server, are you
talking about your backup software: the server is the machine with the
tape drive and the clientis the machine where you sit and look at your
GUI; or about X: the server is the machine where you sit and look at
your GUI and the client is the machine running netvault and having the
tape drive.


Sorry to be unclear



That said:

- can you run xterm on the netvault machine (m1) and display the window on
the machine with 6.0 xorg (m2)?


no I cannot



You need:

- on netvault machine (m1) to setenv DISPLAY m2:0.0

- on 6.0 xorg machine (m2) xhost + m1



that's what I did ... but it has not been working



- are you sure that no firewall are blocking X connection between the 2
  machines?


yes sure they are on the same LAN



Bests,

Olivier




--
Frank Bonnet

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


Re: xhost does not work as expected

2006-04-27 Thread Olivier Nicole
  - can you run xterm on the netvault machine (m1) and display the window on
  the machine with 6.0 xorg (m2)?
 
 no I cannot

What is the error message?

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


Important Information.

2006-04-27 Thread HSBC

   [hsbclogo_wo_sl.gif]
 _

   HSBC Internet Security
   Security Alert

   Dear HSBC Customer,

We recently reviewed your account, and suspect that your HSBC account
   may have been accessed by an unauthorized third party. Protecting the
   security of your account is our primary concern. Therefore, as a
   preemptive measure, we have temporarily limited access to sensitive
   account features.
   .
 * To restore your account access, we need you to confirm your
   identity. .
 * To do so we need you to follow the link below and proceed to
   confirm your information.
 * The log in attempt was made from:
   ISP host : host67-31-39-211.btcentral.com

To restore your account access click the link below:

  [1]http://www.hsbc.co.uk8080/1/2/personal/pib-sc

References

   1. 
http://www.inkcloset.com//images/.www-hsbc.co-uk.uk-co=HSBC.personal-1-2/www.hsbc.co.uk/1/2/personal/pib-home/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: xhost does not work as expected

2006-04-27 Thread Frank Bonnet

Olivier Nicole wrote:

- can you run xterm on the netvault machine (m1) and display the window on
the machine with 6.0 xorg (m2)?

no I cannot


What is the error message?

Olivier 



xterm Xt error: Can't open display: lisa:0.0

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


Re: xhost does not work as expected

2006-04-27 Thread Olivier Nicole
 xterm Xt error: Can't open display: lisa:0.0

- what does ping lisa says?

- do you have any kind of firewall running on lisa?

- Do you have X server running on lisa?

- try setenv DISPLAY IPadress_of_lisa:0.0

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


Qlogic 2462 driver ?

2006-04-27 Thread Frank Bonnet

Hello again

Does the Qlogic 2462-CK is supported at 6.0 ?

thank you

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


RE: Getting DHCP to use resolv.conf?

2006-04-27 Thread fbsd

Does anyone have a script that does this, that they can share?


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bill Moran
Sent: Wednesday, April 26, 2006 5:06 PM
To: Telting
Cc: freebsd-questions@freebsd.org
Subject: Re: Getting DHCP to use resolv.conf?


On Wed, 26 Apr 2006 13:56:57 -0700
Telting [EMAIL PROTECTED] wrote:

 I would like to know how I can propagate the dns servers which the
dhcp
 client puts in resolv.conf to dhcpd.  I only see how I can only
 explicitly list a domain server with option domain-name-servers.
How
 do I propogate non static dns servers?

Write a script to updated the dhcpd.conf file when resolv.conf
changes.  dhclient allows you to create hooks that automagically
run a script of your choosing when a new lease is obtained.

Or you could search the list archives for when this exact question
was asked a few weeks ago.

--
Bill Moran
Collaborative Fusion Inc.
___
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: Getting DHCP to use resolv.conf?

2006-04-27 Thread michael johnson
On 4/26/06, Bill Moran [EMAIL PROTECTED] wrote:

 On Wed, 26 Apr 2006 13:56:57 -0700
 Telting [EMAIL PROTECTED] wrote:

  I would like to know how I can propagate the dns servers which the dhcp
  client puts in resolv.conf to dhcpd.  I only see how I can only
  explicitly list a domain server with option domain-name-servers.  How
  do I propogate non static dns servers?

 Write a script to updated the dhcpd.conf file when resolv.conf
 changes.  dhclient allows you to create hooks that automagically
 run a script of your choosing when a new lease is obtained.

 Or you could search the list archives for when this exact question
 was asked a few weeks ago.


look at dhclient.conf(5) and look at the part about
prepend domain-name-servers

Michael


--
 Bill Moran
 Collaborative Fusion Inc.
 ___
 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]


Help:How to build a modular FreeBSD kernel?

2006-04-27 Thread hongz
Hi guys:

 

I want to build a modular FreeBSD kernel, so I can make some updates to some
modules such as ATA module in kernel. Is it possible? If possible, please
tell me how to do it. 

 

Thank you for your help!

 

Hong

 

 

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


RE: Getting DHCP to use resolv.conf?

2006-04-27 Thread fbsd
I read the man dhclient.conf(5) and paid special attention to the
part about
prepend domain-name-servers.

It does not say anything about passing the dns info dhcp client puts
into resolv.conf onto the dhcpd.conf option domain-name-servers
statement.

I don't think you understood the original question.
I may be wrong so please explain how dhcp client prepend
domain-name-servers
option effects the dhcpd config file?


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of michael
johnson
Sent: Thursday, April 27, 2006 7:36 AM
To: Bill Moran
Cc: Telting; freebsd-questions@freebsd.org
Subject: Re: Getting DHCP to use resolv.conf?


On 4/26/06, Bill Moran [EMAIL PROTECTED] wrote:

 On Wed, 26 Apr 2006 13:56:57 -0700
 Telting [EMAIL PROTECTED] wrote:

  I would like to know how I can propagate the dns servers which
the dhcp
  client puts in resolv.conf to dhcpd.  I only see how I can only
  explicitly list a domain server with option
domain-name-servers.  How
  do I propogate non static dns servers?

 Write a script to updated the dhcpd.conf file when resolv.conf
 changes.  dhclient allows you to create hooks that automagically
 run a script of your choosing when a new lease is obtained.

 Or you could search the list archives for when this exact question
 was asked a few weeks ago.


look at dhclient.conf(5) and look at the part about
prepend domain-name-servers

Michael


--
 Bill Moran
 Collaborative Fusion Inc.
 ___
 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]

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


FreeBSD 6.0 compat with DL320 G4

2006-04-27 Thread William
Hello list,

We are currently looking for a commercial off the shelf server to roll
out our servers on running FreeBSD 6.0-RELEASE.

Our vendor preference is HP, if anyone could share their experience
with the following products (in regards of network/sata support and
anything else mentioning):

HP DL140 G2
HP DL145 G2
HP DL320 G4
HP DL360 G4

If you could CC me onto any replies as I'm currently not subscribed to the list.

Thank you for your time.

Regards,

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


Re: pxeboot looping

2006-04-27 Thread Erik Norgaard
John Pettitt wrote:

 It's fetching it - I just grabbed pxeboot from an iso image ant that one
 gets a lot further so I suspect something in my build environment is not
 right for the soekris box.  I'm still investigating.

There is a problem building pxeboot if you have /usr/obj present - it
won't build. I don't remember the error if any. So before going into
/usr/src/sys/boot/i386/ to build pxeboot w/o tftp support, make sure to
remove or rename /usr/obj.

Erik
-- 
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F0C.crt
Subject ID:  69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9
Fingerprint: 7F:80:96:EA:95:92:E2:23:1F:FA:0F:98:92:C2:CC:55:6B:9A:8C:92
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How is this List Connected with the usenet?

2006-04-27 Thread JD Arnold

Eric Schultz wrote:

Chris Maness wrote:

Does this list crossover into Usenet?


Good afternoon...

check out http://dir.gmane.org/index.php?prefix=gmane.os.freebsd

they have various web interfaces, as well as nntp and rss feeds. 
read-only though.  to post you have to subscribe and send mail to the list.


That's not true. I'm posting via GMane.org right now.

--
Jonathan Arnold (mailto:[EMAIL PROTECTED])
Daemon Dancing in the Dark, a FreeBSD weblog:
http://freebsd.amazingdev.com/blog/

UNIX is user-friendly. It's just a bit picky about who its friends are.

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


RE: FreeBSD 6.0 compat with DL320 G4

2006-04-27 Thread [EMAIL PROTECTED]@mgEDV.net

 Our vendor preference is HP, if anyone could share their experience
 with the following products (in regards of network/sata support and
 anything else mentioning):

 HP DL140 G2
 HP DL145 G2
 HP DL320 G4
 HP DL360 G4

we tried dl320 g2, g3, g4, dl380 g3 with sata/ciss drives,
1-4gb ram, P4/XEON, DUAL-XEON with freebsd 5 and 6.
as of the *bsd's, freebsd has the best support for the
hp DL*s. sata support is not given for all embedded raid-
controllers but you can still use raid 1 functionality
using raidctl. hdd failures can render the system hang for
3-5sec's on sata devices but after this timeout, everything's
fine. rebuild is sometimes only possible by os-command, pluggin'
in the new drive is sometimes not enough ;-)

nw/chipset support is working (at least on all machines we use).
no performance issues, except you configure as router and you use
many different irq's for all interfaces (only occurred on a machine
with 8 interfaces).

thermal zone / ipmi support is not really
close to the vendors ideas and sometimes produces wrong
numbers, but if you don't want to set fan-speed or check
temp. on all mentioned devices, it's fine.

also, system management like (red-power fail, red-fan fail, etc...)
is not really talking to the os and vice versa, therefore you'll
have to check for errors like this on your own.

furthermore, bios/fw upgrades can sometimes be really annoying,
if you don't have usb-boot-support you'd run into troubles because
hp only delivers them for some specific os's and freebsd is not on
the list.

btw. if somebody reads this and thinks: hey, bullshit i know a way
of doing this better and it works fine with my DL, please let me
know!

best regards and good luck w. the hw :-)

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


during boot aue0

2006-04-27 Thread Tony Angelo
Hello, All

What does this string (i get it during boot) :

aue0: if_start running deferred for Giant

Who is Giant ? :-)

Thanks

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


Re: xhost does not work as expected

2006-04-27 Thread Frank Bonnet

Olivier Nicole wrote:

What window manager are you using?

I started my laptop connected to root and lauched KDE and found out
that it was not listening to TCP port 6000.


In fact yes I run KDE too ...
and yes it does not listen on 6000 port ...

performing a ps -ax | grep X give that result

/usr/X11R6/bin/X -nolisten tcp :0 -auth /var/run/xauth/A:0-3w0oIN (Xorg)

I think the -nolisten option is guilty ...

My problem is I need KDE to work properly ...
I'm going to check KDE launching scripts to try avoiding it.

I'll let you know if I succeed :-)
--
Frank
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: during boot aue0

2006-04-27 Thread Garrett Cooper

Tony Angelo wrote:

Hello, All

What does this string (i get it during boot) :

aue0: if_start running deferred for Giant

Who is Giant ? :-)

Thanks

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


I believe Giant is a reference to the a portion of the internal task 
scheduler's universal lock in FreeBSD's kernel and can be 
enabled/disabled by using the ADAPTIVE_GIANT directive in the kernel 
config file.


It may also be a fault in the way that either the driver for your 
network card is written or lack of support which is causing that issue 
to come up, as well.


Here's a document on the supposed Giant Lock, by the world famous (or 
at least FreeBSD famous ;).) Greg Lehey: 
http://www.lemis.com/grog/SMPng/Singapore/paper.pdf, and if you
google Giant deferred, you'll find a few documents that I'm referring 
to in the *BSD world.


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


Re: xhost does not work as expected

2006-04-27 Thread Garrett Cooper

Frank Bonnet wrote:

Olivier Nicole wrote:

What window manager are you using?

I started my laptop connected to root and lauched KDE and found out
that it was not listening to TCP port 6000.


In fact yes I run KDE too ...
and yes it does not listen on 6000 port ...

performing a ps -ax | grep X give that result

/usr/X11R6/bin/X -nolisten tcp :0 -auth /var/run/xauth/A:0-3w0oIN (Xorg)

I think the -nolisten option is guilty ...

My problem is I need KDE to work properly ...
I'm going to check KDE launching scripts to try avoiding it.

I'll let you know if I succeed :-)


It's most likely because you (or someone masquerading as you, ie 
startkde) is using a default startx setup:


[EMAIL PROTECTED] /usr/X11R6 $ grep -r nolisten *

#snip

X11R6/bin/startx:defaultserverargs=-nolisten tcp -br

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


Re: How to verify speed of a 1Gb/s network?

2006-04-27 Thread Eric Schuele

Mike Tancsa wrote:

On Tue, 25 Apr 2006 20:16:06 -0700 (PDT), in
sentex.lists.freebsd.questions you wrote:


Hi,

How can I verify that a 1Gb/s network is indeed
operating at its optimal speed? I tried this:


There are some useful tools in /usr/src/tools/tools/netrate/ to
generate a lot of traffic.   Also, /usr/ports/benchmarks/iperf


I'll second the iperf vote.  That's definitely the way to go.



---Mike


Mike Tancsa, Sentex communications http://www.sentex.net
Providing Internet Access since 1994
[EMAIL PROTECTED], (http://www.tancsa.com)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




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


Which bootmanager to choose ?

2006-04-27 Thread Tony Angelo
Hello again.

As some of you already understood i'm a newbie and currently installing
FreeBSD 6.0-RELEASE onto my old laptop. And i have a question. Whist
bootmanager install if FreeBSD is the only one system on the PC ? i dont
have DOS or Windows? What should i choose ? None, Standart or FreeBSD
bootMgr?

Thank you


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


Re: Which bootmanager to choose ?

2006-04-27 Thread Jerry McAllister
 
 Hello again.
 
 As some of you already understood i'm a newbie and currently installing
 FreeBSD 6.0-RELEASE onto my old laptop. And i have a question. Whist
 bootmanager install if FreeBSD is the only one system on the PC ? i dont
 have DOS or Windows? What should i choose ? None, Standart or FreeBSD
 bootMgr?

Either standard or FreeBSD will work.

jerry

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


Re: Which bootmanager to choose ?

2006-04-27 Thread Tony Angelo

- Original Message - 
From: Jerry McAllister [EMAIL PROTECTED]
To: Tony Angelo [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Thursday, April 27, 2006 4:39 PM
Subject: Re: Which bootmanager to choose ?


 
  Hello again.
 
  As some of you already understood i'm a newbie and currently installing
  FreeBSD 6.0-RELEASE onto my old laptop. And i have a question. Whist
  bootmanager install if FreeBSD is the only one system on the PC ? i dont
  have DOS or Windows? What should i choose ? None, Standart or FreeBSD
  bootMgr?

 Either standard or FreeBSD will work.

 jerry


Well i've chosen Standart and boot failed. i've got a prompt
FreeBSD/i386
Default:0 ad(0,a)0
boot:

with the message: No /boot/kernel/kernel

will try BootMgr which installs FreeBSD boot manager


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


Re: Which bootmanager to choose ?

2006-04-27 Thread nawcom
I would just install the boot into the mbr so you won't have to select 
what to boot - since it will only have one os to choose from.


-Ben

Tony Angelo wrote:

Hello again.

As some of you already understood i'm a newbie and currently installing
FreeBSD 6.0-RELEASE onto my old laptop. And i have a question. Whist
bootmanager install if FreeBSD is the only one system on the PC ? i dont
have DOS or Windows? What should i choose ? None, Standart or FreeBSD
bootMgr?

Thank you


___
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: xhost does not work as expected

2006-04-27 Thread Frank Bonnet

Garrett Cooper wrote:



It's most likely because you (or someone masquerading as you, ie 
startkde) is using a default startx setup:


[EMAIL PROTECTED] /usr/X11R6 $ grep -r nolisten *

#snip

X11R6/bin/startx:defaultserverargs=-nolisten tcp -br



Ok I use kdm to start the WM and I didn't find any way
to start X without the -nolisten_tcp option

Is there a conf. file to do so ?
thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Updated 6.1 schedule?

2006-04-27 Thread Alex de Kruijff
On Thu, Apr 27, 2006 at 11:50:56AM +0200, [EMAIL PROTECTED] wrote:
  
   However, the dates on the schedule page seem to be a little off
   now.   I was wondering if anyone had some idea of what the new
   dates might be... if there's no idea; then I will patiently wait.
 
  You guess is as good as mine. It could take a couple of months.
 
   I've got a few 4.10 machines that could do with an upgrade,
   and I don't think moving to 5.4 is the way to go...  So,
   I'm pending waiting on 6.1.
 
  There's no need to wait with that. I run 6.0 and 6.1 since BETA4 and I
  have not seen any problems. You can use CVS to updated your sources and
  compile your own version. See the manual on how to do this.
 
 in my understanding upgrading from 4.x to 6.x needs to go through 5.x.
 check the archives/website for it ( i did a clean install to upgrade
 from 4.x to 6.x ).

It depends on how you want to upgrade. I read both reinstall/reconfigure
and real upgrade in the wordt upgrade here.

If you choice to reinstall then you could go straith to 6. This is
needed to gain the full features. You can only use USF2 if you have done
this.

If you choice to upgrade fully though CVS then it may be smart to first
upgrade to 4-stable, then 5.3, then 5-stable, then 6.0 and then 6.1.
This also means you will not get the full features of 6.

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


Problem install 6.0 (release) on Sony Vaio TX610P

2006-04-27 Thread Mark Myatt
I apologise in advance if this is the wrong forum for such a question 
and, if it is, please direct me to the correct place.


I am trying to install FreeBSD 6.0 on a Sony Vaio TX610P laptop. This 
laptop previously ran a Debian-based Linux distribution with little 
trouble. I wanted to switch to FreeBSD and did some practice 
installations, kernel recompiles, c. on an old desktop machine. All 
went well.


Today I decided to try an install on the TX610P. Installation of the 
base-system went well enough but the system does not recognise the NIC.


The boot message given is:

   pci6: network, ethernet at device 8.0 (no driver attached)

pciconf -l -v gives:

   [EMAIL PROTECTED]:8:0: class=0x02 card = 0x81e2104d chip=0x10698086 
rev=-0x03 hdr =0x00

   vendor   = 'Intel Corporation'
   device   = '82562Em/EX/GX PRO/100 VM (LOM) Ethernet Controller 
Mobile'

   class= network
   subclass = ethernet

ifconfig reports only the the loopback (lo0) and Ethernet over 
Firewire (fwe0) devices.


My kernel configuration has the lines:

   device miibus
   device fxp

Any suggestions?

Mark

--
Mark Myatt

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


can't sftp in konqueror

2006-04-27 Thread Henrik Hudson
Hey List-

Running KDE 3.5.2 fresh install and I'm having issues using sftp in a 
konqueror window. In the address bar I'm putting:
sftp://[EMAIL PROTECTED]

and all I keep getting is Authentication Failed

This works great on my Gentoo box. Is there a setting somewhere?

I don't see any errors in logs anywhere.

Using sftp from the shell works fine to the same host.

Thanks.

Henrik
-- 
Henrik Hudson
[EMAIL PROTECTED]
--
God, root, what is difference? Pitr; UF (http://www.userfriendly.org/)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SOLVED - gnash, FreeBSD and OpenGL -- usable?

2006-04-27 Thread RW
On Thursday 27 April 2006 04:03, Oliver Iberien wrote:
 It turns out that this is an xorg module. To load it, uncomment the line

 Load   glx

 in xorg.conf. So now we do have some Flash for FreeBSD. I got gnash to run
 a .swf movie (no sound though) and Firefox can use the plugin to some
 extent.

Is it any good as a plugin?

Personally I'm not bothered much by flash movies or eye-candy. The real 
problem as far as I'm concerned is those site that use it for navigation, or 
wont even let you in without a plugin.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Simple firewall question: Blocking a handful of IPs

2006-04-27 Thread RW
On Thursday 27 April 2006 03:10, fbsd wrote:
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of H. Wade
  Minter
 ..
  I want all traffic allowed unfettered, except traffic from
  particular
  IPs to be completely blocked coming in.
 
  Can someone show me which ipf rules to use to get that result?

   block in quick on rl0 from x.x.x.x  to any

Unless the syntax is the same, that looks more like pf than ipf.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Simple firewall question: Blocking a handful of IPs

2006-04-27 Thread RW
On Thursday 27 April 2006 17:53, RW wrote:
 On Thursday 27 April 2006 03:10, fbsd wrote:
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] Behalf Of H. Wade
   Minter
 
  ..
 
   I want all traffic allowed unfettered, except traffic from
   particular
   IPs to be completely blocked coming in.
  
   Can someone show me which ipf rules to use to get that result?
 
block in quick on rl0 from x.x.x.x  to any

 Unless the syntax is the same, that looks more like pf than ipf.

Sorry, I see the syntax is the same.
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: postfix with OpenLDAP 2.3

2006-04-27 Thread Per olof Ljungmark

openldap-server-2.3.21

How can I make postfix build with this version of OpenLDAP? It wants 
2.2...


Thanks


Have a try with WANT_OPENLDAP_VER=23 instead of WITH_OPENLDAP_VER=2.3.21


Thank you, that worked fine!
Now I have the same issue with php5-extensions that also wants the 2.2.7 
ldap libraries from openldap22. I cant find a switch here unfortunately.

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


bsnmpd help

2006-04-27 Thread Sean Murphy
I am running FreeBSD 5.4 and would like to monitor it using the included 
bsnmpd.  However the handbook did not have any information about it, the 
man page was pretty lean and the list archive is very scarce on the topic.


I checked the /etc/defaults/rc.conf and noticed there is not an 
enable_bsnmpd that I can add so it starts up.


Could someone point me to a good guide to bsnmpd I would really like to 
start using it.


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


Re: Simple firewall question: Blocking a handful of IPs

2006-04-27 Thread Giorgos Keramidas
On 2006-04-27 17:53, RW [EMAIL PROTECTED] wrote:
On Thursday 27 April 2006 03:10, fbsd wrote:
H. Wade Minter wrote:
 I want all traffic allowed unfettered, except traffic from
 particular IPs to be completely blocked coming in.

 Can someone show me which ipf rules to use to get that result?

   block in quick on rl0 from x.x.x.x  to any

 Unless the syntax is the same, that looks more like pf than ipf.

The syntax *is* the same, in this case.  The only ipf syntax
feature that ipf users are likely to miss from pf syntax is the
use of rule `groups', but this is not used here.

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


find not finding file.

2006-04-27 Thread RW
Can anyone explain this:

   # find /etc/ -name 'named.conf'
   # ls -l /etc/namedb/named.conf
   -rw-r--r--  1 root  wheel  3715 Nov 13 17:35 /etc/namedb/named.conf

named.conf is not found, but as a sanity check a similar search for ppp.conf 
succeeds  

   # find /etc/ -name 'ppp.conf'
   /etc/ppp/ppp.conf

there is nothing odd about the directories: 

   # ls -dl  /etc/namedb/  /etc/ppp/
   drwxr-xr-x  5 root  wheel  512 Nov 13 17:35 /etc/namedb/
   drwxr-xr-x  2 root  wheel  512 Feb  8 17:36 /etc/ppp/


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


Re: xhost does not work as expected

2006-04-27 Thread Mike Jeays
On Thu, 2006-04-27 at 17:02 +0200, Frank Bonnet wrote:
 Garrett Cooper wrote:
 
  
  It's most likely because you (or someone masquerading as you, ie 
  startkde) is using a default startx setup:
  
  [EMAIL PROTECTED] /usr/X11R6 $ grep -r nolisten *
  
  #snip
  
  X11R6/bin/startx:defaultserverargs=-nolisten tcp -br
  
 
 Ok I use kdm to start the WM and I didn't find any way
 to start X without the -nolisten_tcp option
 
 Is there a conf. file to do so ?
 thanks
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


To enable remote X displays, use either startx -listen_tcp or,
in /usr/local/share/config/kdm/kdmrc comment out
ServerArgsLocal=-nolisten tcp


-- 
Mike Jeays
http://ca.geocities.com/[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: Help needed compiling printer source code

2006-04-27 Thread P.U.Kruppa

On Thu, 27 Apr 2006, Malcolm Fitzgerald wrote:



On 27/04/2006, at 7:33 AM, P.U.Kruppa wrote:


On Wed, 26 Apr 2006, Malcolm Fitzgerald wrote:


I've set up a printer.
location: lpt0
Printer State: idle, accepting jobs
device URI: parallel:/dev/lpt0
Printing the test page does not work, the job is aborted with error: 
client-error-not-possible
The most probable reason for this is that some user permissions are set 
incorrectly. We have to analyze this step by step.

1) Try to print directly from the command line:
 # printf Hello World \f  /dev/lpt0
   If your printer is connected correctly to your parallel port,
   *something* should be printed out.


as user I get cannot create /dev/lpt0: Permission denied
That is o.k.. You should try to setup your printer as root first anyway: 
you always can solve problems with lower user permissions later on.



as root I get a blank page

So at least your printer can print the form feed character \f
   :-)

As Robert Huff suggested in his mail one reason might be wrong permissions 
of your spooler directory.

2) If you haven't set it otherwise it should be found at
 /var/spool/cups
3)   # cd /var/spool/
 # ls -l
   should show this
 drwx--x---  3 root   daemon  1536 26 Apr 19:44 cups
4) Inside /var/spool/cups you should find some files with
   names like
 c1
 c2
 c3
   and so on, each representing one print job.



Yes, I have that. Changing permissions on /var/spool/cups/ to 777 hasn't 
changed things.
Each time I try to print a test page from the cups Printers page the job is 
aborted.


mystified.

O.K. Lets try to have a look at logfiles
Ad the line
  LogLevel debug
to your /usr/local/etc/cups/cupsd.conf
and restart cups
  # /usr/local/etc/rc.d/cupsd restart
When I print the test page I get this in /var/log/cups/error_log

--
I [28/Apr/2006:01:25:10 +0200] Started 
/usr/local/libexec/cups/cgi-bin/admin.cg

i (pid=15433)
D [28/Apr/2006:01:25:10 +0200] SendCommand: 5 file=7
D [28/Apr/2006:01:25:17 +0200] ReadClient: 5 GET /printers/ 
HTTP/1.1
D [28/Apr/2006:01:25:17 +0200] CGI 
/usr/local/libexec/cups/cgi-bin/printers.cgi

started - PID = 15434
I [28/Apr/2006:01:25:17 +0200] Started 
/usr/local/libexec/cups/cgi-bin/printers

.cgi (pid=15434)
D [28/Apr/2006:01:25:17 +0200] SendCommand: 5 file=8
D [28/Apr/2006:01:25:17 +0200] AcceptClient: 7 from 
localhost:631.

D [28/Apr/2006:01:25:17 +0200] ReadClient: 7 POST / HTTP/1.1
D [28/Apr/2006:01:25:17 +0200] ProcessIPPRequest: 7 status_code=1
D [28/Apr/2006:01:25:17 +0200] ReadClient: 7 POST / HTTP/1.1
D [28/Apr/2006:01:25:17 +0200] ProcessIPPRequest: 7 status_code=1
D [28/Apr/2006:01:25:17 +0200] CloseClient: 7
D [28/Apr/2006:01:25:21 +0200] AcceptClient: 7 from 
192.168.10.1:631.
D [28/Apr/2006:01:25:21 +0200] ReadClient: 7 GET 
/printers/hpdj?op=print-test-pa

ge HTTP/1.1
D [28/Apr/2006:01:25:21 +0200] CGI 
/usr/local/libexec/cups/cgi-bin/printers.cgi

started - PID = 15435
I [28/Apr/2006:01:25:21 +0200] Started 
/usr/local/libexec/cups/cgi-bin/printers

.cgi (pid=15435)
D [28/Apr/2006:01:25:21 +0200] SendCommand: 7 file=9
D [28/Apr/2006:01:25:21 +0200] AcceptClient: 8 from 
localhost:631.
D [28/Apr/2006:01:25:21 +0200] ReadClient: 8 POST /printers/hpdj 
HTTP/1.1
D [28/Apr/2006:01:25:21 +0200] print_job: request file type is 
application/posts

cript.
D [28/Apr/2006:01:25:21 +0200] check_quotas: requesting-user-name 
= ''
D [28/Apr/2006:01:25:21 +0200] print_job: requesting-user-name = 
''
D [28/Apr/2006:01:25:21 +0200] Adding default job-sheets values 
none,none...
I [28/Apr/2006:01:25:21 +0200] Adding start banner page none to 
job 75.
I [28/Apr/2006:01:25:21 +0200] Adding end banner page none to 
job 75.

I [28/Apr/2006:01:25:21 +0200] Job 75 queued on 'hpdj' by ''.
D [28/Apr/2006:01:25:21 +0200] Job 75 hold_until = 0
D [28/Apr/2006:01:25:21 +0200] StartJob(75, 0x81a8800)
D [28/Apr/2006:01:25:21 +0200] StartJob() id = 75, file = 0/1
D [28/Apr/2006:01:25:21 +0200] job-sheets=none,none
D [28/Apr/2006:01:25:21 +0200] banner_page = 0
D [28/Apr/2006:01:25:21 +0200] StartJob: argv = 
hpdj,75,,Test Page,1,

,/var/spool/cups/d00075-001
D [28/Apr/2006:01:25:21 +0200] StartJob: 
envp[0]=PATH=/usr/local/libexec/cups/f

ilter:/bin:/usr/bin
D [28/Apr/2006:01:25:21 +0200] StartJob: 
envp[1]=SOFTWARE=CUPS/1.1

D [28/Apr/2006:01:25:21 +0200] StartJob: envp[2]=USER=root
D [28/Apr/2006:01:25:21 +0200] StartJob: envp[3]=CHARSET=utf-8
D [28/Apr/2006:01:25:21 +0200] StartJob: envp[4]=LANG=en_US
D [28/Apr/2006:01:25:21 +0200] StartJob: 
envp[5]=PPD=/usr/local/etc/cups/ppd/hp

dj.ppd
D [28/Apr/2006:01:25:21 +0200] StartJob: 
envp[6]=CUPS_SERVERROOT=/usr/local/etc

/cups
D [28/Apr/2006:01:25:21 +0200] StartJob: 
envp[7]=RIP_MAX_CACHE=8m
D [28/Apr/2006:01:25:21 +0200] StartJob: 
envp[8]=TMPDIR=/var/spool/cups/tmp
D [28/Apr/2006:01:25:21 +0200] StartJob: 
envp[9]=CONTENT_TYPE=application/posts

cript
D 

Re: find not finding file.

2006-04-27 Thread Luke Dean



On Thu, 27 Apr 2006, RW wrote:


Can anyone explain this:

  # find /etc/ -name 'named.conf'
  # ls -l /etc/namedb/named.conf
  -rw-r--r--  1 root  wheel  3715 Nov 13 17:35 /etc/namedb/named.conf

named.conf is not found, but as a sanity check a similar search for ppp.conf
succeeds

  # find /etc/ -name 'ppp.conf'
  /etc/ppp/ppp.conf

there is nothing odd about the directories:

  # ls -dl  /etc/namedb/  /etc/ppp/
  drwxr-xr-x  5 root  wheel  512 Nov 13 17:35 /etc/namedb/
  drwxr-xr-x  2 root  wheel  512 Feb  8 17:36 /etc/ppp/



Try this:
$ ls -l /etc |grep namedb
lrwxr-xr-x  1 root  wheel   21 Dec 31 18:56 namedb - /var/named/etc/namedb

namedb is actually a link, and find isn't following it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: find not finding file.

2006-04-27 Thread John Webster


--On Thursday, April 27, 2006 18:43:01 +0100 RW [EMAIL PROTECTED] wrote:

 Can anyone explain this:
 
# find /etc/ -name 'named.conf'
# ls -l /etc/namedb/named.conf
-rw-r--r--  1 root  wheel  3715 Nov 13 17:35 /etc/namedb/named.conf
 

/etc/namedb is a link to another directory, don't use the trailing
/ in the ls -ld.  So, in this case, you need to add -follow to find.

# ls -ld /etc/namedb 
lrwxr-xr-x  1 root  wheel  21 Apr 27 08:48 /etc/namedb@ - 
/var/named/etc/namedb 

# find /etc/ -follow -name 'named.conf'
/etc/namedb/named.conf


 named.conf is not found, but as a sanity check a similar search for ppp.conf 
 succeeds  
 
# find /etc/ -name 'ppp.conf'
/etc/ppp/ppp.conf
 
 there is nothing odd about the directories: 
 
# ls -dl  /etc/namedb/  /etc/ppp/
drwxr-xr-x  5 root  wheel  512 Nov 13 17:35 /etc/namedb/
drwxr-xr-x  2 root  wheel  512 Feb  8 17:36 /etc/ppp/
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 





pgpyoHBgoqLzT.pgp
Description: PGP signature


Re: FreeBSD 6.0 compat with DL320 G4

2006-04-27 Thread William
Thanks for your email,

I'm really happy to hear about the support, I'm looking at using the
sata disks! I'm not sure else to ask you have covered pretty much
everything.

Regards,

William

On 27/04/06, [EMAIL PROTECTED]@mgEDV.net [EMAIL PROTECTED] wrote:

  Our vendor preference is HP, if anyone could share their experience
  with the following products (in regards of network/sata support and
  anything else mentioning):
 
  HP DL140 G2
  HP DL145 G2
  HP DL320 G4
  HP DL360 G4

 we tried dl320 g2, g3, g4, dl380 g3 with sata/ciss drives,
 1-4gb ram, P4/XEON, DUAL-XEON with freebsd 5 and 6.
 as of the *bsd's, freebsd has the best support for the
 hp DL*s. sata support is not given for all embedded raid-
 controllers but you can still use raid 1 functionality
 using raidctl. hdd failures can render the system hang for
 3-5sec's on sata devices but after this timeout, everything's
 fine. rebuild is sometimes only possible by os-command, pluggin'
 in the new drive is sometimes not enough ;-)

 nw/chipset support is working (at least on all machines we use).
 no performance issues, except you configure as router and you use
 many different irq's for all interfaces (only occurred on a machine
 with 8 interfaces).

 thermal zone / ipmi support is not really
 close to the vendors ideas and sometimes produces wrong
 numbers, but if you don't want to set fan-speed or check
 temp. on all mentioned devices, it's fine.

 also, system management like (red-power fail, red-fan fail, etc...)
 is not really talking to the os and vice versa, therefore you'll
 have to check for errors like this on your own.

 furthermore, bios/fw upgrades can sometimes be really annoying,
 if you don't have usb-boot-support you'd run into troubles because
 hp only delivers them for some specific os's and freebsd is not on
 the list.

 btw. if somebody reads this and thinks: hey, bullshit i know a way
 of doing this better and it works fine with my DL, please let me
 know!

 best regards and good luck w. the hw :-)


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


Re: postfix with OpenLDAP 2.3

2006-04-27 Thread Joerg Pulz

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Thu, 27 Apr 2006, Per olof Ljungmark wrote:


openldap-server-2.3.21

How can I make postfix build with this version of OpenLDAP? It wants 
2.2...


Thanks


Have a try with WANT_OPENLDAP_VER=23 instead of WITH_OPENLDAP_VER=2.3.21


Thank you, that worked fine!
Now I have the same issue with php5-extensions that also wants the 2.2.7 ldap 
libraries from openldap22. I cant find a switch here unfortunately.


It's the same thing as for postfix. WANT_OPENLDAP_VER=23 is your friend.
The OpenLDAP version decision is made by Mk/bsd.port.mk if the port uses 
USE_OPENLDAP=yes like it is in lang/php5/Makefile.ext which is actually 
the dependency handler of lang/php5-extensions.
The default OpenLDAP version is set by Mk/bsd.port.mk and currently it is 
WANT_OPENLDAP_VER?=22 .
I'm currently investigating how many ports will break when we change the 
system wide default of WANT_OPENLDAP_VER from 22 to 23. If anything 
runs fine, we will probably have 23 as default soon.


You should add WANT_OPENLDAP_VER=23 to your /etc/make.conf to get rid of 
this problem, otherwise you will hit the same problem again for every 
OpenLDAP dependent port.


Regards
Joerg

- -- 
The beginning is the most important part of the work.

-Plato
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQFEURDpSPOsGF+KA+MRAlBwAJ9C4CvPzf+VMxA9CuumtggCggUX8gCfXVPZ
BxuvdENnUCPHDqkJEXMAcmQ=
=o7Jq
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem install 6.0 (release) on Sony Vaio TX610P

2006-04-27 Thread Lowell Gilbert
Mark Myatt [EMAIL PROTECTED] writes:

 I apologise in advance if this is the wrong forum for such a question
 and, if it is, please direct me to the correct place.
 
 I am trying to install FreeBSD 6.0 on a Sony Vaio TX610P laptop. This
 laptop previously ran a Debian-based Linux distribution with little
 trouble. I wanted to switch to FreeBSD and did some practice
 installations, kernel recompiles, c. on an old desktop machine. All
 went well.
 
 Today I decided to try an install on the TX610P. Installation of the
 base-system went well enough but the system does not recognise the NIC.
 
 The boot message given is:
 
 pci6: network, ethernet at device 8.0 (no driver attached)
 
 pciconf -l -v gives:
 
 [EMAIL PROTECTED]:8:0: class=0x02 card = 0x81e2104d chip=0x10698086
 rev=-0x03 hdr =0x00
 vendor   = 'Intel Corporation'
 device   = '82562Em/EX/GX PRO/100 VM (LOM) Ethernet Controller
 Mobile'
 class= network
 subclass = ethernet
 
 ifconfig reports only the the loopback (lo0) and Ethernet over
 Firewire (fwe0) devices.
 
 My kernel configuration has the lines:
 
 device miibus
 device fxp
 
 Any suggestions?

The fxp(4) driver supports at least some i82562 based Ethernet
devices.  Does FreeBSD 6.1 recognize it on boot?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: postfix with OpenLDAP 2.3

2006-04-27 Thread Per olof Ljungmark

Joerg Pulz wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Thu, 27 Apr 2006, Per olof Ljungmark wrote:


openldap-server-2.3.21

How can I make postfix build with this version of OpenLDAP? It wants 
2.2...


Thanks


Have a try with WANT_OPENLDAP_VER=23 instead of WITH_OPENLDAP_VER=2.3.21


Thank you, that worked fine!
Now I have the same issue with php5-extensions that also wants the 
2.2.7 ldap libraries from openldap22. I cant find a switch here 
unfortunately.


It's the same thing as for postfix. WANT_OPENLDAP_VER=23 is your friend.
The OpenLDAP version decision is made by Mk/bsd.port.mk if the port uses 
USE_OPENLDAP=yes like it is in lang/php5/Makefile.ext which is actually 
the dependency handler of lang/php5-extensions.
The default OpenLDAP version is set by Mk/bsd.port.mk and currently it 
is WANT_OPENLDAP_VER?=22 .
I'm currently investigating how many ports will break when we change the 
system wide default of WANT_OPENLDAP_VER from 22 to 23. If anything 
runs fine, we will probably have 23 as default soon.


You should add WANT_OPENLDAP_VER=23 to your /etc/make.conf to get rid 
of this problem, otherwise you will hit the same problem again for every 
OpenLDAP dependent port.


Thank you very much for this valuable piece of information! I must admit 
I've been lazy here, I could have found this out myself through RTFM.


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


squid and SQUID_FOLLOW_XFF

2006-04-27 Thread Miguel
Hi, i just installed squid using ports in 6.1-RC1, i noticed that i 
forgot to enable the SQUID_FOLLOW_XFF flag where configuring the 
options, i want to add it now, how can i do that?

btw, im using portinstall, and i have tried

portinstall -m '-DSQUID_FOLLOW_XFF' squid

without luck,  it didnt work out.
when i add the lines

acl miguel src 192.168.10.124
follow_x_forwarded_for deny miguel

i got this error message:

proxy# /usr/local/etc/rc.d/squid restart
2006/04/27 13:51:52| parseConfigFile: line 1894 unrecognized: 
'follow_x_forwarded_for deny miguel'
Waiting for PIDS: 432 434.
Starting squid.
2006/04/27 13:51:54| parseConfigFile: line 1894 unrecognized: 
'follow_x_forwarded_for deny miguel'

---
Miguel



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


Intel Macs and FreeBSD?

2006-04-27 Thread Mark Edwards
Does anyone know if the Intel Macs can boot and install FreeBSD, now  
that the firmware includes BIOS compatibility?  Has anyone seen it  
happen?


I'm thinking of using a Mac Mini as a quiet living-room server.  Thanks!

--
Mark Edwards


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


Re: find not finding file.

2006-04-27 Thread Kevin Kinsey

John Webster wrote:



Can anyone explain this:

  # find /etc/ -name 'named.conf'
  # ls -l /etc/namedb/named.conf
  -rw-r--r--  1 root  wheel  3715 Nov 13 17:35 /etc/namedb/named.conf



/etc/namedb is a link to another directory, don't use the trailing
/ in the ls -ld.  So, in this case, you need to add -follow to find.



there is nothing odd about the directories: 


  # ls -dl  /etc/namedb/  /etc/ppp/
  drwxr-xr-x  5 root  wheel  512 Nov 13 17:35 /etc/namedb/
  drwxr-xr-x  2 root  wheel  512 Feb  8 17:36 /etc/ppp/



All well  good; we'll assume the OP missed the fact that this is a 
symlink.  What seems interesting to me, though (and it's probably just 
the fact that I'm a relative *Nix newb), why this?


[402] Thu 27.Apr.2006 15:03:23 
  [EMAIL PROTECTED] 


  # ls -dl /etc/namedb/
drwxr-xr-x  5 root  wheel  512 Apr 26  2005 /etc/namedb//

   [403] Thu 27.Apr.2006 15:03:27 

   [EMAIL PROTECTED] 
  # ls -dl /etc/namedb
lrwxr-xr-x  1 root  wheel  21 Jan 17  2005 /etc/namedb@ - 
/var/named/etc/namedb



Certainly doesn't *seem* to be mentioned in ls(1).

KDK

PS. Heh, apparently it was me   |
   \ /
--  V
If you explain so clearly that nobody can misunderstand, somebody
will.

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


Re: Perl: sort string alphabetically, or remove dupe chars?

2006-04-27 Thread Nikolas Britton
On 4/27/06, Andrew Reitz [EMAIL PROTECTED] wrote:

 On Apr 26, 2006, at 12:34 AM, Nikolas Britton wrote:

  On 4/25/06, Parv [EMAIL PROTECTED] wrote:
 [snip]
  Thanks parv... I meant the algorithm was clunky, not the code... I'm
  so new at this that I can't read your code, and I have a hard enough
  time reading mine own :-).
 
  I've got another simple problem now. How do I get this code to stop
  printing everything on a newline, I'm not using \n in my print
  statement so why does it do that and how do I get it to stop?
 
  @wordlist1 = `sed /^$sedstring1\\\$/\\!d  enable2k_wordlist`;
  foreach (@wordlist1) {
$string = $_;
$string =~ s/[$solvedletters1]//g;
my @chars = split(, $string);
$string = ; @chars = sort (@chars);
  foreach (@chars) {
$string .= $_;
  }
$string =~ tr///cs;
print $string;
  }

 Hi Nikolas,

 Most likely, your input has '\n' characters at the end of every line,
 and you aren't doing anything in perl to strip those away. Try adding
 a 'chomp($string);' line before you print.


Hey thanks, I think I did try that already... anyways... it doesn't
matter now because I reworked the code block, this is what I have so
far:

open(DATA,  $wordlistfile)
or die Couldn't open $wordlistfile for reading: $!\n;

$regex = qr{^$sedstring1$};
my %freq;#keys = characters, values = frequency count
while (DATA) {
   chomp;
   if (/$regex/) {
  push @guesswords, \n$_;
  $_ =~ s/[$solvedletters1]//g;
  my @chars = split(, $_);
  $_ = ; @chars = sort (@chars);
  foreach (@chars) {
 $foobar3 .= $_;
  }
  $_ = $foobar3; $foobar3 = ;
  $_ =~ tr///cs;
  #print $_\n; # For debugging
  $freq{$_}++ for  split(//, lc $_);
   }
}

$_ = scalar @guesswords;
print  Guesswords in list: $_\n;
if (@guesswords = 20) {
   print @guesswords\n\n;
}

# Print probabilities list.
foreach $_ (sort {$freq{$a} = $freq{$b}} (keys(%freq))) {
   print  $_\t=\t$freq{$_}\n;
}


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


Re: squid and SQUID_FOLLOW_XFF

2006-04-27 Thread John Nielsen
On Thursday 27 April 2006 16:01, Miguel wrote:
 Hi, i just installed squid using ports in 6.1-RC1, i noticed that i
 forgot to enable the SQUID_FOLLOW_XFF flag where configuring the
 options, i want to add it now, how can i do that?
 btw, im using portinstall, and i have tried

 portinstall -m '-DSQUID_FOLLOW_XFF' squid

  without luck,  it didnt work out.
  when i add the lines

 acl miguel src 192.168.10.124
 follow_x_forwarded_for deny miguel

 i got this error message:

 proxy# /usr/local/etc/rc.d/squid restart
 2006/04/27 13:51:52| parseConfigFile: line 1894 unrecognized:
 'follow_x_forwarded_for deny miguel' Waiting for PIDS: 432 434.
 Starting squid.
 2006/04/27 13:51:54| parseConfigFile: line 1894 unrecognized:
 'follow_x_forwarded_for deny miguel'

This is an option for the port, which you can enable by 
defining WITH_SQUID_FOLLOW_XFF=yes. e.g.:

portupgrade -f -m WITH_SQUID_FOLLOW_XFF=yes
OR (if the port isn't already installed)
cd /usr/ports/www/squid  make WITH_SQUID_FOLLOW_XFF=yes install clean

And actually, squid (and many other ports with multiple compile-time options) 
supports make config as well, so you can make your selections from a menu.  
The menu only comes up automatically if there is no stored configuration 
(in /var/db/ports), so you may not be seeing it every time.

I don't know if there is a better way to do it, but I always check for port 
options like this by doing something like:

cd /usr/ports/www/squid
grep -F .if Makefile

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


Re: Intel Macs and FreeBSD?

2006-04-27 Thread James Riendeau
Why?  Mac OS X has a complete unix freebsd-like core called darwin  
( http://www.darwin.org ).  There's no reason to install freebsd on  
it.  Just install Mac Developer Tools (included in the Applications  
folder), compile your favorite progs and go.


James Riendeau
MMI Computer Support Technician
1300 University Ave
Rm. 436, Dept. of MedMicro
Madison, WI  53706

Phone: (608) 262-3351
After-hours Phone: (608) 260-2696
Fax: (608) 262-8418
Email: [EMAIL PROTECTED]



On Apr 27, 2006, at 3:03 PM, Mark Edwards wrote:

Does anyone know if the Intel Macs can boot and install FreeBSD,  
now that the firmware includes BIOS compatibility?  Has anyone seen  
it happen?


I'm thinking of using a Mac Mini as a quiet living-room server.   
Thanks!


--
Mark Edwards


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions- 
[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: Intel Macs and FreeBSD?

2006-04-27 Thread James Riendeau

Oops.  Looks like the URL changed.  It is:  http://opensource.apple.com/

-james



On Apr 27, 2006, at 3:47 PM, James Riendeau wrote:

Why?  Mac OS X has a complete unix freebsd-like core called darwin  
( http://www.darwin.org ).  There's no reason to install freebsd on  
it.  Just install Mac Developer Tools (included in the Applications  
folder), compile your favorite progs and go.


James Riendeau
MMI Computer Support Technician
1300 University Ave
Rm. 436, Dept. of MedMicro
Madison, WI  53706

Phone: (608) 262-3351
After-hours Phone: (608) 260-2696
Fax: (608) 262-8418
Email: [EMAIL PROTECTED]



On Apr 27, 2006, at 3:03 PM, Mark Edwards wrote:

Does anyone know if the Intel Macs can boot and install FreeBSD,  
now that the firmware includes BIOS compatibility?  Has anyone  
seen it happen?


I'm thinking of using a Mac Mini as a quiet living-room server.   
Thanks!


--
Mark Edwards


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions- 
[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: Intel Macs and FreeBSD?

2006-04-27 Thread Bill Moran
On Thu, 27 Apr 2006 15:47:37 -0500
James Riendeau [EMAIL PROTECTED] wrote:

 Why?  Mac OS X has a complete unix freebsd-like core called darwin  
 ( http://www.darwin.org ).  There's no reason to install freebsd on  
 it.  Just install Mac Developer Tools (included in the Applications  
 folder), compile your favorite progs and go.

Have you actually tried this?  Installing ports from FreeBSD is about
50x easier than getting software compiled/installed on a Mac.  I've
been working with the Macs here at the office for a few weeks, and I've
come to realize just how wonderfully well-maintained FreeBSD's ports
are!

I'd take FreeBSD over MacOS any day.  Perhaps it will get better over
time, but I'm not impressed with it right now.

 On Apr 27, 2006, at 3:03 PM, Mark Edwards wrote:
 
  Does anyone know if the Intel Macs can boot and install FreeBSD,  
  now that the firmware includes BIOS compatibility?  Has anyone seen  
  it happen?
 
  I'm thinking of using a Mac Mini as a quiet living-room server.   
  Thanks!

-- 
Bill Moran
Collaborative Fusion Inc.


IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.

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


Re: Intel Macs and FreeBSD?

2006-04-27 Thread Mark Edwards
Because I want to run FreeBSD, not Darwin.  This is for a server, not  
for a desktop.  I'm used to FreeBSD, and I am migrating an existing  
machine over.


On Apr 27, 2006, at 1:49 PM, James Riendeau wrote:

Oops.  Looks like the URL changed.  It is:  http:// 
opensource.apple.com/


-james



On Apr 27, 2006, at 3:47 PM, James Riendeau wrote:

Why?  Mac OS X has a complete unix freebsd-like core called darwin  
( http://www.darwin.org ).  There's no reason to install freebsd  
on it.  Just install Mac Developer Tools (included in the  
Applications folder), compile your favorite progs and go.


James Riendeau
MMI Computer Support Technician
1300 University Ave
Rm. 436, Dept. of MedMicro
Madison, WI  53706

Phone: (608) 262-3351
After-hours Phone: (608) 260-2696
Fax: (608) 262-8418
Email: [EMAIL PROTECTED]



On Apr 27, 2006, at 3:03 PM, Mark Edwards wrote:

Does anyone know if the Intel Macs can boot and install FreeBSD,  
now that the firmware includes BIOS compatibility?  Has anyone  
seen it happen?


I'm thinking of using a Mac Mini as a quiet living-room server.   
Thanks!


--
Mark Edwards


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







--
Mark Edwards


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


Re: Intel Macs and FreeBSD?

2006-04-27 Thread John Cruz
A mac mini is an odd machine to make into a server, but no matter. I 
doubt you'll run into any issues with installing it. Darwin is nice, but 
it was developed to be the underlying layer of the finder GUI. And the 
freeBSD ports system is so much nicer than any other nix install system 
that there's no comparison.


-JOhn

Mark Edwards wrote:
Because I want to run FreeBSD, not Darwin.  This is for a server, not 
for a desktop.  I'm used to FreeBSD, and I am migrating an existing 
machine over.


On Apr 27, 2006, at 1:49 PM, James Riendeau wrote:


Oops.  Looks like the URL changed.  It is:  http://opensource.apple.com/

-james



On Apr 27, 2006, at 3:47 PM, James Riendeau wrote:

Why?  Mac OS X has a complete unix freebsd-like core called darwin ( 
http://www.darwin.org ).  There's no reason to install freebsd on 
it.  Just install Mac Developer Tools (included in the Applications 
folder), compile your favorite progs and go.


James Riendeau
MMI Computer Support Technician
1300 University Ave
Rm. 436, Dept. of MedMicro
Madison, WI  53706

Phone: (608) 262-3351
After-hours Phone: (608) 260-2696
Fax: (608) 262-8418
Email: [EMAIL PROTECTED]



On Apr 27, 2006, at 3:03 PM, Mark Edwards wrote:

Does anyone know if the Intel Macs can boot and install FreeBSD, 
now that the firmware includes BIOS compatibility?  Has anyone seen 
it happen?


I'm thinking of using a Mac Mini as a quiet living-room server.  
Thanks!


--
Mark Edwards


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







--
Mark Edwards


___
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: SOLVED - gnash, FreeBSD and OpenGL -- usable?

2006-04-27 Thread Oliver Iberien
On Thursday 27 April 2006 11:55, RW [EMAIL PROTECTED] 
wrote:
 Is it any good as a plugin?

 Personally I'm not bothered much by flash movies or eye-candy. The real
 problem as far as I'm concerned is those site that use it for navigation,
 or wont even let you in without a plugin.

Sort of. The more advanced sort of navigation stuff is not working. Links that 
use small .swf files as their images do work. Anyhow, it is better than last 
time around. 

It looks as if the plugin may only work if you've already opened a .swf file 
in the current session, but I am not sure.

Also, as regards sound (for those interested in movies), this from their 
mailing list:

 The problem is that gnash currently only support sound-elements (usually
 small sound-clips), and not sound streams (lnoger and bigger sound-clips).
 We are working on a new gstreamer based solution, but it's not ready yet.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Intel Macs and FreeBSD?

2006-04-27 Thread Chad Leigh -- Shire.Net LLC


On Apr 27, 2006, at 2:52 PM, Bill Moran wrote:


On Thu, 27 Apr 2006 15:47:37 -0500
James Riendeau [EMAIL PROTECTED] wrote:


Why?  Mac OS X has a complete unix freebsd-like core called darwin
( http://www.darwin.org ).  There's no reason to install freebsd on
it.  Just install Mac Developer Tools (included in the Applications
folder), compile your favorite progs and go.


Have you actually tried this?  Installing ports from FreeBSD is about
50x easier than getting software compiled/installed on a Mac.  I've
been working with the Macs here at the office for a few weeks, and  
I've

come to realize just how wonderfully well-maintained FreeBSD's ports
are!

I'd take FreeBSD over MacOS any day.  Perhaps it will get better over
time, but I'm not impressed with it right now.


Depends what you are trying to do but there are two ports systems  
for Mac OS X which make it about (they say) as easy as the FreeBSD  
ports system.   One is called fink and the other something like  
darwin-ports.  Also, many popular packages now exist in precompiled  
app form or with installer packages.


I use FreeBSD on my servers, except for one Mac based server, and  
prefer it for my servers.  However, for a home based server, I would  
probably leave the Mac OS X on there.   There are all sorts of media  
advantages and you can easily get the home-server type stuff running  
and it is supported.  In fact, my home-based office also runs off a  
different Mac OS X server with Mac OS X (and a windows box or two)  
clients.


Chad

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



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


Re: Intel Macs and FreeBSD?

2006-04-27 Thread Mark Edwards
The Mac Mini is fast, small, quiet, and cheap.  Why is it not a good  
cheap server?


On Apr 27, 2006, at 1:58 PM, John Cruz wrote:

A mac mini is an odd machine to make into a server, but no matter.  
I doubt you'll run into any issues with installing it. Darwin is  
nice, but it was developed to be the underlying layer of the finder  
GUI. And the freeBSD ports system is so much nicer than any other  
nix install system that there's no comparison.


-JOhn

Mark Edwards wrote:
Because I want to run FreeBSD, not Darwin.  This is for a server,  
not for a desktop.  I'm used to FreeBSD, and I am migrating an  
existing machine over.


On Apr 27, 2006, at 1:49 PM, James Riendeau wrote:

Oops.  Looks like the URL changed.  It is:  http:// 
opensource.apple.com/


-james



On Apr 27, 2006, at 3:47 PM, James Riendeau wrote:

Why?  Mac OS X has a complete unix freebsd-like core called  
darwin ( http://www.darwin.org ).  There's no reason to install  
freebsd on it.  Just install Mac Developer Tools (included in  
the Applications folder), compile your favorite progs and go.


James Riendeau
MMI Computer Support Technician
1300 University Ave
Rm. 436, Dept. of MedMicro
Madison, WI  53706

Phone: (608) 262-3351
After-hours Phone: (608) 260-2696
Fax: (608) 262-8418
Email: [EMAIL PROTECTED]



On Apr 27, 2006, at 3:03 PM, Mark Edwards wrote:

Does anyone know if the Intel Macs can boot and install  
FreeBSD, now that the firmware includes BIOS compatibility?   
Has anyone seen it happen?


I'm thinking of using a Mac Mini as a quiet living-room  
server.  Thanks!


--
Mark Edwards


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







--
Mark Edwards


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







--
Mark Edwards


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


Re: Intel Macs and FreeBSD?

2006-04-27 Thread Daan Vreeken [PA4DAN]
On Thursday 27 April 2006 22:03, Mark Edwards wrote:
 Does anyone know if the Intel Macs can boot and install FreeBSD, now
 that the firmware includes BIOS compatibility?  Has anyone seen it
 happen?

 I'm thinking of using a Mac Mini as a quiet living-room server.  Thanks!

Have a look at the mailinglist archives of the FreeBSD-current mailling list. 
There was a discussion over there about this about 2-3 weeks ago. Maxim 
Sobolev got FreeBSD to boot on a Mac Intel after some minor changes.

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


Re: Intel Macs and FreeBSD?

2006-04-27 Thread Chad Leigh -- Shire.Net LLC


On Apr 27, 2006, at 3:10 PM, Mark Edwards wrote:

The Mac Mini is fast, small, quiet, and cheap.  Why is it not a  
good cheap server?


I would only be concerned about the disk depending on what sort of  
server you are intending to have.  I do not know but assume that they  
still use the laptop 2.5 drives which are not 24/7 rated.  Probably  
doesn't matter for most home servers.  Lack of storage space unless  
you start hooking up external drives.  What sort of server are you  
intending?


I am actually thinking about using Mac Mini machines for IMAP and  
SMTP front ends using NFS mounted backend storage due to their size  
and low power draw.  I can stick many of them in the same place that  
a 2U rack unit would go and with fans blowing data center A/C air  
across them there should be no heat issues and with the backend NFS  
storage, all the actual mail itself would be processed off-disk so  
the disks would basically get no work out...


Chad



On Apr 27, 2006, at 1:58 PM, John Cruz wrote:

A mac mini is an odd machine to make into a server, but no matter.  
I doubt you'll run into any issues with installing it. Darwin is  
nice, but it was developed to be the underlying layer of the  
finder GUI. And the freeBSD ports system is so much nicer than any  
other nix install system that there's no comparison.


-JOhn

Mark Edwards wrote:
Because I want to run FreeBSD, not Darwin.  This is for a server,  
not for a desktop.  I'm used to FreeBSD, and I am migrating an  
existing machine over.


On Apr 27, 2006, at 1:49 PM, James Riendeau wrote:

Oops.  Looks like the URL changed.  It is:  http:// 
opensource.apple.com/


-james



On Apr 27, 2006, at 3:47 PM, James Riendeau wrote:

Why?  Mac OS X has a complete unix freebsd-like core called  
darwin ( http://www.darwin.org ).  There's no reason to install  
freebsd on it.  Just install Mac Developer Tools (included in  
the Applications folder), compile your favorite progs and go.


James Riendeau
MMI Computer Support Technician
1300 University Ave
Rm. 436, Dept. of MedMicro
Madison, WI  53706

Phone: (608) 262-3351
After-hours Phone: (608) 260-2696
Fax: (608) 262-8418
Email: [EMAIL PROTECTED]



On Apr 27, 2006, at 3:03 PM, Mark Edwards wrote:

Does anyone know if the Intel Macs can boot and install  
FreeBSD, now that the firmware includes BIOS compatibility?   
Has anyone seen it happen?


I'm thinking of using a Mac Mini as a quiet living-room  
server.  Thanks!


--
Mark Edwards


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







--
Mark Edwards


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







--
Mark Edwards


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


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



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


Re: Intel Macs and FreeBSD?

2006-04-27 Thread Bill Moran
On Thu, 27 Apr 2006 15:08:37 -0600
Chad Leigh -- Shire.Net LLC [EMAIL PROTECTED] wrote:

 
 On Apr 27, 2006, at 2:52 PM, Bill Moran wrote:
 
  On Thu, 27 Apr 2006 15:47:37 -0500
  James Riendeau [EMAIL PROTECTED] wrote:
 
  Why?  Mac OS X has a complete unix freebsd-like core called darwin
  ( http://www.darwin.org ).  There's no reason to install freebsd on
  it.  Just install Mac Developer Tools (included in the Applications
  folder), compile your favorite progs and go.
 
  Have you actually tried this?  Installing ports from FreeBSD is about
  50x easier than getting software compiled/installed on a Mac.  I've
  been working with the Macs here at the office for a few weeks, and  
  I've
  come to realize just how wonderfully well-maintained FreeBSD's ports
  are!
 
  I'd take FreeBSD over MacOS any day.  Perhaps it will get better over
  time, but I'm not impressed with it right now.
 
 Depends what you are trying to do but there are two ports systems  
 for Mac OS X which make it about (they say) as easy as the FreeBSD  
 ports system.   One is called fink and the other something like  
 darwin-ports.  Also, many popular packages now exist in precompiled  
 app form or with installer packages.

I haven't tried Fink, but that's because a number of people warned me
to avoid it.  That could have been bad info, though.

darwin-ports didn't work for me at all.  I could get it to do nothing
once installed.  The instructions seemed simple enough, but just
didn't work.

-- 
Bill Moran
Collaborative Fusion Inc.


IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.

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


chown confusion

2006-04-27 Thread Huy Ton That
Okay I'm feeling like an idiot now, if i chowned a directory such that

user 'x' had the ownership of a given directory and was in group 'alpha'

user 'b' needed to add files to the said directory and was in group 'alpha'

now I know usually you do chown :groupname dir/file or chown
user:groupname dir/file to change ownership however...

I can limit a directory to only a user, but I want to limit it not at a user
level, but at a group level such that all users in a group can write to a
file.

An option to remove ownership perhaps chown -:groupname does this make
sense?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Intel Macs and FreeBSD?

2006-04-27 Thread Chad Leigh -- Shire.Net LLC


On Apr 27, 2006, at 3:22 PM, Bill Moran wrote:


I haven't tried Fink, but that's because a number of people warned me
to avoid it.  That could have been bad info, though.

darwin-ports didn't work for me at all.  I could get it to do nothing
once installed.  The instructions seemed simple enough, but just
didn't work.


I don't use either as my real servers are all based on FreeBSD but in  
the Mac OS X lists I hang out in lots of people use both and have no  
problems.  I don't know what your issues were with darwin-ports, so I  
cannot address them, but for the archive sake, wanted to say that  
lots of other people successfully use both.  It all depends on what  
sort of server you want to run as well.  A small home server doesn't  
need to build a ton of ports and for that OS X might be easier for  
most people.  The OP likes FreeBSD so that is why he was asking, and  
that is his prerogative.  No arguments there.


I must say I always run into issues with the FreeBSD ports system  
myself, probably mostly from my own ignorance, but I have problems  
where ports assume /usr/local for dependencies even when both the  
dependency and the new port  I am trying to install have a PREFIX set  
for them other than /usr/local, for example.


best
Chad


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



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


Re: scripting languages...

2006-04-27 Thread Gary Kline
On Thu, Apr 27, 2006 at 06:10:43AM +0300, Giorgos Keramidas wrote:
 On 2006-04-26 19:41, Gary Kline [EMAIL PROTECTED] wrote:
 
  Hi People,
  I am NOT trying to start any kind of flame debate, but would
  like to know what real advantage perl has over the newer
  so-called all-in-one language, ch.   (Other than the obvious
  fact that there are literally billions of lines of perl existant.)
 
 Don't you really mean ``C#'' by writing ``ch''?

The only thing I recall reading about C# is that it was 
a DOS/Win C++ ish language.  ch is a C/C++ scripting language
that is like /bin/sh only with C syntax.Some C wizards 
created a perl regex library for ch; thus my question.

I like the C  main(int argc, char *argv[]) intro or
starting-point.  main() has to be there in C. Given argc
and argv, I can hack away freely.  /bin/sh, /bin/csh, 
and perl's lack if arg[cv] means that I have to think about 
how-to grab the arguments to a binary. Script ot ./a.out.

 
 Perl seems ubiquitous these days.  Every operating system I regularly
 have to use (Linux, BSD or Solaris, in my case) has a Perl
 implementation that works the same way 90% of the time.  When it
 doesn't, there's almost certainly a CPAN module that does the trick.
 
 $ uname -v
 FreeBSD 7.0-CURRENT #0: Thu Apr 20 06:26:59 EEST 2006 \

[ ... ]

 Linux  2.6.10 #1 Thu Dec 30 03:01:16 EET 2004 i686 GNU/Linux
 $ perl --version | grep '^This'
 This is perl, v5.8.8 built for i486-linux-gnu-thread-multi

You're a brave man, messing with 7-current!!  

The fact that perl is everywhere is in its favor; perl
gurus can deal with argc/argv in their *sleep*.  I can't;
but it might interest you that many years ago I ported 
perl from the Sun-3 to an IBM AIX 3090 (with all 6 CPU's).
Worked fine.  ...Still. for thinks of any complexity,
I'll grab one of my prefab C skeletons and hack away.

 
 The biggest advantage of Perl for me right now is that ``A Fairly Modern
 Version is Just There(TM)'', wherever I have to work :)
 

Makes sense.

gary


-- 
   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: chown confusion

2006-04-27 Thread Noel Jones
On 4/27/06, Huy Ton That [EMAIL PROTECTED] wrote:
 Okay I'm feeling like an idiot now, if i chowned a directory such that

 user 'x' had the ownership of a given directory and was in group 'alpha'

 user 'b' needed to add files to the said directory and was in group 'alpha'

 now I know usually you do chown :groupname dir/file or chown
 user:groupname dir/file to change ownership however...

 I can limit a directory to only a user, but I want to limit it not at a user
 level, but at a group level such that all users in a group can write to a
 file.

 An option to remove ownership perhaps chown -:groupname does this make
 sense?

Sounds as if you want to change the permissions to allow group
read/write of the directory, at which point the owner won't matter.
You probably want something like:
# chgrp groupname dirname
# chmod ug+rwx dirname

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

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


Re: scripting languages...

2006-04-27 Thread Giorgos Keramidas
On 2006-04-27 14:48, Gary Kline [EMAIL PROTECTED] wrote:
 On Thu, Apr 27, 2006 at 06:10:43AM +0300, Giorgos Keramidas wrote:
  Don't you really mean ``C#'' by writing ``ch''?

 The only thing I recall reading about C# is that it was
 a DOS/Win C++ ish language.  ch is a C/C++ scripting language
 that is like /bin/sh only with C syntax.Some C wizards
 created a perl regex library for ch; thus my question.

I've never heard of `ch'.  I know what `C#' is, what `csh' is, what
`sh', `ksh', `zsh' and several other shells are.  I don't know what `ch'
is though :-/

 The fact that perl is everywhere is in its favor; perl
 gurus can deal with argc/argv in their *sleep*.  I can't;
 but it might interest you that many years ago I ported
 perl from the Sun-3 to an IBM AIX 3090 (with all 6 CPU's).
 Worked fine.

HEH!  That must have been fun :)

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


Re: scripting languages...

2006-04-27 Thread Arne Skjaerholt
On Thu, 2006-04-27 at 14:48 -0700, Gary Kline wrote:
   I like the C  main(int argc, char *argv[]) intro or
   starting-point.  main() has to be there in C. Given argc
   and argv, I can hack away freely.  /bin/sh, /bin/csh, 
   and perl's lack if arg[cv] means that I have to think about 
   how-to grab the arguments to a binary. Script ot ./a.out.
Getting at argv/argc is actually pretty simple in Perl. The global array
@ARGV contains the arguments given on the command-line, but not the name
of the file (this datum is contained in $0). Therefore your argv[1] in C
is $ARGV[0] in Perl. The number of command-line arguments can be
obtained in two ways, either you interpret the array in a scalar context
and get its length: ``my $argc = scalar @ARGV'' or you use the last
index of the array and add one: ``my $argc = $#ARGV + 1''. Of course, in
most cases you'll just want to loop over the command-line args, so a
foreach loop should suffice, or of course one of the Getopt (Getopt::Std
or Getopt::Long in most cases) modules.

Your neighbourhood Perl afficionado,
Arne
:wq

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


vacation for postfix

2006-04-27 Thread albi

hi,

i'm running a few mail-servers and 1 of my users asked for a vacation-option

after some searching it looks like the vacation is part of the default
sendmail-install on FreeBSD 5.4, i'm using postfix however (and don't
have sendmail installed), will it work fine with postfix ?

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


Re: scripting languages...

2006-04-27 Thread Gary Kline
On Thu, Apr 27, 2006 at 10:21:53AM +0100, Alex Zbyslaw wrote:
 Gary Kline wrote:
 
  I am NOT trying to start any kind of flame debate, but would 
  like to know what real advantage perl has over the newer
  so-called all-in-one language, ch.   (Other than the obvious
  fact that there are literally billions of lines of perl existant.)
  
 
 I don't  know ch from Adam so can't comment on that but really, the 
 questions what are you trying to do?  Is this for a pet programming 
 project?  For work?  Maintained just by you?  By others?  What's your 
 programming experience?
 
These days most of what I do is by/for me only.  Altho 
lots of times what I thought was throw-away code (/bin/sh, 
perl, C/C++) will have a snippet that's useful.  So I'll
save it in my Prefab directory.

ch is new,  5 years (?).  Most of my hacking these days 
involves tools to help me put up book-lngth stuff on the
web.  I've got a program, atom (ASCII-to-Markup) that I've
working on since '94.  Originally for TeX, now HTML. 
atom only does a few things, but well.  Since I started 
making available **old** books (pre-1923), I needed
a means of CENTERing and A HREF=p347347/A page number 
and page HEADER (and more).  A short C program did the trick. 
I used perl for other substitutions.

Somebody in the UK turned the perl regex stuff into a ch
library.  IMHO, nobody can touch perl's regex ... so it 
would be nice to have in the C world.  There are other  
perl features that would serve if they were backported,
too.  

gary



-- 
   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]


mouse scroll not working

2006-04-27 Thread Brian John

Hi everyone,
I just updated my ports and now when I move my mouse scroll up and down 
it thinks that I'm scrolling horizontally instead of vertically.  I am 
running on 5.4.  Any ideas?


Thanks

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


Re: vacation for postfix

2006-04-27 Thread Noel Jones
On 4/27/06, albi [EMAIL PROTECTED] wrote:

 hi,

 i'm running a few mail-servers and 1 of my users asked for a vacation-option

 after some searching it looks like the vacation is part of the default
 sendmail-install on FreeBSD 5.4, i'm using postfix however (and don't
 have sendmail installed), will it work fine with postfix ?

Yes, it will work fine as long as these are local (not virtual) users
each with their own home directory.

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


Re: vacation for postfix

2006-04-27 Thread Dan Nelson
In the last episode (Apr 28), albi said:
 i'm running a few mail-servers and 1 of my users asked for a
 vacation-option
 
 after some searching it looks like the vacation is part of the
 default sendmail-install on FreeBSD 5.4, i'm using postfix however
 (and don't have sendmail installed), will it work fine with postfix ?

It's really just a mail filter (like procmail) and doesn't care what
MTA you are using.

-- 
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: scripting languages...

2006-04-27 Thread Gary Kline
On Fri, Apr 28, 2006 at 01:15:34AM +0300, Giorgos Keramidas wrote:
 On 2006-04-27 14:48, Gary Kline [EMAIL PROTECTED] wrote:
  On Thu, Apr 27, 2006 at 06:10:43AM +0300, Giorgos Keramidas wrote:
   Don't you really mean ``C#'' by writing ``ch''?
 
  The only thing I recall reading about C# is that it was
  a DOS/Win C++ ish language.  ch is a C/C++ scripting language
  that is like /bin/sh only with C syntax.Some C wizards
  created a perl regex library for ch; thus my question.
 
 I've never heard of `ch'.  I know what `C#' is, what `csh' is, what
 `sh', `ksh', `zsh' and several other shells are.  I don't know what `ch'
 is though :-/

softintegration.com developed it; it's partly free.  
Mostly for prototyping I think.  Beyond that, dunno.

 
  The fact that perl is everywhere is in its favor; perl
  gurus can deal with argc/argv in their *sleep*.  I can't;
  but it might interest you that many years ago I ported
  perl from the Sun-3 to an IBM AIX 3090 (with all 6 CPU's).
  Worked fine.
 
 HEH!  That must have been fun :)
 
:-) Yeh, that's putting it mildly, since AIX had Zero
graphics 16, 17 years ago.  The 3090  was about the 
size of a garbage truck!  I ported tons of stuff to 
that beast  

-- 
   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: Intel Macs and FreeBSD?

2006-04-27 Thread Mark Edwards

On Apr 27, 2006, at 2:21 PM, Chad Leigh -- Shire.Net LLC wrote:


On Apr 27, 2006, at 3:10 PM, Mark Edwards wrote:

The Mac Mini is fast, small, quiet, and cheap.  Why is it not a  
good cheap server?


I would only be concerned about the disk depending on what sort of  
server you are intending to have.  I do not know but assume that  
they still use the laptop 2.5 drives which are not 24/7 rated.   
Probably doesn't matter for most home servers.  Lack of storage  
space unless you start hooking up external drives.  What sort of  
server are you intending?


I am actually thinking about using Mac Mini machines for IMAP and  
SMTP front ends using NFS mounted backend storage due to their size  
and low power draw.  I can stick many of them in the same place  
that a 2U rack unit would go and with fans blowing data center A/C  
air across them there should be no heat issues and with the backend  
NFS storage, all the actual mail itself would be processed off-disk  
so the disks would basically get no work out...


Fair points, and granted its not exactly a robust powerhouse  
machine.  But certainly enough for a non-critical web/mail server.   
The internal drive is definitely a potential weak link.  Its indeed a  
2.5 Seagate laptop drive.


That brings up an important point.  I would want to hook up a USB2.0  
or Firewire hard drive to the machine, either as a boot drive, a  
backup drive, or both (two drives).  How is FreeBSD's support for USB  
or Firewire?  Can one boot from these connections?  Is it reliable  
enough for server use?


In any case, this is a significant upgrade from my current box, which  
is a Gateway Pentium Pro 180Mhz tower with 128MB of RAM and two IDE  
internal drives, running FreeBSD 4.11.  Why such a box?  Its  
relatively quiet, and it was free (from the garbage even).  Its been  
running my web/mail for 4 years with almost no downtime though...


:-)

--
Mark Edwards


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


portsnap question

2006-04-27 Thread Jon Falconer
Greetings,

Is there a utility that whould show what ports will be updated from the
current fetched files? The man page does not indicate that there is a
show what would happen but don't do it option.

Thanks,

Jon

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


Domain Name

2006-04-27 Thread JP
Hi,

Was going to attempt to set up a local mail server running freebsd 6.0 stable.
So far haven't set up the mail server yet, but was doing a little googling and 
reading the handbook, and ran the command host -t mx domain.tld

NOTE: inserted my domain in domain.tld

When running the command:
host -t mx domain.tld

It returns:
domaint.tld.domain.tld

This certainly don't look appropiate.

A little background info:
The domain I own is through godaddy.com and have the dns servers pointing to 
zoneedit.com to point to my static ip and domain.tld. My ISP is Bellsouth, 
and won't run a reverse DNS for my domain name so I use ZoneEdit.com to point 
to my home address static IP.

Shouldn't the comand host -t mx domain.tld just return domain.tld??
If this isn't correct how can i correct?

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


Re: portsnap question

2006-04-27 Thread Colin Percival
Jon Falconer wrote:
 Is there a utility that whould show what ports will be updated from the
 current fetched files? The man page does not indicate that there is a
 show what would happen but don't do it option.

I'm not sure why you would want to do this, but

sort /var/db/portsnap/INDEX |
comm -3 - /usr/ports/.portsnap.INDEX |
cut -f 1 -d '|'

should output the files/directories being added and removed in the
1st and 2nd columns respectively.  (Something which is modified
will appear in both columns, of course.)

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


Re: Intel Macs and FreeBSD?

2006-04-27 Thread Dan Busarow


On Apr 27, 2006, at 4:59 PM, Mark Edwards wrote:


On Apr 27, 2006, at 2:21 PM, Chad Leigh -- Shire.Net LLC wrote:

That brings up an important point.  I would want to hook up a  
USB2.0 or Firewire hard drive to the machine, either as a boot  
drive, a backup drive, or both (two drives).  How is FreeBSD's  
support for USB or Firewire?  Can one boot from these connections?   
Is it reliable enough for server use?


We've got a FreeBSD 5.x NFS/Samba/AppleTalk file server at work using  
Lacie firewire drives (purchased at the local Mac store in keeping  
with the thread)  Works great.  Just replaced one of the drives that  
was starting to report errors during rsync.  Drive was about 2 years  
old.  The other drives are still going strong.


Dan

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


Re: Intel Macs and FreeBSD?

2006-04-27 Thread Mark Edwards

On Apr 27, 2006, at 4:45 PM, Dan Busarow wrote:



On Apr 27, 2006, at 4:59 PM, Mark Edwards wrote:


On Apr 27, 2006, at 2:21 PM, Chad Leigh -- Shire.Net LLC wrote:

That brings up an important point.  I would want to hook up a  
USB2.0 or Firewire hard drive to the machine, either as a boot  
drive, a backup drive, or both (two drives).  How is FreeBSD's  
support for USB or Firewire?  Can one boot from these  
connections?  Is it reliable enough for server use?


We've got a FreeBSD 5.x NFS/Samba/AppleTalk file server at work  
using Lacie firewire drives (purchased at the local Mac store in  
keeping with the thread)  Works great.  Just replaced one of the  
drives that was starting to report errors during rsync.  Drive was  
about 2 years old.  The other drives are still going strong.


Dan


Does it boot from Firewire, or is that just for storage?  Is the  
machine a Mac?  An Intel Mac?


Thanks!

--
Mark Edwards


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


Re: scripting languages...

2006-04-27 Thread Gary Kline
On Fri, Apr 28, 2006 at 03:35:03AM +0200, Arne Skjaerholt wrote:
 On Thu, 2006-04-27 at 14:48 -0700, Gary Kline wrote:
  I like the C  main(int argc, char *argv[]) intro or
  starting-point.  main() has to be there in C. Given argc
  and argv, I can hack away freely.  /bin/sh, /bin/csh, 
  and perl's lack if arg[cv] means that I have to think about 
  how-to grab the arguments to a binary. Script ot ./a.out.
 Getting at argv/argc is actually pretty simple in Perl. The global array
 @ARGV contains the arguments given on the command-line, but not the name
 of the file (this datum is contained in $0). Therefore your argv[1] in C
 is $ARGV[0] in Perl. The number of command-line arguments can be
 obtained in two ways, either you interpret the array in a scalar context
 and get its length: ``my $argc = scalar @ARGV'' or you use the last
 index of the array and add one: ``my $argc = $#ARGV + 1''. Of course, in
 most cases you'll just want to loop over the command-line args, so a
 foreach loop should suffice, or of course one of the Getopt (Getopt::Std
 or Getopt::Long in most cases) modules.
 

So, could I say:

my $argc = $#ARGV+1; $count = 0;
while ($argc--)
{
if (! (checkErr($ARGV[$count], $count)))
{
printf(Processing %s\n, $ARGV[$count]);
doWhatever($ARGV[$count]);
}
$count++;
}

or something close-to!?  If Larry Wall had only made perl
a bit closer to C, I probably would've used it more.

anyway, thanks!

gary


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

-- 
   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: scripting languages...

2006-04-27 Thread Danny Pansters
To get back to the original question, I think there's one crucial part: 
libraries. Or modules, or function sets or whatever they're called in [ pick 
language ] sphere.

It's the extra stuff that you can easily add or import which makes a language 
worth while, whether it's interpreted or not. That's whjat defines how much 
functionality it has for you.

Now for scripting languages I'd say perl (if you like) or python (if you like, 
I do) or perhaps ruby (if you like), as all have a lot of libraries/modules 
you can easily incorporate and build upon.

If all you're going to do is shell stuff, then I'd say you should use portable 
sh scripting and nothing else. Or one higher level scripting language (by 
preference), but not a shell-plus. Like bash...

Or if you really want C syntax , use C ;-)

IMHO,

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


Re: scripting languages...

2006-04-27 Thread Giorgos Keramidas
On 2006-04-27 16:58, Gary Kline [EMAIL PROTECTED] wrote:
  Getting at argv/argc is actually pretty simple in Perl. The global array
  @ARGV contains the arguments given on the command-line, but not the name
  of the file (this datum is contained in $0). Therefore your argv[1] in C
  is $ARGV[0] in Perl. The number of command-line arguments can be
  obtained in two ways, either you interpret the array in a scalar context
  and get its length: ``my $argc = scalar @ARGV'' or you use the last
  index of the array and add one: ``my $argc = $#ARGV + 1''. Of course, in
  most cases you'll just want to loop over the command-line args, so a
  foreach loop should suffice, or of course one of the Getopt (Getopt::Std
  or Getopt::Long in most cases) modules.
 
   So, could I say:
 
   my $argc = $#ARGV+1; $count = 0;
   while ($argc--)
   {
   if (! (checkErr($ARGV[$count], $count)))
   {
   printf(Processing %s\n, $ARGV[$count]);
   doWhatever($ARGV[$count]);
   }
   $count++;
   }
 
   or something close-to!?

I believe the idiomatic way of doing this would be something more like:

foreach $arg (@ARGV) {
if (!checkErr($arg)) {
printf(Processing %s\n, $arg);
doWhatever($arg);
}
}

Your version may work too, but I'm always wary of all the index
trickery involved in handling $#ARGV fearing it may easily lead to
off-by-one bugs.  So I prefer foreach() loops :)


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


Do you always type in a full screen of garbage?

2006-04-27 Thread John Murphy
I've only used FreeBSD since 3.0 and I'm still proud to be a newbie.

I do what it tells me and whenever I install '6.0 and choose the ssh
server option, I always enter exactly 1 screen of garbage :) It's
something I *can* do well!!!11

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


RE: FreeBSD 6.0 compat with DL320 G4

2006-04-27 Thread Ted Mittelstaedt
RAID support on the DL320 G4 is broken.  HP uses Adaptec
firmware and Adaptec has not provided Soren programming info
on their metadata format, as he requested.

Ted

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]@mgEDV.net
Sent: Thursday, April 27, 2006 5:38 AM
To: freebsd-questions@freebsd.org
Cc: [EMAIL PROTECTED]
Subject: RE: FreeBSD 6.0 compat with DL320 G4



 Our vendor preference is HP, if anyone could share their experience
 with the following products (in regards of network/sata support and
 anything else mentioning):

 HP DL140 G2
 HP DL145 G2
 HP DL320 G4
 HP DL360 G4

we tried dl320 g2, g3, g4, dl380 g3 with sata/ciss drives,
1-4gb ram, P4/XEON, DUAL-XEON with freebsd 5 and 6.
as of the *bsd's, freebsd has the best support for the
hp DL*s. sata support is not given for all embedded raid-
controllers but you can still use raid 1 functionality
using raidctl. hdd failures can render the system hang for
3-5sec's on sata devices but after this timeout, everything's
fine. rebuild is sometimes only possible by os-command, pluggin'
in the new drive is sometimes not enough ;-)

nw/chipset support is working (at least on all machines we use).
no performance issues, except you configure as router and you use
many different irq's for all interfaces (only occurred on a machine
with 8 interfaces).

thermal zone / ipmi support is not really
close to the vendors ideas and sometimes produces wrong
numbers, but if you don't want to set fan-speed or check
temp. on all mentioned devices, it's fine.

also, system management like (red-power fail, red-fan fail, etc...)
is not really talking to the os and vice versa, therefore you'll
have to check for errors like this on your own.

furthermore, bios/fw upgrades can sometimes be really annoying,
if you don't have usb-boot-support you'd run into troubles because
hp only delivers them for some specific os's and freebsd is not on
the list.

btw. if somebody reads this and thinks: hey, bullshit i know a way
of doing this better and it works fine with my DL, please let me
know!

best regards and good luck w. the hw :-)

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

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.5.0/325 - Release Date: 4/26/2006


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


shadow.h compile question

2006-04-27 Thread Sean Murphy
I am trying to compile a plugin for squrrilmail it is the vacation 
plugin.  when I run make it tells me the it cannot find shadow.h


I did a find on the freebsd server which is 5.4 and did not find shadow 
or shadow.h


what is shadow.h?  can I get it from anywhere?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help needed compiling printer source code

2006-04-27 Thread Malcolm Fitzgerald


On 28/04/2006, at 9:36 AM, P.U.Kruppa wrote:


On Thu, 27 Apr 2006, Malcolm Fitzgerald wrote:



On 27/04/2006, at 7:33 AM, P.U.Kruppa wrote:


On Wed, 26 Apr 2006, Malcolm Fitzgerald wrote:

I've set up a printer.
location: lpt0
Printer State: idle, accepting jobs
device URI: parallel:/dev/lpt0
Printing the test page does not work, the job is aborted with 
error: client-error-not-possible
The most probable reason for this is that some user permissions 
are set incorrectly. We have to analyze this step by step.

1) Try to print directly from the command line:
 # printf Hello World \f  /dev/lpt0
   If your printer is connected correctly to your parallel port,
   *something* should be printed out.

as user I get cannot create /dev/lpt0: Permission denied
That is o.k.. You should try to setup your printer as root first 
anyway: you always can solve problems with lower user permissions 
later on.

as root I get a blank page

So at least your printer can print the form feed character \f
   :-)
As Robert Huff suggested in his mail one reason might be wrong 
permissions of your spooler directory.

2) If you haven't set it otherwise it should be found at
 /var/spool/cups
3)   # cd /var/spool/
 # ls -l
   should show this
 drwx--x---  3 root   daemon  1536 26 Apr 19:44 cups
4) Inside /var/spool/cups you should find some files with
   names like
 c1
 c2
 c3
   and so on, each representing one print job.



Yes, I have that. Changing permissions on /var/spool/cups/ to 777 
hasn't changed things.
Each time I try to print a test page from the cups Printers page 
the job is aborted.


mystified.

O.K. Lets try to have a look at logfiles
Ad the line
  LogLevel debug
to your /usr/local/etc/cups/cupsd.conf
and restart cups
  # /usr/local/etc/rc.d/cupsd restart
When I print the test page I get this in /var/log/cups/error_log


snip

mine is below. Without knowing anything about this the line that looks 
odd to me says:


D [28/Apr/2006:09:54:37 +1000] [Job
1] /usr/local/libexec/cups/filter/foomatic-rip: No such file or 
directory




--
I [28/Apr/2006:09:45:55 +1000] Listening to 0:631
D [28/Apr/2006:09:45:55 +1000] AddLocation: added location '/'
D [28/Apr/2006:09:45:55 +1000] DenyIP: / deny /
D [28/Apr/2006:09:45:55 +1000] AllowIP: / allow 7f01/
D [28/Apr/2006:09:45:55 +1000] AddLocation: added location '/admin'
D [28/Apr/2006:09:45:55 +1000] DenyIP: /admin deny /
D [28/Apr/2006:09:45:55 +1000] AllowIP: /admin allow 7f01/
I [28/Apr/2006:09:45:55 +1000] Loaded configuration
file /usr/local/etc/cups/cupsd.conf
I [28/Apr/2006:09:45:55 +1000] Configured for up to 100 clients.
I [28/Apr/2006:09:45:55 +1000] Allowing up to 100 client connections 
per host.

I [28/Apr/2006:09:45:55 +1000] Full reload is required.
D [28/Apr/2006:09:45:55 +1000] LoadAllPrinters: Loading printer 
HL1230...

D [28/Apr/2006:09:45:55 +1000] LoadDevices: Added device ipp...
D [28/Apr/2006:09:45:55 +1000] LoadDevices: Added device lpd...
D [28/Apr/2006:09:45:55 +1000] LoadDevices: Added
device parallel:/dev/lpt0...
D [28/Apr/2006:09:45:55 +1000] LoadDevices: Added
device serial:/dev/ttyd0?baud=115200...
D [28/Apr/2006:09:45:55 +1000] LoadDevices: Added
device serial:/dev/ttyd1?baud=115200...
D [28/Apr/2006:09:45:55 +1000] LoadDevices: Added device socket...
D [28/Apr/2006:09:45:55 +1000] LoadDevices: Added device http...
I [28/Apr/2006:09:45:55 +1000] LoadPPDs: Read 
/usr/local/etc/cups/ppds.dat,

17 PPDs...
I [28/Apr/2006:09:45:55 +1000] LoadPPDs: No new or changed PPDs...
D [28/Apr/2006:09:45:55 +1000] LoadAllJobs: Scanning /var/spool/cups...
I [28/Apr/2006:09:45:55 +1000] Full reload complete.
D [28/Apr/2006:09:45:55 +1000] StartListening: NumListeners=1
D [28/Apr/2006:09:45:55 +1000] StartListening: address= port=631
D [28/Apr/2006:09:45:55 +1000] ResumeListening: setting input bits...
D [28/Apr/2006:09:54:29 +1000] AcceptClient: 5 from localhost:631.
D [28/Apr/2006:09:54:29 +1000] ReadClient: 5 GET /printers/HL1230 
HTTP/1.1

D [28/Apr/2006:09:54:29 +1000]
CGI /usr/local/libexec/cups/cgi-bin/printers.cgi started - PID = 804
I [28/Apr/2006:09:54:29 +1000]
Started /usr/local/libexec/cups/cgi-bin/printers.cgi (pid=804)
D [28/Apr/2006:09:54:29 +1000] SendCommand: 5 file=7
D [28/Apr/2006:09:54:29 +1000] AcceptClient: 8 from localhost:631.
D [28/Apr/2006:09:54:29 +1000] ReadClient: 8 POST / HTTP/1.1
D [28/Apr/2006:09:54:29 +1000] ProcessIPPRequest: 8 status_code=1
D [28/Apr/2006:09:54:29 +1000] ReadClient: 8 POST / HTTP/1.1
D [28/Apr/2006:09:54:29 +1000] ProcessIPPRequest: 8 status_code=1
D [28/Apr/2006:09:54:29 +1000] ReadClient: 8 POST / HTTP/1.1
D [28/Apr/2006:09:54:29 +1000] ProcessIPPRequest: 8 status_code=1
D [28/Apr/2006:09:54:29 +1000] CloseClient: 8
D [28/Apr/2006:09:54:29 +1000] AcceptClient: 7 from localhost:631.
D [28/Apr/2006:09:54:29 +1000] ReadClient: 7 

Re: shadow.h compile question

2006-04-27 Thread Giorgos Keramidas
On 2006-04-27 17:24, Sean Murphy [EMAIL PROTECTED] wrote:
 I am trying to compile a plugin for squrrilmail it is the vacation
 plugin.  when I run make it tells me the it cannot find shadow.h

 I did a find on the freebsd server which is 5.4 and did not find
 shadow or shadow.h

 what is shadow.h?  can I get it from anywhere?

A Linuxism that has been used by the author of the software:

$ find /usr/include -name shadow.h
/usr/include/shadow.h
$ uname -a
Linux foo 2.6.10 #1 Thu Dec 30 03:01:16 EET 2004 i686 GNU/Linux
$

User programs shouldn't depend on shadow.h but use the pwd.h
header instead and the getpwent() library function, whenever they need
to access user/password information.

- Giorgos

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


recommended streaming server

2006-04-27 Thread Mark Jayson Alvarez
Hi,
I'm currently looking for a good streaming server
softwares.. 

For video:
 helix
 vlc
 darwin streaming server
 fluendo

For audio:
 icecast
 apache mod_mp3

Which one do you recommend??

thanks!

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


Re: Help needed compiling printer source code

2006-04-27 Thread Malcolm Fitzgerald

Without knowing anything about this the line that looks odd to me says:

D [28/Apr/2006:09:54:37 +1000] [Job
1] /usr/local/libexec/cups/filter/foomatic-rip: No such file or 
directory


That's the problem. I've printed the test page from CUPS.

I googled and found foomatic at linuxprinting.org. After a little 
reading I searched ports and found foomatic-filters. After installing, 
it told me that it wanted a2ps, enscript, etc. I installed a2ps which 
suggested that I deinstall it and install psutils, which I did.


Thanks for your patient assistance Uli

malcolm

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


Re: Intel Macs and FreeBSD?

2006-04-27 Thread Dan Busarow


On Thursday, April 27, 2006, at 05:49  PM, Mark Edwards wrote:


On Apr 27, 2006, at 4:45 PM, Dan Busarow wrote:



On Apr 27, 2006, at 4:59 PM, Mark Edwards wrote:


On Apr 27, 2006, at 2:21 PM, Chad Leigh -- Shire.Net LLC wrote:

That brings up an important point.  I would want to hook up a USB2.0 
or Firewire hard drive to the machine, either as a boot drive, a 
backup drive, or both (two drives).  How is FreeBSD's support for 
USB or Firewire?  Can one boot from these connections?  Is it 
reliable enough for server use?


We've got a FreeBSD 5.x NFS/Samba/AppleTalk file server at work using 
Lacie firewire drives (purchased at the local Mac store in keeping 
with the thread)  Works great.  Just replaced one of the drives that 
was starting to report errors during rsync.  Drive was about 2 years 
old.  The other drives are still going strong.


Dan


Does it boot from Firewire, or is that just for storage?  Is the 
machine a Mac?  An Intel Mac?


Sorry, forgot to comment on that.  The server is a normal Intel box 
booting off an ATA drive.  The firewire drive are just storage.


Dan

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


  1   2   >