Re: Website

2007-11-19 Thread [LoN]Kamikaze
Fernando Apesteguía wrote:
> On Nov 19, 2007 5:11 PM, Jerry McAllister <[EMAIL PROTECTED]> wrote:
>> On Sun, Nov 18, 2007 at 10:40:27AM -0600, Chris wrote:
>>
>>> On Sun, 18 Nov 2007 16:34:56 +
>>> "Frank Shute" <[EMAIL PROTECTED]> wrote:
>>>
 On Sun, Nov 18, 2007 at 09:41:51AM -0600, Chris wrote:
> ... seems to be going bonkers?!
>
> --
> Best regards,
> Chris

 Your post is a little short of information.

 http://www.catb.org/~esr/faqs/smart-questions.html

 HTH

>>> Not at all. I assume most on this list are intelligent enough to click
>>> on a browser and head to the FBSD site to see it's not functioning.
>>
>> Oh, you mean the FreeBSD website, not yours.
> 
> I already reported this in a thread called "Problems with
> www.freebsd.com". It is taking too long time to fix this problem IMHO.
> In my case I can't access the web at all. What about the people who
> want to try FreeBSD? They will end up sick and tired of the
> unresponsiveness of the site.
> 

I suggest using the FreeBSD Website: http://www.freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Website

2007-11-18 Thread [LoN]Kamikaze
Tino Engel wrote:
>
>Seriously overusing smileys and color and fonts will make you come off
>like a giggly teenage girl, which is not generally a good idea unless
>you are more interested in sex than answers.
>
>8-) 8-) 8-)
>What does that mean?

Displaying your interest doesn't mean you'll get any. :(
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: congrlations to the freebsd developers

2007-11-17 Thread [LoN]Kamikaze
Aryeh M. Friedman wrote:
> 2. I meant features  not formats and since I am using amd64 no wine

Setting up FreeBSD i386 in a jail seems to do the job for most people. You can
have a whole i386 system in a jail and it won't even recognize it's running on
an amd64 kernel.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: What do I put in fstab to get my DVD/CDROM burner to work?

2007-11-17 Thread [LoN]Kamikaze
Gary Kline wrote:
> Okay, I've set vfs.usermount=1, but both totem and kmplayer
> refuse to play my audio-CD.  Using #mount alone (as root)
> doesn't say anything about /dev/acd0.  I have tried to mount 
> the CD ::

Just start cdcontrol and enter play.

You don't need any entries in /etc/fstab to play audio CDs. Only the rights to
access the device /dev/acd0 have to be set. If other applications cannot play
CD-audio, you just have to configure them to use the right device.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: What do I put in fstab to get my DVD/CDROM burner to work?

2007-11-17 Thread [LoN]Kamikaze
David J Brooks wrote:
> On Friday 16 November 2007 08:23:21 pm Gary Kline wrote:
>>  I've googled aroound, and can't be sure what to  add in the
>>  FStype column to get my DCD/CDROM  burners to work.  Ubuntu
>>  installed ny 2005 burner automagically.  Nothing like that for
>>  FreeBSD, so can anybody clue me in what I substitute for
>>  "udf" and "cd9660"?
>>
>>  This is the old and current fstable:
>>
>>
>> # DVD drive (top)
>> /dev/acd0   /media/cdroms/0 udf ro,noauto   0   0
>> # CD-burner (bottom)
>> /dev/acd1   /media/cdroms/1 cd9660  ro,noauto   0   0
> 
> cd9660 is what you need. for the burner at least though, you'll want to make 
> it rw rather than ro.

As far as I know it's not possible to write a CD/DVD by copying stuff to the
mount. cd9660 are always read-only. CD/DVD burning always goes right through
the device /dev/acd0 or the CAM interface /dev/cd0.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Ports with GUI configs

2007-11-15 Thread [LoN]Kamikaze
Chuck Robey wrote:
> [LoN]Kamikaze wrote:
>> Chuck Robey wrote:
>>> RW wrote:
>>>> On Mon, 12 Nov 2007 22:54:33 +0100
>>>> Tino Engel <[EMAIL PROTECTED]> wrote:
>>>>
>>>>> RW schrieb:
>>>>>> On Mon, 12 Nov 2007 16:10:29 -0500
>>>>>> Chuck Robey <[EMAIL PROTECTED]> wrote:
>>>>>>
>>>>>>  
>>>>>>> I hope not.  We really need to move this out of being a ports
>>>>>>> buildtime thing.  Currently, to build ports in batch either
>>>>>>> requires someone to be chained to the computer, so as to intercept
>>>>>>> all those screens, or to simply agree to install everything, with
>>>>>>> no inpput whatever. 
>>>>>> That's not correct, you can run make config-conditional or  make
>>>>>> config-recursive anytime you like.
>>>>>>
>>>>>>   
>>>>> But not on a portupgrade... I don't want to run config-recursive on
>>>>> the whole ports tree though
>>>> It's not hard to script it though, something like the following
>>>> would do
>>>>
>>>> #!/bin/sh
>>>> for p in `pkg_version -ol'<' |awk '{ print $1 }'`; do
>>>>  cd  /usr/ports/${p} && make config-recursive done
>>> I can't believe you actually suggested this.  First thing, it would take
>>> you HOURS to complete, and you better not make even one mistake, 'cause
>>> you couldn't even go back far enough to figure out what the name was of
>>> the port you muffed.  Beyond that, since most ports ask questions formed
>>> with the name of the target dependency, aznd not asking things like "do
>>> you want such-and-such capability", so you have to be conversant with
>>> the names and capabilities of nearly 10,000 ports, to be able to do that
>>> job.
>>
>> It will only operate on 1 ports if you have 1 ports installed
>> and a
>> majority of them is outdated.
> 
> Are you seriously saying that a decision regarding what ports are to be
> installed should be made after they are installed?  If you have 10,000
> ports installed, you obviously have no need whatever to make any
> decision at all.   Whether or not they are outdated is utterly
> irrelevant, because if they're installed, it may be inferred that you
> wanted them.  It's the decision whether to install them or not that
> we're talking about.
> 
> Upgrading has no bearing whatever on this.  Why do you bring that up?
> 

We're talking about a suggested shell script that calls config-recursive for
outdated ports. I did not bring that up.

I'm out of this. It's a bikeshed after all.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Ports with GUI configs

2007-11-12 Thread [LoN]Kamikaze
Chuck Robey wrote:
> RW wrote:
>> On Mon, 12 Nov 2007 22:54:33 +0100
>> Tino Engel <[EMAIL PROTECTED]> wrote:
>>
>>> RW schrieb:
 On Mon, 12 Nov 2007 16:10:29 -0500
 Chuck Robey <[EMAIL PROTECTED]> wrote:

  
> I hope not.  We really need to move this out of being a ports
> buildtime thing.  Currently, to build ports in batch either
> requires someone to be chained to the computer, so as to intercept
> all those screens, or to simply agree to install everything, with
> no inpput whatever. 
 That's not correct, you can run make config-conditional or  make
 config-recursive anytime you like.

   
>>> But not on a portupgrade... I don't want to run config-recursive on
>>> the whole ports tree though
>>
>> It's not hard to script it though, something like the following would do
>>
>> #!/bin/sh
>> for p in `pkg_version -ol'<' |awk '{ print $1 }'`; do
>>  cd  /usr/ports/${p} && make config-recursive done
> 
> I can't believe you actually suggested this.  First thing, it would take
> you HOURS to complete, and you better not make even one mistake, 'cause
> you couldn't even go back far enough to figure out what the name was of
> the port you muffed.  Beyond that, since most ports ask questions formed
> with the name of the target dependency, aznd not asking things like "do
> you want such-and-such capability", so you have to be conversant with
> the names and capabilities of nearly 10,000 ports, to be able to do that
> job.

It will only operate on 1 ports if you have 1 ports installed and a
majority of them is outdated.

I'm of the impression that you don't really know what the commands do you're
shown here and come to ridiculous conclusions because of this.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Ports with GUI configs

2007-11-12 Thread [LoN]Kamikaze
Steve Franks wrote:
> Not to mention, as a novice, I've discovered that for 20-60% of all
> ports, messing with the defaults makes the port fail to build
> 
> Steve

This sounds rather unlikely if you use the provided WITH_* flags. In case you
do something else with ports - well it's not meant to be done and thus your
problem if it doesn't work.

Messing with ports in an unintended way just screws up the plists, which
results in an inconsistent package database.

PS: Please don't top-post.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Ports with GUI configs

2007-11-12 Thread [LoN]Kamikaze
Chuck Robey wrote:
> Garrett Cooper wrote:
>> [LoN]Kamikaze wrote:
>>> Garrett Cooper wrote:
>>>USE flags are a pain in the ass (former Gentoo user of 3 years).
>>>> Introducing that type of complexity into a ports system isn't necessary
>>>> and does unexpected things at times for end-users when developers
>>>> change
>>>> variable names or behavior, which happened quite often with Gentoo.
>>>>make config-all or something similar to have people fill in their
>>>> desired config info in all of the ncurses config sections would however
>>>> be a much better idea I think..
>>>> -Garrett
>>>> 
>>>
>>> Are you talking about make config-recursive?
>>>   
>> Yes =\. Lemme guess.. that's already an option :)?
> 
> I hope not.  We really need to move this out of being a ports buildtime
> thing.  Currently, to build ports in batch either requires someone to be
> chained to the computer, so as to intercept all those screens, or to
> simply agree to install everything, with no inpput whatever.  These are
> both bad options.

No, you got it wrong. You run 'make config-recursive' and get all the
configure screens at once. Afterwards you can just run 'make install clean'
and go away. Read the ports(7) manpage.

If you're using sysutils/bsdadminscripts you can run 'portconfig-recursive -a'
before a 'portupgrade -a' in order to avoid having someone sit in front of the
machine during the portupgrade.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Ports with GUI configs

2007-11-12 Thread [LoN]Kamikaze
Garrett Cooper wrote:
> Chuck Robey wrote:
>> RW wrote:
>>> On Mon, 12 Nov 2007 08:14:02 -0800
>>> "Mark D. Foster" <[EMAIL PROTECTED]> wrote:
>>>
 Vince wrote:
> Ashley Moran wrote:
>  
>> Hi
>>
>> I was just wondering, what is the motivation behind the GUI
>> configuration for some ports?  Simply put, they drive me up the
>> wall. I've lost count of the number of times I've come back to a
>> big install to find it hanging on a config screen.  Possibly I'm
>> missing something. 
> I agree though, I often suffer the same problem, coming back after
> a few hours to a build that should have finished to find its
> sitting on the first dependency.
>   
 Maybe it's been suggested before (in which case I add my vote) but a
 timeout mechanism would solve this... give the user 10s to provide a
 keypress else bailout and use the "default" options.

>>>
>>> That would involve standing-over the build for hours or days in case
>>> you miss a 10-second window - it's just not practical IMO.
>>>
>>>
>>> Setting the menus is pretty easy to script, and you can also set BATCH
>>> to take the default options
>>
>> A suggestion I recently made on the ports list would, as a side
>> effect, make a better solution.  You see, allowing a default timer
>> does get things built, but then it allows no user input to let users
>> avoid installing software  that they either have no ise for, or do not
>> want for other reasons.  I have enough input now, so I'm going ahead
>> and coding up the Makefile mods to allow my system, but it looks
>> somewhat like the Gentoo Portage "USE" flags system.  Not identical,
>> and I am only proposing to use their USE flags, not the rest (I very
>> much like using Makefiles as FreeBSD ports does, and wouldn't change
>> that.)
>>
>> If you want to see what it is, go look at recent postings on ports
>> list.  It'll probably get changed, as I get something for folks to
>> look at and discuss.
> 
>USE flags are a pain in the ass (former Gentoo user of 3 years).
> Introducing that type of complexity into a ports system isn't necessary
> and does unexpected things at times for end-users when developers change
> variable names or behavior, which happened quite often with Gentoo.
>make config-all or something similar to have people fill in their
> desired config info in all of the ncurses config sections would however
> be a much better idea I think..
> -Garrett

Are you talking about make config-recursive?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Quick question about PF and ALTQ

2007-11-12 Thread [LoN]Kamikaze
Peter Boosten wrote:
> On Mon, November 12, 2007 08:04, Girish Venkatachalam wrote:
> 
>> Hope the above explanation suffices.
> 
> Yu, it does. Very nice explanation, thanx.
> 
>>
>> Can you clarify your needs a bit more?
> 
> Well, it's actually quite simple: our internet access line, which is used
> by several people (directly, without a proxy server, but with a FreeBSD
> firewall). Our management wants to block unwanted traffic (so not: wants
> to block unwanted sited - which would be very easy), like p2p and online
> radio, since this traffic is:
> - non business related
> - bandwidth consuming
> 
> Peter

You just drop all traffic except for that over wanted ports, such as for http,
https, ftp, smtp, pop3, maybe some instant messengers...

That won't help against tunneling, though.



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


Re: make configure vs first make

2007-11-11 Thread [LoN]Kamikaze
Le Cocq Michel wrote:
> Matthew Seaman a écrit :
>> That's because you need to do:
>>
>>make config
>>
>> which has a very different effect to 'make configure.'
>>
>>  Matthew
>>
> 
> can you explain the != ?
> 
> thanks
> 
> Michel

make configure
runs the configure build stage if the port has one.

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


Re: Configure to use WITH_DEBUG

2007-11-05 Thread [LoN]Kamikaze
White Hat wrote:
>> In response to White Hat :
>>
>>> I have a system that I am setting up that will only be used to test 
>>> programs.
>>> I therefore want all programs built with debug code. To facilitate that 
>>> task, I
>>> was wondering if I could put a global flag in the '/etc/make.conf' file.
>>> Assuming that would work, which of these is the better solution.
>>>
>>> 1) WITH_DEBUG
>>> 2) WITH_DEBUG=1
>>> 3) WITH_DEBUG=true
>>> 4) -DWITH_DEBUG
>>>
>>> If there is a better solution, I would appreciate hearing about it.
>> #2 and #3 will work.
>> The key is that the variable is set, not what it's set to. As a joke,
>> you can do WITH_DEBUG=no in make.conf, and confuse the hell out of other
>> sysadmins.
>>
>> Note that there may be additional port-specific debugging that would
>> not be turned on by the global WITH_DEBUG, but you'll have to handle
>> that on a port-by-port basis.
>>
>> -- 
>> Bill Moran
>> http://www.potentialtech.com
>  
> Interesting. Now if I want to turn DEBUG off for a particular port, would I 
> use:
>  
> 1)WITH_DEBUG
> 2)WITH_DEBUG=
> 3)WITH_DEBUG=""
>  

