Re: Filesystem layout with sperated /boot partition

2006-04-03 Thread valentin_nils

Hi Eric,

Thanks for the reply.  I have now a better understanding whats possible with
FreeBSD. One question (last one) which I could not find an answer to in the
online manual is :

How would you do a Dual or multi OS boot machine f.e. with Windows on 
the first

disk, first slice, first partition and FreeBSD on another partition ?

Would I need a boot floppy or perhaps its not possible at all ?

Best regards

Nils Valentin

http://www.be-known-online.com



Quoting Erik Trulsson [EMAIL PROTECTED]:

On Mon, Apr 03, 2006 at 02:33:42AM +, 
[EMAIL PROTECTED] wrote:

Hello FreeBSD Fans,

I wanted to create a new system and was thinking about the following layout.

Size | Mountpoint | Device name | File system
100M /boot /dev/ad2s1a UFS2+S
1024MB --- /dev/ad2s1b SWAP
15GB / /dev/ad2s1c UFS2

I want to put /boot on its own partition, but somehow I dont have a 
lot of luck.

I can install the OS, but when I reboot the bootloader will not boot.


Don't do that.  You can not have /boot as a separate partition.  It just
contains the kernel and the loader.  The other things that are needed for
booting (like /bin/sh or /sbin/mount) reside elsewhere.  (Having /boot as a
separate partition is apparently some Linux-specific convention.)

What is normally done under FreeBSD when you want a small boot partition is
to create /usr and /var as separate partitions which will let you create a
small (100M) '/' partition.  (You will probably also want either a separate
/home partition for user home directories, or let them reside under
/usr/home.  (I think the latter is the default, but I am not 100% sure.)





No /boot/loader
...
Default: 0:ad(0,a)/boot/kernel/kernel
boot:
No /boot/kernel/kernel
...

1) I wouldnt mind on which partition /boot or / sits or what its 
named, but
I would like to separate /boot on a different partition and it 
seems like it
wouldnt boot when I do this. Is this just a matter of updating the 
bootloader ?

Wouldnt the installer do that automatically ?


See above.  You can't do that.



2) The part which I dont get is why is / always ad2s1a - even when 
I create
/boot first ? (/boot will become f.e. ad2s1d) and SWAP will 
become ad2s1b.


You need to boot from / and it should be partition 'a' on the slice.  It
is probably possible to change this, but it would be much more pain and
trouble than it is worth.



So what I end up with is something like

Size | Mountpoint | Device name | File system
15GB / /dev/ad2s1a UFS2
1024MB --- /dev/ad2s1b SWAP
100M /boot /dev/ad2s1d UFS2+S


Any replies much appreciated.


A good place to start reading is the online handbook:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/
especially the chapter on installing FreeBSD:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html
The FAQ at http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/  might also
prove helpful.



Best regards

Nils Valentin
http://www.be-known-online.com



--
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]





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


Mail Merging

2006-04-03 Thread Carlos Silva
hi,

someone know a way to merge e-mails?
my intention is to merge old gziped mailing list archives on my mail account.

-- 
Best Regards,

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


watch(8), xwatchwin as courseware [solved by script/tail]

2006-04-03 Thread Andrew Pantyukhin
Hi. I have to teach no-frills freebsd courses. I wonder how
I can arrange all the students seeing on their displays what
I'm typing in my xterm in real-time. I haven't been very
successful with xwatchwin (I've been able to see it in action
but it wasn't very pleasant, and it dumps core on me lately).

watch(1) seems to be ideal for my purposes - students log
on to my box (maybe even gain root privileges if I don't
tweak devfs) and watch my pty. They can even copy and
paste what I'm typing in their xterms. But there's a show-
stopper: it seems that only one snp(4) device can attach to
a tty at the same time and only one watch(1) can use a
snp(4) at the same time.

So what do you suggest?

Hmm... Just as I was typing this I saw a simple solution. I
can use script(1) dumping to a file with -t0 (flush on every
char) and people can just tail -f this file. Performance is
great on a local machine, but is very laggy over NFS... I
tried 'mount -o acregmin=0,acregmax=0' and the
perfomance is almost real-time now.

Great :-) It really is true that many solutions come just as
soon as you try to describe your problem clearly :-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mail Merging

2006-04-03 Thread Skylar Thompson

Carlos Silva wrote:


hi,

someone know a way to merge e-mails?
my intention is to merge old gziped mailing list archives on my mail account.

 


What format (e.g. mbox, maildir) are the archives in?

--
-- Skylar Thompson ([EMAIL PROTECTED])
-- http://www.cs.earlham.edu/~skylar/



signature.asc
Description: OpenPGP digital signature


Re: watch(8), xwatchwin as courseware [solved by script/tail]

2006-04-03 Thread Andrew Reitz


On Apr 2, 2006, at 11:29 PM, Andrew Pantyukhin wrote:


Hi. I have to teach no-frills freebsd courses. I wonder how
I can arrange all the students seeing on their displays what
I'm typing in my xterm in real-time. I haven't been very
successful with xwatchwin (I've been able to see it in action
but it wasn't very pleasant, and it dumps core on me lately).

watch(1) seems to be ideal for my purposes - students log
on to my box (maybe even gain root privileges if I don't
tweak devfs) and watch my pty. They can even copy and
paste what I'm typing in their xterms. But there's a show-
stopper: it seems that only one snp(4) device can attach to
a tty at the same time and only one watch(1) can use a
snp(4) at the same time.

So what do you suggest?

Hmm... Just as I was typing this I saw a simple solution. I
can use script(1) dumping to a file with -t0 (flush on every
char) and people can just tail -f this file. Performance is
great on a local machine, but is very laggy over NFS... I
tried 'mount -o acregmin=0,acregmax=0' and the
perfomance is almost real-time now.

Great :-) It really is true that many solutions come just as
soon as you try to describe your problem clearly :-)


Another potential solution is to use VNC - assuming your students  
have graphical displays. I'm pretty sure that multiple VNC viewers  
(clients) can connect to one VNC server, in watch-only mode.


-Andy.

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


Re: Mail Merging

2006-04-03 Thread Carlos Silva
hi,
the archives are gziped as i said.
the maibox is in IMAP format..

Best Regards,

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



Skylar Thompson escreveu:
 Carlos Silva wrote:

 hi,

 someone know a way to merge e-mails?
 my intention is to merge old gziped mailing list archives on my mail account.

  

 What format (e.g. mbox, maildir) are the archives in?

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


Re: Filesystem layout with sperated /boot partition

2006-04-03 Thread Andrew Reitz


On Apr 2, 2006, at 11:16 PM, [EMAIL PROTECTED] wrote:


Hi Eric,

Thanks for the reply.  I have now a better understanding whats  
possible with
FreeBSD. One question (last one) which I could not find an answer  
to in the

online manual is :

How would you do a Dual or multi OS boot machine f.e. with Windows  
on the first

disk, first slice, first partition and FreeBSD on another partition ?

Would I need a boot floppy or perhaps its not possible at all ?


Hi Valentin,

Dual booting FreeBSD along with other Operating Systems is definitely  
possible. And you're right, I couldn't find any reference to how this  
can be done in the Handbook either. :)


Basically, it is my understanding that you will want to add a  
dedicated FreeBSD partition to your disk, and configure the slices  
within that partition as you have learned previously. In terms of how  
to boot, while you can use a floppy, there are many boot managers,  
that once configured, are more convenient to use than floppies.


I did a quick google, and found a guide that seems to cover this  
topic in some depth:


http://www.faqs.org/docs/win_bsd/index.htm

Good luck,
-Andy Reitz.

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


Re: Filesystem layout with sperated /boot partition

2006-04-03 Thread Andreas Rudisch

On Mon, 03 Apr 2006 08:48:30 +0200, Andrew Reitz [EMAIL PROTECTED] wrote:

Dual booting FreeBSD along with other Operating Systems is definitely  
possible. And you're right, I couldn't find any reference to how this  
can be done in the Handbook either. :)


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/boot.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 6-STABLE: Apache 2.2 and php 4.4 segmentation fault

2006-04-03 Thread Riemer Palstra
On Sun, Apr 02, 2006 at 03:56:27PM -0700, Andrew Reitz wrote:
 Can anyone supply any hints as to how I can get more debugging
 information (I don't see any core files anywhere), and/or how I can
 fix this problem?

In /usr/local/etc/php/extensions.ini, try enabling/disabling modules,
whilst reloading the pages causing the segfault. If you find the
offender, try cleaning/recompiling it.

(This kind of fiddling around actually helped me out when even
phpinfo.php wouldn't completely load for me, until I disabled the
imagick module which was misbehaving around that time).

-- 
Riemer PalstraAmsterdam, The Netherlands
[EMAIL PROTECTED]http://www.palstra.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 6-STABLE: Apache 2.2 and php 4.4 segmentation fault

2006-04-03 Thread Riemer Palstra
On Sun, Apr 02, 2006 at 08:02:12PM -0400, RJ wrote:
   When I have setup a server I use php4-4.4.2_1,
   mysql-server-4.1.18_2, php4-extensions-1.0 and apache.

And when you tell the php4-extensions configuration screen that you want
MySQL support, by checking the knob, it installs php4-mysql.

   I think php4-4.4.2_1 and  php4-mysql-4.4.2_1 will cause a conflict.

I hope not. That would defeat the purpose of being able to install PHP
modules.

-- 
Riemer PalstraAmsterdam, The Netherlands
[EMAIL PROTECTED]http://www.palstra.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ipfw plus authentication???

2006-04-03 Thread Mark Jayson Alvarez
Hi
 
 I am looking for ways to manage our LAN by having each user register their 
ipaddress, mac address, workstation os, etc. in our ldap directory. Now in our 
pcrouter, the users will first send his login credentials to the pcrouter, and 
then the pcrouter will check against ldap if this login is correct, and if it 
is, then it will now do an ldapsearch/compare operation to see if the source 
address (ip/mac) of the user trying to gain network access is indeed belongs to 
that user. Only then, the ipfw ruleset will be changed to allow traffic 
originating from this source address...
 
 Anyone have gone with this solution before??
 
 Thanks
 

-
Blab-away for as little as 1¢/min. Make  PC-to-Phone Calls using Yahoo! 
Messenger with Voice.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mail Merging

2006-04-03 Thread Erik Norgaard

Carlos Silva wrote:


the archives are gziped as i said.
the maibox is in IMAP format..


If by IMAP format you mean that mail is stored on an imap server then you 
can copy mails from the gzipped archive, which I assume to be mbox, to the 
server:


Thunderbird AFIAK stores local folders in mbox format, so you can just 
open the mbox file, mark all and copy to your imap folder and let 
thunderbird do the hard work.


Another solution is to script it. I made a script two years ago for just 
that as I migrated all my mail to imap - I'll see if I can find that 
script, but I think tools are also distributed with cyrus-imap.


Cheers, Erik

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


Re: Mail Merging

2006-04-03 Thread Carlos Silva
Thanks!
Problem solved ;)

Best Regards,

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



Erik Norgaard escreveu:
 Carlos Silva wrote:

 the archives are gziped as i said.
 the maibox is in IMAP format..

 If by IMAP format you mean that mail is stored on an imap server then you can 
 copy mails from the gzipped archive, which I assume to be mbox, to the server:

 Thunderbird AFIAK stores local folders in mbox format, so you can just open 
 the mbox file, mark all and copy to your imap folder and let thunderbird do 
 the hard work.

 Another solution is to script it. I made a script two years ago for just that 
 as I migrated all my mail to imap - I'll see if I can find that script, but I 
 think tools are also distributed with cyrus-imap.

 Cheers, Erik

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


Re: Filesystem layout with sperated /boot partition

2006-04-03 Thread Erik Trulsson
On Mon, Apr 03, 2006 at 06:16:02AM +, [EMAIL PROTECTED] wrote:
 Hi Eric,
 
 Thanks for the reply.  I have now a better understanding whats possible with
 FreeBSD. One question (last one) which I could not find an answer to in the
 online manual is :
 
 How would you do a Dual or multi OS boot machine f.e. with Windows on 
 the first
 disk, first slice, first partition and FreeBSD on another partition ?
 
 Would I need a boot floppy or perhaps its not possible at all ?

It is certainly possible.  Basically you just put each OS on a separate
slice (either on the same disk, or on separate disks) and use some
boot-manager that can be used to choose boot-disk.
An article that is getting a bit old, but still should be useful that
discusses this can be found at

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/multi-os/index.html

(The issues mentioned in the artice about the 1024-cylinder limit can
be mostly ignored on reasonably modern systems, and there are newer
boot-managers available than those described in the article.)

 
 Best regards
 
 Nils Valentin
 
 http://www.be-known-online.com
 
 
 
 Quoting Erik Trulsson [EMAIL PROTECTED]:
 
 On Mon, Apr 03, 2006 at 02:33:42AM +, 
 [EMAIL PROTECTED] wrote:
 Hello FreeBSD Fans,
 
 I wanted to create a new system and was thinking about the following 
 layout.
 
 Size | Mountpoint | Device name | File system
 100M /boot /dev/ad2s1a UFS2+S
 1024MB --- /dev/ad2s1b SWAP
 15GB / /dev/ad2s1c UFS2
 
 I want to put /boot on its own partition, but somehow I dont have a 
 lot of luck.
 I can install the OS, but when I reboot the bootloader will not boot.
 
 Don't do that.  You can not have /boot as a separate partition.  It just
 contains the kernel and the loader.  The other things that are needed for
 booting (like /bin/sh or /sbin/mount) reside elsewhere.  (Having /boot as a
 separate partition is apparently some Linux-specific convention.)
 
 What is normally done under FreeBSD when you want a small boot partition is
 to create /usr and /var as separate partitions which will let you create a
 small (100M) '/' partition.  (You will probably also want either a separate
 /home partition for user home directories, or let them reside under
 /usr/home.  (I think the latter is the default, but I am not 100% sure.)
 
 
 
 
 No /boot/loader
 ...
 Default: 0:ad(0,a)/boot/kernel/kernel
 boot:
 No /boot/kernel/kernel
 ...
 
 1) I wouldnt mind on which partition /boot or / sits or what its 
 named, but
 I would like to separate /boot on a different partition and it 
 seems like it
 wouldnt boot when I do this. Is this just a matter of updating the 
 bootloader ?
 Wouldnt the installer do that automatically ?
 
 See above.  You can't do that.
 
 
 2) The part which I dont get is why is / always ad2s1a - even when 
 I create
 /boot first ? (/boot will become f.e. ad2s1d) and SWAP will 
 become ad2s1b.
 
 You need to boot from / and it should be partition 'a' on the slice.  It
 is probably possible to change this, but it would be much more pain and
 trouble than it is worth.
 
 
 So what I end up with is something like
 
 Size | Mountpoint | Device name | File system
 15GB / /dev/ad2s1a UFS2
 1024MB --- /dev/ad2s1b SWAP
 100M /boot /dev/ad2s1d UFS2+S
 
 
 Any replies much appreciated.
 
 A good place to start reading is the online handbook:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/
 especially the chapter on installing FreeBSD:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html
 The FAQ at http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/  might 
 also
 prove helpful.
 
 
 Best regards
 
 Nils Valentin
 http://www.be-known-online.com
 
 
 --
 Insert your favourite quote here.
 Erik Trulsson
 [EMAIL PROTECTED]
 
 
 
 

-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Root on vinum volume on freebsd6.0/sparc64

2006-04-03 Thread Stephan Zaubzer

Hi!
Is here a way to place the root partition of freebsd in a mirrored vinum 
volume? I have read tutorials which explain the procedure in more or 
less detail, but all the tutorials seem to deal with the x86 version. 
For example the tutorials assume that freebsd is installed on a slice 
and that the first 8 sectors of this slice contain the bootstrap. And it 
tells you to move some partitions a few sectors.
On sparc64 I did neither succeed to create overlapping partitions nor is 
there the possibility to shift a partition a few sectors (to leave space 
for the vinum configuration data). Has anyone experience with a root 
partition on a vinum volume on sparc64?

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


