Re: OpenOffice+AMD64

2005-08-23 Thread Miguel Mendez
On Tue, 23 Aug 2005 11:29:44 -0500
Mark Kane [EMAIL PROTECTED] wrote:

 Vladimir Dvorak wrote:
  does anybody know what is the status of OpenOffice for AMD64 
  architecture ? Is possible to install OO in some chroot lib32 
  environment ? Or this cause is wasting the time for now ?
 
 Hi. I am not sure the status of it for AMD64, but I do know it requires 
 Java. Unfortunately there is no Java for AMD64 yet.

I had no problems building jdk15 and eclipse on my AMD64 box. I used
eclipse for a couple of hours and deleted it after that because it was
still too slow for my taste, but it worked fine in my limited testing.

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1

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


Re: DRM for Radeon 7000

2005-06-07 Thread Miguel Mendez
On Tue, 7 Jun 2005 11:54:41 +0200
Walter C. Pelissero [EMAIL PROTECTED] wrote:

Hi,

 drm0: ATI Radeon QY RV100 7000/VE port 0x3000-0x30ff mem 
 0xe810-0xe810,0xf000-0xf7ff irq 18 at device 5.0 on pci1
 
 ahc0: Adaptec 29160 Ultra160 SCSI adapter port 0x1400-0x14ff mem 
 0xe8001000-0xe8001fff irq 18 at device 10.0 on pci0
 
 I don't know if this might be the source of my problems but both
 drivers (ahc and drm) seem to disregard the device.hints, so I
 couldn't try to assign distinct irqs to the two cards.
 
 Has anybody succeeded to run an ATI Radeon 7000 AGP on FreeBSD 5.4
 with DRI/DRM?

My setup is similar to yours, except I have a 19160 instead. With Xorg
6.7.0 and dri 5.x it worked like a charm. After the upgrade to 6.8.x
and dri 6.x I can no longer use dri/glx. Something fishy I noticed, as
soon as I do an ls on an xterm using antialised fonts the system goes
south (read: total freeze), but it seems to survive a bit longer when I
use plain jane fonts. Doesn't work anyway. I've been pondering
reverting to Xorg 6.7 + dri 5.x as a temporary solution. Xorg 6.8.2 +
dri 5.x doesn't work either. You might try the freebsd-x11@ mailing
list or contacting Eric Anholt (anholt@), who is the main Xorg/DRI on
FreeBSD guru.

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1



pgpLZ87WZcnBJ.pgp
Description: PGP signature


Re: QPL vs GPL for QT and derivatives

2005-05-03 Thread Miguel Mendez
On Tue, 3 May 2005 03:16:17 +0200
Danny Pansters [EMAIL PROTECTED] wrote:

 QT and derivs have either the GPL (2) or QPL license but we have and use the 
 GPL one.
 
 First question: do they differ in distribution, eg x11-gpl versus the qpl 
 version? I never tried but I'm sure someone did/knows/asked.

No, it's what the developer chooses. If you're going to develop a
closed source app like Opera you have you purchase a license. If you
intend to write a GPL'd app then you abide by the GPL, and if you
want to write a BSDL'd program you abide by the QPL. The source
code is the same.

 Second question: if they are the same source wise, the QPL seems a lot more 
 BSD-like: it basically says: can use if not commercial without disclosing 
 source, should one want to. In essence any BSD app under QT should live 
 happily under that, the burden is on the person who would want to use that 
 code next _and_ it could be GPL'ed at any time if she wants to, with the 
 original being left QPL'ed which for us basically means BSD'ed as long as not 
 commercial (and it's not like the fees will starve you if you want them).

Yes, you cannot take a BSDL'd QT app and close the source without
buying a QT license. WRT licensing, if your code is going to be BSD you
have no choice but use the QPL version, since the GPL one would force
you to release your code under the GPL as well. Another interesting
point, and something some GPL advocates fail to understand a lot of
times, is that you cannot relicense code you didn't write. If a GPL
zealot takes a BSD app and tries to 'save it' by releasing a derivative
under the GPL, only his modifications will be under said license, the
original (C) and license still remain.

 Third: if they are not the same source wise, does anyone have any idea if 
 it's 
 a huge leap and perhaps (implied) a regression, in that case it's likely out 
 of the question for practical reasons alone.

The source code is the same.
 
 Thus I'm wondering, are there technical problems or philosophical ones with 
 using the QPL rather than GPL with qt? Perhaps it just never came up, or 
 people don't find it important. I personally think the QPL is rather fair and 
 generous. From a BSDL standpoint it may be preferred over GPL2 (If GPL3 gets 
 as bad as some fear it will never be widespread adapted, we shouldn't worry 
 about GPL3 IMHO, and neither will it be so bad). What are your opinions/added 
 knowledge or facts or thoughts on this?

I don't see any technical problems, i.e. the QPL version is not
crippled in any way. On the philosophical side of things, it's up to
you. If you want to release your code under the BSD license you have to
abide by the QPL. The GPL2 vs GPL3 is a can of worms I'm not going to
open :)

 Some may find it nitpicking, and perhaps it is, but I'd still like to hear 
 some opinions on this anyhow. I could get the bare info by (quite a long) 
 google probably but I'm also interested in hearing opinions. This is an 
 opinionated subject anyway, I know. 

Considering that you've asked in a FreeBSD mailing list I'd expect the
BSD license to be favored here. FWIW, there are several QT apps in the
ports tree released under the BSD license. Off the top of my head,
sysutils/barry, x11-themes/qinx and sysutils/thefish's QT frontend.
Surely there are more out there. ISTR some parts of KDE are under the
BSDL as well.

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1



pgpEBo3uyNxet.pgp
Description: PGP signature


Re: mplayer/mplayer-plugin question

2005-04-23 Thread Miguel Mendez
On Fri, 22 Apr 2005 18:08:07 -0400
Adam Weinberger [EMAIL PROTECTED] wrote:

 Personally, I'd love to see /usr/X11R6 folded into /usr/local, but until 
 then, I think it's nothing short of retarded for apps to install into 
 unusual locations to prove a point.

It might be interesting looking at the work the pkgsrc people have done
wrt $PREFIX enforcement. On my NetBSD boxen xorg lives under 
/usr/pkg/xorg and all packages are installed under /usr/pkg, not 
/usr/X11R6 or /usr/local.

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1



pgp0OlM4Y7nht.pgp
Description: PGP signature


Re: mplayer/mplayer-plugin question

2005-04-23 Thread Miguel Mendez
On Sat, 23 Apr 2005 14:14:56 -0500
Jeremy Messenger [EMAIL PROTECTED] wrote:

  Personally, I'd love to see /usr/X11R6 folded into /usr/local, but until
  then, I think it's nothing short of retarded for apps to install into
  unusual locations to prove a point.
 
  It might be interesting looking at the work the pkgsrc people have done
  wrt $PREFIX enforcement. On my NetBSD boxen xorg lives under
  /usr/pkg/xorg and all packages are installed under /usr/pkg, not
  /usr/X11R6 or /usr/local.
 
 I disagree with NetBSD's PREFIX. I would go with the global prefix,  
 /usr/local. 85% of configure has the /usr/local by default and FreeBSD  
 already has /usr/local (to kill the colour discussions), so all we have to  
 do is remove /usr/X11R6. Before you ask how we can test if the port is  
 respect the prefix, we should be able to find out very easy when you work  
 with pkg-plist by follow the porter handbook.

I wasn't advocating the use of /usr/pkg, but rather the way they
enforce it for every package. I personally don't mind what the prefix
is called, but for the sake of POLA /usr/local would certainly serve
FreeBSD better. FWIW, well behaved software should always be $PREFIX
clean.

On an unrelated note, I also find their buildlink system pretty
interesting, and have meant to have a more in depth look at it for a
while but, as always, there's only so much stuff you can do in 24 hours.

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1



pgpF5OOjR1LWP.pgp
Description: PGP signature


Re: Can't build ports on older FreeBSD machine

2005-04-20 Thread Miguel Mendez
On Tue, 19 Apr 2005 20:37:43 -0600
Brett Glass [EMAIL PROTECTED] wrote:

 You may not, but users of FreeBSD do. At the very least,
 ports should be tagged as to the versions of the OS
 with which they will work, and it should be possible
 to retrieve the most recent version of the port that
 works with the version of the OS you are running.

Brett, if you want something to happen do something about it. You seem
to spend a incredible amount of time and energy telling others how
FreeBSD should be, yet you don't want to put up.

 Having users update in the standard (and prescribed)
 way and finding out that a major function (the entire
 ports system) is no longer working is certainly not
 something one would expect from professionally crafted
 software.

The handbook clearly states that current ports are only supported on 
-CURRENT and -STABLE. You might be lucky and get the ports to work on
older releases. The OpenBSD people do the same, btw. Except if you try
to use the current ports on a release they will sure fail to build. As
someone who does ports work I can tell you that supporting RELENG_4 and
RELENG_5 is enough work already. What you're asking for is not
reasonable for a volunteer driven project.

 Note that under Linux, the maintainers of distributions
 do exactly this. However, FreeBSD is essentially its own
 distro, so the job of doing this falls to the FreeBSD
 developers and the maintainers of the ports. If it is
 not done, FreeBSD users will enjoy an inferior experience
 to the one they get with Linux or even Windows.

The situation is very different. Linux distros are a kernel + packages,
because the concept of a base system doesn't exist in the Linux world.
And people who run production Linux boxes are very careful about
updating critical parts of the system like glibc and friends. You
should take a look at e.g. RHEL and you'll see that they are quite
conservative too and only support very specific versions of software
packages.

Windows doesn't even play in the same league, why mention it?

As I've said, show the rest of us that you care enough about this and
do something about it. Else it sounds like you're just enjoying the
free ride and expect others to do all the work for you.

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1



pgpFMlmJgKUDG.pgp
Description: PGP signature


Re: Sound Editors

2005-03-30 Thread Miguel Mendez
On Wed, 30 Mar 2005 13:02:48 -0800
Spiral Eyed Girl [EMAIL PROTECTED] wrote:

 Can someone recommend X based sound editors from the ports collection? I am 
 used to using GoldWave on Win32, but now I don't know where to start.

Audacity is pretty good (audio/audacity in the ports collection).

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1



pgpFBkna9Xuwt.pgp
Description: PGP signature


Re: Azureus Program crash

2005-03-28 Thread Miguel Mendez
On Mon, 28 Mar 2005 22:59:29 +1000
Warren [EMAIL PROTECTED] wrote:

 For some reason Azureus is sucking up a lot of my computer and has a habbit 
 of 
 shutting itself down for no apparent reason.
 
 It wont run in GDB so i can see whats going on .. is there any other way i 
 can 
 debug it to find out why its shutting itself down.

Azureus is a java application, you can't debug it with GDB. When java
apps crash you can usually get a backtrace of the unhandled exception.
Since Azureus uses SWT it might be a problem with the recent GTK+
update. I haven't used it in a while, but some months ago it was a
pretty solid application.

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1



pgp0MSgmhrI0f.pgp
Description: PGP signature


Re: Ebay Phishing

2005-03-21 Thread Miguel Mendez
On Mon, 21 Mar 2005 14:29:46 +1030
Greg 'groggy' Lehey [EMAIL PROTECTED] wrote:


 Indeed.  I do, and it blocks an amazing amount of spam.

That's the wrong way to deal with spam, Greg. Greylisting and SPF
checks are a much better solution.
 
 I do have the courtesy to say please use your ISP's mail server in
 the error reply.

Well, as pointed out before, that's not always possible. My ISP doesn't
allow any mail with a from != terra.es to pass through their mail
servers. Not only that, but they will silently drop e-mail without
telling you. Their POP3 server is also broken half of the time, that's
why I gave up on using their mail (and dns as well) service years ago.
Modulo that, the service is good enough and I've had less than a few
hours of outage in 5 years, so I don't have any plans of moving to
another ISP.

When people reject my mail (which comes from a static IP, gpg-signed
and from a host that publishes SPF records) I simply add them to my /
etc/postfix/access file, so I don't waste time reading and replying to
mail that won't reach its destinantion. It's that simple :)

I've tried several setups to stop spam. I get about 150/day or so. I
discovered that 99% of them were coming from Windows boxes. So, if you
have PF you can do tricks like this:

