DMA TIMEOUT

2006-04-12 Thread Perttu Laine
I have problem with ATA drive having DMA TIMEOUTs.
It might work day or two fine with DMA mode on but then system halts on
those dma timeout problems.

hardware is:
[EMAIL PROTECTED]:5:0:   class=0x018085 card=0x4d68105a chip=0x4d69105a
rev=0x02 hdr=0x00
vendor   = 'Promise Technology Inc'
device   = 'PDC20269 Ultra133 TX2 EIDE Controller'
class= mass storage

and PDC20269 is on supported list (5.4-RELEASE).

and has one 160GB drive in it. When I first got this problem I tried change
cable, changed drive to another similar one and moved drive to different
place on card. No help. Now it has been running on PIO mode about a year
without any problems at all.

So I wonder if there actually is some problem in ata drivers and is there
maybe any fixes on those drivers in new releases? So would upgrade to 5.5 or
6.1 help on this? upgrade from 5.3 to 5.4 didn't help...

I can actually run it on PIO-mode but sometimes DMA could give little more
speed so if you would be cool if I can get it work with DMA mode on.

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


Re: upgrading from 5-Stable to 6-Stable via source

2006-04-12 Thread Igor Robul
On Thu, Apr 13, 2006 at 11:20:43AM +0800, FreeBSD MailingLists wrote:
> I have a bunch of production servers running 5-Stable branch and I was
> considering upgrading to 6-Stable.
> I have never upgraded across major version changes via source.
> Is this a bad idea?
> what pitfalls should i be aware of before starting?
1) For example custom modules like nvidia.ko.
   I recommend you just move all modules out of /boot/modules
2) Also there may be some problems with ports (shared libraries etc.)

I had upgraded my workstation from 5-STABLE to 6-STABLE, and it worked.
But later I got another disk, and I had decided to do clean install.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: imapd, postfix, etc.

2006-04-12 Thread Emil Thelin

On Wed, 12 Apr 2006, Carlos Silva wrote:


Someone knows a reliable tutorial to configure these things?
Because I'm having a lot of troubles with :(.


http://www.postfix.org/docs.html

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


Re: round() problem

2006-04-12 Thread Igor Robul
On Wed, Apr 12, 2006 at 09:37:01AM -0400, Bill Moran wrote:
> On Wed, 12 Apr 2006 12:09:17 +0200
> Krzysztof Nakielski <[EMAIL PROTECTED]> wrote:
> 
> > Hi,
> > 
> > I am having problem with round() function in php, python, mysql. I am
> > not sure if thats FreeBSD issue. I receive the same results on 4.11, 5.4
> > and 6.0.
> > 
> > php (4.4.1, 5.1.2):
> > %php -r 'print round(8.075, 2) ."\n";'
> > 8.07
At least this gives 
php -r 'print round(8.075, 2) ."\n";'
8.08

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


Re: 6.1-PRERELEASE CVSUP tag=???

2006-04-12 Thread Bryan Curl

Ted Mittelstaedt wrote:
  

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bryan Curl
Sent: Wednesday, April 12, 2006 11:27 AM
To: freebsd-questions@freebsd.org
Subject: Re: 6.1-PRERELEASE CVSUP tag=???


Daniel Bye wrote:


On Tue, Apr 11, 2006 at 09:56:46PM -0500, Nikolas Britton wrote:

  

the branch for 6.1 was cut on the 5th, you can cvsup to 6.1 now using
the RELENG_6_1 tag...



Oh yeah, so it was.  Missed that, thanks.


  

at this point if you sync up with RELENG_6 you
will drive passed 6.1.



Hmm, are you sure?

FreeBSD catflap.slightlystrange.org 6.1-RC FreeBSD 6.1-RC #5:
  

Tue Apr 11


15:04:52 BST 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CATFLAP  sparc64

This from RELENG_6 from two days ago...  Same story on my
  

i386 machines


as well.

Anyway, thanks for the correction.  Am busily cvsupping to RELENG_6_1
now.

Dan


  

I poked around the FreeBSD web site and can't seem to find where you
guys are getting the latest release information.
I know if it was a snakeyip




Did you poke around the handbook where it says if your running current
you need to be subscribed to the current mailing list?

Ted


  
Ah, you are keenly perceptive, and alas, you have exposed my 
simi-newbieness.
Yes, 'The Cutting Edge'. Good read. Perhaps The Bleeding Edge would be a 
better title.

However, I think my immediate question is answered already.  RELENG_6_1
I thank you all. My system now boots successfully and reads FreeBSD 
6.1-RC #1 .

If that makes me "current" then I better go subscribe, eh?
If upgrading fixes my original disk drive problem then, viola, a bonus!

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


Re: Storage container for servers & switches

2006-04-12 Thread security

Phusion wrote:


I will be moving some servers and switches in the near future. The
computer equipment is all rack-mountable so it's 1U and 2U. I was
wondering if anyone could recommend storage containers for this type
of computer equipment. Let me know if you have any ideas. Thanks.

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


http://www.caseman.com/servlet/catalog.CatalogControllerServlet/template~ItemsJSP.jsp/itemsID~70

you won't like the price, but it's what we ship in.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Regain control of keyboard

2006-04-12 Thread Malcolm Fitzgerald

Malcolm Fitzgerald wrote:
Some days ago I type "portupgrade -a" on a machine which had just got 
a clean install of FreeBSD v6, with gnome, kde, sound, graphics, etc. 
In other words, a desktop plaything.


Every other hour or so process would stop at on options screen and 
wait for my input. Recently it has stopped accepting input from the 
keyboard. The mouse is still active.


How do I get my keyboard working again?


A day later and the machine is accepting input from the keyboard. Still 
waiting for the whole process to finish.


malcolm

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


Re: CVSup/Ports Question

2006-04-12 Thread wc_fbsd

At 11:09 PM 4/12/2006, you wrote:
question on . ports collection.  I read in the handbook that the 
cvsup tag for the ports-* collection should be ".". "In particular, 
use only tag=. for the ports-* collections."


As I understand it, there is no "most recent version of port that 
still works with my very old FBSD version".  You either get the ports 
snapshot that was out at the same time your release was released.  Or 
you get the *most* recent version of the port, with no guarantee it 
will work on an exceedingly old FBSD version.


In any case, don't screw with cvsup for ports;  look into 
portsnap.  It's included in 6.x and available in ports for older 
releases.  It's easier, faster, and lower bandwidth.


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


Re: stop/start services

2006-04-12 Thread wc_fbsd

At 04:36 PM 4/12/2006, Pete Slagle wrote:

"Service" instead of daemon?   Our assimilation by the Borg proceeds apace.


C'mon don't be so paranoid.  There's been an etc/services since, 
well, probably since Billy Boy was living check to check  ;)


   -Wayne

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


upgrading from 5-Stable to 6-Stable via source

2006-04-12 Thread FreeBSD MailingLists
I have a bunch of production servers running 5-Stable branch and I was
considering upgrading to 6-Stable.
I have never upgraded across major version changes via source.
Is this a bad idea?
what pitfalls should i be aware of before starting?

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


Setting hw.intr_storm_threshold (WAS printing on firefox...)

2006-04-12 Thread Oliver Iberien
sysctl hw.intr_storm_threshold=20

resets the value just for the session. I am guessing that putting the line

hw.intr_storm_threshold=20

into /etc/sysctl.conf will make the change permanent?

Oliver

On Saturday 08 April 2006 04:22, Fabian Keil wrote:
> Oliver Iberien <[EMAIL PROTECTED]> wrote:
> > I was printing with native Firefox 1.5.0.1 (FreeBSD 6.0) with CUPS,
> > which Firefox sees and recognizes. The printer (Xerox N17, local,
> > parallel port) started cycling through waiting-processing-waiting
> > messages. Rebooting, I saw a message about an IRQ storm on the
> > printer port being "throttled". Killing the job took care of this.
> >
> > Has anyone else had an issue like this? Firefox printing isn't
> > critical but it's always nice to know what's going on.
>
> The default value of hw.intr_storm_threshold is easily reached
> by a printer connected through the parallel port.
>
> Have a look at: .
>
> Fabian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


CVSup/Ports Question

2006-04-12 Thread Adam Stroud
I just have a quick question on some of the documentation I have read 
about FreeBSD and it's ports collection.  I read in the handbook that 
the cvsup tag for the ports-* collection should be ".".


"In particular, use only tag=. for the ports-* collections."

However, when I was reading the ports(7) man page I saw:

"It is possible to download and use ports from the FreeBSD repository 
that are newer than the installed system; however it is important to 
install the appropriate ``Upgrade Kit'' from 
http://www.FreeBSD.org/ports/ first!  The portcheckout(1) 
(ports/devel/portcheckout) script (also a port, of course!) will help to 
download new ports."


When I went to the webpage that the man page referenced I found a 
paragraph that stated


"The Ports Collection supports the latest release on the FreeBSD-CURRENT 
and FreeBSD-STABLE branches. Older releases are not supported and may or 
may not work correctly with an up-to-date ports collection. Over time, 
changes to the ports collection may rely on features that are not 
present in older releases. Wherever convenient, we try not to 
gratuitously break support for recent releases, but it is sometimes 
unavoidable. When this occurs, patches contributed by the user community 
to maintain support for older releases will usually be committed."


My question is should I keep "tag=." in my ports supfile even though I 
am running the RELENG_6_0 and from my understanding that is different 
from the -STABLE branch.


Or, am I just mixed up on the branching structure?

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


Re: Good subversion GUI?

2006-04-12 Thread Yuan Jue
On Tuesday 14 March 2006 19:43, Ashley Moran wrote:
> I use KDE on my desktop and I'm trying to find a good svn GUI but I can't
> see one in the ports.  I've tried eSVN but it's a bit flaky.  I saw a good
> one on KDE-apps.org called KdeSvn but it's not in ports.  KDE integration
> would be nice but any X11 GUI will do.
>
I have made a port for KDESvn. The problem report is here:
http://www.freebsd.org/cgi/query-pr.cgi?pr=95676

If anyone is interested in it, please feel free to test it :-)

port: http://www.yuanjue.net/download/kdesvn_port.tar.gz
package: http://www.yuanjue.net/download/kdesvn-0.8.1.tbz

Any feedback would be very appreciated ^_^

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


Re: Noise On Screen

2006-04-12 Thread Jeff Molofee

Hi Colin,

I see the same thing when I switch between ttyv0 (text mode)
and ttyv8 (X11), but it goes away when the afflicted windows
are redrawn.  While you're running cups, could you switch
through consoles ttyv0 -- ttyv7 and see if there's anything
similarly garbaged on them?
  
I do see the flash of scrambled graphics when going to console or 
shutting down, but this issue is not quite the same.  It only affects 
the top 10-20 lines of the screen, and the line colors changes as I move 
the mouse.  It looks as if random bytes are written to the screen 
whenever I move the mouse in any direction.  These lines will overwrite 
anything, including the top of windows.  The lines will not go away on 
their own.


If I start disable cupsd_enable in rc.conf, boot into gnome, and then 
start cups manually the line does not appear.  It only appears if cups 
is started before gnome loads... very odd :)

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


[Fwd: Re: Noise On Screen]

2006-04-12 Thread Jeff Molofee


--- Begin Message ---

Hi Alex,

If this were happening to me, I would first suspect that webmin/cups 
was just something that triggered the problem but not the root cause.
I would find it hard to believe that two ports would have the same 
issue, so on that I agree with you.

What graphics card do you have?  Is it seated properly?

Graphics card is nvidia 5900fx, and it is seated correctly.
If it's an NVidia, are you running the Xorg (nv) driver or the NVidia 
driver from ports?

I am using the nvidia driver w/ linux support and nvidia's agp.
In an earlier release of Xorg I was forced to switch to the NVidia 
driver because the xorg driver didn't work, caused screen corruption 
and lockups.  (Mozilla triggered that, but I don't blame mozilla).
I have not had problems until a few months back, unfortunately, I am not 
able to say if it was an upgrade to xorg, the nvidia driver or some 
other port that caused the issue.
From you PR note I see that your are running an Nvidia card, so 1) try 
upgrading Xorg as it seems to be out of date - you say you have 6.8 
but 6.9 is the latest 2) If that doesn't help then try the nvidia driver.

I was incorrect.  I am running the following:

cups 1.1.23.0_1
gnome2-2.12.3
nvidia-driver-1.0.8178_1
xorg-6.9.0
xorg-clients-6.9.0_2

should be current.




--Alex





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

Storage container for servers & switches

2006-04-12 Thread Phusion
I will be moving some servers and switches in the near future. The
computer equipment is all rack-mountable so it's 1U and 2U. I was
wondering if anyone could recommend storage containers for this type
of computer equipment. Let me know if you have any ideas. Thanks.

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


Re: stop/start services

2006-04-12 Thread Paul Schmehl
--On April 12, 2006 10:30:48 PM +0100 Matthew Seaman 
<[EMAIL PROTECTED]> wrote:


That's not quite the same thing.  Tomcat is clearly starting up and
running perfectly well, as you show by viewing the default web page.

The problem seems to be the file that should contain the tomcat pid,
and which doesn't.  As that pid file is what the RC scripts refer to
in order to find the process to shut down, not having the right pid
in there will cause the effects you've been seeing. There have been
a number of posts about this issue several months back on the
freebsd-java@ mailing list. I believe it was a bug in the port due
to quite a radical rethink of the way tomcat should be started up.
According to CVS that problem was fixed in the last but one update
to the www/tomcat55 port.  cvsup your ports and try again.

I'm not familiar with Tomcat, but rcNG has the capability of solving these 
types of problems.  The author of the script can use check_process(${name} 
command_interpreter) instead, so that the scripts will check the running 
processes rather than the pidfile.


I'm working on a set of ports that require that because they are tcl 
scripts, so the ${name} of the process is squild, but ps returns tclsh8.4 
instead.


*If* that's the problem with Tomcat, it's fairly easily fixed.

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/

compatible USB Modems

