The FreeBSD Diary: 2005-01-30 - 2005-02-19

2005-02-20 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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


What do you use to burn things ?

2005-02-20 Thread Gert Cuykens
How do you burn a iso file for example ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What do you use to burn things ?

2005-02-20 Thread Gert Cuykens
On Sun, 20 Feb 2005 10:41:59 +0100, Gert Cuykens [EMAIL PROTECTED] wrote:
 How do you burn a iso file for example ?
 

What does this mean ?

I# burncd -f /dev/acd0 -s max data /root/Desktop/memtest86-3.2.iso fixate
next writeable LBA 581
writing from file /root/Desktop/memtest86-3.2.iso size 1794 KB

only wrote -1 of 32768 bytes: Input/output error

fixating CD, please wait..
burncd: ioctl(CDRIOCFIXATE): Input/output error
I#
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What do you use to burn things ?

2005-02-20 Thread Gert Cuykens
On Sun, 20 Feb 2005 10:54:53 +0100, Gert Cuykens [EMAIL PROTECTED] wrote:
 On Sun, 20 Feb 2005 10:41:59 +0100, Gert Cuykens [EMAIL PROTECTED] wrote:
  How do you burn a iso file for example ?
 
 
 What does this mean ?
 
 I# burncd -f /dev/acd0 -s max data /root/Desktop/memtest86-3.2.iso fixate
 next writeable LBA 581
 writing from file /root/Desktop/memtest86-3.2.iso size 1794 KB
 
 only wrote -1 of 32768 bytes: Input/output error
 
 fixating CD, please wait..
 burncd: ioctl(CDRIOCFIXATE): Input/output error
 I#
 

tryed this also

I# burncd -f /dev/acd0 -s max blank
blanking CD - 97 % done
I# burncd -f /dev/acd0 -s max data /root/Desktop/memtest86-3.2.iso fixate
next writeable LBA 0
writing from file /root/Desktop/memtest86-3.2.iso size 1794 KB
written this track 640 KB (35%) total 640 KB
only wrote -1 of 32768 bytes: Device busy

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


Some sound problems with an Asus A7N8X-X motherboard

2005-02-20 Thread Mattias Björk
Dear list,
I have a Asus A7N8X-X motherboard and I wounder what exactly are the 
right kernel module I should load to get my sound working.

I have solved this buy setting snd_driver_load to YES in 
/boot/loader.conf. But I don't think that its the best solution. Because 
it loads all the kernel modules for sound. So my question is, what is 
the correct module or how do I figure that out.

I have tried to load the modules one by one, but that did not get my 
sound card working. It was when I set snd_driver_load to YES in 
loader.conf and then rebooted that solved the problem.

Another problem I have is also that I could only play one 
sound/soundstream at the time. Before I replaced my not so very stable 
motherboard with this one I was able to play more than one sound at one 
time.

Perhaps this is something that I should set with sysclt, but then again 
I don't remember doing it with the old motherboard. Here below are the 
output of kldstat, scanpci and selected info from dmesg:

kldstat:
I Id Refs AddressSize Name
 1   64 0xc040 36e518   kernel
 21 0xc076f000 5efc vesa.ko
 32 0xc0775000 1f0eclinux.ko
 41 0xc0795000 3290 snd_driver.ko
 52 0xc0799000 5cd8 snd_vibes.ko
 62 0xc079f000 4c28 snd_via82c686.ko
 72 0xc07a4000 5d9c snd_via8233.ko
 82 0xc07aa000 5aa4 snd_t4dwave.ko
 92 0xc07b 5e04 snd_solo.ko
105 0xc07b6000 4dcc snd_sbc.ko
112 0xc07bb000 5304 snd_sb16.ko
122 0xc07c1000 4e7c snd_sb8.ko
132 0xc07c6000 119fcsnd_neomagic.ko
143 0xc07d8000 c734 snd_mss.ko
152 0xc07e5000 9378 snd_maestro3.ko
162 0xc07ef000 7840 snd_maestro.ko
172 0xc07f7000 5ea4 snd_ich.ko
182 0xc07fd000 50f4 snd_fm801.ko
193 0xc0803000 637c snd_ess.ko
202 0xc080a000 68ac snd_es137x.ko
212 0xc0811000 7ef4 snd_emu10k1.ko
222 0xc0819000 b8cc snd_ds1.ko
234 0xc0825000 8624 snd_csa.ko
242 0xc082e000 583c snd_cs4281.ko
252 0xc0834000 5a1c snd_cmi.ko
262 0xc083a000 52bc snd_als4000.ko
272 0xc084 51fc snd_ad1816.ko
281 0xc0846000 1c0c io.ko
292 0xc0848000 4844 mem.ko
301 0xc084d000 4aea88   nvidia.ko
31   14 0xc0cfc000 5dbf4acpi.ko
321 0xc207a000 a000 ntfs.ko
scanpci:
pci bus 0x cardnum 0x00 function 0x00: vendor 0x10de device 0x01e0
 nVidia Corporation nForce2 AGP (different version?)
 CardVendor 0x1043 card 0x80ac (Asustek Computer, Inc., Card unknown)
  STATUS0x00b0  COMMAND 0x0006
  CLASS 0x06 0x00 0x00  REVISION 0xc1
  BIST  0x00  HEADER 0x80  LATENCY 0x00  CACHE 0x00
  BASE0 0xd008  addr 0xd000  MEM PREFETCHABLE
  BYTE_00x02  BYTE_1  0x60  BYTE_2  0x20  BYTE_3  0x00
pci bus 0x cardnum 0x00 function 0x01: vendor 0x10de device 0x01ea
 nVidia Corporation nForce2 Memory Controller 0
 CardVendor 0x1043 card 0x80ac (Asustek Computer, Inc., Card unknown)
  STATUS0x0020  COMMAND 0x
  CLASS 0x05 0x00 0x00  REVISION 0xc1
  BIST  0x00  HEADER 0x80  LATENCY 0x00  CACHE 0x00
  MAX_LAT   0x00  MIN_GNT 0x00  INT_PIN 0x00  INT_LINE 0xff
  BYTE_00x04  BYTE_1  0x00  BYTE_2  0x00  BYTE_3  0x70
pci bus 0x cardnum 0x00 function 0x02: vendor 0x10de device 0x01ee
 nVidia Corporation nForce2 Memory Controller 4
 CardVendor 0x1043 card 0x80ac (Asustek Computer, Inc., Card unknown)
  STATUS0x0020  COMMAND 0x
  CLASS 0x05 0x00 0x00  REVISION 0xc1
  BIST  0x00  HEADER 0x80  LATENCY 0x00  CACHE 0x00
  MAX_LAT   0x00  MIN_GNT 0x00  INT_PIN 0x00  INT_LINE 0xff
  BYTE_00x01  BYTE_1  0x10  BYTE_2  0xca  BYTE_3  0x12
pci bus 0x cardnum 0x00 function 0x03: vendor 0x10de device 0x01ed
 nVidia Corporation nForce2 Memory Controller 3
 CardVendor 0x1043 card 0x80ac (Asustek Computer, Inc., Card unknown)
  STATUS0x0020  COMMAND 0x
  CLASS 0x05 0x00 0x00  REVISION 0xc1
  BIST  0x00  HEADER 0x80  LATENCY 0x00  CACHE 0x00
  BYTE_00x30  BYTE_1  0x00  BYTE_2  0x00  BYTE_3  0x00
pci bus 0x cardnum 0x00 function 0x04: vendor 0x10de device 0x01ec
 nVidia Corporation nForce2 Memory Controller 2
 CardVendor 0x1043 card 0x80ac (Asustek Computer, Inc., Card unknown)
  STATUS0x0020  COMMAND 0x
  CLASS 0x05 0x00 0x00  REVISION 0xc1
  BIST  0x00  HEADER 0x80  LATENCY 0x00  CACHE 0x00
  MAX_LAT   0x00  MIN_GNT 0x00  INT_PIN 0x00  INT_LINE 0xff
pci bus 0x cardnum 0x00 function 0x05: vendor 0x10de device 0x01ef
 nVidia Corporation nForce2 Memory Controller 5
 CardVendor 0x1043 card 0x80ac (Asustek Computer, Inc., Card unknown)
  STATUS0x0020  COMMAND 0x
 CLASS 0x05 0x00 0x00  REVISION 0xc1
  BIST  0x00  HEADER 0x80  LATENCY 0x00  CACHE 0x00
  MAX_LAT   0x00  MIN_GNT 0x00  INT_PIN 0x00  INT_LINE 0xff
pci bus 0x cardnum 0x01 function 0x00: vendor 0x10de device 0x0060
 nVidia Corporation nForce2 ISA Bridge
 CardVendor 0x1043 card 0x80ad (Asustek Computer, Inc. A7N8X Mainboard)
  STATUS0x00b0 

Re: What do you use to burn things ?

2005-02-20 Thread Simon Barner
Hi,

have you tried lower speeds? It seems you are using -s max all the
time...

You also could try whether your drive works better with cdrecord +
ATAPICAM.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html#ATAPICAM

A benefit of using ATAPICAM is that this enables you to use nice
gui tools like sysutils/k3b.

Simon


pgp2RARspbHRg.pgp
Description: PGP signature


Re: c++

2005-02-20 Thread Scott Mitchell
On Sun, Feb 20, 2005 at 08:41:30AM +0100, Gert Cuykens wrote:
 
 So if data is declared as a gchar *data; for example, then the value
 of data is a memory adress right ? So if A=data; and B=data; then A
 and B are exactly the same result right ?

No.  A is a 'pointer to gchar' (or gchar*) and B is a 'pointer to pointer
to gchar' (or gchar**).  The 'data' syntax means 'the address of the data
variable', ie. the address of a gchar*, whereas data itself contains the
address of a gchar.

 Now why would anybody want a gchar when a integer is needed ? That is
 just making it more complicated then it already is?

Because the code in question deals with gchars (whatever they are) not
integers?  They won't necessarily be the same thing on different
architectures, or even different compilers on the same architecture.  Also,
the type is called 'gchar' presumably because it logically holds some kind
of character data, whereas an integer variable holds an integer.  Calling
them different things in the code helps to make it clear what the
programmer's intention is, even if the two types happen to have the same
representation on a given machine/compiler.

In any case, this stuff really has nothing to do with FreeBSD - you should
be asking these questions in a C/C++ programming group.

Cheers,

Scott

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


Re: What do you use to burn things ?

2005-02-20 Thread cpghost
On Sun, Feb 20, 2005 at 11:53:40AM +0100, Simon Barner wrote:
 You also could try whether your drive works better with cdrecord +
 ATAPICAM.
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html#ATAPICAM
 
 A benefit of using ATAPICAM is that this enables you to use nice
 gui tools like sysutils/k3b.

Another benefit of ATAPICAM is that you can also use growisofs from
/usr/ports/sysutils/dvd+rw-tools to drive DVD writers.

 Simon

Cheers,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


too many LCP NAKs sent

2005-02-20 Thread Tomas Olsson
Hi,

Im having trouble getting ppp to work. I have glocalnet ADSL and when Im trying 
to connect the following message are printed in my log file : too many LCP NAKs 
sent - abandoning connection

What can be wrong? When I use show physical I see that I recieve and send 
packages.

My ppp.conf:

 default:set device PPPoE:rl0
  set speed sync
  set mru 1492
  set mtu 1492
  set ctsrts off
  enable lqr
  set log phase tun
  add default HISADDR
  enable dns

  tninet:
  set authname [EMAIL PROTECTED]
  set authkey 

  I also have my dns adresses in the resolve file

  Thanks,

  Tomas 

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


Re: Unexpected resolver behavior

2005-02-20 Thread Loren M. Lang
On Thu, Feb 17, 2005 at 10:04:22PM -0600, Jamie Ostrowski wrote:
 
 
 
 I'm running 4.10-p5 on my workstation at home, and I can't understand
 why I cannot get www.foo.com to resolve to an IP I am specifying in
 /etc/hosts (I want to over-ride the IP returned by the nameserver I query
 by default).
 
 
 in /etc/hosts:
 
 199.xx.xx.24  www.foo.com.

Remove the . at the end of com.  Finishing domain names with a period
like that is only used in bind's zone files, nowhere else.

 
 
 in /etc/host.conf:
 
 # $FreeBSD: src/etc/host.conf,v 1.6 1999/08/27 23:23:41 peter Exp $
 # First try the /etc/hosts file
 /etc/hosts
 # Now try the nameserver next.
 bind
 # If you have YP/NIS configured, uncom
 
 
 (I have no nsswitch.conf file in /etc)
 
 
 But when I try to resolve www.foo.com from the command line, I am getting
 the IP address from the nameserver from the outside world rather than the
 IP from /etc/hosts. I am not running a local named on this machine,
 either. Any ideas?
 
 
 
 - Jamie
 
 
 
 
 
 
 
 
 
 
 The Moon is Waxing Gibbous (71% of Full)
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Configuring PF

2005-02-20 Thread Loren M. Lang
On Mon, Feb 14, 2005 at 09:32:25PM -0700, Pat Maddox wrote:
 I want to install a firewall on my system.  First of all, is PF the
 one I should be using?  It seems to get the most recommendations.
 
 I don't actually seem to have any problems configuring it - I just
 have some problems testing the configuration.  I can ssh to the box,
 and I can access port 80...but I'd like to be able to just scan it to
 quickly see what's up.  When PF is disabled, I can nmap it in about 9
 seconds.  When I turn it on, it takes over 3 minutes to do.  These
 machines are on the same network, so the connection is obviously fast.

This is a good thing, IMHO.  Think about all those script kiddies
sitting out there looking for a nice, juicy server to compromise.  If it
takes them 3 minutes to port scan your machine, they'll probably cancel
it before it's finished and move on.

I believe what's happening is that all ports that aren't open are
configured to drop packets instead of reject them like is default.
Reject means send back an error message saying port is closed where
dropping just ignores it.  The port scanner sends out a request and
waits for a response, either Hello, or Sorry, I'm closed.  It will
wait quite a while before it decides that nothings there.

 
 Are there any good, pretty simple guides on setting up PF?  I'm having
 a tough time understanding what the rulesets all mean.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: probably a simple problem with permissions