The make manpage is your friend:

.if ${.CURDIR:M/usr/ports/category/port}
.undef WITH_DEBUG
.endif

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


Re: Is there a way to compare what is in the ports tree with what is installed?

2007-11-05 Thread [LoN]Kamikaze
Brett Davidson wrote:
> ie. If I had a particular version of the ports tree on a server, how
> could I check to see if any of the programs in that tree were actually
> installed?
> 
> Is there a simple command or sequence of commands to do this?
> 

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


Re: Determining the number of files in a directory

2007-11-03 Thread [LoN]Kamikaze
Daniel Bye wrote:
> On Sat, Nov 03, 2007 at 12:41:51PM +, Daniel Bye wrote:
>> On Sat, Nov 03, 2007 at 05:27:06AM -0700, White Hat wrote:
>>> This is probably a dumb question; however, I never let a little thing like 
>>> that bother me in the past.
>> Heheh! You and many more, my friend, myself absolutely included!
>>
>>> Using FreeBSD-6.2 and Bash, how do I determine the number of files in a 
>>> given directory? I have tried all sorts of combinations using different 
>>> flags with the 'ls' command; however, none of them displays the number of 
>>> files in the directory.
>>  $ ls | wc -l
>>
>> will show you how many files and directories in the current (target)
>> directory. To count just files, and exclude directories, you could try
>> something like
>>
>>  $ find /target/directory -type f -print | wc -l
> 
> Except of course, that would descend into the subdirectories you're trying
> not to count... Sorry - an object lesson in not hitting send before you've
> tested what you scribbled.
> 
> Dan
> 

Well just use the Unix tool for everything - grep:

$ ls -F | grep -Ev '/$'|wc -l

or if you also want to exclude symlinks:

$ ls -F | grep -Ev '/$|@$'|wc -l
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