2006-04-12 Thread FreeBSD MailingLists
I am trying to find analog modems that can be connected to freebsd via usb
cable.
I will be using to receive incoming remote serial connections in case of
problems.
I would appreciate any suggestions.

TIA,
Tomoki Taniguchi
___
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 Stop Bruit Force ssh Attempts?

2006-04-12 Thread Ean Kingston
On Tuesday 11 April 2006 21:35, Jonathan Franks wrote:
> On Mar 18, 2006, at 12:39 PM, Chris Maness wrote:
> > In my auth log I see alot of bruit force attempts to login via
> > ssh.  Is there a way I can have the box automatically kill any tcp/
> > ip connectivity to hosts that try and fail a given number of
> > times?  Is there a port or something that I can install to give
> > this kind of protection.  I'm still kind of a FreeBSD newbie.

I setup SSH to use public key authentication only. That way they can hammer 
away at my ssh server till the cows come home and they will never get in with 
a password.

I also use tcpwrappers (built into ssh daemon) for the particularly obnoxious 
ones.

> If you are using PF, you can use source tracking to drop the
> offenders in to a table... perhaps after a certain number of attempts
> in a given time (say, 5 in a minute). Once you have the table you're
> in business... you can block based on it... and then set up a cron
> job to copy the table to disk every so often (perhaps once every two
> minutes). It works very well for me, YMMV.
>
> If you don't want to block permanently, you could use cron to flush
> the table every so often too... I don't bother though.
>
> -Jonathan

-- 
Ean Kingston, BSc, CISSP, ARO
Computer Security and Privacy Consulting
PGP KeyID: CBC5D6BB
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Xlib: extension "GLX" missing on display ":0.0".

2006-04-12 Thread David J Brooks
On Wednesday 12 April 2006 19:14, fredthetree wrote:
> i installed the x11/nvidia-driver port with -DWITH_LEGACY_GPU_SUPPORT for
> my ancient TNT2 64. too bad the screen resolution isn't as good =/

Did you also build the nvidia-xconfig and nvidia-settings tools? Both are 
available in /usr/ports/x11.

David
-- 
Sure God created the world in only six days,
but He didn't have an established user-base.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: 6.1-PRERELEASE CVSUP tag=???

2006-04-12 Thread Ted Mittelstaedt


>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Bryan Curl
>Sent: Wednesday, April 12, 2006 11:27 AM
>To: freebsd-questions@freebsd.org
>Subject: Re: 6.1-PRERELEASE CVSUP tag=???
>
>
>Daniel Bye wrote:
>> On Tue, Apr 11, 2006 at 09:56:46PM -0500, Nikolas Britton wrote:
>>
>>> the branch for 6.1 was cut on the 5th, you can cvsup to 6.1 now using
>>> the RELENG_6_1 tag...
>>>
>>
>> Oh yeah, so it was.  Missed that, thanks.
>>
>>
>>> at this point if you sync up with RELENG_6 you
>>> will drive passed 6.1.
>>>
>>
>> Hmm, are you sure?
>>
>> FreeBSD catflap.slightlystrange.org 6.1-RC FreeBSD 6.1-RC #5:
>Tue Apr 11
>> 15:04:52 BST 2006
>> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CATFLAP  sparc64
>>
>> This from RELENG_6 from two days ago...  Same story on my
>i386 machines
>> as well.
>>
>> Anyway, thanks for the correction.  Am busily cvsupping to RELENG_6_1
>> now.
>>
>> Dan
>>
>>
>I poked around the FreeBSD web site and can't seem to find where you
>guys are getting the latest release information.
>I know if it was a snakeyip
>

Did you poke around the handbook where it says if your running current
you need to be subscribed to the current mailing list?

Ted

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


RE: upcoming release 6.1: old version of some core components

2006-04-12 Thread Ted Mittelstaedt