2005-02-20 Thread Loren M. Lang
On Mon, Feb 14, 2005 at 11:53:57PM -0500, David Wassman wrote:
 I am probably understanding this problem incorrectly meaning there is a 
 simple explanation that is escaping me. My /dev/cd0 is owned by root so  
 I have tried to change both the owner and the group so I can use it as a 
 user.
 
 I have tried:
 chmod 777 /dev/cd0
 chmod -R 777 /dev/cd0
 chgrp 777 /dev/cd0

It should at best be 666, and probably only 644 since cds are read-only.
I don't know if a cd burner needs to be 666 for ordinary users to burn
though.  device files, AFAIK, have no use for execute permissions.  And
I don't think 777 is a valid group name unless you decided to add it for
some reason.  If your cdrom device is cd0 then add perm cd0 0644 to
/etc/devfs.conf

 
 The problem is that when I reboot the system the old permissions return 
 and I have to su and change the permissions back. How do I make these 
 changes permanent? There is probably a security reason for  this but it 
 is very inconvenient on a desktop station. Any help would be 
 appreciated. I am running 5.3.
 
 David
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SSH-agent setting

2005-02-20 Thread Loren M. Lang
On Tue, Feb 15, 2005 at 06:23:27PM +0100, kilim wrote:
 
  On Tue, Feb 15, 2005 at 11:51:41AM -0500, Clayton Scott Kern wrote:
  
   Why not use keychain and put it in the appropriate rc file (.bashrc,
   cshrc, etc.), then you'll be connected to the agent automatically.
 
 My bad. 
 
 Please disregard my previous email.
 
 I apologise !
 
 Your suggestion is great. 
 
 What I didn't realise is that keychain is a great tool which resides
 in /usr/ports/security/keychain and it does this:
 
 allowing you to easily have one long-running ssh-agent process per
 system, rather than per login session.

Actually, it's simpler than that.  Just add the following lines to your
.profile:

export SSH_AUTH_SOCK=/tmp/user.agent
ssh-add -L /dev/null 21
if [ $? -ge 2 ]; then
ssh-agent -a $SSH_AUTH_SOCK /dev/null 21
fi

Then you'll just need to run ssh-add once after every reboot to re-add
the key, but the ssh-agent will be accessible from every terminal, X11
session, ssh login, etc. with your username.

 
 as its web site states:
 
 http://www.gentoo.org/proj/en/keychain/index.xml
 
 
 Thank you Clayton !
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can't reboot after messing up my rc.conf file