Re: Filesystem layout with sperated /boot partition

2006-04-03 Thread valentin_nils

Hi Andrew, Andreas and Eric,

Thanks for the replies. I am done for today ;-) (or so)

I learned again that sometimes it is important to know how to search ;-).
Oviously I followed the wrong hints in the first place.

Thanks for the many links and tips.
I am definitely save from now on.

I will give it another couple of installation sessions which should bring me
closer to my destination. ;-)

Thanks anybody for the help.

Best regards

Nils Valentin

http://www.be-known-online.com




Quoting Andrew Reitz [EMAIL PROTECTED]:



On Apr 2, 2006, at 11:16 PM, [EMAIL PROTECTED] wrote:


Hi Eric,

Thanks for the reply.  I have now a better understanding whats  
possible with

FreeBSD. One question (last one) which I could not find an answer  to in the
online manual is :

How would you do a Dual or multi OS boot machine f.e. with Windows  
on the first

disk, first slice, first partition and FreeBSD on another partition ?

Would I need a boot floppy or perhaps its not possible at all ?


Hi Valentin,

Dual booting FreeBSD along with other Operating Systems is definitely 
 possible. And you're right, I couldn't find any reference to how 
this  can be done in the Handbook either. :)


Basically, it is my understanding that you will want to add a  
dedicated FreeBSD partition to your disk, and configure the slices  
within that partition as you have learned previously. In terms of how 
 to boot, while you can use a floppy, there are many boot managers,  
that once configured, are more convenient to use than floppies.


I did a quick google, and found a guide that seems to cover this  
topic in some depth:


http://www.faqs.org/docs/win_bsd/index.htm

Good luck,
-Andy Reitz.






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


convert cyrus mail to courier mail

2006-04-03 Thread Reinhold Platzoeder
Hi

I have changed my mail server to use courier-IMAP

I would like to import all the old mail that was using cyrus
I have tried cyrus2courier and mb2md but with no luck

my old mail is under
/var/imap/spool/user/reinhold --- cyrus-IMAP

and I would like to import it to
/usr/local/virtual/[EMAIL PROTECTED]/ --- courier-IMAP

any idea as how I will do this?

Thanks

-- 
Reinhold Platzoeder

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


Re: ipfw plus authentication???

2006-04-03 Thread Nikos Vassiliadis
On Monday 03 April 2006 10:34, Mark Jayson Alvarez wrote:
 Hi

  I am looking for ways to manage our LAN by having each user register their
 ipaddress, mac address, workstation os, etc. in our ldap directory. Now in
 our pcrouter, the users will first send his login credentials to the
 pcrouter, and then the pcrouter will check against ldap if this login is
 correct, and if it is, then it will now do an ldapsearch/compare operation
 to see if the source address (ip/mac) of the user trying to gain network
 access is indeed belongs to that user. Only then, the ipfw ruleset will be
 changed to allow traffic originating from this source address...


Does it have to be LDAP and ipfw?
there is authpf which...

Introduction
Authpf(8) is a user shell for authenticating gateways. An authenticating 
gateway is just like a regular network gateway (a.k.a. a router) except that 
users must first authenticate themselves to the gateway before it will allow 
traffic to pass through it. When a user's shell is set to /usr/sbin/authpf 
(i.e., instead of setting a user's shell to ksh(1), csh(1), etc) and the user 
logs in using SSH, authpf will make the necessary changes to the active pf(4) 
ruleset so that the user's traffic is passed through the filter and/or 
translated using Network Address Translation or redirection. Once the user 
logs out or their session is disconnected, authpf will remove any rules 
loaded for the user and kill any stateful connections the user has open. 
Because of this, the ability of the user to pass traffic through the gateway 
only exists while the user keeps their SSH session open.

From here:
http://www.openbsd.org/faq/pf/authpf.html

Ofcourse this does not cover the IP|MAC address checking you mentioned,
but I don't see how this enhances security. It will be easy for a user to 
change his IP|MAC address.

HTH, Nikos

  Anyone have gone with this solution before??

  Thanks


 -
 Blab-away for as little as 1¢/min. Make  PC-to-Phone Calls using Yahoo!
 Messenger with Voice. ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


GELI/UFS: strange data corruption

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

hi,

the environment:
- Intel Server w 1 x XEON 2.8 / 2GB
- HW-RAID1 (Intel SRCS16 w 2xSeagate NL35 400GB)
- FreeBSD 6.1-BETA4
- GELI encryption of whole amrd0 with Sector-Size 4096
- ufs2 filesystems w Softupdates and Sector-Size 4096

the source:
- SuSE 8.2 reiserfs (3.6?) filesystem mounted ro

the target:
- the ufs2 fs mentioned above

content: 300GB

what happened:
created a geli-device with AES256 on amrd0
setup 3 partitions with bsdlabel on it:
  amrd0.elia: 4096MB BSD-rootfs
  amrd0.elib: 4096MB swap
  amrd0.elib: ~350GB data (the rest of the sectors)
installed bsd w boot from usb-drive (because of geli)
  kernel/bootloader on USB
  root-fs get's mounted from HDD
tried copying the data from the reiserfs disk using
  cd /olddata   find . | sort -n | cpio -pdvum /newdata

this step took 9hrs to complete.

the problem:
the count of files is exactly the same
cpio/syslog/dmesg logged absolutely no errors (not even warnings)
the files contain almost the same data, but at the beginning and
at the end of the files there is content mixed up from other files
that have been copied!

i compared plain-text files as well as binary files (database, executables)
and they ALL differ. not even 1 file is binary the same!

any ideas!?

br  cu...

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


Re: convert cyrus mail to courier mail

2006-04-03 Thread Igor Robul
On Mon, Apr 03, 2006 at 11:39:12AM +0200, Reinhold Platzoeder wrote:
 Hi
 
 I have changed my mail server to use courier-IMAP
 
 I would like to import all the old mail that was using cyrus
 I have tried cyrus2courier and mb2md but with no luck
 
 my old mail is under
 /var/imap/spool/user/reinhold --- cyrus-IMAP
 
 and I would like to import it to
 /usr/local/virtual/[EMAIL PROTECTED]/ --- courier-IMAP
 
 any idea as how I will do this?
If you have little email users, then you can use any IMAP client (for
example Thunderbird).

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


Helping interpreting crash

2006-04-03 Thread cw

Hi folks,
My FreeBSD server (6.0-RELEASE #0) crashed out the other night. I have a 
custom kernel in place with debugging on so can get the info out the 
dump in /var/crash


Thing is, I'm not sure how to interpret it. I can see all the stuff 
about ip and the network but I don't know if it means that is the 
culprit and the handbook only goes into how to get the data out of the dump.


So could anyone possibly have a look at below (or tell me of somewhere I 
can go to get the right info..bearing in mind I don't know all that much 
about the kernel) and let me know what's up?


Thanks,
Colin.

cd /usr/obj/usr/src/sys/IVY
kgdb kernel.debug /var/crash/vmcore.1
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x58
fault code  = supervisor write, page not present
instruction pointer = 0x20:0xc0551fcb
stack pointer   = 0x28:0xde9fbb18
frame pointer   = 0x28:0xde9fbb34
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 687 (python)
trap number = 12
panic: page fault
Uptime: 2d12h7m56s
Dumping 510 MB (2 chunks)
  chunk 0: 1MB (160 pages) ... ok
  chunk 1: 510MB (130416 pages) 494 478 462 446 430 414 398 382 366 350 
334 318 302 286 270 254 238 222 206 190 174 158 142 126 110 94 78 62 46 
30 14


#0  doadump () at pcpu.h:165
165 __asm __volatile(movl %%fs:0,%0 : =r (td));

(kgdb) list *0xc0551fcb
0xc0551fcb is in ip_ctloutput (/usr/src/sys/netinet/ip_output.c:1208).
1203if (error)
1204break;
1205
1206switch (sopt-sopt_name) {
1207case IP_TOS:
1208inp-inp_ip_tos = optval;
1209break;
1210
1211case IP_TTL:
1212inp-inp_ip_ttl = optval;

(kgdb) backtrace
#0  doadump () at pcpu.h:165
#1  0xc04ccb72 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:399
#2  0xc04cce08 in panic (fmt=0xc05fc04b %s)
at /usr/src/sys/kern/kern_shutdown.c:555
#3  0xc05dedb8 in trap_fatal (frame=0xde9fbad8, eva=88)
at /usr/src/sys/i386/i386/trap.c:831
#4  0xc05deb23 in trap_pfault (frame=0xde9fbad8, usermode=0, eva=88)
at /usr/src/sys/i386/i386/trap.c:742
#5  0xc05de781 in trap (frame=
  {tf_fs = -1067646968, tf_es = -1024393176, tf_ds = 40, tf_edi = 
0, tf_esi = 0, tf_ebp = -559957196, tf_isp = -559957244, tf_ebx = 
-559956848, tf_edx = -559956592, tf_ecx = 0, tf_eax = 8, tf_trapno = 12, 
tf_err = 2, tf_eip = -1068163125, tf_cs = 32, tf_eflags = 66183, tf_esp 
= -559957204, tf_ss = 8})

at /usr/src/sys/i386/i386/trap.c:432
#6  0xc05ce86a in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#7  0xc0551fcb in ip_ctloutput (so=0x8, sopt=0xde9fbc90)
at /usr/src/sys/netinet/ip_output.c:1208
#8  0xc056016f in tcp_ctloutput (so=0xc2f376f4, sopt=0xde9fbc90)
at /usr/src/sys/netinet/tcp_usrreq.c:1036
#9  0xc05062c8 in sosetopt (so=0xc2f376f4, sopt=0xde9fbc90)
at /usr/src/sys/kern/uipc_socket.c:1553
#10 0xc050b525 in kern_setsockopt (td=0xc2f1dd80, s=14, level=8, name=8,
val=0xde9fbd90, valseg=UIO_USERSPACE, valsize=0)
at /usr/src/sys/kern/uipc_syscalls.c:1331
#11 0xc050b456 in setsockopt (td=0xc2f1dd80, uap=0x8)
at /usr/src/sys/kern/uipc_syscalls.c:1287
#12 0xc05df0cf in syscall (frame=
  {tf_fs = 171507771, tf_es = 174850107, tf_ds = -1078001605, 
tf_edi = -1077955292, tf_esi = -1077955284, tf_ebp = -1077955268, tf_isp 
= -559956636, tf_ebx = 708242808, tf_edx = 154827904, tf_ecx = 
-1077955988, tf_eax = 105, tf_trapno = 0, tf_err = 2, tf_eip = 
673615827, tf_cs = 51, tf_eflags = 658, tf_esp = -1077955344, tf_ss = 
59}) at /usr/src/sys/i386/i386/trap.c:976
#13 0xc05ce8bf in Xint0x80_syscall () at 
/usr/src/sys/i386/i386/exception.s:200

#14 0x0033 in ?? ()
Previous frame inner to this frame (corrupt stack?)

(kgdb) p *sopt
$1 = {sopt_dir = SOPT_SET, sopt_level = 0, sopt_name = 3,
  sopt_val = 0xbfbfb52c, sopt_valsize = 4, sopt_td = 0xc2f1dd80}


As a sidenote, I recently upgraded sendmail to 8.13.6 using the ports 
tree with a few commands I picked out of the web. Whilst it appears that 
8.13.6 is still on the server, it has somehow lost its ability to use 
sasl2 which was compiled into it as follows:


**Added to Makefile
SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2
SENDMAIL_CF_DIR=/usr/local/share/sendmail/cf
FORCE_PKG_REGISTER=yes
**Also uncommented lines about tls, smtps and sasl2

**Make command
make DESTDIR= PREFIX=/usr PIDDIR=/var/run DESTETC=/etc/mail 
DESTEXEC=/usr/libexec DESTRUN=/var/run DESTBIN=/usr/sbin install


As a result I have had to recompile sendmail to get support back. (I'm 
aware this probably isn't the best way of upgrading 

RE: hunting for secure fileserver-connection!

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

 If you don't trust CIFS/Samba enough to be secure against local sniffers,
and
 you won't run IPsec, you're left with odd things like Sun's SecureNFS
software,
 only I doubt that's available for a FreeBSD fileserver.
that's what i was afraid of. ipsec would be great, if it was possible to
have it
setup itself against the server each time you login (maybe windows logon)
but theres
always a client software needed, and in most cases, you're not able to
access other
networks smoothly if connected.

 If you've got 1.5TB of storage, perhaps you should talk to Auspex or
NetApp and
 see what the NAS folk have to offer...
maybe you're right on that, but currently, we have to test the FreeBSD
thing, and
set it up (because the hw is already here...)



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


Re: Portupgrad Problem

2006-04-03 Thread Danny Butroyd
Cody Holland wrote:
 Using FreeBSD 5.4-Stable #0.  Trying to update my ports using portsnap,
 pkg_version, and portupgrade.  All goes well until I get to portupgrade
 -arR.  All my ports update except for of them.  Here is the message I
 get:

 # portupgrade -arR
 cd: can't cd to /usr/ports/archivers/pear-Archive_Tar
 cd: can't cd to /usr/ports/devel/pear-Console_Getopt
 cd: can't cd to /usr/ports/devel/pear-XML_RPC
 cd: can't cd to /usr/ports/devel/php4-pear
 ** Package 'php4-pear' has been removed from ports tree.
 ** Port directory not found: devel/php4-pear
 ** Package 'pear-Console_Getopt' has been removed from ports tree.
 ** Port directory not found: devel/pear-Console_Getopt
 ** Package 'pear-XML_RPC' has been removed from ports tree.
 ** Port directory not found: devel/pear-XML_RPC
 ** Package 'pear-Archive_Tar' has been removed from ports tree.
 ** Port directory not found: archivers/pear-Archive_Tar
 ** Listing the failed packages (*:skipped / !:failed)
 !  (php4-pear-4.4.1_1)  (port directory error)
 !  (pear-Console_Getopt-1.2)(port directory error)
 !  (pear-XML_RPC-1.4.3) (port directory error)
 !  (pear-Archive_Tar-1.3.1) (port directory error)
 ---  Packages processed: 0 done, 73 ignored, 0 skipped and 4 failed

 I know this is telling me that there is no ports directory for these
 ports...and there isn't one.  I just don't know what to do, to correct
 this.  Any advice would greatly be appreciated.
   
/usr/ports/UPDATING reports the following:-

-snip-

20051213:
  AFFECTS: users of pear ports
  AUTHOR: [EMAIL PROTECTED]

  A few old pear ports have been removed from the tree in favor of a
  single devel/pear port.  If portupgrade complains about missing ports,
  you may safely remove pear-XML_RPC, pear-Console_Getopt, pear-Archive_Tar
  and php[45]-pear and then run:

  portupgrade -o devel/pear -f pear-PEAR


-snip-

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


Re: hunting for secure fileserver-connection!

2006-04-03 Thread Bill Moran
[EMAIL PROTECTED]@mgEDV.net [EMAIL PROTECTED] wrote:

 
  If you don't trust CIFS/Samba enough to be secure against local sniffers,
 and
  you won't run IPsec, you're left with odd things like Sun's SecureNFS
 software,
  only I doubt that's available for a FreeBSD fileserver.
 that's what i was afraid of. ipsec would be great, if it was possible to
 have it
 setup itself against the server each time you login (maybe windows logon)
 but theres
 always a client software needed, and in most cases, you're not able to
 access other
 networks smoothly if connected.

I've never actually used it, but IPsec in transport mode should be
capable of what you want, and should not have the negative side effects
you describe.

At least that's the way it's designed.  It might be implemented poorly on
Windows, I don't know.

-- 
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: ipnat syntax error?

2006-04-03 Thread Juergen Heberling

Erik Nørgaard wrote:

.. snip ..




Well, my suggestion is not to exhaust your precious /28 address space 
right away. And don't make your life unnecessary difficult, why choose 
the addreses in the middle for bimap?



Rather than using all your external ip's right away I would save some 
for later expansion, and reserve one for debugging. You may need to 
connect a laptop on the external net to figure out what's going on. You 
could do this: x.x.x.0/29 to servers (bimap), x.x.x.8/30 debug and 
future expansion (not mapped), x.x.x.12/30 map for lan clients.


If you stick to cidr you can also write your filter rules in cidr making 
it far easier to read an maintain.


For the mapping, and bimapping consider this:

The /24 network you want to map, it contains at most 254 hosts. If you 
map that network to a single ip, then each host can establish at least 
256 simultaneous connections. My experience is that this is far mor than 
needed in most normal operating environments. I'd suggest using the same 
ip as on the firewall external interface.


If the purpose of binatting is to make one service available, http say, 
then you may consider using rdr. IIRC you can also use rdr to round 
robin load balancing incoming connections.


That way you can have one host serving http and another serving smtp on 
the same external ip. The only reason to use different ip's is if you're 
hosting a number of https servers, each need a different ip.


There's no point in bimapping all ports on a external ip to one single 
internal ip if most of them are blocked by the filter.


Cheers, Erik


Erik,

Thank you again for your advice.

Due to historical reasons I can not just take a /29 or /30 block out of 
the middle of the cidr I will ultimately use -- this FreeBSD server will 
implement a firewall on an existing connection replacing an old Cisco 
router that only NAT'd.  So I will see if things can work with just 
one map with portmaps.


Please note that the - for the range syntax is documented in several 
places, not just the FreeBSD handbook and should probably be fixed.


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


mount_reiserfs: data corruption [was: GELI/UFS: strange data corruption]

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

hi together, 1st the good news:
GELI is not the devil in the house!

testenvironment:
FreeBSD 6.1-BETA4 on Intel Server (X2.8, 2GB)

what has been done:
- created a new UFS2 partition on a intel SRCS16 w 400GB RAID1
- mount_reiserfs -o ro of a SuSE8.2 reiserfs-Partition (300GB data)
- copied some testdata

symptoms:
if i read the data with vi from the original disk (/dev/ad0s1)
which is mounted as reiserfs and read-only, the files are correct.
if i copy it with cpio -pdum to the local UFS2 fs, the data get's
corrupted.

tested with /etc/hosts on the original filesystem (get's mixed up
with contents of /etc/nsswitch.conf)

strange, uh? being very curious 'bout your ideas upon that ;_)

br  cu...

ps: extensive memory-tests have been done, hw seems to be ok.
really... i tell you!

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


Apply for the PayPal ATM/Debit Card

2006-04-03 Thread [EMAIL PROTECTED]






Apply for the PayPal ATM/Debit Card
 _



   With the PayPal Debit Card, you can access your PayPal funds instantly
   at any ATM worldwide or spend your funds anywhere you see the
   MasterCard(TM) Logo logo!
   To request a PayPal Debit Card, please complete the following steps.
   To start click on the link Upgrade your account.

   Steps to Request a PayPal Debit Card: [1]Help 
 [2]Upgrade your account [3]Empty 
Add a credit card and complete your enrollment in PayPal's Expanded
Use Program Checked
 Add and confirm a checking account Checked

References

   1. javascript:openWindowQuestion();
   2. http://www.integridad.com/INIMediaGroup/update
   3. 
https://www.paypal.com/us/cgi-bin/webscr?cmd=_business-upgrade-infoupgrade_origin=dc_overview
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How can I increase the shell's (or specific application's) memory limit?