rdr on $ext_if proto tcp from any os Windows to any port smtp -
127.0.0.1 port 8025

And have all those mails end up in spamd's tarpit. However, this might
send legit mail there, so I stopped using that too. I just let
spamassassin do its job.


Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1



pgpUo464pKAli.pgp
Description: PGP signature


Re: Which app to watch movies?

2005-02-27 Thread Miguel Mendez
On Sun, 27 Feb 2005 13:07:37 -0500
bsdnooby [EMAIL PROTECTED] wrote:


 I get an error when I try to install mplayer.  Something about a fetch 
 size mismatch on Blue-1.4.tar.bz.  I'm not sure how to cut and paste the 
 error, I thought the middle mouse button would cut from an xterm window, 
 but I guess not.

The skins' tarballs are rerolled quite often. In that case your best
bet is to make distclean and try again. The tarballs will be re-fetched
and the port will build fine.

About the xterm thing, you copy text with the left mouse button and
paste it with them middle one.

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1



pgpee0LeXNv9j.pgp
Description: PGP signature


Re: Which app to watch movies?

2005-02-27 Thread Miguel Mendez
On Sun, 27 Feb 2005 13:44:39 -0500
bsdnooby [EMAIL PROTECTED] wrote:

 I guess I need to try again in a few hours.
 
 I did a make deinstall clean distclean and then another make install 
 clean, and it got the same error.
 
 The first time I tried to install, I got a screen where I picked what 
 skins to support - I do not get that screen anymore.  If I did, I could 
 choose a skin other than the blue one.  I thought distclean would 
 have enabled me to start over from the very beginning, but it is somehow 
 remembering the skins I chose (I actually just took the default).

You have to run make distclean in the mplayer-skins port dir. If you
want to make changes run make config.

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1



pgp3ETkYMqVwD.pgp
Description: PGP signature


Re: Generating Backtrace on FBSD 5.3

2005-02-08 Thread Miguel Mendez
On Tue, 08 Feb 2005 10:13:32 -0500
Gerard Samuel [EMAIL PROTECTED] wrote:

 Im trying to figure out how to generate a
 backtrace from a core dump of subversion, to send
 to subversion developers.
 What tools are available to read a core dump file,
 to generate this backtrace on FreeBSD 5.3?
 I'm trying to understand gdb, but Im not sure if
 this is what I'm looking for.
 $ gdb -c svn.core

gdb /path/to/svn svn.core is what you want. But for that to be useful
you need a svn executable built with debugging info. This can be done by
building the port with CFLAGS having the '-g' option and STRIP set to
null, so you don't lose that info while installing.

(deinstall svn first)
e.g.: cd /usr/ports/devel/subversion  env CFLAGS=-g STRIP= make
install

Then try to reproduce the error and run gdb. Once in gdb use the command
'bt' to get a backtrace.

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1



pgpTX2a53Y95h.pgp
Description: PGP signature


Re: mx2.freebsd.org in dnsbl.sorbs.net

2005-02-02 Thread Miguel Mendez
On Wed, 02 Feb 2005 16:37:40 +0100
Erik Norgaard [EMAIL PROTECTED] wrote:

Hi Erik,
 
 I have been thrown off the list because of too many bounces, turns out
 
 that mx2.freebsd.org has been listed at dnslb.sorbs.net,
 
 $ host 119.204.136.216.dnsbl.sorbs.net
 119.204.136.216.dnsbl.sorbs.net has address 127.0.0.6
 
 How on earth did it end up there? are someone mad at us? mx1 is not 
 listed, but it appears that most list mail comes from mx2...
 
 I have had other problems trying to filter spam, yet recieve
 legitimate  mail on the lists - I'm using postfix. How do you set up
 your filters?

Have you contacted [EMAIL PROTECTED] He should get in contact with
SORBS and get the host delisted. My theory about how mx2 ended up there:
Maybe somebody has an automated spam submitting system and SORBS parsed
the addresses of one of the few spam messages that get through the list
or either someone intentionally submitted a forged e-mail there.

Either way, SORBS is a total joke and nobody should ever use them. They
unilaterally blacklisted my /16 and there's zero change I'll ever get
delisted until I pay the $50 extortion fee. Apparently the facts that
I've had the same IP for 5 years and that I publish SPF records don't
matter.

I laugh at the Fighting spam by finding and listing Exploitable
Servers. title in their web page. Google for 'sorbs sucks', nice reads
:-)

If you want to filter spam you can use spamassassin (disablig the sorbs
and spews tests) and greylisting which works very well. SPF checks also
catch a few forged e-mails on my server (probably virus-generated but
spam nonetheless.)

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1



pgpOwVbhVNFPq.pgp
Description: PGP signature


Re: One-line global string replace in all files with sed (or awk?)

2005-01-26 Thread Miguel Mendez
On Wed, 26 Jan 2005 16:43:25 +0100
Anthony Atkielski [EMAIL PROTECTED] wrote:

 A few years ago, I'm sure I came across a one-line way of replacing
 every occurence of one string with another in an entire directory of
 files (potentially including all subdirectories as well).  I think it
 used sed or awk.  Now I can't find it.  The examples on the Web are all
 multiline scripts or programs, but I'm sure I saw a way to do it all on
 just one line.
 
 Can anyone tell me how to do this?

How about something like this (sh style)...

for i in `find . -type f`; do sed -i -e 's/string1/string2/g' $i; done


Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1



pgpnO8QlJaWIl.pgp
Description: PGP signature


Re: Bittorrent secure?

2005-01-25 Thread Miguel Mendez
On Tue, 25 Jan 2005 20:22:53 +0100
Hanspeter Roth [EMAIL PROTECTED] wrote:

 how secure is Bittorrent? How can one know how trustworthy the stuff
 downloaded from other Bittorrent fellows is?

This a bit OT for a FreeBSD list, but I'll answer it anyway. A torrent
file contains info about the tracker and hashes for each part of the
file(s). So, quick answer, no, you cannot join a tracker and inject
bogus data because the hash check will fail. If you can trust the person
who created the torrent and initially seeds the file you're good to go.

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1



pgpIj5aWt8N0j.pgp
Description: PGP signature


Re: gnome desktop ?

2005-01-23 Thread Miguel Mendez
On Sun, 23 Jan 2005 06:44:25 -0800 (PST)
faisal gillani [EMAIL PROTECTED] wrote:

 Well i installed all the packages needed for gnome
 desktop , but when i startx a plain dull desktop
 manager comes , what can be wrong ?
 how to start gnome ?

In the absence of a .xinitrc the default wm is executed (twm). Just
create a .xinitrc file in your home dir that contains the following:

exec gnome-session

If you're using xdm/gdm then you should put that in .xsession

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1



pgprY0uZZJrXv.pgp
Description: PGP signature


Re: Can I set priorities for file transfers

2005-01-18 Thread Miguel Mendez
On Tue, 18 Jan 2005 08:23:58 -0600 (CST)
Brian John [EMAIL PROTECTED] wrote:

Hi,

 Hello,
 I have (I think) kind of a unique question.  I leave my home computer
 on all day and transfer and share files via a P2P application. 
 However, sometimes I like to ssh in from work and transfer files
 between my work PC and my home PC via scp.  Right now it is really
 slow because it is transferring so much with the P2P apps, that it
 uses up all of my bandwidth.  Is there any way that I can put a
 priority on this so that it gives me the majority of my bandwidth when
 I want to use scp?

The first thing I'd do is throttle the upload on your p2p program, so
you don't eat all your b/w. You don't mention which p2p it is, but amule
let's you do it and some BitTorrent clients have the option too.

Then you could use QoS, either using IPFW or PF. With PF I'd prioritize
empty ACKs and then create a queue for ssh with guaranteed b/w. There
are plenty of PF tutorials and FAQs out there with examples. Daniel's
page has a lot of info on PF (http://www.benzedrine.cx/pf.html). Note
that PF is a FreeBSD 5.x-only feature. It's been ported to NetBSD and
DragonFlyBSD as well, and it's part of OpenBSD.

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1



pgpLNJlZh4z8X.pgp
Description: PGP signature


Re: Slow directory access with lots of files

2005-01-17 Thread Miguel Mendez
On Mon, 17 Jan 2005 11:13:43 -0800
Kris Kennaway [EMAIL PROTECTED] wrote:

Hi,

 Do you have UFS_DIRHASH in your kernel?  If you don't, or if you added
 it after the disk was already populated, you'll see the benefits if
 you dump, wipe and restore the disk.

Could you elaborate on that? My impression has always been that dirhash
does all its magic in memory, without persistant data stored on disk.
 
Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1



pgpHMiM21Thq3.pgp
Description: PGP signature


Re: Samba3/CUPS printing

2005-01-16 Thread Miguel Mendez
On Sun, 16 Jan 2005 15:19:46 +0100
Colin J. Raven [EMAIL PROTECTED] wrote:

Hi,

 It would seem as if my HP psc2105 printer is recognised under 
 FreeBSD-5.3, but of course there are some minor issues.
 Without reopening old wounds lpd(?) vs CUPS, this is what I'm getting 
 from /var/log/messages:
 
 Jan 16 14:54:13 kenmore smbd[65656]: [2005/01/16 14:54:13, 0] 
 printing/print_cups.c:cups_queue_get(844)
 Jan 16 14:54:13 kenmore smbd[65656]:   Unable to connect to CUPS
 server  localhost - Connection refused
 
 That is what heppened when I tried to print a test page from an XP 
 workstation. (Samba configured using SWAT BTW)

Is cupsd running? Did you copy cups.sh.sample in /usr/local/etc/rc.d to
cups.sh? Sounds like cups is either not started or not properly
configured yet. You can access the CUPS setup interface by pointing a
browser to http://localhost:631

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1



pgp7aydWBiyoz.pgp
Description: PGP signature


Re: dhcpd for ipv6

2005-01-13 Thread Miguel Mendez
On Thu, 13 Jan 2005 10:24:03 +0100
Erik Norgaard [EMAIL PROTECTED] wrote:

Hi,

 Does anyone know of alternatives? I would like to set up a lan with 
 ipv4/6 and an ipv6to4 gateway. How do you manage your ipv6 lan?

I just run rtadvd on the box that handles my ipv6 tunnel (I'm using
he.net for that) and let the other boxen autoconfigure. Since the
addresses are generated using the MAC address I wrote them down and
entered them in the dns config manually.

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1


pgpDlQusxoXti.pgp
Description: PGP signature


Re: FreeBSD Sound not working

2005-01-08 Thread Miguel Mendez
On Sat, 8 Jan 2005 11:55:00 -0300 (ART)
E. J. Cerejo [EMAIL PROTECTED] wrote:

Hi,

 I upgraded to FreeBSD 5.3 with a clean install and now I can't get the sound 
 to work on my machine, I have Creative AudioPCI  (ES1371, ES1373), this card 
 under 4.x stable use to work fine with 
  ^^  
 device sound
 device snd_emu10k1

That's not the driver for the es137x, you need

device  snd_es137x

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED] | lea gfx_lib(pc),a1
http://www.energyhq.es.eu.org| moveq   #0,d0
PGP Key: 0xDC8514F1  | move.l  4.w,a6
I reject all mail from hosts that use SORBS  | jsr -552(a6)



pgpH1c5IfN5hG.pgp
Description: PGP signature


Re: Epson Stylus C84 printer setup

2005-01-05 Thread Miguel Mendez
On Tue, 4 Jan 2005 21:10:46 -0800
Ted Mittelstaedt [EMAIL PROTECTED] wrote:

Hi,

A bit OT but wanted to throw my $0.02 anyway...
 
 CUPS is unnecessary.  unnecessary software complicates the machine
 and makes it harder to troubleshoot.  I don't personally care much
 for this.

I don't understand where all this animosity against CUPS comes from, but
it's not the first time I've seen people flaming against it. If you
don't like it, don't use it. CUPS is very easy to troubleshoot, perhaps
you didn't bother reading the man pages. Enable debugging log mode and
read the logs, all the info is there.

