Re: Disable cdrom open/close buttons

2007-12-24 Thread B H

OpenBlanchy skrev:

My wife's dog keeps bumping into my file server and ejecting either one of
the two cdrom trays. My concern is she will snap the trays off or steal/eat
a cd inside the tray. My initial fix of getting rid of the dog was rejected
so I'm coming here for a software solution.

Basically, I was wondering if there's a setting, script, or even a program
that will make it so the drive will only eject if I tell it to and the
physical buttons are of no use.


Mount the cd.


I run FreeBSD 6.2 without a gui. Thanks.


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


Re: Customized FreeBSD CD (was: Can I install Free BSD latest version on my laptop with dual boot?)

2007-12-24 Thread manikandan . x . balachandran
Thank you

Manikandan Balachandran
JPMC IB TO - Jupiter STS
Tel: +44 1202-325271
Cell: +44 7891649680 
Email: [EMAIL PROTECTED]
---
JPMorgan Chase, 18 Christchurch Road
Floor 1, Bournemouth, BH1 3BA , UK





Manolis Kiagias [EMAIL PROTECTED]
21/12/2007 02:35 PM
 
To: [EMAIL PROTECTED]
cc: freebsd-questions@freebsd.org
Subject:Re: Customized FreeBSD CD (was: Can I install Free 
BSD latest version on my laptop withdual boot?)


[EMAIL PROTECTED] wrote:

 Hi,

 Thanks for your immediate response

 Yes, I spend two days and found out there are lot of tips in your
 documentation thanks?

 After compiling the Free BSD Kernel and making some changes on my
 system then how do I make the installable CD/DVD from my source (My
 Free BSD) to distribute to others?

 One more question: Can I use ZFS on Free BSD?

 Cheers,
 B.Manikandan
 Bournemouth, UK
 

Please do not top post.

There are couple of ways to create a custom FreeBSD CD and you will find
them by simply googling. I have not tried any, but this one looks 
promising:

http://livecd.sourceforge.net/documentos.php

It is available in the ports collection too: /usr/ports/sysutils/livecd

ZFS will be available on FreeBSD 7.



-
This communication is for informational purposes only. It is not
intended as an offer or solicitation for the purchase or sale of
any financial instrument or as an official confirmation of any
transaction. All market prices, data and other information are not
warranted as to completeness or accuracy and are subject to change
without notice. Any comments or statements made herein do not
necessarily reflect those of JPMorgan Chase  Co., its subsidiaries
and affiliates.

This transmission may contain information that is privileged,
confidential, legally privileged, and/or exempt from disclosure
under applicable law. If you are not the intended recipient, you
are hereby notified that any disclosure, copying, distribution, or
use of the information contained herein (including any reliance
thereon) is STRICTLY PROHIBITED. Although this transmission and any
attachments are believed to be free of any virus or other defect
that might affect any computer system into which it is received and
opened, it is the responsibility of the recipient to ensure that it
is virus free and no responsibility is accepted by JPMorgan Chase 
Co., its subsidiaries and affiliates, as applicable, for any loss
or damage arising in any way from its use. If you received this
transmission in error, please immediately contact the sender and
destroy the material in its entirety, whether in electronic or hard
copy format. Thank you.

Please refer to http://www.jpmorgan.com/pages/disclosures for
disclosures relating to UK legal entities.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Philbert Mang, get your ticket to win today

2007-12-24 Thread Get Me A Ticket
If you are having problems viewing this electronic mail please try here : 
http://email.getmeaticket.co.uk/a/tBHb4yDAdT41pBLHJcoBpAZgMli/mailer

Please add [EMAIL PROTECTED] to your address book

http://email.getmeaticket.co.uk/a/tBHb4yDAdT41pBLHJcoBpAZgMli/[EMAIL 
PROTECTED]ADDRESS=j29q8Bd85 


Dear Philbert, 
Thank you for joining Get Me A Ticket. You are only one click away from 
entering many fantastic prize draw competitions absolutely free, all you have 
to do is click on the link above.