2006-04-03 Thread Olaf Greve

Hi,

I've got a question which is probably pretty easy to answer: how can I 
assign more memory to a PHP script running in a shell and/or in a browser.


Some more background info:
I'm building a PHP script that has to retrieve pretty large sets of data 
from a remote MySQL database, then process it, and store the results to 
a local database.


The issue:
The script (surprise, surprise) quickly runs out of memory. Now, I have 
already tried to increase the memory limit in php.ini (followed by an 
Apache restart, of course), but even when setting the limit to something 
high like 384MB or so, the script still bails out with a memory limit 
error when retrieving as little as some 50MB of data...


Now, of course I could rewrite my PHP script such that it will retrieve 
smaller batches of data, but being a programmer I'm lazy, and I'd rather 
simply assign more memory to the script (actually, it's not only due to 
laziness, but also due to the fact that the script has to agregate data 
etc., and I'd rather have it do that in 1 run for a variety of reasons).


It seems to me like setting the memory limit in php.ini above a value of 
64MB (or so) doesn't seem to have any effect anymore. My assumption then 
is that the memory limit is somehow enforced elsewhere (the shell 
perhaps, and/or Apache?).


Can anyone tell me how to adjust this such that I can successfully 
assign say 384MB of memory to PHP scripts ran both from browsers (i.e. 
through Apache 2.2 and mod_php) as from the commandline?


Tnx in advance, and cheers,
Olafo

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


Re: ipnat syntax error?

2006-04-03 Thread Erik Norgaard

Juergen Heberling wrote:
Due to historical reasons I can not just take a /29 or /30 block out of 
the middle of the cidr I will ultimately use -- this FreeBSD server will 
implement a firewall on an existing connection replacing an old Cisco 
router that only NAT'd.  So I will see if things can work with just 
one map with portmaps.


Please note that the - for the range syntax is documented in several 
places, not just the FreeBSD handbook and should probably be fixed.


check out packet filter as an alternative, you can map any pool of 
addresses as you like:


  http://openbsd.org/faq/pf/nat.html

You can use a list or a table to specify what src addresses are mapped to 
what dst addresses.


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


XFree86-4-Clients Problem

2006-04-03 Thread Warren Liddell
FreeBSD 6.1-PreRealease 32bit system

Updating Ports etc today and had the following error, any help appreciated...
=

making all in programs/glxinfo...
cc -O2 -fno-strict-aliasing -pipe -ansi -Wno-system-headers -Dasm=__asm 
-Wall -Wpointer-arith -Wundef -I/usr/ports/x11/XFree86-4-clients/work/xc 
-I/usr/ports/x11/XFree86-4-clients/work/xc/exports/include  
-I/usr/X11R6/include -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS   
-DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI-DDO_GLU  -c 
glxinfo.c
rm -f glxinfo
cc -o 
glxinfo -O2 -fno-strict-aliasing -pipe -ansi -Wno-system-headers -Dasm=__asm
  -Wall -Wpointer-arith -Wundef 
-L/usr/ports/x11/XFree86-4-clients/work/xc/exports/lib   
glxinfo.o -lGLU -lGL -lXext -lX11 -L/usr/X11R6/lib -pthread -lm   
-Wl,-rpath,/usr/X11R6/lib 
-Wl,-rpath-link,/usr/ports/x11/XFree86-4-clients/work/xc/exports/lib
/usr/bin/ld: warning: libstdc++.so.3, needed by /usr/X11R6/lib/libGLU.so, not 
found (try using -rpath or -rpath-link)
/usr/X11R6/lib/libGLU.so: undefined reference to `__rtti_user'
/usr/X11R6/lib/libGLU.so: undefined reference to `__rtti_si'
/usr/X11R6/lib/libGLU.so: undefined reference to `__get_eh_context'
/usr/X11R6/lib/libGLU.so: undefined reference to `__sjthrow'
/usr/X11R6/lib/libGLU.so: undefined reference to `__builtin_vec_new'
/usr/X11R6/lib/libGLU.so: undefined reference to `__builtin_vec_delete'
/usr/X11R6/lib/libGLU.so: undefined reference to `__rtti_class'
/usr/X11R6/lib/libGLU.so: undefined reference to `__builtin_delete'
/usr/X11R6/lib/libGLU.so: undefined reference to `__terminate'
/usr/X11R6/lib/libGLU.so: undefined reference to `__builtin_new'
*** Error code 1

Stop in /usr/ports/x11/XFree86-4-clients/work/xc/programs/glxinfo.
*** Error code 1

Stop in /usr/ports/x11/XFree86-4-clients/work/xc/programs.
*** Error code 1

Stop in /usr/ports/x11/XFree86-4-clients.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How can I increase the shell's (or specific application's) memory limit?

2006-04-03 Thread Daniel A.
On 4/3/06, Olaf Greve [EMAIL PROTECTED] wrote:
 Hi,

 I've got a question which is probably pretty easy to answer: how can I
 assign more memory to a PHP script running in a shell and/or in a browser.

 Some more background info:
 I'm building a PHP script that has to retrieve pretty large sets of data
 from a remote MySQL database, then process it, and store the results to
 a local database.

 The issue:
 The script (surprise, surprise) quickly runs out of memory. Now, I have
 already tried to increase the memory limit in php.ini (followed by an
 Apache restart, of course), but even when setting the limit to something
 high like 384MB or so, the script still bails out with a memory limit
 error when retrieving as little as some 50MB of data...

 Now, of course I could rewrite my PHP script such that it will retrieve
 smaller batches of data, but being a programmer I'm lazy, and I'd rather
 simply assign more memory to the script (actually, it's not only due to
 laziness, but also due to the fact that the script has to agregate data
 etc., and I'd rather have it do that in 1 run for a variety of reasons).

 It seems to me like setting the memory limit in php.ini above a value of
 64MB (or so) doesn't seem to have any effect anymore. My assumption then
 is that the memory limit is somehow enforced elsewhere (the shell
 perhaps, and/or Apache?).

 Can anyone tell me how to adjust this such that I can successfully
 assign say 384MB of memory to PHP scripts ran both from browsers (i.e.
 through Apache 2.2 and mod_php) as from the commandline?

 Tnx in advance, and cheers,
 Olafo

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

Hi Olaf,
Generally, I think it's bad programming practice to retrieve such big
datasets if it is possible to do otherwise.

Concider this example:
I needed an app which would write a file which has a set size. The
most obvious way to do this, is to make a random string which would be
X bytes long. That, however, is not feasible, and very slow.
The solution is to find a data size which is not too small and not too
big, so disk I/O and CPU time are balanced well.

?php
$num = ''; // The string to write
$bytes = 419430400; // 400 megs
$starttime = time();
$blocksize = 1048576; // 1 meg blocks
$totalblocks = $bytes / $blocksize;
$filename = 400.megs;
for($i=0;$i$totalblocks;$i++)
{
for($x=0;$x$blocksize;$x++)
{
$num .= rand(0,1);
}
$difftime = time() - $starttime;
$hours = date('H', $difftime) - 1;
$minsecs = date('i:s', $difftime);
$y = $i+1;
$pct = round(100/$totalblocks*$y, 2);
echo [$hours:$minsecs] Writing block $y, $pct%\n;
file_put_contents($filename, $num, FILE_APPEND);
$num = '';
}
?

Now, I suggest that you retrieve only a certain amount of SQL rows at
a time, process them, and throw them into your local database. This
will make your application a lot faster, by the way.
___
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 you divide your network?? (do you use vlan??)

2006-04-03 Thread Norberto Meijome
On Thu, 30 Mar 2006 00:19:52 -0800 (PST)
Mark Jayson Alvarez [EMAIL PROTECTED] wrote:

  I don't want to divide the network by physical topology since users
 frequently transfer to other departments...

 if you add a firewall (pf / ipf /
ipfw) you can control what kind of traffic/broadcast goes where. Of
course, for this you'd need all the different segments to 'terminate'
in a NIC in your pcrouter, rather than all of them together in a
unmanaged switch.

you can get dual and quad interface network cards, so you could have 12
network ports in your pcrouter. then add another one with carp for
redundancy. And dont forget I just gleaned over your email, so I may be
way off the mark ( didn't see any other replies...so I thought at least
I'd get something out there...)

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


Re: How can I increase the shell's (or specific application's) memory limit?

2006-04-03 Thread Olaf Greve

Hi Daniel,


Generally, I think it's bad programming practice to retrieve such big
datasets if it is possible to do otherwise.


I definitely agree that it is bad practice, and in that respect I'm 
inclined towards doing batch loading as you suggest too. However, 
there's some data agregation I'll have to take into account, and as it 
involves testing for the presence of specific tables of a merge table 
set, I'd have to rewrite part of that logic.


All doable, of course, and no big issue either, but it would be a lot 
faster for me if I could simply increase the memory limit


Still, I very much hear you, and I know that what you suggest _is_ the 
proper approach, so I may end up doing that too. ;)


Also: there is another perhaps more elegant (read: robust) way, being a 
hybrid solution between the PHP script and using mysqldump. I can then 
use PHP for working out the batches, and retrieve the batches using a 
(set of) commandline mysqldump call(s). The generated batches can then 
directly be dumped into the proper merge tables. The only catch is that 
I directly left join data in into the merge tables, so I'd have to first 
do a blunt dump of the lhs of the data, then of the rhs(es) (both to 
temp tables) and then afterwards left join them into the eventual merge 
tables.
This is the main reason why I hadn't chosen this solution, as at present 
I can combine all of these steps in one query...:/


If someone knows a clean way to increase the memory limit, I'd be happy 
to hear about it. If not, I'll do some rewrite...


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


Re: ISO Image for FreeBSD5.4 that is Current

2006-04-03 Thread Martin McCormick
Lowell Gilbert writes:
http://www.freebsd.org/releases/snapshots.html

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


Re: terrible performance in 6.1beta4

2006-04-03 Thread Norberto Meijome
On Wed, 29 Mar 2006 19:09:26 -0600
Miguel [EMAIL PROTECTED] wrote:

 Hi, im loading a lot of information to a postgresql 8.1.3 database,
 im using the copy command, using the same file and version of
 postgres in gentoo it spend a few minutes (~4-5), in freebsd
 6.1-beta4 it has already spent 25 minutes and the server apparently
 is doing nothing,

[...]