Setting up my USB laserprinter takes 10 seconds with CUPS. Drop the ppd
file, point the browser at localhost:631 and configure the printer.
Done. The computer is a tool to get the job done, and most people have
better things to do than spend more time than needed setting up their
printer. It's also worth mentioning that Samba 3.x and CUPS integreate
seamlessly.
 
 Also, too many people out there have got the idea that CUPS is
 somehow required to make their printer work.  Not good.  This
 leads to less understanding of how things work.

That's not true. Don't assume that someone who uses CUPS doesn't know
what's going on.
 
 It is the same with computers.  I know of people who have
 Windows boxes that are so highly configured it takes them
 literally weeks to put backgrounds/sounds/games/doodads/etc.etc.
 on every little thing of their PC.  To me it is sad to see
 this same attitude encroaching on FreeBSD.

Flawed analogy :-)

And, for the nth time, please, don't top post.
 
Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED] | lea gfx_lib(pc),a1
http://www.energyhq.es.eu.org| moveq   #0,d0
PGP Key: 0xDC8514F1  | move.l  4.w,a6
I reject all mail from hosts that use SORBS  | jsr -552(a6)



pgpKPrwrwUMOq.pgp
Description: PGP signature


Re: port process

2005-01-04 Thread Miguel Mendez
On Tue, 4 Jan 2005 10:07:00 -0600
Brian Henning [EMAIL PROTECTED] wrote:

Hi,

 I have a xvfb process that needs a network port (6112 I think), but
 there is a process already using the port. The problem is that I don't
 know what the process is that is using it. Is there a way in unix to
 tell what process is using a specific network port.

fstat(1) and sockstat(1) will show you that info.

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED] | lea gfx_lib(pc),a1
http://www.energyhq.es.eu.org| moveq   #0,d0
PGP Key: 0xDC8514F1  | move.l  4.w,a6
I reject all mail from hosts that use SORBS  | jsr -552(a6)



pgpaQIvTLulOC.pgp
Description: PGP signature


Re: Building custom kernel - 'make' fails in FreeBSD 5.3

2004-12-15 Thread Miguel Mendez
On Wed, 15 Dec 2004 17:14:48 +0100
Fred Patmore [EMAIL PROTECTED] wrote:

Hi,

 but I get the following error messages when doing 'make'
 
 [EMAIL PROTECTED] /usr/src/sys/i386/compile/C-KERNEL#] make
 linking kernel
[...]
 : undefined reference to `xpt_done'
 umass.o(.text+0x233f): more undefined references to `xpt_done' follow
 *** Error code 1

Yes, it's explained in the GENERIC config file:

device  umass   # Disks/Mass storage - Requires scbus and da
 ^^^

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED] | lea gfx_lib(pc),a1
http://www.energyhq.es.eu.org| moveq   #0,d0
PGP Key: 0xDC8514F1  | move.l  4.w,a6
Note: All HTML mail goes to /dev/null| jsr -552(a6)



pgpUiExIjMUYL.pgp
Description: PGP signature


Re: How can I make a program keep running even after I logout?

2004-12-15 Thread Miguel Mendez
On Wed, 15 Dec 2004 13:33:00 -0500
Rae Kim [EMAIL PROTECTED] wrote:

Hi,

 I connect to my computer from school computer.
 
 I want to cvsup or/and portupgrade and logout but the program keep
 running?

You can use misc/screen for that, let's you attach/detach a screen while
programs keep running inside that session. I use it to keep an irc
client idling 7/24 :)

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED] | lea gfx_lib(pc),a1
http://www.energyhq.es.eu.org| moveq   #0,d0
PGP Key: 0xDC8514F1  | move.l  4.w,a6
Note: All HTML mail goes to /dev/null| jsr -552(a6)



pgpUXj693xGe7.pgp
Description: PGP signature


Re: Cleaning port config options

2004-12-13 Thread Miguel Mendez
On Mon, 13 Dec 2004 10:38:17 -0500
Robert Fitzpatrick [EMAIL PROTECTED] wrote:

Hi,

 I was installing the mail/dspam port and the selection of options
 appeared for configuration, then after selecting, the configuration
 stopped with an error that I had selected too many back-end options. I
 did 'make distclean' and 'make clean', but the options list will not
 appear again for me to alter the configuration options. How do I do
 this?

make rmconfig

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED] | lea gfx_lib(pc),a1
http://www.energyhq.es.eu.org| moveq   #0,d0
PGP Key: 0xDC8514F1  | move.l  4.w,a6
Note: All HTML mail goes to /dev/null| jsr -552(a6)



pgpPVDzqxwTVQ.pgp
Description: PGP signature


Re: Graphical C programming with GTK 2.0

2004-12-10 Thread Miguel Mendez
On Fri, 10 Dec 2004 19:48:08 +
Frank Staals [EMAIL PROTECTED] wrote:

 I would like to build graphical C programs, therefor I wanted to use 
 GTK. I tried to build the first program in the GTK Tutorial: 
 http://www.gtk.org/tutorial/ch-gettingstarted.html and I tried to 
 compile it as it was explained there: gcc mainwindow.c -o mainwindow 
 `pkg-config --cflags --libs gtk+-2.0`  I couldn't compile it because
 of 