2005-02-20 Thread Loren M. Lang
On Thu, Feb 17, 2005 at 12:44:55AM -0800, Sandy Rutherford wrote:
  On Wed, 16 Feb 2005 20:02:02 -0600, 
  Jamie Novak [EMAIL PROTECTED] said:
 
   I may have missed something from the thread before I joined the list,
   but is there any reason you can't just mount the filesystems and use vi
   as you're used to? If you're getting far enough in the boot process to
   get an opportunity to interact with a shell, you should just be able to
   mount -a and vi whatever. (Or, if you want to play it safe (or if the
   system wasn't cleanly shutdown before), fsck and then mount -a)
 
 This should work fine. Although, depending on where he is in the boot
 process, / may be mounted read-only.  Do `mount -uw /' to make it
 read-write.
 
 The lesson here is that when editing any file that is even remotely
 connected to the boot process, _make_a_backup_copy_.  You can then
 simply mv the backup copy back into place should you mess up.

Actually, Absolute BSD has a handy suggestion about using rcs for all
important files in /etc/.  Maybe you should try looking into that.

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

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What do you use to burn things ?

2005-02-20 Thread Gert Cuykens
On Sun, 20 Feb 2005 14:31:28 +0100, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 On Sun, Feb 20, 2005 at 11:53:40AM +0100, Simon Barner wrote:
  You also could try whether your drive works better with cdrecord +
  ATAPICAM.
 
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html#ATAPICAM
 
  A benefit of using ATAPICAM is that this enables you to use nice
  gui tools like sysutils/k3b.
 
 Another benefit of ATAPICAM is that you can also use growisofs from
 /usr/ports/sysutils/dvd+rw-tools to drive DVD writers.
 
  Simon
 
 Cheers,
 -cpghost.
 
 --
 Cordula's Web. http://www.cordula.ws/
 

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


Re: c++

2005-02-20 Thread Daniel S. Haischt
Gert Cuykens,
I would suggest to post such questions to gtk-list@gnome.org,
because IIRC you are trying to code a GTK app ...
Additionally I would suggest to learn C/C++ first to get a better
understanding of the whole language structure. Or at least please
join the c# IRC channel at irc.freenode.net to ask such questions,
it's quite annoying to see them on a list which is dedicated to an
UNIX OS.
Scott Mitchell schrieb:
On Sun, Feb 20, 2005 at 08:41:30AM +0100, Gert Cuykens wrote:
So if data is declared as a gchar *data; for example, then the value
of data is a memory adress right ? So if A=data; and B=data; then A
and B are exactly the same result right ?

No.  A is a 'pointer to gchar' (or gchar*) and B is a 'pointer to pointer
to gchar' (or gchar**).  The 'data' syntax means 'the address of the data
variable', ie. the address of a gchar*, whereas data itself contains the
address of a gchar.

Now why would anybody want a gchar when a integer is needed ? That is
just making it more complicated then it already is?

Because the code in question deals with gchars (whatever they are) not
integers?  They won't necessarily be the same thing on different
architectures, or even different compilers on the same architecture.  Also,
the type is called 'gchar' presumably because it logically holds some kind
of character data, whereas an integer variable holds an integer.  Calling
them different things in the code helps to make it clear what the
programmer's intention is, even if the two types happen to have the same
representation on a given machine/compiler.
In any case, this stuff really has nothing to do with FreeBSD - you should
be asking these questions in a C/C++ programming group.
Cheers,
Scott
--
Mit freundlichen Gruessen / With kind regards
DAn.I.El S. Haischt
Want a complete signature??? Type at a shell prompt:
$  finger -l [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Bash script programming. Sending commands to a 'screen' session

2005-02-20 Thread Joachim Dagerot

I just accidentily wiped one of my script folders. Really no big deal, I'm not 
doing multiK scripts. But I had one nice script laying around. It created an 
additional window in a named screen session and started a bittorrentheadless 
session within.

I do remember that it took me some days to solve this last time, and I have 
only been sitting three hours so far. (No, I don't recall the exact syntax).


I'm struggeling with this script now:

#!/bin/bash
echo Starting download: $1
screen -r p2pA -X screen nice -n 20 
/usr/local/BitTorrent-3.4.2/btdownloadheadless.py --max_uploads 4 \$1\


But it just don't do anything useful.

If I run that line from prompt, replacing $1 with a filename, then it works. 
It's surely something to do with citationmarks around arguments etc. but I just 
don't see it. 



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


Re: c++

2005-02-20 Thread Gert Cuykens
On Sun, 20 Feb 2005 12:47:50 +, Scott Mitchell
[EMAIL PROTECTED] wrote:
 On Sun, Feb 20, 2005 at 08:41:30AM +0100, Gert Cuykens wrote:
 
  So if data is declared as a gchar *data; for example, then the value
  of data is a memory adress right ? So if A=data; and B=data; then A
  and B are exactly the same result right ?
 
 No.  A is a 'pointer to gchar' (or gchar*) and B is a 'pointer to pointer
 to gchar' (or gchar**).  The 'data' syntax means 'the address of the data
 variable', ie. the address of a gchar*, whereas data itself contains the
 address of a gchar.
 
  Now why would anybody want a gchar when a integer is needed ? That is
  just making it more complicated then it already is?
 
 Because the code in question deals with gchars (whatever they are) not
 integers?  They won't necessarily be the same thing on different
 architectures, or even different compilers on the same architecture.  Also,
 the type is called 'gchar' presumably because it logically holds some kind
 of character data, whereas an integer variable holds an integer.  Calling
 them different things in the code helps to make it clear what the
 programmer's intention is, even if the two types happen to have the same
 representation on a given machine/compiler.
 
 In any case, this stuff really has nothing to do with FreeBSD - you should
 be asking these questions in a C/C++ programming group.
 
 Cheers,
 
 Scott
 
 --

Thx i think i understand now :)

PS Freebsd source is c++ right ? So you could also call this the free
c++ question mailing list :)

Also about all the get a c++ book comments, i tryed that once but when
i ask the book a question, it doesnt say anything back. It only makes
noises when you flaper the pages trough the wind.

By the way if somebody passing your street asking for direction you
dont answer get a map either right ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: c++

2005-02-20 Thread Gert Cuykens
On Sun, 20 Feb 2005 16:15:43 +0100, Daniel S. Haischt
[EMAIL PROTECTED] wrote:
 Gert Cuykens,
 
 I would suggest to post such questions to gtk-list@gnome.org,
 because IIRC you are trying to code a GTK app ...
 
 Additionally I would suggest to learn C/C++ first to get a better
 understanding of the whole language structure. Or at least please
 join the c# IRC channel at irc.freenode.net to ask such questions,
 it's quite annoying to see them on a list which is dedicated to an
 UNIX OS.

I did that but they give me the get book and ask somebody els answer.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FTP Problems (probably my firewall)

2005-02-20 Thread Eric F Crist
Hello list,
I'm trying to get FTPD working, but I think I'm not opening the correct 
ports for it in my firewall.  I've got 20 and 21 open, and I get the 
login prompt and such, but only after a 10 to 20 second delay.  After 
that, everything seems to work fine, until I try to upload to the 
incoming directory, which is disabled right now.  The error takes 
another 10 to 20 seconds to pop up.  when I have a rule such as:

ipfw add 1 allow log all from any to any
Everything works as fast as it normally should.
Thanks.
___
Eric F Crist  I am so smart, S.M.R.T!
Secure Computing Networks  -Homer J Simpson


PGP.sig
Description: This is a digitally signed message part


Re: FTP Problems (probably my firewall)

2005-02-20 Thread Chris
Eric F Crist wrote:
Hello list,
I'm trying to get FTPD working, but I think I'm not opening the correct 
ports for it in my firewall.  I've got 20 and 21 open, and I get the 
login prompt and such, but only after a 10 to 20 second delay.  After 
that, everything seems to work fine, until I try to upload to the 
incoming directory, which is disabled right now.  The error takes 
another 10 to 20 seconds to pop up.  when I have a rule such as:

ipfw add 1 allow log all from any to any
Everything works as fast as it normally should.
Thanks.
Try this:
ipfw add 1 allow log all from any to me 20,21
--
Best regards,
Chris
Keep emotionally active,
cater to your favorite neurosis.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: c++

2005-02-20 Thread Scott Mitchell
On Sun, Feb 20, 2005 at 04:34:45PM +0100, Gert Cuykens wrote:
 
 Thx i think i understand now :)
 
 PS Freebsd source is c++ right ? So you could also call this the free
 c++ question mailing list :)

FreeBSD is almost entirely written in C, although there are a few bits of
C++ under /usr/src.

This is a list for questions about FreeBSD, not basic C++ programming.

 Also about all the get a c++ book comments, i tryed that once but when
 i ask the book a question, it doesnt say anything back. It only makes
 noises when you flaper the pages trough the wind.

Get a better book?  Sign up for a C/C++ course?

 By the way if somebody passing your street asking for direction you
 dont answer get a map either right ?

No, but you didn't ask me, you asked maybe 10,000 people you've never met,
most of whom don't live in the same town as either of us...

Followups redirected to -chat.

Scott

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


Re: c++

2005-02-20 Thread Daniel S. Haischt
Gert Cuykens,
Gert Cuykens schrieb:
[SNIP]
PS Freebsd source is c++ right ? So you could also call this the free
c++ question mailing list :)
No wrong! Most Unices are written in C (kernel, device drivers etc.).
Basically, you sould get to an understanding that your questions about
GTK, and the source code snippet that you did post, were not related
to C++. Those code snippets are C code. Or why do you think that there
is a need for a GTK C++ wrapper such as www.gtkmm.org which wrapps the
GTK C API?
Frankly my impression was that your understanding of C is almost
nonexistent, which is the reason why so many people did sugest to
get a basic C knowledge before coding a GTK app.
So you *should* consider the 'Get a C book, to learn some C basics
(like what is a pointer?)' answer to be a real option.
--
Mit freundlichen Gruessen / With kind regards
DAn.I.El S. Haischt
Want a complete signature??? Type at a shell prompt:
$  finger -l [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: c++

2005-02-20 Thread Bill Moran
Gert Cuykens [EMAIL PROTECTED] wrote:

 PS Freebsd source is c++ right ? So you could also call this the free
 c++ question mailing list :)

No and no.

 Also about all the get a c++ book comments, i tryed that once but when
 i ask the book a question, it doesnt say anything back. It only makes
 noises when you flaper the pages trough the wind.

That's very funny.  Perhaps you should be a comedian instead of a
programmer.

 By the way if somebody passing your street asking for direction you
 dont answer get a map either right ?

Those responses are NOT rude, as you seem to imply.  The simple fact
is that your question indicates that you are lacking some _basic_
knowledge required to understand C++ coding.  The response is an
hostest attempt to make you understand that your _BEST_ course of
action at this level of learning is to get a good book and read it.
Personally, I recommend _The_C_Programming_Language_ by Kernighan and
Richie.  It's an excellent read.

We could be very careless and just _tell_ you the answer, but we're
better people than that.  We recognize the level of learning that you're
at (because we've all been there) and are attempting to help you along.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com


pgp9SqYF4IW9K.pgp
Description: PGP signature


Re: c++

2005-02-20 Thread Chris Hodgins
Gert Cuykens wrote:
On Sun, 20 Feb 2005 12:47:50 +, Scott Mitchell
[EMAIL PROTECTED] wrote:
On Sun, Feb 20, 2005 at 08:41:30AM +0100, Gert Cuykens wrote:
So if data is declared as a gchar *data; for example, then the value
of data is a memory adress right ? So if A=data; and B=data; then A
and B are exactly the same result right ?
No.  A is a 'pointer to gchar' (or gchar*) and B is a 'pointer to pointer
to gchar' (or gchar**).  The 'data' syntax means 'the address of the data
variable', ie. the address of a gchar*, whereas data itself contains the
address of a gchar.

Now why would anybody want a gchar when a integer is needed ? That is
just making it more complicated then it already is?
Because the code in question deals with gchars (whatever they are) not
integers?  They won't necessarily be the same thing on different
architectures, or even different compilers on the same architecture.  Also,
the type is called 'gchar' presumably because it logically holds some kind
of character data, whereas an integer variable holds an integer.  Calling
them different things in the code helps to make it clear what the
programmer's intention is, even if the two types happen to have the same
representation on a given machine/compiler.
In any case, this stuff really has nothing to do with FreeBSD - you should
be asking these questions in a C/C++ programming group.
Cheers,
   Scott
--

Thx i think i understand now :)
PS Freebsd source is c++ right ? So you could also call this the free
c++ question mailing list :)
No.  FreeBSD is written in C.  This is surely a mailing list for people 
who want to ask and answer questions about the FreeBSD Operating System.

Also about all the get a c++ book comments, i tryed that once but when
i ask the book a question, it doesnt say anything back. It only makes
noises when you flaper the pages trough the wind.
By the way if somebody passing your street asking for direction you
dont answer get a map either right ?
This is more like somebody passing your street asking for directions to 
a street in another country.

Both comp.lang.c and comp.lang.c++ are both pretty intolerant to people 
asking basic questions which are heavily documented in the FAQs for the 
newsgroups.  They generally expect you to have at least tried to 
understand what you are doing before asking a question.  If you had 
tried to understand your problem and looked at the faqs you would have 
found an amazing amount of information on what you are after.  Before 
you do anything else you should now go read 
http://www.eskimo.com/~scs/C-faq/top.html and educate yourself a bit 
more about C.

People are not trying to be unhelpful when the tell you to RTFM or read 
a book.  They are trying to point out areas of knowledge that you can 
reference to gain more insight into your problem.  Noone is just going 
to do your homework for you.

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


Shell file completion

2005-02-20 Thread Alejandro Pulver
Hello,

I was learning regular expressions, and I noticed that the shell has something 
similar (but it is different from regular expressions).

When I type 'echo *', it replaces '*' for all the files/dirs not starting with 
a '.' (dot).

I understand the '*' in regular expressions must be preceded by other thing to 
match it.

So it is behaving like the DOS wildcards.

Where is it documented?

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


Re: Shell file completion

2005-02-20 Thread Bill Moran

[Please wrap your lines around 72 chars or so]

Alejandro Pulver [EMAIL PROTECTED] wrote:
 Hello,
 
 I was learning regular expressions, and I noticed that the shell has
 something similar (but it is different from regular expressions).
 
 When I type 'echo *', it replaces '*' for all the files/dirs not starting
 with a '.' (dot).
 
 I understand the '*' in regular expressions must be preceded by other
 thing to match it.
 
 So it is behaving like the DOS wildcards.

That's funny.  More like DOS wildcards seem to mimic this.

 Where is it documented?

'man sh' - the section on Shell Patterns.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com


pgp4EF5YGjKKn.pgp
Description: PGP signature


Re: What do you use to burn things ?

2005-02-20 Thread David Kelly
On Feb 20, 2005, at 3:54 AM, Gert Cuykens wrote:
On Sun, 20 Feb 2005 10:41:59 +0100, Gert Cuykens 
[EMAIL PROTECTED] wrote:
How do you burn a iso file for example ?
What does this mean ?
I# burncd -f /dev/acd0 -s max data /root/Desktop/memtest86-3.2.iso 
fixate
next writeable LBA 581
writing from file /root/Desktop/memtest86-3.2.iso size 1794 KB

only wrote -1 of 32768 bytes: Input/output error
fixating CD, please wait..
burncd: ioctl(CDRIOCFIXATE): Input/output error
Looks like the result I had when attempting to write a DVD-R with 
burncd.

My drive is a:
acd0: DVDR LITE-ON DVDRW SOHW-1633S/BS0K at ata1-master UDMA33
The media was ruined in the above attempt but growisofs worked.
Tried writing to the author of cdrecord, followed his instructions to 
the letter because his published freeware key to enable DVD did not 
work. Suspect it didn't like the 5.3 part of FreeBSD. Never heard 
back.

--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


problem with sharing internet

2005-02-20 Thread ****** ******
good day..i have 5.2.1-RELEASE FreeBSD and a problem with sharing internet to 
win98, freebsd is a gateway..a i have 2 NIC,  fxp0 is a gateway for w98a 
had before slackware 10.0 and over there wasn't problem with iptables..i need 
configure correctly ipfw, maybemy configuration:

sis0:
flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet
192.168.240.60 netmask 0xff00 broadcast 192.168.240.255
inet6
fe80::20b:6aff:feac:5d6d%sis0 prefixlen 64 scopeid 0x1
ether
00:0b:6a:ac:5d:6d
media: Ethernet 10baseT/UTP
status:
active
fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500

inet6 fe80::290:27ff:fe2f:203e%fxp0 prefixlen 64 scopeid 0x2
inet
192.168.0.1 netmask 0xff00 broadcast 192.168.0.255
ether
00:90:27:2f:20:3e
media: Ethernet autoselect (none)
status: no
carrier

home# ps -ax |grep natd
 1245  ??  Is 0:00.00 natd -n fxp0
 1261
p0  R+ 0:00.00 grep natd

home# ipfw list
00050 divert 8668 ip from any to
any via fxp0
00100 allow ip from any to any via lo0
00200 deny ip from any to
127.0.0.0/8
00300 deny ip from 127.0.0.0/8 to any
65000 allow ip from any to
any
65535 deny ip from any to any

thanks


--
* www.inMail.sk - Vasa emailova adresa na cely zivot ZDARMA
* Zoner Photo Studio 7 - Spoznajte kuzlo digitalnej fotografie! 
http://www.zoner.cz/photo-studio
* www.SlovakNET.sk - profesionalny webhosting, domena .SK ZADARMO

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


qmail?

2005-02-20 Thread gabriel
Ok, well I installed qmail and all that jazz through Matt's Mail
toaster. Everything appeared to have been installed without any
problems, obviously some tweaking had to be done to customize the
installation but nothing major. At this point, my only problem appears
to be the from address that its used when sending the daily run output
- i.e. its sending from [EMAIL PROTECTED] as opposed to
[EMAIL PROTECTED] or at least localhost which would be just fine.

Has anyone got any experience with this? I just need to know where to
change that darned from address. I'd hate to have to reinstall the
toaster _again_ :(

Cheers!

-- 
gabriel,

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


Re: Annoying ports problem

2005-02-20 Thread Michael C. Shultz
On Thursday 17 February 2005 11:37 pm, Heinrich Rebehn wrote:
 Eric Kjeldergaard wrote:
  On Thu, 17 Feb 2005 10:45:36 +0100, Heinrich Rebehn
 
  [EMAIL PROTECTED] wrote:
 Hi list,
 
 I have run into an annoying problem several times when upgrading
  ports.
 
 Say, if i want to upgrade gstreamer-plugins, i do:
 
 # cd /usr/ports/multimedia/gstreamer-plugins
 # make
 
 This pulls in some dependencies, for example gnomevfs2. gnnomevfs2
  will compile fine, but then stops because it wants to install
  gnomevfs2 instead of reinstalling it:
 
 ===   An older version of devel/gnomevfs2 is already installed
 (gnomevfs2-2.9.91)
You may wish to ``make deinstall'' and install this port
  again by ``make reinstall'' to upgrade it properly.
If you really wish to overwrite the old port of
  devel/gnomevfs2 without deleting it first, set the variable
  FORCE_PKG_REGISTER in your environment or the make install
  command line. *** Error code 1
 
 Since i have run into this several times, i must be missing
  something substantial. What is it?
 
  Just make will make the program and try to install it as if it
  were the first time.  When it detects the older version, it will
  want you to do make deinstall  make reinstall.  For upgrading
  ports, you may want to look at /usr/ports/sysutils/portupgrade.

 It makes no difference wether i use make or portupgrade. As soon
 as ether of them decide that another package that the make candidate
 depends on, has to be upgraded, the error occurs with that package.

Have you tried upgrading using sysutils/portmanager yet? 

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


IPFW config

2005-02-20 Thread SigmaX
Heya;
I have a FreeBSD 5.3 server that I access over SSH.  I followed the 
handbook guide to loading the ipfw kernel module to setup a firewall.  I 
made the mistake the other day of loading the firewall, which defaults 
to block all, and rebooting, so I couldn't get into the system again 
(Had to drive in and fix it :-P).  Anyway, what I need to know is how to 
edit the ruleset manually BEFORE enabling the firewall.  I need to set 
the rules, then load the kernel module, not vise versa.  I've never 
dealt with ipfw without webmin, so I need some explicit answers :-).
What I need to do its this:

Set IPFW to allow traffic on ports 80, 1, and 23 (That's the default 
SSH port, right?)
Then start IPFW with the kernel module (I know how to do this)

   Thanx,
SigmaX
--
Registered Linux Freak #: 366,862
If you think of MS-DOS as mono, and Windows as stereo, then Linux is Dolby 
Pro-Logic Surround Sound with Bass Boost and all the music is free.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IPFW config

2005-02-20 Thread Chris Hodgins
SigmaX wrote:
Heya;
I have a FreeBSD 5.3 server that I access over SSH.  I followed the 
handbook guide to loading the ipfw kernel module to setup a firewall.  I 
made the mistake the other day of loading the firewall, which defaults 
to block all, and rebooting, so I couldn't get into the system again 
(Had to drive in and fix it :-P).  Anyway, what I need to know is how to 
edit the ruleset manually BEFORE enabling the firewall.  I need to set 
the rules, then load the kernel module, not vise versa.  I've never 
dealt with ipfw without webmin, so I need some explicit answers :-).
What I need to do its this:

Set IPFW to allow traffic on ports 80, 1, and 23 (That's the default 
SSH port, right?)
Then start IPFW with the kernel module (I know how to do this)

   Thanx,
SigmaX
You can put your rules in /etc/rc.firewall.  This is executed at startup.
See rc(8) and rc.conf(5).
Chris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: qmail?

2005-02-20 Thread Chris Warren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I believe this is done in your /var/qmail/control/defaultdomain and
/var/qmail/control/defaulthost files.
In fact, check through all the files in the control dir to make sure
they are right.
Chris
gabriel wrote:
| Ok, well I installed qmail and all that jazz through Matt's Mail
| toaster. Everything appeared to have been installed without any
| problems, obviously some tweaking had to be done to customize the
| installation but nothing major. At this point, my only problem
| appears to be the from address that its used when sending the daily
| run output - i.e. its sending from [EMAIL PROTECTED] as
| opposed to [EMAIL PROTECTED] or at least localhost which would be just
| fine.
|
| Has anyone got any experience with this? I just need to know where
| to change that darned from address. I'd hate to have to reinstall
| the toaster _again_ :(
|
| Cheers!
|
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCGNXP5oLdYlMF6RsRAq4GAJ9HHZ50pMnQbbkaQvimQtPD+9gPpgCfQn/j
F9wAHfydetkYwQPMAGiODkM=
=mJdI
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: qmail?

2005-02-20 Thread gabriel
I did actually, it USED to have somedomain.com in a lot of the files
but I changed them to the actual domain. Should they be the mail
server's host or the domain?


On Sun, 20 Feb 2005 11:24:15 -0700, Chris Warren [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 I believe this is done in your /var/qmail/control/defaultdomain and
 /var/qmail/control/defaulthost files.
 In fact, check through all the files in the control dir to make sure
 they are right.
 
 Chris
 
 gabriel wrote:
 
 | Ok, well I installed qmail and all that jazz through Matt's Mail
 | toaster. Everything appeared to have been installed without any
 | problems, obviously some tweaking had to be done to customize the
 | installation but nothing major. At this point, my only problem
 | appears to be the from address that its used when sending the daily
 | run output - i.e. its sending from [EMAIL PROTECTED] as
 | opposed to [EMAIL PROTECTED] or at least localhost which would be just
 | fine.
 |
 | Has anyone got any experience with this? I just need to know where
 | to change that darned from address. I'd hate to have to reinstall
 | the toaster _again_ :(
 |
 | Cheers!
 |
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.5 (GNU/Linux)
 Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
 
 iD8DBQFCGNXP5oLdYlMF6RsRAq4GAJ9HHZ50pMnQbbkaQvimQtPD+9gPpgCfQn/j
 F9wAHfydetkYwQPMAGiODkM=
 =mJdI
 -END PGP SIGNATURE-
 
 


-- 
gabriel,

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


Re: IPFW config

2005-02-20 Thread Simon Barner
 Set IPFW to allow traffic on ports 80, 1, and 23 (That's the default 
 SSH port, right?)

Nope, it's 22.

 Then start IPFW with the kernel module (I know how to do this)

Have you already read
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-ipfw.html?

It describes how to enable ipfw in rc.conf, and how to specify a
firewall script that loads the rules during the boot process.

Suppose, your fw script is /etc/ipfw.rules. Then the following should
(no warranty, of course ;-) load your rules without a reboot:

# kldload ipfw.ko  sh /etc/ipfw.rules

Simon


pgpyvIBVFEWrp.pgp
Description: PGP signature


Re: Configuring PF

2005-02-20 Thread Pat Maddox
On Sun, 20 Feb 2005 06:23:39 -0800, Loren M. Lang [EMAIL PROTECTED] wrote:
 On Mon, Feb 14, 2005 at 09:32:25PM -0700, Pat Maddox wrote:
  I want to install a firewall on my system.  First of all, is PF the
  one I should be using?  It seems to get the most recommendations.
 
  I don't actually seem to have any problems configuring it - I just
  have some problems testing the configuration.  I can ssh to the box,
  and I can access port 80...but I'd like to be able to just scan it to
  quickly see what's up.  When PF is disabled, I can nmap it in about 9
  seconds.  When I turn it on, it takes over 3 minutes to do.  These
  machines are on the same network, so the connection is obviously fast.
 
 This is a good thing, IMHO.  Think about all those script kiddies
 sitting out there looking for a nice, juicy server to compromise.  If it
 takes them 3 minutes to port scan your machine, they'll probably cancel
 it before it's finished and move on.

That makes sense to me.  I'd still like to be able to scan it the
first time around to make sure everything's working, then I can just
set it to drop packets, so it takes longer.

I'd still like to find a good example config file that works well for
a web server.



 
 I believe what's happening is that all ports that aren't open are
 configured to drop packets instead of reject them like is default.
 Reject means send back an error message saying port is closed where
 dropping just ignores it.  The port scanner sends out a request and
 waits for a response, either Hello, or Sorry, I'm closed.  It will
 wait quite a while before it decides that nothings there.
 
 
  Are there any good, pretty simple guides on setting up PF?  I'm having
  a tough time understanding what the rulesets all mean.
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 --
 I sense much NT in you.
 NT leads to Bluescreen.
 Bluescreen leads to downtime.
 Downtime leads to suffering.
 NT is the path to the darkside.
 Powerful Unix is.
 
 Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
 Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 

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


Re: qmail?

2005-02-20 Thread Chris Warren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
My defaulthost just has myhost, and defaultdomain has mydomain.
My daily run output is sent from [EMAIL PROTECTED]
gabriel wrote:
| I did actually, it USED to have somedomain.com in a lot of the
| files but I changed them to the actual domain. Should they be the
| mail server's host or the domain?
|
|
| On Sun, 20 Feb 2005 11:24:15 -0700, Chris Warren
| [EMAIL PROTECTED] wrote:
|
| I believe this is done in your /var/qmail/control/defaultdomain and
|  /var/qmail/control/defaulthost files. In fact, check through all
| the files in the control dir to make sure they are right.
|
| Chris
|
| gabriel wrote:
|
| | Ok, well I installed qmail and all that jazz through Matt's Mail
| | toaster. Everything appeared to have been installed without any |
| problems, obviously some tweaking had to be done to customize the |
| installation but nothing major. At this point, my only problem |
| appears to be the from address that its used when sending the daily
|  | run output - i.e. its sending from [EMAIL PROTECTED]
| as | opposed to [EMAIL PROTECTED] or at least localhost which would be
| just | fine. | | Has anyone got any experience with this? I just
| need to know where | to change that darned from address. I'd hate
| to have to reinstall | the toaster _again_ :( | | Cheers! |
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCGNtI5oLdYlMF6RsRAsAwAJ4jsSrklTYX+G1ZCogBcWIQ0kMPlQCcDSF7
lx5Gf9b/bH63ZopmvY9sejE=
=B/ww
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IPFW config

2005-02-20 Thread Christian Hiris
On Monday 21 February 2005 19:01:19, SigmaX wrote:
[...]
 Set IPFW to allow traffic on ports 80, 1, and 23 (That's the default
 SSH port, right?)

The default shh port is 22, port 23 is assigned to telnet. You can find the 
list of default port assignments in /etc/services.

Cheers,
ch

-- 
Christian Hiris [EMAIL PROTECTED] | OpenPGP KeyID 0x3BCA53BE 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu


pgpgfM8ue6Fgm.pgp
Description: PGP signature


Re: IPFW config

2005-02-20 Thread Paul Schmehl
- Original Message - 
From: SigmaX [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Monday, February 21, 2005 12:01 PM
Subject: IPFW config
Set IPFW to allow traffic on ports 80, 1, and 23 (That's the default 
SSH port, right?)
Then start IPFW with the kernel module (I know how to do this)

fwcmd=/sbin/ipfw
myip=x.x.x.x
mymask=255.255.255.0
setup_loopback
# Allow icmp
${FWCMD} add pass icmp from any to any icmptypes 0,3,8,11,12,13,14 via xl0
# Setup dynamic rules
${fwcmd} add check-state
${fwcmd} add deny tcp from any to any via xl0 established
# Allow DNS queries out to the world
${fwcmd} add allow udp from ${ip} to any via xl0 keep-state
${fwcmd} add deny udp from any to any 

# Allow all outbound traffic
${fwcmd} add allow ip from ${myip} to any via xl0 setup keep-state
# Allow inbound http, ssh and port 1
${fwcmd} add allow tcp from any to ${myip} http via xl0 setup keep-state
${fwcmd} add allow tcp from any to ${myip} ssh via xl0 setup keep-state
${fwcmd} add allow tcp from any to ${myip} 1 via xl0 setup keep-state
# Allow IP fragments to pass through
${fwcmd} add pass all from any to any frag via xl0
# Deny everything else
${fwcmd} add deny ip from any to any via xl0
Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: qmail?

2005-02-20 Thread gabriel
very cool, I edited the appropiate files and restarted everything. The
problem is then I send the periodic It gets bounced cause it cant find
[EMAIL PROTECTED] *sigh*


On Sun, 20 Feb 2005 11:47:36 -0700, Chris Warren [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 My defaulthost just has myhost, and defaultdomain has mydomain.
 
 My daily run output is sent from [EMAIL PROTECTED]
 
 
 gabriel wrote:
 
 | I did actually, it USED to have somedomain.com in a lot of the
 | files but I changed them to the actual domain. Should they be the
 | mail server's host or the domain?
 |
 |
 | On Sun, 20 Feb 2005 11:24:15 -0700, Chris Warren
 | [EMAIL PROTECTED] wrote:
 |
 
 | I believe this is done in your /var/qmail/control/defaultdomain and
 |  /var/qmail/control/defaulthost files. In fact, check through all
 | the files in the control dir to make sure they are right.
 |
 | Chris
 |
 | gabriel wrote:
 |
 | | Ok, well I installed qmail and all that jazz through Matt's Mail
 | | toaster. Everything appeared to have been installed without any |
 | problems, obviously some tweaking had to be done to customize the |
 | installation but nothing major. At this point, my only problem |
 | appears to be the from address that its used when sending the daily
 |  | run output - i.e. its sending from [EMAIL PROTECTED]
 | as | opposed to [EMAIL PROTECTED] or at least localhost which would be
 | just | fine. | | Has anyone got any experience with this? I just
 | need to know where | to change that darned from address. I'd hate
 | to have to reinstall | the toaster _again_ :( | | Cheers! |
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.5 (GNU/Linux)
 Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
 
 iD8DBQFCGNtI5oLdYlMF6RsRAsAwAJ4jsSrklTYX+G1ZCogBcWIQ0kMPlQCcDSF7
 lx5Gf9b/bH63ZopmvY9sejE=
 =B/ww
 -END PGP SIGNATURE-
 
 


-- 
gabriel,

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


Re: qmail?

2005-02-20 Thread Chris Warren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I've added localhost to the locals and rcpthosts files.  Seemed
to take care of that.
gabriel wrote:
| very cool, I edited the appropiate files and restarted everything.
| The problem is then I send the periodic It gets bounced cause it
| cant find [EMAIL PROTECTED] *sigh*
|
|
| On Sun, 20 Feb 2005 11:47:36 -0700, Chris Warren
| [EMAIL PROTECTED] wrote:
|
| My defaulthost just has myhost, and defaultdomain has mydomain.
|
|
| My daily run output is sent from [EMAIL PROTECTED]
|
|
| gabriel wrote:
|
| | I did actually, it USED to have somedomain.com in a lot of the |
| files but I changed them to the actual domain. Should they be the |
| mail server's host or the domain? | | | On Sun, 20 Feb 2005
| 11:24:15 -0700, Chris Warren | [EMAIL PROTECTED] wrote: |
|
| | I believe this is done in your /var/qmail/control/defaultdomain
| and |  /var/qmail/control/defaulthost files. In fact, check through
| all | the files in the control dir to make sure they are right. | |
| Chris | | gabriel wrote: | | | Ok, well I installed qmail and all
| that jazz through Matt's Mail | | toaster. Everything appeared to
| have been installed without any | | problems, obviously some
| tweaking had to be done to customize the | | installation but
| nothing major. At this point, my only problem | | appears to be the
| from address that its used when sending the daily |  | run output -
| i.e. its sending from [EMAIL PROTECTED] | as | opposed
| to [EMAIL PROTECTED] or at least localhost which would be | just |
| fine. | | Has anyone got any experience with this? I just | need to
| know where | to change that darned from address. I'd hate | to have
| to reinstall | the toaster _again_ :( | | Cheers! |
|
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCGOYA5oLdYlMF6RsRAqLVAJ4k8EseenJZjnH6TZdxM2czcBDcNwCfVF/n
61y1SU4DEWMAPEPJNA7Jm1s=
=J8K8
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: qmail?

2005-02-20 Thread gabriel
Okay.

Thanks!

On Sun, 20 Feb 2005 12:33:20 -0700, Chris Warren [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 I've added localhost to the locals and rcpthosts files.  Seemed
 to take care of that.
 
 gabriel wrote:
 
 | very cool, I edited the appropiate files and restarted everything.
 | The problem is then I send the periodic It gets bounced cause it
 | cant find [EMAIL PROTECTED] *sigh*
 |
 |
 | On Sun, 20 Feb 2005 11:47:36 -0700, Chris Warren
 | [EMAIL PROTECTED] wrote:
 |
 
 | My defaulthost just has myhost, and defaultdomain has mydomain.
 |
 |
 | My daily run output is sent from [EMAIL PROTECTED]
 |
 |
 | gabriel wrote:
 |
 | | I did actually, it USED to have somedomain.com in a lot of the |
 | files but I changed them to the actual domain. Should they be the |
 | mail server's host or the domain? | | | On Sun, 20 Feb 2005
 | 11:24:15 -0700, Chris Warren | [EMAIL PROTECTED] wrote: |
 |
 | | I believe this is done in your /var/qmail/control/defaultdomain
 | and |  /var/qmail/control/defaulthost files. In fact, check through
 | all | the files in the control dir to make sure they are right. | |
 | Chris | | gabriel wrote: | | | Ok, well I installed qmail and all
 | that jazz through Matt's Mail | | toaster. Everything appeared to
 | have been installed without any | | problems, obviously some
 | tweaking had to be done to customize the | | installation but
 | nothing major. At this point, my only problem | | appears to be the
 | from address that its used when sending the daily |  | run output -
 | i.e. its sending from [EMAIL PROTECTED] | as | opposed
 | to [EMAIL PROTECTED] or at least localhost which would be | just |
 | fine. | | Has anyone got any experience with this? I just | need to
 | know where | to change that darned from address. I'd hate | to have
 | to reinstall | the toaster _again_ :( | | Cheers! |
 |
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.5 (GNU/Linux)
 Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
 
 iD8DBQFCGOYA5oLdYlMF6RsRAqLVAJ4k8EseenJZjnH6TZdxM2czcBDcNwCfVF/n
 61y1SU4DEWMAPEPJNA7Jm1s=
 =J8K8
 -END PGP SIGNATURE-
 
 


-- 
gabriel,

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


Re: Shell file completion

2005-02-20 Thread Alejandro Pulver
On Sun, 20 Feb 2005 12:20:01 -0500
Bill Moran [EMAIL PROTECTED] wrote:

 
 [Please wrap your lines around 72 chars or so]


I am using Sylpheed-Claws, and it appears to be wrapping at 78 characters. But 
the option 'Smart Wrapping' was set and is marked as *EXPERIMENTAL*. So I 
turned it off and change the wrapping to 72 characters.
 
 Alejandro Pulver [EMAIL PROTECTED] wrote:
  Hello,
  
  I was learning regular expressions, and I noticed that the shell has
  something similar (but it is different from regular expressions).
  
  When I type 'echo *', it replaces '*' for all the files/dirs not starting
  with a '.' (dot).
  
  I understand the '*' in regular expressions must be preceded by other
  thing to match it.
  
  So it is behaving like the DOS wildcards.
 
 That's funny.  More like DOS wildcards seem to mimic this.
 

I agree.

  Where is it documented?
 
 'man sh' - the section on Shell Patterns.
 
 -- 
 Bill Moran
 Potential Technologies
 http://www.potentialtech.com
 

Thank you.

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


Re: c++

2005-02-20 Thread Gert Cuykens
On Sun, 20 Feb 2005 10:58:54 -0500, David Vincelli [EMAIL PROTECTED] wrote:
  Thx i think i understand now :)
 
 I wouldn't bet on it.
 

lol no really, the B is a gchar** made sence.

 Your analogy is invalid. Perhaps you can say that you walked into a
 fine cigar store and asked the seller about the territorial behaviour
 of south african howler monkeys. Would he give a crap about you?
 Maybe, but probably not. Learn some manners BY THE WAY.

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


Partial web page loading

2005-02-20 Thread Scott Stevenson
I'm a relatively new user of FreeBSD (5.3 release), and have 
encountered a problem that I haven't seen on other platforms. The 
details and a screenshot are outlined here:

http://theocacao.com/document.page/82
Essentially, web content (text and images alike, it seems) occasionally 
fails to load in entirety. I personally haven't be able to recreate 
this yet, but a few people have sent me emails about it. I didn't hear 
anything about this prior to switching to FreeBSD. This is the exact 
same content I had running on a Red Hat-based machine running the same 
version of Apache.

I've done a lot of googling and looking through mailing list archives, 
but haven't been able to identify any real leads yet. Syslog doesn't 
suggest anything is amiss. My environment is:

FreeBSD 5.3-Release
Apache 2.0.50
PHP 5.0.2
BIND 9.3.0
Both Apache and PHP were built from ports. I realize Apache is a few 
versions behind, and I'm going to upgrade it. Looking at the changelog, 
though, I can't seem to find anything that would pertain to this.

Any ideas?
Thanks,
- Scott
--
http://treehouseideas.com/
http://theocacao.com/ [blog]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Partial web page loading

2005-02-20 Thread Chris
Scott Stevenson wrote:
I'm a relatively new user of FreeBSD (5.3 release), and have encountered 
a problem that I haven't seen on other platforms. The details and a 
screenshot are outlined here:

http://theocacao.com/document.page/82
Essentially, web content (text and images alike, it seems) occasionally 
fails to load in entirety. I personally haven't be able to recreate this 
yet, but a few people have sent me emails about it. I didn't hear 
anything about this prior to switching to FreeBSD. This is the exact 
same content I had running on a Red Hat-based machine running the same 
version of Apache.

I've done a lot of googling and looking through mailing list archives, 
but haven't been able to identify any real leads yet. Syslog doesn't 
suggest anything is amiss. My environment is:

FreeBSD 5.3-Release
Apache 2.0.50
PHP 5.0.2
BIND 9.3.0
Both Apache and PHP were built from ports. I realize Apache is a few 
versions behind, and I'm going to upgrade it. Looking at the changelog, 
though, I can't seem to find anything that would pertain to this.

Any ideas?
Thanks,
- Scott

See if the issue continues. Is it only certain days? Certain hours? From 
certain locales? I would not be surprised if it clears up. If it does, 
chalk it up to your ISP

--
Best regards,
Chris
Program complexity grows until it exceeds the capability
of the programmer who must maintain it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Partial web page loading

2005-02-20 Thread Kevin Kinsey
Chris wrote:
Scott Stevenson wrote:
I'm a relatively new user of FreeBSD (5.3 release), and have 
encountered a problem that I haven't seen on other platforms. The 
details and a screenshot are outlined here:

http://theocacao.com/document.page/82
Essentially, web content (text and images alike, it seems)
occasionally fails to load in entirety. I personally haven't be
able to recreate this yet, but a few people have sent me
emails about it. I didn't hear anything about this prior to
switching to FreeBSD. This is the exact same content I had
running on a Red Hat-based machine running the same version of Apache.
I've done a lot of googling and looking through mailing list
archives, but haven't been able to identify any real leads yet.
Syslog doesn't suggest anything is amiss. My environment is:
FreeBSD 5.3-Release
Apache 2.0.50
PHP 5.0.2
BIND 9.3.0
Both Apache and PHP were built from ports. I realize
Apache is a few versions behind, and I'm going to upgrade it.
Looking at the changelog, though, I can't seem to find
anything that would pertain to this.
Any ideas?

See if the issue continues. Is it only certain days? Certain hours?
From certain locales? I would not be surprised if it clears up. If
it does, chalk it up to your ISP

Are we understanding correctly that it's the server at issue?
Pages from theocacao.com are looking fine here.  On cocoadevcentral.com,
the article I looked at seemed fine; however, the right sidebar/navbar 
seemed
truncated.  I felt sure it was a rendering/CSS bug, though.

I'd sure keep an eye on:
top(1)
/var/log/httpd-access.log
/var/log/httpd-error.log
Is there any pattern to these misloaded pages?
Kevin Kinsey
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Do you have gtray-1.1.tar.gz ?

2005-02-20 Thread Kevin Kinsey
Benjamin Dover wrote:
On Thu, 17 Feb 2005 20:49:12 -0600, Kevin Kinsey [EMAIL PROTECTED] wrote:
 

Benjamin Dover wrote:
   

I am looking for the file gtray-1.1.tar.gz it is the distfile for
/usr/ports/mail/gtray  It is the Gmail tray app to indicate new mail
notifications.  The site has gone down and a search for the file
yielded no usable results.  If you have it in /usr/ports/distfiles
could you please email it to me?  Thanks
If you know of another port or working app for gmail new mail
notifications that will work with KDE I would be interested.

 

It very much seems to be available on beastie:
-rw-r--r--   1 ftpuser  ftpusers 13644 Aug 15  2004 gtray-1.1.tar.gz
Try:
$fetch ftp.freebsd.org/pub/FreeBSD/distfiles/gtray-1.1.tar.gz
Kevin Kinsey
   

Thanks so much for pointing this out, I wasn't aware of that location.
The dependant port of gtray,  /x11/ruby-gtktrayicon is marked as
broken and I can't seem to get it with pkg_add.  Is there a work
around for this?
 

I dunno; I guess the best workaround would be to try and
fix the configuration step.  I'm sure mezz would appreciate it...
Other than that, keep an eye on the ports tree (maybe at
freshports.org) and see if it gets unbroken, I guess.  Sorry,
I'm not much help there.
Kevin Kinsey
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


undefined ap_block_alarms in libphp5.so in spite of SHARED_CORE

2005-02-20 Thread Gene
Hi -
I tried sending this to the PHP-INSTALL list and got an immediate pile 
of spam back. Anyway -

I'm trying to get PHP5 to run with Apache 2.0.5 on FreeBSD 5.3. However, 
I keep getting the following:

Cannot load /usr/local/libexec/apache2/libphp5.so into server: 
/usr/local/libexec/apache2/libphp5.so: Undefined symbol ap_block_alarms

Googling for this error brought lot's of results, all pointing to the 
manual and saying to recompile with --enable-rule=SHARED_CORE.

I did so, yet the error persists.
Reinstalling has no effect, and I've found nothing in the manual.
Has anyone any idea how to corect this?
Thanks for taking the time to help
Gene
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


frozen bubble sound issue

2005-02-20 Thread Trey Sizemore
I know it seems trivial, but it's driving me crazy none the less.  The
game was fine yesterday, but I could not even launch Frozen Bubble
today.  I did a 'make deinstall' and then reinstalled the port.  Now it
starts, but I'm getting the following error:

Ready.
Warning, could not create new music from
`/usr/local/share/frozen-bubble/snd/introzik.xm' (reason: Unrecognized
music format).

What might be causing this and how can I fix it?

Thanks.

-- 
Cheers,
Trey

 
Old age is the most unexpected of things that can happen to a man.
-- Trotsky
 
FreeBSD 5.3-STABLE i386 i386 GENERIC
 5:14PM  up  6:14, 0 users, load averages: 0.29, 0.44, 0.43
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Update - Undefined symbol ap_block_alarms

2005-02-20 Thread Gene
In reference to the problem posted earlier about libphp5.so,
after a reinstall of php4 - the same error results from libphp4.so
Perhaps the problem lies in apache?
Gene
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Partial web page loading

2005-02-20 Thread Scott Stevenson
On Feb 20, 2005, at 1:39 PM, Kevin Kinsey wrote:
Are we understanding correctly that it's the server at issue?
Pages from theocacao.com are looking fine here.  On 
cocoadevcentral.com,
the article I looked at seemed fine; however, the right sidebar/navbar 
seemed
truncated.  I felt sure it was a rendering/CSS bug, though.
Interesting. Could you detail what you see, or send me a screenshot 
off-list? It's possible you may have encountered the problem. Which 
browser are you using? Does it look like this screenshot pictured here?
http://theocacao.com/document.page/82


top(1)
It's definitely not a load issue.

/var/log/httpd-access.log
/var/log/httpd-error.log
I've looked through these. Nothing unusual.

Is there any pattern to these misloaded pages?
I don't really have enough data to answer that, unfortunately. I 
haven't been able to recreate the problem myself, either.

The only thing I can say for sure is that no one emailed about this 
prior to the switch to FreeBSD. Not that it's necessarily a 
platform-specific issue, but it's all I have to go on right now.

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


5.3 /etc/rc.network

2005-02-20 Thread Gerard Samuel
Im reading an older article that refers to
/etc/rc.network
Is there an equivalent to /etc/rc.network
in FreeBSD 5.3?
Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Tape Drive -- broken?

2005-02-20 Thread Brandon Kuczenski
I recently acquired an old IDE QIC/Travan tape drive (for free) and I'm 
trying to get it to work on FreeBSD 4.10-RELEASE.  I don't know for sure 
whether the unit is any good, but I would like to rule out operator error 
before I throw it away.

Here's what happens: at boot time, the tape drive is detected as device 
ast0:

/kernel: ast0: TAPE Seagate STT2A at ata1-slave PIO4
When I insert a brand-new 4/8GB tape and run 'mt -f /dev/ast0 status' as 
root I get the following output:

Mode  Density  Blocksize  bpi  Compression
Current:  0x01:X3.22-1983  512 bytes  800  none
-available modes-
0:default  variable   0none
1:default  variable   0none
2:default  variable   0none
3:default  variable   0none
-
File Number: 0  Record Number: 0Residual Count 0
but I get the following message in /var/log/messages:
/kernel: ast0: TEST_UNIT_READY - HARDWARE ERROR asc=0xf0 ascq=0x36 
error=0x00

Similarly, if I run 'mt -f /dev/ast0 rewind', I get no output to the 
terminal but the following in the logs:

/kernel: ast0: TEST_UNIT_READY - HARDWARE ERROR asc=0xf0 ascq=0x36 
error=0x00 
/kernel: ast0: REZERO - HARDWARE ERROR asc=0xf0 ascq=0x36 error=0x00

After either of these commands, if I run 'mt -f /dev/ast0 errstat' the 
terminal displays:

mt: /dev/ast0: Inappropriate ioctl for device
So, does this suggest the drive is fried, or am I doing something wrong? 
Google search shows that 'inappropriate' message popping up occasionally 
for all manner of devices on both Linux and BSD, but usually the hits are 
in the form of mailing list posts with few, if any, responses, and nothing 
that seems relevant to my situation.  Any ideas?

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


Re: mlock: not setgid mail

2005-02-20 Thread Vonleigh Simmons
On Wed, Feb 16, 2005 at 04:04:55AM -0800, Vonleigh Simmons wrote:
I asked this question before but I haven't found a solution. I'm
getting in my mail log the following entry repeated:
usr/local/libexec/mlock[755]: (64) not setgid mail
And I can't figure out what it's complaining about. Below is the
previous thread questions which ruled out some things. Any help
resolving this issue is greatly appreciated.
http://lists.freebsd.org/pipermail/freebsd-questions/2004-December/
067212.html
While looking at that thread again I found this also from Dan Nelson:
---
The code that does the check is this:
  struct group *grp = getgrnam (mail);
  if (!grp || (grp-gr_gid != getegid ())) die (not setgid 
mail,EX_USAGE);
---
	Looking up the man pages I see that getegid gets the group id of the 
calling process.

	What is the calling process to mlock?  I tried setting ipop2d, ipop3d 
and imapd to group mail but that didn't change anything.

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


Re: 5.3 /etc/rc.network

2005-02-20 Thread Erik Norgaard
Gerard Samuel wrote:
Im reading an older article that refers to
/etc/rc.network
Is there an equivalent to /etc/rc.network
in FreeBSD 5.3?
Not a single script. Instead varios scripts for varios tasks, scripts 
are in /etc/rc.d names should be sufficient explanation.

Cheers, Erik
--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Split DNS [was]: 5.3 /etc/rc.network

2005-02-20 Thread Gerard Samuel
Erik Norgaard wrote:
Gerard Samuel wrote:
Im reading an older article that refers to
/etc/rc.network
Is there an equivalent to /etc/rc.network
in FreeBSD 5.3?

Not a single script. Instead varios scripts for varios tasks, scripts 
are in /etc/rc.d names should be sufficient explanation. 
Yeah I was looking at the files in /etc/rc.d, but Im not sure on how to 
do what I
was hoping to do...
Im attempting to setup split dns, using instructions from
http://www.cfcl.com/rdm/split_DNS.html
(Specifically under the heading /etc/rc.network)

Can anyone point me as to what can be done to run 2 instances of bind,
using freebsd 5.3 rc system???
Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


emacs 5.3

2005-02-20 Thread Jim Pazarena
trying to compile emacs and it dies because it cannot find
 shared library Xaw3d.8
a find produces
/usr/X11R6/lib/libXaw3d.so.7  libXaw3d.so and libXaw3d.a
I've make installed   /usr/ports/x11-toolkits/Xaw3d
what do I have left to do to make the .8 shared library ?
Thanks, Jim
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Split DNS [was]: 5.3 /etc/rc.network

2005-02-20 Thread Bill Moran
Gerard Samuel [EMAIL PROTECTED] wrote:

[...]
 Im attempting to setup split dns, using instructions from
 http://www.cfcl.com/rdm/split_DNS.html
 (Specifically under the heading /etc/rc.network)
 
 Can anyone point me as to what can be done to run 2 instances of bind,
 using freebsd 5.3 rc system???

This is not necessary with FreeBSD 5.3

5.3 ships with bind 9.  Bind 9 supports DNS zones that receive different
results.  Thus you can set up split DNS with a single instance of
bind.  I expect this will be easier/better than trying to run two
seperate bind instances.  See the bind docs.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: emacs 5.3

2005-02-20 Thread Kris Kennaway
On Sun, Feb 20, 2005 at 03:38:22PM -0800, Jim Pazarena wrote:
 trying to compile emacs and it dies because it cannot find
  shared library Xaw3d.8
 
 a find produces
 /usr/X11R6/lib/libXaw3d.so.7  libXaw3d.so and libXaw3d.a
 
 I've make installed   /usr/ports/x11-toolkits/Xaw3d
 
 what do I have left to do to make the .8 shared library ?

Xaw3d should install .8 if you have an up-to-date xorg installation.

Kris

pgpxKHtQsROP2.pgp
Description: PGP signature


Re: Split DNS [was]: 5.3 /etc/rc.network

2005-02-20 Thread Gerard Samuel
Bill Moran wrote:
Gerard Samuel [EMAIL PROTECTED] wrote:
[...]
 

Im attempting to setup split dns, using instructions from
http://www.cfcl.com/rdm/split_DNS.html
(Specifically under the heading /etc/rc.network)
Can anyone point me as to what can be done to run 2 instances of bind,
using freebsd 5.3 rc system???
   

This is not necessary with FreeBSD 5.3
5.3 ships with bind 9.  Bind 9 supports DNS zones that receive different
results.  Thus you can set up split DNS with a single instance of
bind.  I expect this will be easier/better than trying to run two
seperate bind instances.  See the bind docs.
According to http://www.bind9.net/Bv9ARM.ch04.html#AEN753
It mentions 2 sets of name servers.
Im about to re-read the chapter to make sure I didn't miss anything...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Split DNS [was]: 5.3 /etc/rc.network

2005-02-20 Thread Gerard Samuel
Gerard Samuel wrote:
Bill Moran wrote:
Gerard Samuel [EMAIL PROTECTED] wrote:
[...]
 

Im attempting to setup split dns, using instructions from
http://www.cfcl.com/rdm/split_DNS.html
(Specifically under the heading /etc/rc.network)
Can anyone point me as to what can be done to run 2 instances of bind,
using freebsd 5.3 rc system???
  

This is not necessary with FreeBSD 5.3
5.3 ships with bind 9.  Bind 9 supports DNS zones that receive different
results.  Thus you can set up split DNS with a single instance of
bind.  I expect this will be easier/better than trying to run two
seperate bind instances.  See the bind docs.
According to http://www.bind9.net/Bv9ARM.ch04.html#AEN753
It mentions 2 sets of name servers.
Im about to re-read the chapter to make sure I didn't miss anything... 

Ah.
I just came across 
http://www.bind9.net/Bv9ARM.ch06.html#view_statement_grammar
which mentions that its not neccessary to have multiple servers with
split dns, when using the view statement.
So I'll see what I can do from here...

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


PEAR Search Path (PHP's include_path)

2005-02-20 Thread doyou
I am running fBSD 5.3-Release and have installed Horde via ports and am having
trouble finding the pear search path to put in the php.ini include_path.  When
Horde was installed it installed PHP 4.  If I bring up the Horde test.php page
it shows the following under pear:

PEAR Search Path (PHP's include_path): 
/usr/local/www/horde/lib:.:/usr/local/share/pear/bootstrap:/usr/local/lib/php/pear:/usr/local/lib/php/pear/data
PEAR: Yes
Recent PEAR: Yes
Mail_RFC822: No
Make sure you are using a recent version of PEAR which includes the Mail_RFC822
class. 
Mail_Mime: No
You do not have the Mail_Mime package installed on your system. See the INSTALL
file for instructions on how to install the package. THIS IS A REQUIRED MODULE!

Log: No
Make sure you are using a version of PEAR which includes the Log classes, or
that you have installed the Log package seperately. See the INSTALL file for
instructions on installing Log. THIS IS A REQUIRED MODULE! 
DB: Yes
Net_Socket: No
Make sure you are using a version of PEAR which includes the Net_Socket class,
or that you have installed the Net_Socket package seperately. See the INSTALL
file for instructions on installing Net_Socket. 
Date: No
Horde requires the Date_Calc class for Kronolith to calculate dates. 
Auth_SASL: No
Horde will work without the Auth_SASL class, but if you use Access Control Lists
in IMP you should be aware that without this class passwords will be sent to
the IMAP server in plain text when retrieving ACLs. 
HTTP_Request: No
Parts of Horde (Jonah, the XML-RPC client/server) use the HTTP_Request library
to retrieve URLs and do other HTTP requests. 
File: No
Horde will work without the File_CSV class, but there may be errors when
importing some CSV files. 
Net_SMTP: No
Make sure you are using the Net_SMTP module if you want smtp to work as a
mailer option. 
Services_Weather: No
Services_Weather is used by the weather applet/block on the portal page.

 
I know these pear addons are installed because if i use the command line install
command I am told they are installed.  Also, the pear ports were installed. 
What should the correct path be under include_path in the php.ini to set this
up correctly?  Thanks




This message was sent using IMP, the Internet Messaging Program.

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


Re: PEAR Search Path (PHP's include_path)

2005-02-20 Thread Gerard Samuel
[EMAIL PROTECTED] wrote:
I am running fBSD 5.3-Release and have installed Horde via ports and am having
trouble finding the pear search path to put in the php.ini include_path.  When
Horde was installed it installed PHP 4.  If I bring up the Horde test.php page
it shows the following under pear:
PEAR Search Path (PHP's include_path): 
/usr/local/www/horde/lib:.:/usr/local/share/pear/bootstrap:/usr/local/lib/php/pear:/usr/local/lib/php/pear/data
PEAR: Yes
Recent PEAR: Yes
Mail_RFC822: No
Make sure you are using a recent version of PEAR which includes the Mail_RFC822
class. 
Mail_Mime: No
You do not have the Mail_Mime package installed on your system. See the INSTALL
file for instructions on how to install the package. THIS IS A REQUIRED MODULE!

Log: No
Make sure you are using a version of PEAR which includes the Log classes, or
that you have installed the Log package seperately. See the INSTALL file for
instructions on installing Log. THIS IS A REQUIRED MODULE! 
DB: Yes
Net_Socket: No
Make sure you are using a version of PEAR which includes the Net_Socket class,
or that you have installed the Net_Socket package seperately. See the INSTALL
file for instructions on installing Net_Socket. 
Date: No
Horde requires the Date_Calc class for Kronolith to calculate dates. 
Auth_SASL: No
Horde will work without the Auth_SASL class, but if you use Access Control Lists
in IMP you should be aware that without this class passwords will be sent to
the IMAP server in plain text when retrieving ACLs. 
HTTP_Request: No
Parts of Horde (Jonah, the XML-RPC client/server) use the HTTP_Request library
to retrieve URLs and do other HTTP requests. 
File: No
Horde will work without the File_CSV class, but there may be errors when
importing some CSV files. 
Net_SMTP: No
Make sure you are using the Net_SMTP module if you want smtp to work as a
mailer option. 
Services_Weather: No
Services_Weather is used by the weather applet/block on the portal page.

I know these pear addons are installed because if i use the command line install
command I am told they are installed.  Also, the pear ports were installed. 
What should the correct path be under include_path in the php.ini to set this
up correctly?  Thanks

For me (php 5.0.3), this is what I have for include_path in php.ini
include_path = .:/usr/local/share/pear
PEAR works fine for me.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Partial web page loading

2005-02-20 Thread Andrew L. Gould
  Scott Stevenson wrote:
  I'm a relatively new user of FreeBSD (5.3 release), and have
  encountered a problem that I haven't seen on other platforms. The
  details and a screenshot are outlined here:
 
  http://theocacao.com/document.page/82
 
  Essentially, web content (text and images alike, it seems)
  occasionally fails to load in entirety. I personally haven't be
  able to recreate this yet, but a few people have sent me
  emails about it. I didn't hear anything about this prior to
  switching to FreeBSD. This is the exact same content I had
  running on a Red Hat-based machine running the same version of
  Apache.
 
  I've done a lot of googling and looking through mailing list
  archives, but haven't been able to identify any real leads yet.
  Syslog doesn't suggest anything is amiss. My environment is:
 
  FreeBSD 5.3-Release
  Apache 2.0.50
  PHP 5.0.2
  BIND 9.3.0
 
  Both Apache and PHP were built from ports. I realize
  Apache is a few versions behind, and I'm going to upgrade it.
  Looking at the changelog, though, I can't seem to find
  anything that would pertain to this.
 
  Any ideas?

Are you sure it's not an odd browser configuration issue?  For example:

For the longest time, the images at http://bsdmall.com/ wouldn't load in 
mozilla but would in konqueror.  One day, I stumbled across a 
configuration item in mozilla to Accept images that come from 
originating server only.  I must have checked it accidentaly.  After I 
unchecked that item, everything loaded fine.

Best of luck,

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


Re: Partial web page loading

2005-02-20 Thread Scott Stevenson
On Feb 20, 2005, at 4:37 PM, Andrew L. Gould wrote:
Are you sure it's not an odd browser configuration issue?  For example:
For the longest time, the images at http://bsdmall.com/ wouldn't load 
in
mozilla but would in konqueror.  One day, I stumbled across a
configuration item in mozilla to Accept images that come from
originating server only.  I must have checked it accidentaly.  After I
unchecked that item, everything loaded fine.
I wish it was that easy.  :)
Unfortunately, I doubt this is the case because an image will load 
partially.

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


Need IMAP Server Selection Advice

2005-02-20 Thread James Stallings II
Greetings,

I'm a recent covert to FreeBSD from many years of using linux on both
the server and the desktop. I'm currently using FreeBSD 5.3 on the
server and a new variant of FreeBSD called OS/X on the desktop :D

My question involves my server; what is the best strategy to a working
IMAP server? I have my own domain, and have operated IMAP under linux
for years without issue, but I can't seem to get it crankin' under
FreeBSD.

I'm quite certain this has more to do with my relative inexperience
with FreeBSD than with FreeBSD itself.

Whats the shortest path to a working configuration? I'm not particular
about whose software I use; I just need to be able to hit it for mail
via IMAP with Thunderbird or Mozilla.

Thanks in advance!

Best Regards,
Jmaes

-- 
===
Woulds't thou so blame
the fragrant blos'ms wilting
as never to have had her bloom?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Need IMAP Server Selection Advice

2005-02-20 Thread Louis LeBlanc
On 02/20/05 07:05 PM, James Stallings II sat at the `puter and typed:
 Greetings,
 
 I'm a recent covert to FreeBSD from many years of using linux on both
 the server and the desktop. I'm currently using FreeBSD 5.3 on the
 server and a new variant of FreeBSD called OS/X on the desktop :D

Yup.  I'd sure like to get hold of that desktop to play with without
having to buy yet another computer :)  Of course, I'll probably get
one anyway one of these days.

 My question involves my server; what is the best strategy to a working
 IMAP server? I have my own domain, and have operated IMAP under linux
 for years without issue, but I can't seem to get it crankin' under
 FreeBSD.

Shouldn't be much difference - except that it might actually be
easier.  I came from Linux (way back in the RH6.0 days) running Cyrus
Imapd to FreeBSD running the same.  I recently moved over to Courier
Imapd, which I think I like better.  Cyrus required a lot of up front
work and detailed tweaking, but Courier was surprisingly easy.  The
distribution config was pretty self explanatory with good descriptions
of what was needed, and the only thing I needed to do by hand is make
sure all the maildirs were created - which courier provides a utility
for.

 I'm quite certain this has more to do with my relative inexperience
 with FreeBSD than with FreeBSD itself.

I've always found that it's far easier to get software working when I
use the ports.  Nowadays, I never - and I mean NEVER - install
software any other way if there is a port I can use.  When I want a
package to solve a particular problem, the ports are the first second,
and last place I search.

 Whats the shortest path to a working configuration? I'm not particular
 about whose software I use; I just need to be able to hit it for mail
 via IMAP with Thunderbird or Mozilla.

You might want to check your disk layout before deciding.  Cyrus will
store all mail in a single location, typically somewhere in /var,
while Courier puts it right in maildir folders in the home directory -
although you can tweak this if you don't want to create shell accounts
for every mail account.  Personally, I like Courier better.  I know
where my mail is, and I have a lot more flexibility in my filtration
and delivery.

Read the other responses coming.  There are other IMAP capable servers
in the ports, and most of them will get a nod from the list folk.

 Thanks in advance!

You bet.

Good luck
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Kime's Law for the Reward of Meekness:
  Turning the other cheek merely ensures two bruised cheeks.


pgpixWkU8tIA8.pgp
Description: PGP signature


Re: All your laptops are belong to Windows.

2005-02-20 Thread bsdnooby

If you have an HP or Compaq laptop, and you see this problem TRY the
R3000Z patches.
 

I tried a bunch of things to get my HP Pavilion to work, but I decided I 
would delay converting this machine until I know more about what I am 
doing.  FreeBSD 5.3 *does* install on another P3-650 laptop on which I 
just upgraded the HD from 10GB to 100GB.  My Pavilion is going to sit on 
a shelf  until it can boot FreeBSD.  The 100GB drive makes my old laptop 
suddenly usable again (as a primary machine). 

In hindsight, I should not have bought the HP, and it's too late to take 
it back.  Thats what I get for playing World of Warcraft on it for 30 
days under Windows.  My advice to anybody thinking of buying an HP 
laptop, is to not do it.  I bought the 100GB 2.5 drive for $200 at 
CompUSA, any old laptop that can already run FreeBSD can use one of them 
to become very useful again.

I also bought a FireWire card for my old laptop, and am hoping that  I 
will be able to use my external drives with FreeBSD (it worked under Win 
XP and Fedora Core 3).  I have about 4 external 160GB drives that can 
work on FireWire and USB2.  I  didn't have much luck with them on FC3 
using USB2, but they worked great under FireWire.  I am hoping FreeBSD 
5.3 will also work with FireWire.  Windows was just the opposite, USB2 
worked well and FireWire was flaky.

I'm sure I'll ask more about my FreeBSD install problems in the future, 
but for now, I'm going to learn using the machines that it works on.  By 
the time I'm comfortable with this OS, the problems will probably be 
solved.  I don't blame FreeBSD for any of this, it's the HP Pavilion 
that is weird.  Its the only machine I've owned where nothing could be 
changed within the BIOS  (like disabling HyperThreading).  The only 
thing I can change in the BIOS is the date/time.

thx
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.1.0 - Release Date: 2/18/2005
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


USB drive - crypto filesystem options?

2005-02-20 Thread Louis LeBlanc
Hey folks.

I have just become the proud owner of a fancy new 1GB USB 2.0 drive;
one of those cool new gadgets no bigger than my pinky that holds 1
Billion bytes of data.  Naturally, I can't wait to play with it :)

Well, I know that USB 2.0 support is kinda sketchy, and I've already
decided it's not stable on the ICH5 USB controller that comes with the
Dell Dimension 8300.  Regardless, I have confirmed that I can get the
little gadget mounted (comes pre-formatted with an MSDos filesystem)
without the slightest hangup.  Yay me.

So, now what I want to do is see what kind of filesystem options I
have with this little gem.  Ideally, I would like to get an encrypted
filesystem that requires a password to mount it.  Of course, I've
checked the ports, but I don't know much about this area, and I don't
know if I'm even using the right search keys.  A little googling
revealed a great article at The FreeBSD Diary
(http://www.freebsddiary.org/encrypted-fs.php) that discusses cfs.
Sounds cool, move to the top of the list - ok, it's the only thing on
the list right now.

That's where you folks come in.  Has anyone had any experience
actually using a crypto filesystem on a USB drive?  What utilities are
available for this?  And more importantly, what have your experiences
been?

TIA
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Ninety-Ninety Rule of Project Schedules:
  The first ninety percent of the task takes ninety percent of
  the time, and the last ten percent takes the other ninety percent.


pgp1xvUOtil6d.pgp
Description: PGP signature


Re: Need IMAP Server Selection Advice

2005-02-20 Thread Jeff Hinrichs
Shouldn't be much difference - except that it might actually be
easier.  I came from Linux (way back in the RH6.0 days) running Cyrus
Imapd to FreeBSD running the same.  I recently moved over to Courier
Imapd, which I think I like better.  Cyrus required a lot of up front
work and detailed tweaking, but Courier was surprisingly easy.  The
distribution config was pretty self explanatory with good descriptions
of what was needed, and the only thing I needed to do by hand is make
sure all the maildirs were created - which courier provides a utility
for.
I've always found that it's far easier to get software working when I
use the ports.  Nowadays, I never - and I mean NEVER - install
software any other way if there is a port I can use.  When I want a
package to solve a particular problem, the ports are the first second,
and last place I search.

  You might want to check your disk layout before deciding.  Cyrus will
store all mail in a single location, typically somewhere in /var,
while Courier puts it right in maildir folders in the home directory -
although you can tweak this if you don't want to create shell accounts
for every mail account.  Personally, I like Courier better.  I know
where my mail is, and I have a lot more flexibility in my filtration
and delivery.
Read the other responses coming.  There are other IMAP capable servers
in the ports, and most of them will get a nod from the list folk.
I'd have to agree with the poster.  For a small installation Courier is 
faster to get up and running the Cyrus.  But once you start having to 
use it with 20-30 users, Cyrus is hands down a better deal.  Yes, it 
does take a more grokking to get Cyrus running correctly but not having 
shell accounts on your mailserver is a blessing.

As long as you have a small installation, most of the decisions are 
fairly meaningless, i.e. mbox or maildir, which smtp server, etc.

I had been admin' a moderatly sized (cyrus/exim/spamassasin/clam-av) 
setup until recently when we switched to the darkside. (Don't ask, it's 
still to painful to think about.)(If you're still curious it had nothing 
to do with email capabilities but with scheduling capabilities and the 
darkside client)


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.1.0 - Release Date: 2/18/2005
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IPFW config

2005-02-20 Thread SigmaX
Paul Schmehl wrote:
- Original Message - From: SigmaX [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Monday, February 21, 2005 12:01 PM
Subject: IPFW config
Set IPFW to allow traffic on ports 80, 1, and 23 (That's the 
default SSH port, right?)
Then start IPFW with the kernel module (I know how to do this)

fwcmd=/sbin/ipfw
myip=x.x.x.x
mymask=255.255.255.0
setup_loopback
# Allow icmp
${FWCMD} add pass icmp from any to any icmptypes 0,3,8,11,12,13,14 via 
xl0

# Setup dynamic rules
${fwcmd} add check-state
${fwcmd} add deny tcp from any to any via xl0 established
# Allow DNS queries out to the world
${fwcmd} add allow udp from ${ip} to any via xl0 keep-state
${fwcmd} add deny udp from any to any
# Allow all outbound traffic
${fwcmd} add allow ip from ${myip} to any via xl0 setup keep-state

# Allow inbound http, ssh and port 1
${fwcmd} add allow tcp from any to ${myip} http via xl0 setup keep-state
${fwcmd} add allow tcp from any to ${myip} ssh via xl0 setup keep-state
${fwcmd} add allow tcp from any to ${myip} 1 via xl0 setup keep-state
# Allow IP fragments to pass through
${fwcmd} add pass all from any to any frag via xl0
# Deny everything else
${fwcmd} add deny ip from any to any via xl0
Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/
Well... *ahem*...  I put the above script into /etc/ipfw.rules and did 
kldload ipfw.ko  sh /etc/ipfw.rules.  I lost connectivity to the 
server.  Did the above script only open those ports to localhost or 
something?  I can go in tonight and fix it from the local computer, but 
I'd like to know what to do when I get there.  I need to have 
connectivity to said ports from the internet... apparently I don't :-P.
   Cheerio,
   SigmaX

--
Registered Linux Freak #: 366,862
If you think of MS-DOS as mono, and Windows as stereo, then Linux is Dolby 
Pro-Logic Surround Sound with Bass Boost and all the music is free.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Need IMAP Server Selection Advice

2005-02-20 Thread Louis LeBlanc
On 02/20/05 08:07 PM, Jeff Hinrichs sat at the `puter and typed:
  Shouldn't be much difference - except that it might actually be
  easier.  I came from Linux (way back in the RH6.0 days) running Cyrus
  Imapd to FreeBSD running the same.  I recently moved over to Courier
  Imapd, which I think I like better.  Cyrus required a lot of up front
  work and detailed tweaking, but Courier was surprisingly easy.  The
  distribution config was pretty self explanatory with good descriptions
  of what was needed, and the only thing I needed to do by hand is make
  sure all the maildirs were created - which courier provides a utility
  for.
  
  
  I've always found that it's far easier to get software working when I
  use the ports.  Nowadays, I never - and I mean NEVER - install
  software any other way if there is a port I can use.  When I want a
  package to solve a particular problem, the ports are the first second,
  and last place I search.
  
  
You might want to check your disk layout before deciding.  Cyrus will
  store all mail in a single location, typically somewhere in /var,
  while Courier puts it right in maildir folders in the home directory -
  although you can tweak this if you don't want to create shell accounts
  for every mail account.  Personally, I like Courier better.  I know
  where my mail is, and I have a lot more flexibility in my filtration
  and delivery.
  
  Read the other responses coming.  There are other IMAP capable servers
  in the ports, and most of them will get a nod from the list folk.
 I'd have to agree with the poster.  For a small installation Courier is 
 faster to get up and running the Cyrus.  But once you start having to 
 use it with 20-30 users, Cyrus is hands down a better deal.  Yes, it 
 does take a more grokking to get Cyrus running correctly but not having 
 shell accounts on your mailserver is a blessing.

Exactly.  I didn't make this exact point as well as I had intended.
Although, be it known that Courier *does* support mail accounts
without shell accounts.  This, of course, drifts back away from the
simplicity that makes Courier so desireable in the first place.

 As long as you have a small installation, most of the decisions are 
 fairly meaningless, i.e. mbox or maildir, which smtp server, etc.

Sorta.  My understanding is that Courier is strictly maildir, with
some MySQL options I've not really bothered looking at.  With a small
installation, this is completely unimportant though.

 I had been admin' a moderatly sized (cyrus/exim/spamassasin/clam-av) 
 setup until recently when we switched to the darkside. (Don't ask, it's 
 still to painful to think about.)(If you're still curious it had nothing 
 to do with email capabilities but with scheduling capabilities and the 
 darkside client)

I'm sorry to hear that.  I've not had any problem with the few
darkside clients connecting to my server (only 4 accounts, so not a
big deal).  Naturally, I forbid the old mickeymouse lookout trojan to
be run on any system under my purvey, so there's just Mom.  Up to
recently, she's taken my advice and left it completely alone.  Not
entirely sure what she's using it for now - an ISP mail account, I
think.  First thing I did when I found out was recommend a
subscription to Symantec's Norton AV.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Xerox never comes up with anything original.


pgpOlRBrEvNnV.pgp
Description: PGP signature


Promise PDC20267 UDMA100 controller channel attaching trouble

2005-02-20 Thread doug reynolds
I've having a bit of trouble with my promise ATA100 controller card on 
my server computer.  I used to use it fine with my older system (k6-450 
with freebsd 4.xx).  I've built this newer box (with FreeBSD 5.3 and 
also 5.3-STABLE, running a K7-650 now) and swapped a lot of  things 
over.  The problem is I keep getting this:

device_attach: ata2 attach returned 6
when I boot up.  I've juggled IRQs, turned off the onboard controller, 
but it just won't attach.  The only way it'll work is if I run the 
drives on the secondary port.  When I do this, everything boots.  When 
the drives are on the primary port, it won't even acknowledge I have any 
drives hooked up. 

The card's bios detects all drives upon bootup (primary/secondary), so I 
don't think the controller is messed..

atacontrol list:
ATA channel 0:
   Master:  ad0 Maxtor 53073H6/DAC10SC0 ATA/ATAPI revision 6
   Slave:   no device present
ATA channel 1:
   Master: acd0 HITACHI CDR-8430/0024 ATA/ATAPI revision 0
   Slave:  ast0 Seagate STT2A/8N43 ATA/ATAPI revision 0
ATA channel 3:
   Master:  ad6 WDC WD1200JB-00GVA0/08.02D08 ATA/ATAPI revision 6
   Slave:   ad7 QUANTUM FIREBALLP AS40.0/A1Y.1500 ATA/ATAPI revision 5
dmesg
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
   The Regents of the University of California. All rights reserved.
FreeBSD 5.3-STABLE #3: Sun Feb 20 19:31:02 EST 2005
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/HIVE
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) Processor (656.47-MHz 686-class CPU)
 Origin = AuthenticAMD  Id = 0x642  Stepping = 2
 
Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
 AMD Features=0xc044RSVD,AMIE,DSP,3DNow!
real memory  = 402587648 (383 MB)
avail memory = 388460544 (370 MB)
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: AMIINT  on motherboard
acpi0: Power Button (fixed)
acpi0: Sleep Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x5008-0x500b on acpi0
cpu0: ACPI CPU on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: AMD 751 host to AGP bridge port 0xd000-0xd003 mem 
0xeedff000-0xeedf,0xec00-0xedff at device 0.0 on pci0
pcib1: PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: display, VGA at device 5.0 (no driver attached)
isab0: PCI-ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
atapci0: AMD 756 UDMA66 controller port 
0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0: bridge, PCI-unknown at device 7.3 (no driver attached)
ohci0: AMD-756 USB Controller mem 0xeffaf000-0xeffa irq 10 at 
device 7.4 on pci0
usb0: OHCI version 1.0, legacy support
usb0: AMD-756 USB Controller on ohci0
usb0: USB revision 1.0
uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
xl0: 3Com 3c905-TX Fast Etherlink XL port 0xd200-0xd23f irq 11 at 
device 9.0 on pci0
miibus0: MII bus on xl0
nsphy0: DP83840 10/100 media interface on miibus0
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:60:08:bd:eb:7e
xl1: 3Com 3c905-TX Fast Etherlink XL port 0xd400-0xd43f irq 12 at 
device 10.0 on pci0
miibus1: MII bus on xl1
nsphy1: DP83840 10/100 media interface on miibus1
nsphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl1: Ethernet address: 00:60:08:bd:eb:bd
atapci1: Promise PDC20267 UDMA100 controller port 
0xd600-0xd63f,0xd800-0xd803,0xda00-0xda07,0xdc00-0xdc03,0xde00-0xde07 
mem 0xeffe-0xefff irq 10 at device 11.0 on pci0
ata2: channel #0 on atapci1
device_attach: ata2 attach returned 6
ata3: channel #1 on atapci1
acpi_tz0: Thermal Zone on acpi0
atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
fdc0: floppy drive controller port 0x3f7,0x3f4-0x3f5,0x3f2-0x3f3 irq 6 
drq 2 on acpi0
sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on 
acpi0
sio0: type 16550A
sio1: 16550A-compatible COM port port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0: ECP parallel printer port port 0x778-0x77b,0x378-0x37f irq 7 drq 
3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
ppbus0: Parallel port bus on ppc0
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
orm0: ISA Option ROMs at iomem 0xcc000-0xc,0xc-0xcbfff on isa0
pmtimer0 on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounter TSC frequency 656465381 Hz quality 800
Timecounters tick every 10.000 msec
ipfw2 

apache wont start after mhash install

2005-02-20 Thread Bob Ababurko
Hello-
I have a box that is running 5.2.1 on sparc64 hardware.  After 
installing php4-mhash-4.3.8_2 via ports, apache will not start again 
after it is stopped.  It will return to normal after I uninstall the 
port of coarse.

The only error message I get is this in /var/log/messages:
Feb 20 21:54:05 web1 kernel: pid 71512 (httpd), uid 0: exited on signal 
11 (core dumped)

What is the next step to determine the problem?  Do I need to do a core 
dump analysis to figure this out?  If so, what is the way or best way?

Also, I noticed that it seems like I have both versions of apache 
installed.  I do not believe that I did this so I am thinking that 
somehow the ports did it.  I found it when I did a pkg_info:... 
apache+mod_ssl-1.3.31+2.8.19.  This is one thing that I found odd, so I 
thought it may be somehow contributing.

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


Re: c++

2005-02-20 Thread Giorgos Keramidas
On 2005-02-20 16:34, Gert Cuykens [EMAIL PROTECTED] wrote:

 Thx i think i understand now :)

Not quite, I'm afraid.

 PS Freebsd source is c++ right ? So you could also call this the free
 c++ question mailing list :)

No.  FreeBSD is written mostly in C.  C++ is a very different language,
so please don't mix the two.

 Also about all the get a c++ book comments, i tryed that once but when
 i ask the book a question, it doesnt say anything back. It only makes
 noises when you flaper the pages trough the wind.

Jokes like this are not good responses to a list that you expect help
from.  We all know what books are good for.  You do too.

 By the way if somebody passing your street asking for direction you
 dont answer get a map either right ?

That direction though may very well be a simple reference to a more
authoritative source of information, i.e. a map.  In the specific case
of programming languages, the standards or books that define the
languages are the _most_ authoritative sources of information.

Therefore, the reply get yourself a good book and read it is actually
correct.

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


Re: Need IMAP Server Selection Advice

2005-02-20 Thread Chad Leigh -- Shire . Net LLC
On Feb 20, 2005, at 7:07 PM, Jeff Hinrichs wrote:
I'd have to agree with the poster.  For a small installation Courier 
is faster to get up and running the Cyrus.  But once you start having 
to use it with 20-30 users, Cyrus is hands down a better deal.  Yes, 
it does take a more grokking to get Cyrus running correctly but not 
having shell accounts on your mailserver is a blessing.

You don't need shell accounts for courier.  Please explain how Cyrus is 
easier with 20-30 or more users...  Courier conforms to standards, 
unlike Cyrus (in terms of mail layout etc) and is easier to tie in to 
ant MTA system you want (that can do maildir) and my installation that 
supports more than 20-30 accounts works just fine, with no shell 
accounts...

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