Hey Miguel,
I would agree with all the comments about memory and buffers - tweak
them till you allocate the right amount (i.e., make sure you don't OVER
allocate...though i'm sure you'd see those errors in the pgsql log.

what does ktrace show when you attach it to the process that is
importing the data (client and server processes,actually).

- have you tried doing a binary export and import? I've found them to
be faster, though they may not work for what you need (I think I'm
using them for backups... ). my hardware is pretty much the same as
yours, though 4 GB RAM and 4 drives., but my DB is somewhat larger

 and the reponse time of remote logins or running
 simple commands like ls -l /etc takes a lot of time (35 secs ort so),
 cpu usage is very low:

... and all these commands become responsive as usual the minute you
kill the import process?

btw, you definitely want to kill the indices / FKs in that table until
you're finished with the initial import - it'll speed things up a lot.

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


Re: terrible performance in 6.1beta4

2006-04-03 Thread usleepless
Beto,

i believe he has given up.

i would say that on a dedicated database machine 50-75%
dedicated(shared) memory is not overkill.

wasn't there some other switch which determined wether to page
shared-memory out?

regards,

usleep

On 4/3/06, Norberto Meijome [EMAIL PROTECTED] wrote:
 On Wed, 29 Mar 2006 19:09:26 -0600
 Miguel [EMAIL PROTECTED] wrote:

  Hi, im loading a lot of information to a postgresql 8.1.3 database,
  im using the copy command, using the same file and version of
  postgres in gentoo it spend a few minutes (~4-5), in freebsd
  6.1-beta4 it has already spent 25 minutes and the server apparently
  is doing nothing,

 [...]

 Hey Miguel,
 I would agree with all the comments about memory and buffers - tweak
 them till you allocate the right amount (i.e., make sure you don't OVER
 allocate...though i'm sure you'd see those errors in the pgsql log.

 what does ktrace show when you attach it to the process that is
 importing the data (client and server processes,actually).

 - have you tried doing a binary export and import? I've found them to
 be faster, though they may not work for what you need (I think I'm
 using them for backups... ). my hardware is pretty much the same as
 yours, though 4 GB RAM and 4 drives., but my DB is somewhat larger

  and the reponse time of remote logins or running
  simple commands like ls -l /etc takes a lot of time (35 secs ort so),
  cpu usage is very low:

 ... and all these commands become responsive as usual the minute you
 kill the import process?

 btw, you definitely want to kill the indices / FKs in that table until
 you're finished with the initial import - it'll speed things up a lot.

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

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


Re: terrible performance in 6.1beta4

2006-04-03 Thread usleepless
i just thought of another possible cause:

what is the location of the to-be-imported file? local disk?

because if it is on the network, check your NIC if you are running at
the maximum rate, nfs buffers, etc ( i was fooled by such a situation
once ).

regards,

usleep


On 4/3/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Beto,

 i believe he has given up.

 i would say that on a dedicated database machine 50-75%
 dedicated(shared) memory is not overkill.

 wasn't there some other switch which determined wether to page
 shared-memory out?

 regards,

 usleep

 On 4/3/06, Norberto Meijome [EMAIL PROTECTED] wrote:
  On Wed, 29 Mar 2006 19:09:26 -0600
  Miguel [EMAIL PROTECTED] wrote:
 
   Hi, im loading a lot of information to a postgresql 8.1.3 database,
   im using the copy command, using the same file and version of
   postgres in gentoo it spend a few minutes (~4-5), in freebsd
   6.1-beta4 it has already spent 25 minutes and the server apparently
   is doing nothing,
 
  [...]
 
  Hey Miguel,
  I would agree with all the comments about memory and buffers - tweak
  them till you allocate the right amount (i.e., make sure you don't OVER
  allocate...though i'm sure you'd see those errors in the pgsql log.
 
  what does ktrace show when you attach it to the process that is
  importing the data (client and server processes,actually).
 
  - have you tried doing a binary export and import? I've found them to
  be faster, though they may not work for what you need (I think I'm
  using them for backups... ). my hardware is pretty much the same as
  yours, though 4 GB RAM and 4 drives., but my DB is somewhat larger
 
   and the reponse time of remote logins or running
   simple commands like ls -l /etc takes a lot of time (35 secs ort so),
   cpu usage is very low:
 
  ... and all these commands become responsive as usual the minute you
  kill the import process?
 
  btw, you definitely want to kill the indices / FKs in that table until
  you're finished with the initial import - it'll speed things up a lot.
 
  Beto
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 

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


Re: terrible performance in 6.1beta4

2006-04-03 Thread Norberto Meijome
On Mon, 3 Apr 2006 15:18:02 +0200
[EMAIL PROTECTED] wrote:

 Beto,
 
 i believe he has given up.
 

:( without knowing WHAT is the problem? 

 i would say that on a dedicated database machine 50-75%
 dedicated(shared) memory is not overkill.

of course not. I am not sure I read his vmstat screenshot right, but it
seemed to me that the box was using a lot of disk, but had lots of
free memory - i.e., it was probably just reading the data and the
disks maxed out?  Miguel, what does gstat show ? (it'll show the % busy
of each device in GEOM , which also includes non-RAID devices, so it's
quite useful)

 
 wasn't there some other switch which determined wether to page
 shared-memory out?

i dont actually recall - my DB project had to be put on hold about 75%
ready for prod, trying to get back onto it soon.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Booting Issues - ACPI and HD

2006-04-03 Thread Norberto Meijome
On Wed, 29 Mar 2006 19:12:49 -0600
Ryan Winograd [EMAIL PROTECTED] wrote:


 Now, I have been successful booting Knoppix-STD (linux liveCD), but
 did not have time (unfortunately) to try mounting the drive. I'll try
 that when I get a chance. I say this because I'm not sure if the
 drive is broken or the data is corrupted. Or there may be some other
 cause.

i doubt linux will be able to read / use / fix your bsd slices. burn a
disc with Freesbie (live FreeBSD cd) and use that, or , even better,
the fixit cd (is it a standalone CD or just an option in the
sysinstall menu?) from your installed version of freebsd.

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


Help understanding SMART log info

2006-04-03 Thread Norberto Meijome
Hi there,
brand new thinkpad z60m , 100GB Sata drive. Wednesday night, it started
doing this little tsttttsttt..tstt... like it was trying to re-spin
or something like this. laptop crashed - HARD. FS were a complete mess,
drive VERY slow to use, most of the time doing the noise.
this lasted for 3 days. Before returning it under warranty, i
decided to wipe whatever data was there, so I left the drive running
outside the laptop over the weekend on an USB-SATA adapter - the noise
was still there, and pushing about ... 20 Kbps only.
This morning the drive is working just fine and I can access ALL the
data just fine (was using an OS-X box and must have made a mistake on
my dd line , not sure why, BUT it didnt wipe a thing).

ANYWAY, smartctl shows this:
[]
Error 65535 occurred at disk power-on lifetime: 214 hours (8 days + 22
hours) When the command that caused the error occurred, the device was
active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  10 51 08 50 11 00 e0  Error: IDNF 8 sectors at LBA = 0x1150 = 4432

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --    
  35 03 08 50 11 00 e0 00   2d+21:25:42.300  WRITE DMA EXT
  35 03 08 48 11 00 e0 00   2d+21:25:42.200  WRITE DMA EXT
  35 03 08 40 11 00 e0 00   2d+21:25:42.100  WRITE DMA EXT
  35 03 08 38 11 00 e0 00   2d+21:25:42.100  WRITE DMA EXT
  35 03 08 30 11 00 e0 00   2d+21:25:42.000  WRITE DMA EXT

Error 65534 occurred at disk power-on lifetime: 214 hours (8 days + 22
hours) When the command that caused the error occurred, the device was
active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  10 51 08 48 11 00 e0  Error: IDNF 8 sectors at LBA = 0x1148 = 4424

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --    
  35 03 08 48 11 00 e0 00   2d+21:25:42.200  WRITE DMA EXT
  35 03 08 40 11 00 e0 00   2d+21:25:42.100  WRITE DMA EXT
  35 03 08 38 11 00 e0 00   2d+21:25:42.100  WRITE DMA EXT
  35 03 08 30 11 00 e0 00   2d+21:25:42.000  WRITE DMA EXT
  35 03 08 28 11 00 e0 00   2d+21:25:42.000  WRITE DMA EXT

[]
(about 6 times, different LBA ranges, always 8 sectors, always WRITE
DMA EXT)


 HOW bad is the drive damaged? I run the selftests and it didnt report
any issues, but I'm sure if I had run them on Friday, they would have
all failed.

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


RE: How to recover /usr and /home directory

2006-04-03 Thread Gayn Winters
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Edwin D. Vinas
 Sent: Sunday, April 02, 2006 10:43 PM
 To: freebsd-questions@freebsd.org
 Subject: How to recover /usr and /home directory
 
 
 Hi,
 
 I have a previous 40GB HDD which crashed during power outage 
 and now no
 longer repairable. Before I installed a new HDD, I can still see the
 contents of that defective hard disk when booting from a 
 single user mode.
 Now, I set it up as slave and installed a new FreeBSD on the 
 new master HDD.
 But then, when I mounted the old hard disk, I can no longer 
 see any content
 in my /usr and /home directories. These directories are the 
 ones with hard
 error reading blocks which made FreeBSD not to continue 
 booting due to
 unending and irrepariable fsck commands on this filesystem. 
 All my website
 files and programs are on that old HDD especially in the /usr 
 directory.
 Does the new setup master/slave have somehow caused those 
 files hidden? How
 do I mount even the fragmented blocks? Any suggestion on how 
 I can recover
 my files? Why is FreeBSD so susceptible to fragmentations 
 when suddenly
 turned off or when there is a power outage?
 
 This is what I don't like with FreeBSD; it does not care too 
 much on data!
 Even the fsck doesn't tell you that the hard disk is no 
 longer usable as it
 will still prompt you to do fsck over and over again. And 
 now, my /usr and
 /home suddenly disappeared when mounted. I can still see these two
 directories last week but now it seems they're gone.
 
 
 Thanks.
 Edwin

I assume your old /usr and /home are (or were) partitions.  Check
/etc/fstab and your disklabels for accuracy now.  If bsdlabel can't find
the partitions on your old disk, then you can try using
/usr/ports/sysutils/scan_ffs to rebuild your disklabels if necessary.
You'll then need to rerun fsck to see what you can salvage.

Regarding fsck itself, I suppose one could add intelligence for fsck to
issue ever increasingly stern and obnoxious warnings to backup your data
...  

Good luck on your recovery effort,

-gayn

Bristol Systems Inc.
714/532-6776
www.bristolsystems.com 


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


Re: Indiana goes to DST

2006-04-03 Thread DAve

Chad Leigh -- Shire.Net LLC wrote:


On Apr 2, 2006, at 2:37 PM, hackmiester / Hunter Fuller wrote:


On Tuesday 28 March 2006 09:58, Jacob S wrote:

On Tue, 28 Mar 2006 10:19:21 -0500

DAve [EMAIL PROTECTED] wrote:

Not ever having had to configure DST before, any advice on a work
around since most OSes provide no DST for my timezone?

While we're on this subject, what do we do when DST is extended?


I am sure that an update between now and next Spring will bring us 
updated timezones, so as long as you never update your machine will you 
be SOL, otherwise you will be ok


Chad


Yes I beleive that would be correct. The link provided earlier by Dave 
McCammon was for complete new TZ data. The update is easy and worked 
just fine for my FreeBSD, NetBSD. Unpacking the new zone files and 
running make, make install, then either running tzsetup or linking your 
appropriate zone file to /etc/localtime. Solaris boxes required reading 
the man pages on zic.


So new zone files should be available when the time comes.

DAve

--
This message was checked by forty monkeys and
found to not contain any SPAM whatsoever.

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


Network traffic Monitor

2006-04-03 Thread Rodrigo G. Tavares de Souza

Hi,

   I getting a problem with a DSL connection, and I need a way to 
monitor the network traffic.

   I found a program called Netsaint, could I do it with this one?

Best Regards,
Rodrigo Souza
Sao Paulo - Brazil

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


Server time doesn't want to stay set (help!)

2006-04-03 Thread Steve Douville
My server time is off by exactly 4 hours. (EDT) I've reset it at the BIOS 
level, only to have it changed somehow during the boot process. I've tried 
setting and resetting it through sysinstall, but nothing helps. Running 
ntpdate doesn't change anything either. I've looked in my rc.conf file for 
anything that might change the time and can't seem to find anything there.

Any other places I should look or troubleshoot?

Thanks,
Steve 


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


RE: Server time doesn't want to stay set (help!)

2006-04-03 Thread Jean-Paul Natola
Time zone?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve Douville
Sent: Monday, April 03, 2006 10:37 AM
To: freebsd-questions@freebsd.org
Subject: Server time doesn't want to stay set (help!)

My server time is off by exactly 4 hours. (EDT) I've reset it at the BIOS 
level, only to have it changed somehow during the boot process. I've tried 
setting and resetting it through sysinstall, but nothing helps. Running 
ntpdate doesn't change anything either. I've looked in my rc.conf file for 
anything that might change the time and can't seem to find anything there.

Any other places I should look or troubleshoot?

Thanks,
Steve 


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


Re: Server time doesn't want to stay set (help!)

2006-04-03 Thread Steve Douville
web# date
Mon Apr  3 06:45:56 EDT 2006

- Original Message - 
From: Jean-Paul Natola [EMAIL PROTECTED]
To: Steve Douville [EMAIL PROTECTED]; freebsd-questions@freebsd.org
Sent: Monday, April 03, 2006 10:43 AM
Subject: RE: Server time doesn't want to stay set (help!)


Time zone?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve Douville
Sent: Monday, April 03, 2006 10:37 AM
To: freebsd-questions@freebsd.org
Subject: Server time doesn't want to stay set (help!)

My server time is off by exactly 4 hours. (EDT) I've reset it at the BIOS
level, only to have it changed somehow during the boot process. I've tried
setting and resetting it through sysinstall, but nothing helps. Running
ntpdate doesn't change anything either. I've looked in my rc.conf file for
anything that might change the time and can't seem to find anything there.

Any other places I should look or troubleshoot?

Thanks,
Steve


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


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


FU: mount_reiserfs: data corruption [was: GELI/UFS: strange datacorruption] [WORKAROUND]

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

well, it seems with some testing that the final solution
is to rsync the linux-station via network to the new box.
mount_reiserfs seems to mixup file contents while copying,
regardless of the tool used.
as i'm not a good c-developer, it doesn't make sense for
me and the community, to go deep into ddb/reiserfs stuff.
the versions being tested are:
FreeBSD-6.1-BETA4 and an P-ATA 400GB disk containing 2
reiserfs filesystems (s1, s3) created under SUSE8.2 using
reiserfs-tools v3.6.4.
br  cu...

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


Samba on amd64 6.0

2006-04-03 Thread Andrea Venturoli

Anyone using this with LDAP backend?
Does it work for you?

To me it's giving severe troubles: smbd will tend to hang, hog CPU to 
99% and keep some file locked, the user was modifing.

I'll need to kill -9 it, in order to let the user keep on working.

If anyone is having or has had this problem, I'd welcome any information 
or experience.
I've seen past reports on this (dating back to autumn 2005), but the 
thread does not end with anything that can help.


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


Re: Network traffic Monitor

2006-04-03 Thread Eric Schuele

Rodrigo G. Tavares de Souza wrote:

Hi,

   I getting a problem with a DSL connection, and I need a way to 
monitor the network traffic.

   I found a program called Netsaint, could I do it with this one?



Try Ethereal.
  http://www.ethereal.com/
Its in ports net/ethereal

HTH


Best Regards,
Rodrigo Souza
Sao Paulo - Brazil

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





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


Re: Server time doesn't want to stay set (help!)

2006-04-03 Thread Eric Schuele

Steve Douville wrote:
My server time is off by exactly 4 hours. (EDT) I've reset it at the BIOS 
level, only to have it changed somehow during the boot process. I've tried 
setting and resetting it through sysinstall, but nothing helps. Running 
ntpdate doesn't change anything either. I've looked in my rc.conf file for 
anything that might change the time and can't seem to find anything there.


Any other places I should look or troubleshoot?


Look into:
 - tzsetup  (the sysinstall UI)
 - /usr/share/zoneinfo
 - /etc/localtime
 - google Freebsd time zone

HTH



Thanks,
Steve 



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




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


RE: Timescale for 6.1-RELEASE...

2006-04-03 Thread Harrison Peter CSA BIRKENHEAD
-Original Message-
From: Chris [mailto:[EMAIL PROTECTED]
Sent: 02 April 2006 20:29
To: Harrison Peter CSA BIRKENHEAD
Cc: freebsd-questions@freebsd.org
Subject: Re: Timescale for 6.1-RELEASE...


On 30/03/06, Harrison Peter CSA BIRKENHEAD
[EMAIL PROTECTED] wrote:
 I realise the answer to this question is when it's ready, 
but does anyone have a rough idea how close to being ready 6.1 is?

 Thanks,

 Peter Harrison



 
**
 This document is strictly confidential and is intended only 
for use by the addressee.
 If you are not the intended recipient, any disclosure, 
copying, distribution or other
 action taken in reliance of the information contained in 
this e-mail is strictly prohibited.
 Any views expressed by the sender of this message are not 
necessarily those of the Department
 for Work and Pensions.
 If you have received this transmission in error, please use 
the reply function to tell us
 and then permanently delete what you have received.
 Please note: Incoming and outgoing e-mail messages are 
routinely monitored for compliance
 with our policy on the use of electronic communications.
 
**


 The original of this email was scanned for viruses by the 
Government Secure Intranet (GSi) virus scanning service 
supplied exclusively by Cable  Wireless in partnership with 
MessageLabs.

 On leaving the GSi this email was certified virus-free
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
[EMAIL PROTECTED]


I think the closest way of knowing is checking the todo page and when
they mostly say resolved it may be close to been ready.

Chris

Thanks for this Chris - I'll keep an eye on the todo page, and I've bitten the 
bullet and upgraded to 6-STABLE (6.1-PRERELEASE) in the meantime.


Peter

**
This document is strictly confidential and is intended only for use by the 
addressee. 
If you are not the intended recipient, any disclosure, copying, distribution or 
other 
action taken in reliance of the information contained in this e-mail is 
strictly prohibited.
Any views expressed by the sender of this message are not necessarily those of 
the Department 
for Work and Pensions.
If you have received this transmission in error, please use the reply function 
to tell us 
and then permanently delete what you have received.
Please note: Incoming and outgoing e-mail messages are routinely monitored for 
compliance 
with our policy on the use of electronic communications.
**


The original of this email was scanned for viruses by the Government Secure 
Intranet (GSi) virus scanning service supplied exclusively by Cable  Wireless 
in partnership with MessageLabs.

On leaving the GSi this email was certified virus-free
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Filesystem layout with sperated /boot partition

2006-04-03 Thread Jerry McAllister
 
 Hello FreeBSD Fans,
 
 I wanted to create a new system and was thinking about the following layout.

Do you really mean that or to you mean put root which is '/' in its
own partition?   

There is no reason to put just /boot in a separate partition. It's just 
a directory to help keep some things nicely organized and has no real 
stand-alone value.  It is not very large nor does anything write to it 
in ways that might make it change size in an uncontrolled manner.  Those
things (size, stand-alone value, may grow in size unexpectedly) are the
usual reasons for making a separate partition plus isolating users and
projects.  

 Size | Mountpoint | Device name | File system
 100M /boot /dev/ad2s1a UFS2+S
 1024MB --- /dev/ad2s1b SWAP
 15GB / /dev/ad2s1c UFS2
 
 I want to put /boot on its own partition, but somehow I dont have a lot of 
 luck.
 I can install the OS, but when I reboot the bootloader will not boot.
 
 
 No /boot/loader
 ...
 Default: 0:ad(0,a)/boot/kernel/kernel
 boot:
 No /boot/kernel/kernel
 ...
 
 1) I wouldnt mind on which partition /boot or / sits or what its named, 
 but I would like to separate /boot on a different partition and it seems 
 like it wouldnt boot when I do this. Is this just a matter of updating the 
 bootloader ?   Wouldnt the installer do that automatically ?

The reason it won't boot that way is that everything needed to boot must 
be in the booting partition because nothing else is mounted at that time.
The boot partition must be 'a' and must be montable as '/' (usually called 
root).   During boot, the system does a special read-only mount of the 
first ('a') partiton in the bootable slice.   /boot is supposed to be part 
of that partition.   If you make /boot a separate partition, then it will 
not be mounted and not be available for the boot process to read.  Since 
there is stuff in there that is needed for boot, then it won't work.

Anyway, when the system comes up to a full multi-user mode, it mounts 
everything as in /etc/fstab.   That first (a) partition then is remounted 
according to what is given in /etc/fstab which must be '/' (eg root) for 
things to work right and is normally mounted read/write (though there are 
ways of arranging things to make it work read only).   

I am guessing you don't understand the meaning of what is in /boot and 
what it is used for.  See first part of my comments.

Maybe /boot is an unfortunate name for that directory.  Maybe it should
really be named kernel.stuff or kernel.loader or something like that.  I am
guessing the name boot is deceiving you as to its function.

jerry


 
 2) The part which I dont get is why is / always ad2s1a - even when I create
 /boot first ? (/boot will become f.e. ad2s1d) and SWAP will become ad2s1b.
The first partition in a slice is considered the boot slice and '/' is
the boot partition.   
 
 So what I end up with is something like
 
 Size | Mountpoint | Device name | File system
 15GB / /dev/ad2s1a UFS2
 1024MB --- /dev/ad2s1b SWAP
 100M /boot /dev/ad2s1d UFS2+S
 
 
 Any replies much appreciated.
 
 Best regards
 
 Nils Valentin
 http://www.be-known-online.com
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

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


How severe is IDNF errors in SMART log?

2006-04-03 Thread Norberto Meijome
hi all,
I have a laptop with a 100GB Hitachi SATA drive. the SMART log shows
the errors below (via 'sudo smartctl -a /dev/ad0' ). How badly damaged
is the disk?

[...]
Error 65535 occurred at disk power-on lifetime: 214 hours (8 days + 22
hours) When the command that caused the error occurred, the device was
active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  10 51 08 50 11 00 e0  Error: IDNF 8 sectors at LBA = 0x1150 = 4432

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --    
  35 03 08 50 11 00 e0 00   2d+21:25:42.300  WRITE DMA EXT
  35 03 08 48 11 00 e0 00   2d+21:25:42.200  WRITE DMA EXT
  35 03 08 40 11 00 e0 00   2d+21:25:42.100  WRITE DMA EXT
  35 03 08 38 11 00 e0 00   2d+21:25:42.100  WRITE DMA EXT
  35 03 08 30 11 00 e0 00   2d+21:25:42.000  WRITE DMA EXT

Error 65534 occurred at disk power-on lifetime: 214 hours (8 days + 22
hours) When the command that caused the error occurred, the device was
active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  10 51 08 48 11 00 e0  Error: IDNF 8 sectors at LBA = 0x1148 = 4424

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --    
  35 03 08 48 11 00 e0 00   2d+21:25:42.200  WRITE DMA EXT
  35 03 08 40 11 00 e0 00   2d+21:25:42.100  WRITE DMA EXT
  35 03 08 38 11 00 e0 00   2d+21:25:42.100  WRITE DMA EXT
  35 03 08 30 11 00 e0 00   2d+21:25:42.000  WRITE DMA EXT
  35 03 08 28 11 00 e0 00   2d+21:25:42.000  WRITE DMA EXT

[]
(about 6 times, different LBA ranges, always 8 sectors, always WRITE
DMA EXT)

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


Re: jdk15 on 6.0

2006-04-03 Thread Jon Brisbin

Anish Mistry wrote:


You could always just to do a make package on another machine with 
6.0 and then just pkg_add on your older system.


  

This is what I did when I installed JDK 1.5 on our BSD boxes.

It sounds like, with so little physical RAM, that the JVM is only 
allocating a very small percentage of that to the JVM that starts up 
when the build gets bootstrapped. The jvmg probably needs to be manually 
set using an -Xms/-Xmx value that will give it enough room to work with.


To the JVM, swap space isn't the same as physical RAM. I have had 
problems running java applications that have to swap. With Java, 
physical RAM is crucial. If you could even put at least 512MB in that 
box just for the build, then take it out to run it, you would probably 
succeed. Barring that, you're next best bet is probably going to be 
building it on another box, then doing a pkg_add.


--

Thanks!

Jon Brisbin
Webmaster
NPC International, Inc.

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


Re: Server time doesn't want to stay set (help!)

2006-04-03 Thread Norberto Meijome
On Mon, 3 Apr 2006 10:37:07 -0400
Steve Douville [EMAIL PROTECTED] wrote:

 I've reset it at the BIOS 
 level, only to have it changed somehow during the boot process. I've
 tried setting and resetting it through sysinstall, but nothing helps.


but if you do that, then you need to make sure you tell tzsetup your
BIOS clock is NOT set to UTC. re-run tzsetup and make sure your options
are correctly set.

 Running ntpdate doesn't change anything either.

if you have the wrong TZ set , or wrong setting, ntpdate won't change
anything. NTP rports UTC time, which in conjunction with the TZ
settings on your machine, set your local time.

 I've looked in my
 rc.conf file for anything that might change the time and can't seem
 to find anything there.

check /etc/defaults/rc.conf if you want rc.conf options.

if none of this works, what do 
ls -l /etc/localtime

md5 /etc/localtime

show ?

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


Asus P3B-F MoBo - Invalid partition table (5.x, 6.x)

2006-04-03 Thread Ewald Jenisch

Hi,

I ran into an interesting problem installing FreeBSD on the following
hardware:

MoBo: Asus P3B-F, latest BIOS 
CPU: PIII, 500MHz 
HD: Maxtor 90871U2 (9GB) = primary IDE master 
CD: Sony CDU 4811 = secondary IDE master 
256MB RAM 
Boot Sequence: Floppy, CD, HD 

FreeBSD is to be installed into two slices on the HD - one slice for
everything except /home, the other one for /home.

The problem: When installing FreeBSD (doesn't matter 5.x or 6.x) the
PC can't be booted off the HD after installation. When trying to boot
I get an error message saying invalid partition table.

Digging further into the problem I've found out a workaround: When I
change the BIOS-parameters for the HD to User Defined Harddisk and
LBA booting is possible.

Even more: during initial installation of FreeBSD it doesn't matter if
the setting for the HD in the BIOS is Auto or User-defined/LBA -
however when trying to boot off the HD this setting does very well
matter. To cross-check I've installed FreeBSD with a HD-setting of
Auto, then changed the BIOS to User-defined/LBA and was able to boot
the PC from the HD.

Please note that this happens with both 5.4, 6.0 and 6.1-Beta4.

When checking the BIOS-settings I found out that Auto and
User-defined/LBA show different values:

Auto-setting: (PC cannot boot from HD with these settings)
Cylinders   1024
Heads   16
Sectors 63
CHS capacity528MB
Maximum LBA Capacity8700MB



User-defined HD / LBA: (PC can boot from HD)
Cylinders   1024
Heads   255
Sectors 63
CHS capacity8422M
Maximum LBA Capacity8700MB


Here are my questions:

o) Has anybody else experienced this behavior - possibly also on a PC
with Asus P3B-F motherboard?

o) Why does this happen? (I suppose something weird with HD-geometry,
i.e. the BIOS not reflecting the correct HD-parameters)

o) Is there a way to boot with the HD-parameters in the BIOS left to
default (Auto)?


Thanks much in advance for your help,
-ewald

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


Re: Server time doesn't want to stay set (help!)

2006-04-03 Thread Steve Douville
I've done tzsetup a couple of times to no avail. I cp'd the correct file 
from zoneinfo to localtime, again nothing changed. I've googled like crazy 
on this, but most all of the suggestions are the same.

web# md5 /etc/localtime
MD5 (/etc/localtime) = 2735b3768614a853154db25d18cc5d4b
web# ls -l /etc/localtime
-rw---  1 root  wheel  1252 Apr  3 07:13 /etc/localtime

md5 /etc/localtimeweb#
web# md5 /etc/localtime
MD5 (/etc/localtime) = 2735b3768614a853154db25d18cc5d4b

What options in rc.conf should I look for?

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



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


Firefox 1.5 getting downright irritating

2006-04-03 Thread Paul Schmehl
Does anyone know how to get Firefox 1.5 to *always* start with the 
ProfileManager?  I'm using KDE 3.5, FreeBSD 6.0, Xorg 6.9.0 and Firefox 
1.5.  I've created an application starter on the menubar that has the path 
to firefox (/usr/X11R6/bin/firefox) with the argument -ProfileManager.  The 
first time I start Firefox, the profile manager pops up and prompts me to 
select a profile.  All subsequent launches of Firefox use the profile that 
I selected initially.  I want Firefox to prompt me *every* time it starts, 
because I have created several profiles, each designed to do different 
tasks and be open in different windows.  Each profile uses tabbed Homes so 
I can start a number of tabs with different tasks in them.


I've edited profile.ini as follows:
StartWithLastProfile=0
and
StartWithLastProfile=1

Neither setting makes any difference at all.  Checking and unchecking the 
box to start on startup *also* does nothing.  (As does the prompt to make 
firefox the default browser.)


I even tried removing StartWithLastProfile entirely.  *Nothing* works. 
There's no man pages for firefox, firefox-bin, profile.ini, profilemanager, 
mozilla or mozilla-bin, and googling has been futile so far.


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


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


Re: Firefox 1.5 getting downright irritating

2006-04-03 Thread Karol Kwiatkowski
On 04/03/06 17:49, Paul Schmehl wrote:
 Does anyone know how to get Firefox 1.5 to *always* start with the
 ProfileManager?  I'm using KDE 3.5, FreeBSD 6.0, Xorg 6.9.0 and Firefox
 1.5.  I've created an application starter on the menubar that has the
 path to firefox (/usr/X11R6/bin/firefox) with the argument
 -ProfileManager.  The first time I start Firefox, the profile manager
 pops up and prompts me to select a profile.  All subsequent launches of
 Firefox use the profile that I selected initially.  I want Firefox to
 prompt me *every* time it starts, because I have created several
 profiles, each designed to do different tasks and be open in different
 windows.  Each profile uses tabbed Homes so I can start a number of tabs
 with different tasks in them.
 
 I've edited profile.ini as follows:
 StartWithLastProfile=0
 and
 StartWithLastProfile=1
 
 Neither setting makes any difference at all.  Checking and unchecking
 the box to start on startup *also* does nothing.  (As does the prompt to
 make firefox the default browser.)
 
 I even tried removing StartWithLastProfile entirely.  *Nothing* works.
 There's no man pages for firefox, firefox-bin, profile.ini,
 profilemanager, mozilla or mozilla-bin, and googling has been futile so
 far.

Hi Paul,

it's working here as expected - Don't ask at startup box changes
StartWithLastProfile to 0/1 and ProfileManager starts every time if
set to 0.

I'm using it ever since I installed Firefox 2.0a in addition to 1.5.
The machine is running FreeBSD 6-STABLE, Firefox 1.5 and 2.0a,
Enlightenment DR17 but I doubt it's related.

Maybe you're editing the wrong file? Or while Firefox is running? Too
tight file permissions? Just some thoughts. Here's mine profiles.ini:

-
$ ls -l ~/.mozilla/firefox/profiles.ini
-rw-r--r--  1 karol  karol  216 Apr  3 18:01
/home/karol/.mozilla/firefox/profiles.ini

$ cat ~/.mozilla/firefox/profiles.ini
[General]
StartWithLastProfile=0

[Profile0]
Name=1.5
IsRelative=1
Path=.1.5

[Profile1]
Name=temp
IsRelative=1
Path=.temp

[Profile2]
Name=2.0-alpha1
IsRelative=1
Path=.2.0-alpha1
Default=1
-

HTH,

Karol

-- 
Karol Kwiatkowski  freebsd at orchid dot homeunix dot org
OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc



signature.asc
Description: OpenPGP digital signature


Re: Firefox 1.5 getting downright irritating

2006-04-03 Thread Paul Schmehl
--On Monday, April 03, 2006 18:11:25 +0200 Karol Kwiatkowski 
[EMAIL PROTECTED] wrote:


it's working here as expected - Don't ask at startup box changes
StartWithLastProfile to 0/1 and ProfileManager starts every time if
set to 0.

I'm using it ever since I installed Firefox 2.0a in addition to 1.5.
The machine is running FreeBSD 6-STABLE, Firefox 1.5 and 2.0a,
Enlightenment DR17 but I doubt it's related.

Maybe you're editing the wrong file? Or while Firefox is running? Too
tight file permissions? Just some thoughts. Here's mine profiles.ini:

Or maybe it's KDE.there are several things that, when changed in 
Xwindows do not change at all.  profiles is just one of them.


I'll have to investigate some more..

Thanks for the input.

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

RE: Panic Reboots

2006-04-03 Thread Wil Hatfield
Well that didn't work. My Fatal Trap 12 just sits there until we get it
plugged in and run a couple of fsck on it.

So why doesn't 5.4 reboot on panics?  And is this also an issue with 6.x?

--
Wil Hatfield



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Wil Hatfield
Sent: Saturday, April 01, 2006 2:31 PM
To: freebsd-questions@freebsd.org
Subject: Panic Reboots


What are the best kernel options for rebooting after a panic?

I am going to try these. Will this do the trick? Not sure about the
restartable_panics so I figured I would ask.

options PANIC_REBOOT_WAIT_TIME=10
options RESTARTABLE_PANICS

 FreeBSD 5.4-RELEASE-p11 #1: Sat Apr  1 13:58:33 PST 2006

I used to get reboots by default. Or at least as I recall I did. Did the
default for PANIC_REBOOT_WAIT_TIME become -1 in this branch?

--
Wil Hatfield


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



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


Re: Firefox 1.5 getting downright irritating

2006-04-03 Thread Danny Butroyd
Paul Schmehl wrote:
 --On Monday, April 03, 2006 18:11:25 +0200 Karol Kwiatkowski
 [EMAIL PROTECTED] wrote:

 it's working here as expected - Don't ask at startup box changes
 StartWithLastProfile to 0/1 and ProfileManager starts every time if
 set to 0.

 I'm using it ever since I installed Firefox 2.0a in addition to 1.5.
 The machine is running FreeBSD 6-STABLE, Firefox 1.5 and 2.0a,
 Enlightenment DR17 but I doubt it's related.

 Maybe you're editing the wrong file? Or while Firefox is running? Too
 tight file permissions? Just some thoughts. Here's mine profiles.ini:

 Or maybe it's KDE.there are several things that, when changed in
 Xwindows do not change at all.  profiles is just one of them.

 I'll have to investigate some more..
I use Fluxbox and am experiencing exactly the same problem.and yes
it is very irritating.  If I get anywhere with it I will let post to the
list.

Cheers
Danny

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


Re: convert cyrus mail to courier mail

2006-04-03 Thread Bill Campbell
On Mon, Apr 03, 2006, Reinhold Platzoeder wrote:
Hi

I have changed my mail server to use courier-IMAP

I would like to import all the old mail that was using cyrus
I have tried cyrus2courier and mb2md but with no luck

my old mail is under
/var/imap/spool/user/reinhold --- cyrus-IMAP

and I would like to import it to
/usr/local/virtual/[EMAIL PROTECTED]/ --- courier-IMAP

any idea as how I will do this?

Cyrus imap stores the individual messages as files in the same
format as courier's Maildir.  The only thing really necessasry to
make the transfer would be to figure out the file naming scheme
in Maildir, which is really pretty simple, and move the cyrus
files to the proper directory in Maildir folder(s), renaming them
with the maildir standard utime.sequence.hostname[:status].

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

``UNIX was not designed to stop you from doing stupid things, because that
would also stop you from doing clever things.'' -- Doug Gwyn
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Server time doesn't want to stay set (help!)

2006-04-03 Thread Steve Douville
Geeze, this is very frustrating.  :-)

I rebooted and went into the BIOS. It was set to the correct time. During 
the boot process, a message comes up and says that the time has been 
adjusted. When it's finished, the system time is 4 hours behind. I 
immediately did tzsetup, told it that UTC was not set in the BIOS, then 
proceeded to select the appropriate timezone. I still get:

#web date
Mon Apr  3 08:46:13 EDT 2006  (Note, it's 12:46 pm when I ran this.)

web# ntpdate 0.north-america.pool.ntp.org
Looking for host 0.north-america.pool.ntp.org and service ntp
host found : rrcs-24-123-214-97.central.biz.rr.com
 3 Apr 08:54:32 ntpdate[1881]: step time server 24.123.214.97 offset 
14443.665454 sec

The offset even shows the 4 hours my machine is behind, but it doesn't set 
the time because the difference is too great. (I think)

More thoughts??  :-)

Thanks,
Steve 


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


RE: ipnat syntax error?

2006-04-03 Thread fbsd_user

You can use this format of the ipnat map command

map dc0 10.0.10.1/29 - 20.20.20.5-20.20.20.7

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Erik Norgaard
Sent: Monday, April 03, 2006 7:45 AM
To: Juergen Heberling
Cc: freebsd-questions@freebsd.org
Subject: Re: ipnat syntax error?