why is /etc/termcap a link?

2007-11-01 Thread [LoN]Kamikaze
Is there a reason that /etc/termcap is a link to /usr/share/misc/termcap? It
makes it necessary to mount /usr to be able to run vi, even /rescue/vi.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Xorg and WSXGA

2007-11-01 Thread [LoN]Kamikaze
Crist J. Clark wrote:
> On Tue, Oct 30, 2007 at 07:50:10PM -0400, Brian A. Seklecki wrote:
>> On Mon, 2007-10-29 at 23:36 -0700, Crist J. Clark wrote:
>>> I finally dumped the CRT and bought a ridiculusly cheap 20"
>>> LCD monitor. Works great except I'm having problems getting it
>>> to go widescreen and use the full display area.
>>>
>>> I followed the instruction
>> xinit -- -verbose 9 -logverbose 9
>>
>> It should print out a list of modes that it _will_ validate.
> 
> It doesn't really give me any useful additional information
> that I notice. I still don't understand why it refuses to go for
> 1680x1050. The log is attached.

Guessing from the log you should add a Virtaul value to your configuration the
following is from my 2 Screen setup:

Section "Screen"
Identifier  "Screen LVDS-CRT"
Device  "ATI Radeon 7500 Mobile LVDS-CRT"
Monitor "LVDS Monitor"
Monitor "VGA-0 Monitor"
DefaultDepth 24
SubSection "Display"
Depth   24
Virtual 3072 1536
EndSubSection
EndSection

Just add Virtual settings matching your desired resolution. Also, guessing
from your log you should gather as much technical data about the screen as
possible and hack it into a modeline generator. You can test modelines on the
fly with xrandr, before you enter them into the xorg.conf.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: is this for OO-2 for FBSD?

2007-10-31 Thread [LoN]Kamikaze
Gary Kline wrote:
>   I'm in  the middle of upgrading some platforms and just caught
>   OOo_OOG680_m6_source.tar.bz2 (278MB) being downloaded. The port
>   says that this is OO-2.3, but the build says Ishould have
>   11GB of disk and ~2GB of memory.
> 
>   I somehow downloaded OO_2.3 as a package on one platform.  Does
>   this make any sense?  How many of us have 2 gigs of memory?
>   Seems more than a biit irrational to me.  Or did my
>   portupgrade -aP grab the wrong port?
> 
>   gary
> 

In my experience 1G of memory is fine to build OpenOffice, but that HD space
is required.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: xmh port in 6.2

2007-10-17 Thread [LoN]Kamikaze
Pollywog wrote:
> I am doing an upgrade of ports in FreeBSD 6.2 and apparently xmh is no longer 
> part of the Ports collection, but when I saw "yes" to remove it, portmanager 
> complains that it is required by xorg and xfce.  What is the problem here, 
> anyone know?

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


Re: duplicating a dvd video

2007-07-21 Thread [LoN]Kamikaze
Dave wrote:
> Hello,
>I asked about this a while back and got some good feedback. The issue
> is it isn't happening.
> 
> ...
> 
> I inserted it and ran:
> 
> dvdbackup -i /dev/cd1 -o /path/to/backup/area -M
> 
> ...
>

For get about fancy tools or even dd. Simply use

# cp /dev/cd1 backup.iso

This way you don't even have to worry about the block size (like with dd).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Swap size

2007-07-19 Thread [LoN]Kamikaze
Derek Ragona wrote:
> At 03:03 AM 7/19/2007, Gabriel Linder wrote:
>> Hi,
>>
>> I plan to setup FreeBSD 6.2-RELEASE on my Core Duo laptop with 1GB of
>> RAM.
>>
>> The handbook says "ideal swap size is 2xRAM", so should I use 2GB of
>> swap ?
> 
> Yes unless you know how many applications will ever be run and their run
> size.  The 2xRAM is so you can always have a reasonable performance
> allowing swap.  You can still run out of swap, and this will cause a
> panic.  With disks so cheap, why not use 2XRAM?

Running out of swap doesn't cause a panic, it causes the largest process to be
killed.


>>  This seems a bit huge to me, I never used more than 400MB on Linux.
>> If so, is there a limit of swap partition size (or number) on i386
>> (for Linux it's 2GB per partition and 32 partitions max, but I don't
>> know for FreeBSD) ?

For a Desktop System 400M should be enough, I don't remember my Desktop system
to ever use more than 1m of swap. However, the swap size should be large enough
for a dump during a panic. So if you want to be able to do some debugging if
you ever run into panics, your swap should be at least as large as your memory.
Assuming that you might add more memory one day something between 2 or 4GB of
swap look reasonable to me.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: GCC 4.2.1: Replacing builtin compiler

2007-07-07 Thread [LoN]Kamikaze
Jan Sebosik wrote:
> Hi
> 
> how safe is it to compile FreeBSD-world without builtin GCC, and replace
> it with GCC 4.2.1 from ports ?
> 
> Should I recompile world and kernel after installing new GCC with it ?
> 
> Best regards
> 

GCC from ports links against the GNU libs, unlike GCC in base, which links to
the FreeBSD libs. So it's not as trivial as you seem to think.

You might try to use GCC from the FreeBSD-CURRENT branch.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: OpenOffice.org 2.2.1 quits on launch

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

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


Re: IPsec based on rfc 4303

2007-07-02 Thread [LoN]Kamikaze
[EMAIL PROTECTED] wrote:
> hi,
>
>   i use freeBSD 5.2 for developing software.
>   i want to upgrade IPsec based on rfc4303.
>
>   how about ports of IPsec implementation based on RFC 4303
>
>   best regards
>   Ckadi

There's no connection to ports here, to fix IPsec you have to fix your kernel.
5.2 wasn't even a stable release, I strongly doubt it's still maintained. I
suggest you update to a 5.5 or 6.2 kernel and world.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: I guess I misread.

2007-06-22 Thread [LoN]Kamikaze
Blah Blatz wrote:
> I thought that I followed the directions in UPDATING regarding Xorg 7.2, but, 
> uh, I guess I didn't.  My computer now seems beyond repair, with respect to 
> X.  I'm strongly considering giving up, wiping the hard drive, reinstalling 
> FreeBSD, and restoring my personal stuff from backups.
> 
> So, my questions:
> 
> If I do that, and install the latest xorg on a completely fresh FreeBSD box:
> 
> Do I have to set XORG_UPGRADE (or whatever it's called)?
> 
> Should I still use portupgrade-devel instead of portupgrade? I would rather 
> just use portupgrade, if I can.
> 
> Do I have to follow any of the other directions in UPDATING regarding this... 
> stuff?
> 
> Or can I just do a normal old "cd /usr/ports/x11/xorg; make install" without 
> any of the special new exciting xorg crap in UPDATING?

If you use a minimal install, without any ports, you can just start with
creating the link: /usr/X11R6 /usr/local.

Then there is not reason to use portupgrade (other than comfort) or follow any
of the instructions in UPDATING.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 6.2-STABLE / Gnome / Beryl (recipe)

2007-06-22 Thread [LoN]Kamikaze
Eduardo Viruena Silva wrote:
> Hello Guys,
> 
> After several hours of compilation, I have got
> my FreeBSD/Gnome/Beryl working properly.  It took
> almost 2 days of compiling processes.
> 
> To those who are interested, here is a log of
> what I did:
> 

I have a couple of suggestions.

> ...
> 
> Once it was working, I installed cvsup-without-gui:
> 
>  michelle#  pkg_add -r cvsup-without-gui
>  michelle#  rehash
> 

Why not use csup?

> ...
> 
> Prepared my system to build the world.
> 
>michelle#  cd /etc/src
>michelle#  make buildworld
> 
> (several hours later...)
> 
>michelle#  make installworld
>michelle#  mergemaster
> 
> This last step makes a lot of questions.
> I aswered "i" (install) to all of them.
> 
> 
> Configured my kernel:
> 
>michelle# cd /usr/src/sys/i386/conf
>michelle# cp GENERIC eviruena
> 
> Added my particular necessities:
> 
> ...
>michelle# vi eviruena
>options  SMP
>device   atapicam
>device   drm
>device   i915drm
>device   sound
> ...
>michelle# config eviruena
>michelle# cd ../compile/eviruena
>michelle# make cleandepend
>michelle# make depend
>michelle# make
>michelle# make install
>michelle# reboot
> 
> In this point you have to check that you have
> the device file: /dev/agpgart, if you don't,
> perhaps your graphic card is not properly
> handled by FreeBSD.

I think the rcommended procedure is to install the new kernel before installing
world. and why did you all this config and depend stuff instead of buildkernel,
installkernel?

> 
> I installed Xorg 7.2.  It can be obtained from
> FreeBSD packages:
> 
>michelle# pkg_add -r xorg

It's a good idea to create the Symlink /usr/X11R6 -> /usr/local before
installing anything. I expect future releases to have this out of the box.

> 
> it can take a lot of time, depending on your
> ISP.  Some others (fearless men) prefer to compile
> it from the ports, check the file
> /usr/ports/UPGRADING  before doing anything.
> 
> Now, the problem is to get "gnome" installed.
> I did not find it in the packages of 6-STABLE,
> so I compiled it:
> 
>michelle# setenv BATCH yes
>michelle# cd /usr/ports/x11/gnome2
>michelle# make clean install clean
> 
> as you can see, I am working with tcsh, if you
> prefered bourne shell, you have to type:
> 
> export BATCH=yes
> 
> instead of:
> setenv BATCH yes
> 
> 
> (one day later...)
> 
> [Michelle (my computer) had some problems to find
> "opal-2.2.8.tar.gz"; I found it by google-ing it, loaded
> it in /usr/ports/distfiles and continued Gnome compilation].
> 
> Finally, gnome was compiled and installed.
> 
> Then, I needed to compile beryl:
> 
> michelle# cd /usr/ports/x11-wm/beryl
> michelle# make clean install clean
> 
> 
> Next, I had to configure X.  It is quite simple, but it is
> a little tricky:
> 
>michelle# X -configure
> 
> I had to make some changes to the configuration
> obtained above, basicly I needed to include some options
> that are not loaded by default.  I have to say that I own
> an intel motherboard and I am using its graphic card
> (it is an i950GM).  The X configuration requires to
> include:
> 
> (in section "ServerLayout")
>Option   "AIGLX" "true"

This will freeze your system if you use radeon.

> ...
> 
> You must be warned that ATI and Nvidia Cards may requiere some
> other options, please take a look at:
> 
>  http://wiki.beryl-project.org/index.php/Install/FreeBSD
> 
> ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Apache, php?

2007-06-20 Thread [LoN]Kamikaze
Jack Barnett wrote:
> Jack Barnett wrote:
>> Eric Crist wrote:
>>  
>>> On Jun 20, 2007, at 8:56 PMJun 20, 2007, Jack Barnett wrote:
>>>
>>>
 Ivan Carey wrote:
   I don't have libphp5.so anywhere in /usr/local (did a find for
 it).
 the php5 port is broken? Or do I have to reinstall apache after php5?

   
>>> You need to enable build of the php5 apache extension when you build
>>> the port - it's not enabled by default.
>>>
>>> HTH
>>>
>>> Eric Crist
>>> 
>>
>> thanks.
>>
>> do you know how to do that off hand? :) :)
>>
>>
>>
>>   
> 
> disregarding... rebuilding now, I edited the Makefile

Ouch.

Just for the record:
# cd /usr/ports/lang/php5
# make config
Select the APACHE option.
# make build deinstall reinstall clean
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Portsnap

2007-06-19 Thread [LoN]Kamikaze
[EMAIL PROTECTED] wrote:
> Hi all,
> 
> I have just started using portsnap and I must say that I like it.. With
> that said, I am noticing something here that maybe a configuration issue
> on my end, but here is the deal:
> 
> I have a newly installed 6.2 box, and I ran portsnap fetch followed by
> portsnap extract.. This updated the ports tree just fine..
> 
> Now, I know that /usr/ports/sysutils/portupgrade was moved to
> /usr/ports/ports-mgmt/portupgrade.  This is visible when you use CVSup to
> update the ports tree (ie: /usr/ports/sysutils/portupgrade does not
> exist).  However with portsnap, the /usr/ports/sysutils/portupgrade
> directory still exists.  Is there a way to get portsnap to remove ports
> that were removed and/or moved?

Actually it does that, but only if the files have been created by it. I think
the manual states that you should 'rm -rf /usr/ports' before using portsnap for
the first time.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: X fails after upgrade to xorg-7.2; FreeBSD AMD64 w/ Radeon 9600 Pro

2007-06-17 Thread [LoN]Kamikaze
Byron Campbell wrote:
> Help, X was working just fine until I did a portupgrade of 
> xorg 6.9.0 to 7.2.
> 
> Looks like X is starting but my LCD monitor just goes black 
> with the monitor's OSD reporting "video input, out of range".
> 
> I've gone back through Xorg configuration 
> (via "xorgcfg -textmode") and verified correct settings for 
> my graphics card and the monitor's Horz. / Vert. scan 
> frequencies etc., everything being in order.
> 
> #Xorg -configure gives Driver "ati", Boardname "RV350 AP 
> [Radeon 9600]" and BusID "PCI:1:0:0"
> 
> I've also run #xorgcfg -textmode choosing Driver "radeon" and 
> Card "** ATI Radeon (generic).." and still no luck.
> 
> Please help. Anyone have their Radeon 9600 card working in 
> Xorg-7.2 with just a basic / non accelerated setup, or any 
> setup? 
> 
> Thanks,
> Byron
> 
> 
> System info:
> 
> FreeBSD 6.2 stable (AMD64)  
> Graphics card: ATI  Radeon 9600 Pro (using the VGA monitor 
> connection jack)
> Mainboard: MSI KT8 Neo2-F

I'd suggest searching for a ModeLine generator and entering the specs of your
screen.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problem with xorg 7.2 upgrade - xorg-docs and xorg-apps

2007-06-17 Thread [LoN]Kamikaze
Hello Nasty wrote:
> 
> "[LoN]Kamikaze" <[EMAIL PROTECTED]> wrote: Hello Nasty wrote:
>> I upgraded to xorg 7.2 a while ago, and everything seems to be working well, 
>> but my ports list shows the following out-of-date ports, and I can't seem to 
>> do anything about them:
>>
>> xorg-clients-6.9.0_3<   needs updating (port has 7.2)
>> xorg-documents-6.9.0<   needs updating (port has 1.3,1)
>  
> Use pkg_delete.
> 
> I try: "pkg_delete xorg-clients".
> 
> I get: "pkg_delete: no such package 'xorg-clients' installed".
> 
> Similar for xorg-documents.
> 
> Looking at the man page for pkg_delete, I tried "-f" ("Force removal of the 
> package"), but the same thing occurred.
> 
> Am I doing something wrong? Or any other suggestions?
> 
> Thanks.

Yes, you're not using the wohle package name. Use the complete package name.

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


Re: Problem with xorg 7.2 upgrade - xorg-docs and xorg-apps

2007-06-16 Thread [LoN]Kamikaze
Hello Nasty wrote:
> I upgraded to xorg 7.2 a while ago, and everything seems to be working well, 
> but my ports list shows the following out-of-date ports, and I can't seem to 
> do anything about them:
> 
> xorg-clients-6.9.0_3<   needs updating (port has 7.2)
> xorg-documents-6.9.0<   needs updating (port has 1.3,1)
> 
>> >From poking around on the net, I have gathered that these ports have been 
>> >replaced (in 7.2) by the new ports "xorg-apps" and "xorg-docs".  Those have 
>> >(apparently) been successfully installed:
> 
> xorg-apps-7.2   =   up-to-date with port
> xorg-docs-1.3,1 =   up-to-date with port
> 
> Nothing seems to get xorg-clients and xorg-documents out of my list.  
> 
> Portupgrade always just skips them, saying "Skipping 'x11/xorg-docs' 
> (xorg-documents-6.9.0) because it has already been ignored" (and something 
> similar for xorg-clients).
> 
> Make deinstall/make reinstall has no net effect.
> 
> I believe that I followed the instructions in /usr/ports/UPDATING regarding 
> xorg 7.2.
> 
> Does anyone have any idea how I can get these things out of my list?
> 
> Thanks in advance for any help.

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


Re: Upgrade xorg 7.2 breaks legacy nvidia 1.0-9631 driver ...