Trouble with upgrading ports...

2005-02-20 Thread Eric Schuele
Hello,
I am having difficulty upgrading ports on all my freebsd 5.3-stable 
machines.  They all have been cvsup'd and built within the last few days.

But for the last week, maybe two... something strange has been (not) 
happening.  Portversion no longer correctly reports what ports need 
updating.  But if I do a 'portupgrade -arR', the appropriate things get 
upgraded and then later it says they 'succeed' the port!?!  It feels 
like the INDEX is not getting update at all, or something.

I have a script (attached) to update my system sources.  I then 
portupgrade, or buildworld whenever I feel like it.  It has ben working 
fine for quite sometime.  Maybe the script is bad and I was bound to 
mess my machines up.  Not sure.

Either way... If I delete my INDEX and then 'make fetchindex'... things 
don't resolve themselves.  I'm really not sure where the problem is.  I 
was hoping someone could point me in the right direction.  Below is an 
example of the behavior I am seeing.  This is happening on three 
machines (all using the same scripts... and me).

fangorn# cd /usr/ports
fangorn# rm INDEX-5
fangorn# rm INDEX.db
fangorn# make fetchindex
 INDEX-5.bz2   100% of  614 kB  366 kBps
fangorn# portsdb -u
[Updating the portsdb format:bdb1_btree in /usr/ports ... - 12376 port 
entries found 
.1000.2000.3000.4000.5000.6000.7000.8000.9000.1.11000.12000... 
. done]
fangorn# portversion -v -L =
ImageMagick-6.1.9.4   succeeds port (port has 6.1.9.2)
bitstream-vera-1.10_1 succeeds port (port has 1.10)
docbook-xsl-1.68.1succeeds port (port has 1.68.0)
dri-6.2.1,2   succeeds port (port has 6.2_2,2)
emacs-21.3_4  succeeds port (port has 21.3_3)
gnutls-1.0.24_1   succeeds port (port has 1.0.24)
libfpx-1.2.0.11   succeeds port (port has 1.2.0.9_1)
fangorn# portupgrade -narR
---  Session started at: Sun, 20 Feb 2005 22:25:46 -0600
** No need to upgrade 'dagrab-0.3.5_1' (= dagrab-0.3.5_1). (specify -f 
to force)
snip
** No need to upgrade 'gkrellm-2.2.4_1' (= gkrellm-2.2.4_1). (specify 
-f to force)
---  Listing the results (+:done / -:ignored / *:skipped / !:failed)
	- audio/dagrab (dagrab-0.3.5_1)
	- textproc/xmlcatmgr (xmlcatmgr-2.2)
	snip
	- graphics/imlib2 (imlib2-1.1.2_1)
	+ devel/libast (libast-0.5_1)  ---  This DOES need upgrade
	- textproc/jade (jade-1.2.1_9)
	- www/firefox (firefox-1.0_7,1)
	- x11-wm/fluxconf (fluxconf-0.9.7_1)
	- sysutils/gkrellm2 (gkrellm-2.2.4_1)
---  Packages processed: 1 done, 168 ignored, 0 skipped and 0 failed
---  Session ended at: Sun, 20 Feb 2005 22:26:18 -0600 (consumed 00:00:32)
fangorn# exit

Everything that portversion reports as suceeding the ports, DOES.  But 
it shouldn't since the script updates the ports and THEN upgrades those 
installed.  Portupgrade correctly realizes that devel/libast requires an 
upgrade... portversion does not.

I've looked in the past posts, handbook, man pages, UPDATING, various 
READMEs but really not sure what I'm looking for at this point.

  Thanks in advance.
--
Regards,
Eric
#!/bin/sh

# Get all new source!
echo
echo 
echo Grabbing source, docs, and ports...
echo 
cvsup -g -L 1 /root/update/my-supfile

echo
echo 
echo Updating documentation...
echo 
cd /usr/doc
export DOC_LANG=en_US.ISO8859-1
echo Output to /dev/null...
make install  /dev/null
echo Done with docs.

echo
echo 
echo Updating ports index...
echo 
cd /usr/ports
make fetchindex
portsdb -u

echo
echo 
echo Checking package registry...
echo 
pkgdb -F

echo
echo 
echo Cleaning port distfiles...
echo 
portsclean -CDD

echo
echo 
echo Fetching distfiles for ports...
echo 
portupgrade -aFR

echo
echo 
echo Take note of the following ports...
echo 
portversion -v -L =

echo
echo 
echo Feel free to build world or update your ports!
echo Finished at `/bin/date`.
echo 
echo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Trouble with upgrading ports...

2005-02-20 Thread Kris Kennaway
On Sun, Feb 20, 2005 at 11:00:37PM -0600, Eric Schuele wrote:
 Hello,
 
 I am having difficulty upgrading ports on all my freebsd 5.3-stable 
 machines.  They all have been cvsup'd and built within the last few days.
 
 But for the last week, maybe two... something strange has been (not) 
 happening.  Portversion no longer correctly reports what ports need 
 updating.  But if I do a 'portupgrade -arR', the appropriate things get 
 upgraded and then later it says they 'succeed' the port!?!  It feels 
 like the INDEX is not getting update at all, or something.

Correct: the machine that builds fetchindex hasn't been getting cvs
updates since last week some time.  I'm in the process of trying to
fix this.  In the meantime, you can build your own index ('make
index') if you need to update, but this is quite resource-intensive.

Kris


pgpACwlAT8RkW.pgp
Description: PGP signature


Re: Trouble with upgrading ports...

2005-02-20 Thread Michael C. Shultz
On Sunday 20 February 2005 09:00 pm, Eric Schuele wrote:
 Hello,

 I am having difficulty upgrading ports on all my freebsd 5.3-stable
 machines.  They all have been cvsup'd and built within the last few
 days.

 But for the last week, maybe two... something strange has been (not)
 happening.  Portversion no longer correctly reports what ports need
 updating.  But if I do a 'portupgrade -arR', the appropriate things
 get upgraded and then later it says they 'succeed' the port!?! 
 It feels like the INDEX is not getting update at all, or something.

 I have a script (attached) to update my system sources.  I then
 portupgrade, or buildworld whenever I feel like it.  It has ben
 working fine for quite sometime.  Maybe the script is bad and I was
 bound to mess my machines up.  Not sure.

 Either way... If I delete my INDEX and then 'make fetchindex'...
 things don't resolve themselves.  I'm really not sure where the
 problem is.  I was hoping someone could point me in the right
 direction.  Below is an example of the behavior I am seeing.  This is
 happening on three machines (all using the same scripts... and me).

 fangorn# cd /usr/ports
 fangorn# rm INDEX-5
 fangorn# rm INDEX.db
 fangorn# make fetchindex
   INDEX-5.bz2   100% of  614 kB  366
 kBps fangorn# portsdb -u
 [Updating the portsdb format:bdb1_btree in /usr/ports ... - 12376
 port entries found
 .1000.2000.3000.4000.5000
.6000.7000.8000.9000.1
.11000.12000... . done]
 fangorn# portversion -v -L =
 ImageMagick-6.1.9.4   succeeds port (port has 6.1.9.2)
 bitstream-vera-1.10_1 succeeds port (port has 1.10)
 docbook-xsl-1.68.1succeeds port (port has 1.68.0)
 dri-6.2.1,2   succeeds port (port has 6.2_2,2)
 emacs-21.3_4  succeeds port (port has 21.3_3)
 gnutls-1.0.24_1   succeeds port (port has 1.0.24)
 libfpx-1.2.0.11   succeeds port (port has 1.2.0.9_1)
 fangorn# portupgrade -narR
 ---  Session started at: Sun, 20 Feb 2005 22:25:46 -0600
 ** No need to upgrade 'dagrab-0.3.5_1' (= dagrab-0.3.5_1). (specify
 -f to force)
 snip
 ** No need to upgrade 'gkrellm-2.2.4_1' (= gkrellm-2.2.4_1).
 (specify -f to force)
 ---  Listing the results (+:done / -:ignored / *:skipped / !:failed)
   - audio/dagrab (dagrab-0.3.5_1)
   - textproc/xmlcatmgr (xmlcatmgr-2.2)
   snip
   - graphics/imlib2 (imlib2-1.1.2_1)
   + devel/libast (libast-0.5_1)  ---  This DOES need upgrade
   - textproc/jade (jade-1.2.1_9)
   - www/firefox (firefox-1.0_7,1)
   - x11-wm/fluxconf (fluxconf-0.9.7_1)
   - sysutils/gkrellm2 (gkrellm-2.2.4_1)
 ---  Packages processed: 1 done, 168 ignored, 0 skipped and 0 failed
 ---  Session ended at: Sun, 20 Feb 2005 22:26:18 -0600 (consumed
 00:00:32) fangorn# exit

 Everything that portversion reports as suceeding the ports, DOES. 
 But it shouldn't since the script updates the ports and THEN upgrades
 those installed.  Portupgrade correctly realizes that devel/libast
 requires an upgrade... portversion does not.

 I've looked in the past posts, handbook, man pages, UPDATING, various
 READMEs but really not sure what I'm looking for at this point.

Thanks in advance.

sysutils/portmanager can upgrade those ports and does not need the INDEX
file to do so.

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


Email and scheduling etc sigh -- Was Need IMAP Server Selection Advice

2005-02-20 Thread Murray Taylor

 
  I had been admin' a moderatly sized (cyrus/exim/spamassasin/clam-av) 
  setup until recently when we switched to the darkside. (Don't ask, it's 
  still to painful to think about.)(If you're still curious it had nothing 
  to do with email capabilities but with scheduling capabilities and the 
  darkside client)
 

This is the _BIG THING_ from managers  

Even thouogh I had found and trialled 2 - 3 grooupware ports ... the
managers wanted the darkside thing 

The perceived problem with all my previous offerings - they are web
based! 

Even though the functionality re calendering, group schedule manegement
(and tons more functions well outside of the darkside capabilities) was
all there... it didnt look like the stuff other execs were using... cant
it sync with my PDA (some can) ... why do I need to go to a web site and
go through that login stuff (ever heard of security? and you gotta do
this in a different fashion with micro$lop anyway)


 I'm sorry to hear that.  I've not had any problem with the few
 darkside clients connecting to my server (only 4 accounts, so not a
 big deal).  

We also ran 200+ users in several states via WAN on the Cyrus IMAP
server with various MUA's from FreeBSD and the Outlook clients...
With 698 days of uptime too... (had to move the server to a new building
and nobody but me could see the point of moving it still attached to its
UPS... luddites)


 Lou
-- 
Murray Taylor



---
The information transmitted in this e-mail is for the exclusive
use of the intended addressee and may contain confidential
and/or privileged material. Any review, re-transmission,
dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities
other than the intended recipient is prohibited. If you
received this in error, please inform the sender and/or
addressee immediately and delete the material. 

E-mails may not be secure, may contain computer viruses and
may be corrupted in transmission. Please carefully check this
e-mail (and any attachment) accordingly. No warranties are
given and no liability is accepted for any loss or damage
caused by such matters.
---

***This Email has been scanned for Viruses by MailMarshal.***
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


how do i translate non-ascii chars???

2005-02-20 Thread Gary Kline
l
Guys,

I've got sseveral HTML files with O-aigu and O-grave and 
others (these files were composed on  a Mac. Rather than
display as ['] (apostrophes) or backticks, they are rendered
in full 8859-1.   

How to I translate these  128 range characters?  I'm 
wedged.

thanks in advance,

gary





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

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


Re: Trouble with upgrading ports...

2005-02-20 Thread Rob
Kris Kennaway wrote: 
 Correct: the machine that builds fetchindex hasn't
 been getting cvs updates since last week some time.
 I'm in the process of trying to fix this.
 In the meantime, you can build your own index
 ('make index') if you need to update, but this is
 quite resource-intensive.

I always generated the INDEX file myself (yes, it's
indeed resource and time consuming).

When I encountered trouble some time ago, I learned
from this mailing list that I can use make
fetchindex and that this is actually better.

I then frequently encounter following problem:
Since I am in Korea, I used cvsup.kr.freebsd.org for
cvsup-ing my ports. However, the 'make fetchindex'
dowloads the INDEX file from elsewhere, which may
not be in sync with my Korean cvsup host.
So I get conflicts when checking port versions and
upgrading outdated ports.

To solve this problem, I now always sync my ports
with one of the main cvsup hosts:
cvsup[n].freebsd.org.
So the Korean freeBSD hosts have become useless to
me.

Am I doing something wrong?

Rob.



__ 
Do you Yahoo!? 
Take Yahoo! Mail with you! Get it on your mobile phone. 
http://mobile.yahoo.com/maildemo 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Good rentable servers?

2005-02-20 Thread bsdnooby
Instead of getting a fixed IP address at my house, and having a noisy 
machine running all the time - I think I might want to try renting a 
dedicated FreeBSD server.  It would be used for running Apache, phpBB, 
email, listserv, and a few other services.  I found several places that 
have dedicated FreeBSD machines to rent, their prices seems to all be 
$99 a month.

Is there a cheaper or better option?  Maybe a virtualized server or a jail?
thx!

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.1.0 - Release Date: 2/18/2005
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how do i translate non-ascii chars???

2005-02-20 Thread Kent Stewart
On Sunday 20 February 2005 10:51 pm, Gary Kline wrote:
 l
   Guys,

   I've got sseveral HTML files with O-aigu and O-grave and
   others (these files were composed on  a Mac. Rather than
   display as ['] (apostrophes) or backticks, they are rendered
   in full 8859-1.

   How to I translate these  128 range characters?  I'm
   wedged.

When people do this, they are supposed to use the aacute;, agrave;, 
and etc. Then, their browser does the correct display on their OS.

Kent


   thanks in advance,

   gary

-- 
Kent Stewart
Richland, WA

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