>-Original Message-
>From: Kris Kennaway [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, April 12, 2006 10:53 AM
>To: Alex Zbyslaw
>Cc: Ted Mittelstaedt; freebsd-questions@freebsd.org
>Subject: Re: upcoming release 6.1: old version of some core components
>
>> 
>> So unless the fixes somehow were un-made for 6.1, zlib is not 
>> vulnerable, regardless of whether the version number is 1.2.2 
>or 1.2.3.
>
>Yes, Ted is wrong.
>

Are you being an idiot deliberately or did you just miss the e-mail I 
sent yesterday 4-11 at 2:57pm where I said this security hole had
been caught?

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


Re: Xlib: extension "GLX" missing on display ":0.0".

2006-04-12 Thread fredthetree
i installed the x11/nvidia-driver port with -DWITH_LEGACY_GPU_SUPPORT for my
ancient TNT2 64. too bad the screen resolution isn't as good =/

On 4/12/06, David J Brooks <[EMAIL PROTECTED]> wrote:
>
> On Wednesday 12 April 2006 15:07, fredthetree wrote:
> > nothing.
> >
> > i just noticed something though:
> >
> > X Window System Version 6.9.0
> > Release Date: 21 December 2005
> > X Protocol Version 11, Revision 0, Release 6.9
> > Build Operating System: FreeBSD 6.1 i386 [ELF]
> > Current Operating System: FreeBSD daniel.higham.ca 6.1-PRERELEASEFreeBSD
> > 6.1-PRERELEASE #0: Fri Apr  7 23:44:35 ADT 2006
> > [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MACHINE
> > i386
> > Build Date: 08 April 2006
> > Before reporting problems, check http://wiki.X.Org
> > to make sure that you have the latest version.
> > Module Loader present
> > Markers: (--) probed, (**) from config file, (==) default setting,
> > (++) from command line, (!!) notice, (II) informational,
> > (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> > (==) Log file: "/var/log/Xorg.0.log", Time: Wed Apr 12 16:59:25 2006
> > (==) Using config file: "/etc/X11/xorg.conf"
> > (EE) Failed to load module "glx" (module does not exist, 0)
> >
> > so where do i get the glx module?
>
> Right here: http://www.nvidia.com/object/freebsd_1.0-8178.html :)
>
> David
> --
> Sure God created the world in only six days,
> but He didn't have an established user-base.
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Wanted: Flash player for ....

2006-04-12 Thread ajm
On Wed, Apr 12, 2006 at 04:15:23PM -0700, Vayu wrote:
> On Wednesday 12 April 2006 15:20, Bob Johnson wrote:
> > On 4/12/06, Kris Kennaway <[EMAIL PROTECTED]> wrote:
> > > On Wed, Apr 12, 2006 at 02:11:12PM -0400, Andy Reitz wrote:
> > > > On Wed, 12 Apr 2006, Ashley Moran wrote:
> > > >
> > > > > On Wednesday 12 April 2006 15:15, you wrote:
> > > > > > I forwarded this license issue to an engineer I know there. His
> > > > > > response was positive. We'll have to see how it goes with their
> > > > > > management and legal.
> > >
> > > I lost track of the above email, but keep portmgr@ and the port
> > > maintainer in the loop with developments on this front.
> > >
> > 
> > I submitted a query to Adobe customer support via their web site.  The
> > reply I got stated in part:
> > 
> > "Please note that Flash Player 8 is not supported in FreeBSD, thus it
> > not mentioned on the End User License Agreement that Flash Player can
> > download and installed on the operating system.  It is not that the
> > web player is prohibited in FreeBSD, but the operating system itself
> > is not compatible with Flash Player."
> > 
> > I have replied to them to point out that this statement is incorrect,
> > that FreeBSD is entirely capable of running Flash Player, but FreeBSD
> > users such as I are now prohibited from using Adobe products.  I asked
> > them if they want me to stop using it -- it will be interesting to see
> > what they say.
> > 
> > I also pointed out that if that was not their intent, they should
> > consider changing the wording of the EULA.  I think that if everyone
> > who is speculating about this on this list were instead to submit
> > their requests for clarification (not threats) to Adobe's customer
> > support, it might get some attention from Adobe.
> > 
> 
> What email address did you use?

This is ONLY a what-if question.

If you run linux emulation...(I think its red hat 8.0 in the ports),  
install linux-opera, down load the linux flash player from 
http://www.macromedia.com/shockwave/download/alternates/#fp (version 
7.x) and copy certain files like *.xpt and *.so to the 
/usr/X11R6/share/linux-opera/plugins directory.  Go the the Opera 
menu on top..."Tools", then "preferences" then "advanced" then 
"content" then "enable plugins", have it search for new plugins.  
You're set...

Basically you are running linux red hat and the web site does support 
linux to a certain extent. I think as long as you do not make it into 
a Freebsd port and distributed...it should be ok...I am NOT a lawyer!


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


Re: Wanted: Flash player for ....

2006-04-12 Thread Kris Kennaway
On Wed, Apr 12, 2006 at 06:20:26PM -0400, Bob Johnson wrote:
> On 4/12/06, Kris Kennaway <[EMAIL PROTECTED]> wrote:
> > On Wed, Apr 12, 2006 at 02:11:12PM -0400, Andy Reitz wrote:
> > > On Wed, 12 Apr 2006, Ashley Moran wrote:
> > >
> > > > On Wednesday 12 April 2006 15:15, you wrote:
> > > > > I forwarded this license issue to an engineer I know there. His
> > > > > response was positive. We'll have to see how it goes with their
> > > > > management and legal.
> >
> > I lost track of the above email, but keep portmgr@ and the port
> > maintainer in the loop with developments on this front.
> >
> 
> I submitted a query to Adobe customer support via their web site.  The
> reply I got stated in part:
> 
> "Please note that Flash Player 8 is not supported in FreeBSD, thus it
> not mentioned on the End User License Agreement that Flash Player can
> download and installed on the operating system.  It is not that the
> web player is prohibited in FreeBSD, but the operating system itself
> is not compatible with Flash Player."
> 
> I have replied to them to point out that this statement is incorrect,
> that FreeBSD is entirely capable of running Flash Player, but FreeBSD
> users such as I are now prohibited from using Adobe products.  I asked
> them if they want me to stop using it -- it will be interesting to see
> what they say.
> 
> I also pointed out that if that was not their intent, they should
> consider changing the wording of the EULA.  I think that if everyone
> who is speculating about this on this list were instead to submit
> their requests for clarification (not threats) to Adobe's customer
> support, it might get some attention from Adobe.

Let's just wait to see what they say first, it could be irritating if
dozens of people suddenly start asking the same questions.

Kris



pgpNMVvc4Rc0L.pgp
Description: PGP signature


Re: exclude root's mail

2006-04-12 Thread Chris Hill

On Wed, 12 Apr 2006, Robin Becker wrote:

For some reason my FreeBSD 6.0 server's root account has started to receive 
spam. Is there a simple way to restrict all mail for root to come from a 
specified local domain eg 192.168.0.0/8? I'm a naive sendmail person so 
please be gentle :)


I ran into something similar recently. Since you son't say, I'll assume 
you're running sendmail (if not please disregard the following).


What I had to do was create the file /etc/mail/virtusertable. The idea 
is to list users you _do_ want to accept mail for and exclude anything 
else, thus rejecting mail sent to [EMAIL PROTECTED] My 
virtusertable looks something like this (names changed):


[EMAIL PROTECTED]chris
[EMAIL PROTECTED]chris
@mydomain.com error:nouser No such user here

With this setup, mail to users chris and abuse get sent to me. Mail to 
any other username gets rejected with "No such user here". [ I got the 
hint about that key last line from 
http://www.freebsddiary.org/virtualmail.php ]


Once you have edited virtusertable, you must do a 'make' in the 
directory /etc/mail, then '/etc/rc.d/sendmail restart'. All as root, of 
course. Should be OK after that.


HTH.

--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging <|> ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Wanted: Flash player for ....

2006-04-12 Thread Vayu
On Wednesday 12 April 2006 15:20, Bob Johnson wrote:
> On 4/12/06, Kris Kennaway <[EMAIL PROTECTED]> wrote:
> > On Wed, Apr 12, 2006 at 02:11:12PM -0400, Andy Reitz wrote:
> > > On Wed, 12 Apr 2006, Ashley Moran wrote:
> > >
> > > > On Wednesday 12 April 2006 15:15, you wrote:
> > > > > I forwarded this license issue to an engineer I know there. His
> > > > > response was positive. We'll have to see how it goes with their
> > > > > management and legal.
> >
> > I lost track of the above email, but keep portmgr@ and the port
> > maintainer in the loop with developments on this front.
> >
> 
> I submitted a query to Adobe customer support via their web site.  The
> reply I got stated in part:
> 
> "Please note that Flash Player 8 is not supported in FreeBSD, thus it
> not mentioned on the End User License Agreement that Flash Player can
> download and installed on the operating system.  It is not that the
> web player is prohibited in FreeBSD, but the operating system itself
> is not compatible with Flash Player."
> 
> I have replied to them to point out that this statement is incorrect,
> that FreeBSD is entirely capable of running Flash Player, but FreeBSD
> users such as I are now prohibited from using Adobe products.  I asked
> them if they want me to stop using it -- it will be interesting to see
> what they say.
> 
> I also pointed out that if that was not their intent, they should
> consider changing the wording of the EULA.  I think that if everyone
> who is speculating about this on this list were instead to submit
> their requests for clarification (not threats) to Adobe's customer
> support, it might get some attention from Adobe.
> 

What email address did you use?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Wanted: Flash player for ....

2006-04-12 Thread Bob Johnson
On 4/12/06, Kris Kennaway <[EMAIL PROTECTED]> wrote:
> On Wed, Apr 12, 2006 at 02:11:12PM -0400, Andy Reitz wrote:
> > On Wed, 12 Apr 2006, Ashley Moran wrote:
> >
> > > On Wednesday 12 April 2006 15:15, you wrote:
> > > > I forwarded this license issue to an engineer I know there. His
> > > > response was positive. We'll have to see how it goes with their
> > > > management and legal.
>
> I lost track of the above email, but keep portmgr@ and the port
> maintainer in the loop with developments on this front.
>

I submitted a query to Adobe customer support via their web site.  The
reply I got stated in part:

"Please note that Flash Player 8 is not supported in FreeBSD, thus it
not mentioned on the End User License Agreement that Flash Player can
download and installed on the operating system.  It is not that the
web player is prohibited in FreeBSD, but the operating system itself
is not compatible with Flash Player."

I have replied to them to point out that this statement is incorrect,
that FreeBSD is entirely capable of running Flash Player, but FreeBSD
users such as I are now prohibited from using Adobe products.  I asked
them if they want me to stop using it -- it will be interesting to see
what they say.

I also pointed out that if that was not their intent, they should
consider changing the wording of the EULA.  I think that if everyone
who is speculating about this on this list were instead to submit
their requests for clarification (not threats) to Adobe's customer
support, it might get some attention from Adobe.

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


Re: DVD-Slideshow

2006-04-12 Thread Chris Maness

[EMAIL PROTECTED] wrote:

Chris,

congratulations on you wedding, i hope the best for the two of you.

read back the thread yourself: you will need the dvd-slideshow from ports +
 - patch for the wc --lines ( or wc --chars, i can't remember ). these
are 1 of 2 instances in the script.
 - back in this thread i have given multiple solutions for a
replacement "seq". this is the key to proper fading.

maybe it is easier afterall to run the script in linux-compat mode:
you will need no patches at all. i for one do not know how to
accomplish this easy however ( never had the need ). oh (w/h)ell,
you'll just need to start it from a linux-shell i assume.

good luck, and please try to notify the portmaintainer about the
problem and solution. i am off on a mini-break myself, so you are on
your own now.

regards,

usleep


  
Can someone help me with this?  I am not too savvy with scripting.  This 
gentlemen sent me some replacements for seq in this script but I am not 
too sure how to implement them.  He posted them further back on this thread.


Would it be better to just link /usr/compat/linux/usr/bin/seq to 
/usr/local/bin/seq or something?


Help!

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


Re: stop/start services

2006-04-12 Thread eoghan

Matthew Seaman wrote:

eoghan wrote:

Matthew Seaman wrote:

eoghan wrote:


I asked a question about stopping/starting tomcat, but I suppose I didnt
ask it right.
What I should have asked is:
How do I stop/start services that I have enabled in my rc.conf, such as
mysql, tomcat etc. I have tried from my rc.d/ with tomcat but it will
not work for me...

Like this:

/usr/local/etc/rc.d/tomcat.sh start

If that doesn't print out anything then double check what's in
/etc/rc.conf
If the service apparently starts up, but then you find it's not running
a few seconds later, then check any log files that application uses --
it's
quite often the case that there's a configuration fubar somewhere that is
causing the service to give up.



Well I have the service enabled in my rc.conf... so going to
localhost:8180 shows me the default tomcat page saying its working
etc... the jsp examples work fine.
When i try /usr/local/etc/rc.d/tomcat55.sh stop
i get:
tomcat55 not running? (check /var/run/tomcat55.pid)
Thats it. tomcat55.pid contains 2039.
I created a jsp file with just plain html in it... but when i browse to
it I get a HTTP 500 error (exception report).
I have the file in the correct place according to the docs so Im not
sure why is not working... I have originally some small piece of jsp but
figured Id have to restart the server in order for it to work, which is
what Im trying to do now...


That's not quite the same thing.  Tomcat is clearly starting up and
running perfectly well, as you show by viewing the default web page.  


The problem seems to be the file that should contain the tomcat pid,
and which doesn't.  As that pid file is what the RC scripts refer to
in order to find the process to shut down, not having the right pid
in there will cause the effects you've been seeing. There have been
a number of posts about this issue several months back on the
freebsd-java@ mailing list. I believe it was a bug in the port due
to quite a radical rethink of the way tomcat should be started up.
According to CVS that problem was fixed in the last but one update
to the www/tomcat55 port.  cvsup your ports and try again.

Oh -- in general you don't need to bounce tomcat if you modify one
of the .jsp pages it serves out.  Tomcat usually notices that the
.jsp is newer than the compiled Java bytecode it creates from it,
and will recompile the page for you automatically.  That, at least,
is the default behaviour although you can change it by modifying
server.xml

Cheers,

Matthew



Ah ok, I will cvsup and reinstall it. Then will try it again...
Thanks for the info.
Eoghan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Gthumb Killed

2006-04-12 Thread Chris Maness
I'm trying to make a web thumbnail page with ~ 150 images.  It is 
getting killed with signal 9.  I can generate this page on my larger box 
(1 G of RAM), but on my smaller box (256M Ram) it is getting the kill 
signal.  It seems that this should be enough.  Is it getting killed for 
running out of memory?

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


Re: DVD-Slideshow

2006-04-12 Thread Chris Maness

Chris Coleman wrote:

A quick write up of how to make a DVD slide show would make a nice
article for Daemon News.

--
Chris Coleman   --  http://bsdnews.com

  
I would be happy to.  I'm trying to get the thing working the way it 
should under FreeBSD.

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


Re: Xlib: extension "GLX" missing on display ":0.0".

2006-04-12 Thread David J Brooks
On Wednesday 12 April 2006 15:07, fredthetree wrote:
> nothing.
>
> i just noticed something though:
>
> X Window System Version 6.9.0
> Release Date: 21 December 2005
> X Protocol Version 11, Revision 0, Release 6.9
> Build Operating System: FreeBSD 6.1 i386 [ELF]
> Current Operating System: FreeBSD daniel.higham.ca 6.1-PRERELEASE FreeBSD
> 6.1-PRERELEASE #0: Fri Apr  7 23:44:35 ADT 2006
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MACHINE
> i386
> Build Date: 08 April 2006
> Before reporting problems, check http://wiki.X.Org
> to make sure that you have the latest version.
> Module Loader present
> Markers: (--) probed, (**) from config file, (==) default setting,
> (++) from command line, (!!) notice, (II) informational,
> (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> (==) Log file: "/var/log/Xorg.0.log", Time: Wed Apr 12 16:59:25 2006
> (==) Using config file: "/etc/X11/xorg.conf"
> (EE) Failed to load module "glx" (module does not exist, 0)
>
> so where do i get the glx module?

Right here: http://www.nvidia.com/object/freebsd_1.0-8178.html :)

David
-- 
Sure God created the world in only six days,
but He didn't have an established user-base.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Wanted: Flash player for ....

2006-04-12 Thread Nikolas Britton
On 4/12/06, Ashley Moran <[EMAIL PROTECTED]> wrote:
> On Wednesday 12 April 2006 02:37, Eric Schuele wrote:
> > Either way... I hope somehow they see fit to loosen the language a bit
> > in the future.
>
> Can't we petition Adobe somehow?  I'm a bit stuck now - my company's main
> application is written in Flash!
>

I had (still do I guess) a petition for a native flash player but I
never sent it in because I felt it did not have enough signatures on
it. Here's the url if you want to do something with it:
http://www.petitiononline.com/flash4me/petition.html for some reason I
can't view the sigs page, I get a 500 error... AFAIK it had maybe 400
sigs on it... oh well... I don't need flash anyways. I'll just "move
on" to another companies website if it's flash only, they obviously
don't want or need my business.


--
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: Xlib: extension "GLX" missing on display ":0.0".

2006-04-12 Thread Josh Paetzel
On Wednesday 12 April 2006 15:07, fredthetree wrote:
> nothing.
>
> i just noticed something though:
>
> X Window System Version 6.9.0
> Release Date: 21 December 2005
> X Protocol Version 11, Revision 0, Release 6.9
> Build Operating System: FreeBSD 6.1 i386 [ELF]
> Current Operating System: FreeBSD daniel.higham.ca 6.1-PRERELEASE
> FreeBSD 6.1-PRERELEASE #0: Fri Apr  7 23:44:35 ADT 2006
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MACHINE
> i386
> Build Date: 08 April 2006
> Before reporting problems, check http://wiki.X.Org
> to make sure that you have the latest version.
> Module Loader present
> Markers: (--) probed, (**) from config file, (==) default setting,
> (++) from command line, (!!) notice, (II) informational,
> (WW) warning, (EE) error, (NI) not implemented, (??)
> unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Wed Apr 12
> 16:59:25 2006 (==) Using config file: "/etc/X11/xorg.conf"
> (EE) Failed to load module "glx" (module does not exist, 0)
>
> so where do i get the glx module?
>
> On 4/12/06, David J Brooks <[EMAIL PROTECTED]> wrote:
> > On Wednesday 12 April 2006 14:03, fredthetree wrote:
> > > glx doesn't work. both glx and dri are in my xorg.conf, i'm
> > > using the nv driver, i have graphics/dri installed.
> > >
> > > [EMAIL PROTECTED] ~]$ glxgears
> > > Xlib:  extension "GLX" missing on display ":0.0".
> > > glxgears: Error: couldn't get an RGB, Double-buffered visual.
> > >
> > >
> > > --
> > > [EMAIL PROTECTED] ~]$ uname -a
> > > FreeBSD daniel.higham.ca 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE
> > > #0: Fri
> >
> > Apr
> >
> > > 7 23:44:35 ADT 2006
> > > [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MACHINE i386
> > > [EMAIL PROTECTED] ~]$ pkg_info |grep dri
> > > dri-6.4.1,2 OpenGL hardware acceleration drivers for
> > > the DRI
> > >
> > > relevent bits of xorg.conf:
> > > Section "ServerLayout"
> > > Identifier "X.org Configured"
> > > Screen  0  "Screen0" 0 0
> > > InputDevice"Mouse0" "CorePointer"
> > > InputDevice"Keyboard0" "CoreKeyboard"
> > > EndSection
> > >
> > > Section "Module"
> > > Load  "dbe"
> > > Load  "dri"
> > > Load  "extmod"
> > > Load  "glx"
> > > Load  "record"
> > > Load  "xtrap"
> > > Load  "freetype"
> > > Load  "type1"
> > > EndSection
> > >
> > > Section "Device"
> > > ### Available Driver options are:-
> > > ### Values: : integer, : float, :
> > > "True"/"False", ### : "String", : "
> > > Hz/kHz/MHz" ### [arg]: arg optional
> > > #Option "SWcursor"  # []
> > > #Option "HWcursor"  # []
> > > #Option "NoAccel"   # []
> > > #Option "ShadowFB"  # []
> > > #Option "UseFBDev"  # []
> > > #Option "Rotate"# []
> > > #Option "VideoKey"  # 
> > > #Option "FlatPanel" # []
> > > #Option "FPDither"  # []
> > > #Option "CrtcNumber"# 
> > > #Option "FPScale"   # []
> > > #Option "FPTweak"   # 
> > > Identifier  "Card0"
> > > Driver  "nv"
> > > VendorName  "nVidia Corporation"
> > > BoardName   "NV5M64 [RIVA TNT2 Model 64/Model 64 Pro]"
> > > BusID   "PCI:1:0:0"
> > > EndSection
> >
> > Try adding this section in /etc/X11/xorg.conf:
> > Section "DRI"
> > Mode 0666
> > EndSection

You need to install the official nvidia drivers to get 3d 
acceleration.  The nv driver provided by Xorg will not work.

-- 
Thanks,

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


Re: 6.1-PRERELEASE CVSUP tag=???

2006-04-12 Thread Nikolas Britton
On 4/12/06, Nikolas Britton <[EMAIL PROTECTED]> wrote:
> On 4/12/06, Daniel Bye <[EMAIL PROTECTED]> wrote:
> > On Tue, Apr 11, 2006 at 09:56:46PM -0500, Nikolas Britton wrote:
> > > the branch for 6.1 was cut on the 5th, you can cvsup to 6.1 now using
> > > the RELENG_6_1 tag...
> >
> > Oh yeah, so it was.  Missed that, thanks.
> >
> > > at this point if you sync up with RELENG_6 you
> > > will drive passed 6.1.
> >
> > Hmm, are you sure?
> >
> > FreeBSD catflap.slightlystrange.org 6.1-RC FreeBSD 6.1-RC #5: Tue Apr 11
> > 15:04:52 BST 2006
> > [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CATFLAP  sparc64
> >
> > This from RELENG_6 from two days ago...  Same story on my i386 machines
> > as well.
> >
> > Anyway, thanks for the correction.  Am busily cvsupping to RELENG_6_1
> > now.
> >
>
> Yes I'm sure, they just haven't changed the names yet because
> everybody is working on getting 6.1-RC1 out the door. From this point
> forward if you sync up with RELENG_6 you will get 6-STABLE Give
> them a few days and everything will be copacetic.
>

Oh and if you've already sync'd up to RELENG_6 and rebuilt world etc.
you don't have to redo everything. Just change your supfile to
RELENG_6_1 and wait until your next scheduled buildworld.


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


linker mysteries

2006-04-12 Thread Jeremie Le Hen
Hi list,

[ Please Cc: me in your replies as I am not subscribed to this list. ]

I was doing some testing on shared dependencies and fiddling libfetch's
Makefile for this aim.

I set LDFLAGS to "-v" in order to see the command executed for th
linking.

In the standard Makefile, we have this :
% .if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
% CFLAGS+=-DWITH_SSL
% DPADD=  ${LIBSSL} ${LIBCRYPTO}
% LDADD=  -lssl -lcrypto
% .endif

And the resulting linker command is : 
% /usr/bin/ld -V -Bshareable -o libfetch.so.4 /usr/lib/crti.o 
/usr/lib/crtbeginS.o -L/usr/lib -x -soname libfetch.so.4 file.So http.So ftp.So 
common.So fetch.So -lssl -lcrypto -lgcc_pic -lgcc_pic /usr/lib/crtendS.o 
/usr/lib/crtn.o

Dependencies are normal :
% jarjarbinks# cd /usr/obj/usr/src/lib/libfetch
% jarjarbinks# ldd libfetch.so
% libfetch.so:
% libssl.so.4 => /usr/lib/libssl.so.4 (0x3277d000)
% libcrypto.so.4 => /lib/libcrypto.so.4 (0x3215f000)

If I comment out the variable assignements :
% .if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
% #CFLAGS+=-DWITH_SSL
% #DPADD=  ${LIBSSL} ${LIBCRYPTO}
% #LDADD=  -lssl -lcrypto
% .endif

The resulting linker command is now :
/usr/bin/ld -V -Bshareable -o libfetch.so.4 /usr/lib/crti.o 
/usr/lib/crtbeginS.o -L/usr/lib -x -soname libfetch.so.4 file.So http.So ftp.So 
common.So fetch.So -lgcc_pic -lgcc_pic /usr/lib/crtendS.o /usr/lib/crtn.o

As you can see, we don't have "-lssl -lcrypto" any more.  However, ldd(1)
still says that libfetch.so is linked against those libraries :
% jarjarbinks# ldd libfetch.so
% libfetch.so:
% libssl.so.4 => /usr/lib/libssl.so.4 (0x2c72e000)
% libcrypto.so.4 => /lib/libcrypto.so.4 (0x2cd74000)

Only linking addresses change, but they do at every compilation.

I would be glad if someone could explain why this happens.

Thank you,
-- 
Jeremie Le Hen
< jeremie at le-hen dot org >< ttz at chchile dot org >
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


nss-mdns and zeroconf

2006-04-12 Thread Kevin Downey
Is it possible to use nss-mdns on FreeBSD?
Does anyone have a patch that will get it to compile?
What tools do you recomend for making all that Zeroconf magic work with FreeBSD?

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

imapd, postfix, etc.

2006-04-12 Thread Carlos Silva

Hi,

Someone knows a reliable tutorial to configure these things?
Because I'm having a lot of troubles with :(.

Best Regards,

Carlos Silva, CSilva
Web: http://www.csilva.org/

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


Re: stop/start services

2006-04-12 Thread Matthew Seaman
Pete Slagle wrote:
> Matthew Seaman wrote:
> 
>> eoghan wrote:
>>
>>> I asked a question about stopping/starting tomcat, but I suppose I didnt
>>> ask it right.
>>> What I should have asked is:
>>> How do I stop/start services that I have enabled in my rc.conf, such as
>>> mysql, tomcat etc. I have tried from my rc.d/ with tomcat but it will
>>> not work for me...
>>
>> Like this:
>>
>> /usr/local/etc/rc.d/tomcat.sh start
>>
>> If that doesn't print out anything then double check what's in
>> /etc/rc.conf
>> If the service apparently starts up, but then you find it's not running
>> a few seconds later, then check any log files that application uses --
>> it's
>> quite often the case that there's a configuration fubar somewhere that is
>> causing the service to give up.
> 
> "Service" instead of daemon?   Our assimilation by the Borg proceeds apace.

Tomcat isn't strictly a daemon -- it runs in a JavaVM that (IIRC) doesn't
divorce itself from any controlling terminal or close down its stdin,
stdout or stderr descriptors in the way that daemon processes should.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: stop/start services

2006-04-12 Thread Matthew Seaman
eoghan wrote:
> Matthew Seaman wrote:
>> eoghan wrote:
>>
>>> I asked a question about stopping/starting tomcat, but I suppose I didnt
>>> ask it right.
>>> What I should have asked is:
>>> How do I stop/start services that I have enabled in my rc.conf, such as
>>> mysql, tomcat etc. I have tried from my rc.d/ with tomcat but it will
>>> not work for me...
>>
>> Like this:
>>
>> /usr/local/etc/rc.d/tomcat.sh start
>>
>> If that doesn't print out anything then double check what's in
>> /etc/rc.conf
>> If the service apparently starts up, but then you find it's not running
>> a few seconds later, then check any log files that application uses --
>> it's
>> quite often the case that there's a configuration fubar somewhere that is
>> causing the service to give up.

> Well I have the service enabled in my rc.conf... so going to
> localhost:8180 shows me the default tomcat page saying its working
> etc... the jsp examples work fine.
> When i try /usr/local/etc/rc.d/tomcat55.sh stop
> i get:
> tomcat55 not running? (check /var/run/tomcat55.pid)
> Thats it. tomcat55.pid contains 2039.
> I created a jsp file with just plain html in it... but when i browse to
> it I get a HTTP 500 error (exception report).
> I have the file in the correct place according to the docs so Im not
> sure why is not working... I have originally some small piece of jsp but
> figured Id have to restart the server in order for it to work, which is
> what Im trying to do now...

That's not quite the same thing.  Tomcat is clearly starting up and
running perfectly well, as you show by viewing the default web page.  

The problem seems to be the file that should contain the tomcat pid,
and which doesn't.  As that pid file is what the RC scripts refer to
in order to find the process to shut down, not having the right pid
in there will cause the effects you've been seeing. There have been
a number of posts about this issue several months back on the
freebsd-java@ mailing list. I believe it was a bug in the port due
to quite a radical rethink of the way tomcat should be started up.
According to CVS that problem was fixed in the last but one update
to the www/tomcat55 port.  cvsup your ports and try again.

Oh -- in general you don't need to bounce tomcat if you modify one
of the .jsp pages it serves out.  Tomcat usually notices that the
.jsp is newer than the compiled Java bytecode it creates from it,
and will recompile the page for you automatically.  That, at least,
is the default behaviour although you can change it by modifying
server.xml

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


How to get the login class name from a uid?

2006-04-12 Thread nocturnal

Hi

Reading the login_cap(3) manual i thought i would get default returned 
if no other login classes are found but it's possible i misunderstood 
the manual. A sample of code i'm using is below. The user running the 
application is in a login class other than default, i've verified this 
in the master.passwd files class field. I have also rebuilt the termcap 
database for login.conf after adding the class. Right the new class only 
has a simple :tc=default: to test if it works. The code below outputs 
only (null).


 uid_t uid = getuid();
 struct passwd * pw = getpwuid(uid);
 login_cap_t * lc = login_getuserclass(pw);
 printf("%s\n", lc->lc_class);

Thank you in advance for any help.
--



Med vänliga hälsningar

Stefan Midjich aka nocturnal
[Swehack] http://swehack.se

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


Re: mount floppy and CD

2006-04-12 Thread Odhiambo Washington
* On 12/04/06 15:47 -0300, Aguiar Magalhaes wrote:
| Hi list,
| 
| Using FreeBSD 6.0, how can a ordinary user (without
| become root) mount the floppy an CDs?

http://caia.swin.edu.au/reports/041130A/ is a very good tutorial as well 
as what Gilbert sent.


-Wash

http://www.netmeister.org/news/learn2quote.html

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+==+
|\  _,,,---,,_ | Odhiambo Washington<[EMAIL PROTECTED]>
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+

Q:  How many heterosexual males does it take to screw in a light bulb
in San Francisco?
A:  Both of them.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: stop/start services

2006-04-12 Thread Lowell Gilbert
Odhiambo Washington <[EMAIL PROTECTED]> writes:

> With rcNG, it seems that any script with the executable mode set and
> with a matching control statement in /etc/rc.conf will get started
> regardless of whether it ends in .sh or not.

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


Re: stop/start services

2006-04-12 Thread Odhiambo Washington
* On 12/04/06 20:46 +0100, eoghan wrote:
| Matthew Seaman wrote:
| >eoghan wrote:
| >
| >>I asked a question about stopping/starting tomcat, but I suppose I didnt
| >>ask it right.
| >>What I should have asked is:
| >>How do I stop/start services that I have enabled in my rc.conf, such as
| >>mysql, tomcat etc. I have tried from my rc.d/ with tomcat but it will
| >>not work for me...
| >
| >Like this:
| >
| >/usr/local/etc/rc.d/tomcat.sh start
| >
| >If that doesn't print out anything then double check what's in /etc/rc.conf
| >If the service apparently starts up, but then you find it's not running
| >a few seconds later, then check any log files that application uses -- it's
| >quite often the case that there's a configuration fubar somewhere that is
| >causing the service to give up.
| >
| > Cheers,
| >
| > Matthew
| >
| 
| Hi Matthew,
| Well I have the service enabled in my rc.conf... so going to 
| localhost:8180 shows me the default tomcat page saying its working 
| etc... the jsp examples work fine.
| When i try /usr/local/etc/rc.d/tomcat55.sh stop
| i get:
| tomcat55 not running? (check /var/run/tomcat55.pid)
| Thats it. tomcat55.pid contains 2039.
| I created a jsp file with just plain html in it... but when i browse to 
| it I get a HTTP 500 error (exception report).
| I have the file in the correct place according to the docs so Im not 
| sure why is not working... I have originally some small piece of jsp but 
| figured Id have to restart the server in order for it to work, which is 
| what Im trying to do now...

Have you checked that the script refers to the correct pid file?



-Wash

http://www.netmeister.org/news/learn2quote.html

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+==+
|\  _,,,---,,_ | Odhiambo Washington<[EMAIL PROTECTED]>
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+

It is against the law for a monster to enter the corporate limits of
Urbana, Illinois.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Re: stop/start services

2006-04-12 Thread Odhiambo Washington
* On 12/04/06 16:13 -0400, fbsd wrote:
|  etc/rc.d is for software that is part of the operating system and
|  stuff in here gets launched by control statments in rc.conf
| 
|  /usr/local/etc/rc.d is where software installed from the ports
| normally put their start up scripts.
| At boot time the directory is read and all scripts
| ending in .sh get executed.

With rcNG, it seems that any script with the executable mode set and
with a matching control statement in /etc/rc.conf will get started
regardless of whether it ends in .sh or not.


-Wash

http://www.netmeister.org/news/learn2quote.html

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+==+
|\  _,,,---,,_ | Odhiambo Washington<[EMAIL PROTECTED]>
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+

"Gee, Toto, I don't think we are in Kansas anymore."
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problem compiling KOffice

2006-04-12 Thread RW
On Wednesday 12 April 2006 21:19, Nikolas Britton wrote:
> On 4/12/06, RW <[EMAIL PROTECTED]> wrote:
> > On Wednesday 12 April 2006 17:04, Ashley Moran wrote:
> > > On Wednesday 12 April 2006 16:15, Ashley Moran wrote:
> > > > I'm not having much luck today...
> > > >
> > > > I just tried updating my KOffice and got this error:
> > > >
> > > > /usr/bin/ld: cannot find -ldpstk
> > >
> > > I just found this as a bug report:
> > > http://lists.freebsd.org/pipermail/freebsd-bugs/2006-January/016737.htm
> > >l
> > >
> > > Has it really not been fixed in all this time?  Has anyone here made
> > > KOffice 1.5 compile?
> >
> > I rebuilt it yesterday on a ports tree synched the day before, and
> > sereral other times since the end of January
>
> koffice 1.5 was released on the 11th so it's not possible for you to
> have built it, it's not even in the ports system yet. You must have
> meant koffice-1.4.2_3,1


The bug report from January is about  koffice-1.4.2. 

I was really answering the question "Has it really not been fixed in all this 
time?" I'd have trimmed the last sentence if I'd spotted it was koffice 1.5. 

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


RE: upcoming release 6.1: old version of some core components

2006-04-12 Thread Ted Mittelstaedt


>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of
>[EMAIL PROTECTED]@mgEDV.net
>Sent: Wednesday, April 12, 2006 4:00 AM
>To: freebsd-questions@freebsd.org
>Subject: RE: upcoming release 6.1: old version of some core components
>
>
>
>did i ever mention "i love communities!" ;-)
>well, 1st of all, thx 2 all the people who gave it a whirl and
>went deeper into cvs as i would ever do (i'm definitely not a
>dev ;-), btw. that was my reason for asking this on the list )
>
>2nd, the thing alex brought up is very confusing, because it
>seems, that security fixes which are related to zlib 1.2.3 have
>been applied to 1.2.2#FREEBSD-VERSION and the rest (?whatever it
>is?) of the changes have not been applied (if the're any).

Maybe, maybe not.

>from my point of view (compatibility and transparence come to my
>mind) shouldn't be the code as close as possible to the original
>developed code for any library?

This is a complex answer.  There are pros and cons.

First, with zlib that library is used by other programs in the system.
That library and those other programs all exist for one reason - so
the user does not have to go to the trouble of downloading and
installing them.  But they don't have to be there - for example Solaris
ships with a lot of these libraries and programs missing.

As such the users are primariarly concerned with whether they can run
a command at the prompt in an out-of-the-box installation and have
it work and be secure.  Most of them aren't going to be compiling
software
they are going to want all of it done for them when they install the
system.  So they don't care about new features or whatever in zlib
they just care that it works.

>ok, we could discuss libjpeg here, but zlib should be a standard,
>and it seems for some guys it's easier to implement the fixes instead
>of upgrading to the new version.
>i'm again sure, that the maintainer of fbsd-zlib knows why,

Right, it is to best support the kinds of users I mentioned above.
applying the patch instead of reving up the software has less chance
of causing side effects if the patch is small.

Where the problem comes in is when the user wants to start
compiling software on his system that isn't in the ports.

Ted

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


Re: stop/start services

2006-04-12 Thread Pete Slagle

Matthew Seaman wrote:


eoghan wrote:


I asked a question about stopping/starting tomcat, but I suppose I didnt
ask it right.
What I should have asked is:
How do I stop/start services that I have enabled in my rc.conf, such as
mysql, tomcat etc. I have tried from my rc.d/ with tomcat but it will
not work for me...


Like this:

/usr/local/etc/rc.d/tomcat.sh start

If that doesn't print out anything then double check what's in /etc/rc.conf
If the service apparently starts up, but then you find it's not running
a few seconds later, then check any log files that application uses -- it's
quite often the case that there's a configuration fubar somewhere that is
causing the service to give up.


"Service" instead of daemon?   Our assimilation by the Borg proceeds apace.




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


RE: Timescale for 6.1-RELEASE...

2006-04-12 Thread Ted Mittelstaedt


>-Original Message-
>From: Ted Mittelstaedt [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, April 11, 2006 6:04 PM
>To: Nikolas Britton
>Cc: Harrison Peter CSA BIRKENHEAD; freebsd-questions@freebsd.org
>Subject: RE: Timescale for 6.1-RELEASE...
>
>
>
>
>>-Original Message-
>>From: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED] Behalf Of 
>Nikolas Britton
>>Sent: Tuesday, April 11, 2006 1:25 PM
>>To: Ted Mittelstaedt
>>Cc: Harrison Peter CSA BIRKENHEAD; freebsd-questions@freebsd.org
>>Subject: Re: Timescale for 6.1-RELEASE...
>>
>>
>>I think the ICH7 sata problem has already been fixed, check the logs
>>here: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/ata/ if not
>>jump onto the stable mailing list and start waving your hands.
>>
>
>I'm doing a make release on today's cvs as we speak, I'll see tomorrow
>if it recognizes the disks.
>

Nikolas, 

  Just an update, no the ICH7R problem has not been fixed.

  OpenSUSE recognizes the array, though.

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


RE: stop/start services

2006-04-12 Thread Zimmerman, Eric
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owner-freebsd-
> [EMAIL PROTECTED] On Behalf Of eoghan
> Sent: Wednesday, April 12, 2006 3:14 PM
> To: [EMAIL PROTECTED]
> Cc: freebsd-questions@freebsd.org
> Subject: Re: stop/start services
> 
> [EMAIL PROTECTED] wrote:
> >Hello,
> >Please and what is the diference between directory
> /usr/local/etc/rc.d
> >and etc/rc.d
> >Thanks and Regards,
> >Julian Bolivar
> 
> Hi
> Im not really sure what you mean? But /etc/rc.d/ doesnt have user
> installed apps? maybe?

It did a few weeks ago for one port. Amavisd used to be installed to
/etc/rc.d but the last time I updated it was moved back to
/usr/local/etc/rc.d (probably because it shouldn't have been in
/etc/rc.d)


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


Re: Problem compiling KOffice

2006-04-12 Thread Nikolas Britton
On 4/12/06, RW <[EMAIL PROTECTED]> wrote:
> On Wednesday 12 April 2006 17:04, Ashley Moran wrote:
> > On Wednesday 12 April 2006 16:15, Ashley Moran wrote:
> > > I'm not having much luck today...
> > >
> > > I just tried updating my KOffice and got this error:
> > >
> > > /usr/bin/ld: cannot find -ldpstk
> >
> > I just found this as a bug report:
> > http://lists.freebsd.org/pipermail/freebsd-bugs/2006-January/016737.html
> >
> > Has it really not been fixed in all this time?  Has anyone here made
> > KOffice 1.5 compile?
>
> I rebuilt it yesterday on a ports tree synched the day before, and sereral
> other times since the end of January

koffice 1.5 was released on the 11th so it's not possible for you to
have built it, it's not even in the ports system yet. You must have
meant koffice-1.4.2_3,1


--
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: Need /bin/sh script help

2006-04-12 Thread Garrett Cooper

Garrett Cooper wrote:


Hello again all,
   Just making a series of sh scripts to help automate updating and 
whatnot of my fileserver (since I am trying to avoid having mistakes 
occur with my system, and maybe help the community out a bit by 
providing some decent means of updating their own machines), and I was 
wondering if anyone could help me out with the following script I've 
developing (the grep if statements are incorrect..):


#!/bin/sh
#

KC="";

cd /usr/src;

if [ -n `grep -e s/KERNCONF=/ /etc/make.conf` ] # want to look for 
KERNCONF in /etc/make.conf

then
   echo "enter in the kernel conf file full pathname:";
   read KERNCONF;
   KC="KERNCONF=$KERNCONF";
fi

if [ -n `grep -e s/NO_CLEAN=*yes*/ /etc/make.conf` ] // want to look 
for NO_CLEAN in /etc/make.conf -- is this really necessary?

then
   cd sys;
   echo "cleaning sources"
   make clean;
   make cleandir;
   cd ..;
fi

echo "building kernel";
make buildkernel $KC;

echo "installing kernel";
make installkernel $KC;

echo "kernel compile complete. reboot to try new kernel";

TIA,
-Garrett

Thank you all for the replies and the advice. I still need to fix the 
grepping, but I hope that any and all problems will be resolved soon 
once I stick my mind to it. As for what worked and was changed, what 
didn't, and why I am doing this:


What worked/was changed:
-Removing C++ style comment. Lol.
-Adding in a loop for read so the kernconf variable is not set to null.

What didn't work:
-Using make -V (it came up with nothing... oddly enough even though the 
manpage said it would work).
-grep call when I didn't redirect stuff to stderr (suppose I should do 
that).