Looking at the log it seems like you didn't use backquotes, so the shell
didn't expand the pkg-config command. Note that ' and ` have different
meanings.

Once you get past that I'd recommend you looking at libglade2, which is
almost essential as soon as you start writing programs with non-trivial
GUIs.

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED] | lea gfx_lib(pc),a1
http://www.energyhq.es.eu.org| moveq   #0,d0
PGP Key: 0xDC8514F1  | move.l  4.w,a6
Note: All HTML mail goes to /dev/null| jsr -552(a6)



pgpJwf43tzBfu.pgp
Description: PGP signature


Re: Scheduling Issues with Multimedia Apps

2004-11-14 Thread Miguel Mendez
On Sun, 14 Nov 2004 02:26:40 -0800
Loren M. Lang [EMAIL PROTECTED] wrote:

Hi,

 Now to try and solve this I tried to set xmms to use realtime priority
 and made it setuid root.  According to top it's running at priority 20
 nice -76 so it seems to be running realtime, but portupgrade can still
 interrupt the audio occasionally.  I've tried nicing portupgrade
 before,
[...]
 amount of time.  If their scheduled apropriately there should be no
 conflicts, I've never really had this issues with linux, AFAIK.  Is
 there any better way to fix this?

Some person recently asked this in freenode's #FreeBSD irc channel, and
the solution that worked for him was to increase xmms's buffer. Go the
preferences menu, Audio I/O plugins, increase the buffer size and see if
it makes a difference. You don't mention what kind of disks you use, but
I guess they're IDE disks. Make sure DMA is working. I usually read my
mp3 files from a NFS server and they never skip, even when the machine
is doing heavy i/o (e.g. unpacking firefox) and/or under load (avg load of
10), but I've noticed audio skips when the mp3 file was on a local disk
that was being currently in use. I don't think increasing xmms's priority
will fix the problem.

Why you don't see that problem in Linux could be due to the anticipatory
i/o scheduler in 2.6.

HTH,
-- 
Miguel Mendez [EMAIL PROTECTED] | Extreme ways are back again
http://www.energyhq.es.eu.org| Extreme places I didn't know
PGP Key: 0xDC8514F1  | I broke everything new again
Note: All HTML mail goes to /dev/null| Everything that I'd owned



pgpAa87LSe0We.pgp
Description: PGP signature


Re: Partition?

2004-11-14 Thread Miguel Mendez
On Sun, 14 Nov 2004 09:04:51 -0700
Dan MacMillan [EMAIL PROTECTED] wrote:

Hi,

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  
  How come i can't enter the #Freebsd channel
  ... im using the freenode server? i have some
  queries. 
 
 I have no idea.  I'm forwarding this to the list,
 maybe someone there can help you.

Your nick needs to be registered and authenticated with NickServ to be
able to join #freebsd. This was done to reduce the amount of
trolling/spam.

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED] | Extreme ways are back again
http://www.energyhq.es.eu.org| Extreme places I didn't know
PGP Key: 0xDC8514F1  | I broke everything new again
Note: All HTML mail goes to /dev/null| Everything that I'd owned



pgpCfmPb8mB9P.pgp
Description: PGP signature


Re: Sed Help.....

2004-11-10 Thread Miguel Mendez
On Wed, 10 Nov 2004 14:43:01 +
Rod Person [EMAIL PROTECTED] wrote:

Hi,

 KDMLINE=/usr/local/bin/kdm -nodaemon
 REPLACELINE=/usr/X11R6/bin/xdm -nodaemon
 
 sed -e s/$REPLACELINE/$KDMLINE/g /etc/test/ttys  /etc/test/new
 
 Here is the error I'm getting:
 sed: 1: s//usr/X11R6/bin/xdm -n ...: bad flag in substitute
 command: 'X'
 

Both strings contain /, so you have to either escape it \/ or use
different command separator, e.g. '[EMAIL PROTECTED]@[EMAIL PROTECTED]'

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED] | Extreme ways are back again
http://www.energyhq.es.eu.org| Extreme places I didn't know
PGP Key: 0xDC8514F1  | I broke everything new again
Note: All HTML mail goes to /dev/null| Everything that I'd owned



pgpfuuM5YtCZw.pgp
Description: PGP signature


Re: Recommended Video Card with OpenGL Acceleration?

2004-11-09 Thread Miguel Mendez
On Mon, 8 Nov 2004 17:49:28 -0700
Chris Kuethe [EMAIL PROTECTED] wrote:

Hi,

 I've started down the path of OpenGL hackery, and am looking for
 recommendations on good video cards support by X.org that have
 hardware accelerated OpenGL. I'll be running this on 5.3-stable. Thus
 far searches have indicated that ATI is to be avoided, NVIDIA is
 decent, and All cards supported by the DRI open source drivers work
 fine in FreeBSD. I would hope that if a card is said to work fine
 actually does do hardware OpenGL. (I have a laptop with a savage
 twister [0x8d01] that works fine with X, albeit very slowly. It'd be
 nice to have that usable.).

If you want to get the best performance the obvious choice is nvidia
hardware with their proprietary kernel driver. There used to be
stability issues in the past but those seem to have been fixed. I
wouldn't say ATI is to be avoided. If you don't have/need the latest and
greatest you will get 3D support from the DRI driver (up to 9200/R280).
You can get a 9200SE/128MB for $50 or so these days, enough if you don't
want to do heavy gaming and/or pixel/vertex shader programming.

The advantage is that, while performance is not as good as with nvidia
gear, you still have a 100% open source kernel and can get to the code
if needed. This might be important for some people, not so relevant for
end users. ATI used to have better 2D quality but this seems to have
changed, and nvidia now actually cares about image quality (I remember
the image quality of my old TNT to be really awful when compared to a
PCI Matrox card)

 If people would care to bounce me a dmesg or hardware description,
 X/Mesa/etc. versions and some glxgears framerates (csdemo framerates
 would be even better), that'd be much appreciated. I'd prefer to not
 have a completely frankensteined system, but if I need to be running
 some package straight out of CVS, then so be it.

For nvidia, use their kernel and X driver, for others Xorg should
provide the 3D support. I don't know about the Savage card, but if Xorg
supports the DRI part you should get 3D acceleration. Some cards only
have 2D support with sometimes Xv as well.


Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED] | Extreme ways are back again
http://www.energyhq.es.eu.org| Extreme places I didn't know
PGP Key: 0xDC8514F1  | I broke everything new again
Note: All HTML mail goes to /dev/null| Everything that I'd owned



pgptMiobDMr2g.pgp
Description: PGP signature


Re: Immuatable

2004-11-01 Thread Miguel Mendez
On Mon, 01 Nov 2004 21:20:16 +0100
oskar johansson [EMAIL PROTECTED] wrote:

Cheers,

 Hello i was wondering how to check the immutable flag on FreeBSD, on
 linux there is something called lsattr that is mention in the man
 pages. Is ther any other way?

Check the -o option in ls(1)

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1
Note: All HTML mail goes to /dev/null


pgpETW3wcyyC7.pgp
Description: PGP signature


Re: Strange file appeared in my home directory

2004-10-28 Thread Miguel Mendez
On Thu, 28 Oct 2004 21:13:34 +
Daniela [EMAIL PROTECTED] wrote:

Hi,

 I noticed a file called regs in my home directory (which is 21 megs
 in size) and I have no clue where it comes from. The file format is
 not recognized by any of the common tools. The creation date was about
 four days ago, so if I created it, I would have remembered.

I've never seen such file, my guess is that anyone breaking into someone
else's computer would hide his stuff, but you never know. Google didn't
turn any useful hit either. With this and the rest of your post I have
reasons to believe that you haven't been broken into. However, if you're
suspicious you could back up the 'evidence', in this case the regs file
and other unsual stuff you might find, wipe the system out and reinstall
and restore date from a good backup.

 I looked at the file with the hexeditor and it seems to consist of
 lots of four-byte values which look like addresses on the stack of an
 application.

What do those values look like?

 About half an hour before the creation date there were numerous failed
 login attempts on the SSH port (all from the same IP), but my logs
 didn't show any signs of an intrusion.

The ssh scans seem to be common. There's an automated tool out there
with a hardcoded weak name/pass list. My suggestion for that is, if you
only need ssh access from specific places setup a firewall rule to allow
only those IP addresses.

 However, I suspect that I've been hacked. There was another strange
 occurence: Yesterday my internet connection went down without a
 particular reason. I tested a few other configurations and rebooted
 multiple times, and after the fifth reboot (with the usual settings
 restored) it suddenly worked again. There seem to be no unusual
 processes running, but when I'm hacked, I can't trust the tools on my
 system any more. Also there were quite a few crashes.

Do you run any services on that box besides ssh?
Apache/Sendmail/Whathaveyou? Anything unusual in the logs?

 Has anyone seen this file too?
 In case anyone wants to know, the offending IP was 200.84.78.83.

That IP resolves to 200-84-78-83.genericrev.cantv.net, either a
compromised Windows box or a script-kiddiot computer, too lazy to nmap
it now :)

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1
Note: All HTML mail goes to /dev/null


pgpESuTWU7KTW.pgp
Description: PGP signature


Re: Ports Improvements

2004-10-25 Thread Miguel Mendez
On Sun, 24 Oct 2004 16:16:43 -0700
Loren M. Lang [EMAIL PROTECTED] wrote:

Hi,

Kris has already pointed out that FreeBSD's ports system works in a
different way, but I'll add my $0.02 anyway...

 I'm curious if there is any major work being done in developing the
 ports infrastructure right now or if it is mostly just minor features

The ports system is being enhanced all the time. They don't push radical
changes into the system but small steps, and I think that's the way it
should be, as it leaves more room for testing.

[portage]
 biggest thing is the USE flags.  One of the biggest annoyances I have
 with major upgrades using portupgrade is when I leave it upgrading for
 a day and come home to find it sitting at the mplayer-skins screen
 asking what skins I want to install and that it spent less then an
 hour doing any work upgrading.  I really don't care much about skins,

I'd say portage's USE is, at the same time, its best feature and its
biggest weakness. A lot of people end up with broken programs due to
exotic USE settings that no one else has tested. Others change USE
options and then forget to run emerge in deep mode, ending up with a mix
of programs and libraries, some of them depending on e.g. kde or gnome
libraries and other that don't.

As someone who has used both systems, I have to say that FreeBSD's fine
grained OPTIONS is much better than portage's USE. Sure, it will ask you
the first time (although you could just use BATCH if you want to use
defaults for everything), but it will be automated the next time you
update and/or rebuild the port.

portage is far from perfect. For example, I had -gnome in my USE
flags, and some dependencies of monodevelop were compiled that way.
After building them it complained in the next ebuild that libfoo had
been built without gnome and that I had to rebuild it again. (IIRC it
was gtkhtml or a similar lib).

 something.  USE flags would also eliminate the need for ports like
 exim-ldap.

This is needed if you want to provide binary packages with different
options.

  In fact, I
 think gentoo has at least 5 of the latest ebuilds in the mozilla
 directory.  This makes it easier to choice an older version if the
 latest has some bugs not worked out yet.  Yesterday I just ran across

You can always cvs(up) to a given point in time. portage usually has
ebuilds that are still marked x86 only, or even hardmasked (e.g.
sylpheed-gtlk2). On FreeBSD, if a port is in the tree it will probably
work. My impression is that the testing part on FreeBSD is better, and
that portage relies more on 'commit and let people try it'.

 still had problems.  At least on gentoo I would of had five choices. 

You do have the choice in FreeBSD, cvs is your friend.

 The last feature I would like to see in ports is the ability to hold
 back certain ports or force them to always use packages.  lang/ezm3
 and editors/openoffice-1.1 almost always fail compiling at some point
 with cc1 being killed for eating too much memory.  I prefer to always

portupgrade has been able to do that for a long time. Have a look at
pkgtools.conf in /usr/local/etc.

 I might be able to volunteer some time to this as, at least the first
 thing I mentioned I think could really use some work.

Having said that, I like both systems and just wanted to point out that
neither of them are perfect, and each one has its little advantages over
the other. I don't see the point in portage-ing FreeBSD ports. I don
think that some ideas could be borrowed from OpenBSD's ports, like fake
installs and the very strict plist handling. I also like how they use
more than one digest, thus making a possible MD5 and SHA1 collision
nearly impossible.

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1
Note: All HTML mail goes to /dev/null


pgpsO2Mhsuc6m.pgp
Description: PGP signature


Re: Please explain.

2004-09-19 Thread Miguel Mendez
On Sun, 19 Sep 2004 16:57:00 +0200
[EMAIL PROTECTED] (Dag-Erling Smørgrav) wrote:

Hi,

 [EMAIL PROTECTED] writes:
  It appears that FreeBSD have a clear Multi-threading lock-in issue
  that needs to be fixed. Not work arounds. According to many freebsd
  developers nobody simply wants to fix this, is it true that the
  current smp work are just 'work-arounds' not real fixing?
 
 Did David Rhodus put you up to this?  You should just tell him to do
 his own dirty work.

Why don't you and Bosko leave the DragonFlyBSD people alone? I don't get
it. Are you jealous of their work or what? You're not helping
inter-camp relations if you pick on them every time you have an
opportunity.

I'm sure David would post anything he wants to without resorting to
silly games.

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1
Note: All HTML and non-english mail goes to /dev/null


pgpya1QVwr32Q.pgp
Description: PGP signature


Re: how to install portindex?

2004-09-14 Thread Miguel Mendez
On Tue, 14 Sep 2004 12:27:32 +0200
Karol Kwiatkowski [EMAIL PROTECTED] wrote:

 Hello all,
 
 I've been reading about portindex and finally decided to install it.
 The problem is I can't find it.
 It should be in sysutils/portindex but there's no such directory.

The author/maintainer asked for it to be removed. I'll be working on a
replacement when I have some spare time.

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1
Note: All HTML and non-english mail goes to /dev/null


pgphkDoxVXrN1.pgp
Description: PGP signature


Re: is there an 'open-source' RealPlayer?

2004-09-04 Thread Miguel Mendez
On Sat, 4 Sep 2004 01:25:38 -0700
Gary Kline [EMAIL PROTECTED] wrote:


Hi,

   Is there any open source version of the Real Audio player?
   or a translator that takes the input or ra[m] and creates 
   a wav|mp3 stream?  Also,is anything is the works to create
   a (*ick*) Windoze version of their player for the Unix user?

IIRC mencoder (which is part of mplayer) can do that. There's also this
new project from Real called Helix ( https://helixcommunity.org/ ). I
know somebody is already working on a port. You can still use the closed
source linux version of Real Player as well, but only for replay, no
transcode AFAIK. I'd give mencoder a try, I've used it in the past to
convert between video formats and it works very well.

   Anybody out there:-) ?

Definitely :)

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1
Note: All HTML and non-english mail goes to /dev/null
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OpenGL development on FreeBSD

2004-08-31 Thread Miguel Mendez
On Tue, 31 Aug 2004 17:10:26 -0700
Henrik W Lund [EMAIL PROTECTED] wrote:

Hi,

 Having hacked some OpenGL on FreeBSD myself, I found www.opengl.org to
 
 be helpful (the obvious one, perhaps), as well as NeHe's tutorials
 over on nehe.gamedev.net

Yes, those tutorials are excellent. Kilgard's `OpenGL programming for
the X Window System' also makes a good start if you prefer dead tree
documentation, although the Motif stuff is not that useful these days,
but the basics remain the same.
 
 Basically, any stuff that's valid for Linux, is also valid for
 FreeBSD. The OpenGL API is identical (and comes installed with X), the
 only thing that might be different is the placement of libraries and
 headers, but this is handled during compile-time anyways. The other
 thing is hardware acceleration. I'm fuzzy on this, but my impression
 is that this is somewhat non-existent on FreeBSD. The only exception
 quite possibly being the NVIDIA drivers.

I'd say FreeBSD is almost on par with Linux with regards to 3D hardware
acceleration, the exception being high end ATi cards which only work
with ATi's closed source drivers. All cards supported by the DRI open
source drivers work fine in FreeBSD. I haven't noticed performance
difference between Arch Linux and FreeBSD 5.3 when it comes to OpenGL
apps. Ironically, my little SDL benchmarks performed better on the BSDs,
even when one of the CPUs was busy. Could be a scheduler side effect,
not sure.

 If he's porting from Linux, my guess is that he's got a fairly easy
 job ahead of him. If he's porting from Windows, that's going to pose a
 lot more work. Also, he'll need to use one of the appropriate
 libraries (GLUT or SDL) unless he wants to code directly atop libX11
 *shudder*.

All modern toolkits allow integration with OpenGL these days, be it SDL
or GTK+/Qt if you need something more feature rich. I see little reason
not to use them.

Just my $0.02
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1
Note: All HTML and non-english mail goes to /dev/null


pgpLewL7pGmSI.pgp
Description: PGP signature


Re: Internet connection sharing

2004-07-18 Thread Miguel Mendez
On Sun, 18 Jul 2004 08:19:49 -0700 (PDT)
Stanley Wright [EMAIL PROTECTED] wrote:

Hi,

 What is the best way to share an internet connection between FreeBSD
 and Linux and FreeBSD and windows.

Assuming that the FreeBSD box is the one that's direcly connected to the
internet: 

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

That part of the handbook (which I encourage you to read if you haven't
already) explains what's NAT and how to set it up using ipfw/natd. You can
also configure a nat box using ipf/ipnat.

http://www.obfuscation.org/ipf can help if you choose to go the ipf
route.

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1



pgpxEX7YU4y4b.pgp
Description: PGP signature


Re: mkisofs not found

2004-07-16 Thread Miguel Mendez
On Fri, 16 Jul 2004 11:24:25 +0800
kinux [EMAIL PROTECTED] wrote:


Hi,

 i have a 4.10 box, today i try to install mkisofs, i cvsup first, then
 got a problem i have never seen before..  with following..
 # uname -r
 4.10-STABLE
 # make search name='mkisofs' | grep Path
 Path:   /usr/ports/chinese/mkisofs
 Path:   /usr/ports/korean/mkisofs
 Path:   /usr/ports/sysutils/mkisofs
 Path:   /usr/ports/sysutils/mkisofs-devel
 # cd /usr/ports/sysutils/mkisofs
 /usr/ports/sysutils/mkisofs: No such file or directory.

Sounds like an outdated INDEX to me, which is what make search uses.
mkisofs is part of the sysutils/cdrtools port now.


Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1



pgpe2wTEJXoo7.pgp
Description: PGP signature


Re: Apache and split logs

2004-07-13 Thread Miguel Mendez
On Tue, 13 Jul 2004 15:45:03 -0600
Chris Burchell [EMAIL PROTECTED] wrote:

Hi,

 Is there any way (script / apache module / other) I can have the
 apache access-log split into separate access logs for individual
 virtual sites hosted on a FreeBSD box?

You can use the ErrorLog and CustomLog options in the VirtualHost
definition. For example, I use this one for one of my servers:

VirtualHost xxx.xxx.xxx.xxx:80
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /var/www/www.xxx.org
ServerName www.xxx.org
ErrorLog logs/xxx-error_log
CustomLog logs/xxx-access_log common
/VirtualHost


HTH,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1



pgpkGrrlfOn9W.pgp
Description: PGP signature