http://email.getmeaticket.co.uk/a/tBHb4yDAdT41pBLHJcoBpAZgMli/[EMAIL 
PROTECTED]ADDRESS=j29q8Bd85 

You have received this electronic mail because you are a registered user on the 
Get Me A Ticket website. If you would like to stop receiving this electronic 
mail directly from us please send an email to unsubscribe : 
mailto:[EMAIL PROTECTED] 
Getmeaticket practices permission based marketing.
Get Me A Ticket is a part of Lifestyles Online Limited
Lifestyles Online Limited. Registered Office: Gold Building, Bath and West 
Buildings, Lower Bristol Road, Bath, BA2 3EG. Registered Number: 5373447 
(England and Wales).

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


Re: portaudit in periodic [SOLVED]

2007-12-24 Thread Andrea Venturoli

Cristian KLEIN ha scritto:


But have you tried running these commands from the shell? It is very important
to check the scripts with the above SHELL  PATH environment. If the above works
from the shell, I'm pretty much out of ideas too.


Yes, and it did work.

In the end I realized the problem was that I have to use a proxy: from 
the shell portaudit picked up HTTP_PROXY and FTP_PROXY from the 
environment, while it didn't when launched from cron.


Obiously setting up portaudit.conf was the solution.

 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]


Upgrading firefox 1.5 to 2.0

2007-12-24 Thread Robe
Hi,

I'm using FreeBSD v6.2. It comes with FireFox 1.5 and I want to upgrade it
to version 2.0.

I've updated my ports collection with pkg_version -v. But I don't see the
FireFox 2.0 in my ports. However I see a port for FireFox 2 in the ports
collection in the web site of FreeBSD. Isn't supposed that it must appear in
my ports collection once I've updated it?

Then I try with portupgrade –R firefox and I get the following message:

Stale dependency: firefox-1.5.0.8,1 -- perl-5.8.8_1 – manually run 'pkgdb
–F' to fix (-0 disallowed when –R is given).

Can someone help me?

Thanks,

-- 
Robe.

En el verdadero amor, el alma oculta al cuerpo.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mount ntfs-3g

2007-12-24 Thread Daniel Rucci

Hi,
   I'm trying to mount an ntfs-3g partition but get an error when using 
mount.


mount -t ntfs-3g /dev/ad6s1 /win
mount: /dev/ad6s1 : Operation not supported by device

if i use mount_ntfs-3g ... it works fine but that won't help me with 
respect to mounting during boot.


Is there anything special that needs to be done to get a non standard 
mount_* command to work via mount? I read somewhere to add a symlink to 
mount_ntfs-3g to /sbin/ but that did not seem to do anything.


Thanks,
   Dan


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


Re: Upgrading firefox 1.5 to 2.0

2007-12-24 Thread Alain G. Fabry
On Mon, Dec 24, 2007 at 09:00:04AM -0500, Robe wrote:
 Hi,
 
 I'm using FreeBSD v6.2. It comes with FireFox 1.5 and I want to upgrade it
 to version 2.0.
 
 I've updated my ports collection with pkg_version -v. But I don't see the
 FireFox 2.0 in my ports. However I see a port for FireFox 2 in the ports
 collection in the web site of FreeBSD. Isn't supposed that it must appear in
 my ports collection once I've updated it?
 
 Then I try with portupgrade ?R firefox and I get the following message:
 
 Stale dependency: firefox-1.5.0.8,1 -- perl-5.8.8_1 ? manually run 'pkgdb
 ?F' to fix (-0 disallowed when ?R is given).
 
 Can someone help me?
 

Look in man at following commands 

- update your ports
portsnap fetch update
- verify outdated installed ports
portversion -l 
- upgrade port
portupgrade -R port
- update your pkgdb with new dependancies
pkgdb -F

Hope this helps



 Thanks,
 
 -- 
 Robe.
 
 En el verdadero amor, el alma oculta al cuerpo.
 ___
 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]


remote x session

2007-12-24 Thread Jonathan Horne
i have been wanting to set up the ability to open an entirely new x session to 
another box, in a window of my currently running session.  xnest is one way 
of doing this, but i was wondering if there are any others (perhaps, a little 
easier to configure and get going) ?

cheers,
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
[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: FreeBSD 6.3 or 7.0 Release?

2007-12-24 Thread Jerry McAllister
On Sat, Dec 22, 2007 at 10:51:29PM -0430, Julian Bolivar wrote:

 Hi everyone,
 
 Mi question is because checking the FreeBSD 6.3 and 7.0  Release schedule, 
 I note that version 6.3 is upcoming and few days later 7.0 will be 
 releaced, anyone know if this schedule is updated or is in time? or only 
 one of both will be released?

Yhe are not scheduled dates but rather are estimates made based on
how it appears things are progressing.   You might call them 'best
guesses'.   FreeBSD does not make release schedules per se.

I am guessing from discussion that was posted a couple of weeks ago,
that the actual releases will be a couple of weeks or so past those
estimates, but it sounds like things are getting pretty close.

jerry

 
 Thanks and Regards,
 
 ---
  Julian Bolivar
 
 ___
 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: BIND9 won't start

2007-12-24 Thread Jerry McAllister
On Sun, Dec 23, 2007 at 11:45:58PM +0100, QADMOS wrote:

 Gelsema, P (Patrick) a écrit :
 On Sun, December 23, 2007 23:04, QADMOS wrote:
   
 Jonathan Horne a écrit :
 
 On Sunday 23 December 2007 02:52:43 pm QADMOS wrote:
 
   
 Hi everyone,
 
 i'm having a hard time with bind9.
 
 I'm trying to set up an authoritative dns server.
 
 Unfortunately when i try to launch it with an 'rndc start' i get this
 
 error message :
   rndc: connect failed: 127.0.0.1#953: connection refused
 
 I've reviewed my conf files but frankly i couldn't see what was wrong.
 I've actually rewritten them from scratch several times to really check
 that nothing was missing and couldn't see anything was wrong. The
 localhost.rev file is configured correctly. I've also tried to
 regenerate new rndc.keys and edit named.conf accordingly but to no
 avail.
 
 I've also considered a possible file permissions in /etc/namedb and in
 /var/run/named issue but that didn't yield much either.
 
 Finally the biggest trouble is that nothing is logged in any log file !
 nothing in /var/log/messages nothing in /var/log/all.log nothing
 anywhere so i'm really confused here about what direction to
 investigate.
 
 Has anyone ever encountered such an issue ?
 
 Thx in advance for any help.
 
 
 do you get same problem with:
 
 /etc/rc.d/named start
 
 ?
 
 
   
 Well i've also tried that actually and when i do that :
 1/ nothing is logged
 2/ nothing is launched either
 
 
 Do you have the following in rc.conf?
 
 hulk# cat /etc/rc.conf | grep named
 named_enable=YES
 
 To me it seems your problem lies in the fact that named is not starting,
 so rndc can not control anything.
 
 Rgds,
 
 Patrick
 
   
 there's just no error message despite that the named is not running
 (checked with ps waux | grep named )
 
 
 Well Patrick i followed your suggestion and rebooted (it didn't do much 
 after just editing rc.conf) the box and now /etc/rc.d/named start 
 works fine annd named is running, 'rndc' still has the same problem 
 though (???)
 
 I'm a bit befuddled though, because i don't understand why it's 
 necessary to use the named_enable directive to have named running ? I 
 understand this is necessary if you want the daemon to run at boot time 
 but why is this necessary if you want to run it manually once the box is 
 on ?

Well, if you use the rc script or any of the other scripts that might
be supplied with it to start it, then that script checks that variable - 
namely 'named_enable' and if it is not set, the script exits without
doing anything.

jerry

 
 In any case thx a lot for your help :)
 ___
 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: remote x session

2007-12-24 Thread Jeremy Gransden
On 12/24/07, Jonathan Horne [EMAIL PROTECTED] wrote:

 i have been wanting to set up the ability to open an entirely new x
 session to
 another box, in a window of my currently running session.  xnest is one
 way
 of doing this, but i was wondering if there are any others (perhaps, a
 little
 easier to configure and get going) ?

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


Can you forward X through ssh? Or is that not what you are looking for?


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


Re: remote x session

2007-12-24 Thread Jonathan Horne
On Monday 24 December 2007 01:11:12 pm Jeremy Gransden wrote:
 On 12/24/07, Jonathan Horne [EMAIL PROTECTED] wrote:
  i have been wanting to set up the ability to open an entirely new x
  session to
  another box, in a window of my currently running session.  xnest is one
  way
  of doing this, but i was wondering if there are any others (perhaps, a
  little
  easier to configure and get going) ?
 
  cheers,
  --
  Jonathan Horne
  http://dfwlpiki.dfwlp.org
  [EMAIL PROTECTED]
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  [EMAIL PROTECTED]

 Can you forward X through ssh? Or is that not what you are looking for?


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

i did finally get ssh to forwared X, but it only worked with 

ssh -Y [host]

im not sure yet why ssh -X doesnt work, but ive not yet finished reading about 
the ins and outs of what security settings im overriding with the -Y.

i was able to start xclock as a test.  but what i would really like to be able 
to accomplish, would be to get the entire 'startx' to work over an ssh 
session, and have it open as another window on my desktop.

cheers,
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
[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: how to compile and install a new driver

2007-12-24 Thread Steve Franks
On Nov 27, 2007 3:11 PM, Roland Smith [EMAIL PROTECTED] wrote:
 On Tue, Nov 27, 2007 at 01:48:28PM -0700, Steve Franks wrote:
  Hi,
 
  I found this thread
  http://lists.freebsd.org/pipermail/freebsd-stable/2006-August/027445.html
  to a driver I need for my system.
 
  (1) The file extension
  (http://www.dons.net.au/~darius/ucp-0.01.diff.gz) is .diff, not .c, so
  what exactly do I do with it to compile it?

 First, use gunzip to extract it. This will leave a file ucp-0.01.diff.
 Next, su to root and cd to /usr/src/sys.
 To apply the patch, do 'patch /location/of/ucp-0.01.diff'

 Note that the patch doesn't apply cleanly (/usr/src/sys/dev/usb/usbdevs)
 on 7.0-BETA2. If that's also the case on the version you're using,
 you'll have to look at /usr/src/sys/dev/usb/usbdevs.orig and
 /usr/src/sys/dev/usb/usbdevs.rej to fix it manually.

 Next, build and install a kernel according to the handbook. ('make
 kernel' in /usr/src)

  (2) Assuming I can get it to compile, which I've never done, what do I
  do with the object/driver file?

 The 'make kernel' command will install the module automagically.
 On the next boot, you should be able to load the ucp driver module with
 kldload(8).

  This driver is long overdue, the part has been in usb devices for
  several years, and support is in OpenBSD and Linux already (so I'm
  told by google).  I'll happily document the process if someone holds
  my hand.



 If it works, submit a PR.
It doesn't.  From the directory structure and filenames, ucp appears
to be nearly identical to ucom, and the src/sys/modules/ucp/Makefile
is identical to the one for ucom (except it points to ucp.c instead of
ucom.c, of course), but I still get:

cd /usr/src/sys/modules;
MAKEOBJDIRPREFIX=/usr/obj/usr/src/sys/GENERIC/modules
KMODDIR=/boot/kernel MODULES_OVERRIDE=ucp DEBUG_FLAGS=-g
MACHINE=amd64 KERNBUILDDIR=/usr/obj/usr/src/sys/GENERIC make  depend
/usr/src/share/mk/bsd.subdir.mk, line 84: warning: duplicate script
for target files ignored
/usr/src/share/mk/bsd.subdir.mk, line 84: warning: duplicate script
for target includes ignored
@ - /usr/src/sys
machine - /usr/src/sys/amd64/include
make: don't know how to make ucp.c. Stop
*** Error code 2

Stop in /usr/obj/usr/src/sys/GENERIC.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

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: remote x session

2007-12-24 Thread Frank Staals

Jonathan Horne wrote:

On Monday 24 December 2007 01:11:12 pm Jeremy Gransden wrote:
  

On 12/24/07, Jonathan Horne [EMAIL PROTECTED] wrote:


i have been wanting to set up the ability to open an entirely new x
session to
another box, in a window of my currently running session.  xnest is one
way
of doing this, but i was wondering if there are any others (perhaps, a
little
easier to configure and get going) ?

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

Can you forward X through ssh? Or is that not what you are looking for?


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



i did finally get ssh to forwared X, but it only worked with 


ssh -Y [host]

im not sure yet why ssh -X doesnt work, but ive not yet finished reading about 
the ins and outs of what security settings im overriding with the -Y.


i was able to start xclock as a test.  but what i would really like to be able 
to accomplish, would be to get the entire 'startx' to work over an ssh 
session, and have it open as another window on my desktop.


cheers,
  

Is vnc not an option then ?

--
-Frank Staals


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


4GB memory and more

2007-12-24 Thread Robert Fitzpatrick
I have a couple of Supermicro servers and upgraded both with more
memory. I upgraded our ESMTP server from 1GB to 4GB and our MX server
from 2GB to 5GB. Below are the dmesg memory findings and, yes, I get the
memory over 4GB ignored when booting up. The ESMTP even says that about
130MB is ignored. I was reading about building into the kernel PAE
options for using above 4GB of memory, but in the dmesg I see PAE in the
Features. Does this mean the support is there and I just need some BIOS
tweaking?

esmtp# dmesg
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.4-RELEASE #1: Tue Dec 13 16:00:53 EST 2005
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/WEBTENT
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2399.33-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf25  Stepping = 5
  
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Hyperthreading: 2 logical CPUs
real memory  = 4160225280 (3967 MB)
avail memory = 4073279488 (3884 MB)
snip

mx1# dmesg
Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-RELEASE-p5 #0: Sat Jun  2 11:11:40 EDT 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/WEBTENT
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 3.00GHz (3000.12-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf41  Stepping = 1
  
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Features2=0x641dSSE3,RSVD2,MON,DS_CPL,CNTX-ID,CX16,b14
  AMD Features=0x2010NX,LM
  Logical CPUs per core: 2
real memory  = 3220635648 (3071 MB)
avail memory = 3150565376 (3004 MB)
snip

Thanks in advance.

-- 
Robert

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


Re: 4GB memory and more

2007-12-24 Thread Heiko Wundram (Beenic)
Am Montag, 24. Dezember 2007 23:21:32 schrieb Robert Fitzpatrick:
 I have a couple of Supermicro servers and upgraded both with more
 memory. I upgraded our ESMTP server from 1GB to 4GB and our MX server
 from 2GB to 5GB. Below are the dmesg memory findings and, yes, I get the
 memory over 4GB ignored when booting up. The ESMTP even says that about
 130MB is ignored. I was reading about building into the kernel PAE
 options for using above 4GB of memory, but in the dmesg I see PAE in the
 Features. Does this mean the support is there and I just need some BIOS
 tweaking?

Nope. This means that your CPU supports PAE, but says nothing about the 
operating system itself (whether it uses PAE or not).

When you want a PAE-enabled kernel (i.e., one that uses PAE to see the extra 
memory), see the PAE kernel configuration in the sys/i386/conf directory of 
your sources tree, and build your own kernel with (for example, if you don't 
want to customize the kernel configuration):

make kernconf=PAE buildworld buildkernel installkernel

This builds a kernel which actually uses that interface to see the extra 
memory and allows you to access it in standard i386 mode.

Generally, it's considered better practise to use the AMD64 architecture to 
access the high memory (because of performance considerations and driver 
compatability), but I don't know whether your CPUs actually support the x64 
operating mode, so you may be stuck with using PAE. YMMV.

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


Re: Updating ports

2007-12-24 Thread Peter Schuller
 I don't understand this statement.  I have killed portupgrade on numerous
 occasions, both locally and remotely, and have never had a problem
 restarting later.  If you mean portupgrade doesn't restart where it left
 off, then yes, that's true, but only in the sense that it goes through all
 the ports checking for upgrades before returning to the build you left off
 at.

Actually I was wrong because portupgrade doesn't do what I want  at all to 
begin with, so because nothing was ever started correctly, there is nothing 
to resume correctly.

The intended situation was:

Mini-port tree contains:

A
B
C
D depends on C

Now, C is updated in the tree.

You issue: portupgrade -r C

If all goes well, C is rebuilt followed by D. But if interrupted after C, D 
won't get upgraded on a subsequent run because portupgrade does not know C 
was upgraded.

Of course, this is based on portupgrading doing that to begin with and AFAIK 
this is not the case. I am not sure if any such logic is possible at all in 
fact.

portupgrade -rf C works of course, ***IF*** you know that C was upgraded. What 
I lack is a portupgrade -a --force-if-dep-was-upgraded, and even if that 
existed, the re-start problem would remain unless the fundamental approach 
was changed.

(I have been meaning to fix this with my own package manager, but the project 
has been stalled for a while.)

 I *really* don't understand this.  I can count on one hand the number of
 times that I've run into dependency problems with portupgrade, and all of
 those were addressed in /usr/port/UPDATING or by simply deinstalling and
 reinstalling the port in question.

I would love to hear what I am doing wrong. I have just never ever had good 
experience with it.

Everywhere you read on mailinglists or wherever, you have people recommending 
various versions (portupgrade -a, portupgrade -arR, etc) but none of it ever 
works over time for me.

Firstly,there are these stale dependencies that are never explained anywhere 
as far as I can tell. I am also suspicious of the methology used that causes 
any kind of database / dependency inconsistencies as a matter of expected 
procedure. The job of the tool is to get my installed packages in synch with 
the ports tree; there is no possibilities for stale dependencies here as 
far as I can tell, except in some very specific cases. But everywhere I look 
in online resources these stale dependencies seem to be treated like some 
kind of unexplained-yet-necessary fact of life that nobody understands but 
that everyone seem to have a vague sense about.

(I do realize upgrading is difficult in several fundamental ways; I wrote 
pkgmanager to do in-place upgrading for pkgsrc in a manner similar to 
portmanager - so I do have some experience with this. The re-write of 
pkgmanager to also support ports is what I refer to above. But with all the 
kinks of pkgmanager, the fundamental approach worked very well in practice, 
modulo some issues that have to do with lack of implementing particular 
cases, or fundamental problems in the underlying package management system.)

Secondly there are various magic failures that start happening as a result of 
some dependency X being upgraded (or NOT upgraded) such that the other 
package Y depending on X breaks. This typically gets resolved by concluding 
that ok, it's all borked, I'll portupgrade -rf Y (or portupgrade -Rf X, 
depending)). Generally, these failures can be characterized as being such 
that they do not occurr if you 'make install' on a clean system with a 
consistent ports tree, but only occurr as a side-effect of problems with the 
upgrading procedure directly, or indirectly because packages are tested on 
fresh trees and do not stress dependency edge cases.

Note that all this is specific to wanting to synch ALL packages. I never go 
around sniping at particular packages since i consider that to be a 
fundamentally broken approach in most situations. I just want to have 
everything upgraded to their latest versions (with security fixes), not have 
to micro-manage individual packages.

Also, I do pay attention to /usr/ports/UPGRADING, but issues accounted for 
there definitely to not cover all the problems.

Actually. Is there anyone heavly involved with ports that might be interested 
in discussing some of the issues having to do with upgrading? I have my own 
private little vision of what I want to see from ports/pkgsrc itself to 
enable package managers to support seamless upgrading. If there could be some 
cooperation going in terms fo enabling upgrading tools to work better, I 
might be more motivated to finally resume work on that pkgmanager rewrite.

-- 
/ Peter Schuller

PGP userID: 0xE9758B7D or 'Peter Schuller [EMAIL PROTECTED]'
Key retrieval: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org



signature.asc
Description: This is a digitally signed message part.


Re: UTF-8 in Opera/FreeBSD

2007-12-24 Thread Martin Tournoij
On Sun 23 Dec 2007 19:12, Svein Halvor Halvorsen wrote:
 I'm switching to UTF-8, and everything seems to work flawlessly,
 except for Opera. If I type one of the norwegian letters ��� into a
 text input box all I get is a square box. If I type backspace over
 it, it gets converted to a questionmark on the first stroke of
 backspace, and deleted on the second. If I copy the square box into
 another program, the propper letter is paced.

The problem is that the font you're using doesn't support the
character(s) you want to type.
You'll have to change the font in the opera preferences dialog, I
think the bitstream family supports most UTF-8 fonts.

This site may be useful in testing:
http://people.w3.org/rishida/scripts/uniview/

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


Re: UTF-8 in Opera/FreeBSD

2007-12-24 Thread David J Brooks
On Monday 24 December 2007 07:59:00 pm Martin Tournoij wrote:
 On Sun 23 Dec 2007 19:12, Svein Halvor Halvorsen wrote:
  I'm switching to UTF-8, and everything seems to work flawlessly,
  except for Opera. If I type one of the norwegian letters ��� into a
  text input box all I get is a square box. If I type backspace over
  it, it gets converted to a questionmark on the first stroke of
  backspace, and deleted on the second. If I copy the square box into
  another program, the propper letter is paced.

 The problem is that the font you're using doesn't support the
 character(s) you want to type.
 You'll have to change the font in the opera preferences dialog, I
 think the bitstream family supports most UTF-8 fonts.

 This site may be useful in testing:
 http://people.w3.org/rishida/scripts/uniview/

The DejaVu font set is based on BitstreamVera and supports an even wider range 
of Unicode characters. /usr/ports/x11-fonts/dejavu

David
-- 
This message is a stern warning of things to come.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem setting up DNS

2007-12-24 Thread Sdävtaker

Hello, im using FBSD 6.2

I got 2 domains registered in the local nic and I could get one working 
but the second one doesnt :-/
This is my first attemp to set up a real DNS, so im pretty sure i did 
something wrong, i copy/pasted here all the info i think can be usefull, 
i can add more data if necesary.

BTW, sorry for my english, it is not my main language.
Thanks for any help.
Sdav

Info:

I got this in named.conf:
(...)
zone unhost.com.ar {
type master;
file master/unhost.com.ar;
allow-transfer {
202.157.182.142;
};
};

zone sacrarium.com.ar {
type master;
file master/sacrarium.com.ar;
allow-transfer {
202.157.182.142;
};
};
(...)

The first one is working the second one is not.
In nic.ar both point to ns1.unhost.com.ar and 202.157.182.142 
(twisted4life free secondary)


the Zone files are:
master/unhost.com.ar:
$TTL 86400; 1 day
unhost.com.ar.IN  SOA  ns1.unhost.com.ar. admin.unhost.com.ar. (
2007102801  ; Serial
10800   ; Refresh
3600; Retry
604800  ; Expire
86400   ; Minimum TTL
)

; DNS Servers
IN  NS  ns1.unhost.com.ar.

; MX Records
IN  MX 10   mx.unhost.com.ar.
IN  A   190.2.50.197

; Machine Names
ns1 IN  A   190.2.50.197
mx  IN  A   190.2.50.197
ftp IN  A   190.2.50.197

; Aliases
www IN  CNAME   @


and  master/sacrarium.com.ar  say:
$TTL 86400; 1 day
sacrarium.com.ar.IN  SOA  ns1.unhost.com.ar. 
admin.unhost.com.ar. (

2007102801  ; Serial
10800   ; Refresh
3600; Retry
604800  ; Expire
86400   ; Minimum TTL
)

; MX Records
IN  MX 10   mx.unhost.com.ar.

; Machine Names
www IN  A   190.2.50.197


When i do:
nslookup www.unhost.com.ar
Server: 200.69.193.1
Address:200.69.193.1#53

Non-authoritative answer:
www.unhost.com.ar   canonical name = unhost.com.ar.
Name:   unhost.com.ar
Address: 190.2.50.197

nslookup www.sacrarium.com.ar
Server: 200.69.193.1
Address:200.69.193.1#53

** server can't find www.sacrarium.com.ar: SERVFAIL

when dig:
dig @unhost.com.ar www

;  DiG 9.3.3  @unhost.com.ar www
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: NXDOMAIN, id: 38338
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;www.   IN  A

;; AUTHORITY SECTION:
.   10437   IN  SOA a.root-servers.net. 
nstld.verisign-grs.com. 2007122401 1800 900 604800 86400


;; Query time: 2 msec
;; SERVER: 190.2.50.197#53(190.2.50.197)
;; WHEN: Tue Dec 25 03:34:23 2007
;; MSG SIZE  rcvd: 96

dig @unhost.com.ar sacrarium.com.ar

;  DiG 9.3.3  @unhost.com.ar sacrarium.com.ar
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: SERVFAIL, id: 17321
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;sacrarium.com.ar.  IN  A

;; Query time: 2 msec
;; SERVER: 190.2.50.197#53(190.2.50.197)
;; WHEN: Tue Dec 25 03:34:40 2007
;; MSG SIZE  rcvd: 34

 dig sacrarium.com.ar

;  DiG 9.3.3  sacrarium.com.ar
;; global options:  printcmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: SERVFAIL, id: 62816
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;sacrarium.com.ar.  IN  A

;; Query time: 451 msec
;; SERVER: 200.69.193.1#53(200.69.193.1)
;; WHEN: Tue Dec 25 03:35:01 2007
;; MSG SIZE  rcvd: 34
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: performance impact of large /etc/hosts files

2007-12-24 Thread RSean

Hi guys,

Just curious if anyone has tried regular expressions to handle ads and
banners. 

We have a small network of about 10 users. We use SafeSquid as proxy and
content filter. It supports the use of regex for defining rules.

The URL Filter section has 2 default rules for blocking ads and banners -

Hosts: 
(^ad(|s|v|server)\.|adtag\.|targetsearches.com|webconnect.net|imgis.com|atwola.com|fastclick.net|abz.com|tribalfusion.com|advertising.com|atdmt.com|sp
inbox\.(com|net)|linkexchange.com|hitbox.com|doubleclick.net|valueclick.com|click2net.com|mediaplex.com|247media.com|clickagents.com|adbutler.com|qkim
g.net|realmedia.com|us.a1.yimg.com|clickheretofind.com|images.cybereps.com|adbureau.net|sfads.osdn.com|adflow.com|adprofs.com|zedo.com|digitalmedianet
.com|ad-flow.com|/adsync/|adtech.de|netdirect.nl|rcm-images.amazon.com|pamedia.com|msads.net|valuead.com|smartadserver.com|thisbanner.com|aaddzz.com|s
cripps.com|ru4.com|adtrix.net|falkag.net)

File:
(/adimages/|/banner(|s)/|/ad(|s|v|(|_)banner(|s))/|/adx/|/sponsors/|/advert(ising|s|)/|/adcycle/|/track/|/promo/|/adspace/|/admentor/|/image\.ng/|/ajr
otator/|/adview.php|/clickthru|/affiliates|banmat(\.cgi|.\.cgi)|/adproof/|/bannerfarm/|/BannerAds/|/banner_|sponsorid|/servfu.pl|/RealMedia/|/adsync/|
_ad_|/adceptdelivery.cgi)

I am not a very technical person, but the first rule, I think, is a regex
that defines hosts that serve ads; while the second rule is a regex for
words that the file part of a url may contain.

These rules very efficiently block ads and banners at the gateway, saving
b/w and improving surfing experience.

Just thought I should mention this.

Cheers!
-- 
View this message in context: 
http://www.nabble.com/performance-impact-of-large--etc-hosts-files-tp14267018p14493715.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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