Userdir mod in apache2.2

2007-12-10 Thread Alain G. Fabry
Apache/2.2.6 (FreeBSD)
PHP Version 5.2.5
FreeBSD 6.2

Trying to get the userdir module to work but it seems to fail all the time due 
to 'You don't have permissions'

Main webserver works fine. Only when trying to go to the 
'http://localhost/~user/index.html' I get the permissions error.

when looking at phpinfo - loaded modules identifies mod_userdir

I've uncommented the following in httpd.conf
Include etc/apache22/extra/httpd-userdir.conf

I've changed my extra/httpd-userdir.conf to where homedirs are in /data/username

UserDir public_html
(Also tried to put UserDir enable username)
Directory /data/*/public_html
AllowOverride FileInfo AuthConfig Limit Indexes
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
Limit GET POST OPTIONS
Order allow,deny
Allow from all
/Limit
LimitExcept GET POST OPTIONS
Order deny,allow
Deny from all
/LimitExcept
/Directory


I've made sure that the whole /data/username/public_html is readable by 
everybody by a simple
chmod -R 755 /data

But I just cannot get my userdir to functions correctly.

What am I missing?

Thanks,

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


Re: Release 7.0 Beta2

2007-12-10 Thread Srinivasa R Kanduru
Thanks for the inputs. The keyboard responds in the Welcome screen. So I
can stop and select different booting options. But later when the kernel
boots, the usb controller driver gives an error. Here is what I saw in the
bootup messages:

...
usb1: host controller halted
uhub1: usb device problem (IOERROR), disabling port 1
...

The system is Dell Dimension 3100 with Intel Pentium4 processor.

When I googled, I found a related PR.
...
kern/100746: system does not boot due to USB keyboard problem on Dell 3100
...
That bug was related to usb panic, and it seems to have been fixed. What I
observe now is that the usb keyboard works in the boot loader, but fails to
be configured by the kernel.

Regards,
Srinivas.


On 12/9/07, John Murphy [EMAIL PROTECTED] wrote:

 On Sun, 9 Dec 2007 09:36:47 -0800
 Srinivasa R Kanduru [EMAIL PROTECTED] wrote:

  Hi,
 
  I was trying to install FreeBSD 7.0 Beta2 on a dell x86 machine which
  doesn't have any PS2 ports.  The installer expects a PS2 keyboard I
 think.
  The USB port is disabled for some reason and it is not possible to
 proceed
  further in the installation process.
 
  Is this a known issue ? Does the installer doesn't recognize a USB
 keyboard
  ?

 I was reasonably sure I used my USB keyboard when I installed 7.0-beta2,
 but just to make sure I tried it and I can confirm that the installer
 recognises it. I tested it at the black and white (Beasty?) menu by
 pressing space and then 1, and I could select a keyboard layout in the
 sysinstall menu too. I carried on little further without problems.

 Can you find another keyboard to try?

 --
 Thanks, John.




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


Re: Release 7.0 Beta2

2007-12-10 Thread Srinivasa R Kanduru
I forgot to mention that this was seen with 7.0Beta4 released on Dec 3.




On 12/10/07, Srinivasa R Kanduru [EMAIL PROTECTED] wrote:



 Thanks for the inputs. The keyboard responds in the Welcome screen. So I
 can stop and select different booting options. But later when the kernel
 boots, the usb controller driver gives an error. Here is what I saw in the
 bootup messages:

 ...
 usb1: host controller halted
 uhub1: usb device problem (IOERROR), disabling port 1
 ...

 The system is Dell Dimension 3100 with Intel Pentium4 processor.

 When I googled, I found a related PR.
 ...
 kern/100746: system does not boot due to USB keyboard problem on Dell 3100
 ...
 That bug was related to usb panic, and it seems to have been fixed. What I
 observe now is that the usb keyboard works in the boot loader, but fails to
 be configured by the kernel.

 Regards,
 Srinivas.


  On 12/9/07, John Murphy [EMAIL PROTECTED] wrote:
 
  On Sun, 9 Dec 2007 09:36:47 -0800
  Srinivasa R Kanduru  [EMAIL PROTECTED] wrote:
 
   Hi,
  
   I was trying to install FreeBSD 7.0 Beta2 on a dell x86 machine which
   doesn't have any PS2 ports.  The installer expects a PS2 keyboard I
  think.
   The USB port is disabled for some reason and it is not possible to
  proceed
   further in the installation process.
  
   Is this a known issue ? Does the installer doesn't recognize a USB
  keyboard
   ?
 
  I was reasonably sure I used my USB keyboard when I installed 7.0-beta2,
  but just to make sure I tried it and I can confirm that the installer
  recognises it. I tested it at the black and white (Beasty?) menu by
  pressing space and then 1, and I could select a keyboard layout in the
  sysinstall menu too. I carried on little further without problems.
 
  Can you find another keyboard to try?
 
  --
  Thanks, John.
 
 


 --
  Regards,
  Srinivasa Kanduru




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


Re: Problem with NAT/RDR in PF

2007-12-10 Thread shinny knight


Michael Smith [EMAIL PROTECTED] wrote:  
On Dec 9, 2007, at 3:34 PM, Erik Norgaard wrote:

 Michael Smith wrote:
 Hello All:
 I am trying to configure a round-robin group of Name Servers that 
 respond on to and from a single address.
 I want the following to occur:
 1) DNS query from 10.211.128.1 to 10.212.1.1 is redirected to a 
 pool of name servers
 2) One of the name servers responds to the query
 3) The response shows a source address of 10.212.1.1, not the 
 actual name server

 I know this does not answer your question, but, what's the point? 
 DNS isn't exactly the kind of task that knocks over a server. If you 
 want redundancy, then the correct way to do it is to add NS entries 
 to your zone files.

 I simply let my register transfer the zone file daily, works fine. 
 If you need to update the zone file regularly just reduce the max 
 age of the zone.

Hello Erik:

Well, aside from doing a *lot* of queries, it's nice to have a single 
IP address fronting a set of servers so I can pull one out for 
maintenance at any time and it doesn't affect name resolution for the 
clients.

Mike
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  
 
  Hello Mike,
   
   
  If I understand correctly your environment I think you should change the NAT 
rule from:
   
  nat on $vlan821_if from $nr_net to $mail_net - 10.212.1.1

  to:
   
  nat on $vlan6_if from $nr_net to $mail_net - 10.212.1.1
   
  Let us know if this is solving the issue.
   
   
  BR,
   
  Catalin

   
-
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Kernel module error

2007-12-10 Thread Monah Baki

Hi all,

Trying to build kernel and I get the following error:

/usr/src/sys/modules/acpi/acpi/../../../contrib/dev/acpica/exmutex.c:373:10:
invalid preprocessing directive #return_AGPI_STATUS
mkdep: compile failed
*** Error code 1

Stop in /usr/src/sys/modules/acpi/acpi.
*** Error code 1

Stop in /usr/src/sys/modules/acpi.
*** Error code 1

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

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

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

Stop in /usr/src.



Never had this error before and I just cvsup latest stable-supfile FreeBSD
6.3-PRERELEASE

Thank you


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


Re: Userdir mod in apache2.2

2007-12-10 Thread Paul Schmehl
--On Monday, December 10, 2007 09:35:14 +0100 Alain G. Fabry 
[EMAIL PROTECTED] wrote:



Apache/2.2.6 (FreeBSD)
PHP Version 5.2.5
FreeBSD 6.2

Trying to get the userdir module to work but it seems to fail all the
time due to 'You don't have permissions'






But I just cannot get my userdir to functions correctly.

What am I missing?


Post the results of this:
grep ServerName /usr/local/etc/apache22/httpd.conf

--
Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
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: Problem with NAT/RDR in PF

2007-12-10 Thread Michael K. Smith - Adhost
Hello Catalin:

snip

 
 Michael Smith [EMAIL PROTECTED] wrote:
 
 
   On Dec 9, 2007, at 3:34 PM, Erik Norgaard wrote:
 
Michael Smith wrote:
Hello All:
I am trying to configure a round-robin group of Name Servers
 that
respond on to and from a single address.
I want the following to occur:
1) DNS query from 10.211.128.1 to 10.212.1.1 is redirected to
 a
pool of name servers
2) One of the name servers responds to the query
3) The response shows a source address of 10.212.1.1, not the
actual name server
   
snip
 
 
 Hello Mike,
 
 
 If I understand correctly your environment I think you should change
 the NAT rule from:
 
 nat on $vlan821_if from $nr_net to $mail_net - 10.212.1.1
 
 to:
 
 nat on $vlan6_if from $nr_net to $mail_net - 10.212.1.1
 
 Let us know if this is solving the issue.
 

I'm still seeing the same issue.  Here's the output from pfctl -sa | grep 
10.212.1.1

nat on vlan6 inet from 10.212.1.0/24 to 10.211.0.0/16 - 10.212.1.1
rdr on vlan6 inet proto udp from any to 10.212.1.1 port = domain - 
nr_roundrobin round-robin
rdr on vlan6 inet proto tcp from any to 10.212.1.1 port = domain - 
nr_roundrobin round-robin
vlan6 udp 10.212.1.11:53 - 10.212.1.1:53 - 10.211.128.146:54108   
NO_TRAFFIC:SINGLE

It looks like the redirect is happening correctly, but the NAT isn't working in 
reverse.  The 10.212.1.1 address is in the subnet on $vlan821.  Will this break 
NAT?  That is, does NAT have to have an address on $vlan6?

Regards,

Mike


PGP.sig
Description: PGP signature


math:random

2007-12-10 Thread Jay Aikat

Hi, 
When I run a perl script that uses math:random, I get the following:

Can't locate Math/Random.pm in @INC (@INC contains: 
/usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach 
/usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl 
/usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at xyz.pl line 46.

BEGIN failed--compilation aborted at xyz.pl line 46.

This machine is a 4.10-RELEASE, with perl, version 5.005_03.  But I am getting 
this on several machines running different versions of FreeBSD with different 
perl versions as well.


How do I fix this?  Searched online a lot, but no resolution.  Thanks much for 
any help on fixing this,

--Jay.


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


Re: math:random

2007-12-10 Thread Paul Schmehl
--On Monday, December 10, 2007 12:32:13 -0500 Jay Aikat 
[EMAIL PROTECTED] wrote:



Hi, 
When I run a perl script that uses math:random, I get the following:

Can't locate Math/Random.pm in @INC (@INC contains:
/usr/local/lib/perl5/5.8.8/BSDPAN
/usr/local/lib/perl5/site_perl/5.8.8/mach
/usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at xyz.pl
line 46.
BEGIN failed--compilation aborted at xyz.pl line 46.

This machine is a 4.10-RELEASE, with perl, version 5.005_03.  But I am
getting this on several machines running different versions of FreeBSD
with different perl versions as well.

How do I fix this?  Searched online a lot, but no resolution.  Thanks
much for any help on fixing this,


You need to install the appropriate perl module - in this case Math::Random.

FreeBSD ports contain many of the perl modules.  Most are in the format 
p5-Foo-Bar.  To find them, go to /usr/ports and type make search 
key=Math-Random (for example.)


[EMAIL PROTECTED] ls /usr/ports/math/p5-Math-Random
p5-Math-Random/ p5-Math-Random-MT/  p5-Math-Random-MT-Auto/ 
p5-Math-Random-OO/  p5-Math-RandomOrg/


So, cd to /usr/ports/math/p5-Math-Random, make install clean and your 
problem will be solved.


--
Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
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: math:random

2007-12-10 Thread Andy Dills
On Mon, 10 Dec 2007, Jay Aikat wrote:

 Hi,   When I run a perl script that uses math:random, I get the
 following:
 
 Can't locate Math/Random.pm in @INC (@INC contains:
 /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach
 /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl
 /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at xyz.pl line
 46.
 BEGIN failed--compilation aborted at xyz.pl line 46.
 
 This machine is a 4.10-RELEASE, with perl, version 5.005_03.  But I am getting
 this on several machines running different versions of FreeBSD with different
 perl versions as well.
 
 How do I fix this?  Searched online a lot, but no resolution.  Thanks much for
 any help on fixing this,

You perhaps installed the module into the base perl distribution before 
installing the ports perl and doing a use.perl ports, or perhaps you 
didn't install the module at all (Math::Random isn't part of the base 
perl distribution).

cd /usr/ports/math/p5-Math-Random  make install 

Andy

---
Andy Dills
Xecunet, Inc.
www.xecu.net
301-682-9972
---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


loading modules not in /boot/kernel from loader.conf

2007-12-10 Thread Aryeh M. Friedman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

sysutils/fusefs-kmod installs to /usr/local/modules/fuse.ko and a
fuse_load=YES will not work because of this.  But, mv/cp/ln'ing it
to /boot/kernel gets nuked if you rebuild/install the kernel.   How to
get around this?
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHXUAtzIOMjAek4JIRApF1AJ4wbXjTQVt4wngiRObv7A2iTJFPQwCgnFiT
V63lqeMKC4vWDHdykrcxXGo=
=JB+k
-END PGP SIGNATURE-

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


Re: loading modules not in /boot/kernel from loader.conf

2007-12-10 Thread Aryeh M. Friedman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



 The fusefs rc script will run kldload /usr/local/modules/fuse.ko.
 You don't need to add anything to loader.conf . Secondly, you
 should add kernel modules to the /boot/modules dir not
 /boot/kernel.

Thanks but I use a handwritten /etc/rc that does not call any thing in
/etc/rc.d so the question stands
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHXUzbzIOMjAek4JIRAm6VAJ4ysRZCw+3+cN6q6cPKa4ARdEleAwCglfGF
85cENq4/EyFrORvY2VVwNnk=
=yo/4
-END PGP SIGNATURE-

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


smart_host on sendmail min config

2007-12-10 Thread Aryeh Friedman
What else do I need to add to this to make it work (i.e. send all mail
via mx1.optonline.net):

OSTYPE(`freebsd6')dnl
define(`SMART_HOST', `mx2.optonline.net')dnl

btw shouldn't there be a frebsd7 or freebsd8 OSTYPE? (I run -current)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: smart_host on sendmail min config

2007-12-10 Thread Chuck Swiger

On Dec 10, 2007, at 11:40 AM, Aryeh Friedman wrote:

What else do I need to add to this to make it work (i.e. send all mail
via mx1.optonline.net):

OSTYPE(`freebsd6')dnl
define(`SMART_HOST', `mx2.optonline.net')dnl


Look at /etc/mail/freebsd.mc and edit the SMART_HOST line as above.   
(Note that you can copy freebsd.mc to hostname.mc and use the latter  
filename in order to avoid modifying the generic template file.)



btw shouldn't there be a frebsd7 or freebsd8 OSTYPE? (I run -current)


There eventually will be, but there isn't likely to be a difference  
between the freebsd6.m4 file and a freebsd7.m4...nothing has changed  
which would affect sendmail.


--
-Chuck
 
___

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


Re: loading modules not in /boot/kernel from loader.conf

2007-12-10 Thread Rob Messick

Aryeh M. Friedman wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

sysutils/fusefs-kmod installs to /usr/local/modules/fuse.ko and a
fuse_load=YES will not work because of this.  But, mv/cp/ln'ing it
to /boot/kernel gets nuked if you rebuild/install the kernel.   How to
get around this?
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHXUAtzIOMjAek4JIRApF1AJ4wbXjTQVt4wngiRObv7A2iTJFPQwCgnFiT
V63lqeMKC4vWDHdykrcxXGo=
=JB+k
-END PGP SIGNATURE-

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

  
The fusefs rc script will run kldload /usr/local/modules/fuse.ko.  You 
don't need to add anything to loader.conf . Secondly, you should add 
kernel modules to the /boot/modules dir not /boot/kernel.


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


Re: loading modules not in /boot/kernel from loader.conf

2007-12-10 Thread Dan Nelson
In the last episode (Dec 10), Aryeh M. Friedman said:
 sysutils/fusefs-kmod installs to /usr/local/modules/fuse.ko and a
 fuse_load=YES will not work because of this.  But, mv/cp/ln'ing it
 to /boot/kernel gets nuked if you rebuild/install the kernel.  How to
 get around this?

The loader also checks /boot/modules/ , so copy your stuff there.
That's where the kqemu-kmod port puts kqemu.ko, for example.

-- 
Dan Nelson
[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 6.2 and ESATA

2007-12-10 Thread DSA - JCR
Hi all

I wonder to know if FreebSD 6.2 (I386) has drivers for ESATA (External
SATA): I haven't found anything about the item and I would like to use
ESATA in spite of USB Disks for backups because of its speed.

Thanks in advance

Sincerely

Juan Coruña
Desarrollo de Software Atlantico




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


Re: smart_host on sendmail min config

2007-12-10 Thread Aryeh M. Friedman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chuck Swiger wrote:
 On Dec 10, 2007, at 11:40 AM, Aryeh Friedman wrote:
 What else do I need to add to this to make it work (i.e. send all
 mail via mx1.optonline.net):

 OSTYPE(`freebsd6')dnl define(`SMART_HOST',
 `mx2.optonline.net')dnl

 Look at /etc/mail/freebsd.mc and edit the SMART_HOST line as above.
  (Note that you can copy freebsd.mc to hostname.mc and use the
 latter filename in order to avoid modifying the generic template
 file.)
Just tried that the ISP just eats a test message (to the addr I am
sending this from) but a direct telnet to port 25 on the smart host
works fine

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHXVZwzIOMjAek4JIRAsRYAJ9z7QBEs0FZdtdAA8UbJKxrJczx4wCfWJmh
R0HBLRqQhgP4bKk/uLCOAO4=
=Ga9G
-END PGP SIGNATURE-

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


Re: DVD's and FreeBSD

2007-12-10 Thread Chuck Robey

Gary Kline wrote:

On Fri, Dec 07, 2007 at 04:05:23PM -0700, Predrag Punosevac wrote:

Gary Kline wrote:

Update:

Well, totem chokes when trying to play a DVD,
Totem is not good DVD player and that has to do nothing with the 
FreeBSD, OpenBSD or whatever Linux you want to use. You may read
here why is so difficult to use DVDs 
http://www.dvddemystified.com/dvdfaq.html


I will see why totem just-works {TM} with Ubuntu.  While here it
is missing plugin, etc..
Ogle is by far the best DVD player but VLC and MPlayer are able to play 
stunning number of different proprietary and non-proprietary video and 
audio formats.


I know that comment about ogle certainly used to be correct. but I think 
that may possibly be dated information.  My FreeBSD machine is pretty 
new, squeaky-clean, and all of the following dvd players (ones which I 
have tried so far, doesn't mean they're the only ones either) work just 
great: vlc, xine, ogle.  Even though kmplayer works, I found it's 
interface (which uses mplayer and xine as backends) ssmed a little clunky.


Anyhow, it might be time for taking another looksee.  All 3 of those 
)vlc, ogle, xine) were really sharp and easy to use, good 5.1 audio 
using my optically connected sound system.





I've never  used vlc for DVD; nor ogle; am building.

but kmplayer works
--altho with fewer control flow options.  And after compiling
	in device atapicam into my KERNCONF, k3b still chokes.   
K3b works fine or I should say as good as on any of major Linux 
distribution. Something is wrong with your configuration.

Read very carefully

$ make showinfo /usr/ports/sysutils/k3b



Well, y'gotta cd to the k3b directory, but no prob; that I
remembered from before.  I lpr'd it.   It's clearly written
by one of us ( a fellow geek).

	I may have some followups.  I've been reading and re-reading 
	and re-re-reading the info page.





So.
For toys, Linux; for superior [unbeatable] stability, FreeBSD
is still first rate.

gary
 
Depends what you mean by playing. Some people use Flash or Java for work 
and FreeBSD is definitely not for them.
For me personally works boot as a professional tool and as life-stile 
OS. But then it doesn't work for my mother in law and probably

it doesn't work for 99% of other casual computer users.



You're right; I shouldn't have been so dismissive about burning
a CD or DVD.  (i'Ve created some data CD's for friends.)

	vlc-devel is still building.  Hopefully more will be working 
	after my reboot.


gary


Cheers,
Predrag






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


Re: FreeBSD 6.2 and ESATA

2007-12-10 Thread Erik Trulsson
On Mon, Dec 10, 2007 at 07:31:01PM -, DSA - JCR wrote:
 Hi all
 
 I wonder to know if FreebSD 6.2 (I386) has drivers for ESATA (External
 SATA): I haven't found anything about the item and I would like to use
 ESATA in spite of USB Disks for backups because of its speed.
 

The only real difference between E-SATA and normal SATA is the physical
connector.  Any SATA controller-chip can be used for either normal SATA
or ESATA.  FreeBSD has drivers for many, but not all, SATA controllers and
thus FreeBSD supports many ESATA implemntations, but not all of them.






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


Re: math:random

2007-12-10 Thread Warren Block

On Mon, 10 Dec 2007, Paul Schmehl wrote:


You need to install the appropriate perl module - in this case Math::Random.

FreeBSD ports contain many of the perl modules.  Most are in the format 
p5-Foo-Bar.  To find them, go to /usr/ports and type make search 
key=Math-Random (for example.)


If you know the name, whereis is less work:

% whereis p5-Math-Random
p5-Math-Random: /usr/ports/math/p5-Math-Random

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: loading modules not in /boot/kernel from loader.conf

2007-12-10 Thread Tino Engel

Aryeh M. Friedman schrieb:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



  

The fusefs rc script will run kldload /usr/local/modules/fuse.ko.
You don't need to add anything to loader.conf . Secondly, you
should add kernel modules to the /boot/modules dir not
/boot/kernel.



Thanks but I use a handwritten /etc/rc that does not call any thing in
/etc/rc.d so the question stands
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHXUzbzIOMjAek4JIRAm6VAJ4ysRZCw+3+cN6q6cPKa4ARdEleAwCglfGF
85cENq4/EyFrORvY2VVwNnk=
=yo/4
-END PGP SIGNATURE-

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

  

You could make a softlink...
Rg, Tino
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: loading modules not in /boot/kernel from loader.conf

2007-12-10 Thread Aryeh M. Friedman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


 You could make a softlink...

Thats what raised the question I was doing ln -s
/usr/local/modules/fuse.ko /boot/kernel/fuse.ko

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHXWEnzIOMjAek4JIRAudyAKCMHwjBLmVkoBQ+1phqSjgxZs7oDACffqck
Sqz6d33doxp89KzUcH6TsSY=
=LcV4
-END PGP SIGNATURE-

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


Re: loading modules not in /boot/kernel from loader.conf

2007-12-10 Thread Tino Engel

Aryeh M. Friedman schrieb:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


  

You could make a softlink...



Thats what raised the question I was doing ln -s
/usr/local/modules/fuse.ko /boot/kernel/fuse.ko

  

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


Re: loading modules not in /boot/kernel from loader.conf

2007-12-10 Thread Aryeh M. Friedman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Tino Engel wrote:
 Aryeh M. Friedman schrieb:
 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1



 You could make a softlink...


 Thats what raised the question I was doing ln -s
 /usr/local/modules/fuse.ko /boot/kernel/fuse.ko


 And it did not work?

If it worked I had not of asked the question (installkernel nukes it)
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHXWLMzIOMjAek4JIRAqblAJ4jnHJJtl78j6ocNbDpgEEUo6BvGACdGgso
COMPBBIMaDET8ce2rSyPvEU=
=qiMh
-END PGP SIGNATURE-

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


Re: DVD's and FreeBSD

2007-12-10 Thread RW
On Mon, 10 Dec 2007 15:23:52 -0500
Chuck Robey [EMAIL PROTECTED] wrote:

 .   Even though kmplayer works, I
 found it's interface (which uses mplayer and xine as backends) ssmed
 a little clunky.

I wouldn't want to use kmplayer like that either, but it works very
well in Konquerer. I've found it to be consistently superior to the
gxine and mplayer plugins for firefox.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: loading modules not in /boot/kernel from loader.conf

2007-12-10 Thread Rob Messick

Tino Engel wrote:

Aryeh M. Friedman schrieb:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


 

You could make a softlink...



Thats what raised the question I was doing ln -s
/usr/local/modules/fuse.ko /boot/kernel/fuse.ko

  

And it did not work?

Yeah, if you put a kernel module in /boot/kernel,  installkernel will 
wipe it out when you install a new kernel.  That's why there is 
/boot/modules for kernel modules.  installkernel shouldn't touch that.


Change to: ln -s /usr/local/modules/fuse.ko /boot/modules/fuse.ko

or

add this to /boot/loader.conf:
   module_path=/boot/modules:/usr/local/modules
   fusefs_load=YES
  




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


Re: loading modules not in /boot/kernel from loader.conf

2007-12-10 Thread Tino Engel

Aryeh M. Friedman schrieb:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Tino Engel wrote:
  

Aryeh M. Friedman schrieb:


-BEGIN PGP SIGNED MESSAGE- Hash: SHA1



  

You could make a softlink...



Thats what raised the question I was doing ln -s
/usr/local/modules/fuse.ko /boot/kernel/fuse.ko


  

And it did not work?



If it worked I had not of asked the question (installkernel nukes it)
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHXWLMzIOMjAek4JIRAqblAJ4jnHJJtl78j6ocNbDpgEEUo6BvGACdGgso
COMPBBIMaDET8ce2rSyPvEU=
=qiMh
-END PGP SIGNATURE-

  

So doing
ln -s /usr/local/modules/fuse.ko /boot/modules/fuse.ko
as proposed, should persist throughout kernel updates I assume.

Rg, Tino

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


FreeBSD mail forwarder and SPF

2007-12-10 Thread Dan Mahoney, System Admin

Hello all,

I secure my outbound e-mail with SPF.  One of the ports maintainers 
([EMAIL PROTECTED]) also secures his INBOUND e-mail with SPF.


I tried to e-mail garga about a minor doc-bug, and got a bounce, since his 
mailserver didn't recognize mx2.freebsd.org as a valid MX for 
[EMAIL PROTECTED]


http://www.openspf.org/Why?id=danm%40prime.gushi.orgip=69.147.83.53receiver=parati.mdbrasil.com.br

My solution to the problem was a workaround (screw being nice, open a 
send-pr).  However, the fact that this person is protecting his inbox in 
the same way as I am presents a problem: he's listed as a contact for 
these ports, and isn't reachable via it (but ironically WOULD be if I had 
no spf record).


In the mean, I recognize that FreeBSD is a volunteer organization, but can 
there be some kind of either:


a) policy requirement that people configure allow rules for the freeBSD 
mx?


or

b) modification to the forwarder so it re-sends instead of forwarding? 
I'd offer to help but my postfix foo isn't what it needs to be.

x
As technical types, coders, porters, etc, I feel we're beyond the level of 
end user for whom this would be too complicated.


-Dan Mahoney

--

Check it out, it's just like Christmas.  Except it sucks.

-Jason Seguerra, 3/2/05

Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---

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


does sysinstall's Upgrade ever use the local system's shell?

2007-12-10 Thread Royce Williams
Question:

Does the sysinstall Upgrade option have a dependency on the local 
system's sh at any time during the install?

Details:

I have a system that I'm trying to rescue.  It has a mix of 
6.2-SECURITY and 6.3-BETA components due to a failure during the 
freebsd-update minor-upgrade procedure.  After some analysis and help
from cperciva, we think that this was due to possible filesystem 
errors that have since been corrected.

On Colin's recommendation, to repair the system, I am not relying on 
anything local to the system and instead, using sysinstall's upgrade
option from CD to upgrade 6.3-RC1.

Somewhere during or after the backup of /etc, I get this dialog:

Hmmm!  I couldn't move the old kernel over!  Do you want to
treat this as a big problem and abort the upgrade?  Due to the
way that this upgrade process works, you will have to reboot
and start over from the beginning.  Select Yes to reboot now


The verbose upgrade output ends here, with this error:

/mnt/stand/usbdevs
/mnt/stand/dhclient-script
4330 blocks
/libexec/ld-elf.so.1: sh: Undefined symbol __sbmaskrune


This is the exactly the same error that I get when trying to run the 
local system's sh.  I'm pretty sure that the sh that comes on the 
6.3-RC1 CD is OK.  Is the installUpgrade.c system(mv) call here:

  if (system(mv /boot/kernel /boot/kernel.prev)) {
if (!msgYesNo(Hmmm!  I couldn't move the old kernel over!  Do 
you want to\n
  treat this as a big problem and abort the 
upgrade?  Due to the\n
  way that this upgrade process works, you will 
have to reboot\n
  and start over from the beginning.  Select Yes 
to reboot now))
systemShutdown(1);

... managing to invoke the local shell instead of the one on the CD?
Not knowing any better, if local binaries are being called for some
part of the upgrade, that would be a Bad Thing and I should open a PR.

Royce

-- 
Royce D. Williams- IP Engineering, ACS
http://www.tycho.org/royce/   - PGP: 3FC087DB/1776A531
We are called to be architects of the future, not its victims. -Fuller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: smart_host on sendmail min config

2007-12-10 Thread Giorgos Keramidas
On 2007-12-10 15:08, Aryeh M. Friedman [EMAIL PROTECTED] wrote:
Chuck Swiger wrote:
On Dec 10, 2007, at 11:40 AM, Aryeh Friedman wrote:
 What else do I need to add to this to make it work (i.e. send all
 mail via mx1.optonline.net):

 OSTYPE(`freebsd6')dnl define(`SMART_HOST',
 `mx2.optonline.net')dnl

 Look at /etc/mail/freebsd.mc and edit the SMART_HOST line as above.
 (Note that you can copy freebsd.mc to hostname.mc and use the latter
 filename in order to avoid modifying the generic template file.)

 Just tried that the ISP just eats a test message (to the addr I am
 sending this from) but a direct telnet to port 25 on the smart host
 works fine

If a direct telnet to port 25 works, then SMART_HOST should work too.

Can you grab log messages from `/var/log/maillog', and post them?

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


firebird2 API woes

2007-12-10 Thread Markus Hoenicka
[apologies for cross-posting, but freebsd-database was not able to
help]

Hi,

I'm having a hard time connecting to a firebird 2.0.3 server installed
on FreeBSD 6.1 through the C API calls. The connection code is pretty
much copy+pasted from the API documentation. However, all calls to
isc_attach_database() cause the client library to segfault:

#1  0x2852ceb4 in return_success () from /usr/local/lib/libfbclient.so.2
#2  0x28525179 in REM_attach_database () from /usr/local/lib/libfbclient.so.2
#3  0x2851386a in isc_attach_database () from /usr/local/lib/libfbclient.so.2
#4  0x284ece8e in _dbd_real_connect ()
   from /usr/local/lib/dbd/libdbdfirebird.so
#5  0x284eba19 in dbd_connect () from /usr/local/lib/dbd/libdbdfirebird.so
#6  0x2808011d in dbi_conn_connect () from /usr/local/lib/libdbi.so.0
#7  0x0804982a in main (argc=1, argv=0xbfbfea2c) at test_dbi.c:91

The database I'm trying to attach to does exist, and I can attach to
it using the isql command line utility. Is this a known issue?

I have to admit that I'm not too familiar with firebird. All I'm
trying to do is to upgrade the firebird driver of the libdbi-drivers
project (http://libdbi-drivers.sourceforge.net, also available as a
FreeBSD port). I'd greatly appreciate if someone more experienced in
programming for firebird could give me a hint. I'll be happy to
provide all sorts of debug information if needed.

regards,
Markus



-- 
Markus Hoenicka
[EMAIL PROTECTED]
(Spam-protected email: replace the quadrupeds with mhoenicka)
http://www.mhoenicka.de

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


Re: loading modules not in /boot/kernel from loader.conf

2007-12-10 Thread Antony Mawer

On 11/12/2007 2:54 AM, Aryeh M. Friedman wrote:

You could make a softlink...


Thats what raised the question I was doing ln -s
/usr/local/modules/fuse.ko /boot/kernel/fuse.ko


Remember that this is the loader which will be loading the
module, so if /usr is a separate partition then this will not work as 
/usr doesn't get mounted until much, much later in the boot process...


Alternatively, if you're using your own home-brew rc script, why not 
just add a kldload fuse into it?


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


Re: FreeBSD mail forwarder and SPF

2007-12-10 Thread Mark D. Foster
Dan Mahoney, System Admin wrote:
 Hello all,

 I secure my outbound e-mail with SPF.  One of the ports maintainers
 ([EMAIL PROTECTED]) also secures his INBOUND e-mail with SPF.

 I tried to e-mail garga about a minor doc-bug, and got a bounce, since
 his mailserver didn't recognize mx2.freebsd.org as a valid MX for
 [EMAIL PROTECTED]

The solution is @ http://www.openspf.org/FAQ/Forwarding
If garga@ isn't following the recommended practice of whitelisting
freebsd.org's MX servers then breakage results. That said,
mx2.freebsd.org is NOT LISTED as an MX of freebsd.org, so maybe that is
contributing to the problem.

-- 
Said one park ranger, 'There is considerable overlap between the 
 intelligence of the smartest bears and the dumbest tourists.'
Mark D. Foster, CISSP [EMAIL PROTECTED]  http://mark.foster.cc/

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


Re: DVD's and FreeBSD

2007-12-10 Thread Gary Kline
On Mon, Dec 10, 2007 at 03:23:52PM -0500, Chuck Robey wrote:
 Gary Kline wrote:
 On Fri, Dec 07, 2007 at 04:05:23PM -0700, Predrag Punosevac wrote:
 Gary Kline wrote:
Update:
 
Well, totem chokes when trying to play a DVD,
 Totem is not good DVD player and that has to do nothing with the 
 FreeBSD, OpenBSD or whatever Linux you want to use. You may read
 here why is so difficult to use DVDs 
 http://www.dvddemystified.com/dvdfaq.html
 
  I will see why totem just-works {TM} with Ubuntu.  While here it
  is missing plugin, etc..
 Ogle is by far the best DVD player but VLC and MPlayer are able to play 
 stunning number of different proprietary and non-proprietary video and 
 audio formats.
 
 I know that comment about ogle certainly used to be correct. but I think 
 that may possibly be dated information.  My FreeBSD machine is pretty 
 new, squeaky-clean, and all of the following dvd players (ones which I 
 have tried so far, doesn't mean they're the only ones either) work just 
 great: vlc, xine, ogle.  Even though kmplayer works, I found it's 
 interface (which uses mplayer and xine as backends) ssmed a little clunky.


ogle fails due to some permissions problem:

  
ERROR[ogle_nav]: faild to open/read the DVD
DVDSetDVDRoot:: Root not set
p3 15:23 tao2 [1683] 


With kmplayer, altho it works with virtually everything,
it is a bi tclunky.  Also, it will not show the menu part 
of my DVD.  So far, vlc wins (in my lineup).  But it's not
intuitive at  all.  A cheet-sheet of the 50 top places to click
would be a plus.  
 
 Anyhow, it might be time for taking another looksee.  All 3 of those 
 )vlc, ogle, xine) were really sharp and easy to use, good 5.1 audio 
 using my optically connected sound system.
 
 

It may be my last contribution befoore I cash out, but I *will*
do a thorough, reable piece on gtting k3b to work.  ...Hopefuully!

gary

 

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
  http://jottings.thought.org   http://transfinite.thought.org

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


RE: FreeBSD mail forwarder and SPF

2007-12-10 Thread Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark D. Foster
Sent: dinsdag 11 december 2007 0:40
To: Dan Mahoney, System Admin
Cc: [EMAIL PROTECTED]
Subject: Re: FreeBSD mail forwarder and SPF

 The solution is @ http://www.openspf.org/FAQ/Forwarding
 If garga@ isn't following the recommended practice of whitelisting
 freebsd.org's MX servers then breakage results. That said,
 mx2.freebsd.org is NOT LISTED as an MX of freebsd.org, so maybe that
 is contributing to the problem.

Like you said, if he wants to send mail through the FreeBSD server, using
his prime.gushi.org domain, he should add ip4:69.147.83.53 to his SPF
records for that domain (or do some SRS forward rewriting).

But what's mx2.freebsd.org not being listed as an MX of freebsd.org got to
do with SPF?? There's no requirement, whatsoever, for mx2.freebsd.org to be
an official FreeBSD MX record. Who cares? FreeBSD includes
ip4:69.147.83.53 in its SPF records (which is mx2.freebsd.org). That's all
SPF needs to know.

- Mark



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


Re: DVD's and FreeBSD

2007-12-10 Thread RW
On Mon, 10 Dec 2007 15:39:51 -0800
Gary Kline [EMAIL PROTECTED] wrote:


   With kmplayer, altho it works with virtually everything,
   it is a bi tclunky.  Also, it will not show the menu part 
   of my DVD.  So far, vlc wins (in my lineup).  But it's not
   intuitive at  all.  A cheet-sheet of the 50 top places to
 click would be a plus.  

Have you tried using Xine directly?

Personally I don't much like VLC on UNIX, I think its reputation comes
from good experiences on Windows. I've never seem VLC do anything that
at least one of mplayer or xine wouldn't do better, and it seems to be
the least successful of the three in playing obscure formats.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD mail forwarder and SPF

2007-12-10 Thread RW
On Mon, 10 Dec 2007 15:28:15 -0800
Mark D. Foster [EMAIL PROTECTED] wrote:


 The solution is @ http://www.openspf.org/FAQ/Forwarding
 If garga@ isn't following the recommended practice of whitelisting
 freebsd.org's MX servers then breakage results. That said,
 mx2.freebsd.org is NOT LISTED as an MX of freebsd.org, so maybe that
 is contributing to the problem.
 


SPF doesn't care whether email is sent from an MX server.

mx2.freebsd.org is listed in the SPF record, but that doesn't really
matter much unless they implement the Sender Rewriting Scheme in
their forwarder. SRS should eliminate the rejection problem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


loading modules not in /boot/kernel from loader.conf

2007-12-10 Thread Aryeh Friedman
I have had bad experiences with loading modules anywhere except
/boot/loader.conf and even so there is some hacking in the rc to make
it work fine for example:

(sleep 5;ntfs-3g ) is the last line in the rc



 Remember that this is the loader which will be loading the
 module, so if /usr is a separate partition then this will not work as
 /usr doesn't get mounted until much, much later in the boot process...

 Alternatively, if you're using your own home-brew rc script, why not
 just add a kldload fuse into it?

 --Antony

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


triple boot loader

2007-12-10 Thread Aryeh M. Friedman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I have vista+freebsd (both boot well off btx) and fedora (which
doesn't boot at all of the current btx install I have)... I want to
keep btx instead of having to reconfigure for grub or some piece of
linux (*(*(*... help?
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHXbRmzIOMjAek4JIRAqP/AKCbpuTHKMkwZPlzc2/coVpGWZqb7ACfURUb
hGZPB1biL2604sC2Us0T3ik=
=7/L+
-END PGP SIGNATURE-

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


Re: smart_host on sendmail min config

2007-12-10 Thread Aryeh M. Friedman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Giorgos Keramidas wrote:
 On 2007-12-10 15:08, Aryeh M. Friedman [EMAIL PROTECTED]
 wrote:
 Chuck Swiger wrote:
 On Dec 10, 2007, at 11:40 AM, Aryeh Friedman wrote:
 What else do I need to add to this to make it work (i.e. send
 all mail via mx1.optonline.net):

 OSTYPE(`freebsd6')dnl define(`SMART_HOST',
 `mx2.optonline.net')dnl
 Look at /etc/mail/freebsd.mc and edit the SMART_HOST line as
 above. (Note that you can copy freebsd.mc to hostname.mc and
 use the latter filename in order to avoid modifying the generic
 template file.)
 Just tried that the ISP just eats a test message (to the addr I
 am sending this from) but a direct telnet to port 25 on the smart
 host works fine

 If a direct telnet to port 25 works, then SMART_HOST should work
 too.

 Can you grab log messages from `/var/log/maillog', and post them?


Dec  9 09:15:38  newsyslog[587]: logfile first created
Dec  9 09:15:38  sm-mta[720]: starting daemon (8.14.2):
[EMAIL PROTECTED]:30:00
Dec  9 09:15:38  sm-msp-queue[724]: starting daemon (8.14.2):
[EMAIL PROTECTED]:30:00
Dec  9 12:22:28  sm-mta[729]: starting daemon (8.14.2):
[EMAIL PROTECTED]:30:00
Dec  9 12:22:28  sm-msp-queue[733]: starting daemon (8.14.2):
[EMAIL PROTECTED]:30:00

completely unchanged before and after I attempted to sendmail to my
self (after a reboot but not a restart of sendmail [I have a
handcrafted /etc/rc so I know it doesn't run sendmail on boot])
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHXbcTzIOMjAek4JIRAun7AJ45Ob3ud9v+9iSzpX4LbJfT664VHwCglfKr
/6kkyEAuM2iPbU/9EIbb6LU=
=XkM6
-END PGP SIGNATURE-

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


performance impact of large /etc/hosts files

2007-12-10 Thread Erich Dollansky

Hi,

I wonder what the performance impact of the entries in /etc/hosts really is.

What is your experience?

Google tells me a lot of hosts running FreeBSD but I could not find 
anything regarding the hosts file itself.


I use hosts for filtering all unwanted content on my personal machine.

I run currently 6.2.

Thanks!

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


does freebsd support Vostro 1400 notebook?

2007-12-10 Thread lveax
hey all,

i want to buy a dell vostro 1400
http://www.dell.com/content/products/productdetails.aspx/vostronb_1400?c=uscs=04l=ens=bsd~tab=bundlestab

does freebsd support it?

which driver should i use?

sound card/network card/etc

i will update the
Video Cards
128MB NVIDIA(R) GeForce™ 8400M GS

i found the nvidia-driver support it
http://us.download.nvidia.com/freebsd/100.14.19/README/appendix-e.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


3200 canadian subsidies or grants listed

2007-12-10 Thread Canadian business publications
PRESS RELEASE

CANADIAN SUBSIDY DIRECTORY YEAR 2007 EDITION

Legal Deposit-National Library 

The new revised edition of the Canadian 
Subsidy Directory 2007 is now available. 

Business... $ 69.95
Academic (For schools, governments, municipalities, 
reference centers)...$ 149.95

Pdf cd-rom..$ 69.95
Printed.$149.95 (430 pages)

Order directly at Canadian Publications:

Toll free line: *866-322-3376* or local *819-322-5756

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


Re: Duplicate existing FreeBSD Server in VM

2007-12-10 Thread Simon Gao
DAve wrote:
 Terry Sposato wrote:
   
 Hi,

  

 I have just installed a machine and have it setup running a web based CRM
 solution. I want to have an exact duplicate of this machine running as a VM
 for redundancy reasons. 

  

 What is the best way to go about getting this exact machine transferred to
 the VM? Both machines exist on the same network and will be able to talk to
 each other, I have been thinking of a couple of different ways to get all my
 data across which is the easy part, but I want to match everything that is
 installed, base system, ports etc.

  

 Anyone have any ideas or point me into the right direction?

 

 You can use dump over ssh easily enough, here are my notes from using it
 to create multiple production machines from a single test server. There
 are better ways I am sure, but this is quick and easy if you are
 familiar with FreeBSD installs.

 Note #1 In the first comment line I say to boot the live file system CD,
 that is what you would do in the VM, just as you would normally boot an
 installer CD, but use a Live filesystem CD instead.

 Note #2 I used several slices with sizes some may not agree with. It was
 a choice we made for various reasons, the servers have been running for
 three years. You may have more or less slices of varying sizes, adjust
 the steps below to your preferences.

 Note #3 You will need to check and WRITE DOWN which slice is which mount
 point, /, /var, /usr and so on. Your disks may be different if you
 choose not to create a seperate /tmp, or /var.

 I'll be out of the office for a week, but you can try and adjust as
 needed, it won't hurt anything and you can always overwrite and try
 again. WRITE IT DOWN.

 Works for us, I've used it several times, adjusting as needed for the
 system I am cloning.

 DAve

 

 # boot live filesystem cd
 # use disklabel to check/create slices
 /stand/sysinstall
 /dev/ad0s1b256mb   swap
 /dev/ad0s1a256mb   /mnt/ufs.1softupdates
 /dev/ad0s1e256mb   /mnt/ufs.2softupdates
 /dev/ad0s1d256mb   /mnt/ufs.3softupdates
 /dev/ad0s1fall /mnt/ufs.4softupdates
 /dev/ad1s1d2mb /mnt/ufs.5

 # unmount the new slices
 umount /mnt/ufs.1
 umount /mnt/ufs.2
 umount /mnt/ufs.3
 umount /mnt/ufs.4
 umount /mnt/ufs.5

 # make newfs on each slice
 newnfs /dev/ad0s1a
 newnfs /dev/ad0s1e
 newnfs /dev/ad0s1f
 newnfs /dev/ad0s1d
 newnfs /dev/ad1s1d

 # remount the slices
 mount -t ufs -o rw /dev/ad0s1a /mnt/ufs.1
 mount -t ufs -o rw /dev/ad0s1e /mnt/ufs.2
 mount -t ufs -o rw /dev/ad0s1d /mnt/ufs.3
 mount -t ufs -o rw /dev/ad0s1f /mnt/ufs.4

 # fetch the filesystems from the test server
 # you will need to enable root ssh access on the test server for this.
 cd /mnt/ufs.1
 ssh [EMAIL PROTECTED] dump -0L -f - /dev/ad0s1a | restore -rf - /dev/ad0s1a
 cd /mnt/ufs.2
 ssh [EMAIL PROTECTED] dump -0L -f - /dev/ad0s1e | restore -rf - /dev/ad0s1e
 cd /mnt/ufs.3
 ssh [EMAIL PROTECTED] dump -0L -f - /dev/ad0s1f | restore -rf - /dev/ad0s1f
 cd /mnt/ufs.4
 ssh [EMAIL PROTECTED] dump -0L -f - /dev/ad0s1d | restore -rf - /dev/ad0s1d

 # change the following entries in rc.conf, remember everything is
 mounted under /mnt!
 # X = the ecluster number 1,2,3,4,5,6,7,8, etc.
 hostname=new_server_X
 ifconfig_em0=inet 10.0.240.13X netmask 255.255.255.0

 Reboot the new server, it should come up just fine.


   
Your instructions is very helpful. When using on 4.11, -L seems not
working with dump.

Also I have one question, I clone file system from one machine to
another different type of machine. The source machine's file system is
on /dev/da0s1, but destination's is on /dev/ad0s1.  Then I run following
to update boot loader:

fdisk -B -b /boot/boot0 /dev/ad0
bsdlabel -B /dev/ad0s1

However, the cloned system can't find kernel on reboot. What am I missing?

Simon



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


Re: Wine compatibility and performance on FreeBSD 7

2007-12-10 Thread Tom Wickline
On Dec 10, 2007 11:41 PM, Brett Glass [EMAIL PROTECTED] wrote:
 It's worth noting that the WINE project, not long ago, abandoned
 the BSD license for the GPL despite urging from many sources to keep
 the code open and free for use by developers. We've stopped using it
 as a result.

 --Brett Glass


Wins is under a free licence, its LGPL and I'm almost 100% sure you
have no idea why
the licence was changed!

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


Re: Wine compatibility and performance on FreeBSD 7

2007-12-10 Thread Brett Glass
It's worth noting that the WINE project, not long ago, abandoned
the BSD license for the GPL despite urging from many sources to keep
the code open and free for use by developers. We've stopped using it
as a result.

--Brett Glass

At 10:59 AM 12/6/2007, Tom Wickline wrote:
 
Oh yea, were seeking contributors... if your interested in Wine on
FreeBSD and believe you can
help us out see :
http://wine-review.blogspot.com/2007/12/wine-review-is-currently-seeking.html

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


preserving device symlinks across reboots

2007-12-10 Thread David Newman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

To use ntpd with an HP GPS receiver on RELENG-6.2, I have a symlink from
the first serial port to the HP GPS device:

somehost# ls -l /dev/hpgps0
lrwxr-xr-x  1 root  wheel  10 Dec  1 21:06 /dev/hpgps0 - /dev/cuad0

This works fine since the GPS receiver is attached to cuad0.

Problem is, this symlink disappears whenever a reboot is needed, for
example after patching the kernel.

How best to preserve the symlink across reboots? I created an rc.local
file making a new symlink, but maybe there's a better way.

thanks

dn

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFHXiTvyPxGVjntI4IRAtEZAKDyOsiRL1ilB3yUwGGH79IeZ65l6QCgrc2V
OfqdzIvR9ua1kVtD+bdCzRc=
=pfFP
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: preserving device symlinks across reboots

2007-12-10 Thread Peter Boosten
On Tue, December 11, 2007 06:49, David Newman wrote:


 How best to preserve the symlink across reboots? I created an rc.local
 file making a new symlink, but maybe there's a better way.


Have a look at /etc/devfs.conf

man 5 devfs.conf

Peter

-- 
http://www.boosten.org

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


Re: preserving device symlinks across reboots

2007-12-10 Thread Tino Engel

David Newman schrieb:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

To use ntpd with an HP GPS receiver on RELENG-6.2, I have a symlink from
the first serial port to the HP GPS device:

somehost# ls -l /dev/hpgps0
lrwxr-xr-x  1 root  wheel  10 Dec  1 21:06 /dev/hpgps0 - /dev/cuad0

This works fine since the GPS receiver is attached to cuad0.

Problem is, this symlink disappears whenever a reboot is needed, for
example after patching the kernel.

How best to preserve the symlink across reboots? I created an rc.local
file making a new symlink, but maybe there's a better way.

thanks

dn

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFHXiTvyPxGVjntI4IRAtEZAKDyOsiRL1ilB3yUwGGH79IeZ65l6QCgrc2V
OfqdzIvR9ua1kVtD+bdCzRc=
=pfFP
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

  

Check out 'man devfs.conf'

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


Re: Wine compatibility and performance on FreeBSD 7

2007-12-10 Thread Chad Perrin
On Mon, Dec 10, 2007 at 09:41:24PM -0700, Brett Glass wrote:
 It's worth noting that the WINE project, not long ago, abandoned
 the BSD license for the GPL despite urging from many sources to keep
 the code open and free for use by developers. We've stopped using it
 as a result.

Somehow I missed that.

Was there any discussion of a fork?

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Dr. Ron Paul: Liberty has meaning only if we still believe in it when
terrible things happen and a false government security blanket beckons.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Wine compatibility and performance on FreeBSD 7

2007-12-10 Thread Chad Perrin
On Mon, Dec 10, 2007 at 11:44:55PM -0500, Tom Wickline wrote:
 
 Wins is under a free licence, its LGPL and I'm almost 100% sure you
 have no idea why
 the licence was changed!

So . . . why was it changed?

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Leon Festinger: A man with a conviction is a hard man to change. Tell him
you disagree and he turns away. Show him facts and figures and he questions
your sources. Appeal to logic and he fails to see your point.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: CD/DVD writer no longer works

2007-12-10 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Paul Schmehl
 Sent: Thursday, December 06, 2007 1:34 PM
 To: FreeBSD Questions
 Subject: Re: CD/DVD writer no longer works


 --On Thursday, December 06, 2007 19:14:51 +0100 Wojciech Puchar
 [EMAIL PROTECTED] wrote:

  /home/pauls/Downloads/FreeBSD/6.2-RELEASE-amd64-disc1.iso fixate
  burncd: ioctl(CDRIOCWRITESPEED): Input/output error
  [EMAIL PROTECTED] mount /dev/acd
  acd0  acd1
  [EMAIL PROTECTED] mount /dev/acd1 /mnt/cdrom/
  mount: /dev/acd1: Input/output error
 
  mount_cd9660 - unless you use FFS on CD/DVD.

 Yeah, I knew that.  Just mistyped it.  The results are the same in either
 case - input/output error.

  CDB:  00 00 00 00 00 00
  status: 0x2 (CHECK CONDITION)
  Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 00 00 00
 00 00 00 00
  00  00 00 00 00 00 00 00 00 00 00 00
  Sense Key: 0x2 Not Ready, Segment 0
  Sense Code: 0x3A Qual 0x00 (medium not present) Fru 0x0
  Sense flags: Blk 0 (not valid)
  cmd finished after 0.000s timeout 40s
  cdrecord: No disk / Wrong disk!
 
 
  looks like your device is broken - reports no disk

 Does this provide any additional information?
 [EMAIL PROTECTED] atacontrol cap acd1

 Protocol  ATA/ATAPI revision 5
 device model  TSSTcorpCD-RW TS-H292B
 serial number
 firmware revision DE03
 cylinders 0
 heads 0
 sectors/track 0
 lba supported
 lba48 not supported
 dma supported
 overlap not supported

 Feature  Support  EnableValue   Vendor
 write cacheno   no
 read ahead no   no
 Tagged Command Queuing (TCQ)   no   no  0/0x00
 SMART  no   no
 microcode download no   no
 security   no   no
 power management   yes  yes
 advanced power management  no   no  0/0x00
 automatic acoustic management  no   no  0/0x00  0/0x00

 The result of this command doesn't change if there's a known good
 CD in the
 drive.  And are you saying that the *device* appears to be bad?  Or the
 *driver* appears to be bad?  Is there a way to confirm this
 (utility?  test
 process?)


Blow CD drive out real well with a can of compressed air.

You might have dust obscuring the optical pickup that tells
the drive that there's a disk in it.

If that doesen't work, then scrap the drive.  New ones are very
cheap.  Or better yet get yourself a nice DVD burner.

You can confirm the drive is bad by testing it under Windows.
This is assuming of course that you don't trust FreeBSD.
Presumably you have access to another system you can swap the
drive out with.

Ted
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.17.0/1180 - Release Date: 12/10/2007
2:51 PM

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


Re: Problem with NAT/RDR in PF

2007-12-10 Thread Erik Norgaard

Michael Smith wrote:

I simply let my register transfer the zone file daily, works fine.  
If you need to update the zone file regularly just reduce the max  
age of the zone.


Hello Erik:

Well, aside from doing a *lot* of queries, it's nice to have a single  
IP address fronting a set of servers so I can pull one out for  
maintenance at any time and it doesn't affect name resolution for the  
clients.


Well, if you search google for pf round robin load balance you will
find this first:

http://www.openbsd.org/faq/pf/pools.html

There is an example of how to do just what you want, although they use a
web server in the example.

Cheers, Erik


--
Erik Nørgaard
Ph: +34.666334818   http://www.locolomo.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Userdir mod in apache2.2

2007-12-10 Thread Alain G. Fabry
On Mon, Dec 10, 2007 at 10:13:58AM -0600, Paul Schmehl wrote:
 --On Monday, December 10, 2007 09:35:14 +0100 Alain G. Fabry 
 [EMAIL PROTECTED] wrote:
 
 Apache/2.2.6 (FreeBSD)
 PHP Version 5.2.5
 FreeBSD 6.2
 
 Trying to get the userdir module to work but it seems to fail all the
 time due to 'You don't have permissions'
 
 
 
 
 But I just cannot get my userdir to functions correctly.
 
 What am I missing?
 
 Post the results of this:
 grep ServerName /usr/local/etc/apache22/httpd.conf
 
 -- 

Not sure why this would matter but here we go anyway,

# ServerName gives the name and port that the server uses to identify itself.
ServerName localhost:80

FYI, I'm trying http://localhost/~username/ on the local machine (webserver), 
so I assume that the ServerName doesn't matter.





 Paul Schmehl ([EMAIL PROTECTED])
 Senior Information Security Analyst
 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]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DVD's and FreeBSD

2007-12-10 Thread Gary Kline
On Tue, Dec 11, 2007 at 12:56:50AM +, RW wrote:
 On Mon, 10 Dec 2007 15:39:51 -0800
 Gary Kline [EMAIL PROTECTED] wrote:
 
 
  With kmplayer, altho it works with virtually everything,
  it is a bi tclunky.  Also, it will not show the menu part 
  of my DVD.  So far, vlc wins (in my lineup).  But it's not
  intuitive at  all.  A cheet-sheet of the 50 top places to
  click would be a plus.  
 
 Have you tried using Xine directly?
 
 Personally I don't much like VLC on UNIX, I think its reputation comes
 from good experiences on Windows. I've never seem VLC do anything that
 at least one of mplayer or xine wouldn't do better, and it seems to be
 the least successful of the three in playing obscure formats.
 ___
 freebsd-questions@freebsd.org mailing list


Xiiine? not yet, but intend to...  Right now   I'm
wedged trying to copy a  6 gig DVD into   a   4.7GB blank.
Things keep failing,  and I do not know WHAT I'm doing
wrong.

they have vlc for windows??? hmm, goood, iii
s'pose.







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

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
  http://jottings.thought.org   http://transfinite.thought.org

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