Re: making files opposite from themselves (100% change)

2004-07-05 Thread Miguel Mendez
On Mon, 5 Jul 2004 13:55:00 -0700 (PDT)
Joe Schmoe [EMAIL PROTECTED] wrote:

Hi,

 So the question is, how do I take a given file and
 make it 100% different from itself (but maintain its
 size and place on disk) ?  I could just output
 /dev/zero to it, but that would leave unchanged all
 the bits that were aleady zero.
 
 So how do I flip the bits of an entire file ? 
 Further, is there a good command line that will flip
 the bits of some percentage of the file ?

The xor operation of a byte/word/dword with itself does that. You could
setup a buffer of the desired % of bytes you want to change, read the
bytes, xor them (^ in C) with itself and write back. It's trivial in
C/Perl/python/whathaveyou.

Or you could fetch some random data from /dev/urandom if you prefer.

-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1



pgpNScRmyLOLI.pgp
Description: PGP signature


Re: making files opposite from themselves (100% change)

2004-07-05 Thread Miguel Mendez
On Mon, 5 Jul 2004 22:59:55 +0200
Miguel Mendez [EMAIL PROTECTED] wrote:

 The xor operation of a byte/word/dword with itself does that. You
 could setup a buffer of the desired % of bytes you want to change,
 read the bytes, xor them (^ in C) with itself and write back. It's
 trivial in C/Perl/python/whathaveyou.

This, of course, is supposed to read : the bitwise not operation. Never
post before coffee.
 
Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1



pgpmBWVRdzraH.pgp
Description: PGP signature


Re: cue images

2004-06-27 Thread Miguel Mendez
On Sun, 27 Jun 2004 10:30:58 -0400
Jeremy Faulkner [EMAIL PROTECTED] wrote:

Hi,

  Is there any program that runs on fbsd that allows burning cue
  files? I did not find anything about it on the burncd man page.

 .bin/.cue files are not standard. Use ports/sysutils/bchunk to convert
 them to a standard ISO image.

Actually, bin/cue is pretty much standard (at least in the win32 world),
and sysutils/cdrdao can burn those without any problem.

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1



pgpolPsKkoLAa.pgp
Description: PGP signature


Re: Enemy Territory

2004-06-24 Thread Miguel Mendez
On Thu, 24 Jun 2004 10:15:37 +0200 (CEST)
Andreas Davour [EMAIL PROTECTED] wrote:

Hi,
 
[Enemy Territory run attempt]
 ...loading libGL.so.1: QGL_Init: dlopen libGL.so.1 failed: libGL.so.1:
 cannot open shared object file: No such file or directory
 failed
 - CL_Shutdown -
 RE_Shutdown( 1 )
 ---
 - CL_Shutdown -
 ---
 Sys_Error: GLimp_Init() - could not load OpenGL subsystem
 
 I know some X stuff have gone south due to my clumsy fingers, but
 libGL.so.1 *is* present. I did a 'ls /usr/X11R6/lib/libGL.so.1' and it
 was there. It even was present at /usr/compat/linux/lib/libGL.so.1
 when I checked.
 
 Any ideas on how to debug this problem? I there some other missing
 stuff that can cause this?

Ok, first, Enemy Territory is a Linux binary, and needs Linux libs, so
make sure all the needed Linux libs are there (libGL et al).

Now, I seem to remember that I had to specify the opengl library once to
get it to work (sorry, I don't have ET installed right now).

et should be a shell script that sets some variables and loads de real
thing. Now there's a parameter you can give to the real exe (something
like -r) to specify the full path for the opengl library. Try setting it
to /usr/compat/linux/libGL.so.1 and see if it finds it.
 
Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1



pgp114QLvuFB1.pgp
Description: PGP signature


Re: ipfw keep-state (ASAP anwser need)

2003-12-09 Thread Miguel Mendez
./[EMAIL PROTECTED] wrote:

 ${fwcmd} add allow udp from any 1024-65535,53 to any 53
 ${fwcmd} add allow udp from any 53 to any 1024-65535

That ruleset is a really bad idea. Imagine the following scenario: You
run a vulnerable service (bind, sendmail, you name it), Joe Haxor
launches a exploit against that service and creates a bindshell on port
1337. Now all he has to do is use port 53 as source and automagically
trespasses your firewall settings. Always use *stateful* firewalling,
and never allow anything not strictly necessary. Btw, zone transfers use
TCP, so you'd have to allow that as well.

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1

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


Re: 100 MHz pentium: can that play avi-file movies?

2003-12-01 Thread Miguel Mendez
./dick hoogendijk wrote:
 
  Videocard is a Riva TNT2 with 16 Mb.
 
 If you want to *enjoy* the movie in a good resolution and all, the
 answer probably will be NO, you can't do that
 
 You're videocard is not good enough for a fast X driver and your
 processor needs an upgrade to at least a P3-300 or up.

Nope, the TNT (aka NV4) can do YUV overlays, that card is more than
enough to handle the video. OTOH, I agree on the need for a faster CPU,
modulo the fact that there has never been a 300Mhz Pentium III :-P

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1

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


Re: Starting KDE from ttys and xdm.

2003-11-17 Thread Miguel Mendez
begin  electrogrammati illius Lee Mx 

Hi,

 When I enable xdm in /etc/ttys, it starts twm by default.
 With startx and xinitrc it starts whatever is there.  How can the
 default window manager be changed when starting with xdm?

Create a .xsession file in your home dir. Something like this should do it:
-cut---
#!/bin/sh
exec startkde
cut

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Super block errors

2003-11-11 Thread Miguel Mendez
On Tue, 11 Nov 2003 12:52:37 -0500
Gregory Stearns [EMAIL PROTECTED] wrote:

 Every time I try to mount my cdrw on my toshiba satelite lap top it
 comes back with invalid super block. It also does this when I try to
 mount my jump drive. What do I do to correct this in version 4.7 and
 5.1

Looks like you're using mount instead of mount_cd9660. About the 'jump
drive', if it's a FAT32 volume you'll have to use mount_msdosfs command.

mount also accepts the filesystem specification via the -t option.

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: simpliest way to calculate octal?

2003-11-10 Thread Miguel Mendez
On Mon, 10 Nov 2003 14:35:35 +0800
Zhang Weiwu [EMAIL PROTECTED] wrote:

Hi,

 Today I found I cannot calculate what is the octal form of 0xa04e.
 
 First I thought xcalc should do the work, but it seems only deal with 
 decimal.
 
 I have perl, tcsh, python interprater. It is likely that they are all 
 capable of this kind, but what are the commands for them? What's the most 
 convenient way?

How about: echo 0xa04e | awk '{printf %o\n,$1}'

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NFS v2? possible?

2003-11-09 Thread Miguel Mendez
On Sun, 9 Nov 2003 22:32:38 -0700
Chad Leigh -- Shire.Net LLC [EMAIL PROTECTED] wrote:

Hi,

 It seems to be ok.  I don't know what the problem is, but it seems to 
 be on the Linux end as I run mountd and portmap with verbose
 debugging, as appropriate to each, and mountd immediately returns a
 mount successful but Liunx take 10 minutes to return from the mount
 command.

You probably want to use the 'nolock' option in Linux, that solved it
from me.

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: printing setup

2003-11-04 Thread Miguel Mendez
On Tue, 4 Nov 2003 06:09:53 -0500 (EST)
[EMAIL PROTECTED] wrote:

Hi,

 What is the fastest and easiest way to get printing setup on 5.1
 release? I have a Brother 1440 connected to the printer port.  I want
 to be able to print from the print sever and a few other BSD machines,
 and also to setup samba to allow other machines on the local network
 to share the printer.  I tried CUPS it did not work.  I also tried
 LPRng, but had trouble getting it configured also.  I tried to
 download and compile Printtool, but that didn't work either.  Is there
 a graphical printer configuration tool for BSD?  Please cc
 me with responses.

I use a Brother 1430 in FreeBSD 5.1, and it works very well. I connected
it to the USB port and installed CUPS. Then I downloaded the
foomatic-rip script from http://www.linuxprinting.org and the HL1250 ppd
for CUPS. Works like a charm. Install the ppd file and the foomatic
stuff and then start cupds (/usr/local/etc/rc.d/cups.sh start). Point
your browser to http://localhost:631 and enter the user when prompted
(root and its password). Your files should like this:

/usr/local/libexec/cups/filter/foomatic-gswrapper
/usr/local/libexec/cups/filter/foomatic-rip
/usr/local/share/cups/model/Brother-HL-1430-hl1250.ppd

Create a new printer and choose the Brother model. Should just work.
Also check www.linuxprinting.org, it has a lot of info of the matter.

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: printing setup

2003-11-04 Thread Miguel Mendez
On Tue, 4 Nov 2003 10:48:36 -0500 (EST)
[EMAIL PROTECTED] wrote:

[Please, keep [EMAIL PROTECTED] CC'd]

 Request Entity Too Large
 The request is too large for this server to process.HTTP/1.1 413
 Request Entity Too Large Date: Tue, 04 Nov 2003 14:35:45 GMT Server:
 CUPS/1.1 Content-Language: en-us,en;q=0.5 Upgrade: TLS/1.0,HTTP/1.1
 Connection: close Content-Type: text/html Content-Length: 168
 Request Entity Too Large
 The request is too large for this server to process.

Ok, a quick search on google reveals there used to be more people with
that problem. So, what version of cups do you have installed? If it's an
old one, you should cvsup your ports tree and install the latest
version. The one I'm using:

[EMAIL PROTECTED] pkg_info | grep -i cups
cups-1.1.19.0   The Common UNIX Printing System: Metaport to install comple
cups-base-1.1.19.0  The Common UNIX Printing System: headers, libs,  daemons
cups-lpr-1.1.19.0   The CUPS BSD and system V compatibility binaries (lp* comma
cups-pstoraster-7.07 GNU Postscript interpreter for CUPS printing to non-PS prin

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.x kernel config changes?

2003-10-30 Thread Miguel Mendez
Dixitur illum Leo Bicknell [EMAIL PROTECTED] scribere...

[Moving to questions, since all of these are FAQs]

Hi, here we go...
 
 1) It appears IPFW just works (eg, configure it in /etc/rc.conf).  It
used to be you had to compile it in.  What's interesting to me is
that IPFW options are not in generic, and I didn't think options
could be done in LKM's.  What am I missing?

You aren't missing anything, the module is loaded if needed.

 2) IPDIVERT is missing / doesn't work, so while my IPFW config seemed 
to take/work natd did not work.  If IPFW is just going to work
having IPDIVERT just work seems like a good idea as well.

As per 1), if ipfw is loaded as module no ipdivert functionality will be
present, you need to add both in your kernel config.

 3) There seems to be no more LINT or other listing of all the options.
Why?  In particular I needed options NETATALK but couldn't
remember the name and there was no file to quickly grep.  Has the
list of options been moved somewhere else?

The config file is now called NOTES, and was splitted in two parts,
machine dependent and machine independent. You can generate the LINT file
with: make LINT in that same directory where NOTES is.

 4) Due to the way the makefiles now work it seems impossible to build
 a
new kernel after changing just options statements and install it
without also rebuilding all the modules...which takes quite some
time.  This seems to be because it moves the whole directory out of
the way in /boot.  This seems a little suboptimal to me.

You can choose not to build modules by setting it in make.conf.

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED]
http://www.energyhq.es.eu.org
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: libc (?)

2003-07-02 Thread Miguel Mendez
On Wed, 2 Jul 2003 23:46:16 +0930
james [EMAIL PROTECTED] wrote:

Hi,

 [EMAIL PROTECTED]:~]
 /usr/libexec/ld-elf.so.1: Shared object libc.so.5 not found
 
 How would I fix this? - what do I compile etc that will remove this
 error message?

Sounds like you've installed a 5.x package on a 4.x system. You cannot
do that.
 
 I did a buildworld a while ago to 4.8 stable, and ever since then I've
 received this error message (ie, amavis doesn't work anymore :-(

Are you installing packages for -CURRENT? Using ports? If a program is
asking for libc.so.5 it means it was compiled for 5.x.
 
Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
EnergyHQ :: http://www.energyhq.tk
Tired of Spam? - http://www.trustic.com


pgp0.pgp
Description: PGP signature


Re: libc (?)

2003-07-02 Thread Miguel Mendez
On Thu, 3 Jul 2003 00:16:59 +0930
james [EMAIL PROTECTED] wrote:

Hi,
 
 Probably a really stupid question - but is there a compatability port
 of some sort for 4.x systems so we can run things compiled for 5.x ?
 :-)

I fail to see how that could be useful, even if it worked. You can build
ports on your 4.x system, and you can use packages on it too. I
recommend you installing portupgrade if you haven't already. The you can
use cvsup and portupgrade with the -Pp options to use packages if you
don't feel compiling stuff yourself. Note that there's not a specific
4.x or 5.x ports tree, ports are ports are ports.

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
EnergyHQ :: http://www.energyhq.tk
Tired of Spam? - http://www.trustic.com


pgp0.pgp
Description: PGP signature


Can the FreeBSD handbook be sold?

2003-06-26 Thread Miguel Mendez
Hi,

I came across this:

http://store.fultus.com/product_info.php?cPath=5_10products_id=1

These guys are selling a pdf version of the handbook for 35 bucks a pop.
Is that legal? Because, if it is, I'll wget the online doc, pipe it to a
pdf creator and sell it for $25 ;-P

I'm just curious about the status of documentation.

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
EnergyHQ :: http://www.energyhq.tk
Tired of Spam? - http://www.trustic.com


pgp0.pgp
Description: PGP signature


Re: What programs are installed..?

2003-06-16 Thread Miguel Mendez
On Mon, 16 Jun 2003 10:13:23 -0500
Alvaro Rosales R. [EMAIL PROTECTED] wrote:

Hi,

 Hi guys is there a way to know which progrmas have been installes 
 in a FReeBSD box?.

pkg_info will give you a list of installed packages. See the man page
for details on the various options.

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
EnergyHQ :: http://www.energyhq.tk
Tired of Spam? - http://www.trustic.com


pgp0.pgp
Description: PGP signature


Re: / is filling up

2003-06-04 Thread Miguel Mendez
On Tue, 3 Jun 2003 11:07:36 -0700
David Daugherty [EMAIL PROTECTED] wrote:

Howdy,

 My / partition is getting pretty full, 92%. Usually the culprit is
 something I'm not rotating in /var/log, but that's not the case this
 time. Does anyone have any suggestions to find out where this is? I'm
 guessing it's probably something using ls and sort but I'll be damned
 if I can put something together that helps this problem.

How about: du -h | grep [0-9]M | sort -r

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
EnergyHQ :: http://www.energyhq.tk
Tired of Spam? - http://www.trustic.com


pgp0.pgp
Description: PGP signature


Re: send-pr problem (DNS related)

2003-06-04 Thread Miguel Mendez
On Fri, 30 May 2003 17:15:39 +0200
Alex de Kruijff [EMAIL PROTECTED] wrote:

Hi,

 I have been trying to send a pr but have some thouble with this. 
 The problem is that i am on a private lan and have a hostname 
 that only exist on that lan. Sending mail with sendmail or mutt is not
 a problem because of the -f option. I seem to be unable to give my 
 mail adres like i can with these two.

send-pr calls $EDITOR with the PR template, where you can change most
(all) fields, one of them being the From: part. It then feeds the result
to mail IIRC. You can put whatever you want to on the From field. Or,
shameless plug you could give sysutils/gtk-send-pr a try :)
/shameless plug

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
EnergyHQ :: http://www.energyhq.tk
Tired of Spam? - http://www.trustic.com


pgp0.pgp
Description: PGP signature


Re: Sendmail + Cyrus + Procmail(?) + SpamAssassin

2003-04-05 Thread Miguel Mendez
On Wed, 02 Apr 2003 11:46:33 -0600
Kirk Strauser [EMAIL PROTECTED] wrote:

Howdy,

 Quick OT question: how do you debug a sieve script?  I uploaded a very
 simple script to my server:
 
 require fileinto;
 
 if header :contains X-Spam-Flag YES {
 fileinto INBOX.spam;
 } else {
 fileinto INBOX.foo;
 }
 
 and made it active.  Both of the mailboxes user.kirk.foo and
 user.kirk.spam(or INBOX.foo and INBOX.spam as seen from the client)
 exist, but all mail keeps coming into INBOX.  Did I miss a
 process_sieve_scripts = yes flag somewhere?

Oops, didn't see this one. There are two ways to use sieve, one is
having a .sieve file in your home dir, the other is having sieve scripts
in /usr/sieve. There's a setting in imapd.conf to select which way sieve
scripts are handled, e.g. if you have lots of users but no real
accounts.

The relevant bits:

sievedir: /var/imap/sieve
# If enabled, deliver wil look for Sieve scripts in user's home
# directories:# ~user/.sieve.
sieveusehomedir: true

Another thing, if you're using sieveshell you need to 1) upload script,
2) activate it, if you dont' activate it, it won't take effect. Perhaps
that's what's happening?

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Tired of Spam? - http://www.trustic.com


pgp0.pgp
Description: PGP signature


Re: Sendmail + Cyrus + Procmail(?) + SpamAssassin

2003-04-02 Thread Miguel Mendez
On Tue, 01 Apr 2003 09:30:04 -0600
Kirk Strauser [EMAIL PROTECTED] wrote:

Hi Kirk, sorry for not replying earlier.

 What does the above line do?
 
 /usr/local/bin/spamassassin -F0 -P -x \
-p /home/${user}/.spamassassin/user_prefs |
 /usr/local/cyrus/bin/deliver -e -m ${extension} ${user}
 
 Since '-P' is now the default, that's no problem.  What did '-F0' do?

The -F0 option was an option that made spamassassin not alter the
headers, as it would confuse some programs. It's not needed since 2.44
iirc. Because spamassassin is being ran as user cyrus, you need to tell
it where to search for user_prefs.

 Do you have a good reference for that?  I Googled sieve cyrus and
 got more information than I could handle.

http://www.cyrusoft.com/sieve/ is a good starter, specially the provided
samples. Have a look at them and you'll figure out most of the stuff.

Btw, I've seen you finally solved it. I'd like to add your howto
document to ezunix.org's site, mind if I do (giving credit, of course)

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Tired of Spam? - http://www.trustic.com


pgp0.pgp
Description: PGP signature


Re: Sendmail + Cyrus + Procmail(?) + SpamAssassin

2003-03-31 Thread Miguel Mendez
On Tue, 01 Apr 2003 00:17:40 -0600
Kirk Strauser [EMAIL PROTECTED] wrote:

Howdy,
 
 It's now well past my bed time, my brain is all muzzy, and I'm this
 close to giving up on the whole project.  Before I do, I have to ask:
 has *anyone* made Sendmail+Cyrus+Procmail+SpamAssassin work?  In order
 of most undesirable to least:

Almost, my setup is a bit different, but perhaps I can give you some
ideas. My mailserver goes like this:

postfix - spamassassin - deliver - sieve

Now, how does one accomplish this? postfix pipes mail through a shell
script instead of feeding it directly to Cyrus' deliver. This shell
script pipes mail through spamassassin, and then finally to deliver,
which uses my .sieve to automagically bounce all Spam to trustic's
database and move messages to the appropriate folders. What you could do
is something like have sendmail pipe you email to a shell script that
would pipe it to procmail, and finally to Cyrus' deliver. Note that you
can't have procmail deliver the mail becuase Cyrus uses its own storage
method (a Maildir lookalike combined with some BerkeleyDB stuff)

If you want to have a look at the shell script I'm using, I got it from
here: http://www.tml.hut.fi/~pnr/spam.html

2 remarks: Newer versions of SA don't support the -F0 and -P options,
and , you'll have to modify it, since it was made for postfix, but I
hope it will help as a starter.

Also, if you have time, I'd recommend playing with sieve, it's quite
powerful and yet easy to use tool to do server side mail
filtering/sorting.

HTH,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Tired of Spam? - http://www.trustic.com


pgp0.pgp
Description: PGP signature


Re: latest version of ports

2003-03-31 Thread Miguel Mendez
On Tue, 1 Apr 2003 09:08:25 +0200
CARTER Anthony [EMAIL PROTECTED] wrote:

Howdy,

 For fresh OS, read /usr/src/UPDATING but, in brief:
 
 cd /usr/src
 make buildworld KERNCONF=YOURKERNELFILE

KERNCONF is not needed here

 make buildkernal KERNCONF=YOURKERNELFILE
 make installkernal KERNCONF=YOURKERNELFILE

kernel, not kernal

 mergemaster -p

You probably want to run mergemaster -p on a filesystem mounted as
read/write :)

 mount -u /
 mount -a
 cd /usr/src
 make installworld KERNCONF=YOURKERNELFILE
 mergemaster

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Tired of Spam? - http://www.trustic.com


pgp0.pgp
Description: PGP signature


Re: 5.0 Release frequently asked questions

2003-03-23 Thread Miguel Mendez
On Sun, 23 Mar 2003 13:05:59 -0500 taxman [EMAIL PROTECTED] wrote:

Howdy.

   We seem to get up to 5 questions a day on the questions mailing  list from 
 people that didn't read the early adopters guide and assumed  the 5.0 was another 
 production quality release.

Well, people *are* expected to read documention, specially for this kind of release, 
aren't they? :) I like the idea of a FAQ, tho.

   Please comment on this and let me know if you think it needs 

I like it so far, and I'll nitpick you a bit :)

%dmesg  my.dmesg will do that for you. - /var/run/dmesg.boot :)


Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!
Tired of Spam? - http://www.trustic.com


pgp0.pgp
Description: PGP signature


Re: Bind9 install

2003-03-13 Thread Miguel Mendez
On Thu, 13 Mar 2003 10:27:15 +0100 (CET)
Ahmed SAHNOUN [EMAIL PROTECTED] wrote:

Howdy,

 after those steps, when I invoke named -version command, I see
 that's 8!! also man named commands gives information only about
 version 8!

The reason for that is that it got installed in /usr/local, so the old
named is still found first. You can try specifying the full path
(/usr/local/sbin/named), and/or replace the one in base by setting
PORT_REPLACES_BASE_BIND9 during the build, which will set PREFIX to /usr
instead. Beware that if you do a buildworld the old named will return
unless you set /etc/make.conf appropriately.

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!
Tired of Spam? - http://www.trustic.com


pgp0.pgp
Description: PGP signature


Re: send-pr(1) requires local mail daemon, breach of contract forComcast users

2003-03-11 Thread Miguel Mendez
On Tue, 11 Mar 2003 12:54:02 -0500
Christopher Nehren [EMAIL PROTECTED] wrote:


Howdy,

 I'm running FreeBSD as the only operating system on my home machine,
 using Comcast non-professional as my ISP. My problem is that send-pr
 is written to use a local mail daemon to send mail to the GNATS
 submission site. Running a mail daemon, however, is strictly and
 expressly prohibited by Comcast's Terms of Service. Is there another
 way of submitting bug reports that doesn't require me to either breach
 my contract with my ISP, or manually copy and paste text for each
 report(yes, I've checked the web interface, which is 'currently
 disabled')?

Maybe you can configure sendmail to use your ISP's SMTP server as smart
host, would that still be against the contract?

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!
Tired of Spam? - http://www.trustic.com


pgp0.pgp
Description: PGP signature


Re: xterm + colors just wont splice...

2003-02-26 Thread Miguel Mendez
On Wed, 26 Feb 2003 02:13:52 -0800 (PST)
Thanos Tsouanas [EMAIL PROTECTED] wrote:

Howdy.

 Ive never managed to see colored output on an Xterm on FreeBSD..
 i mean, the -bg, -fg color switches work fine...
 but i cant see the colors of vim, nor when i ls -G etc etc.

If you are using -STABLE, try setting TERM to xterm-color

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!
Tired of Spam? - http://www.trustic.com


pgp0.pgp
Description: PGP signature


Re: mac file to unix format

2003-02-26 Thread Miguel Mendez
On Wed, 26 Feb 2003 14:10:51 -0600
Bryan Cassidy [EMAIL PROTECTED] wrote:

Howdy,

 I have found many Mac wallpapers online that are in .sit format and I
 was wondering if there was a way I could convert a .sit file to say a
 .png file so I could use the image on freebsd 5?

.sit files are compressed with StuffIt, a very common compression
program for Mac. You can use archivers/stuffit to expand them.

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!
Tired of Spam? - http://www.trustic.com


pgp0.pgp
Description: PGP signature


Re: linker paths /usr/local/lib

2003-02-24 Thread Miguel Mendez
On Mon, 24 Feb 2003 18:39:11 +1100
Sam Izzo [EMAIL PROTECTED] wrote:

Howdy,

 Yeah, OpenPTC doesn't accept that parameter :/

Being a curious person myself I cvs co'd the OpenPTC thing to try it
here. I've tried it on a NetBSD box, but the procedure to build it on
FreeBSD should be similar.

First I had to patch configure. This is my patch (change /usr/pkg/lib to
/usr/local/lib on FreeBSD)

--- configure.orig  2003-02-24 09:30:02.0 +0100
+++ configure   2003-02-24 09:33:45.0 +0100
@@ -1946,7 +1946,7 @@
 #include confdefs.h
 #include $ac_hdr
 EOF
-ac_try=$ac_cpp conftest.$ac_ext /dev/null 2conftest.out
+ac_try=$ac_cpp -I/usr/pkg/include conftest.$ac_ext /dev/null
2conftest.out
 { (eval echo configure:1951: \$ac_try\) 15; (eval $ac_try) 25; }
 ac_err=`grep -v '^ *+' conftest.out | grep -v ^conftest.${ac_ext}\$`
 if test -z $ac_err; then


Then I used this:

$ env CFLAGS=-I/usr/pkg/include LDFLAGS=-L/usr/pkg/lib ./configure

(Again, change /usr/pkg to /usr/local for FreeBSD)

configure went okay. I still get an error while trying to build the lib,
but it's a step.

I'll post in a while if I get it to build, right now I have to get onto
other things. Hope this helps a bit. Perhaps it would be worth e-mailing
the developers and making an offer to help them make a more sane
configure script.

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!
Tired of Spam? - http://www.trustic.com


pgp0.pgp
Description: PGP signature


Re: linker paths /usr/local/lib

2003-02-23 Thread Miguel Mendez
On Mon, 24 Feb 2003 02:28:09 +1100
Sam Izzo [EMAIL PROTECTED] wrote:

Howdy,

 and the command-line:
 
gcc test.c -o test -lHermes
 

You probably want something like this:

   cc -o test test.c -L/usr/local/lib -lHermes
 
 Hermes is installed in /usr/local/lib (from ports).  The gcc/ld man
 pages and various sources on the web seem to indicate that
 /usr/local/lib isn't searched by default.  `ldconfig -r' shows hermes
 in its list, however.  Anyway man ld says that for a native linker on
 an ELF system, if the file /etc/ld.so.conf exists, the list of
 directories found in that file will be searched, so I added
 /usr/local/lib to that file (and /usr/X11R6/lib for good measure)
 however I still get the error.

IIRC, ld.so.conf only affects the runtime dynamic linker, in a similar
way LD_LIBRARY_PATH does.

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!


pgp0.pgp
Description: PGP signature


Re: linker paths /usr/local/lib

2003-02-23 Thread Miguel Mendez
On Mon, 24 Feb 2003 12:17:24 +1100
Sam Izzo [EMAIL PROTECTED] wrote:

Howdy,

 Yeah that's all well and good for me compiling my own programs, but
 the OpenPTC`configure' checks for Hermes by writing the test program
 that I posted and linking with the above line :-)  It doesn't put
 -L/usr/local/lib in.  I suppose I can just hack the `configure' script
 but surely there's a better solution?

The configure scripts usually accept a parameter like
`--with-extra-libs=/usr/local/lib' that you could use. You can always
invoke configure with the --help option and check for it. Works most of
the time.

 Ahh, darn, that's not what the ld man page says :)  But it didn't work
 when I put the paths in ld.so.conf so I guess it's wrong..

Most of the GNU tools are better documented in the info pages, as they
consider man pages legacy. info ld might turn up more detailed info.

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!
Tired of Spam? - http://www.trustic.com


pgp0.pgp
Description: PGP signature


Re: dd problem

2003-02-22 Thread Miguel Mendez
On Sat, 22 Feb 2003 13:06:10 +0100 (CET)
Luca Pizzinato [EMAIL PROTECTED] wrote:

Howdy,

 # df -k
 Filesystem  1K-blocksUsedAvail Capacity  Mounted on
 /dev/ad0s1a   2064302   74140  1825018 4%/
 /dev/ad0s1f   9247246 1895878  661159022%/usr
 /dev/ad0s1e  15483630  380750 13864190 3%/var
 procfs  4   40   100%/proc
 #
 # dd if=/dev/ad01sa of=/dev/ad2s1a bs=4096k
 dd: /dev/ad01sa: No such file or directory

You probably meant `ad0s1a' instead of `ad01sa' ?

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!


pgp0.pgp
Description: PGP signature


Re: Moving user accounts from one system to another

2003-02-13 Thread Miguel Mendez
On Thu, 13 Feb 2003 13:55:04 +0200
Willie Viljoen [EMAIL PROTECTED] wrote:

 Does anybody know of a quick and (relatively) easy way of moving user 
 accounts between two machines?
 
 I need to move (roughly 200) user accounts from the old server to the
 other machine. I can't just copy master.password and the data, the
 UIDs used on the old server may conflict and clash with UIDs on the
 other server.

My two cents (hacked in 2 mins, verify before trying)

1) Copy the password file from the old machine to a temp dir in the new.
2) Trim out root,toor,daemon,nobody etc
3) csh style (change to for user in ... for sh-esque shells)

$ foreach user (`cat passwd`)
echo $user|awk -F: '{print useradd -n  $1  -c \ $5 \  -m   -s $7}'|xargs pw
end

This will add all those users with their name and shell. Customize if
those users don't have home dir, etc. You can do something similar for
groups. Then copy the homedirs and do a simple loop to set the proper
uid:gid.
E.g, if each user has its own group it becomes quite trivial.

$ cd /home
$ foreach user (*)
chown -R $user:$user $user
end

Now the encrypted passwords. You need a copy of master.passwd and a
similar loop to the one we used before, except you should something like
sed this time. The substitution command could look like this: 

sed -i -e 's@user:\*:@user:e29rSoyJdLHFIbIt1:@' master.passwd

Building the argument string with awk should be quite trivial. Don't forget to run
pwd_mkdb after you're done!

Also, try this with temp files before, of course :)

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!



msg19210/pgp0.pgp
Description: PGP signature


Re: how to delete a file called ????

2003-02-12 Thread Miguel Mendez
On Wed, 12 Feb 2003 11:12:32 -0500
David Banning [EMAIL PROTECTED] wrote:

Howdy,

 Yes, the file is a bunch of question marks.
 
 I can't seem to clean it away.
 
 rm 
 rm ''
 rm 

You need to escape the ?, so it doesn't get expanded by the shell.

rm \?\?\?\?\?\? should work.

You can also use midnight commander (misc/mc) to delete it.

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!



msg19167/pgp0.pgp
Description: PGP signature


Re: Open ports after install..

2003-02-11 Thread Miguel Mendez
On Tue, 11 Feb 2003 13:40:23 -0600
Eric Six [EMAIL PROTECTED] wrote:

Howdy,

 I just installed 5.0AXP and am locking it down a bit and I have two
 open ports I cannot figure out what they are:
 
 Port   State   Service
 22/tcp openssh 
 1433/tcp   filteredms-sql-s
 1434/tcp   filteredms-sql-m 

 No sql on this box.. I am stumped...

Is that a remote nmap? Could very well be your ISP filtering those out
to prevent spreading of the SQL worm. Note they are filtered.

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!



msg18897/pgp0.pgp
Description: PGP signature


Re: vt buffer scroll

2003-02-10 Thread Miguel Mendez
On Mon, 10 Feb 2003 16:35:18 +0200
Jurij M. [EMAIL PROTECTED] wrote:

Howdy,

 Just a newbish question on how to scroll up in vt (tcsh,csh).
 According to man theres 9 pages i can scroll using shift+pgup ,but i can't! 
 None such problem in 4.5!
 Help!

Press scroll lock, then shift-pg{up,down} will work.

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!



msg18720/pgp0.pgp
Description: PGP signature


Re: Automatically include debug symbols?

2003-02-09 Thread Miguel Mendez
On Sun, 9 Feb 2003 18:47:39 +0100
Daniela [EMAIL PROTECTED] wrote:

Howdy,

 I was wondering how to recompile the whole system with debug symbols.
 And how do I automatically include debug symbols when I'm building
 ports?

You could add something like CFLAGS+=-g to your /etc/make.conf, and
probably STRIP_CMD=true so strip doesn't remove that info when you
install ports.

 I experience so many segmentation faults, and it would be helpful to
 have debug symbols everywhere.

What kind of programs? Sometimes that's a sign of faulty memory or
overheated processor.
 
Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!



msg18618/pgp0.pgp
Description: PGP signature


Re: ports changes?

2003-02-05 Thread Miguel Mendez
On Wed, 05 Feb 2003 12:19:40 -0500
[EMAIL PROTECTED] wrote:

 Does anyone know or understand what is going on in the ports
 collection - at this moment, there seems to be a problem with the
 kdegames3 port - it just doesn't seem to be there, thus preventing the
 update of the kde3 group of programs.

Huh?

flynn@christine# cd /usr/ports/games/kdegames3/
flynn@christine# cat distinfo 
MD5 (KDE/kdegames-3.1.tar.bz2) = cfc3fef5f162dc7ecd9465a11bdf9b1b

When did you cvsup? In fact, I have KDE 3.1 running here, and can tell
you, Kolf rocks :)

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!



msg18109/pgp0.pgp
Description: PGP signature


Re: KDE 3.1 port?

2003-01-29 Thread Miguel Mendez
On 29 Jan 2003 09:46:41 -0500
Tyler Parrott [EMAIL PROTECTED] wrote:

Hi,

  I read this morning on freebsd.kde.org that the 3.1 port had been
 released.  I cvsupped my ports tree and I still only seem to have up
 to 3.0.5.  I'm using 5.0-RELEASE if that makes any difference.  Anyone
 know where/how I might get the port or the .tgz?

It's in the ports tree already, cvsup again :) I know my computer is
still compiling the beast :) If you prefer prebuilt packages, you can
get them from the fruitsalad project: http://rabarber.fruitsalad.org/

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!



msg17115/pgp0.pgp
Description: PGP signature


Re: 5.0 buildworld dying on kerberos

2003-01-28 Thread Miguel Mendez
On Tue, 28 Jan 2003 07:52:30 -0800
David J. Haines [EMAIL PROTECTED] wrote:

Hi,

 Hey all-
   I am trying to do a buildworld on 5.0-RELEASE, but it seems to
   die  
 while making the kerberos5 system.  And ideas? The error is as
 follows.
 
 === kerberos5/libexec
 === kerberos5/libexec/ipropd-master
 cc -O -pipe -march=pentium4  
^^
IIRC gcc's pentium4 optimizations are broken, or are least, prone to
errors under certain circumstances. Does the error also happen using,
e.g. CPUTYPE=i686 in your /etc/make.conf?

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!



msg17000/pgp0.pgp
Description: PGP signature


Re: FTP Mirror software?

2003-01-20 Thread Miguel Mendez
On 20 Jan 2003 18:16:53 -0500
Joe Marcus Clarke [EMAIL PROTECTED] wrote:

Hi,

 I'm looking for a good FTP mirror package to mirror the FreeBSD FTP
 site.  I had been using ftpmirror for over a year now, and it just now
 deleted my entire mirror overnight.  Now, I can't get it to redownload
 the site.  Any good suggestions welcome.  Thanks.

wget -m ? :)

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!



msg16133/pgp0.pgp
Description: PGP signature


Re: identify app on a screenshot

2003-01-15 Thread Miguel Mendez
On Wed, 15 Jan 2003 10:31:22 +0100
Didier Wiroth [EMAIL PROTECTED] wrote:

Hi,

 app is running on the right upper side, showing which FreeBSD version
 the user is running and the cpu +proc +disk +mem + swap usage!

That's gkrellm.
 
 Is it available from the ports collection?

Yes, sysutils/gkrellm

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!



msg15543/pgp0.pgp
Description: PGP signature


Re: making avatars from digital camera images? (scriptingshrinking)

2003-01-14 Thread Miguel Mendez
On Tue, 14 Jan 2003 13:35:33 -0500
Dr. Richard E. Hawkins [EMAIL PROTECTED] wrote:
çHi,

 I need to use a digital camera to take pictures of 65 students
 to turn in to avatars for discussion boards.  They need to be limited
 to 80x80, and 6144 bytes.  I'm sure *something* in the graphics ports
 must be scriptable to do this, but I'm not finding it.

I'd use ImageMagick (graphics/ImageMagick)

Let's assume you have the student's jpg files in directory pics, and a
sh-esque shell:

$ cd pics
$ for i in *.jpg;do convert -antialias -scale 80x80 $i `echo $i|sed -e
's/jpg/scaled.jpg'`;done

Have a go at the man page of convert, and maybe play a bit with it as
there are other interesting parameters.

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!



msg15443/pgp0.pgp
Description: PGP signature


Re: Apache stress testing tool ?

2003-01-07 Thread Miguel Mendez
On Tue, 7 Jan 2003 13:04:25 +0100
Thomas von Hassel [EMAIL PROTECTED] wrote:

 Anybody recommend a good/simple tool to load/stress test an apache 
 webserver ? (or any other webserver for that matter)

ab(1) domes with apache.

DESCRIPTION
   ab is a tool for benchmarking your Apache HyperText Trans-
   fer Protocol (HTTP) server. It is designed to give you  an
   impression  of  how  your current Apache installation per-
   forms.  This especially shows you how  many  requests  per
   second your Apache installation is capable of serving.

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!



msg14556/pgp0.pgp
Description: PGP signature


Re: permissions issue help ?!?!

2003-01-07 Thread Miguel Mendez
On Tue, 7 Jan 2003 13:03:10 -0500 (EST)
Brent Bailey [EMAIL PROTECTED] wrote:

Hi,


 I have another FBSD box thats working fine ..and the permissions on
 its/tmp dir are:drwxrwxrwt   root  wheel  /tmp
 
 now to restore the permissions on the broken box ..i did
 #chmod 777 /tmp

What you want is chmod 1777 /tmp
 
 however im not sure how to get the t  on the permissions back (im
 not even sure what the t means)

t is the sticky bit, it means that files and directories created inside
/tmp are owned by whoever creates them. See man 8 sticky for detailed info.

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!



msg14587/pgp0.pgp
Description: PGP signature


Re: permissions issue help ?!?!

2003-01-07 Thread Miguel Mendez
On Tue, 7 Jan 2003 18:52:19 +0100
Miguel Mendez [EMAIL PROTECTED] wrote:


 t is the sticky bit, it means that files and directories created
 inside/tmp are owned by whoever creates them. See man 8 sticky for
 detailed info.

I've realized just after pressing send that this is not what I meant to
say, but the man page explains it in detail.

/me loads coffee :)
 
Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!



msg14588/pgp0.pgp
Description: PGP signature


Re: MP Architecture simulators

2003-01-07 Thread Miguel Mendez
On Tue, 07 Jan 2003 13:44:48 -0500
Aniruddha Bohra [EMAIL PROTECTED] wrote:

Hi,

  I was looking for some x86 based SMP Architecture simulators that
  
 run on
 FreeBSD. Ideally I would like it to be able to boot a custom kernel -
 
 Any pointers?

emulators/bochs can emulate SMP systems. Because it emulates everything,
speed is not exactly impressive, but it's a pretty cool tool.

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!



msg14607/pgp0.pgp
Description: PGP signature


Re: SunOS SPARC

2002-12-31 Thread Miguel Mendez
On Mon, 30 Dec 2002 18:18:34 -0800
Kris Kennaway [EMAIL PROTECTED] wrote:

Hi,

 Actually they should run fine as long as you roll your own emulation
 environment by copying the necessary libraries and any other needed
 files from your sun box into the compat directory.  The SVR4 kernel
 binary compatibility layer is not maintained though, so your results
 may vary.

Hmmm, Kris, he was talking about running SPARC binaries on i386 :) But
maybe it would be possible to run Solaris/sparc binaries on the sparc64
port of FreeBSD. I'm not really aware of how mature that port is, tho
I've heard it's making great progress.

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: adduser .. revisited, an apology .. oh come on

2002-12-31 Thread Miguel Mendez
On Tue, 31 Dec 2002 19:16:31 +0100
Cliff Sarginson [EMAIL PROTECTED] wrote:

 Adding a user should  not be rocket science,

It isn't.

 If the old time Bill Joy lovers would realise that 'csh sucks big
 time, we may avoid a lot of problems.

You can always use /bin/sh, and yes, it does history (set -o emacs)

 If anyone can prove to me that csh is superior in any respect to
 bash, then please tell me.

-r-xr-xr-x  2 root  wheel  841916 Dec 31 15:16 /bin/tcsh
-rwxr-xr-x  1 root  wheel  1036396 Nov 17 13:30 /usr/local/bin/bash

tcsh is good enough for interactive use (others like zsh as well), and
many people have grown to hate bash for one very simple reason. In
another attempt at 'embrace and extend', GNU added some features to
plain sh that remained functional even when invoked as /bin/sh. That
lead to broken scripts that only ran on GNU/Linux systems.

Now I feel fad for feeding a troll, let this thread die already :)

Happy new year.
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: IMAP Authentication

2002-12-30 Thread Miguel Mendez
On Sun, 29 Dec 2002 22:29:10 +0100
Roman Neuhauser [EMAIL PROTECTED] wrote:

Hi,

 Ugh. What kind of iron is that, and what version of FreeBSD? What
 impact on performance has the IMAP server? IOW, how long does it
 take to open such a maildir if you access it directly?

The mail is stored in a K6-2/300MHz running Cyrus IMAPD 2.0.17 on NetBSD
1.6. The client is a dual Pentium III running FreeBSD 5.0-RC. Since
Cyrus has its own way of storing mail, there's no such thing a direct
access.
 
 It takes my computer a few seconds to open my biggest mailboxes
 (~16,000 messages each, 68 and 54 megs, resp.), and I've been

Is that through IMAP or direct? I guess that's direct mbox access.

 thinking about going to Maildir because it lasts too long...  Of
 course, I don't access my ~/Mail through an IMAP server...

I once thought about using Maildir too, but when it came time to switch
to IMAP, I tried Cyrus first (my other choice was Courier), and since it
works so well, never looked back.

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: SunOS SPARC

2002-12-30 Thread Miguel Mendez
On Mon, 30 Dec 2002 12:40:58 +0100 (MET)
Paul Everlund [EMAIL PROTECTED] wrote:

 Hi!
 
 Is it possible to run SunOS-binaries compiled on a SPARC on i386
 FreeBSD? Are there some kind of emulation program for this?

No, the COMPAT_SUNOS kernel option deals only with syscall (ABI)
compat. I'm not aware of any sparc emulation package. Your best bet
would be (if possible) to ssh/telnet/whathaveyou into a sparc box and
run the software there. Which program are you intending to run? Maybe
there's some opensource equivalent in the FreeBSD ports.

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: SunOS SPARC

2002-12-30 Thread Miguel Mendez
On Mon, 30 Dec 2002 13:01:21 +0100 (MET)
Paul Everlund [EMAIL PROTECTED] wrote:

Hi,

 I have a SPARC box, but thought of running proprietary SunOS-SPARC-
 binaries on a much better FreeBSD box (better because it's easier to
 maintain, upgrade packages and so on, on FreeBSD than SunOS). Guess
 I'll have to stick with the SPARC.

Although not directly related to your original question, you might want
to know that NetBSD's pkgsrc (the equivalent to FreeBSD's ports) runs on
SunOS, it even runs on Linux. That could help you with having up to date
software on the Sun box. Check:  http://www.netbsd.org/zoularis/

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: About X windows

2002-12-30 Thread Miguel Mendez
On Mon, 30 Dec 2002 07:26:38 -0500
david [EMAIL PROTECTED] wrote:

Hi,

 As root, I typed startx and KDE started up fine.
 But, when I login as a different user and I type startx,
 I don't get the KDE desktop. I get a plain X window
 desktop (i.e three windows and a clock )
 
 How can I fix this problem. I appreciate your help. Thanks

Create a .xinitrc file in that user's home dir with the following:

exec startkde


That should do it.

Cheers,

-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: cannot write to new harddisk

2002-12-30 Thread Miguel Mendez
On Mon, 30 Dec 2002 12:13:53 -0500
Murat Bicer [EMAIL PROTECTED] wrote:

Hi,

 ERROR: Unable to write data to disk ad3!
 
 But I can write to this disk using the freebsd install cd.
 
 System is 4-6-2-STABLE with GENERIC kernel

What's your securelevel?
 
Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: cannot write to new harddisk

2002-12-30 Thread Miguel Mendez
On Mon, 30 Dec 2002 12:17:41 -0500
Murat Bicer [EMAIL PROTECTED] wrote:

Hi,

 :What's your securelevel?
 
 kern_securelevel=2

That's the problem. From the init man page:

2   Highly secure mode - same as secure mode, plus disks may not
be opened for writing (except by mount(2)) whether mounted or
not. This level precludes tampering with file systems by
unmounting them, but also inhibits running newfs(8) while 
the system is multi-user.

You can either boot into single user mode (boot -s) or temporarily lower
your secure level to work with the disk.

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: IMAP Authentication

2002-12-28 Thread Miguel Mendez
On Sat, 28 Dec 2002 05:54:50 -0800
Adam Weinberger [EMAIL PROTECTED] wrote:

Hi,

 I use courier-imapd with SquirrelMail, and it rocks. It doesn't knock
 my socks off when it's using really large directories, though. I save
 every porn spam I get (dunno why... I get about 50/day), and it takes
 my

Heh, I didn't know spam was a collectible now :-P Good lord, set a
higher threshold in spamassassin and ln -s ~/Mail/spam to /dev/null,
works like a charm :)

 server about a good 5 minutes to parse the directory each time I open
 the folder in mutt. Or squirrelmail.

That seems to be pretty common. Although it has gotten slightly better,
sylpheed used to take a long time scanning folders with say, 500 or more
messages in them. 0.8.7+ seem to have gotten a bit better. Surprisingly,
Mozilla's mail client scans those folders in seconds, too bad I don't
like the rest of its features.

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Sysinstall project?

2002-12-23 Thread Miguel Mendez
On Mon, 23 Dec 2002 15:39:05 -0500
Brian J. McGovern [EMAIL PROTECTED] wrote:

[current@ removed]

Hi,

 I was just going through the list of projects at the FreeBSD website. I
 didn't see one for the installer. I was curious if anyone was working on
 an upgrade/replacement for sysinstall... I know of Jordan's paper on the 
 subject, et al, but curious if anyone was doing anything more than maintaining
 our existing sysinstall.

http://www.freebsd.org/projects/libh

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Going from Windows to X - suggestions

2002-12-18 Thread Miguel Mendez
On 18 Dec 2002 06:43:08 -0500
Dan Pelleg [EMAIL PROTECTED] wrote:


Hi,
 
  team).  As for web browsers, Phoenix or Galeon are
  best.
 
 You can't use either with this little memory. My current favorite for
 lightweight graphical browsing is dillo. Not too many features, and it

I'd like to add links to that. When invoked with the -g option it opens
a window and enables graphics loading. And the fonts look incredible :)
Of course, it's also in ports.

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Installing acroread5.rpm

2002-12-12 Thread Miguel Mendez
On Thu, 12 Dec 2002 22:09:36 +0100
Janine C.Buorditez [EMAIL PROTECTED] wrote:

Hi,


 ::: johann[aegis] [~] % /usr/compat/linux/usr/bin/acroread
  [22:06]
 ERROR: Cannot find installation directory.
 
 And there is no /usr/local/Acroread5.
 
 Anybody?

I feel a very strong sense of deja vu, btw ;-) Why not simply:

# cd /usr/ports/print/acroread5  make install clean ?

Whenever you want to use some piece of software, it's wiser to check the
ports tree first.

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



  1   2   >