Juergen Heberling wrote:
 Due to historical reasons I can not just take a /29 or /30 block out of 
 the middle of the cidr I will ultimately use -- this FreeBSD server will 
 implement a firewall on an existing connection replacing an old Cisco 
 router that only NAT'd.  So I will see if things can work with just 
 one map with portmaps.
 
 Please note that the - for the range syntax is documented in several 
 places, not just the FreeBSD handbook and should probably be fixed.

check out packet filter as an alternative, you can map any pool of 
addresses as you like:

   http://openbsd.org/faq/pf/nat.html

You can use a list or a table to specify what src addresses are mapped to 
what dst addresses.

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

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


Re: Firefox 1.5 getting downright irritating

2006-04-03 Thread Vayu
On Monday 03 April 2006 08:49, Paul Schmehl wrote:
 Does anyone know how to get Firefox 1.5 to *always* start with the 
 ProfileManager?  I'm using KDE 3.5, FreeBSD 6.0, Xorg 6.9.0 and Firefox 
 1.5.  I've created an application starter on the menubar that has the path 
 to firefox (/usr/X11R6/bin/firefox) with the argument -ProfileManager.  The 
 first time I start Firefox, the profile manager pops up and prompts me to 
 select a profile.  All subsequent launches of Firefox use the profile that 
 I selected initially.  I want Firefox to prompt me *every* time it starts, 
 because I have created several profiles, each designed to do different 
 tasks and be open in different windows.  Each profile uses tabbed Homes so 
 I can start a number of tabs with different tasks in them.
 
 I've edited profile.ini as follows:
 StartWithLastProfile=0
 and
 StartWithLastProfile=1
 
 Neither setting makes any difference at all.  Checking and unchecking the 
 box to start on startup *also* does nothing.  (As does the prompt to make 
 firefox the default browser.)
 
 I even tried removing StartWithLastProfile entirely.  *Nothing* works. 
 There's no man pages for firefox, firefox-bin, profile.ini, profilemanager, 
 mozilla or mozilla-bin, and googling has been futile so far.
 

This is not the answer to your problem, but there is an extension called 
session saver that saves your firefox session just as you left it (with all 
the tabs intact).  You can save as many sessions as you want and reload the 
last saved or a specific one.  It might do what you want.

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


Re: ipfw dosnt want to run a rule ???? is it possible ?

2006-04-03 Thread Bob Johnson
On 4/1/06, michael [EMAIL PROTECTED] wrote:
 Thanx for ure answer, u're french is prety understandable ;-)

 I'm really sorry, i dont have subscribe to this mailing list, i was
 trying to send mail to [EMAIL PROTECTED] and i've made a mistake,
 and the second mail was for another mailling list (what happend this
 evening ???) but if u're able to help me it's welcome.


[EMAIL PROTECTED] is a mailing list

 This is my problem (sorry for my bad english):
 I've made a firewall with ipfw on a freebsd 6, i sent the rules (ipfw -a
 -d -t list) and the log

 I really don't understand why the packet don't match with the rule.

Sorry I can't reply in French, but from your original posting:

00020 0 0 skipto 800 udp from any to any dst-port 53 out via rl0 setup
keep-state
00021 0 0 skipto 800 udp from any to any dst-port 53 out via rl0 setup
keep-state
00022 0 0 skipto 800 tcp from any to any dst-port 53 out via rl0 setup
keep-state
00023 0 0 skipto 800 udp from any to any out via rl0 setup keep-state

I don't think there is such a thing as a UDP setup packet, so a UDP
setup filter will probably never match a packet.  It might work as
you expect if you removed setup from the UDP packet filters.

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


Re: Server time doesn't want to stay set (help!)

2006-04-03 Thread wc_fbsd

At 10:37 AM 4/3/2006, Steve Douville wrote:
My server time is off by exactly 4 hours. (EDT) I've reset it at the 
BIOS level, only to have it changed somehow during the boot process. 
I've tried  setting and resetting it through sysinstall, but nothing helps.


This sounds like an issue of the bios clock being set to UTC/GMT 
rather than local time.  If you're bios is set to the actual local 
time, then you need the file /etc/wall_cmos_clock  present.  If it's 
set to universal time, make sure there is no such file.


   -Wayne

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


Re: Asus P3B-F MoBo - Invalid partition table (5.x, 6.x)

2006-04-03 Thread wc_fbsd

At 11:35 AM 4/3/2006, Ewald Jenisch wrote:
o) Has anybody else experienced this behavior - possibly also on a 
PC with Asus P3B-F motherboard?


I have a few systems around with that board, and have never 
experienced such troubles with 4, 5, or 6.  Just use the auto 
setting.  What do you have set in the bios' boot menu for device boot 
order?  If you hit esc on the keyboard, this mobo will offer a menu 
of boot devices, allowing you to completely override the bios setting.


   -Wayne

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


Re: Postfix: unable to deliver this message after 4 days

2006-04-03 Thread Vaaf

At 03:36 03.04.2006, James Long wrote:

As your subject indicates, this is not a FreeBSD problem.

Postfix support is available via their mailing lists.  Please see
http://www.postfix.org/lists.html


Hello Mr Long!

This is the reply I got from the Postfix list:

However I'll put this thread to rest if it isn't replied to from here on.

From: [EMAIL PROTECTED] (Wietse Venema)
Subject: Re: Postfix: unable to deliver this message after 4 days
To: Vaaf [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]

Vaaf:

 When I try to send e-mails to [EMAIL PROTECTED], I get:

 Reason: unable to deliver this message after 4 days

That is not a Postfix error message. This message comes
from a different mail system.

Check your mail logfile.

Wietse

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


Update from Ports removes dependency data

2006-04-03 Thread wc_fbsd

Hi All,

I recently noticed if I update a package from ports, the package 
manager looses the dependency data for the package.  eg:  updating 
old version of gettext


# pkg_info -R gett*
Information for gettext-0.14.5_1:
Required by:
libgpg-error-1.1
libgcrypt-1.2.2
gnutls-1.2.9
p5-gettext-1.03
gmake-3.80_2

[[[ update from ports - make ; make deinstall ; make reinstall ]]]

# pkg_info -R gett*
Information for gettext-0.14.5_2:

Is my procedure incorrect, or is this normal behavior?

  -Thanks,  Wayne

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


RE: ATA Drive Issues

2006-04-03 Thread Ville Lundberg
 From: Wil Hatfield [EMAIL PROTECTED] 
 I am giving 6.1 a whirl.
 In the first 5 minutes I have already noticed that there are some
 obvious filesystem issues fixed. I ran a tar and compared the
 speed to that on one of my 4.x boxes and low and behold they are
 about the same. THANK GOD!

Hi,

I had similar issues with a server freezing, and it also turned out to
be WRITE_DMA failures on one of the (SATA) HDs. This was on 6.0-release,
and upgrading to 6-stable helped. Nice to see it fixed your problem,
too. 6.1 seems to be a really stable and performing branch.

When reporting problems for HDs, it's good policy to always state the HD
 and motherboard/chipset brand, and to point out if/when one has
checked/renewed the cabling (as you did). Also test results from
smartmontools and HD manufacturer disk tests are good to state.

Even when doing this, the FreeBSD community is peculiarly keen on
blaming everything on failing HW and bad cabling. My experience is,
though, that the first thing to blame (when cabling and HDs have passed
tests), is the HD controller, especially when it's one of the crappy
ones, like Silicon Image 3xxx. These crappy chipsets results in that
FreeBSD doesn't have good support for them, as they are unreliable per
definition.

I don't meen to critisize FreeBSD, on the contrary. But it's a bit
annoying to always get responses to all HD related stuff that your HW
is failing, when everything you've done for the last week is tests
which claim it isn't.

I'm not familiar with the innards of FreeBSD, so could someone explain
why FreeBSD is so picky about cabling? I'm pretty well-read in physics,
so the theory of FreeBSD using less-energetic electrons to pass data in
the cables doesn't seem to hold up (insert smiley here). I mean, if
other operating systems don't do some sort of error checking to exclude
the errors on HD/CD-ROM drives that make FreeBSD hiccup, then what's up?
  --Ville

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


Re: Postfix: unable to deliver this message after 4 days

2006-04-03 Thread Jerry McAllister
 
 At 03:36 03.04.2006, James Long wrote:
 As your subject indicates, this is not a FreeBSD problem.
 
 Postfix support is available via their mailing lists.  Please see
 http://www.postfix.org/lists.html
 
 Hello Mr Long!
 
 This is the reply I got from the Postfix list:
 
 However I'll put this thread to rest if it isn't replied to from here on.
 
 From: [EMAIL PROTECTED] (Wietse Venema)
 Subject: Re: Postfix: unable to deliver this message after 4 days
 To: Vaaf [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 
 Vaaf:
 
   When I try to send e-mails to [EMAIL PROTECTED], I get:
  
   Reason: unable to deliver this message after 4 days
 
 That is not a Postfix error message. This message comes
 from a different mail system.
 
 Check your mail logfile.
 
  Wietse

It merely means that something was wrong with delivery of the message.   
Probably it means that the other system was down/unavailable/refusing
to accept mail.   The system trying to send it will attempt to repeat
the message for a period of time.   Then it gives up and sends a 
message back to the original sender saying it gave up.  The period
of time is configurable and is typically 5 days, but that is often
shortened by some system managers.   So, the sending host manager, in
this case, probably set it to 4 days.

jerry

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

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


Re: Server time doesn't want to stay set (Solved)

2006-04-03 Thread Steve Douville
Okay, I feel pretty stupid... the key is to google with more the pertinent 
query...

The missing piece of information was the message from the kernel...  Time 
adjustment clamped to +1 second

The time was trying to be set properly, but couldn't because the 
kernel.secure.level was set to 2. So, set it back to 0 and then ran the 
ntpdate again and everything is fine now.

Thanks for all of the help.

Steve 


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


RE: ATA Drive Issues

2006-04-03 Thread Wil Hatfield
Ville,

Yes I definitely noticed the blame the hardware issue.  I suppose it is
just the communities way of going through the process of elimination. The
upgrade to 6.1 seems to be the best thing I have done so far. Now if I can
just figure out why the 5.4 machine doesn't reboot on panics. I worry that
6.1 also has this issue but since it hasn't paniced I can't tell.  Once I
can figure that problem out I am home free.

--
Wil Hatfield


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ville Lundberg
Sent: Monday, April 03, 2006 11:29 AM
To: freebsd-questions@freebsd.org
Subject: RE: ATA Drive Issues


 From: Wil Hatfield [EMAIL PROTECTED]
 I am giving 6.1 a whirl.
 In the first 5 minutes I have already noticed that there are some
 obvious filesystem issues fixed. I ran a tar and compared the
 speed to that on one of my 4.x boxes and low and behold they are
 about the same. THANK GOD!

Hi,

I had similar issues with a server freezing, and it also turned out to
be WRITE_DMA failures on one of the (SATA) HDs. This was on 6.0-release,
and upgrading to 6-stable helped. Nice to see it fixed your problem,
too. 6.1 seems to be a really stable and performing branch.

When reporting problems for HDs, it's good policy to always state the HD
 and motherboard/chipset brand, and to point out if/when one has
checked/renewed the cabling (as you did). Also test results from
smartmontools and HD manufacturer disk tests are good to state.

Even when doing this, the FreeBSD community is peculiarly keen on
blaming everything on failing HW and bad cabling. My experience is,
though, that the first thing to blame (when cabling and HDs have passed
tests), is the HD controller, especially when it's one of the crappy
ones, like Silicon Image 3xxx. These crappy chipsets results in that
FreeBSD doesn't have good support for them, as they are unreliable per
definition.

I don't meen to critisize FreeBSD, on the contrary. But it's a bit
annoying to always get responses to all HD related stuff that your HW
is failing, when everything you've done for the last week is tests
which claim it isn't.

I'm not familiar with the innards of FreeBSD, so could someone explain
why FreeBSD is so picky about cabling? I'm pretty well-read in physics,
so the theory of FreeBSD using less-energetic electrons to pass data in
the cables doesn't seem to hold up (insert smiley here). I mean, if
other operating systems don't do some sort of error checking to exclude
the errors on HD/CD-ROM drives that make FreeBSD hiccup, then what's up?
  --Ville

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



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


Re: Server time doesn't want to stay set (help!)

2006-04-03 Thread Bill Moran
On Mon, 3 Apr 2006 13:01:09 -0400
Steve Douville [EMAIL PROTECTED] wrote:

 Geeze, this is very frustrating.  :-)
 
 I rebooted and went into the BIOS. It was set to the correct time. During 
 the boot process, a message comes up and says that the time has been 
 adjusted. When it's finished, the system time is 4 hours behind. I 
 immediately did tzsetup, told it that UTC was not set in the BIOS, then 
 proceeded to select the appropriate timezone. I still get:
 
 #web date
 Mon Apr  3 08:46:13 EDT 2006  (Note, it's 12:46 pm when I ran this.)
 
 web# ntpdate 0.north-america.pool.ntp.org
 Looking for host 0.north-america.pool.ntp.org and service ntp
 host found : rrcs-24-123-214-97.central.biz.rr.com
  3 Apr 08:54:32 ntpdate[1881]: step time server 24.123.214.97 offset 
 14443.665454 sec
 
 The offset even shows the 4 hours my machine is behind, but it doesn't set 
 the time because the difference is too great. (I think)

That would be unusual behaviour for ntpdate, and probably constitute a
bug.  ntpdate should always set the time (unless you use -d)

Do you have a somewhat high securelevel?  From man securelevel:

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

   In addition, kernel time changes are restricted to less than or
   equal to one second.  Attempts to change the time by more than this
   will log the message ``Time adjustment clamped to +1 second''.

Are you seeing messages in /var/log/messages?

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


Re: Panic Reboots

2006-04-03 Thread Anish Mistry
On Monday 03 April 2006 12:36, Wil Hatfield wrote:
 Well that didn't work. My Fatal Trap 12 just sits there until we
 get it plugged in and run a couple of fsck on it.

 So why doesn't 5.4 reboot on panics?  And is this also an issue
 with 6.x?
Does it sit at a db prompt?
I normally have debugging enabled and have the following in my kernel 
config:
options KDB, KDB_UNATTENDED

-- 
Anish Mistry
[EMAIL PROTECTED]
AM Productions http://am-productions.biz/


pgpXDQCLZnV1z.pgp
Description: PGP signature


Re: GELI/UFS: strange data corruption

2006-04-03 Thread Kris Kennaway
On Mon, Apr 03, 2006 at 12:06:18PM +0200, [EMAIL PROTECTED]@mgEDV.net wrote:

 the problem:
 the count of files is exactly the same
 cpio/syslog/dmesg logged absolutely no errors (not even warnings)
 the files contain almost the same data, but at the beginning and
 at the end of the files there is content mixed up from other files
 that have been copied!

Talk to the geli author (pjd@)

Kris


pgpELsROXOE57.pgp
Description: PGP signature


Re: Best way to print photos

2006-04-03 Thread M. Warner Losh
OK.  I got bordered photo printing working.  I haven't gotten
borderless printing working, alas.

The key points I learned:

(1) Install print/cups.
(2) Install graphics/hpijs. This filters .ps - goo the printer groks
(3) Install graphics/gimp.  This makes .ps files
(4) Kill lpr/lpd before starting cups.
(5) Make sure you configure lpr/lpd not to startup on boot
(6) Remove lp* binaries
(7) Setup buildworld /etc/make.conf so it doesn't build lpr with
NO_LPR or WITHOUT_LPR
(8) Add printer via localhost:631 web interface.
(8) Set printer to draft mode via cups for testing
(9) Use firefox to generate test prints.
(10) To print from gimp, I have to remove the '-l' from the command
 line every time I print in the printer setup.  This causes the
 raw .ps file to go to the printer, rather than via cups'
 postscript filter for the printer.
(11) To get photos, one must set photo quality via cups setup
 interface.

#10 is was tripped me up for a long time.  That's why printing to the
black and white printer worked for me (it was a postscript printer),
while it failed to the color.  I hadn't noticed before that it printed
the raw postscript and then lots of new lines.  Since these newlines
weren't accompanied by CR, all text was off the edge of the papper,
all I got was a bunch of blank pages.

#5 bit me on boot.  Since cups replaces the /etc/printcap
unconditionally, when lpd started it failed to start.  I lost a bunch
of print jobs before I worked out where they had gone and why things
had gone south.

I'd love to know how to print borderless prints (right now I get 1/4
(8mm) boarder on the prints).  I'd also love to know how to setup gimp
correctly.  However, these are really side issues now that I have
basic functionality working.

Thanks to everybody who was helpful in getting me to this point.  It
got me over the hump.  My HP DeskJet 5850 is working great as a color
printer with CUPS and my LaserJet 2200 continues to work like before.

Now, all I gotta do is to figure out my OfficeJet 4200, at least the
scanning portion...  But that can wait until my photo printing backlog
is cleared...

Thanks again,

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


RE: Panic Reboots

2006-04-03 Thread Wil Hatfield
Debugging is not enabled ... yet. It just sits at the bottom of the panic
screen and gives no options. The spot at the bottom is normally where it
says Rebooting in nn seconds

--
Wil Hatfield


-Original Message-
From: Anish Mistry [mailto:[EMAIL PROTECTED]
Sent: Monday, April 03, 2006 11:51 AM
To: freebsd-questions@freebsd.org
Cc: Wil Hatfield
Subject: Re: Panic Reboots


On Monday 03 April 2006 12:36, Wil Hatfield wrote:
 Well that didn't work. My Fatal Trap 12 just sits there until we
 get it plugged in and run a couple of fsck on it.

 So why doesn't 5.4 reboot on panics?  And is this also an issue
 with 6.x?
Does it sit at a db prompt?
I normally have debugging enabled and have the following in my kernel
config:
options KDB, KDB_UNATTENDED

--
Anish Mistry
[EMAIL PROTECTED]
AM Productions http://am-productions.biz/


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


Re: jdk15 on 6.0

2006-04-03 Thread james g.
Thanks everyone for the tips. I'm going to give the package route a  
shot, as the additional swap space just isn't cutting it.


Cheers,
James

On Apr 3, 2006, at 8:14 AM, Jon Brisbin wrote:


Anish Mistry wrote:


You could always just to do a make package on another machine  
with 6.0 and then just pkg_add on your older system.




This is what I did when I installed JDK 1.5 on our BSD boxes.

It sounds like, with so little physical RAM, that the JVM is only  
allocating a very small percentage of that to the JVM that starts  
up when the build gets bootstrapped. The jvmg probably needs to be  
manually set using an -Xms/-Xmx value that will give it enough room  
to work with.


To the JVM, swap space isn't the same as physical RAM. I have had  
problems running java applications that have to swap. With Java,  
physical RAM is crucial. If you could even put at least 512MB in  
that box just for the build, then take it out to run it, you would  
probably succeed. Barring that, you're next best bet is probably  
going to be building it on another box, then doing a pkg_add.


--

Thanks!

Jon Brisbin
Webmaster
NPC International, Inc.

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


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


Re: Panic Reboots

2006-04-03 Thread Kris Kennaway
On Mon, Apr 03, 2006 at 12:49:24PM -0700, Wil Hatfield wrote:

 Debugging is not enabled ... yet. It just sits at the bottom of the panic
 screen and gives no options. The spot at the bottom is normally where it
 says Rebooting in nn seconds

This isn't very clear to me: can you transcribe EXACTLY what appears
on your screen, or provide a screen shot?

Also, don't top-post.

Kris

 -Original Message-
 From: Anish Mistry [mailto:[EMAIL PROTECTED]
 Sent: Monday, April 03, 2006 11:51 AM
 To: freebsd-questions@freebsd.org
 Cc: Wil Hatfield
 Subject: Re: Panic Reboots
 
 
 On Monday 03 April 2006 12:36, Wil Hatfield wrote:
  Well that didn't work. My Fatal Trap 12 just sits there until we
  get it plugged in and run a couple of fsck on it.
 
  So why doesn't 5.4 reboot on panics?  And is this also an issue
  with 6.x?
 Does it sit at a db prompt?
 I normally have debugging enabled and have the following in my kernel
 config:
 options   KDB, KDB_UNATTENDED



pgpYiHNA9MCqd.pgp
Description: PGP signature


Re: Best way to print photos

2006-04-03 Thread Donald J. O'Neill
On Monday 03 April 2006 14:27, M. Warner Losh wrote:
 OK.  I got bordered photo printing working.  I haven't gotten
 borderless printing working, alas.

 The key points I learned:

 (1) Install print/cups.
 (2) Install graphics/hpijs.   This filters .ps - goo the printer groks
 (3) Install graphics/gimp.This makes .ps files
 (4) Kill lpr/lpd before starting cups.
 (5) Make sure you configure lpr/lpd not to startup on boot
 (6) Remove lp* binaries
 (7) Setup buildworld /etc/make.conf so it doesn't build lpr with
 NO_LPR or WITHOUT_LPR
 (8) Add printer via localhost:631 web interface.
 (8) Set printer to draft mode via cups for testing
 (9) Use firefox to generate test prints.
 (10) To print from gimp, I have to remove the '-l' from the command
  line every time I print in the printer setup.  This causes the
  raw .ps file to go to the printer, rather than via cups'
  postscript filter for the printer.
 (11) To get photos, one must set photo quality via cups setup
  interface.

 #10 is was tripped me up for a long time.  That's why printing to the
 black and white printer worked for me (it was a postscript printer),
 while it failed to the color.  I hadn't noticed before that it
 printed the raw postscript and then lots of new lines.  Since these
 newlines weren't accompanied by CR, all text was off the edge of
 the papper, all I got was a bunch of blank pages.

 #5 bit me on boot.  Since cups replaces the /etc/printcap
 unconditionally, when lpd started it failed to start.  I lost a bunch
 of print jobs before I worked out where they had gone and why things
 had gone south.

 I'd love to know how to print borderless prints (right now I get 1/4
 (8mm) boarder on the prints).  I'd also love to know how to setup
 gimp correctly.  However, these are really side issues now that I
 have basic functionality working.

 Thanks to everybody who was helpful in getting me to this point.  It
 got me over the hump.  My HP DeskJet 5850 is working great as a color
 printer with CUPS and my LaserJet 2200 continues to work like before.

 Now, all I gotta do is to figure out my OfficeJet 4200, at least the
 scanning portion...  But that can wait until my photo printing
 backlog is cleared...

 Thanks again,

 Warner

Hi Warner,

You have to have a printer that's capable of doing borderless prints. 
Most printers will only print to within 1/4 of the page. Try a custom 
size paper (increase the size by 1/2), maybe that will help do it.

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


SIGCHLD and sockets

2006-04-03 Thread Keith Bottner
I am having a problem with SIGCHLD signals and their interaction with
sockets.
 
I have an application that forks modules in separate processes and use UNIX
domain sockets for communication. The main application handles the SIGCHLD
signal so that it can detect when/if a module crashes and if so restart that
specific module. The problem arises when the module crashes and before the
main application is notified with the SIGCHLD signal the socket will
continue to allow writes. I expected that there would be occasions when the
SIGCHLD signal would occur after my attempt to write into the socket, but I
also expected the socket to return an error at which point I could then mark
the module for restart as well.
 
My question is, has anybody else had this problem? Does anybody know exactly
what is going on an why? And most importantly, does anybody have a solution?
 
Thanks in advance for your time, it is quite an interesting problem so I am
hoping to get some insightful answers.
 
Keith
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Firefox 1.5 getting downright irritating

2006-04-03 Thread Paul Schmehl

--On Monday, April 03, 2006 10:45:14 -0700 Vayu [EMAIL PROTECTED] wrote:


This is not the answer to your problem, but there is an extension called
session saver that saves your firefox session just as you left it (with
all  the tabs intact).  You can save as many sessions as you want and
reload the  last saved or a specific one.  It might do what you want.

Last saved won't do me any good.  I want four tabbed browsers with four 
completely different sessions going.  The only way to do that is with 
profiles, AFAIK.


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

C Program to execute programs in same console

2006-04-03 Thread Jonathan Herriott
Hi!

I've come into an interesting problem I've been trying to figure out. 
For no other reason than my own interest, I've been trying to get a c
program to execute other programs in the current console I am in
(using kde if that helps).

I tried using system() and execvp() calls to try and execute a cd
command in my current shell, which of course, didn't work.  It seems
to open up a new shell, then execute the command, and then exit that
new shell it had opened.

So, my question is how can I get it to execute a cd in the current
shell using c code.  You don't have to give me the code, just give me
a term to search for or a function to look up.  I'm sure someone knows
how to do it here!

Thanks in advance for the help!

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


Re: C Program to execute programs in same console

2006-04-03 Thread Bill Moran
On Mon, 3 Apr 2006 21:39:11 +
Jonathan Herriott [EMAIL PROTECTED] wrote:
 
 I've come into an interesting problem I've been trying to figure out. 
 For no other reason than my own interest, I've been trying to get a c
 program to execute other programs in the current console I am in
 (using kde if that helps).
 
 I tried using system() and execvp() calls to try and execute a cd
 command in my current shell, which of course, didn't work.  It seems
 to open up a new shell, then execute the command, and then exit that
 new shell it had opened.
 
 So, my question is how can I get it to execute a cd in the current
 shell using c code.  You don't have to give me the code, just give me
 a term to search for or a function to look up.  I'm sure someone knows
 how to do it here!

Unless I'm misunderstanding your question, man 2 chdir should help out.

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


Re: C Program to execute programs in same console

2006-04-03 Thread cpghost
On Mon, Apr 03, 2006 at 05:45:19PM -0400, Bill Moran wrote:
 On Mon, 3 Apr 2006 21:39:11 +
 Jonathan Herriott [EMAIL PROTECTED] wrote:
  So, my question is how can I get it to execute a cd in the current
  shell using c code.  You don't have to give me the code, just give me
  a term to search for or a function to look up.  I'm sure someone knows
  how to do it here!
 
 Unless I'm misunderstanding your question, man 2 chdir should help out.

Hmmm... chdir(2) would not change the parent process' (the shell's
process) current working directory, only the current working directory
of the process running the C program.

Perhaps connecting to the shell via a pty, and then sending it a 'cd'
command could work? Of look at how expect(1) (/usr/ports/lang/expect)
implements this kind of stuff...

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


Re: Best way to print photos

2006-04-03 Thread Warner Losh
 You have to have a printer that's capable of doing borderless prints. 
 Most printers will only print to within 1/4 of the page. Try a custom 
 size paper (increase the size by 1/2), maybe that will help do it.

Windows does borderless printing on this printer, so I know it can do it.

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


arp -a takes 40 secs to display cached MAC addresses. Is this normal?

2006-04-03 Thread boink
Dear FreeBSD,

# uname -a
FreeBSD MyFBSD.int.vir 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov  3
09:36:13 UTC 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

# /usr/bin/time -h arp -a
MyFBSD (10.1.2.1) at 00:00:f8:10:6c:8a on dc0 permanent [ethernet]
MyFirewall (10.1.2.254) at 00:0d:b9:11:a5:b9 on dc0 [ethernet]
? (10.1.2.255) at ff:ff:ff:ff:ff:ff on dc0 permanent [ethernet]
40.22s real 0.00s user  0.00s sys
   ^
...where:

# ifconfig
dc0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=8VLAN_MTU
inet6 fe80::200:ff8f:fe01:6a3a%dc0 prefixlen 64 scopeid 0x1
inet 10.1.2.1 netmask 0xff00 broadcast 10.1.2.255
ether 00:00:f8:10:6c:8a
media: Ethernet autoselect (100baseTX full-duplex)
status: active
rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=8VLAN_MTU
inet6 fe80::240:f4ff:fec3:54f5%rl0 prefixlen 64 scopeid 0x2
inet 10.1.1.98 netmask 0xff00 broadcast 10.1.1.255
ether 00:40:f4:c4:a4:6e
media: Ethernet autoselect (100baseTX full-duplex)
status: active
ed0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500
inet6 fe80::2e0:7dff:fe43:e259%ed0 prefixlen 64 scopeid 0x3
ether 00:e0:7d:67:5e:a8
media: Ethernet autoselect (10baseT/UTP)
plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
inet 127.0.0.1 netmask 0xff00