2007-06-16 Thread [LoN]Kamikaze
Kiffin Gish wrote:
> After I upgraded to xorg 7.2, I cannot get things to work anymore with my
> legacy nvidia 1.0-9631 driver (I have a Dell Inspiron 8200 laptop).
> 
> Originally, I downloaded the FreeBSD legacy driver from the official nvidia
> website and installed it under the then current X11BASE=/usr/X11R6.
> Everything worked just fine.
> 
> Until the upgrade to xorg 7.2, that is.
> 
> As instructed in the upgrade instructions, I changed ModulePath to
> "/usr/local/lib/xorg/modules" in xorg.conf, which I suspect is the root of
> my problems, since the original working driver has remained installed in the
> old X11BASE.
> 
> I've tried to install the driver from the nvidia-driver-9631 ports
> directory, but after struggling forever with all kinds of errors, I gave up
> and figured the best approach would be to somehow use my current setup,
> possibly copying and or linking to the right place.
> 
> Should I just reinstall the driver, but which X11BASE? How to remove the
> original files without messing up my system even more?
> 
> But I am not sure where to begin. Are there any kind folks out there who can
> give me a hand? 
> 
> Thanks alot in advance.
> 

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


Re: OpenOffice 2.2 dies under XFCE 4.4

2007-06-13 Thread [LoN]Kamikaze
Norberto Meijome wrote:
> Hi all,
> all of the sudden, i'm having problems with openoffice. I'm using 2.2, 
> installed from packages downloaded from the official packager. The "time to 
> crash" crash changes depending on what is done:
> 
>   - Writer seems to work the longest (by a few seconds)
>   - Calc dies right away
>   - the common interface stays on until I open a menu (or close it, if 
> opening didnt crash)... v strange.
> 
> What may be :
> Interestingly enough, if I run an XNest session from within my XFCE and log 
> in as another user, also under xfce 4.4, it has no problems at all.
> Same user, xfce4.4, default X server, OO dies.
> My account using twm, works fine. (twm under xnest works fine too).
> I haven't got another gnome-based WM at hand to test with.
> 
> What is not (i think) :
> I've built the whole thing locally (sigh) , but the same thing happens. I've 
> tested the locally built package on another machine (also using xfce4.4) and 
> the same thing happens. Both machines have ATI cards and are up to date in 
> all their packages. Both are running somewhat modified kernels based on 
> 6.2-STABLE (with no problems at all kernel-level).
> I thought it was related to new java libraries (refuted), glibmm update 
> (refuted). I can't think what else has changed between last night and this 
> morning in my computer(s).  Everything else in the system(s) is working fine.
> 
> 
> So I guess I'm onto something...i just don't know what yet :-D
> 
> I've done a full 
> ktrace -i openoffice.org-2.2.0 
> and dumped the text version of it at 
> 
> http://www.meijome.net/files/freebsd/oo_20070614 
> 
> (2 MB compressed, 8 MB uncompressed). OO is exiting with 0x4E , but i cant 
> figure out what it means or what's causing it.
> 
> Any clues, anyone? :)
> thanks!!

Try setting OOO_FORCE_DESKTOP to kde or none. This seems to be a GTK related 
issue.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Xorg problem 6.9 >> 7.2

2007-06-08 Thread [LoN]Kamikaze
Bernt Hansson wrote:
> [LoN]Kamikaze wrote:
>> Bernt Hansson wrote:
>>> Hello
>>>
>>> I've upgraded Xorg to 7.2 on a 6.2-stable machine according to UPDATING.
>>>
>>> If I'am trying startx as a normal user I get this error
>>>
>>>
>>> AUDIT:  : pid X: client 1 rejected from local host (uid
>>> 1001)
>>>
>>> Xlib: Connection to "0:0" refused by server
>>> Xlib: No protocol specified
>>>
>>> Starting from root no problem.
>>>
>>> As a normal user /usr/local/bin/startxfce4 starts fine.
>>>
>>> I'm guessing it's a permissions problem, is it?
>>
>> I suggest you check all the pathnames in your xorg.conf, I had a similar
>> problem and adjusting paths solved them.
> 
> What paths did you have in mind? I regenerated the xorg.conf file after
> upgrading.

Setting

ModulePath "/usr/local/lib/xorg/modules"

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


Re: Xorg problem 6.9 >> 7.2

2007-06-08 Thread [LoN]Kamikaze
Bernt Hansson wrote:
> Hello
> 
> I've upgraded Xorg to 7.2 on a 6.2-stable machine according to UPDATING.
> 
> If I'am trying startx as a normal user I get this error
> 
> 
> AUDIT:  : pid X: client 1 rejected from local host (uid 1001)
> 
> Xlib: Connection to "0:0" refused by server
> Xlib: No protocol specified
> 
> Starting from root no problem.
> 
> As a normal user /usr/local/bin/startxfce4 starts fine.
> 
> I'm guessing it's a permissions problem, is it?

I suggest you check all the pathnames in your xorg.conf, I had a similar
problem and adjusting paths solved them.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: CVS tags

2007-05-06 Thread [LoN]Kamikaze
Josef Grosch wrote:
> 
> I have been spending a lot of time building machines at work. Our engineers
> want to have the machine in question to have a specific version of FreeBSD,
> ie. FreeBSD 4.11-RELEASE-p11 for example. I have noticed that there is not
> a CVS tag for this in the tree. Is there a specific reason why we do not
> tag the tree for the patch levels?
> 
> 
> 
> Josef

Wouldn't that be Releng_4_11 or Releng_4_11p11?

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


Re: missing /usr/local in startup.sh files

2007-05-04 Thread [LoN]Kamikaze
David Banning wrote:
>>> . /usr/local/etc/rc.subr
>>>
>>> there must be a variable or setting for this that went missing for me.
>>> Could someone be kind enough to direct me here?
>> There shouldn't be a file /usr/local/etc/rc.subr. Did you by any chance move 
>> /etc/rc.subr to /usr/local/etc/?
>>
> 
> Maybe we are on different versions - I am using FreeBSD 4.9, and the man
> page states that where is belongs - note line after SYNOPSIS;
> ...

Well, 4.x is not supported by ports anymore. If there is no rc.subr in /etc, 
you can simply put a Symlink there as a workaround.
___
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 make Apache (2.2.4) less greedy, or Sendmail less polite?

2007-05-04 Thread [LoN]Kamikaze
Olaf Greve wrote:
> PS: This morning (and some of the other past few days as well) I took a
> closer look to the server loads, and it looks like during the better
> part of the morning the load is virtually 0%, and around midday (or
> slighlty before?), all of a sudden Apache starts going crazy and
> receives very heavy load. I wonder if this can perhaps be some DOS
> attack, and hence I'd like to see what each of the stressed daemon
> instances is doing exactly...

It might as well be a search engine spider.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: missing /usr/local in startup.sh files

2007-05-04 Thread [LoN]Kamikaze
David Banning wrote:
> All of a sudden I notice that whenever I install a package from the
> ports, the startup file in /usr/local/etc/rc.d requires that I
> put /usr/local in - for instance, the most recent install of 
> clamav I had to change
> 
> . /etc/rc.subr
> 
> to 
> 
> . /usr/local/etc/rc.subr
> 
> there must be a variable or setting for this that went missing for me.
> Could someone be kind enough to direct me here?

There shouldn't be a file /usr/local/etc/rc.subr. Did you by any chance move 
/etc/rc.subr to /usr/local/etc/?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Memory >3.5GB not used?

2007-04-24 Thread [LoN]Kamikaze
Don O'Neil wrote:
> Any reason the extra 1/2 GB isn't showing up or usable? Is there something I
> need to specify in the kernel to get to the other 1/2 GB? What if I want to
> install more than 4GB? This mobo supports up to 16 GB... Do I need to go to
> the AMD64 platform to get >4GB?

You need a PAE kernel to access the whole 4g, for more you definitely need an 
amd64 install.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: bsdstats

2007-03-03 Thread [LoN]Kamikaze
Sergio Lenzi wrote:
> Question:  Does the thin clients count as Freebsd servers in bsdstats???

If each client runs the bsdstats script and has its own hostname, yes.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


dhclient overwrites reslov.conf

2007-01-26 Thread [LoN]Kamikaze
I'm in a LAN with a relatively short lease time. That wouldn't be a problem if 
I wouldn't run a vpnc connection through this LAN. The vpnc connection sets 
/etc/resolv.conf as required, but dhclient overwrites it every couple of 
minutes, causing DNS not to work any more. Is there a way to make dhclient set 
up resolv.conf only when the IP of the interface is changed?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: virtual memory management

2007-01-20 Thread [LoN]Kamikaze
> Don't forget that the system also pages to swap space and it takes the
> attitude of parking as much as possible out there in case it comes in
> to demand again.  Ten if it really needs the space for something, it 
> invalidates the oldest stuff and uses that space.
> 
> So, you should really expect that your swap space should be 
> nearly maxed all the time if things are working well.

If this is the case something is really wrong on my system:

Swap: 4096M Total, 4096M Free

either top doesn't show the precautionary swapping or this is not happening.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: '/usr/local/etc/rc.d/squid stop' problem

2007-01-16 Thread [LoN]Kamikaze
[EMAIL PROTECTED] wrote:
> It seems something strange with squid-2.6.6 on my FreeBSD 6.2-PRERELEASE
> box.
> After running 'usr/local/etc/rc.d/squid stop' (and therefore during
> system shutdown on 'Ctrl+Alt+Delete' or ACPI power button pushing) I see
> the following:
> 
> Stopping squid.
> Waiting for PIDS: 553 564, 553 564, 553 564, 553 564, 553 564, 553 564,
> 553 564, 553 564, 553 564, 553 564, 553 564, 553 564, 553 564, 553 564,
> 553 564, 553 564.
> 
> In case of shutdown /etc/rc.shutdown initiates watchdog timer. I think
> it isn't normal.

On my system the shutdown time of squid is also very long, but it's done before 
the watchdog kills it. I suppose squid is doing some kind of cleaning up, maybe 
try to use a smaller cache and check weather that affects the shutdown period.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How about a Start-Up Script that execute every 30 minutes for resolv.conf???

2007-01-16 Thread [LoN]Kamikaze
linux quest wrote:
> Since, I desperately needed to connect to the Internet at this point of 
> time, I create a file called resolv.conf in /root ... I am thinking how 
> can I create a script so that it can copy resolv.conf from /root to 
> /etc/resolv.conf every 30 minutes at start up - This is because I don't 
> wanna manually type in "cp /root/resolv.conf /etc/resolv.conf" every 30 
> minutes.

http://www.freebsd.org/cgi/query-pr.cgi?pr=106902

The suggested script allows you to set your nameservers in rc.conf. I seriously 
doubt you need to do that every 30 minutes. It should be enought to write it on 
startup, so give it a try.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Best way to kill pixels?

2007-01-14 Thread [LoN]Kamikaze
Nikolas Britton wrote:
> What's the best way to make more dead pixels on an LCD display?... So
> a manufacturer will be forced to replace it. Would a high voltage
> static discharge through the panel work? Would it leave physical
> evidence of tempering, like melted silicon?
> 
> Thanks.

You sure will get advice on commiting a fraud here.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ipw scan doesn't show APs on channels 12 and 13

2007-01-04 Thread [LoN]Kamikaze
As the title says, I'm using an ipw wireless card and

# ifconfig ipw0 scan

doesn't list APs on the channels 12 and 13. I suppose this is due to the 
different frequency regulations in the US. Is there a way to configure the ipw 
device to conform to the European regulations?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: managing traffic from localhost with pf

2006-12-20 Thread [LoN]Kamikaze
Fabian Keil wrote:
> "[LoN]Kamikaze" <[EMAIL PROTECTED]> wrote:
> 
>> I'm using pf for NAT and redirecting traffic from my home network into a
>> transparent proxy (squid26). I'd also like to send traffic from
>> localhost into the proxy, ...
>>
>> So my question is, is it possible? What would I have to do to make it
>> possible?
> 
> Use route-to to have the outgoing traffic come in on second loX
> interface and redirect from there.
> 
> Have a look at:
> <http://wiki.noreply.org/noreply/TheOnionRouter/TransparentProxy#head-cb42b2ce9d6110e19b5abecf51a9629c5115c3ea-2>
> for an example.
> 
> Fabian

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


managing traffic from localhost with pf

2006-12-20 Thread [LoN]Kamikaze
I'm using pf for NAT and redirecting traffic from my home network into a 
transparent proxy (squid26). I'd also like to send traffic from localhost into 
the proxy, but everyone I ask "thinks" it's not possible. Direct http and ftp 
access is blocked here, the proxy forwards to an external one, so the whole 
situation is a real pain, because my gateway is the only machine without http 
and ftp access. Even though it's providing that for all other machines on the 
net.

So my question is, is it possible? What would I have to do to make it possible?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How did the /etc/resolv.conf appear?

2006-12-17 Thread [LoN]Kamikaze
[EMAIL PROTECTED] wrote:
> The automatically installed /etc/resolv.conf
> contains the next:
> 
> nameserver 82.207.67.2
> nameserver 213.179.244.18
> 
> Today I discovered that this servers is not servers of FreeBSD.org 
> or InterNIC, but of my ISP.
> 
> I wonder how the system found these IP addresses?

The entries are created by dhclient or whichever different program establishes 
the connection, when it receives the necessary information (your IP, gateway 
and the nameservers to use) from your ISP.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: rc.d script for processes started with /usr/bin/env

2006-12-14 Thread [LoN]Kamikaze

Ashley Moran wrote:
> On 14 Dec 2006, at 13:49, [LoN]Kamikaze wrote:
>> Are you certain that this is the pidfile used by your server? Are you
>> aware that the service is responsible for creating the pidfile, not
>> rc.subr?
> 
> Yes, on both counts.  Works fine with
> 
> #!/usr/local/bin/ruby
> and
> command_interpreter="/usr/local/bin/ruby"
> 
> but not
> 
> #!/usr/bin/env ruby
> and
> command_interpreter="/usr/bin/env"
> 
> 
> Not that important really (now I've got it working one way), just strange
> 
> 
> Ashley

Maybe env replaces itself with the new process. That would explain this 
behaviour.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: rc.d script for processes started with /usr/bin/env

2006-12-14 Thread [LoN]Kamikaze
Ashley Moran wrote:
> Hmm I've just tried that and all I get is...
> 
> [EMAIL PROTECTED] ~]# /usr/local/etc/rc.d/prolite_password_server stop
> prolite_password_server not running? (check
> /var/run/prolite_password_server/prolite_password_server.pid).

Are you certain that this is the pidfile used by your server? Are you aware 
that the service is responsible for creating the pidfile, not rc.subr?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: rc.d script for processes started with /usr/bin/env

2006-12-14 Thread [LoN]Kamikaze

Ashley Moran wrote:
> Hi
> 
> I just wrote a little ruby web server for internal use.  I wrote it on
> my mac to deploy on FreeBSD, so I used "#!/usr/bin/env ruby" as the
> shebang.  But when I do that, I can't stop the server with my rc.d
> script (below).  If I change them both to /usr/local/bin/ruby I can make
> it work.
> 
> Is it possible to use /usr/bin/env like this?
> 

All you need to do is to set

command_interpreter="/usr/bin/env"

for more information have a look at rc.subr(8).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Lacky Doc @ "5.6.2 Using XDM"

2006-11-26 Thread [LoN]Kamikaze
Ralf Schreijer wrote:
> Hi there!
> 
> Today I just installed FreeBSD(6.1) for the first time in my life. After 
> several tries on my own I decided to go through the installation by following 
> the instructions in the handbook. I successfully installed and configured 
> Xorg. Everything went well, until I reached the section 5.6.2, "Using XDM". I 
> just tried to follow the instructions and enabled xdm to start running on the 
> 9th virtual terminal by replacing the "off" by "on" in /etc/ttys:
> ttyv8   "/usr/X11R6/bin/xdm -nodaemon"  xterm   off secure
> in
> ttyv8   "/usr/X11R6/bin/xdm -nodaemon"  xterm   on secure
> 
> Now I can't do anything. The system directly boots into the xdm, prompts a 
> loginscreen and if I login as root (or as a user) there is nothing I can do. 
> As I know now there isn't even a chance to leave the xdm. If I hit 
> Ctrl+Alt+Backspace, it flips into the shell an returns immediately to xdm and 
> prompts the login again. I tried fixing this  through booting in Single User 
> Mode, but I wasn't successful because I have no write permission in /etc/ttys 
> during this mode.
> 
> I bet it won't be the only solution to reinstall the entire system, isn't it? 
> Since I followed the Documentiation from Install until section 5.6.2, Imho, 
> there is a small warning missing in the documentation. Sth like this: "Beware 
> of enabling the xdm-virtual-terminal because you can only return to the shell 
> while doing sth you dont know yet :-)".
> 
> May be you can find some time to send me a feedback or some kind of solution 
> to fix my problem.
> Thanks so long.
> 
> Ralf
> 
> PS: I'm sorry for my english. I hope you could even understand me!

You can return to the console with CTRL-ALT-F1, CTRL-ALT-F2 and so on.

Anyway, at least a terminal should start up once you have logged into XDM.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: GCC upgrade

2006-11-26 Thread [LoN]Kamikaze
Mark wrote:
> One question, though:
> 
> ..if ${.CURDIR:M*/ports/*} && !${.CURDIR:M*/work/*}
> 
> Why would you NOT want to use the new gcc when in a /work/ directory?
> (where ports builds).
> 
> Thanks,
> 
> - Mark

This is because these settings are processed in the ports framework and 
overwriting whatever became of them in the process by applying them to make 
calls from the working directory might break something.

By the way (inserting shameless advertisement), if you find the make syntax 
clumsy for configuring ports and portsconf too restrictive, you might want to 
have a look at buildflags from the sysutils/bsdadminscripts ports. It offers a 
more compact syntax (that actually will be parsed into make syntax) and certain 
knobs, that make handling several compilers, ccache, distcc and parallel 
building '-j' easier.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: BSD folks position on GPL, Novell, IBM, SCO, and MS...

2006-11-25 Thread [LoN]Kamikaze


Mike Hauber wrote:
> i am by no means trolling here.  I just haven't heard much of anything from 
> the BSD community on the subjects, and would like to know the general 
> consensus.  Being that this is more of a support mailing list, if one could 
> direct me to where I can ask this question appropriately, or if folks would 
> reply only to my email addy, that would be fine, too.  Impositions here are 
> not my intent.
> 
> I have been an avid user of the BSDs (mostly FreeBSD and OpenBSD), and have 
> experimented with the Linuses for a good while now (Mainly Debian, RH, and 
> SuSe).  I pretty much get it that the BSD folks and the Linux folks don't see 
> eye-to-eye on licensing issues, but it seems to me that the overall attempt 
> of both communities seems to be "get the code out there and keep it free."

This is where you are wrong. The BSD approach is "get free code out there", 
while the GPL approach is "get open code out there and keep it open" (open != 
free). You can argue about the meanings of the words free and open, but those 
are the two approaches.

I think the FreeBSD approach (this is the way I see it) is to use whatever is 
free to be used. Licensing issue only bother us, where they threaten the BSD 
license (i.e. GPL Kernel modules where the headers are also GPL code, would 
enforce the GPL upon the whole Kernel).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


PRs dead

2006-11-24 Thread [LoN]Kamikaze
Since the move to the new servers my followups disappear in an unknown black 
home. Others told me that the same happens to the PRs they try to send. I 
understand that unexpected things happen, but this is basic infrastructure that 
doesn't work for some time, now.

What's going on here?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: installworld to an NFS mount

2006-11-04 Thread [LoN]Kamikaze

Jeremy Johnston wrote:
> Greetings everyone,
> 
> I currently attempting to build and install a world from my AMD64
> machine to a i386 machine mounted via nfs on the build machine. I've
> searched the archives and could not come up with the problem I am
> having. I have built the world using make TARGET_ARCH=i386 buildworld
> and now I am attempting make TARGET_ARCH=i386 DESTDIR=/mnt/smartserv
> installworld and it is failing with the following error:
> 
> install -s -o root -g wheel -m 444   -fschg -S  libcrypt.so.3
> /mnt/smartserv/lib
> install: rename: /mnt/smartserv/lib/[EMAIL PROTECTED] to
> /mnt/smartserv/lib/libcrypt.so.3: Input/output error
> *** Error code 71
> 
> I currently have the following mounts regarding this particular build:
> 
> 10.0.0.2:/ on /mnt/smartserv (nfs)
> 10.0.0.2:/usr on /mnt/smartserv/usr (nfs)
> 10.0.0.2:/var on /mnt/smartserv/var (nfs)
> 
> If you have any suggestions on what I could be doing wrong, or if I
> should be using a different method I would appreciate them.

Is nfslocking active on both machines?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: subversion on boot

2006-10-31 Thread [LoN]Kamikaze
[EMAIL PROTECTED] wrote:
> Hello,
> 
> what is the best way to launch subversion (svnserve) on boot?
> 
> So far I did not find out something that can be put in /etc/rc.conf.
> 
> Thank you,
> Iv


The script resides in /usr/local/etc/rc.d/svnserve

svnserve_enable="YES"

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


Re: kldunload -f has no effect

2006-10-17 Thread [LoN]Kamikaze

[EMAIL PROTECTED] wrote:
> Hi Kamikaze,
> 
> On 10/16/06, [LoN]Kamikaze <[EMAIL PROTECTED]> wrote:
>> I need to 'kldunload -f drm' in order to go into suspend to ram with my
>> thinkpad (suspend works fine with dri disabled). Unfortunately,
>> despite the
>> claims of the manpage the '-f' flag does not alter the behaviour of the
>> kldunload tool. How do I get drm unloaded?
> 
> are you sure you drm is loaded as a module instead of compiled into your
> kernel?
> 

Yes I'm certain, it's listed by kldstat after all. Also if I deactivate dri, it 
doesn't get loaded and I can suspend/resume just fine. If I suspend with dri 
enabled, the system resumes, but as soon as I switch back to X, X hangs (and 
shows random screen garbage). The rest of the system still works, though. I can 
ssh into the box and work on it, as if nothing happened. Only if I try to kill 
X, the whole system will stop responding.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


kldunload -f has no effect

2006-10-16 Thread [LoN]Kamikaze
I need to 'kldunload -f drm' in order to go into suspend to ram with my 
thinkpad (suspend works fine with dri disabled). Unfortunately, despite the 
claims of the manpage the '-f' flag does not alter the behaviour of the 
kldunload tool. How do I get drm unloaded?

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


Re: moused insists on starting

2006-09-28 Thread [LoN]Kamikaze
Bill Moran wrote:
> In response to John Nielsen <[EMAIL PROTECTED]>:
> 
>> On Thursday 28 September 2006 14:08, Bill Moran wrote:
>>> 6.1.  Moused starts on boot, and issuing /etc/rc.d/moused stop has
>>> not effect.  My /etc/rc.conf has the line:
>>> moused_enable="NO"
>>> yet the damn thing starts.
>> Assuming you have a USB mouse, this is controlled by /etc/devd.conf 
>> (or /etc/usbd.conf in older releases). Comment out or modify the ums/moused 
>> entry to suit your preferences.
> 
> Huh.
> 
> I hate to be a whiner, but shouldn't this respect the moused_enable
> setting in rc.conf?  I find this a violation of POLA.
> 

I have recently been told that you have to set

moused_nondefault_enable="NO"

in your rc.conf to deactivate this behaviour. There is no need to mess with
your devd.conf.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Why is GNATs refusing my posts?

2006-09-20 Thread [LoN]Kamikaze

Thomas Sandford wrote:
> I recently tried to send a PR (for an updated port), and got the
> following response:
> 
> --- 8<---
> This is a canned auto-reply to your recent email to the bug submission
> address.
> 
> Your message has been identified as likely spam and has been discarded.
> 
> If you feel this is an error, please submit your report via the web
> interface or directly on the freebsd-bugs mailing list.
> 
> --- 8<---
> 
> Frankly this is just DUMB. Autoresponding to (as opposed to bouncing)
> spam is most likely going to hit someone other than the spammer.
> 
> It gives me ZERO information as to why the mail system didn't like my
> post, so I have no means of working out what I should change to appear
> less like a source of spam.
> 
> Since the mail sent was a properly formatted PR (generated by
> devel/porttools), and the mail system got as far as accepting my email
> before generating an autoresponse, it could/should at least have parsed
> the email to see if it looked like a PR before rejecting it.
> 
> 
> Furthermore it doesn't even seem to be consistent, since a PR submitted
> the self same way about 4 days ago got through just fine.
> 
> I've now got to rewrite the "description" part of the bug submission
> (since it didn't copy my message back to me) and try and work out a way
> of getting past the filter (there's no point in trying to submit the PR
> through the web, as the web form clearly states "Note: copy/paste will
> destroy TABs and spacing, and this web form should not be used to submit
> code as plain text.").
> 
> Spam is a major, worldwide problem - but transferring the problem to
> someone else is NOT a solution.
> 
> Oh - and if you hadn't guessed - this has really cheesed me off!

The same thing happened to me today. I just sent the mail again,
with one line changed and it got through.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Please Help with my kernel

2006-09-17 Thread [LoN]Kamikaze
ExTaZyTi wrote:
> Hi,
> 
> I'm new in FreeBSD, I want to conf and re-build my kernel but the directory
> /usr/src is empty.
> I'm with FreeBSD 6.1-STABLE, PLEASE HELP :(

If you use 6.1 Release you can use sysinstall to install the sources from CD.
If you really use 6.1-STABLE you should know what you're doing.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FS size

2006-09-16 Thread [LoN]Kamikaze
Albert Shih wrote:
> Hi all
> 
> I've read 
> 
>   http://www.freebsd.org/projects/bigdisk/index.html
> 
> and I want know actually on i386 arch is the limit of a fs is already 2 Tb
> What's the situation on amd64/EMT64, can we have big fs ? something like 10
> or more TB ?

There are people who use 8t partitions on i386. All you need to do is tweak
some settings to allow fsck to assign enough memory for a file system check.

This is possible because I think the file system is access block wise. With
a block size of 4k an 8TB FS only requires an address space of 2g. I don't know
anything about the UFS internals, so I cannot give you the real numbers, but
they should that something aught to be technically possible.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: fortune in English or Spanish

2006-09-14 Thread [LoN]Kamikaze
Matthias Apitz wrote:
> Hi,
> 
> I'm missing somehow the classic 'fortune' command and files in the
> ports, the are Italian and Russian ones, but don't see the fortune
> itself. If there is a Spanish one a pointer would be nice too. Thx

Fortune is part of the base system.
___
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 get one OBJDIR per kernel

2006-09-11 Thread [LoN]Kamikaze
[LoN]Kamikaze wrote:
> ... The trouble is
> that different kernels still clash in the same OBJDIR. I would like to
> have something like MAKEOBJDIRPREFIX=/usr/obj/${KERNCONF} , the trouble
> being that it cannot be set in make.conf .
> Is there a way around this restriction?
> 

Just for the record I found a solution. My first test indicates that it
works fine, that makes me wonder why the restriction is there.

.if !make(dummy)
MAKEOBJDIRPREFIX=   ${WRKDIRPREFIX}/${KERNCONF}
.endif
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


how to get one OBJDIR per kernel

2006-09-11 Thread [LoN]Kamikaze
I have several systems which all use the same /usr/obj over NFS.
In the make.conf of those systems WRKDIRPREFIX is set to /usr/obj/${HOST},
which keeps machines from messing with each other while they build ports.

Those machines have their own kernel configurations, which reside in
/root/kernels/ and are linked from /usr/src/sys/ARCH/conf . I also have
the following in my make.conf .

# Load specific configuration for the kernel.
.if exists(/root/kernels/${KERNCONF}.mk)
.include "/root/kernels/${KERNCONF}.mk"
.endif

This way I can have settings for a different world per kernel as well.
I.e. with NO_PROFILE set for kernels without debugging. The trouble is
that different kernels still clash in the same OBJDIR. I would like to
have something like MAKEOBJDIRPREFIX=/usr/obj/${KERNCONF} , the trouble
being that it cannot be set in make.conf .
Is there a way around this restriction?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


joystick as mouse?

2006-09-03 Thread [LoN]Kamikaze
I managed to convince moused that my USB joystick, a Logitech WingMan Extreme 
Digital 3D on /dev/uhid0 (3 axis, throttle, 8 buttons and a HUD switch), is 
actually a mouse. Of course the mouse cursor acts absolutely insane when I 
touch the joystick. But it shows that it is possible.

My question is, is there some kind of way to write a profile for moused such as 
the intellimouse and microsoft profiles to tell moused how to read the joystick 
input?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Using javavmwrapper

2006-04-05 Thread [LoN]Kamikaze
Jeff Cross wrote:
> [LoN]Kamikaze wrote:
>> Jeff Cross wrote:
>>> Here is the reason I am asking, and maybe someone could shed some light
>>> on this as well.
>>>
>>> I have been using Zend Studio Client 4.0.2 on FreeBSD 6.0-SECURITY for
>>> quite some time.  I updated my ports and packages (which Zend is not)
>>> the other day and it hasn't worked since.
>>>
>>> So, if I wanted to try running Zend with the jdk15 port, how would I
>>> specify that I wanted to use the 1.5 version of the jdk before firing
>>> off the process?  I wouldn't think that making the change in my
>>> make.conf file would do this, would it?
>>>
>> It would.
>>
> Thanks a lot for your help Kamikaze.  I apologize.  With me being
> somewhat of a newb to the interworking of FreeBSD, I assumed that the
> make.conf file would be referenced hen building a port, not when running
> a binary.
> 
> I entered the JAVA_PREFERRED_PORTS variable in the make.conf file and
> all is well now!
> 
> Thanks!
> 
> Jeff Cross

You might be interested in these incredible news:
http://www.freebsdfoundation.org/downloads/java.shtml
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Using javavmwrapper

2006-04-05 Thread [LoN]Kamikaze

Jeff Cross wrote:
> 
> Here is the reason I am asking, and maybe someone could shed some light
> on this as well.
> 
> I have been using Zend Studio Client 4.0.2 on FreeBSD 6.0-SECURITY for
> quite some time.  I updated my ports and packages (which Zend is not)
> the other day and it hasn't worked since.
> 
> So, if I wanted to try running Zend with the jdk15 port, how would I
> specify that I wanted to use the 1.5 version of the jdk before firing
> off the process?  I wouldn't think that making the change in my
> make.conf file would do this, would it?
> 

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


Re: Using javavmwrapper

2006-04-05 Thread [LoN]Kamikaze
Jeff Cross wrote:
> Can anyone give me some guidance in using javavmwrapper?  I have
> searched high and low (I know someone will post the link I have
> overlooked) but can't seem to find any detailed information on how to
> use it. I understand that there are some environment variables I can use
> to choose between different VMs (linux-sun-jdk-1.4.2, jdk-1.4.2, and
> jdk-1.5.0) but I can't seem to locate anything.
> 

I do not know where this is documented, but the best way to deal with it
is setting the variable JAVA_PREFERRED_PORTS in your '/etc/make.conf'. I.e.

JAVA_PREFERRED_PORTS?= JAVA_PORT_NATIVE_BSDJAVA_JDK_1_5

for jdk15. The complete list is


JAVA_PORT_NATIVE_BSDJAVA_JDK_1_5
JAVA_PORT_NATIVE_BSDJAVA_JDK_1_4
JAVA_PORT_NATIVE_BSDJAVA_JDK_1_3
JAVA_PORT_NATIVE_FREEBSD_JDK_1_3
JAVA_PORT_NATIVE_BSDJAVA_JDK_1_2
JAVA_PORT_NATIVE_BSDJAVA_JDK_1_1
JAVA_PORT_LINUX_SUN_JDK_1_4
JAVA_PORT_LINUX_SUN_JDK_1_3
JAVA_PORT_LINUX_SUN_JDK_1_2
JAVA_PORT_LINUX_BLACKDOWN_JDK_1_4
JAVA_PORT_LINUX_BLACKDOWN_JDK_1_3
JAVA_PORT_LINUX_BLACKDOWN_JDK_1_2
JAVA_PORT_LINUX_IBM_JDK_1_4
JAVA_PORT_LINUX_IBM_JDK_1_3

to be found in '/usr/ports/Mk/bsd.java.mk'.


> Also, does it only help when compiling ports that use Java or will it
> work to run an application with a different VM?
> 

You can run software that was built by older versions, but not vice
versa. That means you can run software that was compiled by 1.4 on 1.5
but not the other way around. Unless you set something like '-target
1.4' when building.

> Any assistance is greatly appreciated.
> 
> Jeff Cross
> www.averageadmins.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"