Why I am doing this:
If you're probably reading the mailing list from time to time, you'll 
have noticed I had some issues last week with cvsup and my system 
sources. I've basically come to the conclusion that the cause for my 
issue is the fact that I had a cron job which would update my 
system/kernel sources, as well as my ports, and my system/kernel sources 
were synced DURING a build, which lead to quite a few issues with the 
build and installworld, I discovered after rebooting the machine the 
next morning (no errors were encountered though, which was odd). So, in 
order to scratch the itch, persay, that exists with cvsup and building 
ports/compiling system stuff, I have created a script which does 'lock' 
a process, if noted correctly, with a 'semaphore lockfile'. Maybe a call 
to ps aux would be better, but I found that dealing with a lockfile 
system would be a much easier way to solve things.


Todo Plan:
Add an rc-script or something that will run in single-user mode which 
will help with mergemaster. People should be at the machine when doing 
this, and my scripts were originally designed so that a person could 
just run the script and it would do function X on a timed basis (say as 
a cron job).


These scripts aren't meant to replace any resources; they're just here 
to help automate junk and ensure that things DO get done properly and 
things DO get updated, with less typing and command memorizing for the 
admin (I will properly annotate which chapters in the handbook to use 
and manpages to read for a more in depth reference of what the script 
does and how it does it).


Furthermore, I plan on possibly coming out with a more up to date 
installcd setup that would have an 'admin pack' as I would call it, or 
apache, bind9, perl, mysql, ipfw, samba, etc, properly configured with a 
set of CGI pages that would help simplify system management for people 
(I am doing this as a project for the house/apt I'm living in since they 
need a NAT box with extras).


So, that's what I have in mind.

Questions, comments :) ?

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


Re: stop/start services

2006-04-12 Thread eoghan

[EMAIL PROTECTED] wrote:

   Hello,
   Please and what is the diference between directory /usr/local/etc/rc.d
   and etc/rc.d
   Thanks and Regards,
   Julian Bolivar


Hi
Im not really sure what you mean? But /etc/rc.d/ doesnt have user 
installed apps? maybe?




   --- Mensaje Original --
   De: Matthew Seaman [EMAIL PROTECTED]
   Para: eoghan [EMAIL PROTECTED]
   Cc: freebsd-questions@freebsd.org [EMAIL PROTECTED]
   Asunto: Re: stop/start services
   Fecha: 12/04/2006 15:33:11
   Mensaje:
   eoghan wrote: > I asked a question about stopping/starting tomcat, but
   I suppose I didnt > ask it right. > What I should have asked is: > How
   do I stop/start services that I have enabled in my rc.conf, such as >
   mysql, tomcat etc. I have tried from my rc.d/ with tomcat but it will
   > not work for me... Like this: /usr/local/etc/rc.d/tomcat.sh start If
   that doesn't print out anything then double check what's in
   /etc/rc.conf If the service apparently starts up, but then you find
   it's not running a few seconds later, then check any log files that
   application uses -- it's quite often the case that there's a
   configuration fubar somewhere that is causing the service to give up.
   Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
   Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent,
   CT11 9PW
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


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


RE: Re: stop/start services

2006-04-12 Thread fbsd
 etc/rc.d is for software that is part of the operating system and
 stuff in here gets launched by control statments in rc.conf

 /usr/local/etc/rc.d is where software installed from the ports
normally put their start up scripts.
At boot time the directory is read and all scripts
ending in .sh get executed.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, April 12, 2006 3:47 PM
To: freebsd-questions@freebsd.org
Subject: Re: Re: stop/start services



   Hello,
   Please and what is the diference between directory
/usr/local/etc/rc.d
   and etc/rc.d
   Thanks and Regards,
   Julian Bolivar
   --- Mensaje Original --
   De: Matthew Seaman [EMAIL PROTECTED]
   Para: eoghan [EMAIL PROTECTED]
   Cc: freebsd-questions@freebsd.org [EMAIL PROTECTED]
   Asunto: Re: stop/start services
   Fecha: 12/04/2006 15:33:11
   Mensaje:
   eoghan wrote: > I asked a question about stopping/starting
tomcat, but
   I suppose I didnt > ask it right. > What I should have asked is:
> How
   do I stop/start services that I have enabled in my rc.conf, such
as >
   mysql, tomcat etc. I have tried from my rc.d/ with tomcat but it
will
   > not work for me... Like this: /usr/local/etc/rc.d/tomcat.sh
start If
   that doesn't print out anything then double check what's in
   /etc/rc.conf If the service apparently starts up, but then you
find
   it's not running a few seconds later, then check any log files
that
   application uses -- it's quite often the case that there's a
   configuration fubar somewhere that is causing the service to give
up.
   Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory
Courtyard
   Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent,
   CT11 9PW
___
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: Xlib: extension "GLX" missing on display ":0.0".

2006-04-12 Thread fredthetree
nothing.

i just noticed something though:

X Window System Version 6.9.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 6.9
Build Operating System: FreeBSD 6.1 i386 [ELF]
Current Operating System: FreeBSD daniel.higham.ca 6.1-PRERELEASE FreeBSD
6.1-PRERELEASE #0: Fri Apr  7 23:44:35 ADT 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/MACHINE
i386
Build Date: 08 April 2006
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Apr 12 16:59:25 2006
(==) Using config file: "/etc/X11/xorg.conf"
(EE) Failed to load module "glx" (module does not exist, 0)

so where do i get the glx module?


On 4/12/06, David J Brooks <[EMAIL PROTECTED]> wrote:
>
> On Wednesday 12 April 2006 14:03, fredthetree wrote:
> > glx doesn't work. both glx and dri are in my xorg.conf, i'm using the nv
> > driver, i have graphics/dri installed.
> >
> > [EMAIL PROTECTED] ~]$ glxgears
> > Xlib:  extension "GLX" missing on display ":0.0".
> > glxgears: Error: couldn't get an RGB, Double-buffered visual.
> >
> >
> > --
> > [EMAIL PROTECTED] ~]$ uname -a
> > FreeBSD daniel.higham.ca 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Fri
> Apr
> > 7 23:44:35 ADT 2006
> > [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MACHINE i386
> > [EMAIL PROTECTED] ~]$ pkg_info |grep dri
> > dri-6.4.1,2 OpenGL hardware acceleration drivers for the DRI
> >
> > relevent bits of xorg.conf:
> > Section "ServerLayout"
> > Identifier "X.org Configured"
> > Screen  0  "Screen0" 0 0
> > InputDevice"Mouse0" "CorePointer"
> > InputDevice"Keyboard0" "CoreKeyboard"
> > EndSection
> >
> > Section "Module"
> > Load  "dbe"
> > Load  "dri"
> > Load  "extmod"
> > Load  "glx"
> > Load  "record"
> > Load  "xtrap"
> > Load  "freetype"
> > Load  "type1"
> > EndSection
> >
> > Section "Device"
> > ### Available Driver options are:-
> > ### Values: : integer, : float, : "True"/"False",
> > ### : "String", : " Hz/kHz/MHz"
> > ### [arg]: arg optional
> > #Option "SWcursor"  # []
> > #Option "HWcursor"  # []
> > #Option "NoAccel"   # []
> > #Option "ShadowFB"  # []
> > #Option "UseFBDev"  # []
> > #Option "Rotate"# []
> > #Option "VideoKey"  # 
> > #Option "FlatPanel" # []
> > #Option "FPDither"  # []
> > #Option "CrtcNumber"# 
> > #Option "FPScale"   # []
> > #Option "FPTweak"   # 
> > Identifier  "Card0"
> > Driver  "nv"
> > VendorName  "nVidia Corporation"
> > BoardName   "NV5M64 [RIVA TNT2 Model 64/Model 64 Pro]"
> > BusID   "PCI:1:0:0"
> > EndSection
>
> Try adding this section in /etc/X11/xorg.conf:
> Section "DRI"
> Mode 0666
> EndSection
>
> HTH,
> David
> --
> Sure God created the world in only six days,
> but He didn't have an established user-base.
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 6.1-PRERELEASE CVSUP tag=???

2006-04-12 Thread Nikolas Britton
On 4/12/06, Daniel Bye <[EMAIL PROTECTED]> wrote:
> On Tue, Apr 11, 2006 at 09:56:46PM -0500, Nikolas Britton wrote:
> > the branch for 6.1 was cut on the 5th, you can cvsup to 6.1 now using
> > the RELENG_6_1 tag...
>
> Oh yeah, so it was.  Missed that, thanks.
>
> > at this point if you sync up with RELENG_6 you
> > will drive passed 6.1.
>
> Hmm, are you sure?
>
> FreeBSD catflap.slightlystrange.org 6.1-RC FreeBSD 6.1-RC #5: Tue Apr 11
> 15:04:52 BST 2006
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CATFLAP  sparc64
>
> This from RELENG_6 from two days ago...  Same story on my i386 machines
> as well.
>
> Anyway, thanks for the correction.  Am busily cvsupping to RELENG_6_1
> now.
>

Yes I'm sure, they just haven't changed the names yet because
everybody is working on getting 6.1-RC1 out the door. From this point
forward if you sync up with RELENG_6 you will get 6-STABLE Give
them a few days and everything will be copacetic.



--
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: Xlib: extension "GLX" missing on display ":0.0".

2006-04-12 Thread David J Brooks
On Wednesday 12 April 2006 14:03, fredthetree wrote:
> glx doesn't work. both glx and dri are in my xorg.conf, i'm using the nv
> driver, i have graphics/dri installed.
>
> [EMAIL PROTECTED] ~]$ glxgears
> Xlib:  extension "GLX" missing on display ":0.0".
> glxgears: Error: couldn't get an RGB, Double-buffered visual.
>
>
> --
> [EMAIL PROTECTED] ~]$ uname -a
> FreeBSD daniel.higham.ca 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Fri Apr
> 7 23:44:35 ADT 2006
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MACHINE i386
> [EMAIL PROTECTED] ~]$ pkg_info |grep dri
> dri-6.4.1,2 OpenGL hardware acceleration drivers for the DRI
>
> relevent bits of xorg.conf:
> Section "ServerLayout"
> Identifier "X.org Configured"
> Screen  0  "Screen0" 0 0
> InputDevice"Mouse0" "CorePointer"
> InputDevice"Keyboard0" "CoreKeyboard"
> EndSection
>
> Section "Module"
> Load  "dbe"
> Load  "dri"
> Load  "extmod"
> Load  "glx"
> Load  "record"
> Load  "xtrap"
> Load  "freetype"
> Load  "type1"
> EndSection
>
> Section "Device"
> ### Available Driver options are:-
> ### Values: : integer, : float, : "True"/"False",
> ### : "String", : " Hz/kHz/MHz"
> ### [arg]: arg optional
> #Option "SWcursor"  # []
> #Option "HWcursor"  # []
> #Option "NoAccel"   # []
> #Option "ShadowFB"  # []
> #Option "UseFBDev"  # []
> #Option "Rotate"# []
> #Option "VideoKey"  # 
> #Option "FlatPanel" # []
> #Option "FPDither"  # []
> #Option "CrtcNumber"# 
> #Option "FPScale"   # []
> #Option "FPTweak"   # 
> Identifier  "Card0"
> Driver  "nv"
> VendorName  "nVidia Corporation"
> BoardName   "NV5M64 [RIVA TNT2 Model 64/Model 64 Pro]"
> BusID   "PCI:1:0:0"
> EndSection

Try adding this section in /etc/X11/xorg.conf:
Section "DRI"
Mode 0666
EndSection

HTH,
David
-- 
Sure God created the world in only six days,
but He didn't have an established user-base.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Re: stop/start services

2006-04-12 Thread [EMAIL PROTECTED]

   Hello,
   Please and what is the diference between directory /usr/local/etc/rc.d
   and etc/rc.d
   Thanks and Regards,
   Julian Bolivar
   --- Mensaje Original --
   De: Matthew Seaman [EMAIL PROTECTED]
   Para: eoghan [EMAIL PROTECTED]
   Cc: freebsd-questions@freebsd.org [EMAIL PROTECTED]
   Asunto: Re: stop/start services
   Fecha: 12/04/2006 15:33:11
   Mensaje:
   eoghan wrote: > I asked a question about stopping/starting tomcat, but
   I suppose I didnt > ask it right. > What I should have asked is: > How
   do I stop/start services that I have enabled in my rc.conf, such as >
   mysql, tomcat etc. I have tried from my rc.d/ with tomcat but it will
   > not work for me... Like this: /usr/local/etc/rc.d/tomcat.sh start If
   that doesn't print out anything then double check what's in
   /etc/rc.conf If the service apparently starts up, but then you find
   it's not running a few seconds later, then check any log files that
   application uses -- it's quite often the case that there's a
   configuration fubar somewhere that is causing the service to give up.
   Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
   Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent,
   CT11 9PW
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: stop/start services

2006-04-12 Thread eoghan

Matthew Seaman wrote:

eoghan wrote:


I asked a question about stopping/starting tomcat, but I suppose I didnt
ask it right.
What I should have asked is:
How do I stop/start services that I have enabled in my rc.conf, such as
mysql, tomcat etc. I have tried from my rc.d/ with tomcat but it will
not work for me...


Like this:

/usr/local/etc/rc.d/tomcat.sh start

If that doesn't print out anything then double check what's in /etc/rc.conf
If the service apparently starts up, but then you find it's not running
a few seconds later, then check any log files that application uses -- it's
quite often the case that there's a configuration fubar somewhere that is
causing the service to give up.

Cheers,

Matthew



Hi Matthew,
Well I have the service enabled in my rc.conf... so going to 
localhost:8180 shows me the default tomcat page saying its working 
etc... the jsp examples work fine.

When i try /usr/local/etc/rc.d/tomcat55.sh stop
i get:
tomcat55 not running? (check /var/run/tomcat55.pid)
Thats it. tomcat55.pid contains 2039.
I created a jsp file with just plain html in it... but when i browse to 
it I get a HTTP 500 error (exception report).
I have the file in the correct place according to the docs so Im not 
sure why is not working... I have originally some small piece of jsp but 
figured Id have to restart the server in order for it to work, which is 
what Im trying to do now...

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


RE: stop/start services

2006-04-12 Thread fbsd


/usr/local/share/mysql/mysql.server start
/usr/local/share/mysql/mysql.server stop

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of eoghan
Sent: Wednesday, April 12, 2006 3:02 PM
To: freebsd-questions@freebsd.org
Subject: stop/start services


Hi
I asked a question about stopping/starting tomcat, but I suppose I
didnt
ask it right.
What I should have asked is:
How do I stop/start services that I have enabled in my rc.conf, such
as
mysql, tomcat etc. I have tried from my rc.d/ with tomcat but it
will
not work for me...
Does anyone have any info for me that could help me out with this?
Thank you
Eoghan
___
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: 6.1-PRERELEASE CVSUP tag=???

2006-04-12 Thread Nikolas Britton
On 4/12/06, Bryan Curl <[EMAIL PROTECTED]> wrote:
> Daniel Bye wrote:
> > On Tue, Apr 11, 2006 at 09:56:46PM -0500, Nikolas Britton wrote:
> >
> >> the branch for 6.1 was cut on the 5th, you can cvsup to 6.1 now using
> >> the RELENG_6_1 tag...
> >>
> >
> > Oh yeah, so it was.  Missed that, thanks.
> >
> >
> >> at this point if you sync up with RELENG_6 you
> >> will drive passed 6.1.
> >>
> >
> > Hmm, are you sure?
> >
> > FreeBSD catflap.slightlystrange.org 6.1-RC FreeBSD 6.1-RC #5: Tue Apr 11
> > 15:04:52 BST 2006
> > [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CATFLAP  sparc64
> >
> > This from RELENG_6 from two days ago...  Same story on my i386 machines
> > as well.
> >
> > Anyway, thanks for the correction.  Am busily cvsupping to RELENG_6_1
> > now.
> >
> > Dan
> >
> >
> I poked around the FreeBSD web site and can't seem to find where you
> guys are getting the latest release information.
> I know if it was a snakeyip
>

http://www.freebsd.org/releases/6.1R/schedule.html
http://www.freebsd.org/releng/index.html

--
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: stop/start services

2006-04-12 Thread Matthew Seaman
eoghan wrote:

> I asked a question about stopping/starting tomcat, but I suppose I didnt
> ask it right.
> What I should have asked is:
> How do I stop/start services that I have enabled in my rc.conf, such as
> mysql, tomcat etc. I have tried from my rc.d/ with tomcat but it will
> not work for me...

Like this:

/usr/local/etc/rc.d/tomcat.sh start

If that doesn't print out anything then double check what's in /etc/rc.conf
If the service apparently starts up, but then you find it's not running
a few seconds later, then check any log files that application uses -- it's
quite often the case that there's a configuration fubar somewhere that is
causing the service to give up.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: upcoming release 6.1: old version of some core components

2006-04-12 Thread Kris Kennaway
On Wed, Apr 12, 2006 at 09:07:11PM +0200, martinko wrote:

> and it feels they're not going to release 1.0 any time soon.. i've been
> seeing 0.9.something for longer than i can remember.
> 
> and btw i've always thought of openssl and openssh as somehow
> coupled/interconnected. but openssl hasn't reached 1.0 while openssh is
> already past 4. (and again it seems to me openssh changes major numbers
> not according to major changes but whenever its version reaches x.9.)

openssh uses openssl but they're not tightly coupled.

Kris


pgpHVrN9xBLnc.pgp
Description: PGP signature


Re: newsyslog.conf question

2006-04-12 Thread Garance A Drosihn

At 2:01 AM + 4/10/06, [EMAIL PROTECTED] wrote:

I have developed a boot image for a CD to be used
on servers througout the organization I work for.
Everything is working great, except for one small
problem.

When I boot from the CD I created, I receive a message
stating "newsyslog: malformed 'at' value".

/var/log/wtmp   640   5   *   @01T05 B

If I change the time specification to $M1D05 and start
newsyslog, no error messages are generated.

And, if I boot from the server's hard drive (from which
the image was created), newsyslog does not generate any
error messages.


This does seem odd, since that is basically the same
line that is in the distributed base system.  Are you
sure that's from the file you're running from?
Could you send me a copy of the exact file that you
have on the CD which is getting the error?

Certainly what you have there *looks* like it should work.

--
Garance Alistair Drosehn=   [EMAIL PROTECTED]
Senior Systems Programmer   or  [EMAIL PROTECTED]
Rensselaer Polytechnic Instituteor  [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: upcoming release 6.1: old version of some core components

2006-04-12 Thread martinko
Kris Kennaway wrote:
> On Wed, Apr 12, 2006 at 08:42:44PM +0200, martinko wrote:
> 
>>Kris Kennaway wrote:
>>
>>>On Tue, Apr 11, 2006 at 05:46:06PM +0200, [EMAIL PROTECTED]@mgEDV.net wrote:
>>>
>>>

>I can't answer you main question, but I would say that you can bet your 
>shirt on the fact that there will be no known security issues in the 
>older packages.

>At least for openssl and openssh you can get latest versions through the 
>ports.  Not an option for everything -- I see no zlib for example and I 
>don't believe there's a standard cvs port either.

as for zlib i definitely know, that there are 2 security flaws, which can
lead to problems when invalid compressed data is feeded.
>>>
>>>
>>>Already fixed as soon as they were published.  Are there other reasons
>>>to upgrade?
>>>
>>>
>>>
my problem also is not the installation of ports/packages/custom compiles,
it's more that the operating system components itself are linked against
these older libraries an therefore will contain bugs, which may have been
already solved.
>>>
>>>
>>>The other side of this is that newer versions are often incompatible
>>>(OpenSSL, I'm looking at you), which rules out upgrading the version
>>>in a FreeBSD-STABLE branch since it ruins binary compatibility.
>>>
>>>Kris
>>
>>one may wonder why they change very minor version number/letter only, if
>>the changes are so disturbing..
> 
> 
> It's more that they don't have the foresight and discipline not to
> keep breaking interfaces.  This may have changed recently, but I think
> their policy is still "until we release openssl 1.0 we make no
> promises about compatibility".
> 
> Kris


and it feels they're not going to release 1.0 any time soon.. i've been
seeing 0.9.something for longer than i can remember.

and btw i've always thought of openssl and openssh as somehow
coupled/interconnected. but openssl hasn't reached 1.0 while openssh is
already past 4. (and again it seems to me openssh changes major numbers
not according to major changes but whenever its version reaches x.9.)

funny.

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


Xlib: extension "GLX" missing on display ":0.0".

2006-04-12 Thread fredthetree
glx doesn't work. both glx and dri are in my xorg.conf, i'm using the nv
driver, i have graphics/dri installed.

[EMAIL PROTECTED] ~]$ glxgears
Xlib:  extension "GLX" missing on display ":0.0".
glxgears: Error: couldn't get an RGB, Double-buffered visual.


--
[EMAIL PROTECTED] ~]$ uname -a
FreeBSD daniel.higham.ca 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Fri Apr
7 23:44:35 ADT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MACHINE
i386
[EMAIL PROTECTED] ~]$ pkg_info |grep dri
dri-6.4.1,2 OpenGL hardware acceleration drivers for the DRI

relevent bits of xorg.conf:
Section "ServerLayout"
Identifier "X.org Configured"
Screen  0  "Screen0" 0 0
InputDevice"Mouse0" "CorePointer"
InputDevice"Keyboard0" "CoreKeyboard"
EndSection

Section "Module"
Load  "dbe"
Load  "dri"
Load  "extmod"
Load  "glx"
Load  "record"
Load  "xtrap"
Load  "freetype"
Load  "type1"
EndSection

Section "Device"
### Available Driver options are:-
### Values: : integer, : float, : "True"/"False",
### : "String", : " Hz/kHz/MHz"
### [arg]: arg optional
#Option "SWcursor"  # []
#Option "HWcursor"  # []
#Option "NoAccel"   # []
#Option "ShadowFB"  # []
#Option "UseFBDev"  # []
#Option "Rotate"# []
#Option "VideoKey"  # 
#Option "FlatPanel" # []
#Option "FPDither"  # []
#Option "CrtcNumber"# 
#Option "FPScale"   # []
#Option "FPTweak"   # 
Identifier  "Card0"
Driver  "nv"
VendorName  "nVidia Corporation"
BoardName   "NV5M64 [RIVA TNT2 Model 64/Model 64 Pro]"
BusID   "PCI:1:0:0"
EndSection
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


stop/start services

2006-04-12 Thread eoghan

Hi
I asked a question about stopping/starting tomcat, but I suppose I didnt 
ask it right.

What I should have asked is:
How do I stop/start services that I have enabled in my rc.conf, such as 
mysql, tomcat etc. I have tried from my rc.d/ with tomcat but it will 
not work for me...

Does anyone have any info for me that could help me out with this?
Thank you
Eoghan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mount floppy and CD

2006-04-12 Thread Lowell Gilbert
Aguiar Magalhaes <[EMAIL PROTECTED]> writes:

> Using FreeBSD 6.0, how can a ordinary user (without
> become root) mount the floppy an CDs?

"How do I let ordinary users mount floppies, CDROMs and other removable media?"
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FLOPPYMOUNT
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mount floppy and CD

2006-04-12 Thread Jerry McAllister
> 
> Hi list,
> 
> Using FreeBSD 6.0, how can a ordinary user (without
> become root) mount the floppy an CDs?

Read up on the 'sudo' utility.
I believe it is available in ports.

jerry

> 
> Aguiar
> 
> ___
> 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: upcoming release 6.1: old version of some core components

2006-04-12 Thread Kris Kennaway
On Wed, Apr 12, 2006 at 08:42:44PM +0200, martinko wrote:
> Kris Kennaway wrote:
> > On Tue, Apr 11, 2006 at 05:46:06PM +0200, [EMAIL PROTECTED]@mgEDV.net wrote:
> > 
> >> 
> >>
> >>>I can't answer you main question, but I would say that you can bet your 
> >>>shirt on the fact that there will be no known security issues in the 
> >>>older packages.
> >>
> >>>At least for openssl and openssh you can get latest versions through the 
> >>>ports.  Not an option for everything -- I see no zlib for example and I 
> >>>don't believe there's a standard cvs port either.
> >>
> >>as for zlib i definitely know, that there are 2 security flaws, which can
> >>lead to problems when invalid compressed data is feeded.
> > 
> > 
> > Already fixed as soon as they were published.  Are there other reasons
> > to upgrade?
> > 
> > 
> >>my problem also is not the installation of ports/packages/custom compiles,
> >>it's more that the operating system components itself are linked against
> >>these older libraries an therefore will contain bugs, which may have been
> >>already solved.
> > 
> > 
> > The other side of this is that newer versions are often incompatible
> > (OpenSSL, I'm looking at you), which rules out upgrading the version
> > in a FreeBSD-STABLE branch since it ruins binary compatibility.
> > 
> > Kris
> 
> one may wonder why they change very minor version number/letter only, if
> the changes are so disturbing..

It's more that they don't have the foresight and discipline not to
keep breaking interfaces.  This may have changed recently, but I think
their policy is still "until we release openssl 1.0 we make no
promises about compatibility".

Kris


pgpGUQB3ERMEH.pgp
Description: PGP signature


mount floppy and CD

2006-04-12 Thread Aguiar Magalhaes
Hi list,

Using FreeBSD 6.0, how can a ordinary user (without
become root) mount the floppy an CDs?

Aguiar



___ 
Abra sua conta no Yahoo! Mail: 1GB de espaço, alertas de e-mail no celular e 
anti-spam realmente eficaz. 
http://br.info.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: upcoming release 6.1: old version of some core components

2006-04-12 Thread martinko
Kris Kennaway wrote:
> On Tue, Apr 11, 2006 at 05:46:06PM +0200, [EMAIL PROTECTED]@mgEDV.net wrote:
> 
>> 
>>
>>>I can't answer you main question, but I would say that you can bet your 
>>>shirt on the fact that there will be no known security issues in the 
>>>older packages.
>>
>>>At least for openssl and openssh you can get latest versions through the 
>>>ports.  Not an option for everything -- I see no zlib for example and I 
>>>don't believe there's a standard cvs port either.
>>
>>as for zlib i definitely know, that there are 2 security flaws, which can
>>lead to problems when invalid compressed data is feeded.
> 
> 
> Already fixed as soon as they were published.  Are there other reasons
> to upgrade?
> 
> 
>>my problem also is not the installation of ports/packages/custom compiles,
>>it's more that the operating system components itself are linked against
>>these older libraries an therefore will contain bugs, which may have been
>>already solved.
> 
> 
> The other side of this is that newer versions are often incompatible
> (OpenSSL, I'm looking at you), which rules out upgrading the version
> in a FreeBSD-STABLE branch since it ruins binary compatibility.
> 
> Kris

one may wonder why they change very minor version number/letter only, if
the changes are so disturbing..

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


Re: Faking multiple physical adapters for DHCPDISCOVER

2006-04-12 Thread John Nielsen
On Wednesday 12 April 2006 13:08, Terrence Koeman wrote:
> > -Original Message-
> > From: Chuck Swiger [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, April 11, 2006 6:17 PM
> > Subject: Re: Faking multiple physical adapters for DHCPDISCOVER
> >
> > Terrence Koeman wrote:
> > [ ... ]
> >
> > > I need to 'clone' the xl1 adapter to appear as three adapters, each
> > > with a distinct MAC address. This because my provider has assigned me
> > > three semi-static addresses of which I want to use 1 for outbound
> > > NAT-traffic and two for static NAT.
> > >
> > > These addresses are semi-static because they are basically MAC-based
> > > reservations on the providers DHCP server, and it happens to be that
> > > I'm required to aquire a DHCP lease for all three addresses for
> > > routing to work properly. If I configure the addresses statically the
> > > connectivity 'disappears' after a while.
> >
> > The reason why your ISP has configured their system in such a fashion is
> > to
>
> prevent people from claiming multiple static IPs from a single machine.
>
> > If you're not happy with their AUP, use another provider, or pay for a
>
> dedicated IP allocation of whatever size you need.
>
> > --
> > -Chuck
>
> That's not the case here, I'm actually trying to use less IP's. And besides
> that my ISP allows up to 16 IP's to be used in their AUP.
>
> I have about 5 clients that can share 1 IP with NAT and I have 2 other
> clients that need to have an IP of their own.
>
> If I can have all IP's bound to the server then I can simply NAT the 5
> clients and static-NAT the remaining 2. Otherwise I'd need to bridge/route
> and do NAT at the same time, which is not possible here, because then the 5
> NAT-ed clients would need to get their IP's from the local DHCP server and
> the 2 bridged clients would need to get them from the ISP DHCP server. I
> could block DHCP from being bridged and do DHCP proxying for the other 2
> clients, but it'd make it all much more complicated.

One approach could be to create multiple vlan(4) interfaces and make them all 
children of the outward-facing interface.  You could then assign a different 
ethernet address to each one.  Of course, you would also need to either use a 
switch that supports vlans in between your outward-facing interface and your 
provider or use something like if_bridge(4) to tie all the vlans back into 
the parent interface.  You could then run dhclient on each vlan and either 
leave it at that or harvest the addresses, destroy the vlans, and add the 
addresses back as aliases on the parent interface.

Granted, this may be at least as complicated as your other workaround above, 
but it could be made to work.

Another possibility would be to get the DHCP leases sequentially by 
alternately setting the ethernet address on your outward-facing interface and 
running dhclient.  You would of course have to store the results in between 
and add them all back in as aliases when you were done.

Finally, you could build your own program or script that crafts DHCP packets 
manually and handles the results appropriately for your situation. (The ports 
collection contains net/p5-Net-DHCPClient, which might serve your purposes.)

Have fun...

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


Re: 6.1-PRERELEASE CVSUP tag=???

2006-04-12 Thread Bryan Curl

Daniel Bye wrote:

On Tue, Apr 11, 2006 at 09:56:46PM -0500, Nikolas Britton wrote:
  

the branch for 6.1 was cut on the 5th, you can cvsup to 6.1 now using
the RELENG_6_1 tag... 



Oh yeah, so it was.  Missed that, thanks.

  

at this point if you sync up with RELENG_6 you
will drive passed 6.1.



Hmm, are you sure?

FreeBSD catflap.slightlystrange.org 6.1-RC FreeBSD 6.1-RC #5: Tue Apr 11
15:04:52 BST 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CATFLAP  sparc64

This from RELENG_6 from two days ago...  Same story on my i386 machines
as well.

Anyway, thanks for the correction.  Am busily cvsupping to RELENG_6_1
now.

Dan

  
I poked around the FreeBSD web site and can't seem to find where you 
guys are getting the latest release information.
I know if it was a snakeyip 


--
Bryan Curl
b3910 'at' pcisys 'dot' net

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


Re: Wanted: Flash player for ....

2006-04-12 Thread Kris Kennaway
On Wed, Apr 12, 2006 at 02:11:12PM -0400, Andy Reitz wrote:
> On Wed, 12 Apr 2006, Ashley Moran wrote:
> 
> > On Wednesday 12 April 2006 15:15, you wrote:
> > > I forwarded this license issue to an engineer I know there. His
> > > response was positive. We'll have to see how it goes with their
> > > management and legal.

I lost track of the above email, but keep portmgr@ and the port
maintainer in the loop with developments on this front.

Thanks,

Kris


pgpjSgITQReqw.pgp
Description: PGP signature


Re: Wanted: Flash player for ....

2006-04-12 Thread Andy Reitz
On Wed, 12 Apr 2006, Ashley Moran wrote:

> On Wednesday 12 April 2006 15:15, you wrote:
> > I forwarded this license issue to an engineer I know there. His
> > response was positive. We'll have to see how it goes with their
> > management and legal.
>
> Cool
>
> From reading the license I got the impression they only really want to block
> users from installing Flash on embedded devices (why I do not know...) - the
> lawyers probably don't even realise FreeBSD exists.  I doubt it was intented
> as a positive exclusion of the OS.

My guess is because they have a specific version of flash for embedded
devices, and they want to ensure that the PC flash doesn't end up on a
mobile device. Here is the URL for the embedded flash, "Flash Lite":

http://www.macromedia.com/devnet/devices/

-Andy.

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


Re: upcoming release 6.1: old version of some core components

2006-04-12 Thread Kris Kennaway
On Wed, Apr 12, 2006 at 10:18:08AM +0100, Alex Zbyslaw wrote:
> Ted Mittelstaedt wrote:
> 
> >Alex, you would lose that bet, zlib 1.2.2 has a hole in it, it
> >should have been replaced with 1.2.3  See the zlib website
> >for more info.
> >
> >Nospam, good catch, if none of the hip-shooters here file a PR I'll
> >get around to it the next time I get a running build off the
> >cvs.
> > 
> >
> Sorry, I remain unconvinced.  Follow the bug links on the zlib home page 
> and both contain "References" like this:
> 
> >
> >ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:16.zlib.asc
> >https://rhn.redhat.com/errata/RHSA-2005-569.html
> >http://secunia.com/advisories/15949/
> 
> So unless the fixes somehow were un-made for 6.1, zlib is not 
> vulnerable, regardless of whether the version number is 1.2.2 or 1.2.3.

Yes, Ted is wrong.

Kris


pgp0zmAEV3IIN.pgp
Description: PGP signature


Re: 6.1-PRERELEASE CVSUP tag=???

2006-04-12 Thread Daniel Bye
On Tue, Apr 11, 2006 at 09:56:46PM -0500, Nikolas Britton wrote:
> the branch for 6.1 was cut on the 5th, you can cvsup to 6.1 now using
> the RELENG_6_1 tag... 

Oh yeah, so it was.  Missed that, thanks.

> at this point if you sync up with RELENG_6 you
> will drive passed 6.1.

Hmm, are you sure?

FreeBSD catflap.slightlystrange.org 6.1-RC FreeBSD 6.1-RC #5: Tue Apr 11
15:04:52 BST 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CATFLAP  sparc64

This from RELENG_6 from two days ago...  Same story on my i386 machines
as well.

Anyway, thanks for the correction.  Am busily cvsupping to RELENG_6_1
now.

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622 166A
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgphUFSFulUOn.pgp
Description: PGP signature


Re: Help clarify the '-l' option of ls(1).

2006-04-12 Thread RW
On Wednesday 12 April 2006 16:47, David Robillard wrote:
> Hello everyone,
>
> I'd like to have an explication about the '-l' (minus L) option of the
> ls(1) command.

>...

> Does anyone know any details about this 'number of links' ???

It's what it says on the tin; it's the number of links to the file.

You get one link from the directory you are looking at, one from each hard 
link; and for a directory, one from the ".." link in each immediate 
sub-directory.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: WAN setup help.

2006-04-12 Thread Duane Whitty

Marwan Sultan wrote:

Hello Gurus,

  I have a Head Office, and have 2 Restaurants in diffrent areas,
  I have been told that i can link them all together, WAN. them.

  Can please someone explain to me how to do that? all to be as a one 
network.


  I understand that I need router in each branch, including the HQ 
but, what is the router?

  can FreeBSD configured to be this router?
  how to link all of them Together?

  Thank you for your support.
  Marwn Sultan.


Hi,

I have recently configured a simple VPN to connect mobile
users to a central office.  With this experience behind me,
my advice to you is to get a professional in your local area
to do this for you.

This may cost you a little more upfront but in the long run
it will save you time, money, and a lot of headaches.  From
your question I believe it will take you a long time to
accomplish what you want, you will spend money on equip-
ment that you either don't need or doesn't do the job adequately
if at all.  And in the end you will have a configuration you may
not be really satisfied with in terms of security and performance.

I don't mean to sound unkind here or overly negative about what
you can accomplish on your own given the time and money.  But
there are a lot of issues to take into consideration which you may
not think are important now or which you may not even know exist
that will have a big impact on what you need to do.

I wish you the best of luck and I also want to assure you that what
you want to do has been done many times and a professional should
have no problems doing this for you.  If he appears unsure of how to
proceed then he probably hasn't done it before and is figuring it out
as he goes.

Sincerely,

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


Hard locks after dirty reboot

2006-04-12 Thread Joe Eversole
Greetings,

I am running a FreeBSD 6.0-RELEASE system that does some simple internal
network stuff (mail, web, dnsmasq also doing dhcp). I have recently started
running into an issue where the box will hang on startup if the disks are not
cleanly unmounted (ie: power failure). Used to, this wouldn't cause a
problem... but the last 3 power outages have caused reboot failures.

I will pull the box from it's headless location, plug in a keyboard and
monitor, and boot it up. Bootloader works, the boot menu comes up (where it
asks if you want single user mode, etc). It comes up and starts the process,
cursor turns white, machine hangs. Never displays the boot information, never
brings up network, etc. I boot off the FreeBSD CD, fsck the drives, and
everything is happy.

I have also noticed another peculiar behaviour. When the system boots up
normally, it does not display the normal boot messages (the messages that are
displayed by dmesg). It just appears to hang, then the login prompt appears.

It occurs to me as I write this all out, that the system may not be hanging up
as much as waiting for input when booting after a power failure, but I can't
see it. What can I do to return the dmesg output during boot up?

I know I am probably missing necessary info. Any help that can be given would
be appreciated. Thanks!

-- Joe

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


which mixer device do KDE system notifications use?

2006-04-12 Thread David J Brooks
My KDE system notifications are too loud relative to other sounds like the CD 
player. I know I can use mixer to adjust the volume, but which device should 
I be tampering with?

David
-- 
Sure God created the world in only six days,
but He didn't have an established user-base.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problem compiling KOffice

2006-04-12 Thread RW
On Wednesday 12 April 2006 17:04, Ashley Moran wrote:
> On Wednesday 12 April 2006 16:15, Ashley Moran wrote:
> > I'm not having much luck today...
> >
> > I just tried updating my KOffice and got this error:
> >
> > /usr/bin/ld: cannot find -ldpstk
>
> I just found this as a bug report:
> http://lists.freebsd.org/pipermail/freebsd-bugs/2006-January/016737.html
>
> Has it really not been fixed in all this time?  Has anyone here made
> KOffice 1.5 compile?

I rebuilt it yesterday on a ports tree synched the day before, and sereral 
other times since the end of January
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Help clarify the '-l' option of ls(1).

2006-04-12 Thread Dan Nelson
In the last episode (Apr 12), David Robillard said:
> I'd like to have an explication about the '-l' (minus L) option of
> the ls(1) command. What exactly is the signification of the second
> column in the display? The man page states that it is 'the number of
> links'. But what does it mean exactly?

It means "the number of links".

$ pwd
/tmp/z
$ touch a
$ ln a b
$ ls -la

total 4
drwxr-xr-x  2 dan   wheel  512 Apr 12 12:09 .
drwxrwxrwt  8 root  wheel  512 Apr 12 12:09 ..
-rw-r--r--  2 dan   dan  0 Apr 12 12:09 a
-rw-r--r--  2 dan   dan  0 Apr 12 12:09 b

"a" and "b" both have a link count of 2.  "." has a link count of 2
because it also exists in /tmp as "z".  ".." has a link count of 8
because it also exists as "." in /tmp, plus as "tmp" in /, plus as ".."
in 5 other subdirectories off /tmp.

-- 
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: Help clarify the '-l' option of ls(1).

2006-04-12 Thread David J Brooks
On Wednesday 12 April 2006 10:47, David Robillard wrote:
> Hello everyone,
>
> I'd like to have an explication about the '-l' (minus L) option of the
> ls(1) command.
> What exactly is the signification of the second column in the display? The
> man page
> states that it is 'the number of links'. But what does it mean exactly?
>
> The man page states:
>
> -l  (The lowercase letter ``ell''.)  List files in the long format,
>  as described in the The Long Format subsection below.
>
> So we check 'The Long Format' section which says:
>
>   The Long Format
> If the -l option is given, the following information is displayed for
> each file: file mode, number of links, owner name, group name, MAC
> label [output truncated]
>
> Does anyone know any details about this 'number of links' ???

Take a look at 'man 1 link'.

David
-- 
Sure God created the world in only six days,
but He didn't have an established user-base.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Faking multiple physical adapters for DHCPDISCOVER

2006-04-12 Thread Terrence Koeman
> -Original Message-
> From: Chuck Swiger [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 11, 2006 6:17 PM
> Subject: Re: Faking multiple physical adapters for DHCPDISCOVER
> 
> Terrence Koeman wrote:
> [ ... ]
> > I need to 'clone' the xl1 adapter to appear as three adapters, each
> > with a distinct MAC address. This because my provider has assigned me
> > three semi-static addresses of which I want to use 1 for outbound
> > NAT-traffic and two for static NAT.
> >
> > These addresses are semi-static because they are basically MAC-based
> > reservations on the providers DHCP server, and it happens to be that
> > I'm required to aquire a DHCP lease for all three addresses for
> > routing to work properly. If I configure the addresses statically the
> > connectivity 'disappears' after a while.
> 
> The reason why your ISP has configured their system in such a fashion is to
prevent people from claiming multiple static IPs from a single machine.
> 
> If you're not happy with their AUP, use another provider, or pay for a
dedicated IP allocation of whatever size you need.
> 
> --
> -Chuck

That's not the case here, I'm actually trying to use less IP's. And besides
that my ISP allows up to 16 IP's to be used in their AUP.

I have about 5 clients that can share 1 IP with NAT and I have 2 other
clients that need to have an IP of their own.

If I can have all IP's bound to the server then I can simply NAT the 5
clients and static-NAT the remaining 2. Otherwise I'd need to bridge/route
and do NAT at the same time, which is not possible here, because then the 5
NAT-ed clients would need to get their IP's from the local DHCP server and
the 2 bridged clients would need to get them from the ISP DHCP server. I
could block DHCP from being bridged and do DHCP proxying for the other 2
clients, but it'd make it all much more complicated.

-- 
Regards,
Terrence Koeman

MediaMonks B.V. (www.mediamonks.com)
Please quote all replies in correspondence.


smime.p7s
Description: S/MIME cryptographic signature


Re: Forcing build of vulnerable port

2006-04-12 Thread Giorgos Keramidas
On 2006-04-12 18:17, Erik Norgaard <[EMAIL PROTECTED]> wrote:
> Hi:
>
> I am working with java card and it seems that I need to use jdk12, to
> install that I need jdk11, which fails because of a reported vulnerability.
>
> How do I force building a vulnerable port?

I think you can still install vulnerable ports, with:

env DISABLE_VULNERABILITIES=yes make install

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


Help clarify the '-l' option of ls(1).

2006-04-12 Thread David Robillard

Hello everyone,

I'd like to have an explication about the '-l' (minus L) option of the ls(1) 
command.
What exactly is the signification of the second column in the display? The 
man page

states that it is 'the number of links'. But what does it mean exactly?

The man page states:

-l  (The lowercase letter ``ell''.)  List files in the long format,
as described in the The Long Format subsection below.

So we check 'The Long Format' section which says:

 The Long Format
   If the -l option is given, the following information is displayed for
   each file: file mode, number of links, owner name, group name, MAC label
   [output truncated]

Does anyone know any details about this 'number of links' ???

Many thanks,

David

_
Take charge with a pop-up guard built on patented Microsoft® SmartScreen 
Technology  
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines 
 Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.


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


Re: PPC version of FreeBSD

2006-04-12 Thread David Stanford
Jose,

http://www.freebsd.org/platforms/ppc.html

ftp://ftp.freebsd.org/pub/FreeBSD/releases/ppc/ISO-IMAGES/6.0/

-David
On 4/12/06, Jose Hales-Garcia <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> I read that a PPC version of FreeBSD in the works, yet I don't see it
> available from the downloads site.
>
> Is it still planned and can I get it now?
>
> I'm benchmarking an Xserve and would like to use FreeBSD instead of
> Linux.
>
> Thank you for your attention,
> Jose
>
> ___
> 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]"


PPC version of FreeBSD

2006-04-12 Thread Jose Hales-Garcia


Hi,

I read that a PPC version of FreeBSD in the works, yet I don't see it  
available from the downloads site.


Is it still planned and can I get it now?

I'm benchmarking an Xserve and would like to use FreeBSD instead of  
Linux.


Thank you for your attention,
Jose

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


Forcing build of vulnerable port

2006-04-12 Thread Erik Norgaard
Hi:

I am working with java card and it seems that I need to use jdk12, to
install that I need jdk11, which fails because of a reported vulnerability.

How do I force building a vulnerable port?

Thanks, Erik
-- 
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Wanted: Flash player for ....

2006-04-12 Thread Greg Barniskis

Andy Greenwood wrote:

On 4/12/06, Paul Schmehl <[EMAIL PROTECTED]> wrote:

Ashley Moran wrote:



Petition?  How about we sue them?  How can a vendor dictate what
platform they allow their software to run on?  Just because they
designed it for some other OS doesn't mean, if I can figure out a way to
make it work, that they can tell me I can't run it on that platform.



With the Current EULA, that's exactly what they CAN do


Indeed they can, and at least in the U.S., commerce law basically 
backs their rights to be total asses about it if they so choose. 
It's their intellectual property and you must toe their line on 
their terms, whatever the terms. Pulling it from ports was the only 
logical short-term response to this silly restrictive language.




I'm not a lawyer either, but frankly I think their EULA is unenforceable

and their attitude ought to cost them customers.


They don't really need to enforce it themselves. The Business 
Software Alliance will gladly descend on suspected violators of any 
commercial software EULA with a horde of lawyers and auditors and 
fines in the 5-6 figure range per violation. Would they, in the case 
of a lone user who's just trying to browse the Web? Probably not, 
but stranger things have happened (RIAA, Sony DRM, etc.).


FWIW, I don't really care if this gets resolved. I'd estimate 95% of 
Flash content I'm exposed to is somewhat-to-totally undesirable (way 
too animated ads), and the remainder's value is mainly just 
entertainment-oriented and not so precious that I'd really fight for 
it. On the other hand, I'd applaud anyone who does fight it, on 
principle alone. It's a bad EULA, 'nuff said. Good luck!



--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problem compiling KOffice

2006-04-12 Thread Ashley Moran
On Wednesday 12 April 2006 16:15, Ashley Moran wrote:
> I'm not having much luck today...
>
> I just tried updating my KOffice and got this error:
>
> /usr/bin/ld: cannot find -ldpstk
>

I just found this as a bug report: 
http://lists.freebsd.org/pipermail/freebsd-bugs/2006-January/016737.html

Has it really not been fixed in all this time?  Has anyone here made KOffice 
1.5 compile?

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


Re: sysinstall won't write fs to new disk, bad magic number

2006-04-12 Thread Oliver Iberien
On Wednesday 12 April 2006 04:18, Lowell Gilbert wrote:
> Oliver Iberien <[EMAIL PROTECTED]> writes:
> > There was a thread about this a while ago, but it did not seem to end in
> > a solution... In any case, I have a 160GB Seagate drive that I was trying
> > to mount a partition on as /disk2. I went through the instructions in the
> > Handbook under "Formatting Media for Use With FreeBSD." No formatting
> > seemed to be happening, though. When I added it to fstab, something in
> > KDE found it and then failed to open it. mount shows that it has not been
> > mounted, and if I try to mount it:
> >
> > bsd# mount -u /dev/ad1s2c /disk2
> > mount: /dev/ad1s2c on /disk2: specified device does not match mounted
> > device bsd# mount /dev/ad1s2c /disk2
> > mount: /dev/ad1s2c: Input/output error
> >
> > I looked at the previous thread and then tried:
> >
> > bsd# newfs /dev/ad1s2c
> > /dev/ad1s2c: 52627.0MB (107780084 sectors) block size 16384, fragment
> > size 2048
> > using 287 cylinder groups of 183.77MB, 11761 blks, 23552 inodes.
> > super-block backups (for fsck -b #) at:
> >  160, 376512, 752864, 1129216, 1505568, 1881920, 2258272, 2634624,
> > 3010976, ...
> >  107260480, 107636832
> > cg 0: bad magic number
> >
> > I had two partitions on it, one to be used for linux later on. I tried
> > swapping them out, but no difference.
> >
> > This drive worked under linux. Any ideas?
>
> Sounds like you didn't write a disklabel on it.
> That's covered in the tutorial you mentioned...

I used the disklabel tool in sysinstall. But it did not seem to do anything...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Problem compiling KOffice

2006-04-12 Thread Ashley Moran
I'm not having much luck today...

I just tried updating my KOffice and got this error:

/usr/bin/ld: cannot find -ldpstk

Does anyone know what I need to install to get it working?  (And why it isn't 
installed as a dependency?)

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


Re: Wanted: Flash player for ....

2006-04-12 Thread Andy Greenwood
On 4/12/06, Paul Schmehl <[EMAIL PROTECTED]> wrote:
>
> Ashley Moran wrote:
> > On Wednesday 12 April 2006 02:37, Eric Schuele wrote:
> >> Either way... I hope somehow they see fit to loosen the language a bit
> >> in the future.
> >
> > Can't we petition Adobe somehow?  I'm a bit stuck now - my company's
> main
> > application is written in Flash!
> >
> Petition?  How about we sue them?  How can a vendor dictate what
> platform they allow their software to run on?  Just because they
> designed it for some other OS doesn't mean, if I can figure out a way to
> make it work, that they can tell me I can't run it on that platform.


With the Current EULA, that's exactly what they CAN do


I'm not a lawyer either, but frankly I think their EULA is unenforceable
> and their attitude ought to cost them customers.


I'll agree with you here. Hopefully they'll see the light and change the
EULA.

--
> Paul Schmehl ([EMAIL PROTECTED])
> Adjunct Information Security Officer
> The University of Texas at Dallas
> http://www.utdallas.edu/ir/security/
>
>
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Wanted: Flash player for ....

2006-04-12 Thread Jim Stapleton
> I'm not a lawyer either, but frankly I think their EULA is unenforceable
> and their attitude ought to cost them customers.

This isn't the most abusive thing they've done to date, not even
close, and people still use their software (unfortunately), I doubt
it'll change much...

Overall, their platform concepts aren't excessively bad (for the most
part), but as far as the implementation goes, I'd rather stick to
something 3rd party...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


exclude root's mail

2006-04-12 Thread Robin Becker
For some reason my FreeBSD 6.0 server's root account has started to receive 
spam. Is there a simple way to restrict all mail for root to come from a 
specified local domain eg 192.168.0.0/8? I'm a naive sendmail person so please 
be gentle :)

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


Re: Wanted: Flash player for ....

2006-04-12 Thread Paul Schmehl

Ashley Moran wrote:

On Wednesday 12 April 2006 02:37, Eric Schuele wrote:

Either way... I hope somehow they see fit to loosen the language a bit
in the future.


Can't we petition Adobe somehow?  I'm a bit stuck now - my company's main 
application is written in Flash!


Petition?  How about we sue them?  How can a vendor dictate what 
platform they allow their software to run on?  Just because they 
designed it for some other OS doesn't mean, if I can figure out a way to 
make it work, that they can tell me I can't run it on that platform.


I'm not a lawyer either, but frankly I think their EULA is unenforceable 
and their attitude ought to cost them customers.


--
Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


smime.p7s
Description: S/MIME Cryptographic Signature


  1   2   >