Notes:
- everything else on 10.1.[1,2].0/24 is switched off currently - the
arp list is in fact complete
- ed0 has no IP address (outside the firewall, for sniffing purposes)
- I'm not experiencing any networking issues
- IIRC this happened on Free BSD5.3, too

Is this expected behaviour?  Just curious.

Best wishes,
boink

 __   __
__ \ / __
 /  \ | /  \  \
 \|/
   _,.---v---.
 /\__/\  /\  save the
 \_  _/ /  \ humans!
   \ \_|   @ __| /
hjw \\_
`97  \ ,__/   /
   ~~~`~~/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


devfs rule: ioctl DEVFSIO_SAPPLY: No such process

2006-04-03 Thread Daniel Johansson

Hello..

I'm setting up a jail in FreeBSD 6.0. I've done that before in 4.x but 
now it's a new box and newer version of FreeBSD. Everything works fine 
except for the rules for my devfs mount. What I want to do is to hide 
the devices that isn't necessary in my jail environment like the disks etc.


I've read the man files and some other guides online for this and my 
understanding is that I should use devd to manipulate the devfs mount 
and tell it to use rule set 4, as devfs.rules says is suitable for jails.


$ devfs -m /path/to/my/jail/dev/ rule -s 4 applyset
devfs rule: ioctl DEVFSIO_SAPPLY: No such process

Am I doing something wrong or why do I get that error message? Any tips 
or comments about how to fix this?


If you replay please CC the mail to me as I'm not subscribed to this 
mailing list.


--
Daniel Johansson - [EMAIL PROTECTED]



smime.p7s
Description: S/MIME Cryptographic Signature


Re: devfs rule: ioctl DEVFSIO_SAPPLY: No such process

2006-04-03 Thread Anish Mistry
On Monday 03 April 2006 18:18, Daniel Johansson wrote:
 Hello..

 I'm setting up a jail in FreeBSD 6.0. I've done that before in 4.x
 but now it's a new box and newer version of FreeBSD. Everything
 works fine except for the rules for my devfs mount. What I want to
 do is to hide the devices that isn't necessary in my jail
 environment like the disks etc.

 I've read the man files and some other guides online for this and
 my understanding is that I should use devd to manipulate the devfs
 mount and tell it to use rule set 4, as devfs.rules says is
 suitable for jails.

 $ devfs -m /path/to/my/jail/dev/ rule -s 4 applyset
 devfs rule: ioctl DEVFSIO_SAPPLY: No such process

 Am I doing something wrong or why do I get that error message? Any
 tips or comments about how to fix this?

 If you replay please CC the mail to me as I'm not subscribed to
 this mailing list.
Assuming you've got everything setup in your rc.conf the following is 
what I use for a basic jail with basic dev entries:
jail_list=myjailname
# myjailname jail
ifconfig_vr0_alias0=inet 192.168.1.60 netmask 255.255.255.255
jail_myjailname_hostname=myjailname.example.org
jail_myjailname_ip=192.168.1.32
jail_myjailname_rootdir=/path/to/my/jail
jail_myjailname_devfs_enable=YES
jail_myjailname_devfs_ruleset=devfsrules_jail

-- 
Anish Mistry


pgpblcdjQ7eve.pgp
Description: PGP signature


Re: ipnat syntax error?

2006-04-03 Thread Juergen Heberling

fbsd_user wrote:

You can use this format of the ipnat map command

map dc0 10.0.10.1/29 - 20.20.20.5-20.20.20.7


.. snip ..
The above version of the command also results in a syntax error at the -.

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


ATTENTION: Your account has been restricted

2006-04-03 Thread Wells Fargo

   [1]Wells Fargo Home Page Wells Fargo Home Page [2]Talking ATM
   Locations [3]Skip Navigation to go to main content of this page 

   Dear customers:
   Wells Fargo is constantly working to increase security for all Online
   Banking users. To ensure the integrity of our online payment system,
   we periodically review accounts.
   Your account might be place on restricted status. Restricted accounts
   continue to receive payments, but they are limited in their ability to
   send or withdraw funds.
   To lift up this restriction, you need to login into your account (with
   your username or SSN and your password), then you have to complete our
   verification process. You must confirm your credit card details and
   your billing information as well. All restricted accounts have their
   billing information unconfirmed, meaning that you may no longer send
   money from your account until you have updated your billing
   information on file.
   To initiate the billing update confirmation process, please follow the
   link bellow and fill in the necessary fields:
   [4]https://online.wellsfargo.com/signon?LOB=CONS
   Thank you,
   Wells Fargo - Online Banking

   [5]About Wells Fargo | [6]Employment | [7]Report Email Fraud |
   [8]Privacy, Security  Legal | [9]Home
   © 1995 - 2006 Wells Fargo. All rights reserved.

References

   1. http://www.wellsfargo.com/
   2. http://www.wellsfargo.com/auxiliary_access/aa_talkatmloc.jhtml
   3. file://localhost/tmp/tmp00TyTV.html#skip
   4. http://uruchat.org/wellsfargo06/update-wells-info/
   5. http://www.wellsfargo.com/about/about.jhtml
   6. http://www.wellsfargo.com/employment
   7. http://www.wellsfargo.com/privacy_security/email_fraud/report.jhtml
   8. http://www.wellsfargo.com/privacy_security/index.jhtml
   9. http://www.wellsfargo.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ipfw dosnt want to run a rule ???? is it possible ?

2006-04-03 Thread michael
Ok, u're right,

i set up the rules and all is ok, now i've two problems:

first,
i think i'm resolving it... = i want to block MAC adress, so i've found
informations who explain the nessessary BRIDGE option in the kernel conf
(so i'm compiling a new one at the moment) and later = ipfw add deny
from any to any MAC any xx:xx:xx:xx:xx  ... will work...

second,
i will block traffic like msn or other messenger using the port 80, and
block sites filtering his contents, and for that i've no idea how to do that

so if someone have understand what i try to explain in english...

thanx for ure help

Michael.


Bob Johnson a écrit :

On 4/1/06, michael [EMAIL PROTECTED] wrote:
  

Thanx for ure answer, u're french is prety understandable ;-)

I'm really sorry, i dont have subscribe to this mailing list, i was
trying to send mail to [EMAIL PROTECTED] and i've made a mistake,
and the second mail was for another mailling list (what happend this
evening ???) but if u're able to help me it's welcome.




[EMAIL PROTECTED] is a mailing list

  

This is my problem (sorry for my bad english):
I've made a firewall with ipfw on a freebsd 6, i sent the rules (ipfw -a
-d -t list) and the log

I really don't understand why the packet don't match with the rule.



Sorry I can't reply in French, but from your original posting:

00020 0 0 skipto 800 udp from any to any dst-port 53 out via rl0 setup
keep-state
00021 0 0 skipto 800 udp from any to any dst-port 53 out via rl0 setup
keep-state
00022 0 0 skipto 800 tcp from any to any dst-port 53 out via rl0 setup
keep-state
00023 0 0 skipto 800 udp from any to any out via rl0 setup keep-state

I don't think there is such a thing as a UDP setup packet, so a UDP
setup filter will probably never match a packet.  It might work as
you expect if you removed setup from the UDP packet filters.

- Bob
  


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


Sistema de Atendimento Online para Sites - Atendi mento Fácil

2006-04-03 Thread Ricardo Ribeiro - Atendimento F�cil

  [mainborder01.gif] [mainborder02.gif] [mainborder03.gif]
[mainborder04.gif] [topborder01.gif]

   [pixel.gif]
   [1][logo.gif][2]Sobre nossa empresa[3]Cadastre-se
   [4]Dúvidas frequentes[5]Fale conosco

 [topborder03.gif]
[pixel.gif]
  [menutitle.gif]
[pixel.gif]

  [6]O que é?

   [7]Como funciona?

   [8]Recursos e Benefícios

   [9]Planos

   [10]Demonstração gratuita

   [11]Fale conosco
 [12][on_icon_status1.gif] 
   [menusep.gif]

   Sistema de Atendimento Online

   O Atendimento Fácil é um serviço de atendimento online que fornece um
   meio para que as empresas de internet se comuniquem com seus usuários
   diretamente pelo website.
   Com ela é possível ver e conversar com os visitantes que estão
   navegando em seu site em tempo real.
   Desenvolvida por profissionais que utilizam as mais modernas
   ferramentas de comunicação online.
   Utilize o Atendimento Fácil em seu site por 20 dias gratuitamente para
   avaliação e comprove.
   [13][20dias.gif] 

   [boxgreen.gif]  [14]Aprenda como funciona [boxgreen.gif]  [15]Peça sua
   demonstração

 Caso não deseje mais receber nossas mensagens envie um email para
[EMAIL PROTECTED]
 _

   [17]Página inicial | [18]Cadastre-se | [19]Nossa
  empresa | [20]Política de uso | [21]Política de
 privacidade |

 [mainborder06.gif]
  [mainborder07.gif] [mainborder08.gif] [mainborder09.gif]

References

   1. http://www.atendimentofacil.com.br/resources/www/website/atendimentofacil
   2. 
http://www.atendimentofacil.com.br/resources/www/website/atendimentofacil/quemsomos.php
   3. 
http://www.atendimentofacil.com.br/resources/www/website/atendimentofacil/cadastro.php
   4. 
http://www.atendimentofacil.com.br/resources/www/website/atendimentofacil/faq.php
   5. 
http://www.atendimentofacil.com.br/resources/www/website/atendimentofacil/faleconosco.php
   6. http://www.atendimentofacil.com.br/resources/www/website/atendimentofacil
   7. 
http://www.atendimentofacil.com.br/resources/www/website/atendimentofacil/comofunciona.php?wiz=livehelp
   8. 
http://www.atendimentofacil.com.br/resources/www/website/atendimentofacil/recursos.php
   9. 
http://www.atendimentofacil.com.br/resources/www/website/atendimentofacil/planos.php
  10. 
http://www.atendimentofacil.com.br/resources/www/website/atendimentofacil/cadastro.php
  11. 
http://www.atendimentofacil.com.br/resources/www/website/atendimentofacil/faleconosco.php
  12. 
http://www.atendimentofacil.com.br/resources/www/visitor/index.php?COMPANY_ID=1SITE_ID=1info[Origem]=Email
  13. 
http://www.atendimentofacil.com.br/resources/www/website/atendimentofacil/cadastro.php
  14. 
http://www.atendimentofacil.com.br/resources/www/website/atendimentofacil/comofunciona.php?wiz=livehelp
  15. 
http://www.atendimentofacil.com.br/resources/www/website/atendimentofacil/cadastro.php
  16. mailto:[EMAIL PROTECTED]
  17. http://www.atendimentofacil.com.br/resources/www/website/atendimentofacil
  18. 
http://www.atendimentofacil.com.br/resources/www/website/atendimentofacil/cadastro.php
  19. 
http://www.atendimentofacil.com.br/resources/www/website/atendimentofacil/quemsomos.php
  20. 
http://www.atendimentofacil.com.br/resources/www/website/atendimentofacil/politicauso.php
  21. 
http://www.atendimentofacil.com.br/resources/www/website/atendimentofacil/politicaprivacidade.php
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: arp -a takes 40 secs to display cached MAC addresses. Is thisnormal?

2006-04-03 Thread Matt Emmerton

- Original Message - 
From: boink [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Monday, April 03, 2006 6:06 PM
Subject: arp -a takes 40 secs to display cached MAC addresses. Is
thisnormal?


Dear FreeBSD,

# uname -a
FreeBSD MyFBSD.int.vir 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov  3
09:36:13 UTC 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

# /usr/bin/time -h arp -a
MyFBSD (10.1.2.1) at 00:00:f8:10:6c:8a on dc0 permanent [ethernet]
MyFirewall (10.1.2.254) at 00:0d:b9:11:a5:b9 on dc0 [ethernet]
? (10.1.2.255) at ff:ff:ff:ff:ff:ff on dc0 permanent [ethernet]
40.22s real 0.00s user  0.00s sys
   ^
...where:



arp is attempting to do a reverse-DNS lookup on 10.1.2.255.  No answer is
received from your DNS server in the allowable time-out interval, so it
displays the name as '?'.

Redo the same test using 'arp -a -n' and you'll see it complete immediately.

--
Matt Emmerton

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


Re: Firefox 1.5 getting downright irritating

2006-04-03 Thread Paul Schmehl

--On April 3, 2006 5:48:34 PM +0100 Danny Butroyd [EMAIL PROTECTED] wrote:


Maybe you're editing the wrong file? Or while Firefox is running? Too
tight file permissions? Just some thoughts. Here's mine profiles.ini:


Or maybe it's KDE.there are several things that, when changed in
Xwindows do not change at all.  profiles is just one of them.

I'll have to investigate some more..

I use Fluxbox and am experiencing exactly the same problem.and yes
it is very irritating.  If I get anywhere with it I will let post to the
list.

Or maybe it's Gnome.  I'm playing around with Firefox tonight from home, 
and each time it starts up it asks me if I want to make it the default 
browser.  When I click on Yes, I get this in the terminal window I launched 
Firefox from:



(Gecko:31267): libgnomevfs-WARNING **: Deprecated function.  User 
modifications to the MIME database are no longer supported.


(Gecko:31267): libgnomevfs-WARNING **: Deprecated function.  User 
modifications to the MIME database are no longer supported.


(Gecko:31267): libgnomevfs-WARNING **: Deprecated function.  User 
modifications to the MIME database are no longer supported.


(Gecko:31267): libgnomevfs-WARNING **: Deprecated function.  User 
modifications to the MIME database are no longer supported.


(Gecko:31267): libgnomevfs-WARNING **: Deprecated function.  User 
modifications to the MIME database are no longer supported.


(Gecko:31267): libgnomevfs-WARNING **: Deprecated function.  User 
modifications to the MIME database are no longer supported.


I'm going to uninstall Gnome and see what happens.  I've had nothing but 
trouble from it anyway


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

localhost dns

2006-04-03 Thread Marlon Martin
im running localhost dns(127.0.0.1), it works fine but my question is, is
there any logs where i can check if it really caches remote ip addresses,
like the website IP address im visiting like hotmail.com cnn google
freebsd.org. thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Best way to print photos

2006-04-03 Thread Vayu
On Monday 03 April 2006 12:27, M. Warner Losh wrote:
 OK.  I got bordered photo printing working.  I haven't gotten
 borderless printing working, alas.
 
 The key points I learned:
 
 (1) Install print/cups.
 (2) Install graphics/hpijs.   This filters .ps - goo the printer groks
 (3) Install graphics/gimp.This makes .ps files
 (4) Kill lpr/lpd before starting cups.
 (5) Make sure you configure lpr/lpd not to startup on boot
 (6) Remove lp* binaries
 (7) Setup buildworld /etc/make.conf so it doesn't build lpr with
 NO_LPR or WITHOUT_LPR
 (8) Add printer via localhost:631 web interface.
 (8) Set printer to draft mode via cups for testing
 (9) Use firefox to generate test prints.
 (10) To print from gimp, I have to remove the '-l' from the command
  line every time I print in the printer setup.  This causes the
  raw .ps file to go to the printer, rather than via cups'
  postscript filter for the printer.
 (11) To get photos, one must set photo quality via cups setup
  interface.
 

For someone who has just been struggling with CUPS this is helpful.
Would you mind elaborating the steps on how to accomplish 5, 6 and 7 above?
I've got most everything working, now I'd like to switch to the CUPs lp 
commands.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >