Re: Cleaning Out Ports?

2005-02-01 Thread Christopher Illies
On Mon, Jan 31, 2005 at 08:32:41PM -0500, Matt LaPlante wrote:
 
 I know the ports system is designed to install dependencies automatically,
 but how does one go about removing them?  Say one large package installs
 several dependencies, but then later on that package is removed...and now
 we're left with several orphaned packages.  Is there a way to either detect,
 or even automatically clean out orphaned packages?  I'm particularly
 concerned because I'm dealing with a few systems which are rather well aged,
 and have gone through several upgrade cycles.  I know the Linux version of
 the ports system found in Gentoo (portage) offers extensive functionality
 for finding and removing orphaned dependencies, so I'm hoping FreeBSD has
 some such feature as well.  Thanks.

Have a look at /usr/ports/sysutils/pkg_cutleaves. It is a script that
detects and removes orphaned dependencies.

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


Re: realplay-10

2005-02-01 Thread Gary Kline
On Mon, Jan 31, 2005 at 10:12:47PM -0800, Kent Stewart wrote:
 On Monday 31 January 2005 09:35 pm, Gary Kline wrote:
  On Mon, Jan 31, 2005 at 06:01:33PM -0800, Kent Stewart wrote:
   On Monday 31 January 2005 03:46 pm, Gary Kline wrote:
Folks,
   
  Sound advice ... at least from what I'm seeing, thank you.
  Somehw, I was minus /usr/local binaries like automake14.  (?)
  Doing a make reinstall, my system saw them as installed.
  Lots of stuff breaking.  It might be time to fo a
  portupgrade -fRa.  Gulp!
 
 I do that every so often but it takes most of a day on the AMD 2400+. In 
 between, I only fix what is broken. That doesn't take as long :). You 
 could probably start with the packages that were built for 4.11-R. A 
 portupgrade -Pfa wouldn't take as long but would build anything that 
 has been updated.
 

Wow, you've got a fast server!  My main one, this one, is 
a homebrew i815 from Aug01 that has .75G RAM and runs
at roughly 700MHz.  Plenty fast for Unix, even loaded to
4.00+ when I'm doing several things.  

Anyway, last fall I did a portypgrade -fa on my 600 ports.
Rebuilding everything took around 5 days.  I'm
making notes of your suggestions for the next time 
something goes awry!

gary

PS: personal note: what's the general reaction to the
vitrification plant over by you?  should we offline this?


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

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


Re: realplay-10

2005-02-01 Thread Gary Kline
On Tue, Feb 01, 2005 at 04:59:40PM +1030, Ian Moore wrote:
 On Tue, 1 Feb 2005 10:16, Gary Kline wrote:
  Folks,
 
  I never got any responses over the weekend; maybe people
  who knew were of skiing or whatever.
 
  Does realplay-10 work on FBSD-4.10?  I have it successfully
  installed, almost push-button, on my two 5.3 platforms.
  But here on tao,  no-joy.  I get a strange error message
  about fontconfig.  No more.
 
  Anybody??
 
  gary
 
 I had that problem last week - all you need to do is run fc-cache as root.
 

Not to e rude or anything, but what the heck is 'fc-cache'? 
What is it? what's it do? where is the binary amd assoc files?

gary




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

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


Re: Ftp behind firewall/nat

2005-02-01 Thread Dick Hoogendijk
On 31 Jan eric wyzerski wrote:
 The solution is to explicitly tell your FTP server what to report as its 
 IP address, and give it a range of ports to give out as well.

 unix-server configuration file as follows: passive ports 
 0.0.0.0/0 32768 49151
 passive address your.pub.IP.addr 0.0.0.0/0
 
 At the time of writing, it's been reported that Microsoft IIS's FTP
 server is not capable of being configured this way.

 so, my problem exactly this: the client try to connect to 10.1.1.6 and
 not my external IP address. guess what? Im using IIS ftp server (I
 cant use anything else), so does there is a way to resolve this
 problem on doing something on the routeur (ipnat)?

Only solution is open all your high incoming ports. You don't want
that of course ;-)

There is NO other way PASS can be handled or redirected. You *need* to
know beforehand which ports exactly will be opened.

Aks microsoft why they won't support this feature. They are moving into
a more secure OS (at least they say they are..)

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11 ++ FreeBSD 5.3
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ftp behind firewall/nat

2005-02-01 Thread Erik Norgaard
eric wyzerski wrote:
My setup work wells with Active ftp but not with passive ftp. Your setup 
doestnt work with passive ftp. From ipfilter faq:
# I have an FTP server behind an IPF firewall, and I'm having problems 
serving passive FTP.
Sorry, from your original post it was not clear to me if your problem 
was ftp-client behind nat or ftp-server behind nat. The solution I gave 
solve the ftp-client behind nat problem, both active and passive ftp.

The IPF howto also notes that setting up an ftp server behind a NAT is a 
mess and one should _not_ try to reverse the setup for ftp-client behind 
nat. I don't have the solution for server behind nat.

passive ports 0.0.0.0/0 32768 49151
   passive address your.pub.IP.addr 0.0.0.0/0
I don't know what is standard or if there is one, but IANA has assigned 
ports  49151 for dynamic port allocation, which seems to suggest that 
the ports chosen should be in that interval.

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


Re: New Port PR not listed

2005-02-01 Thread Matthew Seaman
On Sat, Jan 29, 2005 at 10:44:54PM -0800, Loren M. Lang wrote:
 A week ago I used send-pr to send in a new port for a package called
 cinelerra I just ported to FreeBSD.  I was looking at the pr summary
 page on the FreeBSD site and couldn't find my pr.  Does this mean that
 there could of been a problem with my pr getting sent or just that no
 one has taken a look at it and officially posted it yet?

No.  It probably means that the FreeBSD mail server has rejected your
e-mail as part of it's anti-spam settings.  It's very strict about
accepting only absolutely correctly addressed e-mails.  If the e-mail
isn't up to scratch, it will be silently dropped into /dev/null.

One thing that will often trip you up when using send-pr(1) is having
sendmail(8) correctly set up on the local machine -- most mail
programs such as Thunderbird will speak directly to your ISPs smart
mail host and will fill in the correct e-mail addresses for you.  One
thing that will cause your e-mail to be instantly rejected is if it is
sent using an unreachable 'From' address.  You can fill in the correct
address in the send-pr(1) editing screen, but it's easier in the long
run to configure sendmail to insert appropriate addresses
automatically.

The 'MASQUERADE' features of sendmail are generally what you need to
do that, although there are other mechanisms available.  Look for the
documentation in /usr/share/sendmail/cf/README on:

MASQUERADE_AS(`example.com')
FEATURE(`masquerade_envelope')

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   8 Dane Court Manor
  School Rd
PGP: http://www.infracaninophile.co.uk/pgpkey Tilmanstone
Tel: +44 1304 617253  Kent, CT14 0JL UK


pgpcTdEcKORk0.pgp
Description: PGP signature


Re: Cleaning Out Ports?

2005-02-01 Thread Dick Hoogendijk
On 31 Jan Michael C. Shultz wrote:

 If sysutils/pkg_cutleaves isn't right, please provide good detail why.

What's the benefir over using portsclean -D or portsclean -CDPP
Works like a charm. (see man portsclean).

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11 ++ FreeBSD 5.3
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How do I submit a bug?

2005-02-01 Thread Nigel Horne
When you hit submit bug you get:

Incorrect safety code
You need to enter the correct code from the image displayed. Please return to 
the form and enter the code exactly as shown. Thank you.

I have tried 5 times, and double checked I've typed it in right, but your site 
always rejects the code.

-- 
Nigel Horne. Arranger, Composer, Typesetter.
NJH Music, Barnsley, UK.  ICQ#20252325
[EMAIL PROTECTED] http://www.bandsman.co.uk
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cleaning Out Ports?

2005-02-01 Thread Michael C. Shultz
On Tuesday 01 February 2005 01:31 am, Dick Hoogendijk wrote:
 On 31 Jan Michael C. Shultz wrote:
  If sysutils/pkg_cutleaves isn't right, please provide good detail
  why.

 What's the benefir over using portsclean -D or portsclean -CDPP
 Works like a charm. (see man portsclean).

Portsclean has nothing to do with what Matt is looking for. He is trying 
to remove ports that are installed but have no useful purpose.

-Mike

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


Perl modules

2005-02-01 Thread peter.lidell
Hello,

I have to do thise things:

A) if Perl is installed from pkg_add and not the ports, uninstall it.
pkg_delete -f perl5.8
B) add ENABLE_SUIDPERL=true to /etc/make.conf
C) cd to /usr/ports/lang/perl5.8
D) make -DENABLE_SUIDPERLTRUE install clean
E) re-install all the perl modules from the ports.
F) Follow the QMR manual to the T!!!

The Re-install of the perl modules from ports part How do I do that? How 
do I id all my perl modules and is there a way to re-install them all together?
Hope you all can help me out.
Thanks for your time.

Kind regards

Peter


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


Re: Perl modules

2005-02-01 Thread Gary Hayers
[EMAIL PROTECTED] wrote:
Hello,
I have to do thise things:
A) if Perl is installed from pkg_add and not the ports, uninstall it.
pkg_delete -f perl5.8
B) add ENABLE_SUIDPERL=true to /etc/make.conf
C) cd to /usr/ports/lang/perl5.8
D) make -DENABLE_SUIDPERLTRUE install clean
E) re-install all the perl modules from the ports.
F) Follow the QMR manual to the T!!!
The Re-install of the perl modules from ports part How do I do that? How 
do I id all my perl modules and is there a way to re-install them all together?
Hope you all can help me out.
Thanks for your time.
See /usr/ports/UPDATING entry 20040730
--
Regards,
Gary Hayers
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How do I submit a bug?

2005-02-01 Thread Irvin Piraman
man send-pr

or see here:

http://www.freebsd.org/cgi/man.cgi?query=send-prapropos=0sektion=0manpath=FreeBSD+5.3-RELEASE+and+Portsformat=html

HTH

Irvin

On Tue, 1 Feb 2005 09:34:58 +, Nigel Horne [EMAIL PROTECTED] wrote:
 When you hit submit bug you get:
 
 Incorrect safety code
 You need to enter the correct code from the image displayed. Please return to 
 the form and enter the code exactly as shown. Thank you.
 
 I have tried 5 times, and double checked I've typed it in right, but your 
 site always rejects the code.
 
 --
 Nigel Horne. Arranger, Composer, Typesetter.
 NJH Music, Barnsley, UK.  ICQ#20252325
 [EMAIL PROTECTED] http://www.bandsman.co.uk
 ___
 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: SUDO

2005-02-01 Thread Daniel Bye
On Tue, Feb 01, 2005 at 06:23:41AM +0100, Java Beans wrote:
 What do i have to enter in /etc/sudoers in order to give
 some user group the permission to start k3b with root
 permissions?

Something like this should work.  visudo compiles it happily enough,
anyway...

User_Alias  K3BUSERS = user1, user2, user3, ... usern
Cmnd_Alias  K3B = /path/to/k3b

K3BUSERS   ALL = (root) NOPASSWD: K3B

Take a look at sudoers(5). 

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpGkfEPpyCBQ.pgp
Description: PGP signature


Re: realplay-10

2005-02-01 Thread Ian Moore
On Tue, 1 Feb 2005 19:32, Gary Kline wrote:
 On Tue, Feb 01, 2005 at 04:59:40PM +1030, Ian Moore wrote:
  On Tue, 1 Feb 2005 10:16, Gary Kline wrote:
   Folks,
  
   I never got any responses over the weekend; maybe people
   who knew were of skiing or whatever.
  
   Does realplay-10 work on FBSD-4.10?  I have it successfully
   installed, almost push-button, on my two 5.3 platforms.
   But here on tao,  no-joy.  I get a strange error message
   about fontconfig.  No more.
  
   Anybody??
  
   gary
 
  I had that problem last week - all you need to do is run fc-cache as
  root.

   Not to e rude or anything, but what the heck is 'fc-cache'?
   What is it? what's it do? where is the binary amd assoc files?

   gary

from man fc-cache:
NAME
   fc-cache,  fonts.cache  -  create  an index of FreeType font files in a
   directory

It's normally run when you add new fonts to your system. Of course if you use 
kde's font control panel or something similar, it runs fc-cache for you.
It's part of X  lives in /usr/X11R6/bin/

When you install linux-base, is installs a linux version too 
(under /usr/compat/linux), but it appears to use the FBSD configuration 
somehow, since running fc-cache fixes the cache for linux apps as well as 
native ones.

Cheers,
-- 
Ian Moore

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgpKiA9kyS6U6.pgp
Description: PGP signature


Re: mounted ext2 fs causes bad shutdown

2005-02-01 Thread Loren M. Lang
On Tue, Feb 01, 2005 at 07:53:42AM +0200, Giorgos Keramidas wrote:
 On 2005-02-01 05:16, Oliver Fuchs [EMAIL PROTECTED] wrote:
 On Mon, 31 Jan 2005, Loren M. Lang wrote:
  On a FreeBSD 5.3 system of mine that is dual boot with linux I have
  my linux home partition which is ext3fs mounted on freebsd.  Anytime
  I reboot or halt freebsd while it is mounted, freebsd fails to sync
  all it's buffers.
 
  You first have to umount the linux partition. I have this uncommented
  in my /etc/rc.shutdown (I have it from the list):
 
  #extfs=`eval mount | grep ext2fs | awk '{print $1 }'`
  #for _elem in $extfs; do
  #   echo -n Unmounting ext2/ext3 filesystems: 
  #   umount -a -t ext2fs
  #   echo -n $_elem 
  #done
  #
  #echo '.'
  #exit 0
 
 What you have is not correct.
 
 A more correct approach would be to actually *USE* the _elem iterator in
 the loop, instead of just echoing it.
 
 There is also a bug lurking in there.  The script prints the
 Unmounting message once for each unmounted filesystem.
 
 One of the many ways to do the same thing without the bugs could be:
 
 #   extfs=$(mount | grep '^/.*(ext2fs,' | awk '{print $1}')

Actually, better than that would be extfs=$(mount -t ext2fs | awk '{print $1;}')
Or even just replace the whole thing with umount -a -t ext2fs

 #   if [ -n ${extfs} ]; then
 #   echo -n Unmounting ext2/ext3 filesystems:
 #   for _elem in ${extfs} ;do
 #   umount ${_elem}  echo -n  ${_elem}
 #   done
 #   echo '.'
 #   fi
 #   unset extfs
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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

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


php mbstring

2005-02-01 Thread Gert Cuykens
The mbstring PHP extension was not found and you seem to be using
multibyte charset. Without mbstring extension phpMyAdmin is unable to
split strings correctly and it may result in unexpected results.

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


Flash 6 Slow with Mozilla

2005-02-01 Thread Loren M. Lang
I've been trying out the macromedia flash 6 plugin with mozilla recently
by playing some flash games and everything seems to run much more slowly
than they should.  They run just fine on the same system running linux
so I'm wondering if this is just a problem with freebsd's linux emulation.
I'm using a native build of mozila 1.7.x with flash 6 on FreeBSD 5.3
running on a P4 2.4GHz with 1G 'o DDR 2700 ram so my system is plenty
fast.  Do other people have the same problem with it running slow or
would something be misconfigured on my system.  I'm also using
linux_base-rh-9, but I think it was the same with version 7 or 8.
-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

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


Re: php mbstring

2005-02-01 Thread Kevin Kinsey
Gert Cuykens wrote:
The mbstring PHP extension was not found and you seem to be using
multibyte charset. Without mbstring extension phpMyAdmin is unable to
split strings correctly and it may result in unexpected results.
So how do you do that ?
 

PHP extensions are now seperate from PHP itself, see entry
20040719 in /usr/ports/UPDATING.
Kevin Kinsey
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cleaning Out Ports?

2005-02-01 Thread Loren M. Lang
On Mon, Jan 31, 2005 at 06:22:58PM -0800, Michael C. Shultz wrote:
 On Monday 31 January 2005 06:16 pm, Matt LaPlante wrote:
  Well what I'm more concerned with is how would you locate orphaned
  dependencies after the fact.  For a parallel example, in gentoo you
  would emerge --depclean which searches the tree for any orphaned
  packages and removes them.  So say I hadn't used the -r flag when
  removing packages on BSD, how could I find the leftovers later?
 
 Look at /usr/ports/sysutils/pkg_cutleaves
 
 here is a excerpt from its man page:
 
 pkg_cutleaves  finds  installed 'leaf' packages, i.e. packages that are
  not referenced by any other installed package, and lets you decide  for
  each  one  if  you want to keep or deinstall it (via pkg_deinstall(1)).
 Once the packages marked for  removal  have  been  flushed/deinstalled,
  you'll  be  asked  if  you want to do another run (to see packages that
  have become 'leaves' now because you've deinstalled the package(s) that
  depended  on  them).  In every run you will be shown only packages that
  you haven't marked for keeping, yet.

There's still one missing part to it that gentoo's portage has.  In
addition to the standard database of installed packages, emerge keeps track
of every single package that you explicitly installed in a file called
world.  Upgrades read this file and update all the packages listed,
including there dependencies first.  Now if a package that was installed
to satisfy a dependency, but not explicitly installed is now longer
needed, it will stay on the system until the next time emerge --depclean
is run.  --depclean tells emerge to remove any packages that are not in
the world file and are not needed to satify dependencies for packages in
the world file, either directly or indirectly.  I think this is the
behavior that the original poster was asking for.  AFAIK, this is not
yet possible in FreeBSD, but it should be a trivial matter to add
something like a world file to portupgrade.  Maybe, if I have time this
week I could work on a patch...

 
  --
  Matt LaPlante
  System Administrator
  Center for Automation Technologies
  RPI/CAT, CII 8015
  110 8th Street
  Troy, NY 12180
  Phone: (518) 276-2275
  [EMAIL PROTECTED]
  www.cat.rpi.edu
 
   -Original Message-
   From: Pat Maddox [mailto:[EMAIL PROTECTED]
   Sent: Monday, January 31, 2005 8:55 PM
   To: Matt LaPlante
   Cc: freebsd-questions@freebsd.org
   Subject: Re: Cleaning Out Ports?
  
   If you try to remove a package that has child dependencies, then
   it'll let you know.  You'll have to use the -f flag to force it to
   delete the package, despite there being any dependencies.  If you
   want to delete a package along with all its dependencies, you can
   use the -r flag.
  
   Use pkgdb -F to fix any dependencies that might be broken.
  
   I think that's about right.  I'm a FreeBSD newbie :)
 
  ___
  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]

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

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


Re: Any experience with KeySpan USA-19W?

2005-02-01 Thread Loren M. Lang
On Mon, Jan 31, 2005 at 11:03:24PM -0500, Glenn Sieb wrote:
 Or any other USB-to-Serial adapters? Do they work well in FreeBSD 
 5.3-RELASE?
 
 http://www.keyspan.com/products/usb/USA19W/
 
 We're looking to set up a console server in our colo, and these looked 
 like a good way of doing multiple serial ports fairly cheaply.

I've worked with similar keyspan adapters with linux before, but it
doesn't seem that any of them are supported in freebsd yet.  It's a
shame as there the best USB-Serial adapters I've used.  If anyone has
any other recommendations for adapters, I'd be intrested to hear them.

 
 Thanks in advance! :)
 
 Best,
 --Glenn
 
 -- 
 They that can give up essential liberty to obtain a little temporary 
 safety deserve neither liberty nor safety. 
  ~Benjamin Franklin, Historical Review of Pennsylvania, 1759
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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

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


Re: How do I submit a bug?

2005-02-01 Thread Kevin Kinsey
Nigel Horne wrote:
When you hit submit bug you get:
Incorrect safety code
You need to enter the correct code from the image displayed. 
Please return to the form and enter the code exactly as shown. Thank you.

I have tried 5 times, and double checked I've typed it in right, but 
your site always rejects the code.
 


Hello, Nigel:
For a time, the web interface to send-pr(1) was disabled on
purpose.  The last I had heard, it was enabled again, but I'm
not authoritative on that.  I would assume that the image to
prove you're not a robot was added to partially address the
concerns that led to the page being disabled in the first place.
However, it appears from your post that the page isn't working
now; if you can use send-pr(1) from a terminal on your machine, it
will have the same effect as submitting the form, as Ira mentioned.
It also might be helpful to send your mail to [EMAIL PROTECTED];
this team is responsible for the documentation and the web-site,
and probably they would like to know of the difficulty you're
having.
Hmm, I'll tell you what, I'll cc: this over there as well...
Have a great day,
Kevin Kinsey
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How do I submit a bug?

2005-02-01 Thread Nigel Horne
Thanks,

(FYI, it's not a bug report, it's a request for software to be added to the 
ports, but
I couldn't work out a proper way to do that on the website).

-Nigel

-- 
Nigel Horne. Arranger, Composer, Typesetter.
NJH Music, Barnsley, UK.  ICQ#20252325
[EMAIL PROTECTED] http://www.bandsman.co.uk
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Screen refresh rate in the console.

2005-02-01 Thread Michael
Hello, folks, first of all I have to apologize for my english.

  My aim is to change screen resolution in FreeBSD console, only way
that I see now - using of vidcontrol(1). I've compiled my kernel with
proper options: SC_PIXEL_MODE and VGA_WIDTH90 and vga device. After
rebooting I obtained abbility to set some modes. But e.g. after
issuing 'vidcontrol -g 100x37 VESA_800x600' (refering to man page)
vertical refresh rate falling down from 70Hz to 60Hz, which I found
terrible for my eyes.. (I consider that 70Hz is bad too, but it's the
maximum that I've ever seen on FreeBSD machine..).
  So, the question is: how to set another refresh rate, and is it
possible to set e.g. 1024x768 mode?

Thank you for any help, promptings or advice. Have a nice day.

##
OS: FreeBSD 5.3-RELEASE-p5
Video: NVIDIA GeForce4 MX 440 (AGP 8x)
Display: Rolsen C708
Kernel additions:
options VGA_WIDTH90
options SC_PIXEL_MODE
options VESA
Full dmesg: http://www.epicsol.org/~misha/tmp/dmesg
Full kernel: http://www.epicsol.org/~misha/tmp/kernel
##
#vidcontrol -i mode
mode# flags   typesize   font  window  linear buffer
--
 24 (0x018) 0x0001 T 80x25   8x16  0xb8000 32k 32k 0x 32k
 30 (0x01e) 0x0001 T 80x50   8x8   0xb8000 32k 32k 0x 32k
 32 (0x020) 0x0001 T 80x30   8x16  0xb8000 32k 32k 0x 32k
 34 (0x022) 0x0001 T 80x60   8x8   0xb8000 32k 32k 0x 32k
 40 (0x028) 0x0001 T 90x25   8x16  0xb8000 32k 32k 0x 32k
 42 (0x02a) 0x0001 T 90x30   8x16  0xb8000 32k 32k 0x 32k
 46 (0x02e) 0x0001 T 90x50   8x8   0xb8000 32k 32k 0x 32k
 48 (0x030) 0x0001 T 90x60   8x8   0xb8000 32k 32k 0x 32k
256 (0x100) 0x000f G 640x400x8 1 8x16  0xa 64k 64k 0xf400 65536k
257 (0x101) 0x000f G 640x480x8 1 8x16  0xa 64k 64k 0xf400 65536k
258 (0x102) 0x000b G 800x600x4 4 8x16  0xa 64k 64k 0x 65536k
259 (0x103) 0x000f G 800x600x8 1 8x16  0xa 64k 64k 0xf400 65536k
260 (0x104) 0x000b G 1024x768x4 48x16  0xa 64k 64k 0x 65536k
261 (0x105) 0x000f G 1024x768x8 18x16  0xa 64k 64k 0xf400 65536k
262 (0x106) 0x000b G 1280x1024x4 4   8x16  0xa 64k 64k 0x 65536k
263 (0x107) 0x000f G 1280x1024x8 1   8x16  0xa 64k 64k 0xf400 65536k
264 (0x108) 0x000d T 80x60   8x8   0xb8000 32k 32k 0xf400 65536k
265 (0x109) 0x000d T 132x25  8x16  0xb8000 32k 32k 0xf400 65536k
266 (0x10a) 0x000d T 132x43  8x9   0xb8000 32k 32k 0xf400 65536k
267 (0x10b) 0x000d T 132x50  8x8   0xb8000 32k 32k 0xf400 65536k
268 (0x10c) 0x000d T 132x60  8x8   0xb8000 32k 32k 0xf400 65536k
270 (0x10e) 0x000f G 320x200x16 18x8   0xa 64k 64k 0xf400 65536k
271 (0x10f) 0x000f G 320x200x32 18x8   0xa 64k 64k 0xf400 65536k
273 (0x111) 0x000f G 640x480x16 18x16  0xa 64k 64k 0xf400 65536k
274 (0x112) 0x000f G 640x480x32 18x16  0xa 64k 64k 0xf400 65536k
276 (0x114) 0x000f G 800x600x16 18x16  0xa 64k 64k 0xf400 65536k
277 (0x115) 0x000f G 800x600x32 18x16  0xa 64k 64k 0xf400 65536k
279 (0x117) 0x000f G 1024x768x16 1   8x16  0xa 64k 64k 0xf400 65536k
280 (0x118) 0x000f G 1024x768x32 1   8x16  0xa 64k 64k 0xf400 65536k
282 (0x11a) 0x000f G 1280x1024x16 1  8x16  0xa 64k 64k 0xf400 65536k
283 (0x11b) 0x000f G 1280x1024x32 1  8x16  0xa 64k 64k 0xf400 65536k
304 (0x130) 0x000f G 320x200x8 1 8x8   0xa 64k 64k 0xf400 65536k
305 (0x131) 0x000f G 320x400x8 1 8x16  0xa 64k 64k 0xf400 65536k
306 (0x132) 0x000f G 320x400x16 18x16  0xa 64k 64k 0xf400 65536k
307 (0x133) 0x000f G 320x400x32 18x16  0xa 64k 64k 0xf400 65536k
308 (0x134) 0x000f G 320x240x8 1 8x8   0xa 64k 64k 0xf400 65536k
309 (0x135) 0x000f G 320x240x16 18x8   0xa 64k 64k 0xf400 65536k
310 (0x136) 0x000f G 320x240x32 18x8   0xa 64k 64k 0xf400 65536k
317 (0x13d) 0x000f G 640x400x16 18x16  0xa 64k 64k 0xf400 65536k
318 (0x13e) 0x000f G 640x400x32 18x16  0xa 64k 64k 0xf400 65536k
325 (0x145) 0x000f G 1600x1200x8 1   8x16  0xa 64k 64k 0xf400 65536k
326 (0x146) 0x000f G 1600x1200x16 1  8x16  0xa 64k 64k 0xf400 65536k
327 (0x147) 0x000f G 1400x1050x8 1   8x14  0xa 64k 64k 0xf400 65536k
328 (0x148) 0x000f G 1400x1050x16 1  8x14  0xa 64k 64k 0xf400 65536k
338 (0x152) 0x000f G 2048x1536x32 1  8x16  0xa 64k 64k 0xf400 

Re: Booting FreeBSD-5.3 from NTLDR

2005-02-01 Thread Loren M. Lang
On Tue, Feb 01, 2005 at 10:04:12AM +0400, Rakhesh Sasidharan wrote:
 On Mon, 31 Jan 2005 16:06:39 +, Mark Ovens [EMAIL PROTECTED] wrote:
 
  Hehe! I did it the hard way; I manually recreated the partition table -
  3 partitions! In fact.[roots around in drawer]..yes, still got
  the printout of the spreadsheet I used to calculated the start and end
  CHS values - don't know why, the disk was replaced ages ago :-)
 
 Hehe! How did u manually recreate the partition table? U had the sizes
 and sectors etc stored somewhere? On my previous machine, I used to
 have fdisk listings of all my disks as a printout -- coz I've done
 this kind of goofups many a times, and so usually have been careful to
 keep a listing of the sector values etc. But this time, I was on my
 parents' machine, and since I hadn't really started using it big time,
 I was careless enough not to take a precaution like this. (But I guess
 I was not thaaat careless enough to not take backups either, hehe!)
 
 I was lucky to find this demo program called Active Partition UnEraser
 or something. Being demo, it would only show me the starting and
 ending sectors of all the partitions -- but that was fine with me coz
 once I got those values, it was just a matter of noting them down and
 then booting into Linux (coz that's what I had apart from FreeBSD) and
 recreating the tables using its fdisk program. :))
 
  IRCC, boot0 is the MBR and boot1 is the boot sector (of the FreeBSD
  partition (slice)) and they only ontain info about the local disk, i.e.
  _relative_ info in effect, so if FreeBSD is on your second disk and you
  copy boot1 to C:\BOOTSECT.BSD and add an entry for it in BOOT.INI then
  NTLDR has know way of knowing that it refers to the second HDD and so
  can't boot because the info doesn't match the layout of the first HDD.
  Remember boot0 and boot1 are restricted to 512bytes - one sector. That
  is the reason as far as remember.

I think that you should be able to use boot0 and boot1 as a file once
the apropriate fields are filled in.  When boot0 and boot1 are written
to the disk in their special locations, several bytes of each file are
modified to reflex various paramaters like which disk or partition they
should use.  You should be able to extract them with dd and boot them
externally from my understanding of it.  boot1 is normally written to
the first sector of the partitionthat freebsd is installed on, if that's
the first partition on ur second hard drive then:

dd if=/dev/ad1s1 of=boot1.img count=1

will extract the file to boot1.img might NTLDR should be able to use.

dd if=/dev/ad1 of=boot0.img count=1

Will extract boot0 from the first sector of the second hard drive,
otherwise know as the Master Boot Record.  If you use boot0, make sure
you disable the update feature of it.  boot1 on the other hand doesn't
modify anything.  boot1's sole purpose is to load the second stage boot2
which is stored a little deeper into the slice and is bigger than 1
sector.  boot1 is needed to get around a limitation of 512 bytes for the
boot sectore of the slice.  For NTLDR, you shouldn't need to worry about
boot2 though, just extract boot1 as shown above.

 
 Oh yeah ... doh! Silly me! Ofcourse boot1 contains the info relative
 to the FreeBSD disk, so copying it across to C:\BOOTSECT.BSD wont
 help! Silly me! :)) So that's why copying boot1 and loader didn't help
 -- coz they were all relative to the FreeBSD disk. And copying boot0
 too didnt help coz of the MBR re-writing thingy. :p
 
 What magic does BootPart do, I still wonder! I mean, if its just
 extracting the bootsectors as the program says, then an alternative
 way of extracting (like dd etc) too should work! But they dont --
 meaning, BootPart does more than just extracting, I guess.
 
 -- 
   -- Rakhesh
  [EMAIL PROTECTED]
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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

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


Re: running interactive program from shell script

2005-02-01 Thread Loren M. Lang
On Sun, Jan 30, 2005 at 05:33:51AM -0600, Jay Moore wrote:
 I need a shell script that initiates a telnet session to another host. I have 
 come up with the following, but unfortunately it terminates when the script 
 is finished. What I wanted was for the telnet session to remain alive and 
 interactive until manually terminated.
 
 Is there a way to accomplish this in a shell script? 
 
 I've been told that I'll have to use expect or similar to accomplish this, 
 but it seems to me that I should be able to do this using just Bourne shell 
 commands. 
 
 #! /bin/sh
 
 (sleep 3;
 echo password;
 sleep 3;
 echo ls -la;
 sleep 3;
 ) | telnet -l user 192.168.0.2

When any command is run by default, it's standard input comes from the
same place as it's parent process.  When you run this shell script from
your prompt, it inherits a standard input coming from your keyboard and
any command it runs inherit the same input as the shell.  The same goes
for a processes standard output which it to your screen.  Now when you
run a pipe (|), thing are a little different, the standard input and
output get redirected a little bit.  The following command sets up a
pipe between two programs:

  leftProgram | rightProgram

leftProgram's standard input is still from the keyboard, but it's output
gets redirected to the standard input of rightProgram and rightPrograms
standard output goes to the screen as usual.  Everything rightProgram
reads on standard input comes only from leftProgram's standard output,
it's no longer reading from the keyboard.  When leftProgram's done
sending output and exits, rightProgram sees and End Of File (EOF) and,
in general, will exit since there's nothing more to read.  In your
example, you set up a sub-shell which runs 5 command, 3 sleeps and 2
echos, once the sub-shell exits, telnet just sees and EOF and exits.
The control charater ^D means EOF, on a blank terminal that you don't
mind logging out of, try hitting Control-D and see what happens.  It
will logout usually, that's what happened to telnet.

Now guess what programA | programB | programC does...

programB never writes to the monitor or reads from the keyboard.
Working with pipes is one of the most basic things, albeit most useful
things that has made UNIX famous.

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

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

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


Re: removing phpMyAdmin

2005-02-01 Thread Kevin Kinsey
Matthew Seaman wrote:
On Thu, Jan 27, 2005 at 01:17:38PM -0800, Curtis Vaughan wrote:
 

Hold on a minute -- didn't I already answer this e-mail a few days
ago? Deja-vu all over again...
Cheers,
	Matthew
 

Me 2, and Mike Schultz, Jim Pazarena, Chris Hopkins...
Personally, I think Curtis's server's spam settings are
a little too tight, and he doesn't read the list ...
I might be wrong
Kevin Kinsey
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How does FreeBSD access NetBSD, OpenBSD?

2005-02-01 Thread Loren M. Lang
On Thu, Jan 27, 2005 at 07:17:33PM -0800, Loren M. Lang wrote:
 I have FreeBSD, OpenBSD, and NetBSD on the same hard drive of my system.
 How can I mount the NetBSD or OpenBSD partitions from FreeBSD?
 
 Slice 1 - Ext3fs for data between linux/bsd
 Slice 2 - OpenBSD slice with 4 ufs partitions and swap (a,b,e,f,g)
 Slice 3 - FreeBSD slice with 4 ufs partitions and swap (a,b,d,e,f)
 Slice 4 - Extended slice composed of:
Slice 5 - NetBSD slice with 4 ufs partitions and swap (a,b,e,f,g)
Slice 6 - Unformatted as of yet.
 
 FreeBSD is, of course running fine, but I can't see any of the other
 slices/partitions on the drive including the ext3fs partition.
 $ ls /dev/ad1*
 /dev/ad1/dev/ad1s3  /dev/ad1s3c /dev/ad1s3f
 /dev/ad1s6
 /dev/ad1s1  /dev/ad1s3a /dev/ad1s3d /dev/ad1s4
 /dev/ad1s2  /dev/ad1s3b /dev/ad1s3e /dev/ad1s5
 
 I can seem to access all the linux partitions on my first drive ad0,
 but that drive is only linux so there are no complex partitions in
 slices like on ad1.  I would expect that the nature of geom, I should
 be able to access all the partitions fine, but I might be missing
 something.

Looking further into this, it seems that FreeBSD, OpenBSD, and NetBSD
all have unique partition ids to represent their diskslice and geom_bsd
that translates the FreeBSD diskslices only looks for partitions with
the id reserved for FreeBSD so it will never find a NetBSD or OpenBSD
slice in any combination, even if it's on it's own harddrive.  Do all
there BSDs actually use a different format for their diskslice or why do
they use different ids.  If they are different, I would still expect
them to be similiar.  If that's the case, then it should be a simple
matter in FreeBSD 5.x to write a geom that translates the other BSD
diskslices as well.  Are their any good resources describing the
different BSD diskslice formats.  I might try taking some time and maybe
write a geom so FreeBSD can read them.

 
 
 -- 
 I sense much NT in you.
 NT leads to Bluescreen.
 Bluescreen leads to downtime.
 Downtime leads to suffering.
 NT is the path to the darkside.
 Powerful Unix is.
 
 Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
 Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
  
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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

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


Re: php mbstring

2005-02-01 Thread Gert Cuykens
On Tue, 01 Feb 2005 05:47:26 -0600, Kevin Kinsey [EMAIL PROTECTED] wrote:
 Gert Cuykens wrote:
 
 The mbstring PHP extension was not found and you seem to be using
 multibyte charset. Without mbstring extension phpMyAdmin is unable to
 split strings correctly and it may result in unexpected results.
 
 So how do you do that ?
 
 
 
 PHP extensions are now seperate from PHP itself, see entry
 20040719 in /usr/ports/UPDATING.
 
 Kevin Kinsey
 

I did not even now they used to be toghether :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: php mbstring

2005-02-01 Thread Gert Cuykens
On Tue, 1 Feb 2005 13:44:00 +0100, Gert Cuykens [EMAIL PROTECTED] wrote:
 On Tue, 01 Feb 2005 05:47:26 -0600, Kevin Kinsey [EMAIL PROTECTED] wrote:
  Gert Cuykens wrote:
 
  The mbstring PHP extension was not found and you seem to be using
  multibyte charset. Without mbstring extension phpMyAdmin is unable to
  split strings correctly and it may result in unexpected results.
  
  So how do you do that ?
  
  
 
  PHP extensions are now seperate from PHP itself, see entry
  20040719 in /usr/ports/UPDATING.
 
  Kevin Kinsey
 
 
 I did not even now they used to be toghether :)
 

so i gues i need this one ? 

/usr/ports/lang/php5/work/php-5.0.3/ext/mbstring

did it not get compiled together with php 5.0.3 ?

how do i install it, no make file only source code ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How do I do a COLD Reboot on FreeBSD?

2005-02-01 Thread Xian
On Monday 31 January 2005 19:24, Billy Newsom wrote:
 Xian wrote:
  On Monday 31 January 2005 18:53, Billy Newsom wrote:
 When you flash your BIOS from DOS, it will usually do a cold reboot
 when it exits.
 
  Does the dos reboot command work? If it does, I'm sure I could dig up a
  copy of it from one of my disks. I don't know if it is possible to hack
  the code out that actually does the reboot

 No, because reboot is basically the same as shutdown -r now.  I've done
 both to no avail.

 Technically, the shutdown command calls either the reboot or halt commands.

I was meaning the reboot command in DOS not FreeBSD

-- 
/Xian

A man's ethical behaviour should be based effectually on sympathy, education, 
and social ties; no religious basis is necessary. Man would indeeded be in a 
poor way if he had to be restrained by fear of punishment and hope of reward 
after death.

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


Re: php mbstring

2005-02-01 Thread Gert Cuykens
On Tue, 1 Feb 2005 13:54:30 +0100, Gert Cuykens [EMAIL PROTECTED] wrote:
 On Tue, 1 Feb 2005 13:44:00 +0100, Gert Cuykens [EMAIL PROTECTED] wrote:
  On Tue, 01 Feb 2005 05:47:26 -0600, Kevin Kinsey [EMAIL PROTECTED] wrote:
   Gert Cuykens wrote:
  
   The mbstring PHP extension was not found and you seem to be using
   multibyte charset. Without mbstring extension phpMyAdmin is unable to
   split strings correctly and it may result in unexpected results.
   
   So how do you do that ?
   
   
  
   PHP extensions are now seperate from PHP itself, see entry
   20040719 in /usr/ports/UPDATING.
  
   Kevin Kinsey
  
 
  I did not even now they used to be toghether :)
 
 
 so i gues i need this one ?
 
 /usr/ports/lang/php5/work/php-5.0.3/ext/mbstring
 
 did it not get compiled together with php 5.0.3 ?
 
 how do i install it, no make file only source code ?
 

never mind i think i found what i need /usr/ports/converters/php5-mbstring/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Using PAM with ssh

2005-02-01 Thread Andrea Venturoli
Hello.
I'd like to login to a box of mine through ssh using a password that's 
stored in Samba's user database: for this I normally use pam_smb.
pam_smb works with any other application, but not with sshd: actually it 
looks like sshd doesn't even try to use pam, although I enabled it in 
its config file.
Is this a known problem? Any hint?

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


Re: mounted ext2 fs causes bad shutdown

2005-02-01 Thread Eric Kjeldergaard
  One of the many ways to do the same thing without the bugs could be:
 
  #   extfs=$(mount | grep '^/.*(ext2fs,' | awk '{print $1}')
 
 Actually, better than that would be extfs=$(mount -t ext2fs | awk '{print 
 $1;}')
 Or even just replace the whole thing with umount -a -t ext2fs
 

While we're at it, isn't awk a bit of overkill?  Seems that the
following would do:

extfs=$(mount -t ext2fs | cut -d ' ' -f1)

Every cycle counts :p

-- 
If I write a signature, my emails will appear more personalised.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Using PAM with ssh

2005-02-01 Thread Konrad Heuer

On Tue, 1 Feb 2005, Andrea Venturoli wrote:

 I'd like to login to a box of mine through ssh using a password that's
 stored in Samba's user database: for this I normally use pam_smb.
 pam_smb works with any other application, but not with sshd: actually it
 looks like sshd doesn't even try to use pam, although I enabled it in
 its config file.
 Is this a known problem? Any hint?

I never tried by myself, but did you also modify /etc/pam.d/sshd? I think
that would be necessary.

Best regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [EMAIL PROTECTED]

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


[no subject]

2005-02-01 Thread Anton K. N. :: Kyliptix M.E.R.O.
Dear Sir/Miss,
Good day,

Thank you for bringing to us FreeBSD..

We are forming server hosting comapny and have plans for FreeBSD as our
major OS with other minor OS's but with our partner of Hsphere Contol
Panel said that FreeBSD has a problem with Java and TomCat server as:

Our Partner's comment:

FreeBSD 4.8, 4.9, 4.10 and 5.3
We don't recommend running CP on FreeBSD, because it only works with
Java 1.3.1, which is slow as compared to 1.4.x. It also doesn't close
Windows connections, which can become a problem if your Windows
servers get hung several times. Finally, on FreeBSD Tomcat doesn't
stop correctly.

complete information is at:
www.psoft.net/HSdocumentation/sysadmin/preparing_servers.html

Anton K.N.
Director of Managed Services
Kyliptix Solutions, LLC
Middle East Regional Office
P.O.Box: 759, Ramallah, Palestinian N.A.A.
+972 59 202 205 Office
+972 52 4 340 133 Cell
001-562-366-2994 Fax headquarter
[EMAIL PROTECTED]
http://www.KyliptixSolutions.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


how do i get freebsd

2005-02-01 Thread Molerdraper
hi my name is mark I'm new to freebsd.i was wanting to know how, i can get  
it or which one i should get. if some one could help me that would be cool  
thanks.
 
 
 
 mark moler
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How do I do a COLD Reboot on FreeBSD?

2005-02-01 Thread Billy Newsom
Xian wrote:
Does the dos reboot command work? If it does, I'm sure I could dig up a
copy of it from one of my disks. I don't know if it is possible to hack
the code out that actually does the reboot
No, because reboot is basically the same as shutdown -r now.  I've done
both to no avail.
Technically, the shutdown command calls either the reboot or halt commands.

I was meaning the reboot command in DOS not FreeBSD
Oh, yeah.  I could try that.  I could boot an old DOS 6.2 or whatever 
and try CTRL-ALT-DELETE.  I think that is what you mean.  I don't 
remember that actual command, although I'm sure there's a lot of 
third-party reboot commands...  Some of which I'd like to see in the 
assembler code, myself.  I'll just bet someone has an old MS-DOS BASIC 
program or assembler written in C, Pascal, or something, which could do 
a warm or cold reset.

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


Re: Cleaning Out Ports?

2005-02-01 Thread David J. Weller-Fahy
* David J. Weller-Fahy [EMAIL PROTECTED] [2005-02-01 08:24 +0100]:
 * Matt LaPlante [EMAIL PROTECTED] [2005-02-01 02:36 +0100]:
 Attached is my script, and my conf file.

Unfortunately, my script got stripped.  Here's the script with a txt
extension.

Regards,
-- 
dave [ please don't CC me ]
#!/bin/sh
# $HOME/bin/rm_leaf.sh
set -e

LETC=/usr/local/etc
PBASE=/usr/ports
RMLFCNF=rm_leaf.conf
SCRFILE=remove_leaf_ports.sh

PKGINFO=`cd /var/db/pkg  find . -type d | sed '/^.$/d;s/^\.\///'`
PKGREQB=`cd /var/db/pkg  ls */+REQUIRED_BY | sed 's/\/+REQUIRED_BY//g'`
NOTLIST=`cat $LETC/$RMLFCNF`

# remove any packages that are required by any other packages
for PKG in $PKGREQB ; do [ -s /var/db/pkg/$PKG/+REQUIRED_BY ]  \
PKGINFO=`echo $PKGINFO | sed s/$PKG//` ; done

# remove any packages that are in the users list of 'to keep' packages
for PKG in $NOTLIST ; do PKGINFO=`echo $PKGINFO | sed s/$PKG[^ ]*//` ; done

# if there's nothing left in PKGINFO, exit now
[ -z $PKGINFO ]  echo No packages/ports to remove.  exit

rm -f $SCRFILE # remove the script file (just in case)

# match up packages to origin in the ports tree
for PKG in $PKGINFO ; do RMLIST=${RMLIST:-} $PKG:$PBASE/`pkg_info -o $( echo 
$PKG ) | sed -n '/^Origin:$/{n;p;}'` ; done

cat  $SCRFILE  EOFA
#!/bin/sh
# script to remove all leaf packages not listed in /usr/local/etc/rm_leaf.list
set -e

EOFA

# create script to remove all selected packages
for PKG in $RMLIST ; do
PNAME=`echo $PKG | sed 's/:.*$//'`
PPATH=`echo $PKG | sed 's/^[^:]*://'`
cat  $SCRFILE -EOFB
echo Removing $PNAME in $PPATH:
cd $PPATH
make deinstall clean distclean
echo Success! ; echo ; echo
EOFB
done

[ -n ${1:-} ]  cat $SCRFILE  rm $SCRFILE
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how do i get freebsd

2005-02-01 Thread David Gerard
[EMAIL PROTECTED] ([EMAIL PROTECTED]) [050202 01:03]:

 hi my name is mark I'm new to freebsd.i was wanting to know how, i can get  
 it or which one i should get. if some one could help me that would be cool  
 thanks.


Start at http://www.freebsd.org/where.html and go for FreeBSD 5.3, which is
the current stable release.

You should probably read the handbook too:

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


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


Re: touchpad not recognized and USB mouse doesn't work ...

2005-02-01 Thread Astrodog
On Tue,  1 Feb 2005 05:35:24 +0200, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 Dear FreeBSD users,
 Once more I am asking  your advice with a old Laptop
 I have. Pressario 1230. Nothing worked as fast as FreeBSD
 in that thing! It was amazing how quickly it booted when
 compared with SuSE or Windows. Help me to fix 2 things
 though so it becomes useful!
 
 1) In FreeBSD 4.10 there are no problems with the time;
   the clock works fine. Unfortunately in 5.3 Release
   you see the clock running instead one-by-one second
   5-by-5 seconds. I do not know why! Any ideas?
 
 2) Both 4.9, 4.10, 5.0, 5.2.1, 5.3 Releases cannot
   use the touchpad. The touchpad is invisible to them.
   Even from the time when installation is perfomed! You
   remember that you asked to test the mouse daemon
   if there any non-usb mices during installation don't you?
   In Linux the touchpad is recognized and works fine
   and that is with all Fedora and SuSE versions.
 
 3) As an alternative to touchpad I am using a USB mouse.
   But this only works under 5.3 Release. It can't work
   with 4.10 or any of the 4.X series.
 
 I did:
 #ls /dev/
 
 and I saw the devices therein! Nowhere isnide /dev/ I could find
 /dev/psm0. Everything existed except /dev/psm0. Is it possible that
 for some reason it is assigned a wrong IRQ number and it conflicts
 with some other device? Undr Linux /dev/psm0 is /dev/psaux and it is
 assigned an IRQ number 12. I've attached my dmesg and my /etc/rc.conf.
 
 # -- sysinstall generated deltas -- # Sun Dec 12 15:06:12 2004
 # Created: Sun Dec 12 15:06:12 2004
 # Enable network daemons for user convenience.
 # Please make all changes to this file, not to /etc/defaults/rc.conf.
 # This file now contains just the overrides from /etc/defaults/rc.conf.
 #defaultrouter=195.130.113.200
 hostname=nevrologia
 fconfig_ed1=inet 192.168.0.1
 keyrate=fast
 moused_enable=YES
 sshd_enable=YES
 usbd_enable=YES
 font8x16=grfixed-8x16
 keymap=keramida.el-iso
 
 Copyright (c) 1992-2004 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
 FreeBSD 5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
 Timecounter i8254 frequency 1193182 Hz quality 0
 CPU: Cyrix GXm (26.23-MHz 586-class CPU)
  Origin = CyrixInstead  Id = 0x540  DIR=0x3544  Stepping=3  Revision=5
 real memory  = 100663296 (96 MB)
 avail memory = 88834048 (84 MB)
 pnpbios: Bad PnP BIOS data checksum
 npx0: [FAST]
 npx0: math processor on motherboard
 npx0: INT 16 interface
 pcib0: Host to PCI bridge pcibus 0 on motherboard
 pir0: PCI Interrupt Routing Table: 5 Entries on motherboard
 pci0: PCI bus on pcib0
 cbb0: TI1221 PCI-CardBus Bridge at device 17.0 on pci0
 cardbus0: CardBus bus on cbb0
 pccard0: 16-bit PCCard bus on cbb0
 cbb1: TI1221 PCI-CardBus Bridge at device 17.1 on pci0
 cardbus1: CardBus bus on cbb1
 pccard1: 16-bit PCCard bus on cbb1
 isab0: PCI-ISA bridge port 0x5000-0x500f,0x4000-0x401f,0x3000-0x307f mem
 0x4001-0x40010fff at device 18.0 on pci0
 isa0: ISA bus on isab0
 ohci0: OHCI (generic) USB controller mem 0xfedfe000-0xfedfefff irq 9 at 
 device
 19.0 on pci0
 ohci0: [GIANT-LOCKED]
 usb0: OHCI version 1.0, legacy support
 usb0: OHCI (generic) USB controller on ohci0
 usb0: USB revision 1.0
 uhub0: (0x0e11) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 uhub1: Atmel product 0x3311, class 9/0, rev 1.00/3.00, addr 2
 uhub1: 4 ports with 4 removable, self powered
 pci0: display, VGA at device 20.0 (no driver attached)
 cpu0 on motherboard
 orm0: ISA Option ROM at iomem 0xc-0xc9fff on isa0
 pmtimer0 on isa0
 ata0 at port 0x3f6,0x1f0-0x1f7 irq 14 on isa0
 ata1 at port 0x376,0x170-0x177 irq 15 on isa0
 atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 on isa0
 atkbd0: AT Keyboard irq 1 on atkbdc0
 kbd0 at atkbd0
 atkbd0: [GIANT-LOCKED]
 fdc0: Enhanced floppy controller at port 0x3f0-0x3f5 irq 6 drq 2 on isa0
 fdc0: [FAST]
 fd0: 1440-KB 3.5 drive on fdc0 drive 0
 ppc0: parallel port not found.
 sc0: System console at flags 0x100 on isa0
 sc0: VGA 16 virtual consoles, flags=0x300
 sio0: configured irq 4 not in bitmap of probed irqs 0
 sio0: port may not be enabled
 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
 sio0: type 8250 or not responding
 sio1: configured irq 3 not in bitmap of probed irqs 0
 sio1: port may not be enabled
 vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
 Timecounter TSC frequency 26233012 Hz quality 800
 Timecounters tick every 10.000 msec
 ad0: 3100MB FUJITSU MHA2032AT/8211 [6300/16/63] at ata0-master PIO4
 acd0: CDROM TOSHIBA CD-ROM XM-1702BC/1261 at ata1-master PIO4
 ed1: PCMCIA Ethernet Card at port 0x300-0x31f irq 9 function 0 config 32 on
 pccard0
 ed1: [GIANT-LOCKED]
 ed1: Ethernet address: 00:a0:0c:12:74:2e
 ed1: if_start running deferred for Giant
 type NE2000 (16 bit)
 

Re: How do I do a COLD Reboot on FreeBSD?

2005-02-01 Thread Billy Newsom
Billy Newsom wrote:
Oh, yeah.  I could try that.  I could boot an old DOS 6.2 or whatever 
and try CTRL-ALT-DELETE.  I think that is what you mean.  I don't 
remember that actual command, although I'm sure there's a lot of 
third-party reboot commands...  Some of which I'd like to see in the 
assembler code, myself.  I'll just bet someone has an old MS-DOS BASIC 
program or assembler written in C, Pascal, or something, which could do 
a warm or cold reset.
Well, I just tried a Windows 98 Startup disk.  I booted to floppy, and 
then hit CTRL-alt-delete.  Guess what?  This system did a warm reboot, I 
 removed the floppy, and FreeBSD booted from the hard disk perfectly. 
So I have to come to this conclusion: something in the FreeBSD 5-Stable 
code has made this machine break anytime it performs a halt followed by 
a power cycle, or a reboot followed by a power cycle (since the reboot 
always fails).  My surmise is that the new SMP code has somehow done 
some sort of corruption to the CPU state(s) and the BIOS is somehow 
confused during the attempted reboot.

0. System has passed every diagnostic I can throw at it.  Everything 
checks out during normal operation.  Dual processor Pentium Pro.  DOS, 
Windows, and FreeBSD 4.7 with SMP do not have this problem.  Latest 
5-Stable code from 1/30/2005.

1.  I type shutdown -r now or reboot.  This shows the normal cpu_reset 
stuff, and then the system beeps and hangs. (a memory error beep code 
saying the first 64KB are bad.)  If I turn power off and back on, the 
system bypasses its memory check in POST and crashes on next boot.

2.  I type shutdown now, followed by halt in single user mode.  This 
puts me at the press any key to reboot screen.  If I press a key, 
system won't reset, and gives a memory error beep code saying the first 
64KB are bad.  If I turn power off and back on, (no matter if I tried 
the reboot or not) the system bypasses its memory check in POST and 
crashes on next boot.

3. I must turn power off and unplug the cord usually.  Then, on 
subsequesnt boot, the memory will be tested during POST and FreeBSD 
boots normally.

4. None of these problems appear after a DOS warm boot on this machine.
5. I'm looking for a cold reboot utility to patch the kernel or the 
reboot command of FreeBSD 5.3.

6. I recompiled the kernel with the BROKEN_KEYBOARD_RESET option.  The 
reboot hangs and system does not reboot, but the beep codes aren't 
there.  I suppose that the BROKEN_KEYBOARD_RESET style reboot (I saw the 
source code and thought I'd try it) does not work.  Again, when I power 
cycle the machine, the POST is still a short POST (and the kernel 
crashes when loading) and so I must disengage the power cable as above.

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


Re: how do i get freebsd

2005-02-01 Thread Jerry McAllister
 
 hi my name is mark I'm new to freebsd.i was wanting to know how, i can get  
 it or which one i should get. if some one could help me that would be cool  
 thanks.

The first thing to do is to read the handbook - freely available from
the FreeBSD web site: 
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html

There are more than USA English versions there too.

Then get one [or more] of the good books on FreeBSD such as FreeBSD Unleashed
or The Complete FreeBSD  or some others and use it [them] as a guide
to installing and configuring your machine.   Of course, you will need
to decide for yourself how you plan to use the machine and how to
divide your disk and which ports to install, etc.   

The handbook and those printed books all have discussions of those
issues - and take somewhat different attitudes toward them as well.
The handbook and the books all have complete information on how
to obtain FreeBSD - either by buying a pre-burned CD or by downloading
an ISO and burning your own CD.

There are lots of posts in the mailing list archives and FAQs and online 
publication articles such as from onlamp.com on the subjects too.  They 
are good about describing people's experiences with various aspects of 
installing, managing and using FreeBSD.

jerry

  
  mark moler
 ___
 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: Booting FreeBSD-5.3 from NTLDR

2005-02-01 Thread Rakhesh Sasidharan
On Tue, 1 Feb 2005 04:10:49 -0800, Loren M. Lang [EMAIL PROTECTED] wrote:
 I think that you should be able to use boot0 and boot1 as a file once
 the apropriate fields are filled in.  When boot0 and boot1 are written
 to the disk in their special locations, several bytes of each file are
 modified to reflex various paramaters like which disk or partition they
 should use.  You should be able to extract them with dd and boot them
 externally from my understanding of it.  boot1 is normally written to
 the first sector of the partitionthat freebsd is installed on, if that's
 the first partition on ur second hard drive then:
 
 dd if=/dev/ad1s1 of=boot1.img count=1
 
 will extract the file to boot1.img might NTLDR should be able to use.
 
 dd if=/dev/ad1 of=boot0.img count=1

Nopes. This too is something I had tried. Coz I figured if BootPart is
simply extracting sectors from the FreeBSD slice, then either of the
commands above should do the same trick! But nopes, that too gave me
errors. This is what really got me stumped! :((

But hmm, now that I look at ur commands once again, I realize that I
had also added an option like bs=512. As in, what I used was ``dd
if=/dev/ad1 of=boot0.img count=1 bs=512''. No specific reason for that
extra option, just that that's what I used to extract the bootsectors
for Fedora, and I figured its job is to extract just the first 512
bytes (and nothing else). Do you think bs=512 could be what's making
things go wrong for me?

-- 
-- Rakhesh
   [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: 64bit Cpu

2005-02-01 Thread Malcolm Kay
On Mon, 31 Jan 2005 05:10 pm, Bikrant Neupane wrote:
 Hi

 I have Dell SC1420 with Intel Xeon em64T processor.
 Any idea which is the best OS for this system??
 I first installed FreeBSD 4.10 but that's for 32 bit. Now I am trying to
 install 5.3 but the system doesn't boot from the CD :(

 I have been using 4.10 for more than years (in other 32 bit cpu) and it is
 very stable. But I don't know how good 5.3 is for the server environment.


I've installed 5.3 on three different machines. Two of them without
problems. On the third the BTX loader from the boot CD got confused and went 
nowhere. 

Announced that loader was being relocated and then after some considerable time
that the loader was running -- but then just hung.

Worked around the problem by making and using the boot floppies
with the actual installation data taken direct from CD.

The machine would boot 4.10 installation CD without problems.

Malcolm  

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


Slow Thin Clients

2005-02-01 Thread Lee Harr
Hi;
I am using FreeBSD-5.3 as a terminal server for a few thin client machines.
I have the inside network interface configured so:
ifconfig_xl0=inet 172.16.0.1 netmask 255.255.0.0 media 100baseTX mediaopt 
full-duplex

and the outside interface is from DHCP.
The clients are configured similarly 172.16.0.2, 172.16.0.3, etc.
In the /etc/hosts files, I have:
172.16.0.1  tserv
172.16.0.2  gu2
172.16.0.3  gu3
/etc/nsswitch.conf is the default:
group: compat
group_compat: nis
hosts: files dns
networks: files
passwd: compat
passwd_compat: nis
shells: files
I am using kdm and xdmcp to connect. When the client connects I get
a message that says:
DNS spoof attempt or misconfigured resolver.
The main symptom though is that programs are extremely slow to start
up, and menus react very slowly.
I am connected through a hub (not a switch) but I have had this system
set up like this before (using FreeBSD 4.8) and it was much more
responsive.
What am I missing?
_
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.com/

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


Re:

2005-02-01 Thread Pat Maddox
I don't use HSphere on FreeBSD at all, but you can use Java 1.4 now.
http://www.brettsbsd.net/~estrabd/blog/index.php?/archives/21_Java_1.4_on_FreeBSD_4.10_in_8_steps.html
Those are some good instructions on installing Java on FreeBSD.

I run JBoss and Tomcat with no problems.


On Tue, 1 Feb 2005 00:54:17 +0200 (IST), Anton K. N. :: Kyliptix
M.E.R.O. [EMAIL PROTECTED] wrote:
 Dear Sir/Miss,
 Good day,
 
 Thank you for bringing to us FreeBSD..
 
 We are forming server hosting comapny and have plans for FreeBSD as our
 major OS with other minor OS's but with our partner of Hsphere Contol
 Panel said that FreeBSD has a problem with Java and TomCat server as:
 
 Our Partner's comment:
 
 FreeBSD 4.8, 4.9, 4.10 and 5.3
 We don't recommend running CP on FreeBSD, because it only works with
 Java 1.3.1, which is slow as compared to 1.4.x. It also doesn't close
 Windows connections, which can become a problem if your Windows
 servers get hung several times. Finally, on FreeBSD Tomcat doesn't
 stop correctly.
 
 complete information is at:
 www.psoft.net/HSdocumentation/sysadmin/preparing_servers.html
 
 Anton K.N.
 Director of Managed Services
 Kyliptix Solutions, LLC
 Middle East Regional Office
 P.O.Box: 759, Ramallah, Palestinian N.A.A.
 +972 59 202 205 Office
 +972 52 4 340 133 Cell
 001-562-366-2994 Fax headquarter
 [EMAIL PROTECTED]
 http://www.KyliptixSolutions.com
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: [lorenl@alzatex.com: Re: Mounting a samba share on boot?]

2005-02-01 Thread Ruben de Groot
On Mon, Jan 31, 2005 at 05:47:53AM -0800, Loren M. Lang typed:
 On Mon, Jan 31, 2005 at 12:38:53PM +, Mark Ovens wrote:
  Loren M. Lang wrote:
  replacing MYWORKGROUP, SERVER, USER, secret as neccessary.  Make sure
  nsmb.conf is only readable by root.  Add the following line to fstab:
  
  //[EMAIL PROTECTED]/share   /mnt/share   smbfs   rw  0 
0
  
  
  PMJI, but do you know if it's possible to handle a share name containing 
  a space when mounting smb filesystems using fstab?
  
  I tried
  
  //[EMAIL PROTECTED]/Drive C
  '//[EMAIL PROTECTED]/Drive C'
  //[EMAIL PROTECTED]/Drive\ C
  
  None of these worked. I know that using spaces in filenames is a Bad 
  Idea, but this is Windows we're talking about here ;-)
 
 A random guess might be to try: //[EMAIL PROTECTED]/Driver%20C
 %20 refers to the ascii character with hex value 20 which is space.
 It's what webservers use for getting around spaces, samba might too.`
 I'd be really curious to see if this works.

The following seems to work for me:

[EMAIL PROTECTED]:/root mount_smbfs //odo/Temp Dir /mnt
Password:
[EMAIL PROTECTED]:/root mount | grep smbfs
//[EMAIL PROTECTED]/TEMP DIR on /mnt (smbfs)
[EMAIL PROTECTED]:/root

Ruben

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


Re: Please advise on triple-head _HIGH_ resolution solution for FreeBSD ...

2005-02-01 Thread [EMAIL PROTECTED]
I am not sure of where what is on the market that will handle this, but your 
best option is probally to start looking at NVidia cards.

-- Original Message -
Subject: Please advise on triple-head _HIGH_ resolution solution for FreeBSD
...
Date: Mon, 31 Jan 2005 21:06:03 -0800 (PST)
From: Joe Schmoe [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org


Hello,

To let me say initially, I have the goal of buying
three of the new apple 30 cinemadisplays and running
them as one large extended desktop in x11 under
FreeBSD.

The displays are 2560x1600, and I want to utilize them
at full resolution.

The question:  what hardware can perform this _and_
work under FreeBSD ?  My guess is I have three
choices:

- find _one_ PCI-X or AGP card that can drive all
three monitors at once ... the matrox p750 can do
this, but only at 1280x1024 for three screens.  The
new matrox APVe can also do this, but only at
1920x1080 or below (not quite clear) ... so these are
not valid choices ... are there any single cards that
can do 3x (2560x1600) ?

- find three normal PCI cards that can each drive
2560x1600 ... not sure if such advanced cards were
ever made for plain old PCI, or how well that would
work ... at 3x that res, would I be getting close to
saturating the PCI bus ?

- find a system that has 3 PCI-X slots in it (does
that exist ?) and then find 3 PCI-X gfx cards that can
each do 2560x1600 ... any thoughts on this line ?  And
if so, what would be a good FreeBSD supported gfx card
to stick three of in a system ?

--

Obviously I need help ... so any comments at all are appreciated.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



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


OT: 3Ware RAID Controller ...

2005-02-01 Thread Marc G. Fournier
Can someone tell me whether or not the 3Ware 9500S-4LP is a PCI-X or 
PCI-Express card?  I'm trying to get the right riser for my chassis for 
this, and can't find anywhere on the 3ware site that states which :(

thanks ...

Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email: [EMAIL PROTECTED]   Yahoo!: yscrappy  ICQ: 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Booting FreeBSD-5.3 from NTLDR

2005-02-01 Thread Rakhesh Sasidharan
On Tue, 1 Feb 2005 19:04:07 +0400, Rakhesh Sasidharan
[EMAIL PROTECTED] wrote:
 On Tue, 1 Feb 2005 04:10:49 -0800, Loren M. Lang [EMAIL PROTECTED] wrote:
  I think that you should be able to use boot0 and boot1 as a file once
  the apropriate fields are filled in.  When boot0 and boot1 are written
  to the disk in their special locations, several bytes of each file are
  modified to reflex various paramaters like which disk or partition they
  should use.  You should be able to extract them with dd and boot them
  externally from my understanding of it.  boot1 is normally written to
  the first sector of the partitionthat freebsd is installed on, if that's
  the first partition on ur second hard drive then:
 
  dd if=/dev/ad1s1 of=boot1.img count=1
 
  will extract the file to boot1.img might NTLDR should be able to use.
 
  dd if=/dev/ad1 of=boot0.img count=1

I just tried these again. Same results as when I had used the bs=512
option. Extracting boot0.img gets me back to the NTLDR screen;
extracting boot1.img gives me a Boot Error message.

But what you said above gave me an idea. Possibly BootPart modifies
the extracted bootsectors specially, changing the special parameters
to enable booting of the second disk from the first? Its a thought ...
maybe the way these files are written to the disk (from where dd
extracts them), the special parameters are not such that they can be
booted from the first disk. But when BootPart extracts the sectors, it
modifies these parameters, enabling the booting. What say?

-- 
-- Rakhesh
   [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 do I do a COLD Reboot on FreeBSD?

2005-02-01 Thread Bob Hall
This may help.

http://www.faqs.org/faqs/assembly-language/x86/general/part3/section-5.html

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


Re: php mbstring

2005-02-01 Thread Matthew Seaman
On Tue, Feb 01, 2005 at 01:59:44PM +0100, Gert Cuykens wrote:
 On Tue, 1 Feb 2005 13:54:30 +0100, Gert Cuykens [EMAIL PROTECTED] wrote:
  On Tue, 1 Feb 2005 13:44:00 +0100, Gert Cuykens [EMAIL PROTECTED] wrote:
   On Tue, 01 Feb 2005 05:47:26 -0600, Kevin Kinsey [EMAIL PROTECTED] 
   wrote:
Gert Cuykens wrote:
   
The mbstring PHP extension was not found and you seem to be using
multibyte charset. Without mbstring extension phpMyAdmin is unable to
split strings correctly and it may result in unexpected results.

So how do you do that ?


  so i gues i need this one ?
  
  /usr/ports/lang/php5/work/php-5.0.3/ext/mbstring
  
  did it not get compiled together with php 5.0.3 ?
  
  how do i install it, no make file only source code ?
  
 
 never mind i think i found what i need /usr/ports/converters/php5-mbstring/

Hmmm... I should probably add that (ie. php{4,5}-mbstring) as one of
the OPTIONS things you can choose when installing phpMyAdmin.
Although phpMyAdmin will pick up that capability automatically however
you install the multi-byte string capabilities for PHP.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   8 Dane Court Manor
  School Rd
PGP: http://www.infracaninophile.co.uk/pgpkey Tilmanstone
Tel: +44 1304 617253  Kent, CT14 0JL UK


pgpO9A07vPTeX.pgp
Description: PGP signature


ports libpcap

2005-02-01 Thread Paul Schmehl
I just discovered that there is a port of libpcap.  Does anybody know if it 
performs better than the pcap that comes with FreeBSD?

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


how can i find out which modules are loaded in apache

2005-02-01 Thread Ken Hawkins
I have installed apache13 and it is running however when i run;
'httpd -l' I see this:
Compiled-in modules:
  http_core.c
  mod_so.c
suexec: disabled; invalid wrapper /usr/local/sbin/suexec
I am running as root on the box and am trying to make sure that 
mod_alias is part of apache. it looks like it is not however since 
their is a BIG hole in between _core.s and _so.c

what is the easiest path to installing apache13 with ssl and mod_alias?
I also have php4-pear, mysql, phpbb and phpmyadmin installed on the box 
so, will just make reinstal apache13 destroy all my settings here? I 
have to ask to make sure that I catch all the configuration files such 
as httpd.conf, php.ini, etc.

how can i find out all the flags that are available to set for 
make/make install for the apache13 port? (rookie question)

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


4.10, USB hard drive, weird problems

2005-02-01 Thread Gregor Mosheh
I have a problem with my external USB 2.0 hard drive.
This drive had been working for several months, and
then it quit. By quit I mean that the device can be
detected, but will not be assigned to a device node
and therefore cannot be used.


This is FreeBSD 4.10. I cvsup'd the source today and
found no changes since I built this kernel.

The kernel has uhci, ehci, and ohci drivers. The dmesg
output inidicates that our hardware uses UHCI ports,
finds 4 of them, and attaches EHCI to them:

uhci0: Intel 82801EB (ICH5) USB controller USB-A
port 0xff80-0xff9f irq 11 at device 29.0 on pci0
usb0: Intel 82801EB (ICH5) USB controller USB-A on
uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: Intel 82801EB (ICH5) USB controller USB-B
port 0xff60-0xff7f irq 10 at device 29.1 on pci0
usb1: Intel 82801EB (ICH5) USB controller USB-B on
uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub1: 2 ports with 2 removable, self powered
ukbd0: Logitech Logitech USB Keyboard, rev 1.10/15.00,
addr 2, iclass 3/1
kbd1 at ukbd0
uhid0: Logitech Logitech USB Keyboard, rev 1.10/15.00,
addr 2, iclass 3/0
uhci2: Intel 82801EB (ICH5) USB controller USB-C
port 0xff40-0xff5f irq 9 at device 29.2 on pci0
usb2: Intel 82801EB (ICH5) USB controller USB-C on
uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: Intel 82801EB (ICH5) USB controller USB-D
port 0xff20-0xff3f irq 11 at device 29.3 on pci0
usb3: Intel 82801EB (ICH5) USB controller USB-D on
uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0: EHCI (generic) USB 2.0 controller mem
0xffa80800-0xffa80bff irq 5 at device 29.7 on pci0
ehci_pci_attach: companion usb0
ehci_pci_attach: companion usb1
ehci_pci_attach: companion usb2
ehci_pci_attach: companion usb3
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1
usb2 usb3
usb4: EHCI (generic) USB 2.0 controller on ehci0
usb4: USB revision 2.0
uhub4: (0x8086) EHCI root hub, class 9/0, rev
2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered



When I plug in the drive, dmesg shows the following:

umass0: Cypress Semiconductor USB2.0 Storage Device,
rev 2.00/0.01, addr 2
umass0: Get Max Lun not supported (STALLED)

Eventually, this appears:

umass0: BBB reset failed, TIMEOUT

It does not show the usual da0: line which would
indicate that the device has been attached and made
ready.


usbdevs -d -v shows exactly what I expect:
(snip)
Controller /dev/usb4:
addr 1: high speed, self powered, config 1, EHCI root
hub(0x), (0x8086)(0x), rev 1.00
  uhub4
(snip)

Those BBB timeout lines keep appearing any time I do a
USB operation, e.g. running usbdevs



Any ideas on how I can continue troubleshooting this?





__ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Unix equivalent of a variant??

2005-02-01 Thread Jonathon McKitrick

Hey everyone,

I'm finally doing something very exciting here at work: porting software to
Unix!

I need the equivalent of a variant, however.  A hold-everything variable
that can be any type in C/C++.  Is there something already out there I can
use or should I just roll my own?

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


Re: apache+SSL, which port?

2005-02-01 Thread Mark Ovens
Tim Erlin wrote:
Andrew L. Gould wrote:
Not necessarily.  I've heard lots of complaints about PHP and Apache2 
not playing nice.  (Does anyone have any updates on this situation?)
I've been running apache2 with squirrelmail for a while. The biggest 
problems were performance issues. Squirrelmail was very slow pulling 
mail from the disk. Not sure that apache13 would help there.

I finally installed apache13-ssl after trying to portupgrade -o to 
apache2 and trashing everything.

Anyway, it's all working now, except that when I try to connect to 
squirrelmail in a browser I just get a directory listing of 
/usr/local/www/squirrelmail.

I've reinstalled squirrelmail and run the configure script. Alias in 
httpsd.conf is copied from the old httpd.conf:

Alias /squirrelmail/ /usr/local/www/squirrelmail/
Directory /usr/local/www/squirrelmail
Options Indexes FollowSymlinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
/Directory
Which worked before.
Any idea what I've missed?
Regards,
Mark
---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 0505-0, 31/01/2005
Tested on: 01/02/2005 16:54:20
avast! - copyright (c) 2000-2004 ALWIL Software.
http://www.avast.com

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


Re: apache+SSL, which port?

2005-02-01 Thread Adi Pircalabu
On Tue, 01 Feb 2005 16:54:19 +
Mark Ovens [EMAIL PROTECTED] wrote:

 Anyway, it's all working now, except that when I try to connect to 
 squirrelmail in a browser I just get a directory listing of 
 /usr/local/www/squirrelmail.

Hi,
Maybe you forgot listing index.php in DirectoryIndex directive?

Cheers,
-- 
Adrian Pircalabu


-- 
This message was scanned for spam and viruses by BitDefender.
For more information please visit http://www.bitdefender.com/

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


Re: OT: 3Ware RAID Controller ...

2005-02-01 Thread Richard Collyer
Hello,

From what I can tell its standard PCI 64bit. I could be wrong though but
unless they are shouting about it being PCI-E or PCI-Express then you
could probably assume that it isnt either.

3ware PCI to SATA RAID Controller Card, Model 9500S-4LP - Retail
Model# 9500S-4LP
Specifications:
Ports: 4x Serial ATA
Interface: PCI 2.2 compliant 64-bit/66MHz bus master
RAID Levels: 0, 1, 10, 5, Single Disk (JBOD)

http://www.3ware.com/products/pdf/9000_DS_101904.pdf

Cheers
Richard


On Tue, 1 Feb 2005 11:31:30 -0400 (AST)
Marc G. Fournier [EMAIL PROTECTED] wrote:

 
 Can someone tell me whether or not the 3Ware 9500S-4LP is a PCI-X or 
 PCI-Express card?  I'm trying to get the right riser for my chassis for 
 this, and can't find anywhere on the 3ware site that states which :(
 
 thanks ...
 
 
 Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
 Email: [EMAIL PROTECTED]   Yahoo!: yscrappy  ICQ: 7615664
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
Richard Collyer [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: apache+SSL, which port?

2005-02-01 Thread Mark Ovens
Adi Pircalabu wrote:
On Tue, 01 Feb 2005 16:54:19 +
Mark Ovens [EMAIL PROTECTED] wrote:
Anyway, it's all working now, except that when I try to connect to 
squirrelmail in a browser I just get a directory listing of 
/usr/local/www/squirrelmail.
Hi,
Maybe you forgot listing index.php in DirectoryIndex directive?
Should have mentioned that I tried adding that but it just caused the 
contents of index.php to be displayed in the browser rather than the 
directory listing. Also, I didn't have index.php in the DirectoryIndex 
directive in the previous version of apache and it worked correctly then.

Mark
---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 0505-0, 31/01/2005
Tested on: 01/02/2005 17:12:03
avast! - copyright (c) 2000-2004 ALWIL Software.
http://www.avast.com

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


FreeBSD + Apache2 + PHP + MySQL ?

2005-02-01 Thread Joseph Koenig (jWeb)
Hi,

I'm getting ready to begin moving sites from an old web server to a new one.
I've been reading about Apache 2 and it looks like it offers some great new
features, but I'm concerned about the stability of it. I've seen a number of
issues with memory leaks, etc, which concerns me because this server will
get a decent amount of traffic. There's about 200 web sites on it that total
about 1.5 million hits per day. Has anyone had any experience with Apache 2,
PHP,  MySQL on FreeBSD 5.3 in a production environment? Any input would be
appreciated. Please CC me on responses. Thanks,

Joe Koenig
Production Manager
jWeb New Media Design
[EMAIL PROTECTED]
http://www.jwebmedia.com/
636.928.3162 

___
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 specify a an IMAP port to use?

2005-02-01 Thread Lowell Gilbert
Kyle Jensen [EMAIL PROTECTED] writes:

 Is there any way to tell the ports system that this
 is the IMAP variety I want?

Yes.  A quick (10s) look at the mail/imp/Makefile 
told me that make WITH_COURIER-IMAP should do it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: apache+SSL, which port?

2005-02-01 Thread Adi Pircalabu
On Tue, 01 Feb 2005 17:12:02 +
Mark Ovens [EMAIL PROTECTED] wrote:

 Should have mentioned that I tried adding that but it just caused the 
 contents of index.php to be displayed in the browser rather than the 
 directory listing.

If I understand this correctly, your .php page was not parsed, but
displayed. You should also need a directive like this:

AddType application/x-httpd-php .php

From what I see, /usr/ports/lang/php4/pkg-message.mod says how to
complete the integration of php module.

Cheers,
-- 
Adrian Pircalabu


-- 
This message was scanned for spam and viruses by BitDefender.
For more information please visit http://www.bitdefender.com/

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


Re: ASP .NET on FreeBSD?

2005-02-01 Thread Lowell Gilbert
SigmaX [EMAIL PROTECTED] writes:

 I'm fairly new to FreeBSD (Former Linux user), and I have a FreeBSD
 5.3 server.  Pretty soon I'm going to need ASP .NET on the server, but
 understand that XSP/mod_mono have some major issues with FreeBSD that
 need to be worked out.  Are there any alternatives I can use in place
 of/while I'm waiting for the BSD# project to get XSP functional?

I don't know anything about this subject, but a quick 
cd /usr/ports;make search name=xsp indicates that
it's ported to FreeBSD.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Automated reply from robert@www.webtent.com

2005-02-01 Thread robert
I will be out of the office until Friday, February 4th, 2004. Your message will 
be reviewed as soon as I return.

If you need technical support or immediate assistance, please contact [EMAIL 
PROTECTED] or call the office at 813-286-6502.

Thank you :)

Robert Fitzpatrick

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


Re: OT: 3Ware RAID Controller ...

2005-02-01 Thread Mark Rowlands
On Tuesday 01 February 2005 18:08, Richard Collyer wrote:
 Hello,

 From what I can tell its standard PCI 64bit. I could be wrong though but
 unless they are shouting about it being PCI-E or PCI-Express then you
 could probably assume that it isnt either.

 3ware PCI to SATA RAID Controller Card, Model 9500S-4LP - Retail
 Model# 9500S-4LP
 Specifications:
 Ports: 4x Serial ATA
 Interface: PCI 2.2 compliant 64-bit/66MHz bus master
 RAID Levels: 0, 1, 10, 5, Single Disk (JBOD)

 http://www.3ware.com/products/pdf/9000_DS_101904.pdf

 Cheers
 Richard


 On Tue, 1 Feb 2005 11:31:30 -0400 (AST)

 Marc G. Fournier [EMAIL PROTECTED] wrote:
  Can someone tell me whether or not the 3Ware 9500S-4LP is a PCI-X or
  PCI-Express card?  I'm trying to get the right riser for my chassis for
  this, and can't find anywhere on the 3ware site that states which :(
 
  thanks ...
 
 http://linux.yyz.us/sata/faq-sata-raid.html
and the pages around it are interesting
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: your mail

2005-02-01 Thread Jonathan Chen
On Tue, Feb 01, 2005 at 12:54:17AM +0200, Anton K. N. :: Kyliptix M.E.R.O. 
wrote:

[...]
 Our Partner's comment:
 
 FreeBSD 4.8, 4.9, 4.10 and 5.3
 We don't recommend running CP on FreeBSD, because it only works with
 Java 1.3.1, which is slow as compared to 1.4.x. It also doesn't close
 Windows connections, which can become a problem if your Windows
 servers get hung several times. Finally, on FreeBSD Tomcat doesn't
 stop correctly.

JDK1.4.2 is available as a port in java/jdk14. It is a bit of a
hassle to get it built, but it works great. Your Partner need to get
their facts updated. Quite a few people are using 1.4.2 with their
production systems.

Cheers.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
 When you don't know what you are doing, do it neatly.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mozilla and Firefox fail to start

2005-02-01 Thread Steven Friedrich
On Monday 31 January 2005 11:07 pm, Mac Mason wrote:
 So, I say to myself, wouldn't it be nice to have firefox?

 So, cd to the right place, make install clean...

 and then try to run it...and it thinks for two or three seconds,
 and hands me my prompt back.

 No core file, no browser, no error message.

 Hm... I think to myself. ...maybe mozilla will work.

 So, I repeat the same process.

 And mozilla won't start either; it does the very same thing.

 FreeBSD 5.3-RELEASE, with the most-recent errata.

 Any ideas?

 Thanks!

 --Mac
open an xterm and invoke firefox or mozilla.  You'll probably get some errors 
regarding shared libraries.

See /usr/local/share/examples/linuxpluginwrapper/libmap.conf-FreeBSD5-stable
-- 
i386 FreeBSD 4.11-STABLE
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Video Capture, TV tuner devices

2005-02-01 Thread Rod Person
I'm looking into getting a video capture of TV Tuner device for my PC.

Does anyone have any experience with Plextor ConvertX PVR devices? They are 
usb and that makes me a little shy in the purchase of one.

My other choice would be eVGA's NVTV, but I'm not sure if it will work will 
FreeBSD.

I'm using 5.3.

-- 
Rod


If you stay the same long enough you'll be in 
 style some day again.  Cren Dog 


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


Re: how can i find out which modules are loaded in apache

2005-02-01 Thread Louis LeBlanc
On 02/01/05 11:08 AM, Ken Hawkins sat at the `puter and typed:
 I have installed apache13 and it is running however when i run;
 'httpd -l' I see this:
 
 Compiled-in modules:
http_core.c
mod_so.c
 suexec: disabled; invalid wrapper /usr/local/sbin/suexec
 
 I am running as root on the box and am trying to make sure that 
 mod_alias is part of apache. it looks like it is not however since 
 their is a BIG hole in between _core.s and _so.c
 
 what is the easiest path to installing apache13 with ssl and mod_alias?

Configuration.  If you installed from the ports, you need to install
www/apache13-modssl or www/apache2, but other than that you probably
have most of them built as modules that just need to be loaded.  Check
your config and make sure mod_info.c is loaded, then uncomment (and
modify to your needs) the server-info section.  Then just load
http://yourdomain/server-info in your browser.  It'll tell you what
modules are loaded and IIRC, what their configurations are.

 I also have php4-pear, mysql, phpbb and phpmyadmin installed on the box 
 so, will just make reinstal apache13 destroy all my settings here? I 
 have to ask to make sure that I catch all the configuration files such 
 as httpd.conf, php.ini, etc.

I don't think so, but you should at least back up any modified configs
beforehand anyway.  If something stops working, just reinstall it.

 how can i find out all the flags that are available to set for 
 make/make install for the apache13 port? (rookie question)

http://httpd.apache.org/docs/ for 1.3 or
http://httpd.apache.org/docs-2.0/ for 2.0.
The docs there are excellent - better than most open source projects in
fact.  There are also mailing lists that will focus a lot more on Apache
per se than this list.

Good luck
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
This is a list only address, and the return address is a black hole!
Send off-list email to:leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Performance:
  A statement of the speed at which a computer system works.  Or
  rather, might work under certain circumstances.  Or was rumored
  to be working over in Jersey about a month ago.


pgpyzc76RsCVr.pgp
Description: PGP signature


Re: How do I submit a bug?

2005-02-01 Thread Xin LI
Hi, Nigel,

Which browser do you use?  I have tried Firefox, Mozilla and even IE and
all of these works quite well.  Additionally send-pr(1) is a preferred
way.

If you want to submit a port, a preferred way is to shar(1) your port
and then use send-pr -a to attach it.  If you just want to someone to
port the software, the usual web interface should work, but depends how
attractive the software is, and how much spare time others have :-)

 2005-02-01 12:04 +Nigel Horne
 Thanks,
 
 (FYI, it's not a bug report, it's a request for software to be added to the 
 ports, but
 I couldn't work out a proper way to do that on the website).

Cheers,
-- 
Xin LI delphij delphij net  http://www.delphij.net/


signature.asc
Description: 	=?UTF-8?Q?=E8=BF=99=E6=98=AF=E4=BF=A1=E4=BB=B6=E7=9A=84=E6=95=B0?=	=?UTF-8?Q?=E5=AD=97=E7=AD=BE=E5=90=8D=E9=83=A8?= =?UTF-8?Q?=E5=88=86?=


Automated reply from robert@www.webtent.com

2005-02-01 Thread robert
I will be out of the office until Friday, February 4th, 2004. Your message will 
be reviewed as soon as I return.

If you need technical support or immediate assistance, please contact [EMAIL 
PROTECTED] or call the office at 813-286-6502.

Thank you :)

Robert Fitzpatrick

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


Re: apache+SSL, which port?

2005-02-01 Thread Mark Ovens
Adi Pircalabu wrote:
On Tue, 01 Feb 2005 17:12:02 +
Mark Ovens [EMAIL PROTECTED] wrote:
Should have mentioned that I tried adding that but it just caused the 
contents of index.php to be displayed in the browser rather than the 
directory listing.
If I understand this correctly, your .php page was not parsed, but
displayed. You should also need a directive like this:
AddType application/x-httpd-php .php
From what I see, /usr/ports/lang/php4/pkg-message.mod says how to
complete the integration of php module.
That's fixed it, thanks :-)
httpd.conf from the previous version I had installed doesn't have 
index.php in the DirectoryIndex directive, but it does have

IfModule mod_php3.c
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3-source .php3s
/IfModule
IfModule mod_php4.c
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
/IfModule
IfModule mod_dir.c
IfModule mod_php3.c
IfModule mod_php4.c
DirectoryIndex index.php index.php3 index.html
/IfModule
IfModule !mod_php4.c
DirectoryIndex index.php3 index.html
/IfModule
/IfModule
IfModule !mod_php3.c
IfModule mod_php4.c
DirectoryIndex index.php index.html
/IfModule
IfModule !mod_php4.c
DirectoryIndex index.html
/IfModule
/IfModule
/IfModule
but I'm 99% certain I didn't have to add thosehmmm, the previous 
version was installed from a package, the current version from the 
ports; maybe that's why?

Thanks again for your help.
Regards,
Mark
---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 0505-0, 31/01/2005
Tested on: 01/02/2005 17:41:00
avast! - copyright (c) 2000-2004 ALWIL Software.
http://www.avast.com

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


Re: how can i find out which modules are loaded in apache

2005-02-01 Thread Chad Morland
httpd -l will only show you the compiled in modules. If you built your
other modules as DSOs then you will not see them listed. The easiest
way to see what modules you are using is the LoadModule directive in
httpd.conf.

To see what options apache was compiled with, if you still have the
source lying around you can look at config.cache and that should show
you what options apache was built with.

If you rebuild your apache, it will not overwrite your current
httpd.conf if it detects one.


On Tue, 1 Feb 2005 11:08:46 -0500, Ken Hawkins [EMAIL PROTECTED] wrote:
 I have installed apache13 and it is running however when i run;
 'httpd -l' I see this:
 
 Compiled-in modules:
   http_core.c
   mod_so.c
 suexec: disabled; invalid wrapper /usr/local/sbin/suexec
 
 I am running as root on the box and am trying to make sure that
 mod_alias is part of apache. it looks like it is not however since
 their is a BIG hole in between _core.s and _so.c
 
 what is the easiest path to installing apache13 with ssl and mod_alias?
 
 I also have php4-pear, mysql, phpbb and phpmyadmin installed on the box
 so, will just make reinstal apache13 destroy all my settings here? I
 have to ask to make sure that I catch all the configuration files such
 as httpd.conf, php.ini, etc.
 
 how can i find out all the flags that are available to set for
 make/make install for the apache13 port? (rookie question)
 
 thanks,
 ken;
 
 ___
 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: apache+SSL, which port?

2005-02-01 Thread albi
Mark Ovens wrote:
Anyway, it's all working now, except that when I try to connect to 
squirrelmail in a browser I just get a directory listing of 
/usr/local/www/squirrelmail.

I've reinstalled squirrelmail and run the configure script. Alias in 
httpsd.conf is copied from the old httpd.conf:

Alias /squirrelmail/ /usr/local/www/squirrelmail/
Directory /usr/local/www/squirrelmail
Options Indexes FollowSymlinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
/Directory
did you enable the index.php (DirectoryIndex) and other php-lines
in the httpd.conf and load the php-module ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: apache+SSL, which port?

2005-02-01 Thread Mark Ovens
Mark Ovens wrote:
That's fixed it, thanks :-)
httpd.conf from the previous version I had installed doesn't have 
index.php in the DirectoryIndex directive, but it does have

Duh! brain fade; that should say:
...does have index.php in the DirectoryIndex directive, and it also has
Mark
---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 0505-0, 31/01/2005
Tested on: 01/02/2005 17:48:40
avast! - copyright (c) 2000-2004 ALWIL Software.
http://www.avast.com

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


FreeBSD 5.3, Openfiles Limit in login.conf not respected

2005-02-01 Thread Matt Rechkemmer
Hi folks,

I recently setup FreeBSD 5.3R on my P4 2.4 GHz system and have a slight
problem with it not respecting the limits set in /etc/login.conf.  The entry
I've made in /etc/login.conf is below:

bopm:\
:openfiles=8192:\
:coredumpsize=unlimited:\
:tc=default:

Yet when a user with that login class logins in, they're offered a openfiles
limit of 14781 instead of 8192.  In my kernel I've set maxusers so FreeBSD
doesn't attempt to auto-tune this setting.

I searched the handbook and the FAQ, but didn't come up with anything useful.

Any help on this, is greatly appreciated!

Thanks,

--
Matt Rechkemmer
[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: Video Capture, TV tuner devices

2005-02-01 Thread Roland Smith
On Tue, Feb 01, 2005 at 12:33:52PM +, Rod Person wrote:
 I'm looking into getting a video capture of TV Tuner device for my PC.
 
 Does anyone have any experience with Plextor ConvertX PVR devices? They are 
 usb and that makes me a little shy in the purchase of one.
 
 My other choice would be eVGA's NVTV, but I'm not sure if it will work will 
 FreeBSD.
 
 I'm using 5.3.

AFAICT, the only video driver in the kernel is the 'bktr' driver, which
supports cards based on the bt848/bt848a/bt849a/bt878/bt879 chipset. See
paragraph 7.5 of the Handbook.

Roland
-- 
R.F. Smith   /\ASCII Ribbon Campaign
r s m i t h @ x s 4 a l l . n l  \ /No HTML/RTF in e-mail
http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail
public key: http://www.keyserver.net / \Respect for open standards


pgpthT5zXji0o.pgp
Description: PGP signature


Re: Mozilla and Firefox fail to start

2005-02-01 Thread Roland Smith
On Tue, Feb 01, 2005 at 12:27:56PM -0500, Steven Friedrich wrote:
 On Monday 31 January 2005 11:07 pm, Mac Mason wrote:
  So, I say to myself, wouldn't it be nice to have firefox?
 
  So, cd to the right place, make install clean...
 
  and then try to run it...and it thinks for two or three seconds,
  and hands me my prompt back.
 
  No core file, no browser, no error message.
 
  Hm... I think to myself. ...maybe mozilla will work.
 
  So, I repeat the same process.
 
  And mozilla won't start either; it does the very same thing.
 
  FreeBSD 5.3-RELEASE, with the most-recent errata.
 
  Any ideas?

IIRC, you have to start Mozilla and firefox the first time as root.

Roland
-- 
R.F. Smith   /\ASCII Ribbon Campaign
r s m i t h @ x s 4 a l l . n l  \ /No HTML/RTF in e-mail
http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail
public key: http://www.keyserver.net / \Respect for open standards


pgpkU3r3MfwZw.pgp
Description: PGP signature


Re: apache+SSL, which port?

2005-02-01 Thread Jerry McAllister
 
 Tim Erlin wrote:
  Andrew L. Gould wrote:
  Not necessarily.  I've heard lots of complaints about PHP and Apache2 
  not playing nice.  (Does anyone have any updates on this situation?)
  
  I've been running apache2 with squirrelmail for a while. The biggest 
  problems were performance issues. Squirrelmail was very slow pulling 
  mail from the disk. Not sure that apache13 would help there.
  
 
 I finally installed apache13-ssl after trying to portupgrade -o to 
 apache2 and trashing everything.
 
 Anyway, it's all working now, except that when I try to connect to 
 squirrelmail in a browser I just get a directory listing of 
 /usr/local/www/squirrelmail.
 
 I've reinstalled squirrelmail and run the configure script. Alias in 
 httpsd.conf is copied from the old httpd.conf:
 
  Alias /squirrelmail/ /usr/local/www/squirrelmail/
 
  Directory /usr/local/www/squirrelmail
  Options Indexes FollowSymlinks MultiViews
  AllowOverride None
  Order allow,deny
  Allow from all
  /Directory
 
 Which worked before.
 
 Any idea what I've missed?

Sounds a bit like you have either a file with the wrong ownership
or permissions or you still need to do an AddType or possibly
a DirectoryIndex directive in the httpd.conf file.

jerry

 
 Regards,
 
 Mark
 
 
 ---
 avast! Antivirus: Outbound message clean.
 Virus Database (VPS): 0505-0, 31/01/2005
 Tested on: 01/02/2005 16:54:20
 avast! - copyright (c) 2000-2004 ALWIL Software.
 http://www.avast.com
 
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

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


Re: Video Capture, TV tuner devices

2005-02-01 Thread Rod Person
On Tuesday 01 February 2005 6:23 pm, Roland Smith wrote:
 AFAICT, the only video driver in the kernel is the 'bktr' driver, which
 supports cards based on the bt848/bt848a/bt849a/bt878/bt879 chipset. See
 paragraph 7.5 of the Handbook.

Yes, I've read that. I have found a Linux site that has an entire list of 
cards supported by the Linux Brooktree driver and was not sure if that would 
apply to FreeBSD, not sure if the FreeBSD driver is based on the linux work.

-- 
Rod


If you stay the same long enough you'll be in 
 style some day again.  Cren Dog 


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


Re: Mozilla and Firefox fail to start

2005-02-01 Thread Lowell Gilbert
Mac Mason [EMAIL PROTECTED] writes:

 So, I say to myself, wouldn't it be nice to have firefox?
 
 So, cd to the right place, make install clean...
 
 and then try to run it...and it thinks for two or three seconds,
 and hands me my prompt back. 
 
 No core file, no browser, no error message.
 
 Hm... I think to myself. ...maybe mozilla will work.
 
 So, I repeat the same process.
 
 And mozilla won't start either; it does the very same thing.
 
 FreeBSD 5.3-RELEASE, with the most-recent errata. 
 
 Any ideas?

Do you have a ~/.mozilla directory?
Did you try moving it out of the way?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Admin IRC

2005-02-01 Thread Positive Negative
Is there any admin IRC chats out there? 


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


Re: FreeBSD 5.3, Openfiles Limit in login.conf not respected

2005-02-01 Thread Lowell Gilbert
Matt Rechkemmer [EMAIL PROTECTED] writes:

 Hi folks,
 
 I recently setup FreeBSD 5.3R on my P4 2.4 GHz system and have a slight
 problem with it not respecting the limits set in /etc/login.conf.  The entry
 I've made in /etc/login.conf is below:
 
 bopm:\
 :openfiles=8192:\
 :coredumpsize=unlimited:\
 :tc=default:
 
 Yet when a user with that login class logins in, they're offered a openfiles
 limit of 14781 instead of 8192.  In my kernel I've set maxusers so FreeBSD
 doesn't attempt to auto-tune this setting.
 
 I searched the handbook and the FAQ, but didn't come up with anything useful.
 
 Any help on this, is greatly appreciated!

It works for me; maybe you forgot to run cap_mkdb(1)?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ports libpcap

2005-02-01 Thread Charles Swiger
On Feb 1, 2005, at 10:46 AM, Paul Schmehl wrote:
I just discovered that there is a port of libpcap.  Does anybody know 
if it performs better than the pcap that comes with FreeBSD?
I believe the port compiles PCAP with a larger default buffer size than 
the PCAP which comes with FreeBSD.  It may drop fewer packets under 
high network load as a result, but there doesn't seem to be a 
significant difference for most tasks.

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


how do you mount a sony usb memorie stick (camera)?

2005-02-01 Thread Gert Cuykens
how do you mount a sony usb memorie stick (camera)?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unix equivalent of a variant??

2005-02-01 Thread Charles Swiger
On Feb 1, 2005, at 11:43 AM, Jonathon McKitrick wrote:
I need the equivalent of a variant, however.  A hold-everything 
variable
that can be any type in C/C++.  Is there something already out there I 
can
use or should I just roll my own?
Your question probably belongs on comp.lang.c, but the cannonical way 
of handling data of any type is a memory buffer and a (void *).  
Watch out for host data alignment restrictions.

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


way to run application as root in fluxbox menu

2005-02-01 Thread Brian John
Hello, I want to be able to add k3b to my menu in fluxbox.  However, it
has to be run as root and I'm not sure how to do that.  Is there a way
that I could get k3b to automatically run as root in fluxbox?  It is ok if
I have to enter my root password every time that I run it.

Thanks

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


Re: ports libpcap

2005-02-01 Thread Lowell Gilbert
Paul Schmehl [EMAIL PROTECTED] writes:

 I just discovered that there is a port of libpcap.  Does anybody know
 if it performs better than the pcap that comes with FreeBSD?

Why?  Are you having problems with it?

The reason there is a port at all is to support people who might be
looking for more recent features than the version in the tree.  
At the moment, I'm not sure there are any significant differences;
speed won't be different, though.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


library call for directory path creation?

2005-02-01 Thread Louis LeBlanc
I know there might be a better place for this question, but here goes.

I'm working on a utility that has to, among many other things, create
directory paths, often with a series of parent directories that may not
already exist.  Solaris has mkdirp(3GEN) in the libgen library, but I
can't find a library call that will do this in FreeBSD.  Kind of like
`mkdir -p` would.

I know it would be pretty trivial to roll my own, and if I can't find it
I will.  I'm just curious if anyone knows of an *existing* library call
that would do this.

TIA
Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
This is a list only address, and the return address is a black hole!
Send off-list email to:leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Clarke's Conclusion:
  Never let your sense of morals interfere with doing the right thing.


pgpU4WpZrJFeW.pgp
Description: PGP signature


Re: Unix equivalent of a variant??

2005-02-01 Thread Lowell Gilbert
Charles Swiger [EMAIL PROTECTED] writes:

 On Feb 1, 2005, at 11:43 AM, Jonathon McKitrick wrote:
  I need the equivalent of a variant, however.  A hold-everything
  variable
  that can be any type in C/C++.  Is there something already out there
  I can
  use or should I just roll my own?
 
 Your question probably belongs on comp.lang.c, but the cannonical way
 of handling data of any type is a memory buffer and a (void *).
 Watch out for host data alignment restrictions.

Or depending on the intent, a union, which will get the compiler to
take care of alignment.

Generally, though, avoiding typechecking is a hack best avoided...


-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how do you mount a sony usb memorie stick (camera)?

2005-02-01 Thread Lowell Gilbert
Gert Cuykens [EMAIL PROTECTED] writes:

 how do you mount a sony usb memorie stick (camera)?

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


Development on a FreeBSD5.3

2005-02-01 Thread Leon
Hi,
I'm trying to use C,C++ and MySQL on FreeBSD.
I have install mysql++ for connection to MySQL data base from C++.

The problem is:
When I include in my code mysql++ library, or iostream library,
the system doesn't see this libraries.
But I have check they are installed.
So what can I do to make it work properly?

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


Re: way to run application as root in fluxbox menu

2005-02-01 Thread Rod Person
On Tuesday 01 February 2005 7:33 pm, Brian John wrote:
 Hello, I want to be able to add k3b to my menu in fluxbox.  However, it
 has to be run as root and I'm not sure how to do that.  Is there a way
 that I could get k3b to automatically run as root in fluxbox?  It is ok if
 I have to enter my root password every time that I run it.


As for your specific question, I think you might want to look a the sudo 
package.

But, you do know that you can enable k3b to run as a regular user, if yoy 
desire.  And secondly, I had problems with k3b running in fluxbox. It could 
not communicate with klauncher. And without that the file window was always
blank.

-- 
Rod


If you stay the same long enough you'll be in 
 style some day again.  Cren Dog 


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


disk fragmentation

2005-02-01 Thread Jim Pazarena
during the boot sequence, I routinely see a % fragmentation message.
It was my understanding that fragmentation doesn't occur on a Unix
(er FreeBSD) box..
It seems that there is a concept of fragmentation from the above
message, so, is there an un-fragment utility?
Jim
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help with Allocating Disk Space

2005-02-01 Thread Earl Larsen
I put 134 Mb for the swap, and the rest for the /. I
just look at what is left over, and put it all in the
/. Should I put less then what it shows? How much
less?


--- Jerry McAllister [EMAIL PROTECTED]
wrote:

  
  I tried to put everything exept for the swap.
 Under
  the root partition, but the system said unable to
  create partition. Too big? I am using FreeBSD
 5.3. Do
  I need to use FreeBSD 4.11 or older?
 
 No.  You calculated the sizes wrong, probably.  Your
 root plus 
 swap added up to more disk than was available in the
 slice you
 were creating them.
 
 jerry
  
  
  
  --- Jerry McAllister [EMAIL PROTECTED]
  wrote:
  

I was wondering if anyone could help me
 allocating
   a
1.5 gig hard drive. I worked on it a little
 bite,
   and
came up with 150MB for /, 134MB for swap,
 150MB
   for
/var, 175MB for /tmp, and the rest goes to
 /usr. 
   
   Well, if it works it is good.
   Nowdays, 1.5 GB is pretty tight for anything but
 a
   slimmed down system.
   
 I
would like to optamize this a little more. I
 want
   to
run KDE on the hard drive. Any help with this
   would
greatly be appreceated, because I am
 installing it
   on
an old Thinkpad (380D (( PI 175 Mghz)).
   
   This might be a situation where putting
 everything
   but swap in
   the root partition would be a reasonable idea.  
  It
   would be 
   difficult to know in advance where stuff will
 fit. 
   KDE is kind
   of big and you will need X for it too.
   
   jerry
   

=
http://www.FreeMiniMacs.com/?r=14408439

   
  
  
  =
  http://www.FreeMiniMacs.com/?r=14408439
  
  
  
  __ 
  Do you Yahoo!? 
  Yahoo! Mail - Easier than ever with enhanced
 search. Learn more.
  http://info.mail.yahoo.com/mail_250
  
 
 


=
http://www.FreeMiniMacs.com/?r=14408439

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: way to run application as root in fluxbox menu

2005-02-01 Thread Eric Schuele
Brian John wrote:
Hello, I want to be able to add k3b to my menu in fluxbox.  However, it
has to be run as root and I'm not sure how to do that.  Is there a way
that I could get k3b to automatically run as root in fluxbox?  It is ok if
I have to enter my root password every time that I run it.
Thanks
/Brian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
You might try /usr/ports/security/sudo.  It has a 'no password prompt' 
option.  Read its man pages for any security issues.

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


Re: how do you mount a sony usb memorie stick (camera)?

2005-02-01 Thread John
On Tue, Feb 01, 2005 at 02:44:21PM -0500, Lowell Gilbert wrote:
 Gert Cuykens [EMAIL PROTECTED] writes:
 
  how do you mount a sony usb memorie stick (camera)?
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/usb-disks.html

Well, yes, but what the handbook doesn't mention is that these
things are almost invariably formatted as msdos (FAT) filesystems.

So, what is usually needed is something that looks something like
mount -t msdos /dev/da0s1 /your-mount-point

where the da0 part you can get from your system console/messages.
You can also set up /etc/usbd.conf to automatically issue
the mount command for you.
-- 

John Lind
[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 5.3, Openfiles Limit in login.conf not respected

2005-02-01 Thread Matt Rechkemmer
On Tue, Feb 01, 2005 at 02:17:37PM -0500, Lowell Gilbert wrote:
 
 It works for me; maybe you forgot to run cap_mkdb(1)?

What configuration file should I execute this on? login.conf?

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


apache13_modssl + mod_php4 + php4-extenstions + mysql323-* + myphpadmin = ...

2005-02-01 Thread Ken Hawkins
[Tue Feb  1 11:58:29 2005] [error] PHP Fatal error:  Call to undefined 
function:  preg_match() in 
/usr/local/www/phpMyAdmin/libraries/defines.lib.php on line 36

I have re-installed the above mentioned ports and everything is up and 
running however from phpmyadmin I am getting the above mentioned error 
when trying to use phpmyadmin from a webpage.

I have seen the various supposed fixes and have tried a few. I do not 
get the =20 after the error and have tried ripping out everything. 
installing php4-pear then apache13-modssl, mysql323-server / client and 
myphpadmin yet i still get this!

can someone please give me the definitive fix for this? is there one?
sorry to sound frustrated, loosing a day tracking this down is no fun
ken;
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >